:root{--ink:#20382f;--muted:#65756c;--green:#173d32;--paper:#f4f6f3;--line:#dce4dd;--pale:#eaf2e7;--amber:#975019}*{box-sizing:border-box}[hidden]{display:none!important}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}button,input,select,textarea{font:inherit}button,a,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #69a76d;outline-offset:3px}button:disabled{opacity:.5;cursor:default}h1,h2,h3,p{margin:0}h1{font-size:30px;letter-spacing:-.9px;line-height:1.25}h2{font-size:20px;letter-spacing:-.35px}h3{font-size:17px}.brand{font-size:26px;font-weight:750;letter-spacing:-1px;display:flex;align-items:center;gap:10px;flex-shrink:0}.brand-mark{width:35px;height:35px;background:#d7efb9;border-radius:10px;display:grid;place-items:center;letter-spacing:0}.brand-dot{color:#8daa60}.app-header{position:sticky;top:0;z-index:5;display:flex;align-items:center;gap:46px;background:#fff;border-bottom:1px solid var(--line);padding:0 max(24px,calc((100vw - 1180px)/2));height:76px}.app-header nav{display:flex;gap:26px;align-self:stretch}.app-header nav a{display:flex;align-items:center;font-size:14px;font-weight:550;border-bottom:3px solid transparent;color:var(--muted)}.app-header nav a.active{border-color:var(--green);color:var(--green)}.header-actions{display:flex;align-items:center;margin-left:auto;gap:12px;white-space:nowrap}.header-actions span{font-size:12px;color:var(--muted)}#refresh{background:transparent;font-size:25px;color:var(--muted);width:35px;height:40px}.text-button{background:none;color:var(--green);padding:3px 0;text-decoration:underline;text-underline-offset:3px;font-size:13px}.work-main{max-width:1228px;margin:auto;padding:25px 24px 48px}.work-top{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:45px;margin-bottom:24px}#breadcrumbs{display:flex;gap:12px;align-items:center;flex-wrap:wrap;font-size:13px}#breadcrumbs span{color:#a5b3a6}#breadcrumbs a{color:var(--muted)}#breadcrumbs a:hover{text-decoration:underline}#breadcrumbs b{font-weight:600}.period-control{display:flex;gap:10px;align-items:center;flex-shrink:0;font-size:13px;color:var(--muted)}select,input[type=search],input[type=date]{background:#fff;border:1px solid #d5ded5;border-radius:8px;padding:10px 12px;color:var(--ink)}select{max-width:100%;min-width:0}#date-range{display:flex;gap:7px}#date-range label{font-size:12px;display:flex;align-items:center;gap:6px}#date-range input{max-width:145px;padding:8px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:23px}.page-heading p{color:var(--muted);margin-top:8px;font-size:14px;max-width:710px}.metric-strip{display:flex;background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px 24px;margin-bottom:24px;gap:40px}.metric{flex:1;max-width:350px;border-left:1px solid var(--line);padding-left:27px}.metric:first-child{border-left:0;padding-left:0}.metric>span{display:block;color:var(--muted);font-size:13px}.metric>strong{display:inline-block;font-size:31px;font-weight:650;letter-spacing:-.8px;margin-top:3px}.metric small{color:var(--muted);font-size:13px;margin-left:12px}.list-tools{display:flex;align-items:center;gap:16px;margin-bottom:17px}.list-tools>input{max-width:430px;width:100%;padding:12px 14px;min-width:0}.sort-control{display:flex;align-items:center;gap:10px;margin-left:auto;color:var(--muted);font-size:13px}.sort-control select{font-size:13px}.office-table,.manager-list{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff}.office-table-head,.office-row{display:grid;grid-template-columns:34px minmax(230px,1fr) 155px 150px 120px 24px;gap:12px;align-items:center;padding:14px 24px}.office-table-head,.manager-table-head{background:#f9fbf8;border-bottom:1px solid var(--line);font-size:12px;color:var(--muted);padding-top:15px;padding-bottom:15px}.office-row{width:100%;text-align:left;background:#fff;min-height:86px;border-bottom:1px solid #e9eee8;transition:background .13s}.office-row:last-child{border-bottom:0}.office-row:hover,.manager-row:hover{background:#f0f6ee}.row-rank{font-size:13px;color:#8a998d}.row-name{min-width:0}.row-name b{display:block;font-size:16px;font-weight:600;line-height:1.4}.row-name small{color:var(--muted);font-size:12px;display:block;margin-top:4px}.row-rate>b{font-size:24px;font-weight:650;color:var(--green)}.row-count>b,.row-staff>b{font-size:17px;font-weight:600}.row-arrow{font-size:23px;color:#6d8b71}.rate-bar{display:block;height:4px;width:92px;background:#edf1eb;margin-top:4px;border-radius:6px}.rate-bar>i{display:block;height:100%;border-radius:6px;background:#89aa69}.mobile-label{display:none}.method{margin-top:20px;color:var(--muted);font-size:13px;max-width:850px}.method summary{cursor:pointer;color:var(--green);font-weight:550;padding:7px 0}.method p{margin:10px 0;line-height:1.75}.office-switch{display:flex;flex-direction:column;gap:6px;color:var(--muted);font-size:12px;width:min(340px,100%)}.office-switch select{font-size:13px;width:100%}.manager-table-head,.manager-row{display:grid;grid-template-columns:minmax(220px,1fr) 180px 160px 24px;align-items:center;gap:12px;padding:16px 24px}.manager-row{background:#fff;border-bottom:1px solid #e9eee8;width:100%;text-align:left;min-height:88px}.manager-row:last-child{border-bottom:0}.manager-name{display:flex;align-items:center;gap:15px;min-width:0}.manager-name b{display:block;font-size:16px;line-height:1.35;font-weight:600}.manager-name small{display:block;margin-top:5px;font-size:12px;color:var(--muted)}.initials{display:grid;place-items:center;width:42px;height:42px;background:var(--pale);border-radius:50%;font-size:13px;font-weight:650;color:#5b7c47;flex-shrink:0}.manager-empty b{font-size:23px;font-weight:650;color:var(--amber)}.manager-other b{font-size:17px;font-weight:550}.type-tabs{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:20px}.type-tabs button{background:#fff;border:1px solid var(--line);border-radius:22px;font-size:13px;padding:9px 13px;color:var(--muted)}.type-tabs button.selected{background:var(--green);border-color:var(--green);color:#fff}.type-tabs>span{margin-left:auto;color:var(--muted);font-size:13px}.case-list{display:grid;grid-template-columns:1fr 1fr;gap:18px}.case-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:22px;display:flex;flex-direction:column;min-width:0}.case-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:12px;color:var(--muted);margin-bottom:13px}.case-meta time{margin-left:auto}.case-meta>span:last-child:not(.tag){width:100%;font-size:11px;margin-top:-5px}.tag{display:inline-block;background:#f9ecdf;color:#925019;padding:5px 9px;border-radius:5px;font-size:11px;font-weight:550}.tag.good{background:#e9f3e0;color:#486f34}.tag.other{background:#ececf7;color:#68668e}.case-card h2{font-size:18px;line-height:1.35}.case-card blockquote{margin:18px 0 0;padding:12px 14px;background:#f4f7f1;border-left:3px solid #a9bf8e;border-radius:0 6px 6px 0;font-size:15px;line-height:1.6;overflow-wrap:anywhere}.case-card blockquote span{display:block;font-size:11px;color:var(--muted);margin-bottom:4px}.case-preview{font-size:14px;line-height:1.7;color:#4a5e52;margin:16px 0 22px;white-space:pre-line;overflow-wrap:anywhere}.case-open{background:none;border-top:1px solid var(--line);padding:15px 0 0;color:var(--green);display:flex;justify-content:space-between;font-size:14px;font-weight:600;margin-top:auto;text-align:left}.pager{display:flex;gap:18px;align-items:center;justify-content:center;margin-top:25px;font-size:13px;color:var(--muted)}.outline{display:inline-flex;align-items:center;justify-content:center;background:#fff;border:1px solid var(--line);border-radius:8px;padding:9px 12px;color:var(--ink);font-size:13px}.outline:hover{background:#eef4ea}.primary{background:var(--green);color:#fff;border-radius:9px;padding:13px 18px;display:inline-flex;align-items:center;justify-content:space-between;gap:20px;font-weight:600}.primary:hover{background:#285543}.wide{width:100%}.data-footnote{font-size:11px;color:var(--muted);margin-top:35px}.error{padding:16px;border:1px solid #efd6bc;background:#fff3e6;border-radius:10px;margin-bottom:18px;color:#925020}.loading{font-size:13px;color:var(--muted);padding:10px 0}.empty{padding:45px 18px;text-align:center;grid-column:1/-1}.empty p{color:var(--muted);margin-top:8px;font-size:14px}.post{background:#fff;border:1px solid var(--line);padding:26px;border-radius:12px;max-width:850px;margin-bottom:18px}.post h2{margin:10px 0 16px}.post time,.post>p{font-size:13px;color:var(--muted)}.post pre{font:inherit;font-size:15px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.post .outline{margin-top:15px}.section-title{margin:28px 0 18px}.admin-table{overflow:auto;background:#fff;border:1px solid var(--line);border-radius:10px}.admin-table table{width:100%;border-collapse:collapse}.admin-table td,.admin-table th{text-align:left;font-size:13px;padding:15px;border-bottom:1px solid var(--line)}.admin-table th{background:#f9fbf8;font-size:12px;color:var(--muted)}
#detail{border:0;border-radius:16px;background:#fff;color:var(--ink);padding:0;width:min(1150px,calc(100% - 40px));height:calc(100dvh - 40px);max-height:none;box-shadow:0 20px 80px #173d3240}#detail::backdrop{background:#152e276b;backdrop-filter:blur(3px)}.detail-top{display:flex;align-items:center;justify-content:space-between;gap:12px;position:sticky;top:0;background:#fff;border-bottom:1px solid var(--line);padding:13px 22px;z-index:3}.detail-tabs{display:flex;gap:5px}.detail-tabs button{background:#edf3e9;color:var(--muted);padding:8px 14px;border-radius:6px;font-size:13px}.detail-tabs button[aria-selected=true]{background:var(--green);color:#fff}.detail-grid{display:grid;grid-template-columns:1fr 1.05fr;min-height:100%;align-items:start}.detail-summary{padding:25px;min-width:0}.detail-summary h2{font-size:24px;line-height:1.35}.detail-identity{font-size:13px;color:var(--muted);line-height:1.8;margin:10px 0 20px}.rec-body{white-space:pre-wrap;font-size:15px;line-height:1.8;overflow-wrap:anywhere}.links{display:flex;gap:9px;flex-wrap:wrap;margin-top:24px}.links a{border:1px solid var(--line);border-radius:8px;padding:10px 12px;font-size:13px;color:var(--green)}.guest-review{font-size:13px;color:var(--muted);border-top:1px solid var(--line);margin-top:26px;padding-top:20px}.review{border-top:1px solid var(--line);margin-top:26px;padding-top:20px}.review p{font-size:13px;color:var(--muted);margin:7px 0}.rating{display:flex;gap:8px;margin:13px 0}.rating button{width:42px;height:42px;border:1px solid var(--line);background:#fff;border-radius:8px}.rating button.active{background:var(--green);color:#fff}.review textarea{width:100%;min-height:85px;border:1px solid var(--line);padding:12px;border-radius:8px;resize:vertical;font-size:14px}.review .primary{margin-top:12px;font-size:13px}.chat{background:#edf2e6;background-image:radial-gradient(#cdd9c3 .7px,transparent .7px);background-size:16px 16px;padding:20px;min-width:0;min-height:100%;border-left:1px solid var(--line)}.chat-header{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px;padding-bottom:18px}.chat-header .outline{font-size:12px;white-space:nowrap}.chat-date{font-size:11px;background:#ffffffb3;width:max-content;margin:16px auto;padding:6px 10px;border-radius:6px;color:var(--muted)}.bubble{white-space:pre-wrap;overflow-wrap:anywhere;background:#fff;margin:12px 0;max-width:92%;padding:12px 14px;border-radius:0 10px 10px 10px;box-shadow:0 1px 2px #19392412;font-size:14px;line-height:1.7}.bubble.manager{background:#d9efc5;margin-left:auto;border-radius:10px 0 10px 10px}.bubble.focus{outline:2px solid #8cab66;outline-offset:3px;scroll-margin-top:100px}.bubble .who{display:block;color:#69835f;font-size:11px;margin-bottom:4px}.bubble time{display:block;text-align:right;color:#79906c;font-size:10px;margin-top:6px}.chat-note{font-size:12px;color:var(--muted);text-align:center;line-height:1.7;margin:20px 0}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:99;max-width:90%;background:var(--green);color:#fff;padding:12px 20px;border-radius:10px;font-size:14px}
/* Existing secure login remains available for administrators and reviews. */
.login-shell{max-width:1180px;margin:auto;padding:44px 24px}.login-brand{display:flex;align-items:center;gap:10px;font-size:30px;font-weight:750;letter-spacing:-1px}.login-grid{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:90px;padding:100px 0 70px}.eyebrow,.mini-label{font-size:11px;letter-spacing:2px;color:var(--muted);font-weight:650}.login-grid h1{font-size:48px;letter-spacing:-2px;margin:24px 0}.login-grid h1 em{font-style:normal;color:#8aa864}.login-intro{color:var(--muted);font-size:16px;line-height:1.9}.login-tags{display:flex;gap:8px;margin:26px 0}.login-tags span{font-size:12px;border:1px solid var(--line);padding:7px 10px;border-radius:20px}.login-note{color:var(--muted);font-size:12px}.login-card{background:#fff;border:1px solid var(--line);padding:36px;border-radius:20px}.login-card h2{font-size:29px;margin:20px 0 12px}.login-card p{font-size:14px;color:var(--muted);line-height:1.8;margin:12px 0 22px}.login-divider{border-top:1px solid var(--line);margin:24px 0}.login-shell footer{color:var(--muted);font-size:12px}.small{font-size:12px}.live-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#8ca970;margin-right:8px}
@media(max-width:1000px){.app-header{gap:25px;padding:0 24px}.app-header nav{gap:16px}.header-actions span{display:none}.office-table-head,.office-row{grid-template-columns:25px minmax(160px,1fr) 120px 110px 90px 20px;padding-left:18px;padding-right:18px;gap:8px}.office-table-head{font-size:11px}.page-heading{align-items:start}.office-switch{max-width:260px}.manager-table-head,.manager-row{grid-template-columns:1fr 130px 120px 24px}.login-grid{gap:35px;padding:65px 0}.login-grid h1{font-size:40px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
.phone-header,.phone-nav{display:none}.phone-sheet{border:0;background:#fff;color:var(--ink);padding:24px;width:min(460px,100%);border-radius:22px;margin:auto;box-shadow:0 20px 80px #173d3240}.phone-sheet::backdrop{background:#152e276b;backdrop-filter:blur(3px)}.sheet-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.sheet-heading button{border-radius:50%;background:#f1f4ee;font-size:25px;width:40px;height:40px;color:var(--muted)}.phone-sheet p{font-size:14px;color:var(--muted);margin-bottom:20px}.phone-sheet label{display:flex;flex-direction:column;gap:8px;font-size:13px;color:var(--muted);margin:16px 0}.phone-sheet select,.phone-sheet input{width:100%;min-height:48px;font-size:16px}.phone-sheet .primary{min-height:50px;margin-top:12px}.sheet-action{display:flex;align-items:center;justify-content:space-between;background:#fff;width:100%;min-height:56px;border-top:1px solid var(--line);font-size:15px;text-align:left;color:var(--green)}.sheet-action span{color:var(--muted)}
@media(min-width:841px){.detail-tabs{display:none}}
/* A separate phone interface is rendered by app.js, using the same data and routes. */
@media(max-width:840px){
body{background:#f5f6f2;font-size:15px}.case-opened{overflow:hidden}.app-header,.work-top,.data-footnote #export{display:none}.phone-header{display:flex;align-items:center;gap:10px;background:#f5f6f2ed;backdrop-filter:blur(12px);position:sticky;top:0;z-index:5;min-height:68px;padding:10px 20px;border-bottom:1px solid #e3e8df;padding-top:max(10px,env(safe-area-inset-top))}.phone-header .brand{font-size:24px;gap:8px}.phone-header .brand-mark{width:32px;height:32px}.phone-header>b{font-size:16px;font-weight:650;min-width:0}.phone-back{width:36px;height:44px;display:grid;place-items:center;font-size:25px;flex-shrink:0}.phone-period{display:flex;gap:6px;align-items:center;background:#fff;border:1px solid #dce4d6;border-radius:22px;padding:10px 13px;margin-left:auto;font-size:11px;min-height:42px;color:var(--green);white-space:nowrap}.phone-nav{position:fixed;bottom:0;left:0;right:0;z-index:5;display:flex;background:#fffffff5;backdrop-filter:blur(12px);border-top:1px solid var(--line);padding:6px 16px max(7px,env(safe-area-inset-bottom));height:calc(68px + env(safe-area-inset-bottom))}.phone-nav a,.phone-nav button{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;font-size:11px;color:#829083;background:none;border-radius:12px}.phone-nav span{font-size:24px;line-height:26px;font-weight:400;letter-spacing:0}.phone-nav .active{background:#eef4e8;color:var(--green);font-weight:650}.work-main{padding:23px 20px calc(94px + env(safe-area-inset-bottom));max-width:600px}.phone-heading{margin-bottom:18px}.phone-eyebrow{display:block;font-size:10px;font-weight:650;letter-spacing:1.5px;color:#81917d;text-transform:uppercase;overflow-wrap:anywhere;margin-bottom:7px}.phone-heading h1{font-size:29px;line-height:1.17;letter-spacing:-.8px;overflow-wrap:anywhere}.phone-heading p{font-size:14px;line-height:1.65;color:var(--muted);margin-top:10px;max-width:340px}.phone-overview{display:flex;gap:16px;align-items:center;font-size:12px;color:var(--muted);padding-bottom:19px;border-bottom:1px solid var(--line);margin-bottom:18px;flex-wrap:wrap}.phone-overview>span+span{border-left:1px solid var(--line);padding-left:16px}.phone-overview b{color:var(--ink);font-size:15px}.list-tools{margin-bottom:10px}.list-tools>input{width:100%;max-width:none;min-height:48px;padding:12px 15px;font-size:16px;border:1px solid #e0e6da;border-radius:12px;background:#fff}.phone-sort{display:flex;align-items:center;justify-content:space-between;margin:0 0 20px;font-size:12px;color:var(--muted);gap:10px}.phone-sort select{background:transparent;border:0;font-size:12px;padding:10px 0;min-height:44px;max-width:75%;color:var(--green)}.phone-list-caption{display:flex;justify-content:space-between;font-size:10px;letter-spacing:.15px;color:#7b897c;margin:20px 0 10px;gap:12px}.phone-office-list{display:flex;flex-direction:column;gap:10px}.phone-office-card{background:#fff;border:1px solid #e1e6db;border-radius:16px;padding:18px 16px 16px;width:100%;text-align:left;color:var(--ink);min-height:112px}.phone-office-top{display:flex;justify-content:space-between;gap:14px;align-items:start}.phone-office-name{display:flex;align-items:start;gap:9px;min-width:0}.phone-office-name small{font-size:10px;font-weight:500;color:#93a08b;line-height:23px;flex-shrink:0}.phone-office-name b{font-size:16px;font-weight:650;line-height:1.45;overflow-wrap:anywhere}.phone-ratio{display:flex;gap:9px;align-items:center;flex-shrink:0;color:var(--green)}.phone-ratio strong{font-size:26px;line-height:1.2;font-weight:600;letter-spacing:-.8px}.phone-ratio>span{font-size:24px;line-height:1;color:#a0af96}.phone-office-meta{margin:11px 0 0 24px;font-size:11px;color:var(--muted)}.phone-office-summary{display:flex;align-items:center;gap:20px;background:var(--green);color:#fff;padding:19px 20px;border-radius:16px;margin:22px 0}.phone-office-summary>div{flex:1}.phone-office-summary strong{font-size:33px;font-weight:600;line-height:1.2;display:block}.phone-office-summary span{display:block;font-size:10px;margin-top:6px;color:#d4e4cd}.phone-office-summary p{font-size:12px;line-height:1.8;color:#d4e4cd;border-left:1px solid #ffffff30;padding-left:18px}.phone-manager-list{background:#fff;border:1px solid #e1e6db;border-radius:16px;overflow:hidden}.phone-manager-card{display:flex;align-items:center;gap:12px;background:#fff;border-bottom:1px solid #edf0e9;padding:17px 15px;width:100%;text-align:left;color:var(--ink);min-height:88px}.phone-manager-card:last-child{border-bottom:0}.phone-avatar{display:grid;place-items:center;background:#edf3e7;color:#648052;width:37px;height:37px;border-radius:12px;font-size:11px;font-weight:600;flex-shrink:0}.phone-manager-info{flex:1;min-width:0}.phone-manager-info b{display:block;font-size:15px;line-height:1.4;overflow-wrap:anywhere;font-weight:600}.phone-manager-info small{display:block;font-size:11px;color:var(--muted);margin-top:4px}.phone-manager-number{font-size:23px;line-height:1.2;color:#956033;font-weight:600;flex-shrink:0}.phone-chevron{font-size:22px;color:#a0af96}.phone-case-tabs{display:flex;gap:4px;padding:4px;background:#e8eee2;border-radius:12px;margin:16px 0 20px}.phone-case-tabs button{flex:1;font-size:12px;min-height:40px;border-radius:9px;background:transparent;color:var(--muted);padding:8px 6px}.phone-case-tabs button.selected{background:#fff;color:var(--green);box-shadow:0 1px 4px #173d3212;font-weight:650}.phone-cases{display:flex;flex-direction:column;gap:16px}.phone-case-card{background:#fff;border:1px solid #e1e6db;border-radius:16px;padding:19px 18px 0;overflow:hidden}.phone-case-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:10px;color:var(--muted);margin-bottom:12px}.phone-case-meta .tag{font-size:10px;padding:5px 8px}.phone-case-card h2{font-size:19px;line-height:1.4;margin:0 0 15px;font-weight:650;overflow-wrap:anywhere}.phone-case-card blockquote{margin:0 0 14px;border-left:3px solid #a5bd8b;padding:1px 0 1px 12px;color:var(--ink);font-size:15px;line-height:1.7;overflow-wrap:anywhere}.phone-case-card>p{font-size:13px;line-height:1.75;color:var(--muted);margin-bottom:20px;overflow-wrap:anywhere}.phone-case-card>button{display:flex;justify-content:space-between;align-items:center;gap:10px;background:#fff;border-top:1px solid #e7ece2;width:100%;padding:15px 0;color:var(--green);text-align:left;font-size:13px;font-weight:600;min-height:66px}.phone-case-card>button small{display:block;font-size:10px;color:#83927b;font-weight:400;margin-top:3px}.phone-case-card>button>span:last-child{font-size:20px}.method{font-size:12px;margin-top:19px}.method summary{font-size:13px;min-height:44px;display:flex;align-items:center;gap:8px}.method summary::before{content:'ⓘ';color:#789467}.method p{line-height:1.8}.pager{gap:12px}.pager .outline{min-height:44px}.data-footnote{font-size:10px;line-height:1.8;margin-top:25px}.page-heading{display:block;margin-bottom:20px}.page-heading h1{font-size:28px}.page-heading p{font-size:13px;line-height:1.7}.post{padding:20px;border-radius:16px}.post pre{font-size:14px;line-height:1.8}.post h2{font-size:19px;overflow-wrap:anywhere}.admin-table{font-size:12px}
#detail{width:100%;height:100dvh;max-width:none;border-radius:0;margin:0}.detail-top{padding:8px 16px 12px;gap:8px;flex-wrap:wrap;padding-top:max(8px,env(safe-area-inset-top))}.detail-top #close-detail{border:0;padding:10px 0;min-height:44px;font-size:13px}.detail-top #copy-rec{font-size:11px;min-height:40px;padding:8px 12px}.detail-tabs{order:3;width:100%;padding:4px;background:#e8eee2;border-radius:11px;display:flex;gap:3px}.detail-tabs button{flex:1;background:none;min-height:40px;font-size:13px;padding:9px;border-radius:8px}.detail-tabs button[aria-selected=true]{background:#fff;color:var(--green);box-shadow:0 1px 3px #173d3214}.detail-grid{display:block}.detail-summary{padding:24px 20px calc(32px + env(safe-area-inset-bottom))}.detail-summary h2{font-size:24px;line-height:1.3}.detail-identity{font-size:12px;line-height:1.7}.rec-body{font-size:15px;line-height:1.85}.chat{display:none;border-left:0;padding:20px 16px 40px;min-height:calc(100dvh - 115px);background-color:#e8eee2}.show-chat .detail-summary{display:none}.show-chat .chat{display:block}.bubble{font-size:14px;max-width:92%;padding:12px 14px;line-height:1.65}.bubble.focus{scroll-margin-top:155px}.chat-header{font-size:12px;gap:8px;align-items:start}.chat-header .outline{font-size:11px;min-height:42px}.links{gap:8px;display:grid;grid-template-columns:1fr 1fr}.links a,.links button{font-size:12px;padding:12px 10px;min-height:46px;text-align:center;overflow-wrap:anywhere}.guest-review{font-size:12px;line-height:1.8}.rating button{height:48px;flex:1}.review .primary{min-height:48px}.review textarea{font-size:16px}.phone-sheet{position:fixed;inset:auto 0 0;margin:0 auto;border-radius:24px 24px 0 0;padding:24px 24px calc(24px + env(safe-area-inset-bottom));max-height:90dvh;overflow:auto}#phone-dates{display:grid;grid-template-columns:1fr 1fr;gap:12px}#phone-dates input{min-width:0;max-width:100%}#toast{bottom:calc(82px + env(safe-area-inset-bottom));font-size:13px}.login-shell{padding:25px 20px}.login-grid{display:block;padding:40px 0}.login-grid h1{font-size:38px}.login-grid>section:first-child{margin-bottom:35px}.login-card{padding:27px}.login-intro{font-size:14px}.login-card h2{font-size:26px}.login-card p{font-size:13px}
}

@media(max-width:840px){.phone-header>b{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px}.phone-period{max-width:52%;min-width:0;flex-shrink:1}.phone-period span:first-child{overflow:hidden;text-overflow:ellipsis}.phone-nav svg{width:23px;height:23px;margin-bottom:3px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}}

/* Fixed September cohort alongside independently filtered recommendation cases. */
.month-note{font-size:12px;color:var(--muted);margin:0 0 16px;line-height:1.65}
.month-note b{display:block;color:var(--green);font-size:13px;margin-bottom:4px}
.month-note span,.month-note small{display:block}.month-note small{font-size:11px;margin-top:2px}
.manager-list.with-month{overflow-x:auto}
.with-month .manager-table-head,.with-month .manager-row{grid-template-columns:minmax(205px,1fr) 65px 105px 125px 125px 135px 108px 20px;gap:12px;padding-left:18px;padding-right:18px;min-width:1020px}
.with-month .manager-name{gap:11px}.with-month .manager-name b{font-size:14px}
.with-month .manager-name small{font-size:10px}.with-month .initials{width:32px;height:32px;font-size:11px}
.with-month .manager-table-head{font-size:11px}.with-month .manager-table-head small{display:block;font-size:9px;margin-top:4px}
.with-month .manager-empty b{font-size:21px}.cohort-cell b{font-size:17px;color:var(--green);font-weight:600}
.cohort-cell small{display:block;font-size:10px;color:var(--muted);margin-top:5px;white-space:nowrap}
.cohort-money{font-size:13px;font-weight:600;white-space:nowrap}
.manager-month-panel{background:#fff;border:1px solid var(--line);border-radius:14px;margin:0 0 23px;padding:20px 23px}
.month-panel-title{display:flex;justify-content:space-between;gap:12px;margin-bottom:19px;font-size:13px}
.month-panel-title b{color:var(--green)}.month-panel-title span{color:var(--muted);font-size:11px}
.month-panel-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:20px}
.month-panel-grid>div>span{display:block;font-size:11px;color:var(--muted);margin-bottom:6px}
.month-panel-grid strong{font-size:22px;font-weight:600;color:var(--green);white-space:nowrap;letter-spacing:-.4px}
.month-panel-grid small{display:block;font-size:10px;margin-top:5px;color:var(--muted)}
.phone-manager-main{display:flex;align-items:center;gap:12px;width:100%}
@media(max-width:840px){
 .phone-manager-card{display:block}.phone-manager-list.with-month{background:none;border:0;border-radius:0;overflow:visible}
 .with-month .phone-manager-card{border:1px solid var(--line);border-radius:16px;margin-bottom:13px;padding:17px 16px}
 .phone-month-stats{border-top:1px solid #e8ede2;margin-top:16px;padding-top:12px}
 .phone-month-total{font-size:11px;color:var(--muted);display:block;margin-bottom:12px}
 .phone-month-total b{color:var(--ink)}
 .phone-month-segments,.phone-month-money{display:grid;grid-template-columns:1fr 1fr;gap:16px}
 .phone-month-segments small,.phone-month-money small{display:block;color:var(--muted);font-size:10px;margin-bottom:4px}
 .phone-month-segments b{display:block;font-size:21px;line-height:1.25;color:var(--green);font-weight:600}
 .phone-month-segments em{display:block;font-size:11px;line-height:1.7;font-style:normal;color:var(--muted);margin-top:3px}
 .phone-month-money{margin-top:12px;padding-top:11px;border-top:1px solid #edf0e9}
 .phone-month-money b{display:block;font-size:14px;font-weight:600;line-height:1.4;overflow-wrap:anywhere}
 .phone-month-missing{border-top:1px solid var(--line);margin-top:12px;padding-top:10px;font-size:11px;color:var(--muted)}
 .month-note{font-size:11px;line-height:1.75;padding:0 0 6px;margin-bottom:14px}.month-note b{font-size:12px}
 .month-note small{font-size:10px}
 .manager-month-panel{padding:18px;margin-top:18px;border-radius:16px}
 .month-panel-title{font-size:12px;margin-bottom:17px;display:block}.month-panel-title span{display:block;margin-top:5px;font-size:10px}
 .month-panel-grid{grid-template-columns:1fr 1fr;gap:18px 12px}.month-panel-grid>div:first-child{grid-column:1/-1;padding-bottom:13px;border-bottom:1px solid var(--line)}
 .month-panel-grid strong{font-size:19px;white-space:normal;overflow-wrap:anywhere}.month-panel-grid>div>span{font-size:10px}
 .month-panel-grid small{font-size:10px;line-height:1.7}
}
