/* Complete almanac layout. No external theme or image backgrounds are required. */
.reference-shell .brand-almanac{width:1040px;max-width:1040px;margin:0 auto 20px;padding:0;box-sizing:border-box;font:400 16px/1.5 var(--sans)}
.reference-shell .brand-almanac *{box-sizing:border-box}.reference-shell .brand-almanac [hidden]{display:none!important}.reference-shell .brand-almanac :is(h3,h4,h5,p,figure){margin:0}.reference-shell .brand-almanac a{text-decoration:none}.reference-shell .brand-almanac a:hover{color:#a83e2b}.reference-shell .brand-almanac .dpn{display:none}
.reference-shell .brand-almanac .lunars-b{width:100%;display:grid;grid-template-columns:minmax(0,1fr) 520px minmax(0,1fr);align-items:stretch;border:2px solid #d9b67e;background:#fcf9f3}
.reference-shell .brand-almanac .lunars-b>.l,.reference-shell .brand-almanac .lunars-b>.c{min-width:0;border-right:1px solid #e3cba6}.reference-shell .brand-almanac .lunars-b>.l.r{border-right:0}
.reference-shell .brand-almanac .horoscope{height:40px;min-height:40px;display:flex;align-items:center;border-bottom:1px solid #ecd7b8}.reference-shell .brand-almanac .horoscope .hit{display:block;text-align:center;color:#fff;font-weight:400}.reference-shell .brand-almanac .horoscope .gz{font-weight:700;display:inline-block}.reference-shell .brand-almanac .horoscope .zodiac{white-space:nowrap}.reference-shell .brand-almanac .horoscope .nayin{display:block;line-height:20px}
.reference-shell .brand-almanac .solar{height:42px;line-height:42px}.reference-shell .brand-almanac .yi-ji{border-bottom:1px solid #ecd7b8;align-content:start}.reference-shell .brand-almanac .yi-ji a{display:inline-block;text-align:left;vertical-align:top;white-space:nowrap}
.reference-shell .brand-almanac .shen-sha{padding:10px 12px;border-bottom:1px solid #ecd7b8}.reference-shell .brand-almanac .shen-sha .title{display:flex;align-items:center;font-size:15px;line-height:24px}.reference-shell .brand-almanac .shen-sha .title>span{font-weight:700}.reference-shell .brand-almanac .shen-sha p{white-space:normal;word-break:normal}
.reference-shell .brand-almanac .pz-chong{display:flex;flex-direction:column;justify-content:center;gap:5px;border-bottom:1px solid #ecd7b8}.reference-shell .brand-almanac .pz-chong>div{display:flex;align-items:start;gap:0}.reference-shell .brand-almanac .pz-chong .title{flex-shrink:0;display:block;font-weight:700}.reference-shell .brand-almanac .pz-chong .text{display:block;flex:1;min-width:0}.reference-shell .brand-almanac .pz-chong .text [data-field]{display:inline}
.reference-shell .brand-almanac .yz-wh-yx{display:flex;flex-direction:column;justify-content:center}.reference-shell .brand-almanac .yz-wh-yx>div{display:flex;align-items:center;min-width:0}.reference-shell .brand-almanac .yz-wh-yx .title{flex-shrink:0;font-weight:700}.reference-shell .brand-almanac .yz-wh-yx .text{flex:1;min-width:0}
.reference-shell .brand-almanac .c>.top{min-height:352px;padding:15px 24px 12px;border-bottom:1px solid #e3cba6;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start}
.reference-shell .brand-almanac .slt{display:flex;align-items:center;justify-content:center;min-height:40px;height:40px!important}
.reference-shell .brand-almanac .ref-date-control{position:relative;display:block;width:280px;height:40px;margin:0 auto}.reference-shell .brand-almanac .ref-date-control .form-control{display:block;width:100%;height:40px;min-height:40px;padding:0 29px 0 40px;border-radius:3px;font-weight:400;line-height:40px;text-align:left;outline:none;box-shadow:none}.reference-shell .brand-almanac .ref-date-control:after{content:'';position:absolute;pointer-events:none;z-index:1}
.reference-shell .brand-almanac .ref-date-picker{position:absolute;inset:0;opacity:0;z-index:2;width:100%;height:100%;cursor:pointer;border:0;padding:0;margin:0;background:transparent}
.reference-shell .brand-almanac .days-info{position:relative;display:flex;align-items:center;justify-content:center;min-height:140px;margin:14px 0 0;padding:0 21px}
.reference-shell .brand-almanac .days-info>.list{display:flex;flex-direction:column;align-items:center;justify-content:center;width:126px;min-width:0;gap:8px;text-align:center}.reference-shell .brand-almanac .days-info>.list>.text{font-size:16px;line-height:23px;color:#493a2b}.reference-shell .brand-almanac .days-info>.list>.title{font-size:12px;line-height:18px;font-weight:400;color:#85705b}.reference-shell .brand-almanac .days-info>.list a{padding:0 3px}
.reference-shell .brand-almanac .days-info>h5{width:130px;flex-shrink:0;margin:0;font-size:116px;line-height:126px;text-align:center;font-weight:700;font-family:var(--sans);font-variant-numeric:tabular-nums}
.reference-shell .brand-almanac .days-info>.brand-date-arrow{position:absolute;top:50%;transform:translateY(-50%);left:0;cursor:pointer}.reference-shell .brand-almanac .days-info>.brand-date-arrow.next{left:auto;right:0}
.reference-shell .brand-almanac .top>h4{display:block;line-height:30px;text-align:center;font-weight:400;margin:4px 0 0}.reference-shell .brand-almanac .down{display:flex;justify-content:center;align-items:center;min-height:46px;margin:17px 0 12px}
.reference-shell .brand-almanac .brand-almanac-cta{display:flex;justify-content:center;align-items:center;flex-shrink:0;text-decoration:none;white-space:nowrap;line-height:1.3}.reference-shell .brand-almanac .note{display:flex;justify-content:center;align-items:center;min-height:22px;line-height:22px;white-space:nowrap}
.reference-shell .brand-almanac .c>.bottom{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start}
.reference-shell .brand-almanac .brand-almanac-panel{min-width:0;border:0;border-right:1px solid #e3cba6;border-bottom:1px solid #e3cba6}.reference-shell .brand-almanac .brand-almanac-panel:nth-child(2n){border-right:0}.reference-shell .brand-almanac .brand-almanac-panel:nth-last-child(-n+2){border-bottom:0}.reference-shell .brand-almanac .lunars-info .list{display:block}.reference-shell .brand-almanac .lunars-info .item{display:flex;align-items:baseline;text-decoration:none}.reference-shell .brand-almanac .lunars-info .item .title{font-weight:700}.reference-shell .brand-almanac .lunars-info .item .text{font-weight:400}
.reference-shell .brand-almanac .ref-term-explain{display:none;border:1px solid #d9b67e;border-top:0;background:#fff8e9;font:400 14px/1.8 var(--sans);color:#6a422b;margin:0;padding:10px 15px}.reference-shell .brand-almanac .ref-term-explain.open{display:block}
/* The site's own almanac: the established warm colours, reordered data, native marks. */
.reference-shell .brand-almanac{font-family:var(--sans);background:#fcf9f3;color:#30251d}.reference-shell .brand-almanac .lunars-b{border-color:#d9b67e}.reference-shell .brand-almanac .lunars-b>.l{background:#fffdf7}.reference-shell .brand-almanac .lunars-b>.c{background:#fcf7ed}.reference-shell .brand-almanac :is(button,input,a,p,span,small){font-family:var(--sans)}.reference-shell .brand-almanac h3,.reference-shell .brand-almanac h4{font-family:var(--serif)}
.brand-almanac-mark{width:21px;height:21px;flex-shrink:0;vertical-align:middle;color:currentColor;display:inline-block}
.reference-shell .brand-almanac .horoscope{padding:0 10px;gap:7px;border-bottom-color:#ecd7b8;font-family:var(--sans)}.reference-shell .brand-almanac .horoscope>span{margin:0}.reference-shell .brand-almanac .horoscope .hit{width:24px;height:22px;line-height:22px;border-radius:2px;font-size:13px;flex-shrink:0;background:#bd5031}.reference-shell .brand-almanac .horoscope .gz{font-size:15px;line-height:20px;color:#a33325;white-space:nowrap}.reference-shell .brand-almanac .brand-top-signals .horoscope .gz{width:77px;flex-shrink:0}.reference-shell .brand-almanac .brand-top-signals .horoscope .zodiac{font-size:14px}.reference-shell .brand-almanac .brand-top-pillars .horoscope{display:grid;grid-template-columns:24px 43px 35px minmax(0,1fr);gap:6px}.reference-shell .brand-almanac .brand-top-pillars .horoscope .gz{width:auto}.reference-shell .brand-almanac .brand-top-pillars .horoscope .zodiac{font-size:13px}.reference-shell .brand-almanac .brand-top-pillars .horoscope .nayin{font-size:12px;white-space:nowrap;text-align:right;color:#6b5744}
.reference-shell .brand-almanac .lunars-b .brand-activity-heading{display:flex;height:42px;align-items:center;padding:0 16px;gap:10px;background:#f6ecda;line-height:1;border-bottom:1px solid #ecd7b8}.reference-shell .brand-almanac .brand-activity-heading>.brand-almanac-mark{width:23px;height:23px;color:#b8462c}.reference-shell .brand-almanac .brand-activity-heading>h3{font-family:var(--serif);font-size:25px;font-weight:700;color:#b23d2a;margin:0;line-height:1}.reference-shell .brand-almanac .brand-activity-heading>span{height:1px;background:#dfc8a5;flex:1}.reference-shell .brand-almanac .brand-almanac-right .brand-activity-heading{background:#edf0df}.reference-shell .brand-almanac .brand-almanac-right .brand-activity-heading>.brand-almanac-mark,.reference-shell .brand-almanac .brand-almanac-right .brand-activity-heading>h3{color:#326e47}.reference-shell .brand-almanac .lunars-b .yi-ji{height:auto;min-height:187px;overflow:visible;padding:10px 7px;border-bottom-color:#ecd7b8}.reference-shell .brand-almanac .lunars-b .yi-ji a{font-family:var(--sans);padding:5px 7px;line-height:22px;font-size:15px;color:#3b3025}.reference-shell .brand-almanac .lunars-b .shen-sha{height:auto;min-height:114px;border-bottom-color:#ecd7b8}.reference-shell .brand-almanac .lunars-b .shen-sha .title{justify-content:flex-start;height:27px;gap:8px;padding-bottom:6px}.reference-shell .brand-almanac .lunars-b .shen-sha .title>span{margin:0;color:#a33325}.reference-shell .brand-almanac .lunars-b .shen-sha .title>svg{width:18px;height:18px;color:#b78543}.reference-shell .brand-almanac .lunars-b .shen-sha p{display:block;-webkit-line-clamp:unset;overflow:visible;font-size:14px;line-height:23px;color:#53402d}.reference-shell .brand-almanac .lunars-b .pz-chong{height:auto;min-height:94px;padding:10px 12px;background:#f8f1e5;border-bottom-color:#ecd7b8}.reference-shell .brand-almanac .lunars-b .pz-chong>div{align-items:flex-start}.reference-shell .brand-almanac .lunars-b .pz-chong .title{width:62px;font-size:14px;color:#a13e2a;margin-right:6px}.reference-shell .brand-almanac .lunars-b .pz-chong .text{font-size:14px;line-height:23px}.reference-shell .brand-almanac .lunars-b .brand-season-facts{height:auto;min-height:160px;padding:12px}.reference-shell .brand-almanac .brand-season-facts>div{gap:8px;padding:10px 0}.brand-fact-tick{display:inline-block;flex-shrink:0;width:8px;height:8px;background:#bd5031;transform:rotate(45deg);margin-right:2px}.reference-shell .brand-almanac .brand-season-facts .title{font-size:14px;margin-right:6px;color:#6b472e}.reference-shell .brand-almanac .brand-season-facts .text{font-size:14px;line-height:22px}
.reference-shell .brand-almanac .brand-date-control .form-control{background:#fffdf8;border:1px solid #dbc5a4;color:#4b3324;font-family:var(--sans);font-size:17px;padding-left:40px}.reference-shell .brand-almanac .brand-date-control:after{background:none;right:14px;top:15px;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:6px solid #a45b39}.brand-date-control>.brand-almanac-mark{position:absolute;left:12px;top:10px;width:20px;height:20px;color:#a45b39;pointer-events:none;z-index:1}.reference-shell .brand-almanac .lunars-b .c .top .days-info .brand-date-arrow{background:none;width:30px;height:36px;display:flex;align-items:center;justify-content:center;color:#9b552e}.brand-date-arrow>.brand-almanac-mark{width:28px;height:28px}.brand-date-arrow.next>.brand-almanac-mark{transform:rotate(180deg)}.reference-shell .brand-almanac .lunars-b .c .top .days-info h5{font-family:var(--sans);color:#2f7149;letter-spacing:-3px}.reference-shell .brand-almanac .lunars-b .c .top>h4{font-family:var(--serif);font-size:18px;color:#79563d}.reference-shell .brand-almanac .lunars-b .c .down{gap:22px}.reference-shell .brand-almanac .brand-almanac-cta{background:#bc4930;border:1px solid #a8402a;border-radius:3px;color:#fff8e7;font-family:var(--sans);font-size:18px;font-weight:600;height:46px;width:194px;gap:10px;box-shadow:none}.reference-shell .brand-almanac .brand-almanac-cta.second{background:#c88743;border-color:#b47c3f;border-radius:3px}.brand-almanac-cta>.brand-almanac-mark{width:23px;height:23px}.reference-shell .brand-almanac .lunars-b .c .top .note{gap:6px;font-family:var(--sans);font-size:13px;color:#8c4a2d}.reference-shell .brand-almanac .note>.brand-almanac-mark{width:17px;height:17px;color:#ad693b}
.reference-shell .brand-almanac .lunars-b .c .bottom{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.reference-shell .brand-almanac .lunars-b .c .bottom .brand-almanac-panel{display:block;width:auto;height:184px;padding:12px 17px;border-color:#e3cba6}.reference-shell .brand-almanac .brand-panel-title{display:flex;align-items:center;gap:9px;margin:0 0 9px;padding:0 0 7px;border-bottom:1px solid #e8d3b3;font-family:var(--serif);font-weight:700;font-size:16px;line-height:24px;color:#9a4c2e;white-space:nowrap}.brand-panel-title>.brand-almanac-mark{width:19px;height:19px}.reference-shell .brand-almanac .lunars-info .list{width:100%;font-family:var(--sans)}.reference-shell .brand-almanac .lunars-info .item{font-family:var(--sans);font-size:14px;line-height:24px;display:flex;gap:9px;min-width:0}.reference-shell .brand-almanac .lunars-info .item .title{width:55px;flex-shrink:0;font-family:var(--sans);font-size:14px;line-height:24px;color:#6c4a2f}.reference-shell .brand-almanac .lunars-info .item .text{font-family:var(--sans);font-size:14px;line-height:24px;color:#453729;margin:0;white-space:nowrap}.reference-shell .brand-almanac .lunars-info.shen .item:hover .text{color:#bc4930}
/* Detail views put the month grid before the daily sheet, using the same warm paper. */
.reference-shell .brand-calendar-pair{grid-template-columns:minmax(0,490px) minmax(0,490px);gap:20px;align-items:stretch}.reference-shell .brand-calendar-pair>.hl-side-calendar{grid-column:1;border-color:#d19a64}.reference-shell .brand-calendar-pair>.hl-lunar-sheet{grid-column:2;border-color:#c8884b}.reference-shell .brand-calendar-pair .hl-lunar-top{background:#c8884b}.reference-shell .brand-calendar-pair .hl-month-toolbar{background:#a8422e}.reference-shell .hl-scope{font-family:var(--sans)}.reference-shell .hl-scope :is(.hl-solar-number,.hl-lunar-label,.term,button,input,select,textarea,table,th,td){font-family:var(--sans)}.reference-shell .hl-scope :is(h2,h3,h5){font-family:var(--serif)}.reference-shell .hl-scope .hl-date-cell .hl-solar-number,.reference-shell .hl-scope .hl-date-cell .hl-lunar-label,.reference-shell .hl-scope .hl-day-terms .term{font-family:var(--sans)}
