/* Companion rooms inherit the approved BaZi type and palette, with distinct charts. */
.reception-preview[data-reception-route="reading"]:is([data-reading-system="western"],[data-reading-system="human"],[data-reading-system="ziwei"]) #main {
  top:calc(var(--reception-header) + 9px);right:12px;bottom:calc(var(--reception-footer) + 9px);left:12px;
  width:auto;max-width:none;max-height:none;padding:0 clamp(22px,3.3vw,58px) 36px;border:1px solid #c8a96a61;border-radius:7px;
  background:#0d0f10;box-shadow:0 20px 65px #0007;scroll-padding-top:136px;
}
.reception-preview[data-reception-route="reading"]:is([data-reading-system="western"],[data-reading-system="human"],[data-reading-system="ziwei"]) .consult-panel-bar {
  margin-inline:calc(-1 * clamp(22px,3.3vw,58px));padding:6px 16px;background:#0d0f10;border-color:#c8a96a3d;
}
.reception-preview[data-reception-route="reading"]:is([data-reading-system="western"],[data-reading-system="human"],[data-reading-system="ziwei"])[data-panel-collapsed="false"] :is(#character-presence,.scene-tools) {display:none;}
.life-reading{min-width:0;}
.life-premium .report-opening h1{font-size:clamp(34px,3.2vw,52px);}
.life-opening-copy{margin-top:25px;max-width:76ch;}
.life-reading .report-highlights{margin-block:28px 0;}
.life-reading .report-chapter{padding-block:34px;}
.life-reading .report-chapter > header{margin-bottom:22px;}
.life-reading .report-chapter > header h2{margin:0 0 12px;}
.life-prose-chapter > .bazi-report-copy{max-width:76ch;}
.life-source-note{font:14px/1.8 var(--sans);color:var(--report-secondary);padding:0 8px;}
.life-reading .report-evidence-links button{min-height:44px;font:15px/1.5 var(--serif);}
.life-reading :is(.life-aspect-data,.life-palace-explorer details){border-block-start:1px solid var(--report-line);}
.life-reading :is(.life-aspect-data,.life-palace-explorer details) summary{padding:14px 6px;cursor:pointer;font:16px/1.6 var(--serif);color:var(--report-gold-light);}
.life-reading .planet-table{width:100%;font:14px/1.7 var(--sans);}
.life-reading .planet-table :is(th,td){padding:11px 9px;overflow-wrap:anywhere;}
.life-reading .planet-table th{font-weight:500;color:var(--report-gold);text-align:left;}
.life-reading .table-scroll{max-width:100%;}
.life-chart-controls{display:flex;gap:8px;flex-wrap:wrap;min-width:0;padding:16px 0;margin:0;border:0;}
.life-chart-controls legend{font:15px/1.6 var(--sans);color:var(--report-secondary);padding:0;}
.life-chart-controls button{min-height:44px;padding:9px 12px;border:1px solid var(--report-line);border-radius:5px;background:var(--report-panel);color:var(--report-text);font:15px/1.5 var(--serif);}
.life-chart-controls button[aria-pressed="true"]{border-color:#d2b679a8;background:#c8a96a1c;color:var(--report-gold-light);}
.life-chart-controls button:hover{background:#c8a96a0e;}
.life-selection-note{font:14px/1.8 var(--sans);color:var(--report-gold-light);min-height:3.6em;overflow-wrap:anywhere;}
.life-western-workbench,.life-human-workbench{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:30px;align-items:start;}
.life-main-figure{margin:0;min-width:0;}
.life-main-figure figcaption{max-width:64ch;margin:12px auto 20px;color:var(--report-secondary);font:14px/1.7 var(--sans);}
.life-natal-wheel{display:block;width:100%;max-width:660px;margin:auto;color:var(--report-gold);fill:none;stroke:#c8a96a70;stroke-width:1;}
.life-natal-wheel text{text-anchor:middle;stroke:none;fill:var(--report-gold-light);}
.life-natal-wheel .life-zodiac-glyph{font:19px/1 'Segoe UI Symbol',var(--sans);font-variant-emoji:text;}
.life-natal-wheel .life-house-cusp{stroke:#c8a96a36;}
.life-natal-wheel .life-house-number{font:12px/1 var(--sans);fill:var(--report-secondary);}
.life-natal-wheel .life-aspect-line{stroke:#94b6b3;stroke-width:.9;opacity:.36;}
.life-natal-wheel .life-aspect-tension{stroke:#d5a284;}
.life-natal-wheel .life-planet-leader{stroke:#c8a96a7a;stroke-width:.7;}
.life-natal-wheel .life-planet-point{fill:var(--report-gold-light);}
.life-natal-wheel .life-planet-label-bg{fill:#151719;stroke:#c8a96a32;}
.life-natal-wheel .life-planet-glyph{font:17px/1 var(--sans);}
.life-natal-wheel .life-axis{stroke:var(--report-gold-light);stroke-width:2;}
.life-natal-wheel .life-axis-label{font:11px/1 var(--sans);}
.life-reading svg .is-muted{opacity:.08;}
.life-count-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px;margin-block:24px 10px;}
.life-count-plot{margin:0;padding:22px;border:1px solid var(--report-line);border-radius:8px;background:var(--report-panel);}
.life-count-plot figcaption{font:18px/1.6 var(--serif);color:var(--report-gold-light);margin-bottom:16px;}
.life-count-plot > div{display:grid;grid-template-columns:68px minmax(0,1fr) 54px;align-items:center;gap:10px;margin-block:12px;color:var(--report-secondary);font:14px/1.5 var(--sans);}
.life-count-plot b{font-weight:400;text-align:right;}
.life-count-track{display:block;height:5px;background:#c8a96a16;}
.life-count-track i{display:block;height:100%;background:#c8a96a;}
.life-human-graph{display:block;width:100%;max-height:660px;fill:none;stroke:#c8a96a24;}
.life-human-graph .life-defined-channel{stroke:#c8a96a;stroke-width:4;}
.life-human-graph .life-channel-label{fill:#f4e3c5;stroke:#0d0f10;stroke-width:3px;paint-order:stroke;font:11px/1 var(--sans);text-anchor:middle;}
.life-human-graph .life-center{fill:#151719;stroke:#a08b63;stroke-width:1.4;}
.life-human-graph .life-center.is-defined{fill:#c8a96a;stroke:#e9cea0;}
.life-human-graph .life-center text{fill:#efe7d6;stroke:none;text-anchor:middle;font:10px/1 var(--sans);}
.life-human-graph .life-center.is-defined text{fill:#191711;}
html[lang="en"] .life-human-graph .life-center text{font-size:8px;}
.life-channel-list{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:22px;}
.life-channel-list > span{padding:9px 12px;border-left:2px solid var(--report-gold);background:var(--report-panel);color:var(--report-gold-light);font:17px/1.5 var(--serif);}
.life-channel-list small{display:block;color:var(--report-secondary);font:12px/1.6 var(--sans);}
.life-ziwei-board{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(4,minmax(155px,auto));gap:5px;margin-block:16px 22px;}
.life-palace-cell{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:7px;min-width:0;padding:14px 16px;border:1px solid var(--report-line);border-radius:5px;background:var(--report-panel);color:var(--report-text);overflow-wrap:anywhere;}
.life-palace-cell strong{font:20px/1.4 var(--serif);color:var(--report-gold-light);}
.life-palace-cell small{font:13px/1.6 var(--sans);color:var(--report-secondary);}
.life-palace-cell > span{font:16px/1.7 var(--serif);}
.life-palace-cell.is-life{border-color:#c8a96ab3;background:#c8a96a12;}
.life-palace-cell:hover{border-color:var(--report-gold-light);}
.life-ziwei-center{grid-area:2 / 2 / 4 / 4;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;color:var(--report-gold);background:radial-gradient(ellipse,#c8a96a0d,transparent 70%);}
.life-ziwei-center strong{font:clamp(22px,2.3vw,34px)/1.5 var(--serif);font-weight:400;}
.life-ziwei-center :is(span,small){font:14px/1.7 var(--sans);color:var(--report-secondary);}
.life-period-facts{padding:20px;border-left:2px solid var(--report-gold);background:var(--report-panel);margin-block:20px;}
.life-palace-explorer{display:grid;grid-template-columns:1fr 1fr;gap:0 24px;margin-top:24px;}
.life-palace-explorer summary span{margin-left:12px;color:var(--report-secondary);}
.life-reading [hidden]{display:none!important;}
@media(max-width:1050px){.life-western-workbench,.life-human-workbench{gap:20px;grid-template-columns:1fr 1fr;}.life-reading .report-overview-grid{grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr);gap:22px;}.life-palace-cell{padding:12px;}.life-palace-cell strong{font-size:18px;}}
@media(max-width:760px){
  .life-reading .report-overview-grid,.life-western-workbench,.life-human-workbench,.life-count-grid{grid-template-columns:minmax(0,1fr);}
  .life-reading .report-overview-grid{gap:24px;}.life-reading .report-sidebar{gap:10px;}.life-reading .report-chapter{padding-block:28px;}
  .life-main-figure{max-width:520px;margin-inline:auto;width:100%;}.life-main-figure figcaption{margin-top:5px;}
  .life-human-graph{max-height:500px;}.life-palace-explorer{grid-template-columns:minmax(0,1fr);}
}
@media(max-width:540px){
  .reception-preview[data-reception-route="reading"]:is([data-reading-system="western"],[data-reading-system="human"],[data-reading-system="ziwei"]) #main{left:5px;right:5px;padding-inline:18px;}
  .reception-preview[data-reception-route="reading"]:is([data-reading-system="western"],[data-reading-system="human"],[data-reading-system="ziwei"]) .consult-panel-bar{margin-inline:-18px;padding-inline:10px;}
  .life-reading .bazi-reading-toolbar{flex-wrap:wrap;}.life-reading .report-opening h1{font-size:34px;}.life-reading .bazi-report-copy{font-size:17px;line-height:1.9;}
  .life-reading .report-theme-content{padding:22px;}.life-reading .report-fact-row{grid-template-columns:92px minmax(0,1fr);}
  .life-chart-controls button{font-size:14px;padding-inline:10px;}.life-reading .planet-table{font-size:13px;}.life-reading .planet-table :is(th,td){padding:10px 6px;}
  .life-ziwei-board{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none;gap:8px;}
  .life-palace-cell{grid-row:auto!important;grid-column:auto!important;min-height:170px;}.life-ziwei-center{display:none;}
  .life-count-plot{padding:18px;}.life-count-plot > div{grid-template-columns:56px minmax(0,1fr) 54px;}
}
@media print{
  .reception-preview[data-reception-route="reading"]:is([data-reading-system="western"],[data-reading-system="human"],[data-reading-system="ziwei"]) #main{position:static;inset:auto;width:100%;height:auto;max-height:none;padding:0;border:0;overflow:visible;background:#fff;box-shadow:none;}
  .life-reading-nav,.life-reading .bazi-reading-toolbar,.life-chart-controls,.life-reading .report-evidence-links,.life-reading .result-bottom{display:none!important;}
  .life-reading,.life-reading .report-chapter,.life-reading .report-side-card,.life-reading .report-theme-card{color:#171717;background:#fff;box-shadow:none;}
  .life-reading :is(h1,h2,h3,p,td,th,small,dd,dt,span){color:#171717;}.life-reading .life-prose-chapter{break-inside:auto;}
  .life-reading .report-overview-grid{display:block;}.life-reading .report-sidebar{margin-top:20px;}
}

.report-core-question {font:600 clamp(19px,2.3vw,25px)/1.8 var(--font-serif,serif);color:#e2c696;margin:22px 0 16px;max-width:32em}
.reading-balance {margin:20px 0 30px}.reading-balance > div {padding:14px 0;border-bottom:1px solid #c8ac7733}
