/* Client Manager 1.3: accessible, scoped design. No style for Agenda or public booking. */
.hwcm-app{--hw-forest:#143d34;--hw-deep:#143d34;--hw-muted:#4e655b;--hw-edge:#d2dfd5;color:#143d34;font-size:15px}
.hwcm-app .hwcm-header{background:#143d34;color:#fff}
.hwcm-app .hwcm-header h1,.hwcm-app .hwcm-header small,.hwcm-app .hwcm-header p{color:#fff}
.hwcm-app .hwcm-header::after{opacity:.27}
.hwcm-app .hwcm-title p,.hwcm-app .hwcm-card p,.hwcm-app .hwcm-hint,.hwcm-app .hwcm-muted,
.hwcm-app .hwcm-listrow small,.hwcm-app .hwcm-section-head>span,.hwcm-app .hwcm-eyebrow{color:#4b6257}
.hwcm-app .hwcm-pill{color:#194335;background:#e1ebe2}
.hwcm-app .hwcm-btn{background:#174638;border-color:#174638;color:#fff;min-height:46px;font-size:14px}
.hwcm-app .hwcm-btn:hover{background:#0d352a;color:#fff}
.hwcm-app .hwcm-btn.secondary{background:#fff;border-color:#9bb7a4;color:#174638}
.hwcm-app .hwcm-btn.secondary:hover{background:#e9f1eb;color:#143d34}
.hwcm-app .hwcm-btn.danger{background:#fff4f0;border-color:#c98074;color:#78251b}
.hwcm-app .hwcm-btn.danger:hover{background:#f8e1db;color:#78251b}
.hwcm-app .hwcm-listrow{background:#fff;border:1px solid #d8e4dc;color:#174638}
.hwcm-app .hwcm-listrow:focus-visible,.hwcm-app .hwcm-btn:focus-visible,.hwcm-app input:focus-visible,.hwcm-app textarea:focus-visible,.hwcm-app select:focus-visible{outline:3px solid #b17b31!important;outline-offset:3px}
.hwcm-app .hwcm-case-title{background:#fff;padding:17px 20px;border-radius:17px;border:1px solid #dae6dd}
.hwcm-app .hwcm-case-title .hwcm-eyebrow{color:#476e59}
.hwcm-app .hwcm-main-problem{font-size:18px;font-weight:750;color:#143d34!important}
.hwcm-app .hwcm-session-index{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:13px;background:#deebe1;color:#143d34;font-size:18px;font-weight:800}
.hwcm-app .hwcm-session-row strong{font-size:15px;color:#143d34}
.hwcm-app .hwcm-session-row small{font-size:12px;color:#4c6358}
.hwcm-app .hwcm-facts dt{font-size:12px;color:#415d50;font-weight:750}
.hwcm-app .hwcm-facts dd{font-size:14px;color:#143d34}
.hwcm-app .hwcm-quick-brief{margin:0;display:grid;gap:12px}
.hwcm-app .hwcm-quick-brief div{padding-bottom:12px;border-bottom:1px solid #e1eae2}
.hwcm-app .hwcm-quick-brief dt{font-weight:760;color:#234d3e;font-size:12px}
.hwcm-app .hwcm-quick-brief dd{margin:5px 0;color:#405a4c;font-size:14px;white-space:pre-wrap}
.hwcm-app .hwcm-plan-row{padding:15px;border-radius:14px;background:#f7faf6;border:1px solid #d7e5db;display:grid;gap:10px}
.hwcm-app .hwcm-plan-row strong{display:block;color:#173d32}
.hwcm-app .hwcm-plan-row small,.hwcm-app .hwcm-plan-row p{color:#4e6559;font-size:12px}
.hwcm-app .hwcm-plan-row p{margin:6px 0;white-space:pre-wrap}
.hwcm-app .hwcm-history-chip{padding:13px;border:1px solid #dce7de;border-radius:13px;background:#f8faf7;margin-bottom:10px}
.hwcm-app .hwcm-history-chip strong{display:block;color:#173d32}
.hwcm-app .hwcm-history-chip small{display:block;margin:3px 0;color:#4d6658;font-size:12px;overflow-wrap:anywhere}
.hwcm-app .hwcm-score-history{display:grid;gap:9px}
.hwcm-app .hwcm-score-history>div{display:grid;grid-template-columns:40px 1fr 52px;align-items:center;gap:8px;color:#173d32;font-size:12px}
.hwcm-app .hwcm-score-track{height:12px;background:#e3eae2;border-radius:99px;overflow:hidden}
.hwcm-app .hwcm-score-track i{display:block;height:100%;background:#2e6d55;border-radius:99px}
.hwcm-app .hwcm-session-workspace{display:grid;grid-template-columns:minmax(220px, .29fr) minmax(0,1fr);gap:20px;align-items:start}
.hwcm-app .hwcm-context-pane{background:#e8f0e9;border:1px solid #c5d8ca;border-radius:18px;padding:19px;position:sticky;top:25px}
.hwcm-app .hwcm-context-pane small{color:#385c47;font-weight:850;letter-spacing:.08em}
.hwcm-app .hwcm-context-pane h3{font:500 23px Georgia,serif;color:#143d34;margin:10px 0}
.hwcm-app .hwcm-context-pane p{color:#345849;white-space:pre-wrap;overflow-wrap:anywhere}
.hwcm-app .hwcm-context-pane strong{display:block;color:#143d34;font-size:13px;margin-top:12px}
.hwcm-app .hwcm-context-pane hr{border:0;border-top:1px solid #bdd0c2;margin:18px 0}
.hwcm-app .hwcm-context-pane .hwcm-btn{width:100%;margin-top:13px}
.hwcm-app .hwcm-editor-pane{min-width:0}
.hwcm-app .hwcm-template-bar{background:#fff;border-radius:15px;border:1px solid #d8e2d9;padding:14px 17px;margin-bottom:14px;display:flex;gap:13px;align-items:end;flex-wrap:wrap}
.hwcm-app .hwcm-template-bar .hwcm-field{flex:1 1 260px;margin:0}
.hwcm-app .hwcm-note-intro{display:grid;grid-template-columns:1fr 1fr;gap:15px;background:#fff;border:1px solid #d8e2d9;padding:18px;border-radius:16px;margin-bottom:14px}
.hwcm-app .hwcm-note-main{margin-bottom:14px}
.hwcm-app .hwcm-note-section{border:1px solid #d7e2d8;border-radius:16px;background:#fff;margin:12px 0;overflow:hidden}
.hwcm-app .hwcm-note-section>summary{cursor:pointer;color:#143d34;padding:16px 19px;font-size:15px;font-weight:760;display:flex;justify-content:space-between;gap:12px;min-height:55px;align-items:center}
.hwcm-app .hwcm-note-section>summary:hover{background:#eaf1ea}
.hwcm-app .hwcm-note-section>summary span{font-size:11px;font-weight:550;color:#526b5a}
.hwcm-app .hwcm-note-section[open]>summary{border-bottom:1px solid #dce6df;background:#f3f7f3}
.hwcm-app .hwcm-note-section-content{padding:18px;display:grid;gap:4px}
.hwcm-app .hwcm-note-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:16px;background:#f5f8f3;border:1px solid #d7e3d8;border-radius:16px;margin:22px 0}
.hwcm-app .hwcm-note-actions span{color:#305745;font-size:13px;font-weight:650}
.hwcm-app [hidden]{display:none!important}
@media(max-width:880px){.hwcm-app .hwcm-session-workspace{grid-template-columns:minmax(0,1fr)}.hwcm-app .hwcm-context-pane{position:static}}
@media(max-width:650px){.hwcm-app .hwcm-note-intro{grid-template-columns:1fr}.hwcm-app .hwcm-note-section-content{padding:13px}.hwcm-app .hwcm-note-actions{display:grid;grid-template-columns:1fr}.hwcm-app .hwcm-note-actions .hwcm-btn{width:100%}.hwcm-app .hwcm-session-index{flex-basis:36px;width:36px;height:36px}.hwcm-app .hwcm-case-title{padding:14px}}
