.wzb{--paper:#f8f8f5;--ink:#20211f;--muted:#85897e;--line:#dedfd7;--orange:#e66b3e;background:var(--paper)!important;color:var(--ink);font:400 14px/1.8 "Source Han Sans SC","Noto Sans SC","Microsoft YaHei",sans-serif;width:100%;min-width:0;padding:64px 5%;box-sizing:border-box;isolation:isolate}
.wzb *{box-sizing:border-box}.wzb h1,.wzb h2,.wzb h3,.wzb p{margin:0;font-family:inherit;color:inherit}.wzb h1{font-weight:350;font-size:clamp(30px,3vw,46px);line-height:1.5;letter-spacing:-1px}.wzb h2{font-size:23px;font-weight:400}.wzb h3{font-size:16px;font-weight:500}.wzb button,.wzb input,.wzb select{font:inherit;box-shadow:none}.wzb button,.wzb a{touch-action:manipulation}.wzb button{cursor:pointer;border:0;border-radius:2px;background:transparent;color:var(--ink);padding:8px 12px;line-height:1.6;white-space:nowrap}.wzb button:hover{background:#eeefe8}.wzb a{color:inherit}.wzb :focus-visible{outline:2px solid var(--orange);outline-offset:3px}.wzb input:not([type=checkbox]):not([type=radio]),.wzb select{width:100%;min-width:0;height:45px;border:1px solid var(--line);border-radius:3px;background:#fff;color:var(--ink);padding:8px 11px}.wzb input[type=checkbox],.wzb input[type=radio]{accent-color:var(--ink);width:16px;height:16px;flex-shrink:0}.wzb label{display:flex;align-items:center;gap:8px;font-weight:400;margin:0}.wzb .layout{max-width:1200px;margin:auto;display:grid;grid-template-columns:1fr 1.15fr;gap:9%;align-items:center}.wzb .intro{text-align:center}.wzb .eyebrow{font-size:11px;letter-spacing:3px;color:var(--muted);margin-bottom:20px}.wzb .intro p{color:var(--muted);font-size:13px;margin-top:14px}.wzb .art{width:min(100%,370px);aspect-ratio:1;margin:24px auto 4px;position:relative}.wzb .art svg{width:100%;height:100%;overflow:visible}.wzb .art text{font-family:inherit;font-weight:350;font-size:22px;fill:#62685c}.wzb .orbit{transform-origin:180px 180px;animation:wzb-orbit 18s linear infinite}.wzb .art.paused .orbit{animation-play-state:paused}@keyframes wzb-orbit{to{transform:rotate(360deg)}}.wzb .hand{width:30px;height:30px;display:inline-flex;border:1px solid #b9bdb0;border-radius:50%;align-items:center;justify-content:center;margin-right:8px;vertical-align:middle}.wzb .hand svg{width:17px;height:17px}.wzb .play{font-size:11px;letter-spacing:2px}.wzb .panel{background:#fff;padding:32px;border:1px solid #e9eae3;border-radius:8px}.wzb .panel-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}.wzb .subtle{color:var(--muted);font-size:11px}.wzb .row{display:grid;grid-template-columns:74px minmax(0,1fr);gap:12px;align-items:center;margin-bottom:19px}.wzb .row>label{font-size:13px}.wzb .field-button{display:flex;justify-content:space-between;align-items:center;width:100%;min-height:45px;text-align:left;border:1px solid var(--line);padding:9px 11px;font-size:13px;white-space:normal;background:#fff}.wzb .field-button span:last-child{color:var(--muted)}.wzb .inline{display:flex;align-items:center;gap:21px;flex-wrap:wrap}.wzb .tabs{display:flex;background:#f3f4ee;border-radius:3px;padding:3px;gap:3px}.wzb .tabs button{flex:1;font-size:13px;padding:5px 13px}.wzb .tabs button.active{background:#20211f;color:white}.wzb .options{border-top:1px solid #edeee8;margin-top:23px;padding-top:19px;display:flex;gap:17px;flex-wrap:wrap;font-size:12px}.wzb .rules{margin-top:14px}.wzb .rules summary{cursor:pointer;font-size:12px;color:#697061}.wzb .rules p{font-size:11px;color:var(--muted);padding-top:8px}.wzb .rules select{font-size:12px;margin-top:9px}.wzb .primary{background:#20211f!important;color:#fff!important;width:100%;padding:14px 19px;margin-top:24px;border:1px solid #20211f!important;display:flex;align-items:center;justify-content:space-between}.wzb .primary:hover{background:#000!important}.wzb .primary:disabled{opacity:.5;cursor:wait}.wzb .error{font-size:12px;color:#b74225;margin-top:12px;min-height:20px}.wzb .status{font-size:11px;color:#84897b;margin-top:12px}.wzb .consent{font-size:11px;color:#71766a;margin-top:22px}.wzb .overlay{position:fixed;inset:0;z-index:999999;background:#20211f70;display:flex;align-items:center;justify-content:center;padding:18px}.wzb .modal{background:#fff;width:470px;max-width:100%;max-height:90vh;overflow:auto;border-radius:12px;padding:25px;box-shadow:0 16px 80px #0002}.wzb .modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.wzb .modal-head button{font-size:22px;padding:0 8px}.wzb .modal .tabs{margin-bottom:20px}.wzb .pickers{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-top:20px}.wzb .pickers label{display:block;text-align:center;font-size:12px}.wzb .pickers select{padding:4px;margin-top:12px;text-align:center;background:#f6f7f2}.wzb .modal .inline{margin:14px 0}.wzb .modal .subtle{margin-top:10px}.wzb .location-fields label{display:block;margin-top:16px}.wzb .location-fields input{margin-top:7px}.wzb .result{max-width:1200px;margin:auto}.wzb .result-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:24px;gap:25px}.wzb .result-head p{font-size:12px;color:var(--muted);margin-top:10px}.wzb .result-tabs{display:flex;gap:25px;margin:24px 0}.wzb .result-tabs button.active{border-bottom:2px solid var(--orange)}.wzb .result-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:24px}.wzb .table-wrap{overflow:auto}.wzb table{border-collapse:collapse;width:100%;font-size:13px;margin:0;border:0;background:transparent}.wzb th,.wzb td{text-align:center;border:0;border-bottom:1px solid #eceee6;padding:13px 8px;font-weight:400;white-space:nowrap}.wzb th{color:var(--muted);font-size:11px}.wzb td:first-child{color:var(--muted);font-size:11px}.wzb .pillars td:not(:first-child){font-size:30px;letter-spacing:3px;color:var(--ink)}.wzb .pillars td:nth-child(4){color:var(--orange)}.wzb .fact{padding:18px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between}.wzb .result-note{font-size:12px;color:#777d70;margin-top:20px}.wzb .cycle-grid{display:grid;grid-template-columns:repeat(9,minmax(78px,1fr));overflow:auto;margin-top:20px}.wzb .cycle-grid button{display:flex;flex-direction:column;gap:8px;border-right:1px solid var(--line)}.wzb .cycle-grid button.active{background:#eceee6;border-bottom:2px solid var(--orange)}.wzb .cycle-grid strong{font-weight:400;font-size:21px}.wzb .years{display:flex;gap:8px;overflow:auto;margin-top:20px}.wzb .years button{border:1px solid var(--line)}.wzb .years button.active{border-color:var(--orange)}.wzb .months{font-size:13px;line-height:2.4;margin-top:16px;word-spacing:12px}.wzb [hidden]{display:none!important}.wzb .empty{text-align:center;padding:80px 20px}.wzb .empty a{display:inline-block;margin-top:20px}.wzb .history-item{border-bottom:1px solid var(--line);padding:10px 0;display:flex;align-items:center;justify-content:space-between}.elementor-widget-shortcode:has(.wzb),.elementor-widget-shortcode:has(.wzb)>.elementor-widget-container{width:100%;max-width:none}
@media(max-width:800px){.wzb{padding:35px 20px}.wzb .layout{grid-template-columns:1fr;gap:28px}.wzb .intro h1{font-size:30px}.wzb .art{width:220px;margin-top:10px}.wzb .intro .eyebrow{margin-bottom:12px}.wzb .panel{padding:24px 18px}.wzb .result-grid{grid-template-columns:1fr}.wzb .result-head{align-items:flex-start}.wzb .result-head h1{font-size:27px}.wzb .result-head button{font-size:12px}.wzb .row{grid-template-columns:65px 1fr;gap:8px}.wzb .inline{gap:13px}.wzb .modal{padding:22px 17px}.wzb .pickers{gap:4px}.wzb .pickers select{font-size:13px}.wzb .result-tabs{gap:14px}.wzb td,.wzb th{padding:12px 5px}}
.wzb .pillar-picker{position:relative;padding-top:24px}.wzb .pillar-columns{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.wzb .pillar-column{display:flex;align-items:center;flex-direction:column;gap:19px}.wzb .pillar-column>span{font-size:13px;margin-bottom:2px}.wzb .pillar-dot{width:57px;height:57px;border-radius:50%;display:flex;align-items:center;justify-content:center;padding:0;font-size:25px;font-weight:350;background:#b1b4ac;color:#fff;transition:background .15s}.wzb .pillar-dot:hover,.wzb .pillar-dot.active{background:#20211f;color:#fff}.wzb .pillar-dot.active{box-shadow:0 0 0 4px #eeefe8}.wzb .pillar-range{text-align:center;font-size:12px;margin:23px 0 8px;color:#71766b}.wzb .pillar-choices{position:relative;background:#f4f5ef;border:1px solid #e3e5db;border-radius:8px;margin:0 0 23px;padding:12px;display:flex;flex-wrap:wrap;justify-content:center;gap:5px}.wzb .pillar-choices:after{content:'';position:absolute;bottom:-8px;left:var(--pointer,12.5%);width:13px;height:13px;background:#f4f5ef;border-right:1px solid #e3e5db;border-bottom:1px solid #e3e5db;transform:translateX(-50%) rotate(45deg)}.wzb .pillar-choices button{font-size:22px;font-weight:350;padding:4px 8px;min-width:35px;color:#777e70}.wzb .pillar-choices button.selected{color:#e66b3e}.wzb .matches{display:grid;gap:8px;margin-top:14px;font-size:12px}
@media(max-width:420px){.wzb .pillar-columns{gap:8px}.wzb .pillar-dot{width:51px;height:51px}.wzb .pillar-choices{padding:9px 5px;gap:0}.wzb .pillar-choices button{padding:4px 7px}}
.wzb .pillar-overlay{flex-direction:column;gap:20px;overflow-y:auto}.wzb .pillar-overlay .modal{flex:0 1 auto;min-height:0;width:430px;border-radius:20px}.wzb .pillar-overlay>.pillar-choices{flex:none;width:430px;max-width:100%;margin:0;background:#fff;border:0;border-radius:20px;padding:21px 22px;display:grid;grid-template-columns:repeat(6,1fr);gap:8px 4px;box-shadow:0 8px 30px #00000008}.wzb .pillar-overlay>.pillar-choices.stems{grid-template-columns:repeat(5,1fr)}.wzb .pillar-overlay>.pillar-choices:after{background:#fff;border:0}.wzb .pillar-overlay>.pillar-choices button{color:#999e97;font-size:25px;font-weight:350;padding:2px;min-width:0;border-radius:4px}.wzb .pillar-overlay>.pillar-choices button.selected{color:#20211f}.wzb .pillar-dot.chosen{background:#20211f;color:#fff}.wzb .pillar-overlay .tabs{max-width:260px;margin:0 auto 10px;border-radius:24px}.wzb .pillar-overlay .tabs button{border-radius:20px}.wzb .pillar-overlay .pillar-picker{border-top:1px solid #f0f1eb;padding-top:18px}.wzb .pillar-overlay .search-pillars{border-radius:30px;justify-content:center;margin-top:20px}.wzb .pillar-overlay .search-pillars>span{display:none}.wzb .pillar-overlay .pillar-column{gap:20px}.wzb .pillar-overlay .modal-head{margin-bottom:12px}.wzb .pillar-overlay .subtle{font-size:10px;text-align:center}
@media(max-height:650px){.wzb .pillar-overlay{gap:12px;padding:12px}.wzb .pillar-overlay>.pillar-choices{padding:10px 20px}.wzb .pillar-overlay .modal{padding-top:15px;padding-bottom:15px}.wzb .pillar-overlay .pillar-column{gap:12px}.wzb .pillar-overlay .pillar-range{margin-top:14px}}
.wzb .wheel-picker{position:relative;gap:0;margin-top:18px;border-top:1px solid #f0f1eb;padding-top:12px}.wzb .wheel-picker:before{content:'';position:absolute;left:0;right:0;top:122px;height:44px;background:#f3f4f1;border-radius:5px;pointer-events:none}.wzb .wheel-picker>label{display:block;font-size:13px;font-weight:400;min-width:0;position:relative;line-height:22px}.wzb .date-wheel{height:220px;overflow-y:auto;overscroll-behavior:contain;scroll-snap-type:y mandatory;scrollbar-width:none;padding:88px 0;touch-action:pan-y;position:relative;mask-image:linear-gradient(transparent,#000 38%,#000 62%,transparent);-webkit-mask-image:linear-gradient(transparent,#000 38%,#000 62%,transparent)}.wzb .date-wheel::-webkit-scrollbar{display:none}.wzb .wheel-option{height:44px;line-height:44px;scroll-snap-align:center;text-align:center;font-size:15px;font-weight:400;color:#b5b8b0;cursor:pointer;user-select:none}.wzb .wheel-option.selected{font-size:20px;font-weight:600;color:#20211f}.wzb .wheel-body .confirm{border-radius:28px;margin-top:16px;justify-content:center}.wzb .wheel-body .confirm span{display:none}.wzb .wheel-body>.inline{display:grid;grid-template-columns:1fr auto auto;gap:6px}.wzb .wheel-body .quick{font-size:11px!important}.wzb .wheel-body>.subtle{font-size:10px}.wzb .wheel-body .inline button{font-size:12px;padding:6px}.wzb .wheel-body .pickers select[hidden]{display:none!important}
.wzb .date-wheel{cursor:grab}.wzb .date-wheel.dragging{cursor:grabbing;scroll-snap-type:none;scroll-behavior:auto}.wzb .date-wheel.dragging .wheel-option{cursor:grabbing}
.wzb .save-switch{position:relative;display:inline-flex;gap:10px;cursor:pointer;font-size:13px}.wzb .save-switch input{position:absolute;opacity:0;width:46px;height:26px;margin:0;left:0;top:0}.wzb .switch-track{display:inline-block;width:46px;height:26px;border-radius:20px;background:#c5c7c0;position:relative;transition:background .18s}.wzb .switch-track:after{content:'';position:absolute;width:22px;height:22px;top:2px;left:2px;background:#fff;border-radius:50%;transition:transform .18s;box-shadow:0 1px 3px #0001}.wzb .save-switch input:checked+.switch-track{background:#b79a5e}.wzb .save-switch input:checked+.switch-track:after{transform:translateX(20px)}.wzb .save-switch input:focus-visible+.switch-track{outline:2px solid #e66b3e;outline-offset:3px}.wzb .start-chart{justify-content:center;text-align:center}.wzb .account-hint{font-size:11px;text-decoration:none;color:#85897e}.wzb a.account-hint[href]:hover{color:#20211f}
.wzb .save-location{justify-content:center;text-align:center;position:relative}.wzb .save-location>span{display:none}
.wzb .pillar-dot.placeholder{color:#fff}.wzb .pillar-dot.placeholder:not(.active){background:#b1b4ac}
/* Opening a picker is not a selection: unchosen examples remain gray. */
.wzb .pillar-dot.placeholder,.wzb .pillar-dot.placeholder:hover,.wzb .pillar-dot.placeholder.active{background:#b1b4ac;color:#fff;box-shadow:none}
.wzb .pillar-dot.chosen,.wzb .pillar-dot.chosen.active{background:#20211f;color:#fff}
.wzb .location-modal{width:430px;border-radius:20px}.wzb .region-domestic{text-align:center;background:#20211f;color:#fff;border-radius:20px;padding:5px 24px;width:max-content;margin:-5px auto 20px;font-size:13px}.wzb .region-search{border-radius:22px!important;height:38px!important;font-size:12px!important}.wzb .region-pickers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:15px}.wzb .region-pickers>label{text-align:center;display:block;min-width:0}.wzb .region-wheel .wheel-option{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 3px}.wzb .region-wheel .wheel-option.selected{font-size:18px;font-weight:600}.wzb .location-modal .save-location{border-radius:28px;margin-top:14px}.wzb .region-results{max-height:155px;overflow:auto;background:#f5f6f1;margin-top:10px;border-radius:5px;font-size:12px;padding:6px}.wzb .region-results button{display:block;width:100%;text-align:left;white-space:normal;font-size:12px}.wzb .location-modal .error:empty{display:none}
/* Mingpan workspace */
.wzb.mingpan-page{background:#f4f5f1!important;padding:36px 3%;--gold:#ac915b}.wzb .mp-layout{max-width:1480px;margin:auto;display:grid;grid-template-columns:154px minmax(0,1fr);gap:24px;align-items:start}.wzb .mp-sidebar{position:sticky;top:24px}.wzb .mp-brand{display:flex;gap:10px;align-items:center;background:#fff;border-radius:8px;padding:24px 16px;margin-bottom:18px;font-size:18px;white-space:nowrap}.wzb .mp-brand small{font-size:11px;color:#a18b60}.wzb .mp-brand-mark{border:1px solid #a18b60;font-size:18px;width:29px;height:29px;line-height:27px;text-align:center;color:#a18b60}.wzb .mp-sidebar nav{background:#fff;border-radius:8px;overflow:hidden}.wzb .mp-sidebar nav button{display:flex;align-items:center;gap:10px;width:100%;padding:23px 16px;text-align:left;border-radius:0;border-bottom:1px solid #f1f2ec;font-size:14px;color:#8b8e83}.wzb .mp-sidebar nav button span{font-size:10px;color:#b2b6a9}.wzb .mp-sidebar nav button.active{color:#9c804b;background:#faf9f5;box-shadow:inset 3px 0 #b49963}.wzb .mp-sidebar>p{color:#a2a698;font-size:10px;letter-spacing:1px;text-align:center;margin-top:23px}.wzb .mp-main{min-width:0;background:#fff;border-radius:10px;overflow:hidden}.wzb .mp-banner{display:flex;align-items:center;gap:35px;background:#22241f;color:#fff;padding:27px 30px;min-height:115px}.wzb .mp-person{display:flex;align-items:center;gap:15px;flex-shrink:0}.wzb .mp-seal{width:46px;height:46px;border:1px solid #a58e5a;border-radius:50%;display:grid;place-items:center;color:#c6ae79;font-size:23px;font-weight:350}.wzb .mp-overline{font-size:8px;letter-spacing:2px;color:#a89d82}.wzb .mp-person h1{font-size:24px;letter-spacing:0;line-height:1.5;color:#cfb781;font-weight:450;max-width:230px;overflow-wrap:anywhere}.wzb .mp-birth{font-size:12px;line-height:2.15}.wzb .mp-birth p{color:#e5e7df}.wzb .mp-birth p>span{color:#969d8f;margin-right:15px}.wzb .mp-birth b{color:#c0a775;font-weight:400;margin-left:12px}.wzb .mp-birth .mp-location{color:#9fa593;font-size:10px}.wzb .mp-banner .edit{margin-left:auto;color:#cbb480;border:1px solid #82724d;border-radius:22px;padding:6px 18px;font-size:12px}.wzb .mp-banner .edit:hover{background:#34372e}.wzb .mp-content{padding:22px}.wzb .mp-section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px;gap:12px}.wzb .mp-section-heading h2{font-size:16px}.wzb .mp-section-heading>span{font-size:10px;color:#9c9f94}.wzb .mp-top-grid{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:16px;align-items:stretch}.wzb .mp-card{border:1px solid #e7e9e1;border-radius:7px;min-width:0;background:#fff;overflow:hidden}.wzb .mp-card-heading{display:flex;align-items:center;justify-content:space-between;padding:15px 18px;border-bottom:1px solid #eceee7;gap:10px}.wzb .mp-card-heading h3{font-size:14px}.wzb .mp-card-heading>span{font-size:10px;color:#969e8b}.wzb .mp-table-scroll{overflow-x:auto}.wzb .mp-table{min-width:390px;font-size:12px;table-layout:fixed}.wzb .mp-table th,.wzb .mp-table td{padding:10px 4px;border:0;line-height:1.7}.wzb .mp-table th{font-size:11px;height:40px}.wzb .mp-table th:first-child{width:66px}.wzb .mp-table tr:nth-child(odd){background:#f7f8f4}.wzb .mp-table td:first-child{font-size:11px;color:#999f92}.wzb .mp-table .mp-glyphs td:not(:first-child){font-size:29px;font-weight:500;letter-spacing:2px;line-height:1.4;padding:8px}.wzb .mp-element-wood{color:#668864}.wzb .mp-element-fire{color:#c16d50}.wzb .mp-element-earth{color:#a48750}.wzb .mp-element-metal{color:#8f8b73}.wzb .mp-element-water{color:#59859b}.wzb .mp-chart-foot{display:flex;justify-content:space-around;padding:17px 8px;border-top:1px solid #eceee7;font-size:11px;color:#969b8c}.wzb .mp-chart-foot b{font-weight:400;color:#555f4b;margin-left:6px}.wzb .mp-pro-note{padding:15px 18px;background:#f8f8f3;border-top:1px solid #eceee7;font-size:11px;color:#7b816f;line-height:2}.wzb .mp-ai-star{color:#b29967;margin-right:7px;font-size:19px}.wzb .mp-status{color:#a69a7e!important;background:#f7f5ef;border-radius:20px;padding:2px 9px;font-size:10px}.wzb .mp-ai-tabs{display:flex;border-bottom:1px solid #eceee7;overflow:auto}.wzb .mp-ai-tabs button{flex:1;padding:12px 7px;border-radius:0;font-size:11px;color:#979b90}.wzb .mp-ai-tabs button.active{color:#a88c56;background:#faf9f4;box-shadow:inset 0 -2px #b39965}.wzb .mp-ai-body{padding:24px}.wzb .mp-ai-tag{font-size:10px;letter-spacing:1px;color:#ac9669;margin-bottom:13px}.wzb .mp-ai-body h2{font-size:21px;font-weight:400;line-height:1.6}.wzb .mp-ai-description{font-size:12px;color:#959c8b;line-height:1.9;margin-top:12px;min-height:46px}.wzb .mp-evidence{margin-top:23px;padding:15px 0;border-top:1px solid #edf0e7;border-bottom:1px solid #edf0e7}.wzb .mp-evidence>span{font-size:10px;color:#a1a597}.wzb .mp-evidence>div{display:flex;gap:10px;justify-content:space-between;margin-top:12px}.wzb .mp-evidence>div>span{font-size:16px;color:#666f5c;white-space:nowrap}.wzb .mp-evidence small{font-size:9px;color:#a8ad9f;margin-right:6px}.wzb .mp-ai-empty{padding:25px 0 10px;text-align:center}.wzb .mp-ai-empty>span{font-size:30px;color:#b7ab8b}.wzb .mp-ai-empty h3{font-size:13px;font-weight:400;margin-top:5px;color:#737b68}.wzb .mp-ai-empty p{font-size:11px;line-height:1.9;color:#a0a694;margin:10px auto 17px;max-width:240px}.wzb .mp-ai-empty button{color:#aaa99e;background:#f0f1eb;border:1px solid #e7e9df;font-size:11px;cursor:default;padding:7px 25px}.wzb .mp-ai-footnote{text-align:center;font-size:9px;color:#adb2a4;margin-top:20px}.wzb .mp-bottom-heading{display:flex;align-items:end;justify-content:space-between;margin:30px 0 17px}.wzb .mp-bottom-heading h2{font-size:21px;font-weight:350;margin-top:4px}.wzb .mp-bottom-heading>span{font-size:10px;color:#a2a795}.wzb .mp-analysis-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.wzb .mp-analysis-card{padding:19px}.wzb .mp-analysis-card>div:first-child{display:flex;justify-content:space-between;align-items:center}.wzb .mp-topic-number{color:#b6a57f;font-size:11px}.wzb .mp-analysis-card h3{font-size:15px;font-weight:400;margin-top:23px}.wzb .mp-analysis-card p{font-size:11px;color:#969d8b;line-height:1.9;margin-top:11px;min-height:61px}.wzb .mp-topic-end{font-size:10px;color:#aaa891;border-top:1px solid #eceee5;padding-top:14px;margin-top:15px;display:flex;justify-content:space-between}.wzb .mp-method{font-size:9px;color:#a4aa99;padding:22px 0 0;line-height:1.9}.wzb .mp-timeline{margin-top:17px}.wzb .mp-time-meta{font-size:11px;color:#9b8c69;padding:14px 18px}.wzb .mp-time-row{display:flex;border-top:1px solid #eceee5;align-items:stretch;min-width:0}.wzb .mp-time-label{width:53px;flex-shrink:0;display:flex;align-items:center;justify-content:center;background:#f7f8f3;font-size:12px}.wzb .mp-timeline .cycle-grid{margin:0;flex:1;min-width:0}.wzb .mp-timeline .cycle-grid button{padding:12px 8px;gap:4px}.wzb .mp-timeline .cycle-grid strong{font-size:21px;font-weight:400}.wzb .mp-timeline small{font-size:10px;color:#929a87}.wzb .mp-timeline .years{margin:0;gap:0;flex:1;min-width:0}.wzb .mp-timeline .years button{min-width:78px;flex:1;display:flex;flex-direction:column;align-items:center;border:0;border-right:1px solid #eceee7;gap:7px;padding:12px 8px}.wzb .mp-timeline .years strong{font-size:19px;font-weight:400}.wzb .mp-timeline .years .active{background:#f0efe6;box-shadow:inset 0 -2px #ae955f}.wzb .mp-month-grid{display:flex;overflow:auto;flex:1;min-width:0}.wzb .mp-month-grid>div{flex:1;min-width:65px;text-align:center;display:flex;flex-direction:column;gap:7px;padding:13px 7px;border-right:1px solid #eceee7}.wzb .mp-month-grid strong{font-size:17px;font-weight:400}.wzb .mp-time-foot{font-size:10px;color:#a5a995;padding:12px 18px;border-top:1px solid #eceee7}
@media(max-width:1100px){.wzb .mp-layout{grid-template-columns:120px minmax(0,1fr);gap:15px}.wzb .mp-sidebar nav button{padding:20px 12px;font-size:12px}.wzb .mp-brand{padding:19px 10px;font-size:15px}.wzb .mp-banner{gap:20px;padding:25px 20px}.wzb .mp-analysis-grid{grid-template-columns:repeat(2,1fr)}.wzb .mp-ai-body{padding:18px}.wzb .mp-person h1{font-size:21px}}
@media(max-width:850px){.wzb .mp-top-grid{grid-template-columns:1fr}.wzb .mp-ai-empty{padding:17px 0}.wzb .mp-banner{flex-wrap:wrap}.wzb .mp-birth{order:3;flex-basis:100%}.wzb .mp-banner .edit{margin-left:auto}.wzb .mp-content{padding:16px}}
@media(max-width:600px){.wzb.mingpan-page{padding:18px 12px}.wzb .mp-layout{display:block}.wzb .mp-sidebar{position:static;margin-bottom:15px}.wzb .mp-brand,.wzb .mp-sidebar>p{display:none}.wzb .mp-sidebar nav{display:flex}.wzb .mp-sidebar nav button{justify-content:center;padding:14px}.wzb .mp-sidebar nav button.active{box-shadow:inset 0 -2px #b49963}.wzb .mp-banner{padding:21px 18px;gap:14px}.wzb .mp-person h1{font-size:21px}.wzb .mp-content{padding:12px}.wzb .mp-analysis-grid{gap:10px}.wzb .mp-analysis-card{padding:14px}.wzb .mp-bottom-heading h2{font-size:19px}.wzb .mp-section-heading>span{font-size:9px}.wzb .mp-ai-tabs button{font-size:11px}.wzb .mp-method{font-size:9px}}
/* Reference-aligned chart colors and density */
.wzb.mingpan-page{background:#f5f5f7!important;color:#111}.wzb .mp-element-metal{color:#ff9800!important}.wzb .mp-element-wood{color:#00ce16!important}.wzb .mp-element-water{color:#3185ff!important}.wzb .mp-element-fire{color:#ed0000!important}.wzb .mp-element-earth{color:#947500!important}.wzb .mp-layout{max-width:1510px;grid-template-columns:162px minmax(0,1fr);gap:20px}.wzb .mp-banner{background:linear-gradient(125deg,#181815,#080808);min-height:105px}.wzb .mp-person h1{color:#b59756;font-size:25px;font-weight:600}.wzb .mp-birth{font-size:14px}.wzb .mp-birth p,.wzb .mp-birth p>span{color:#eee}.wzb .mp-sidebar nav button{font-size:17px;color:#888;padding:24px 18px}.wzb .mp-sidebar nav button.active{color:#b29356;background:#fff;box-shadow:none}.wzb .mp-top-grid{grid-template-columns:minmax(0,1.18fr) minmax(0,1fr);gap:12px}.wzb .mp-content{padding:24px 13px}.wzb .mp-section-heading,.wzb .mp-chart>.mp-card-heading{display:none}.wzb .mp-table{min-width:410px;font-size:14px;table-layout:fixed;color:#000}.wzb .mp-table thead tr{background:#fff!important}.wzb .mp-table th{font-size:14px;color:#999;font-weight:400;height:38px}.wzb .mp-table td{font-size:14px;padding:7px 3px;line-height:1.3;color:#000}.wzb .mp-table td:first-child{font-size:14px;color:#999}.wzb .mp-table tbody tr:nth-child(odd){background:#f7f7f7}.wzb .mp-table tbody tr:nth-child(even){background:#fff}.wzb .mp-table .mp-glyphs td:not(:first-child){font-size:29px;font-weight:600;padding:7px 3px;line-height:1.2;letter-spacing:0}.wzb .mp-table tbody tr:nth-child(4),.wzb .mp-table tbody tr:nth-child(5){height:78px}.wzb .mp-chart-foot{color:#b29356;font-size:12px}.wzb .mp-chart-foot b{color:#111}.wzb .mp-card{border-color:#ededed;border-radius:10px}.wzb .mp-ai-body h2{color:#181818}.wzb .mp-ai-description{color:#666}.wzb .mp-ai-tabs button{font-size:13px;color:#666}.wzb .mp-ai-tabs button.active{color:#b29356}.wzb .mp-ai-tag{color:#b29356}.wzb .mp-evidence>div>span{color:#111}.wzb .mp-ai-empty p{color:#888}.wzb .mp-analysis-card p{color:#777}.wzb .mp-timeline{margin-top:0}.wzb.mp-professional .mp-chart{grid-column:1;grid-row:1}.wzb.mp-professional .mp-timeline{grid-column:2;grid-row:1}.wzb.mp-professional .mp-ai{grid-column:1/-1;grid-row:2;margin-top:2px}.wzb.mp-professional .mp-ai-body{display:grid;grid-template-columns:1fr 1fr;column-gap:35px}.wzb.mp-professional .mp-ai-tag,.wzb.mp-professional .mp-ai-title,.wzb.mp-professional .mp-ai-description,.wzb.mp-professional .mp-evidence{grid-column:1}.wzb.mp-professional .mp-ai-empty{grid-column:2;grid-row:1/5;padding:10px 25px;border-left:1px solid #eee}.wzb.mp-professional .mp-ai-footnote{grid-column:1/-1}.wzb .mp-six{min-width:460px}.wzb .mp-six th:first-child{width:54px}.wzb .mp-six td{font-size:13px}.wzb .mp-six .mp-natal-start{border-left:1px solid #e7e7e7}.wzb.mp-professional .mp-pro-note{display:none}.wzb.mp-professional .mp-chart,.wzb.mp-professional .mp-timeline{min-height:540px}.wzb .mp-timeline>.mp-card-heading{display:none}.wzb .mp-time-meta{padding:12px;font-size:11px;color:#000}.wzb .mp-timeline .cycle-grid{display:flex;overflow:auto}.wzb .mp-timeline .cycle-grid button{min-width:64px;flex:1;padding:8px 5px;gap:3px}.wzb .mp-timeline .cycle-grid strong,.wzb .mp-timeline .years strong{font-size:20px;line-height:1.35;font-weight:400}.wzb .mp-timeline .years button{min-width:58px;padding:7px 4px;gap:4px}.wzb .mp-timeline small{color:#111;font-size:11px}.wzb .mp-time-label{width:35px;background:#fff;font-size:18px;writing-mode:vertical-rl;font-weight:600;letter-spacing:4px}.wzb .mp-month-grid>div{min-width:54px;padding:9px 3px}.wzb .mp-month-grid strong{font-size:19px;line-height:1.35}.wzb .mp-time-foot{background:#b1975a;color:#fff;border:0}.wzb .mp-timeline .cycle-grid button.active,.wzb .mp-timeline .years button.active{background:#ededed;border-bottom:0;box-shadow:none;font-weight:600}
@media(max-width:1100px){.wzb .mp-layout{grid-template-columns:125px minmax(0,1fr)}.wzb .mp-sidebar nav button{font-size:14px;padding:21px 13px}.wzb .mp-top-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.wzb .mp-six{min-width:510px}.wzb .mp-birth{font-size:12px}}
@media(max-width:850px){.wzb .mp-top-grid{grid-template-columns:1fr}.wzb.mp-professional .mp-chart,.wzb.mp-professional .mp-timeline,.wzb.mp-professional .mp-ai{grid-column:auto;grid-row:auto}.wzb.mp-professional .mp-chart{order:0}.wzb.mp-professional .mp-timeline{order:1;min-height:0}.wzb.mp-professional .mp-ai{order:2}.wzb.mp-professional .mp-ai-body{display:block}.wzb.mp-professional .mp-ai-empty{border-left:0}.wzb .mp-table{min-width:400px}}
@media(max-width:600px){.wzb .mp-layout{display:block}.wzb .mp-sidebar nav button{font-size:14px}.wzb .mp-content{padding:14px 9px}.wzb .mp-table{min-width:360px}.wzb .mp-six{min-width:520px}}
.wzb .mp-hidden-row td{vertical-align:top!important;padding-top:10px!important}.wzb .mp-stars-row td{vertical-align:top;color:#b38d4d;font-size:12px;line-height:1.7;padding-top:13px;padding-bottom:16px;white-space:normal;overflow-wrap:anywhere}.wzb .mp-relations{padding:13px 15px;border-top:1px solid #eee;font-size:12px;line-height:1.9;white-space:normal;overflow-wrap:anywhere}.wzb .mp-relations b{color:#b39356;font-weight:400}.wzb .mp-relations details{font-size:10px;color:#888;margin-top:8px}.wzb .mp-relations summary{cursor:pointer}.wzb .mp-month-grid>button{flex:1;min-width:54px;display:flex;flex-direction:column;align-items:center;gap:7px;padding:9px 3px;border-right:1px solid #eee;border-radius:0}.wzb .mp-month-grid>button.active{background:#ececec;box-shadow:inset 0 -2px #b1975a}.wzb .mp-table{width:100%}
@media(max-width:600px){.wzb.mingpan-page{padding:8px 4px}.wzb .mp-content{padding:8px 3px}.wzb .mp-table,.wzb .mp-six{min-width:0!important;width:100%;table-layout:fixed}.wzb .mp-table-scroll{overflow:visible}.wzb .mp-table th:first-child,.wzb .mp-six th:first-child{width:27px}.wzb .mp-table th,.wzb .mp-table td,.wzb .mp-table td:first-child{font-size:10px;padding:5px 1px;white-space:normal;overflow-wrap:anywhere}.wzb .mp-table .mp-glyphs td:not(:first-child){font-size:22px;padding:6px 1px;letter-spacing:0}.wzb .mp-hidden-row td{font-size:9px;line-height:1.6}.wzb .mp-stars-row td{font-size:9px;line-height:1.6}.wzb .mp-table tbody tr:nth-child(4),.wzb .mp-table tbody tr:nth-child(5){height:auto}.wzb .mp-chart-foot{font-size:10px;padding:10px 3px;flex-wrap:wrap}.wzb .mp-professional .mp-chart{min-height:0}.wzb .mp-relations{font-size:10px;padding:10px 7px}.wzb .mp-timeline .cycle-grid,.wzb .mp-timeline .years,.wzb .mp-month-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));overflow:visible}.wzb .mp-month-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.wzb .mp-timeline .cycle-grid button,.wzb .mp-timeline .years button,.wzb .mp-month-grid>button{min-width:0;padding:7px 1px;gap:3px;border-bottom:1px solid #eee}.wzb .mp-timeline small{font-size:9px}.wzb .mp-timeline .cycle-grid strong,.wzb .mp-timeline .years strong,.wzb .mp-month-grid strong{font-size:17px}.wzb .mp-time-label{width:24px;font-size:13px}.wzb .mp-time-meta,.wzb .mp-time-foot{font-size:9px;padding:9px 7px}.wzb .mp-person h1{max-width:170px}.wzb .mp-banner{padding:16px 10px}.wzb .mp-ai-tabs button{padding:10px 3px}.wzb .mp-analysis-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.wzb .mp-star-link{display:block;width:100%;color:#b38d4d;font:inherit;text-align:center;white-space:normal;overflow-wrap:anywhere;padding:1px 0;border:0;line-height:1.65;border-radius:2px}.wzb .mp-star-link:hover{color:#816226;background:#f7f1e5;text-decoration:underline}.wzb .mp-stars-row td{height:auto;max-height:none;overflow:visible}.wzb .mp-star-detail h3{font-size:14px;margin:20px 0 9px}.wzb .mp-star-detail p{font-size:13px;color:#65685f;line-height:1.9}.wzb .mp-star-detail .subtle{font-size:11px;color:#969b8c;margin-top:22px;border-top:1px solid #eee;padding-top:15px}.wzb .mp-star-position{background:#f5f1e8;color:#ac8b4d;padding:4px 12px;border-radius:20px;font-size:12px}.wzb .mp-sidebar nav button{justify-content:center}
.wzb .mp-field-link,.wzb .mp-field-label{font:inherit;color:inherit;background:transparent;border:0;border-radius:2px;padding:0;width:100%;text-align:center;white-space:normal;line-height:inherit;vertical-align:top}.wzb .mp-field-link:hover,.wzb .mp-field-label:hover{background:#f1eee5;text-decoration:underline;text-decoration-color:#b8a376;text-underline-offset:3px}.wzb .mp-foot-help{font:inherit;color:inherit;padding:0;white-space:normal}.wzb .mp-foot-help:hover{background:transparent;text-decoration:underline}.wzb .mp-star-detail b{font-weight:500;color:#20211f}.wzb .mp-star-detail>p{margin-top:12px}

/* Individual ten-god readings: keep the original text appearance. */
.wzb .mp-god-link{display:inline;padding:0;margin:0;border:0;border-radius:0;background:transparent;color:inherit;font:inherit;line-height:inherit;min-width:0;min-height:0;vertical-align:baseline;white-space:nowrap;text-decoration:none}
.wzb .mp-hidden-item,.wzb .mp-god-item{display:block;white-space:nowrap}
.wzb .mp-god-link,.wzb .mp-star-link,.wzb .mp-field-link,.wzb .mp-field-label,.wzb .mp-foot-help{background:transparent!important;box-shadow:none!important;text-decoration:none!important;transition:none}
.wzb .mp-god-link:hover,.wzb .mp-god-link:active,.wzb .mp-field-link:hover,.wzb .mp-field-label:hover,.wzb .mp-foot-help:hover{background:transparent!important;color:inherit!important;text-decoration:none!important;box-shadow:none!important;transform:none}
.wzb .mp-star-link:hover,.wzb .mp-star-link:active{background:transparent!important;color:#b38d4d!important;text-decoration:none!important;box-shadow:none!important;transform:none}
.wzb .mp-god-detail ul{margin:8px 0 18px;padding-left:20px}.wzb .mp-god-detail li{font-size:13px;line-height:1.9;color:#65685f;margin:7px 0}.wzb .mp-god-detail h3{color:#20211f}

/* Reading dialogs: fixed header, flexible content and clear typography. */
.wzb .reading-overlay{padding:16px;overscroll-behavior:contain}
.wzb .reading-overlay .modal{width:960px;max-width:100%;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);padding:0;display:flex;flex-direction:column;overflow:hidden;border-radius:18px}
.wzb .reading-overlay .modal-head{flex:none;margin:0;padding:20px 28px 16px;border-bottom:1px solid #ece9e1;background:#fff;gap:16px;z-index:1}
.wzb .reading-overlay .modal-head h3{font-size:21px;font-weight:650;line-height:1.4;margin:0;color:#20211f}
.wzb .reading-overlay .modal-head .close{flex:none;width:36px;height:36px;padding:0;font-size:28px;line-height:1;background:transparent;color:#45473f;display:grid;place-items:center}
.wzb .reading-scroll{min-height:0;overflow-y:auto;overflow-x:hidden;padding:20px 28px 26px;overscroll-behavior:contain;scrollbar-width:none;-ms-overflow-style:none}
.wzb .reading-scroll::-webkit-scrollbar{display:none;width:0;height:0}
.wzb .reading-overlay .modal>.error:empty{display:none}
.wzb .reading-overlay .mp-star-detail h3{font-size:16px;font-weight:650;line-height:1.5;color:#967132;margin:22px 0 10px}
.wzb .reading-overlay .mp-star-detail p,.wzb .reading-overlay .mp-god-detail li{font-size:14px;line-height:1.8;font-weight:400;color:#62665e;margin:8px 0}
.wzb .reading-overlay .mp-star-detail .reading-lead,.wzb .reading-overlay .mp-star-detail b{font-weight:600;color:#292d27}
.wzb .reading-overlay .mp-star-detail .subtle{font-size:11px;color:#92968c;border:0;padding:0;margin:10px 0}
.wzb .reading-overlay .mp-original-rule{margin-top:18px;font-size:13px;color:#73776c}
@media(min-width:1000px) and (min-height:700px){.wzb .reading-overlay .modal{width:1080px}.wzb .reading-overlay .mp-star-detail h3{margin-top:17px}.wzb .reading-overlay .mp-star-detail p{margin:6px 0;line-height:1.7}}
@media(max-width:600px){.wzb .reading-overlay{padding:10px}.wzb .reading-overlay .modal{max-height:calc(100vh - 20px);max-height:calc(100dvh - 20px);border-radius:14px}.wzb .reading-overlay .modal-head{padding:14px 18px 12px}.wzb .reading-overlay .modal-head h3{font-size:19px}.wzb .reading-scroll{padding:14px 18px 20px}.wzb .reading-overlay .mp-star-detail h3{font-size:15px;margin-top:20px}}

.wzb .mp-table .mp-gods-row td{vertical-align:top}


.wzb .reading-overlay .mp-seat-title{font-size:24px;font-weight:650;line-height:1.4;color:#20211f;margin:0 0 8px}.wzb .reading-overlay .mp-seat-caption{margin:0 0 14px;color:#818579;font-size:12px}
.wzb .mp-timeline .mp-transit-line{display:flex;align-items:baseline;justify-content:center;gap:2px;white-space:nowrap;line-height:1.35}.wzb .mp-timeline .mp-god-abbr{font-size:11px!important;font-weight:400!important;line-height:1;color:#000!important;letter-spacing:0}.wzb .mp-pre-label{font-size:19px;line-height:1.35;color:#000}.wzb .mp-timeline button strong{display:block}.wzb .mp-timeline button.active .mp-transit-line{font-weight:600}@media(max-width:600px){.wzb .mp-timeline .mp-god-abbr{font-size:9px!important}.wzb .mp-timeline .mp-transit-line{gap:1px}}
.wzb .mp-day-grid{display:flex;flex:1;min-width:0;overflow-x:auto}.wzb .mp-day-grid>button{flex:0 0 54px;min-width:54px;display:flex;flex-direction:column;align-items:center;gap:5px;padding:9px 3px;border-right:1px solid #eee;border-radius:0}.wzb .mp-day-grid strong{font-size:19px;font-weight:400;line-height:1.35}.wzb .mp-day-grid>button.active{background:#ececec;box-shadow:inset 0 -2px #b1975a}.wzb .mp-month-grid small{line-height:1.5;text-align:center}@media(max-width:600px){.wzb .mp-day-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));overflow:visible}.wzb .mp-day-grid>button{min-width:0;padding:7px 1px;border-bottom:1px solid #eee}.wzb .mp-day-grid strong{font-size:17px}}
/* Shared homepage paper across all page shells. */
html body:has(.wzb),.wzb,.wzb.mingpan-page{background:#f8f8f5!important}

/* 2.1.1 responsive layout */
.wzb[data-page="input"]{min-height:calc(100svh - var(--xc-shell-height,0px));display:flex;align-items:center}
.wzb[data-page="input"]>.layout{width:100%}
.wzb.mingpan-page{min-height:calc(100svh - var(--xc-shell-height,0px))}
.wzb dialog.overlay{margin:0;border:0;width:100%;height:100%;max-width:none;max-height:none;color:inherit;box-sizing:border-box}
.wzb dialog.overlay::backdrop{background:transparent}
.wzb .pillar-overlay{justify-content:flex-start;overflow:auto;padding-top:max(18px,calc((100dvh - 690px)/2));padding-bottom:30px}
.wzb .pillar-overlay .modal{flex:none}
@media(max-width:780px){
.wzb .mp-sidebar{position:sticky;top:var(--xc-nav-height,0px);z-index:30;background:#f8f8f5;padding:6px 0;margin-bottom:12px}
.wzb .mp-timeline .cycle-grid,.wzb .mp-timeline .years,.wzb .mp-month-grid,.wzb .mp-day-grid{display:flex;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;min-width:0;scrollbar-width:thin;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.wzb .mp-timeline .cycle-grid>button,.wzb .mp-timeline .years>button,.wzb .mp-month-grid>button,.wzb .mp-day-grid>button{flex:0 0 58px;min-width:58px;border-bottom:0}
}

@media(max-width:780px){
#wz-nav{position:sticky!important;top:var(--xc-admin-height,0px);z-index:100!important}
.elementor-location-header:has(#wz-nav){position:sticky!important;top:var(--xc-admin-height,0px);z-index:100!important}
.elementor-location-header #wz-nav{position:relative!important;top:0}
}
#wz-footer,.elementor-location-footer:has(#wz-footer){position:relative!important;inset:auto!important}
