.coach-shell{--coach-gold:#a57a2e;--coach-ink:#473922;--coach-muted:#796c58;--coach-border:#e7d9bd;background:#fffdf8;border:1px solid var(--coach-border);border-radius:28px;color:var(--coach-ink);overflow:hidden;box-shadow:0 14px 45px #9c793c0a;font-size:15px;line-height:1.75}
.coach-shell button{font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}.coach-shell button:disabled{opacity:.4;cursor:default}.coach-shell button:focus-visible{outline:3px solid #a57a2e;outline-offset:4px}.coach-shell h2,.coach-shell h3,.coach-shell h4,.coach-shell p{margin-top:0}.coach-shell p:last-child{margin-bottom:0}.coach-kicker{display:block;font:600 10px/1.5 ui-sans-serif,system-ui,sans-serif;letter-spacing:.16em;color:#977333;margin-bottom:7px}.coach-header{padding:30px 32px 24px;display:flex;align-items:center;justify-content:space-between;gap:22px;border-bottom:1px solid var(--coach-border)}.coach-header h2{font-size:27px;line-height:1.4;margin-bottom:7px}.coach-header p{font-size:13px;color:var(--coach-muted);margin-bottom:0}.coach-session-badge{white-space:nowrap;font-size:12px;border:1px solid #e6d3aa;border-radius:30px;background:#f7efdF;padding:6px 13px;color:#8e6929}.coach-step-nav{display:grid;grid-template-columns:repeat(4,1fr);list-style:none;padding:15px 25px;margin:0;gap:8px;border-bottom:1px solid var(--coach-border);background:#fcf8f0}.coach-step-nav button{display:flex;align-items:center;gap:9px;width:100%;padding:8px 5px;border:0;border-radius:10px;text-align:left;background:transparent;color:#88785d;font-size:13px;font-weight:600}.coach-step-nav button>span{flex:none;display:grid;place-items:center;width:28px;height:28px;border:1px solid #dfcfaf;border-radius:50%;font-size:12px}.coach-step-nav [aria-current=step]{color:#6e4c16}.coach-step-nav [aria-current=step]>span{background:#af853c;border-color:#af853c;color:#fffdf6;box-shadow:0 3px 9px #a77c2e29}.coach-guide-layout{display:grid;grid-template-columns:minmax(280px,1fr) minmax(300px,1.12fr)}.coach-chart-panel{padding:30px 26px;background:linear-gradient(140deg,#fffdf8,#f8f0e1);border-right:1px solid var(--coach-border);min-width:0}.coach-chart{display:grid;grid-template-columns:repeat(var(--coach-pillars,4),minmax(0,1fr));gap:9px}.coach-pillar{min-width:0}.coach-pillar h4{text-align:center;font-size:13px;font-weight:600;color:#79633d;margin-bottom:10px}.coach-cell{position:relative;display:flex;align-items:center;flex-direction:column;justify-content:center;width:100%;min-height:113px;padding:11px 4px 9px;margin-bottom:9px;border:1px solid #e7dac2;border-radius:13px;background:#fffdf9;color:#58472c;box-shadow:0 3px 8px #956e2710;transition:border-color .15s,background .15s,transform .15s}.coach-cell:hover{background:#faf1df;border-color:#c9a362;transform:translateY(-1px)}.coach-cell.is-source{outline:1.5px dashed #b08438;outline-offset:-6px;background:#fbf1dc}.coach-cell.is-picked{border:2px solid #b08438;background:#f8e9c7;padding:10px 3px 8px;box-shadow:0 3px 14px #b084381c}.coach-cell-row{font-size:10px;color:#8a785a;line-height:1.45;text-align:center}.coach-cell strong{display:block;font-family:"Noto Serif SC","Songti SC",SimSun,serif;font-weight:500;font-size:39px;line-height:1.55;color:#8d6827}.coach-cell-name{font-size:11px;text-align:center;line-height:1.5;color:#77664a}.coach-cell-check{position:absolute;right:6px;top:4px;font:700 11px/1.5 sans-serif;color:#8c631f}.coach-chart-note{font-size:12px;color:#8c7a5d;margin:12px 0 17px;line-height:1.65}.coach-cell-detail{display:flex;align-items:center;gap:13px;border:1px solid #e5d5b5;border-radius:13px;background:#fffaf0;padding:13px}.coach-detail-char{font:500 34px/1.3 "Noto Serif SC",SimSun,serif;color:#98712b}.coach-cell-detail strong{font-size:12px;line-height:1.5;display:block}.coach-cell-detail p{font-size:12px;line-height:1.65;color:#8a785b;margin:3px 0 0}.coach-step-content{padding:30px;min-width:0}.coach-step-content h3,.coach-step-content h2{font-size:22px;line-height:1.45;margin:0 0 15px}.coach-step-lead{font-size:15px;line-height:1.85}.coach-step-content>p:not(.coach-step-lead){font-size:14px;color:#82745e}.coach-step-content b[lang=zh]{font-size:21px;color:#8e6727}.coach-small-note{font-size:12px!important;color:#8d7c60!important;line-height:1.75;margin:17px 0 0}.coach-filter-list{display:flex;flex-wrap:wrap;gap:7px;margin:17px 0}.coach-filter-list button,.coach-clash-choices button{font-size:12px;color:#8b6b36;border:1px solid #e0ceab;background:#fffcf5;border-radius:9px;padding:7px 10px;line-height:1.6}.coach-filter-list [aria-pressed=true],.coach-clash-choices [aria-pressed=true]{background:#efe0ba;border-color:#bb934b;color:#74501c}.coach-filter-list b{margin-left:6px}.coach-source-list{padding:0;margin:0;list-style:none}.coach-source-list li{display:flex;flex-direction:column;padding:9px 0;border-bottom:1px solid #eee4d2;gap:2px}.coach-source-list strong{font-size:13px;font-weight:600;color:#79582a}.coach-source-list span{font-size:12px;color:#928167}.coach-role-grid{display:grid;gap:8px}.coach-role{display:flex;align-items:center;gap:11px;border:1px solid #e8dac0;border-radius:12px;background:#fffdf8;padding:11px 12px;color:#5b4626;text-align:left}.coach-role[aria-pressed=true]{border-color:#b78c3c;background:#faf0d9}.coach-role-picture{display:block;width:45px;height:45px;flex:none}.coach-role-picture svg{width:100%;height:100%;display:block}.coach-role>span:last-child{min-width:0}.coach-role strong,.coach-role span span,.coach-role small{display:block}.coach-role strong{font-size:14px;line-height:1.5}.coach-role span span{font-size:12px;color:#9a7639;margin:1px 0}.coach-role small{font-size:12px;line-height:1.6;color:#8c7b5f}.coach-clash-choices{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:16px}.coach-clash-choices b{font-size:16px;margin-right:4px}.coach-trace ol{list-style:none;counter-reset:coach-trace;padding:0;margin:0}.coach-trace li{position:relative;counter-increment:coach-trace;padding:0 0 17px 31px;border-left:1px solid #e8d7b8;margin-left:9px}.coach-trace li:last-child{border-left-color:transparent;padding-bottom:0}.coach-trace li:before{content:counter(coach-trace);position:absolute;left:-10px;top:2px;display:grid;place-items:center;font-size:10px;width:19px;height:19px;border:1px solid #dbc69e;background:#fcf6e8;border-radius:50%;color:#9c7532}.coach-trace strong{font-size:13px;display:block}.coach-trace p{font-size:12px;color:#8c795c;line-height:1.8;margin:3px 0 0}.coach-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:20px 28px;border-top:1px solid var(--coach-border);background:#fffcf6}.coach-page-buttons{display:flex;gap:9px}.coach-button{display:inline-flex;align-items:center;justify-content:center;border:1px solid #a57a2e;border-radius:10px;background:#a57a2e;color:#fffdf6;padding:10px 17px;font-size:13px!important;font-weight:600!important;line-height:1.5!important;min-height:42px}.coach-button-quiet{background:transparent;color:#8a672e;border-color:#ddcba6}.coach-cycle-link{border:0;background:none;color:#9a732e;font-size:12px!important;font-weight:600!important;padding:7px 0;text-align:left}.coach-practice-page{padding-top:66px;padding-bottom:80px}.coach-practice-heading{text-align:center;margin-bottom:35px;color:#544124}.coach-practice-heading h1{font-size:40px;line-height:1.35;margin:8px 0 14px}.coach-practice-heading p{font-size:15px;line-height:1.9;color:#8c7b5d}.coach-practice-progress{padding:24px 30px 16px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}.coach-practice-progress strong{font-size:14px}.coach-practice-progress>span{font-size:12px;color:#97846a}.coach-progress-track{height:5px;border-radius:5px;background:#f0e6d2;flex-basis:100%;overflow:hidden;margin-top:5px}.coach-progress-track span{display:block;height:100%;border-radius:5px;background:#b28b46;transition:width .2s}.coach-practice-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;list-style:none;margin:0;padding:10px 30px 22px;border-bottom:1px solid var(--coach-border)}.coach-practice-steps li{display:flex;align-items:center;gap:8px;font-size:12px;line-height:1.6;color:#9c8b70}.coach-practice-steps li>span{display:grid;place-items:center;flex:none;width:24px;height:24px;border:1px solid #e1d2b5;border-radius:50%;font-size:11px}.coach-practice-steps .is-current{font-weight:600;color:#8b6529}.coach-practice-steps .is-current>span{border-color:#ad843c;background:#faf0d9}.coach-practice-steps .is-complete>span{background:#ad843c;color:white;border-color:#ad843c}.coach-example-label{font-size:12px;color:#947b51;margin-bottom:18px;line-height:1.8}.coach-answer-options{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin:22px 0}.coach-answer-options button{display:flex;align-items:center;flex-direction:column;gap:4px;background:#fffaf0;border:1px solid #e7d6b6;border-radius:12px;padding:9px 3px;color:#876329}.coach-answer-options [aria-pressed=true]{background:#f4e3ba;border:2px solid #ad843c;padding:8px 2px}.coach-answer-options button>span{width:44px;height:44px;display:block}.coach-answer-options svg{width:100%;height:100%;display:block}.coach-answer-options strong{font-size:12px}.coach-check-answer{margin-top:10px}.coach-feedback{padding:15px 17px;border:1px solid #dbc393;border-radius:12px;background:#faf0da;margin-top:20px;scroll-margin-top:100px}.coach-feedback strong{font-size:14px;color:#846020}.coach-feedback p{font-size:13px;line-height:1.9;color:#8a7350;margin:5px 0 0}.coach-feedback.is-hint{background:#fffaf0;border-style:dashed}.coach-complete{padding:23px 30px;border-top:1px solid #ddc99f;background:#f8efd9}.coach-complete>strong{font-size:19px;color:#89652a}.coach-complete p{font-size:14px;color:#8d7754;margin:7px 0 14px}.coach-question-title,.coach-step-title{scroll-margin-top:100px}.coach-question-title:focus,.coach-step-title:focus{outline:none}
@media(max-width:900px){.coach-guide-layout{grid-template-columns:1fr}.coach-chart-panel{border-right:0;border-bottom:1px solid var(--coach-border)}.coach-chart{max-width:540px;margin:auto}.coach-cell-detail,.coach-chart-note{max-width:540px;margin-left:auto;margin-right:auto}.coach-step-content{padding:26px}.coach-step-nav{padding:14px 19px}.coach-step-nav button{font-size:12px}.coach-header{padding:25px}.coach-answer-options{max-width:450px}.coach-practice-steps{grid-template-columns:repeat(2,1fr)}}
@media(max-width:540px){.coach-shell{border-radius:20px;font-size:14px}.coach-header{padding:21px 18px;align-items:flex-start;gap:10px}.coach-header h2{font-size:24px}.coach-header p{font-size:12px}.coach-session-badge{font-size:12px;padding:4px 9px;margin-top:5px}.coach-kicker{font-size:10px;letter-spacing:.1em}.coach-step-nav{grid-template-columns:repeat(2,1fr);padding:11px 14px;gap:4px}.coach-step-nav button{font-size:12px;gap:7px}.coach-chart-panel{padding:23px 14px}.coach-chart{gap:6px}.coach-pillar h4{font-size:12px}.coach-cell{min-height:115px;padding:10px 3px}.coach-cell.is-picked{padding:9px 2px}.coach-cell-row{font-size:12px;line-height:1.5;max-width:58px}.coach-cell strong{font-size:35px;line-height:1.4}.coach-cell-name{font-size:12px;line-height:1.5}.coach-cell-check{top:2px;right:3px;font-size:10px}.coach-chart-note{font-size:12px}.coach-cell-detail{padding:12px 10px;gap:9px}.coach-cell-detail strong,.coach-cell-detail p{font-size:12px}.coach-step-content{padding:23px 18px}.coach-step-content h3,.coach-step-content h2{font-size:21px}.coach-step-lead{font-size:15px}.coach-step-content>p:not(.coach-step-lead){font-size:14px}.coach-source-list strong{font-size:13px}.coach-role{padding:11px 9px;gap:8px}.coach-role-picture{width:40px;height:40px}.coach-role strong{font-size:13px}.coach-role span span,.coach-role small{font-size:12px}.coach-trace strong{font-size:13px}.coach-trace p{font-size:12px}.coach-footer{padding:18px;flex-wrap:wrap;gap:14px}.coach-page-buttons{width:100%}.coach-page-buttons button{flex:1;padding:10px 9px;font-size:12px!important}.coach-cycle-link{font-size:12px!important}.coach-practice-page{padding-top:43px;padding-bottom:50px}.coach-practice-heading{margin-bottom:25px}.coach-practice-heading h1{font-size:32px}.coach-practice-heading p{font-size:14px}.coach-practice-progress{padding:20px 18px 13px}.coach-practice-progress>span{font-size:12px}.coach-practice-steps{padding:10px 18px 19px;gap:11px}.coach-practice-steps li{font-size:12px}.coach-answer-options{gap:5px}.coach-answer-options button>span{width:39px;height:39px}.coach-answer-options strong{font-size:12px}.coach-feedback{padding:14px}.coach-feedback p{font-size:13px}.coach-complete{padding:21px 18px}.coach-complete>strong{font-size:18px}.coach-example-label{font-size:12px}.coach-chart[style*="3"]{max-width:350px}}
@media(prefers-reduced-motion:reduce){.coach-cell,.coach-progress-track span{transition:none}}

/* Pillars read from the same side in practice and in the chart report. */
.coach-chart-order{max-width:540px;margin:0 auto 15px;color:#796c58;font-size:12px;line-height:1.7;text-align:center}
.coach-chart-order strong{color:#473922;white-space:nowrap;font-weight:600}
.coach-cell[data-bazi-element]{min-height:150px;padding:10px 5px 12px;border-color:var(--bazi-line);background:var(--bazi-tint);gap:3px}
.coach-cell[data-bazi-element]:hover{border-color:var(--bazi-ink);background:var(--bazi-tint)}
.coach-cell[data-row=branch]{margin-top:17px;border-top-width:3px}
.coach-cell[data-bazi-element].is-picked{padding:9px 4px 11px;border:2px solid #8b6528;box-shadow:0 0 0 2px #fffdf8,0 0 0 4px #c9ad76}
.coach-cell[data-bazi-element].is-source{outline:2px dashed #8b6528;outline-offset:-6px}
.coach-cell-row{padding:0 0 5px;line-height:1.4;color:#66583f;border-bottom:1px solid #b5a58340;align-self:stretch;font-size:10px}
.coach-cell .bazi-symbol-char,.coach-detail-char.bazi-symbol-char{color:var(--bazi-ink)}
.coach-cell strong.bazi-symbol-char{line-height:1.25;margin:3px 0}
.coach-cell-element{font-size:13px;font-weight:600;color:var(--bazi-ink);line-height:1.4}
.coach-cell .bazi-polarity{margin:3px 0}
.coach-cell-name{font-size:10px;line-height:1.5;color:#71644e;margin-top:2px}
.coach-color-key{max-width:540px;margin:0 auto 18px;padding:13px 14px;border:1px solid #e7d9bd;border-radius:12px;background:#fffdf8}
.coach-color-key>p:first-child{margin:0 0 9px;font-size:12px;font-weight:600;color:#66583f}
.coach-color-key .coach-small-note{margin-top:10px;font-size:11px!important}
.coach-polarity-key{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:12px;font-size:11px;color:#71644e}
.coach-chart-note{margin-bottom:13px}
@media(max-width:540px){
  .coach-chart-order{font-size:11px;margin-bottom:12px}
  .coach-cell[data-bazi-element]{min-height:158px;padding:9px 3px 10px}
  .coach-cell[data-bazi-element].is-picked{padding:8px 2px 9px}
  .coach-cell-row{font-size:10px;max-width:none;min-height:33px;display:flex;align-items:center;justify-content:center}
  .coach-cell strong.bazi-symbol-char{font-size:32px}
  .coach-cell-element{font-size:12px}
  .coach-cell-name{font-size:10px}
  .coach-cell[data-row=branch]{margin-top:14px}
  .coach-color-key{padding:11px}
}
@media print{
  .coach-cell .bazi-symbol-char,.coach-detail-char.bazi-symbol-char{print-color-adjust:exact;-webkit-print-color-adjust:exact}
  .coach-cell[data-bazi-element].is-picked{box-shadow:none}
}
