.local-status i.offline{background:#dda34d}
.ea-page{max-width:1480px;margin:auto;padding:12px 0 12px;color:#303a4d}
.ea-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:0 0 12px}
.ea-eyebrow{color:#98a394;font:600 9px "DM Sans",sans-serif;letter-spacing:1.15px}
.ea-heading h1{margin:12px 0 12px;font-size:23px;line-height:1.25;font-weight:600;letter-spacing:-.4px;color:#29364a}
.ea-heading p{margin:0;color:#8993a0;font-size:11px;line-height:1.65}
.ea-heading-actions{display:flex;align-items:center;gap:12px}
.ea-icon-button{width:34px;height:34px;border:1px solid #e5e9e5;border-radius:9px;background:white;color:#708073;font-size:18px;cursor:pointer}
.ea-icon-button:hover{border-color:#bfcec2;color:#557861}
.ea-date-chip{padding:12px 12px;border:1px solid #e7ebe6;border-radius:8px;background:white;color:#728071;font-size:10px}
.admin-top .ea-date-chip{flex:none;white-space:nowrap;padding:12px 12px;font-size:10px}
.admin-top-action{display:flex;align-items:center;gap:12px;margin-left:auto;min-width:0}.admin-top-action .ea-button{white-space:nowrap}.admin-top-tools{display:flex;align-items:center;gap:12px}.admin-top-tools input,.admin-top-tools select{height:31px;padding:0 12px;border:1px solid #e3e8e4;border-radius:7px;background:#fff;color:#4d596a;font:10px "Noto Sans SC",sans-serif;outline:none}.admin-top-tools input{width:180px}.admin-top-tools select{min-width:100px}
.empower-full-height .admin-main{display:flex;flex-direction:column}.empower-full-height #adminContent{display:flex;flex:1;flex-direction:column;min-height:0}.empower-full-height .admin-footer{flex:0 0 auto;margin-top:0}.empower-full-height #adminContent>.ea-page{display:flex;flex:1;flex-direction:column;width:100%;height:100%;min-height:0;padding-bottom:12px}.empower-full-height .ea-page>.ea-table-panel{display:flex;flex:1;flex-direction:column;min-height:0}.empower-full-height .ea-page>.ea-table-panel>.ea-table-scroll{flex:1;min-height:0}.empower-full-height .ea-page>.ea-panel:only-of-type{flex:1;min-height:0}.empower-full-height .ea-dashboard-grid{flex:1;min-height:0;align-items:stretch}.empower-full-height .ea-dashboard-grid>div:last-child{min-height:0}.empower-full-height .ea-stack{height:100%;grid-template-rows:repeat(3,minmax(0,1fr))}.empower-full-height .ea-metrics,.empower-full-height .ea-quick-grid{flex:0 0 auto}
@media(max-width:600px){.admin-top .ea-date-chip{padding:12px 12px;font-size:8px}}
@media(max-width:700px){.admin-top-action{gap:12px}.admin-top-tools{gap:12px}.admin-top-tools input{width:120px}.admin-top-tools select{width:88px;min-width:88px}.admin-top-action .ea-button{height:30px;padding:0 12px;font-size:9px}}
.ea-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:12px}
.ea-metrics-three{grid-template-columns:repeat(3,minmax(0,1fr))}
.ea-metric{min-height:100px;display:flex;align-items:flex-start;gap:12px;padding:12px;background:#fff;border:1px solid #e8ece7;border-radius:12px}
.ea-metric-icon{width:32px;height:32px;flex:none;display:grid;place-items:center;border-radius:10px;background:#f0f5f1;color:#678771;font-size:15px}
.ea-metric:nth-child(2) .ea-metric-icon{background:#faf4e9;color:#b58f50}.ea-metric:nth-child(3) .ea-metric-icon{background:#eff3f7;color:#7e92a8}.ea-metric:nth-child(4) .ea-metric-icon{background:#f3f0f5;color:#9381a1}
.ea-metric div{display:grid;gap:12px}.ea-metric small{font-size:10px;color:#85909e}.ea-metric b{font:600 21px "DM Sans","Noto Sans SC",sans-serif;color:#303c50;letter-spacing:-.4px}.ea-metric em{font-style:normal;font-size:9px;color:#9ca5ae}
.ea-dashboard-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(250px,.85fr);gap:12px;margin-bottom:12px}.ea-stack{display:grid;align-content:start;gap:12px}
.ea-panel{min-width:0;padding:12px;background:white;border:1px solid #e8ece7;border-radius:12px}.ea-panel-head,.ea-table-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.ea-panel-head h2,.ea-table-head h2{margin:0;color:#364256;font-size:12px;font-weight:600}
.ea-table-panel{padding:0;overflow:hidden}.ea-table-head{margin:0;padding:12px 12px 12px}.ea-table-head p{margin:12px 0 0;color:#98a1aa;font-size:9px}.ea-table-tools{display:flex;align-items:center;gap:12px}.ea-table-tools input,.ea-table-tools select,.ea-inline-input,.ea-modal-body input,.ea-modal-body select,.ea-modal-body textarea{height:31px;padding:0 12px;border:1px solid #e3e8e4;border-radius:7px;background:white;color:#4d596a;font:10px "Noto Sans SC",sans-serif;outline:none}.ea-table-tools input{width:180px}.ea-table-tools select{min-width:100px}.ea-table-tools input:focus,.ea-table-tools select:focus,.ea-modal-body input:focus,.ea-modal-body textarea:focus{border-color:#abc1ae;box-shadow:0 0 0 3px #edf3ee}
.ea-table-scroll{overflow:auto}.ea-table-scroll table{min-width:620px}.ea-table-scroll th{padding:12px 12px;background:#fafbf9;color:#929ca5;font-size:9px}.ea-table-scroll td{padding:12px 12px;font-size:10px;vertical-align:middle}.ea-cell-sub{display:block;margin-top:12px;color:#9ca5ae;font-size:9px}.ea-empty{text-align:center!important;padding:12px!important;color:#9ba4ad!important}
.ea-dashboard-grid>div{min-width:0}.ea-dashboard-grid .ea-table-scroll{width:100%;min-width:0}.ea-dashboard-grid .ea-table-scroll table{width:100%;min-width:0;table-layout:fixed}.ea-dashboard-grid .ea-table-scroll th,.ea-dashboard-grid .ea-table-scroll td{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ea-dashboard-grid .ea-table-scroll th:nth-child(1),.ea-dashboard-grid .ea-table-scroll td:nth-child(1){width:27%}.ea-dashboard-grid .ea-table-scroll th:nth-child(2),.ea-dashboard-grid .ea-table-scroll td:nth-child(2){width:25%}.ea-dashboard-grid .ea-table-scroll th:nth-child(3),.ea-dashboard-grid .ea-table-scroll td:nth-child(3){width:17%}.ea-dashboard-grid .ea-table-scroll th:nth-child(4),.ea-dashboard-grid .ea-table-scroll td:nth-child(4){width:17%}.ea-dashboard-grid .ea-table-scroll th:nth-child(5),.ea-dashboard-grid .ea-table-scroll td:nth-child(5){width:14%}
.ea-dashboard-grid>div:first-child{display:flex;min-height:0}.ea-dashboard-grid>div:first-child>.ea-table-panel{display:flex;flex:1;flex-direction:column;min-height:100%}.ea-dashboard-grid>div:first-child .ea-table-scroll{flex:1;min-height:0}
.ea-tag{display:inline-flex;padding:12px 12px;border-radius:20px;background:#f0f2f2;color:#7d8791;font-size:9px;white-space:nowrap}.ea-tag.green{background:#edf5ef;color:#578266}.ea-tag.amber{background:#faf3e6;color:#a98243}
.ea-text-button{padding:12px 12px;border:0;background:transparent;color:#64836c;font:500 10px "Noto Sans SC",sans-serif;cursor:pointer}.ea-text-button:hover{color:#3d6749}.ea-button{height:33px;padding:0 12px;border:1px solid #688a73;border-radius:7px;background:#688a73;color:white;font:500 10px "Noto Sans SC",sans-serif;cursor:pointer}.ea-button:hover{background:#567a62}.ea-button.small{height:28px;padding:0 12px;margin-right:12px;font-size:9px}.ea-button.danger{border-color:#c9877e;background:#c9877e}.ea-button.subtle{border-color:#e3e7e5;background:#fff;color:#758091}
.ea-status-list{display:grid;gap:12px}.ea-status-list>div{display:flex;align-items:center;justify-content:space-between;color:#738091;font-size:10px}.ea-status-list>div>span{display:flex;align-items:center;gap:12px}.ea-status-list b{color:#3b475a;font:600 12px "DM Sans",sans-serif}.ea-status-list i{width:7px;height:7px;border-radius:50%;background:#aab2bc}.ea-status-list i.amber{background:#d0a45c}.ea-status-list i.blue{background:#91a6c0}.ea-status-list i.green{background:#79a486}
.ea-week-bars{height:120px;display:flex;align-items:end;gap:12px;padding:12px 12px 0}.ea-week-bars>div{height:100%;flex:1;display:flex;align-items:center;flex-direction:column;justify-content:end;gap:12px}.ea-week-bars b{color:#89948b;font:500 9px "DM Sans",sans-serif}.ea-week-bars i,.ea-large-bars i{width:13px;max-width:75%;min-height:3px;border-radius:5px 5px 2px 2px;background:linear-gradient(180deg,#9eb8a4,#cfdbd0)}.ea-week-bars small{color:#9ba4ad;font-size:8px}
.ea-quick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.ea-quick{position:relative;display:grid;grid-template-columns:35px 1fr;grid-template-rows:auto auto;align-items:center;column-gap:12px;padding:12px;border:1px solid #e8ece7;border-radius:11px;background:white;text-align:left;cursor:pointer}.ea-quick:hover{transform:translateY(-1px);border-color:#cbd9cd}.ea-quick>span{grid-row:1/3;width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#f1f5f1}.ea-quick img{width:22px;height:22px;object-fit:contain}.ea-quick b{font-size:10px;color:#3d495b}.ea-quick small{margin-top:12px;font-size:9px;color:#9aa3ad}.ea-quick em{position:absolute;top:14px;right:12px;color:#829385;font-size:9px;font-style:normal}
.ea-note{display:grid;gap:12px;color:#475568;font-size:10px}.ea-note span{color:#929ca8;font-size:9px;line-height:1.7}.ea-inline-input{width:155px;height:29px}
.ea-setting-list{display:grid}.ea-setting{min-height:62px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #eff1ee;cursor:pointer}.ea-setting:last-child{border-bottom:0}.ea-setting b,.ea-setting small{display:block}.ea-setting b{color:#465265;font-size:10px;font-weight:500}.ea-setting small{margin-top:12px;color:#9aa3ad;font-size:9px}.ea-setting input{position:absolute;opacity:0}.ea-setting i{position:relative;width:34px;height:19px;flex:none;border-radius:12px;background:#dfe3e2;transition:.18s}.ea-setting i:after{content:"";position:absolute;left:2px;top:2px;width:15px;height:15px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #27304422;transition:.18s}.ea-setting input:checked+i{background:#789780}.ea-setting input:checked+i:after{transform:translateX(15px)}.ea-setting.disabled{opacity:.48;cursor:not-allowed}.ea-setting-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}.ea-setting-footer small,.ea-data-note{color:#9aa3ad;font-size:9px}
.ea-large-bars{height:245px;display:flex;align-items:end;justify-content:space-around;gap:12px;padding:12px}.ea-large-bars>div{height:100%;flex:1;display:flex;align-items:center;flex-direction:column;justify-content:end;gap:12px}.ea-large-bars span,.ea-large-bars small{color:#89958c;font-size:9px}.ea-large-bars i{width:22px}.ea-data-note{margin:12px 12px}
.ea-analytics-grid{flex:1;min-height:280px;align-items:stretch;grid-template-columns:minmax(0,1.7fr) minmax(250px,.85fr)}.ea-analytics-grid>div{display:flex;min-width:0;min-height:0}.ea-analytics-grid>div>.ea-panel{display:flex;flex:1;flex-direction:column;min-height:0}.ea-analytics-grid .ea-panel-head{flex:0 0 auto}.ea-analytics-grid .ea-large-bars{flex:1;height:auto;min-height:220px;align-items:stretch;padding:12px 12px 12px}.ea-analytics-grid .ea-large-bars>div{min-height:0}.ea-analytics-grid .ea-large-bars i{flex:0 0 auto;min-height:3px}.ea-analytics-grid .ea-status-list{flex:1;align-content:center;gap:12px}
.ea-login-wrap{min-height:calc(100vh - 190px);display:grid;grid-template-columns:minmax(360px,450px) minmax(300px,1fr);align-items:center;gap:12px;max-width:1040px;margin:auto;padding:12px 12px}.ea-login-card{padding:12px 12px;background:#fff;border:1px solid #e8ece7;border-radius:16px;box-shadow:0 18px 55px #52614b0c}.ea-login-mark{width:42px;height:42px;display:grid;place-items:center;margin-bottom:12px;border-radius:13px;background:#f0f5f1}.ea-login-mark img{width:27px;height:27px;object-fit:contain}.ea-login-card h1{margin:12px 0;color:#29364a;font-size:25px;font-weight:600}.ea-login-card>p{margin:0 0 12px;color:#929ca8;font-size:10px;line-height:1.7}.ea-login-card form{display:grid;gap:12px}.ea-login-card label,.ea-field-label{margin-top:12px;color:#586577;font-size:10px}.ea-login-card input{width:100%;height:39px;padding:0 12px;border:1px solid #e3e8e4;border-radius:8px;background:#fff;color:#465265;font:11px "Noto Sans SC",sans-serif;outline:none}.ea-login-card input:focus{border-color:#aec3b3;box-shadow:0 0 0 3px #edf4ef}.ea-login-card form button{height:41px;margin-top:12px;border:0;border-radius:8px;background:#688a73;color:white;font:500 11px "Noto Sans SC",sans-serif;cursor:pointer}.ea-login-card form button span{margin-left:12px}.ea-login-card form button:disabled{opacity:.7}.ea-login-card form>small{margin-top:12px;color:#a0a8b2;font-size:9px;text-align:center}.ea-alert{margin:12px 0;padding:12px 12px;border:1px solid #f0deda;border-radius:7px;background:#fff7f5;color:#a66e66;font-size:10px}
.ea-login-aside{height:370px;position:relative;overflow:hidden;border-radius:18px;background:linear-gradient(140deg,#e9f0e9,#f5f3ea 68%,#f3eae1)}.ea-orbit{position:absolute;top:28px;right:-55px;width:330px;height:330px;border:1px solid #b2c4b577;border-radius:50%}.ea-orbit-two{top:70px;right:-9px;width:245px;height:245px;border-color:#c6b49b66}.ea-aside-copy{position:absolute;bottom:32px;left:32px}.ea-aside-copy span{color:#829789;font:600 9px "DM Sans",sans-serif;letter-spacing:1.5px}.ea-aside-copy b{display:block;margin-top:12px;color:#34473d;font-size:27px;line-height:1.5;font-weight:500}.ea-aside-copy p{color:#77867b;font-size:10px;line-height:1.8}
.ea-followups{display:grid;gap:12px}.ea-followups>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid #f1f2ef}.ea-followups span{display:grid;gap:12px;min-width:0}.ea-followups b{overflow:hidden;color:#586578;font-size:9px;font-weight:500;text-overflow:ellipsis}.ea-followups small,.ea-followup-empty{color:#9ba4ad;font-size:8px}.ea-followup-empty{padding:12px 0}
.ea-modal-backdrop{position:fixed;inset:0;z-index:20;display:grid;place-items:center;padding:12px;background:#26314457}.ea-modal{width:min(580px,100%);max-height:min(86vh,820px);overflow:auto;border-radius:14px;background:white;box-shadow:0 22px 70px #1d2a3929}.ea-modal-head{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;padding:12px 12px;border-bottom:1px solid #edf0ed;background:#fff}.ea-modal-head h2{margin:0;color:#384559;font-size:13px;font-weight:600}.ea-modal-head button{border:0;background:none;color:#929ba5;font-size:22px;cursor:pointer}.ea-modal-body{display:grid;gap:12px;padding:12px 12px}.ea-modal-actions{position:sticky;bottom:0;display:flex;justify-content:flex-end;gap:12px;padding:12px 12px;border-top:1px solid #edf0ed;background:#fff}.ea-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding-bottom:12px}.ea-detail-grid>div{display:grid;gap:12px}.ea-detail-grid small{color:#9aa3ad;font-size:9px}.ea-detail-grid b{overflow-wrap:anywhere;color:#475367;font-size:10px;font-weight:500}.ea-modal-body>.ea-field-label{margin:12px 0 12px}.ea-modal-body textarea{height:auto;min-height:90px;padding:12px;resize:vertical;line-height:1.6}.ea-answers{padding:12px;border:1px solid #edf0ed;border-radius:8px;color:#6f7d8e;font-size:10px}.ea-answers p{display:grid;gap:12px;padding-top:12px;border-top:1px solid #f0f1ef}.ea-answers p span{color:#87919e}.ea-modal-actions [data-op="cancel"]{margin-right:auto}
@media(max-width:1050px){.ea-dashboard-grid{grid-template-columns:1fr}.ea-stack{grid-template-columns:1fr 1fr}.ea-login-wrap{gap:12px;grid-template-columns:minmax(320px,430px) minmax(250px,1fr)}}
@media(max-width:700px){.ea-page{padding-top:12px}.ea-heading{align-items:flex-start}.ea-heading h1{font-size:20px}.ea-heading p{max-width:260px}.ea-metrics{grid-template-columns:1fr 1fr;gap:12px}.ea-metric{min-height:82px;gap:12px;padding:12px}.ea-metric-icon{width:28px;height:28px}.ea-metric b{font-size:18px}.ea-metric em{font-size:8px}.ea-metrics-three{grid-template-columns:1fr 1fr}.ea-stack{grid-template-columns:1fr}.ea-quick-grid{grid-template-columns:1fr}.ea-table-head{align-items:flex-start;flex-direction:column}.ea-table-tools{width:100%}.ea-table-tools input{width:auto;min-width:0;flex:1}.ea-table-tools select{min-width:88px}.ea-login-wrap{min-height:initial;display:block;padding:12px 0}.ea-login-aside{display:none}.ea-login-card{padding:12px 12px}.ea-setting-footer{align-items:flex-start;flex-direction:column}.ea-detail-grid{gap:12px}.ea-large-bars{gap:12px;padding:12px 0}.ea-modal-backdrop{padding:12px}.ea-modal{max-height:92vh}}

.ea-loading{padding-top:12px}.ea-loading .ea-panel{min-height:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#526174}.ea-loading .ea-panel p{margin:0;color:#8b96a5;font-size:13px}.ea-loading-mark{width:24px;height:24px;border:3px solid #dce7f1;border-top-color:#5472dc;border-radius:50%;animation:ea-loading-spin .8s linear infinite}@keyframes ea-loading-spin{to{transform:rotate(360deg)}}
.ea-analytics-grid .ea-large-bars{position:relative;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));align-items:stretch;gap:12px;padding:12px 12px 12px}
.ea-analytics-grid .ea-large-bars:before{content:"";position:absolute;left:14px;right:14px;bottom:43px;border-top:1px solid #edf0ec}
.ea-analytics-grid .ea-large-bars>div{height:auto;min-height:0;display:grid;grid-template-rows:24px minmax(0,1fr) 20px;align-items:end;justify-items:center;gap:12px}
.ea-analytics-grid .ea-large-bars span{align-self:end;color:#778378;font-size:10px}
.ea-analytics-grid .ea-large-bars i{width:min(34px,65%);max-width:none;height:var(--bar-height,3%)!important;align-self:end;min-height:4px;flex:none;border-radius:6px 6px 2px 2px}
.ea-analytics-grid .ea-large-bars small{align-self:start;color:#778378;font-size:10px}
.ea-analytics-grid .ea-status-list{align-content:center;gap:12px;padding:12px 12px}
@media(max-width:1050px){.ea-analytics-grid{grid-template-columns:1fr}.ea-analytics-grid>div:last-child>.ea-panel{min-height:180px}}
@media(max-width:700px){.ea-analytics-grid .ea-large-bars{gap:12px;padding-inline:12px}.ea-analytics-grid .ea-large-bars span,.ea-analytics-grid .ea-large-bars small{font-size:8px}.ea-analytics-grid .ea-large-bars:before{left:2px;right:2px}}
.admin-top #adminDate{margin-left:auto}.admin-top #adminTopAction{margin-left:auto}.admin-top #adminDate:not([hidden])+#adminTopAction:not([hidden]){margin-left:12px}
/* Keep dashboard rail cards content-sized so the status and chart never overlap. */
.empower-full-height .ea-dashboard-grid:not(.ea-analytics-grid){align-items:stretch}
.empower-full-height .ea-dashboard-grid:not(.ea-analytics-grid)>.ea-stack{height:auto;min-height:0;grid-template-rows:none;align-content:start;gap:12px}
.ea-dashboard-grid:not(.ea-analytics-grid)>.ea-stack>.ea-panel{min-height:0;overflow:visible}
.ea-dashboard-grid:not(.ea-analytics-grid) .ea-status-list{gap:12px}
.ea-dashboard-grid:not(.ea-analytics-grid) .ea-week-bars{height:132px;min-height:132px;padding:12px 12px 12px}
/* Dashboard cards keep their natural height; the grid must not compress content rows. */
.empower-full-height .ea-dashboard-grid:not(.ea-analytics-grid){flex:1 0 auto;min-height:min-content}
.empower-full-height .ea-dashboard-grid:not(.ea-analytics-grid)>.ea-stack{height:auto;grid-template-rows:none;grid-auto-rows:max-content;align-content:start}
.empower-full-height .ea-dashboard-grid:not(.ea-analytics-grid)>.ea-stack>.ea-panel{min-height:max-content}
/* Detail dialogs: clearer hierarchy and comfortable reading. */
.ea-modal:has(.ea-appointment-summary){width:min(720px,100%)}
.ea-appointment-summary{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:12px;border:1px solid #e7eee9;border-radius:12px;background:linear-gradient(135deg,#f5f8f5,#fbfcfa)}
.ea-appointment-summary>div:first-child{display:grid;gap:12px}.ea-appointment-summary small,.ea-appointment-summary span{color:#89958c;font-size:10px}.ea-appointment-summary b{color:#334256;font-size:15px}.ea-appointment-badges{display:flex;gap:12px;flex-wrap:wrap}
.ea-detail-section{padding:12px 12px;border:1px solid #edf0ed;border-radius:10px;background:#fff}.ea-detail-section h3,.ea-analysis-editor h3{margin:0 0 12px;color:#536174;font-size:11px;font-weight:600}.ea-detail-section .ea-detail-grid{padding:0}.ea-detail-note{margin:0;color:#59677a;font-size:11px;line-height:1.7;white-space:pre-wrap}
.ea-modal:has(.ea-assessment-summary){width:min(780px,100%)}
.ea-modal:has(.ea-assessment-summary) .ea-modal-body{gap:12px}
.ea-assessment-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 12px;border:1px solid #e7eee9;border-radius:11px;background:#f7faf7}
.ea-assessment-summary>div{display:flex;align-items:center;gap:12px;min-width:0}.ea-assessment-mark{width:36px;height:36px;flex:none;display:grid;place-items:center;border-radius:10px;background:#e8f0e9;color:#63806c;font-size:14px;font-weight:600}.ea-assessment-summary b,.ea-assessment-summary small{display:block}.ea-assessment-summary b{color:#37465a;font-size:12px}.ea-assessment-summary small{margin-top:12px;color:#8994a1;font-size:9px}
.ea-answers{padding:0;overflow:hidden;border-color:#e8ece8;background:#fff}.ea-answers summary{display:flex;justify-content:space-between;align-items:center;padding:12px 12px;color:#4f5e71;font-size:11px;font-weight:600;cursor:pointer;list-style:none}.ea-answers summary::-webkit-details-marker{display:none}.ea-answers summary:after{content:'展开 / 收起';color:#8a968c;font-size:9px;font-weight:400}.ea-answers summary span{margin-left:auto;margin-right:12px;color:#8994a1;font-size:9px;font-weight:400}.ea-answer-list{max-height:36vh;overflow:auto;padding:0 12px 12px}.ea-answer-list article{padding:12px 12px;border-top:1px solid #eef1ee}.ea-answer-list article>b{display:flex;gap:12px;color:#48576b;font-size:10px;line-height:1.65}.ea-answer-list article>b span{flex:none;color:#89a08e;font:600 10px 'DM Sans',sans-serif}.ea-answer-list article p{display:inline-flex;margin:12px 0 0 12px;padding:12px 12px;border-radius:6px;background:#f0f5f1;color:#56745e;font-size:10px}.ea-answer-empty{padding:12px 0;color:#929ca8;font-size:10px}
.ea-analysis-editor{padding:12px 12px;border:1px solid #edf0ed;border-radius:10px;background:#fafbf9}.ea-analysis-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ea-analysis-fields>.ea-field-label{display:grid;gap:12px}.ea-analysis-editor> .ea-field-label{display:grid;gap:12px}.ea-modal:has(.ea-assessment-summary) .ea-modal-body textarea{min-height:82px}
@media(max-width:700px){.ea-analysis-fields{grid-template-columns:1fr}.ea-appointment-summary{flex-direction:column}.ea-answer-list{max-height:34vh}}
/* Keep the dashboard date anchored to the far right without overlapping tools. */
.admin-top{display:grid;grid-template-columns:minmax(0,1fr) auto auto;justify-content:initial;gap:12px}
.admin-top #adminDate{grid-column:3;grid-row:1;margin:0;justify-self:end}
.admin-top #adminTopAction{grid-column:2;grid-row:1;margin:0;justify-self:end;z-index:1}
.admin-top #adminDate[hidden]+#adminTopAction:not([hidden]){grid-column:2 / 4}
@media(max-width:700px){.admin-top{grid-template-columns:minmax(0,1fr) auto;gap:12px}.admin-top #adminDate{grid-column:2}.admin-top #adminTopAction{grid-column:2}.admin-top #adminDate[hidden]+#adminTopAction:not([hidden]){grid-column:2}}
/* Consultant and client editor forms. */
.ea-modal-body:has(.ea-note){gap:12px;padding:12px 12px}
.ea-modal-body:has(.ea-note)>.ea-note{padding:12px 12px;border:1px solid #e5ece6;border-radius:9px;background:#f6f9f6;line-height:1.65}
.ea-modal-body:has(.ea-note)>.ea-note span{color:#718274;font-size:10px}
.ea-modal-body:has(.ea-note)>.ea-field-label:not(.ea-access-label){display:grid;grid-template-columns:76px minmax(0,1fr);align-items:center;gap:12px;margin:0;color:#596779;font-size:10px}
.ea-modal-body:has(.ea-note)>.ea-field-label input:not([type=checkbox]),.ea-modal-body:has(.ea-note)>.ea-field-label textarea,.ea-modal-body:has(.ea-note)>.ea-field-label select{width:100%}
.ea-modal-body:has(.ea-note)>.ea-access-label{display:flex;align-items:center;gap:12px;margin:12px 0;padding:12px 12px;border:1px solid #e9eeea;border-radius:8px;background:#fbfcfb}
.ea-modal-body:has(.ea-note)>.ea-access-label input{width:16px;height:16px;margin:0}
.ea-modal:has(.ea-note){width:min(620px,100%)}
.ea-modal:has(.ea-note) .ea-modal-body{grid-template-columns:1fr 1fr;align-items:start;gap:12px 12px}
.ea-modal:has(.ea-note) .ea-modal-body>.ea-note,.ea-modal:has(.ea-note) .ea-modal-body>.ea-access-label{grid-column:1/-1}
.ea-modal:has(.ea-note) .ea-modal-body>.ea-field-label:has(textarea){grid-column:1/-1}
.ea-modal:has(.ea-note) .ea-modal-body>input,.ea-modal:has(.ea-note) .ea-modal-body>textarea,.ea-modal:has(.ea-note) .ea-modal-body>select{min-width:0}
.ea-modal-body:has(#eaPersonTags){gap:12px;padding:12px 12px}
.ea-modal-body:has(#eaPersonTags)>.ea-field-label{display:grid;grid-template-columns:76px minmax(0,1fr);align-items:start;gap:12px;margin:0;color:#596779;font-size:10px}
.ea-modal-body:has(#eaPersonTags)>input,.ea-modal-body:has(#eaPersonTags)>textarea,.ea-modal-body:has(#eaPersonTags)>select{width:100%;min-width:0}
.ea-modal-body:has(#eaPersonTags)>textarea{grid-column:1/-1;min-height:92px}
@media(max-width:700px){.ea-modal:has(.ea-note) .ea-modal-body,.ea-modal-body:has(#eaPersonTags){grid-template-columns:1fr}.ea-modal:has(.ea-note) .ea-modal-body>.ea-note,.ea-modal:has(.ea-note) .ea-modal-body>.ea-access-label,.ea-modal:has(.ea-note) .ea-modal-body>.ea-field-label:has(textarea),.ea-modal-body:has(#eaPersonTags)>textarea{grid-column:1}}
.ea-revenue-metric{gap:12px;padding:12px 12px}.ea-revenue-metric>div{min-width:0;flex:1;gap:12px}.ea-revenue-metric>div>b{font-size:20px}.ea-revenue-breakdown{display:flex;align-items:center;gap:12px;min-width:0}.ea-revenue-breakdown>span:not(.ea-revenue-plus){display:grid;gap:12px;min-width:0}.ea-revenue-breakdown i{font-style:normal;color:#8993a0;font-size:8px;white-space:nowrap}.ea-revenue-breakdown strong{color:#697689;font:500 9px "DM Sans","Noto Sans SC",sans-serif;white-space:nowrap}.ea-revenue-plus{color:#a2a9ad;font-size:10px}.ea-revenue-metric em{font-size:8px;line-height:1.35}
@media(max-width:700px){.ea-revenue-metric{gap:12px;padding:12px 12px}.ea-revenue-metric .ea-metric-icon{width:25px;height:25px;font-size:12px}.ea-revenue-metric>div>b{font-size:17px}.ea-revenue-breakdown{gap:12px}.ea-revenue-breakdown i{font-size:7px}.ea-revenue-breakdown strong{font-size:8px}}

.ea-error-inline{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:12px;border:1px solid #f1dfd4;border-radius:8px;background:#fffaf7;color:#7c5141}.ea-error-inline span{flex:1 1 100%;font-size:12px;line-height:1.6}.ea-error-inline .ea-button{margin-left:auto}

