@import url('data:text/css,');
:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#203b40;background:#f2f5f4;font-size:14px;--green:#126c5e;--muted:#78908f}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;border:1px solid #dce5e1;background:white;color:#345553;border-radius:8px;padding:9px 13px;transition:.15s}button:hover{background:#e9f3ee}button:disabled{opacity:.5;cursor:wait}button.primary{background:var(--green);color:white;border-color:var(--green)}button.danger{color:#b43d40}input,select,textarea{width:100%;border:1px solid #d6e2dc;border-radius:7px;padding:10px;background:#fff;color:#254441}input:focus,select:focus,textarea:focus{outline:2px solid #8abdb1}textarea{min-height:75px;resize:vertical}label{display:block;color:#5c7772;font-size:12px;margin-bottom:5px}.shell{display:grid;grid-template-columns:222px 1fr;min-height:100vh}.sidebar{background:#123d3a;color:#c0d7cf;padding:30px 18px;position:fixed;inset:0 auto 0 0;width:222px;display:flex;flex-direction:column}.brand{color:white;font-size:21px;font-weight:750;letter-spacing:1px;margin:0 10px 35px;display:flex;gap:12px;align-items:center}.brand b{background:#c2d7a0;color:#153e38;display:grid;place-items:center;border-radius:10px;width:38px;height:38px;font-size:16px}.sidebar small{display:block;color:#7fa79b;font-size:10px;letter-spacing:2px;margin:14px 12px}.nav{width:100%;text-align:left;background:transparent;border:0;color:#aec9c0;padding:13px 15px;margin:4px 0}.nav.active{background:#286055;color:#fff}.nav .icon{display:inline-block;width:26px}.sidefoot{margin-top:auto;border-top:1px solid #325c52;padding-top:20px;line-height:1.9;font-size:12px}.sidefoot strong{color:#eff9f1;display:block}.sidefoot button{background:transparent;color:#aacaab;border:0;padding-left:0}.main{grid-column:2;padding:0 36px 40px;min-width:0}.topbar{height:78px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #dbe5df;color:#6b837d;font-size:12px}.clock{display:flex;align-items:center;gap:10px}.dot{width:7px;height:7px;background:#64a37b;border-radius:50%;display:inline-block}.heading{display:flex;align-items:center;justify-content:space-between;margin:30px 0 23px;gap:16px}h1{font-size:27px;letter-spacing:-.7px;margin:0 0 8px}h2{font-size:17px;margin:0 0 20px}h3{font-size:14px;margin:20px 0 14px}p{line-height:1.7}.muted{color:var(--muted);font-size:12px}.actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:22px}.card{background:white;border:1px solid #e0e8e2;border-radius:12px;padding:21px}.card .value{font-size:30px;font-weight:650;letter-spacing:-1px;margin:14px 0 10px}.card.dark{background:#1d574c;color:white;border-color:#1d574c}.card.dark .muted{color:#acd0bf}.panel{background:white;border:1px solid #e0e8e2;border-radius:12px;padding:22px;margin-bottom:20px;overflow:hidden}.paneltitle{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.paneltitle h2{margin:0}.filters{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:18px}.filters input{max-width:230px}.filters select{max-width:140px}.tablewrap{overflow:auto}table{border-collapse:collapse;width:100%;white-space:nowrap;text-align:left}th{font-size:11px;background:#f5f8f6;color:#788f84;padding:13px 12px;font-weight:500;border-bottom:1px solid #e4ece7}td{padding:14px 12px;border-bottom:1px solid #edf2ee;font-size:12px}tbody tr:hover{background:#f8fbf7}td strong{display:block;font-size:13px;margin-bottom:4px}.badge{display:inline-block;background:#ebf4e9;color:#598047;font-size:10px;border-radius:5px;padding:4px 7px}.badge.gold{background:#fbf0cf;color:#aa7a17}.badge.grey{background:#edf1f1;color:#7b8d8b}.badge.red{background:#f9e9e8;color:#b55c4f}.uid{font-family:monospace;font-size:11px;color:#79938a}.inline-select{width:auto;padding:5px 8px;font-size:12px;background:#f6f9f5}.link{border:0;background:transparent;color:var(--green);padding:4px 6px;font-size:12px}.pin{border:0;padding:4px;background:transparent;font-size:16px;color:#9bb0a4}.pin.on{color:#b8892b}.empty{text-align:center;padding:45px 10px;color:#85988f}.empty .big{font-size:36px;margin-bottom:12px}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:20px}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.full{grid-column:1/-1}.help{font-size:12px;background:#f1f7ee;border-radius:8px;padding:12px 14px;color:#647b65;line-height:1.8;margin-bottom:16px}.progress{height:5px;background:#eff3ed;border-radius:5px;margin:10px 0}.progress i{height:100%;display:block;background:#67a081;border-radius:5px}.rates{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.rateval{font-size:24px;margin:14px 0 5px}.timeline{border-left:2px solid #dde8df;padding-left:21px;margin:16px 6px}.timeline article{position:relative;margin-bottom:24px}.timeline article:before{content:'';position:absolute;width:8px;height:8px;background:#72a28d;border:3px solid #eff6ed;border-radius:50%;left:-26px;top:3px}.timeline p{margin:5px 0;white-space:pre-wrap;word-break:break-word}.tabs{display:flex;gap:8px;border-bottom:1px solid #e0e8e2;margin-bottom:20px;padding-bottom:12px}.tabs button.active{background:#e6f1e8;color:#246648;border-color:#a9c8b5}.detailstats{display:flex;gap:25px;margin:20px 0;flex-wrap:wrap}.detailstats strong{display:block;font-size:22px;margin-top:7px}.notearea{margin-top:6px;min-height:40px;height:40px;font-size:12px;background:#fafcf9}.login{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.loginhero{background:#153f39;color:white;padding:12vh 8vw;display:flex;flex-direction:column;justify-content:center}.loginhero h1{font-size:48px;line-height:1.4;margin:50px 0 25px}.loginhero p{color:#a9c7b7;max-width:400px}.loginform{display:flex;align-items:center;justify-content:center;padding:40px}.loginbox{width:350px}.loginbox h1{font-size:28px}.loginbox form{display:grid;gap:20px;margin:32px 0}.loginbox button{padding:13px}dialog{border:0;border-radius:14px;padding:27px;width:650px;max-width:95vw;max-height:90vh;box-shadow:0 25px 80px #10291e44;color:#24473e}dialog::backdrop{background:#102d2855;backdrop-filter:blur(3px)}dialog header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}dialog header h2{margin:0}dialog footer{display:flex;gap:10px;justify-content:flex-end;margin-top:22px}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);background:#1d4f40;color:white;padding:12px 20px;border-radius:9px;display:none;z-index:999;max-width:90vw;box-shadow:0 8px 30px #173d2933}#toast.error{background:#a43a38}.errorbox{background:#f8e5e3;color:#af3c37;padding:12px;border-radius:7px}.metricgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.metric{padding:16px;background:#f7faf5;border-radius:8px}.metric strong{display:block;font-size:23px;margin:9px 0}.pill{border-radius:20px;background:#ecf2e7;padding:6px 11px;font-size:11px;color:#698052}.reporttable th{white-space:normal;min-width:95px}.smallbutton{font-size:11px;padding:5px 8px}details summary{cursor:pointer;font-size:12px;color:#507267}pre{white-space:pre-wrap;word-break:break-word;max-width:700px;font-size:11px;background:#f7faf5;padding:12px;border-radius:7px}.loading{padding:70px;text-align:center;color:#78958b}@media(max-width:1000px){.cards{grid-template-columns:repeat(2,1fr)}.main{padding:0 18px 25px}.grid2{grid-template-columns:1fr}.metricgrid{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){.shell{grid-template-columns:1fr}.sidebar{position:relative;width:auto;padding:16px;display:block}.brand{margin-bottom:12px}.sidebar small,.sidefoot{display:none}.nav{width:auto;padding:8px}.main{grid-column:1}.login{grid-template-columns:1fr}.loginhero{display:none}.heading{align-items:flex-start}.formgrid,.grid3{grid-template-columns:1fr}.rates{gap:10px}.cards{gap:10px}.card{padding:15px}.card .value{font-size:23px}.topbar{height:60px}.full{grid-column:auto}}
@media(max-width:700px){.sidefoot{display:flex;align-items:center;gap:10px;border-top:1px solid #325c52;margin-top:10px;padding-top:10px;font-size:11px;flex-wrap:wrap}.sidefoot strong{display:inline}.sidefoot br{display:none}.sidefoot button{padding:4px}}
/* Statistics dashboard */
.dashboard .heading{margin:28px 0 20px}.dashboard-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 20px}.scope-control{display:flex;align-items:center;gap:12px}.scope-control select{width:180px;background:#fff;font-size:12px;padding:8px 12px}.dashboard-update{display:flex;align-items:center;gap:8px;font-size:11px;color:#627b71}.dashboard-update .link{font-size:11px}.stat-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:22px}.stat-tile{background:#fff;border:1px solid #dde6e0;border-radius:13px;padding:22px 23px;position:relative;overflow:hidden}.stat-top{display:flex;align-items:center;justify-content:space-between;color:#6c837b;font-size:12px;gap:8px}.stat-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#edf5ef;color:#3d7c61;flex-shrink:0}.stat-number{font-size:36px;line-height:1.3;font-weight:650;letter-spacing:-1.4px;font-variant-numeric:tabular-nums;margin:10px 0 14px;overflow-wrap:anywhere}.stat-bottom{color:#7e9189;font-size:11px;display:flex;align-items:center;gap:5px}.stat-bottom b{font-weight:550;color:#3e6e53}.primary-tile{background:linear-gradient(120deg,#155649,#23705b);border-color:#205f4f;color:white}.primary-tile:after{content:'';position:absolute;right:-25px;bottom:-48px;width:140px;height:140px;border:22px solid #ffffff08;border-radius:50%;pointer-events:none}.primary-tile .stat-top,.primary-tile .stat-bottom{color:#c0d9cc}.primary-tile .stat-icon{background:#ffffff14;color:#c7e1be}.gold-tile .stat-icon{background:#faf1dd;color:#b5944a}.stat-unit{color:#537569;font-size:10px;background:#edf3eb;border-radius:4px;padding:2px 5px}.section-kicker{font-size:9px;letter-spacing:1.7px;font-weight:650;color:#93a59b;display:block;margin-bottom:7px}.dashboard .panel{padding:23px 25px;border-radius:13px}.dashboard .paneltitle h2{font-size:16px;letter-spacing:.1px}.reply-charts{display:grid;grid-template-columns:repeat(3,1fr);margin:24px 0 21px}.reply-chart{text-align:center;display:flex;align-items:center;flex-direction:column}.reply-chart+.reply-chart{border-left:1px solid #edf2ed}.reply-ring{--ring:#6b9d8b;width:132px;height:132px;border-radius:50%;background:conic-gradient(var(--ring) calc(var(--percent)*1%),#edf2ed 0);padding:10px;position:relative}.reply-ring:after{content:'';position:absolute;inset:4px;border-radius:50%;border:1px solid #ffffff50;pointer-events:none}.reply-ring.new{--ring:#78a88c}.reply-ring.old{--ring:#aec087}.reply-ring.total{--ring:#256b59}.reply-ring>div{width:100%;height:100%;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;flex-direction:column}.reply-ring strong{font-size:28px;font-weight:650;font-variant-numeric:tabular-nums;letter-spacing:-.7px}.reply-ring span{font-size:10px;color:#98a69f;margin-top:4px}.reply-chart h3{margin:16px 0 5px;font-size:13px}.reply-chart>.muted{font-size:10px}.reply-count{display:flex;align-items:center;gap:6px;font-size:10px;color:#84968c;margin-top:13px}.reply-count b{font-size:14px;font-weight:600;color:#355d4b}.reply-count i{font-style:normal;padding:0 5px;color:#cedbd1}.chart-note{border-top:1px solid #edf2ed;padding-top:14px;font-size:10px;color:#8b9b91;display:flex;align-items:center;gap:7px;line-height:1.6}.legend-dot{width:7px;height:7px;border-radius:50%;display:inline-block;background:#6b9d8b;flex-shrink:0}.legend-dot.quiet{background:#e8eeE7;margin-left:11px}.note-right{margin-left:auto}.dashboard-chart-grid{display:grid;grid-template-columns:1.45fr 1fr;gap:20px}.dashboard-chart-grid>.panel{min-width:0;display:flex;flex-direction:column}.conversion-axis{display:grid;grid-template-columns:85px 1fr 92px;gap:14px;font-size:10px;color:#9baa9e;margin:5px 0 20px}.conversion-axis span:last-child{text-align:right}.conversion-row{display:grid;grid-template-columns:85px 1fr 92px;align-items:center;gap:14px;margin-bottom:20px}.conversion-name{font-size:11px;color:#597363;display:flex;align-items:center;gap:9px}.conversion-marker{width:5px;height:5px;border-radius:2px;background:#8eb093}.conversion-track{height:12px;border-radius:4px;background:repeating-linear-gradient(90deg,transparent,transparent calc(25% - 1px),#dce7dc calc(25% - 1px),#dce7dc 25%),#eff4ec;overflow:hidden}.conversion-fill{height:100%;border-radius:4px;background:linear-gradient(90deg,#94b8a1,#669a80);transition:width .4s}.conversion-fill.gold{background:linear-gradient(90deg,#d6c494,#bea268)}.conversion-fill.deep{background:linear-gradient(90deg,#458a71,#21634e)}.conversion-value{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:10px;color:#90a095;font-variant-numeric:tabular-nums}.conversion-value strong{font-size:12px;color:#375847;font-weight:600}.key-metric .conversion-name,.key-metric .conversion-value strong{font-weight:700;color:#1e6449}.conversion-panel .chart-note{margin-top:auto}.channel-chart{margin:8px 0 10px}.channel-row{margin:0 0 23px}.channel-caption{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#5b7665;margin-bottom:8px}.channel-caption strong{color:#2c5040;font-size:14px;font-weight:650}.channel-caption small{font-size:10px;font-weight:400;color:#8da190}.channel-track{height:9px;border-radius:3px;background:#eef3ea;overflow:hidden}.channel-track>div{height:100%;background:#a8bf87;border-radius:3px;transition:width .4s}.channel-sub{font-size:10px;margin-top:8px}.channel-panel .chart-note{margin-top:auto}.chart-empty{display:flex;align-items:center;justify-content:center;flex:1;min-height:220px;flex-direction:column;text-align:center;color:#82968a}.chart-empty>span{font-size:32px;color:#bed1b5;margin-bottom:15px}.chart-empty strong{font-size:12px}.chart-empty p{font-size:10px;max-width:210px}.cash-panel{display:grid;grid-template-columns:1.1fr 1fr 1fr 1fr;align-items:center;gap:20px}.cash-panel h2{margin:0 0 7px;font-size:15px}.cash-panel>.muted{font-size:10px}.cash-item{display:flex;align-items:center;gap:12px;min-width:0}.cash-item strong{display:block;margin-top:7px;font-size:22px;font-weight:600;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cash-item small{font-size:10px;color:#9bab9d;font-weight:400}.cash-arrow{width:35px;height:35px;border-radius:50%;background:#edf5ed;color:#6b9d72;display:grid;place-items:center;font-size:19px;flex-shrink:0}.cash-arrow.outgoing{background:#f8f2e7;color:#bda371}.cash-net{border-left:1px solid #e8efe6;padding-left:22px}.cash-net strong{color:#26724f}.dashboard-footnote{font-size:10px;color:#95a79b;text-align:center;line-height:1.8;padding:5px 0 0}.priority-panel .paneltitle{margin-bottom:20px}.dashboard td{padding-top:16px;padding-bottom:16px}@media(min-width:1500px){.dashboard{max-width:1550px;margin:auto}.reply-ring{width:142px;height:142px}.stat-number{font-size:40px}}@media(max-width:1150px){.stat-tiles{gap:12px}.stat-tile{padding:18px 16px}.stat-number{font-size:29px}.stat-top{font-size:11px}.stat-icon{width:30px;height:30px}.stat-bottom{font-size:10px}.dashboard-chart-grid{grid-template-columns:1.25fr 1fr}.conversion-axis,.conversion-row{grid-template-columns:70px 1fr 80px;gap:9px}.dashboard .panel{padding:20px}.cash-panel{gap:12px}.cash-item strong{font-size:18px}.cash-arrow{display:none}}@media(max-width:950px){.stat-tiles{grid-template-columns:repeat(2,1fr)}.dashboard-chart-grid{grid-template-columns:1fr}.cash-panel{grid-template-columns:1fr 1fr}.cash-net{border-left:none;padding-left:0}.dashboard-toolbar{align-items:flex-start}.dashboard-update{flex-wrap:wrap;justify-content:flex-end;max-width:210px}.reply-ring{width:110px;height:110px;padding:9px}.reply-ring strong{font-size:24px}.reply-charts{margin-top:20px}}@media(max-width:560px){.dashboard .heading{margin-top:22px}.dashboard .heading h1{font-size:24px}.dashboard .heading .muted{font-size:11px}.dashboard .heading .actions{flex-direction:column;align-items:stretch}.dashboard .heading button{font-size:11px;white-space:nowrap;padding:8px 10px}.dashboard-toolbar{flex-wrap:wrap;gap:10px}.dashboard-update{max-width:none;font-size:10px;justify-content:flex-start}.dashboard-update .muted{font-size:10px}.stat-tiles{gap:10px}.stat-tile{padding:15px 13px}.stat-number{font-size:29px}.stat-icon{width:28px;height:28px}.stat-top{font-size:11px}.stat-bottom{font-size:9px;flex-wrap:wrap;gap:3px}.dashboard .panel{padding:18px 15px}.reply-ring{width:88px;height:88px;padding:7px}.reply-ring strong{font-size:20px}.reply-ring span{font-size:8px}.reply-chart h3{font-size:11px;margin-top:13px}.reply-chart>.muted{font-size:8px}.reply-count{gap:3px;font-size:9px}.reply-count b{font-size:12px}.reply-count i{padding:0 2px}.chart-note{font-size:9px;flex-wrap:wrap}.note-right{margin-left:0;flex-basis:100%}.reply-panel .pill{font-size:9px;padding:5px 8px}.section-kicker{font-size:8px;letter-spacing:1px}.dashboard .paneltitle h2{font-size:15px}.conversion-axis,.conversion-row{grid-template-columns:68px 1fr 77px;gap:8px}.conversion-name{font-size:10px;gap:6px}.conversion-axis{font-size:9px}.conversion-track{height:10px}.conversion-value{font-size:9px;gap:3px}.conversion-value strong{font-size:11px}.cash-panel{gap:22px 10px}.cash-item strong{font-size:20px}.cash-panel>.muted{font-size:9px}.cash-item .muted{font-size:10px}}
.notification-btn{font-size:11px;padding:7px 10px;border-color:#d7e6dd;background:#f7fbf6;white-space:nowrap}.unread-badge{display:inline-block;background:#c8584d;color:white;font-size:10px;min-width:17px;padding:2px 5px;border-radius:12px;margin-left:5px}.unread-badge[hidden]{display:none}.badge.guide-badge{background:#e7f1f7;color:#3a748f}.guidance-card{border:1px solid #dce7e1;border-radius:10px;padding:20px;margin-bottom:15px;background:#fbfdfb}.guidance-card.unread{border-left:4px solid #508fa4;background:#f5fafc}.guidance-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.guidance-message{white-space:pre-wrap;overflow-wrap:anywhere;color:#34594b;font-size:14px;margin:18px 0}.guidance-actions{margin-top:16px}.guidance-result{margin-top:17px;padding:14px 16px;border-radius:7px;background:#eef5e9;font-size:12px}.guidance-result p{white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0}.tabs{flex-wrap:wrap}@media(max-width:700px){.topbar{height:auto;min-height:65px;gap:10px;padding:12px 0;flex-wrap:wrap}.clock{gap:7px;font-size:10px;flex-wrap:wrap}.guidance-card{padding:15px}.guidance-card-head .muted{display:block;margin-top:6px}}
.guidance-title{font-size:16px;margin:18px 0 8px;color:#234d3e;overflow-wrap:anywhere}.guidance-title+.guidance-message{margin-top:8px}.attachment-picker{border:1px dashed #b8cfbf;border-radius:9px;padding:14px;background:#f8fbf7}.attachment-picker input{border:0;background:transparent;padding:0 0 12px;font-size:12px}.attachment-picker input::file-selector-button{font:inherit;border:1px solid #cbdfd1;border-radius:6px;color:#39644b;background:white;padding:8px 13px;cursor:pointer;margin-right:10px}.chosen-attachment{display:flex;align-items:center;gap:8px;font-size:12px;border-top:1px solid #dfe9df;padding:8px 0;margin-top:8px}.chosen-attachment>span{flex:1;overflow-wrap:anywhere;min-width:0}.chosen-attachment small{color:#8ca08d;white-space:nowrap}.guidance-attachments{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:12px;margin:17px 0}.attachment-card{border:1px solid #dae5dd;background:white;border-radius:9px;overflow:hidden;min-width:0}.attachment-preview{height:145px;display:block;background:#edf2ec;border-bottom:1px solid #e4ece5}.attachment-preview img{width:100%;height:100%;object-fit:contain}.attachment-file-icon{padding:18px;font-size:27px;color:#7f9c87;background:#f1f6ef}.attachment-info{padding:12px;display:grid;gap:7px}.attachment-info strong{font-size:12px;overflow-wrap:anywhere}.attachment-download{color:#22664f;font-size:12px;text-decoration:none}.attachment-download:hover{text-decoration:underline}@media(max-width:560px){.guidance-attachments{grid-template-columns:1fr 1fr}.attachment-preview{height:110px}}

/* Roomier multiline notes across customer and finance forms. */
textarea.large-note,dialog textarea[name="note"],textarea[name="notes"]{min-height:140px;line-height:1.7;padding:12px 14px;resize:vertical}
textarea.notearea{min-height:100px;height:100px;line-height:1.7;padding:10px 12px;font-size:13px;resize:vertical}
/* Compact filtering: essentials first, secondary conditions on demand. */
.filter-layout{margin-bottom:22px}.filter-main{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.filter-search{display:flex;align-items:center;flex:1 1 250px;border:1px solid #d6e2dc;border-radius:8px;background:#f9fbf8;min-width:200px}.filter-search>span{font-size:23px;color:#8ba394;padding:0 0 2px 13px;line-height:1}.filter-search input{border:0;background:transparent;padding:11px 12px;font-size:12px;min-width:0}.filter-search:focus-within{outline:2px solid #8abdb1}.filter-search input:focus{outline:0}.filter-quick{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.filter-quick select{width:135px;padding:10px 11px;font-size:12px;background:#fff}.filter-buttons{display:flex;align-items:center;gap:6px}.filter-buttons button{font-size:12px;padding:10px 15px}.filter-buttons .filter-reset{border-color:transparent;color:#7c9485;background:transparent}.filter-more{margin-top:11px}.filter-more summary{display:flex;align-items:center;gap:7px;list-style:none;width:max-content;color:#6e8779;font-size:11px;padding:5px 0;user-select:none}.filter-more summary::-webkit-details-marker{display:none}.filter-more summary b{display:inline-block;background:#e7f0e5;color:#5e7c5e;font-size:10px;border-radius:12px;padding:1px 6px;margin-left:6px;font-weight:500}.filter-chevron{display:inline-block;font-size:14px;transition:transform .15s}.filter-more[open] .filter-chevron{transform:rotate(180deg)}.filter-advanced{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px;padding:16px;margin-top:6px;background:#f7faf6;border:1px solid #e8efe6;border-radius:9px}.filter-advanced label{font-size:11px;margin-bottom:7px;color:#819484}.filter-advanced select{font-size:12px;padding:9px 11px}.filter-applied{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:12px;padding-top:12px;border-top:1px solid #edf2e9}.filter-applied>span{font-size:10px;color:#97a79b;margin-right:2px}.filter-chip{display:flex;align-items:center;gap:9px;font-size:10px;padding:5px 9px;background:#eff5eb;border:1px solid #dfe9d8;color:#54735b;border-radius:6px;max-width:100%;overflow-wrap:anywhere;text-align:left}.filter-chip>span{font-size:14px;line-height:1;color:#91a08b}.filter-chip:hover{background:#e6efdf}@media(max-width:1100px){.filter-advanced{grid-template-columns:repeat(3,minmax(0,1fr))}.filter-quick select{width:120px}}@media(max-width:700px){.filter-search{flex-basis:100%;min-width:0}.filter-quick{flex:1;gap:7px}.filter-quick select{width:auto;min-width:100px;flex:1}.filter-advanced{grid-template-columns:repeat(2,minmax(0,1fr))}.filter-buttons button{padding:9px 12px}.filter-layout{margin-bottom:18px}}@media(max-width:420px){.filter-quick{flex-basis:100%}.filter-quick select{min-width:0;width:30%;font-size:11px}.filter-buttons{margin-left:auto}.filter-advanced{gap:10px;padding:12px}}
.manual-group-numbers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;padding:4px 0 21px}.manual-group-numbers>div{padding:14px 18px;border-radius:9px;background:#f4f8f1}.manual-group-numbers>div:nth-child(2){background:#fbf6ef}.manual-group-numbers strong{display:block;font-size:29px;line-height:1.4;font-weight:650;color:#2f674e;margin-top:8px;font-variant-numeric:tabular-nums}.manual-group-numbers>div:nth-child(2) strong{color:#a2885c}.manual-group-numbers strong small{font-size:11px;color:#91a38e;font-weight:400}.manual-group-note{display:block;white-space:pre-wrap;overflow-wrap:anywhere;max-width:260px}.manual-group-panel .help{font-size:11px}.manual-group-panel .paneltitle{gap:12px}.manual-group-panel .paneltitle h2{line-height:1.6}@media(max-width:560px){.manual-group-numbers{gap:9px}.manual-group-numbers>div{padding:10px}.manual-group-numbers strong{font-size:24px}.manual-group-numbers .muted{font-size:10px}.manual-group-panel .paneltitle button{font-size:11px;padding:8px;white-space:nowrap}.manual-group-panel .paneltitle h2 .badge{display:block;width:max-content}}
.category-mapping-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.category-mapping-item{padding:16px;border:1px solid #e0e9df;border-radius:9px;background:#f8fbf6}.category-mapping-item strong{display:block;color:#3c674b;font-size:13px;margin-bottom:12px}.category-mapping-item>div{display:flex;gap:12px;flex-wrap:wrap}.category-mapping-item label{display:flex;align-items:center;gap:4px;margin:0;font-size:12px;cursor:pointer}.category-mapping-item input{width:auto;accent-color:#236e51}@media(max-width:900px){.category-mapping-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.manual-group-panel .paneltitle{align-items:flex-start;flex-wrap:wrap}.manual-group-panel .paneltitle .actions{flex-wrap:wrap}.category-mapping-grid{gap:10px}.category-mapping-item{padding:13px}}
.computed-group{display:block;padding:15px;background:#fbf1d9;border-radius:8px;font-size:22px;font-weight:650;color:#89651e;min-height:60px}.manual-group-numbers>div:nth-child(3){background:#e8f3ed}
.manual-group-panel .tablewrap{position:relative}.manual-group-panel table th:first-child,.manual-group-panel table td:first-child{position:sticky;left:0;background:#fff;z-index:1;min-width:140px}.manual-group-panel table th:first-child{background:#f5f8f6;z-index:2}.manual-group-panel table th:last-child,.manual-group-panel table td:last-child{position:sticky;right:0;background:#fff;z-index:1;box-shadow:-5px 0 8px -8px #547464;min-width:120px}.manual-group-panel table th:last-child{background:#f5f8f6;z-index:2}.manual-group-panel tbody tr:last-child td{background:#edf5e9;font-weight:600}.manual-group-panel .tablewrap th{padding:13px 14px}.manual-group-panel .tablewrap td{padding:14px}

/* Compact six-metric overview. */
.dashboard .stat-tiles{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-bottom:18px}
.dashboard .stat-tile{padding:15px 16px;border-radius:10px;min-width:0}
.dashboard .stat-top{font-size:12px;gap:5px}
.dashboard .stat-icon{width:28px;height:28px;border-radius:8px}
.dashboard .stat-icon svg{width:17px;height:17px}
.dashboard .stat-number{font-size:29px;line-height:1.25;margin:8px 0 10px;letter-spacing:-.6px}
.dashboard .stat-bottom{font-size:10px;gap:4px;flex-wrap:wrap}
.dashboard .primary-tile:after{width:95px;height:95px;border-width:15px;bottom:-38px;right:-22px}
@media(max-width:1200px){.dashboard .stat-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:560px){.dashboard .stat-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.dashboard .stat-tile{padding:12px 14px}.dashboard .stat-number{font-size:26px;margin:6px 0 8px}}
.entry-section{font-size:13px;margin:5px 0 0;padding:10px 0;border-bottom:1px solid #e1e9df;color:#68816c;font-weight:600}

.group-stats-heading{font-size:14px;color:#426451;font-weight:600;margin:2px 0 10px}
.field-history{margin-top:8px}.field-history>summary{display:flex;align-items:center;gap:7px;width:max-content;padding:5px 0;color:#47755b;font-size:11px}.field-history>summary>span{padding:1px 6px;border-radius:10px;color:#809980;background:#edf3e9;font-size:10px}.field-history-list{margin-top:6px;border:1px solid #e0e8dc;border-radius:8px;background:#f9fcf7;padding:0 13px;max-height:420px;overflow-y:auto}.field-history-entry{padding:14px 0;border-bottom:1px solid #e3ebdf}.field-history-entry:last-child{border-bottom:0}.history-entry-head{display:flex;justify-content:space-between;gap:10px;align-items:baseline;flex-wrap:wrap;font-size:11px;color:#74907b}.history-entry-head strong{color:#3e624b;font-weight:600}.history-occurred{font-size:10px;color:#8da08d;margin:4px 0 10px}.history-change{display:grid;grid-template-columns:1fr 1fr;gap:7px 12px;margin-top:10px;min-width:0}.history-change-label{grid-column:1/-1;font-size:10px;color:#6f8875}.history-before,.history-after{min-width:0;padding:10px 12px;border-radius:6px;background:#f0f3ec}.history-after{background:#eaf2e5}.history-change small{font-size:10px;color:#82947e}.history-change p{font-size:12px;margin:5px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;color:#38563f}.history-event-note{font-size:11px;white-space:pre-wrap;overflow-wrap:anywhere;color:#6c806b}.history-nochanges{padding:17px 0;color:#8a9a85;font-size:11px}.timeline .history-change{max-width:850px;margin-bottom:12px}@media(max-width:560px){.history-change{grid-template-columns:1fr}.history-change-label{grid-column:1}.field-history-list{padding:0 10px}}
.followup-record{padding:12px 14px;background:#f0f6eb;border-radius:7px;margin-top:10px}.followup-state{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.followup-state strong{font-size:11px;font-weight:500;color:#607a61}.followup-content{font-size:13px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;color:#35533d;margin:9px 0 0}.timeline .followup-record{max-width:850px}

/* Integrated scope and freshness toolbar. */
.dashboard .scope-toolbar{background:#fff;border:1px solid #e0e8e0;border-radius:10px;padding:14px 18px;gap:16px;margin-bottom:16px}
.scope-context{display:flex;gap:13px;align-items:center;min-width:0}
.scope-context-icon{width:39px;height:39px;flex-shrink:0;display:grid;place-items:center;background:#eef5e9;border-radius:10px;color:#71916d}
.scope-context-body{min-width:0}.scope-toolbar .scope-control{gap:11px;flex-wrap:wrap}
.scope-toolbar .scope-control label{margin:0;color:#7f9582;font-size:11px}
.scope-toolbar .scope-control select{width:auto;min-width:130px;max-width:260px;padding:5px 27px 5px 10px;border:1px solid #deeadc;border-radius:6px;background:#f5f9f2;color:#315e42;font-size:12px;font-weight:600}
.scope-description{margin:6px 0 0;color:#94a18f;font-size:10px;line-height:1.5}
.scope-toolbar .dashboard-update{max-width:none;font-size:10px;color:#91a08e;gap:7px;flex-shrink:0}
.scope-toolbar .scope-refresh{margin-left:5px;border-left:1px solid #e4ebdf;border-radius:0;padding-left:12px;color:#5c7e5b}
@media(max-width:850px){.dashboard .scope-toolbar{padding:12px 14px;align-items:center}.scope-toolbar .dashboard-update{flex-shrink:1;justify-content:flex-end}.scope-toolbar .dashboard-update>span:not(.dot){max-width:150px;line-height:1.6}}
@media(max-width:560px){.dashboard .scope-toolbar{gap:11px;align-items:flex-start}.scope-context{gap:10px;flex-basis:100%}.scope-toolbar .dashboard-update{justify-content:flex-start;margin-left:49px;max-width:none}.scope-toolbar .dashboard-update>span:not(.dot){max-width:none}.scope-toolbar .scope-control select{max-width:210px}.scope-description{font-size:10px}}

.business-field-history{margin-top:8px;font-size:12px;color:#89651e}.business-field-history summary{cursor:pointer}.business-field-history>div{max-height:220px;overflow:auto;margin-top:8px;background:#fffbf2;border:1px solid #eee0bd;border-radius:8px;padding:8px}.business-history-row{display:grid;grid-template-columns:1fr auto;gap:5px;padding:8px;border-bottom:1px solid #eee0bd}.business-history-row small{grid-column:1/-1;color:#81908a}

#businessHistoryButton{margin-left:auto;margin-right:12px;order:1}#modal header #closeModal{order:2}.business-history-panel[hidden]{display:none}.business-history-panel{padding:18px;background:#fffbf2;border:1px solid #eadbb8;border-radius:12px}.entry-history-heading,.entry-history-card header{display:flex;align-items:center;justify-content:space-between;gap:12px}.entry-history-filters{display:flex;gap:8px;margin:12px 0}.entry-history-filters button{padding:6px 14px;font-size:13px;border-radius:20px;background:white}.entry-history-filters button.active{background:#89651e;color:white;border-color:#89651e}.entry-history-list{max-height:350px;overflow:auto;display:grid;gap:12px}.entry-history-card{padding:14px;background:white;border:1px solid #eee5d2;border-radius:10px}.entry-history-card header{padding:0!important;margin-bottom:12px;font-size:13px}.entry-history-card header span{color:#81908a;font-size:11px}.entry-history-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 20px}.entry-history-values>div{display:flex;justify-content:space-between;gap:10px;font-size:13px}.entry-history-values span{color:#71857e}.entry-history-values strong{color:#89651e}

.reply-entry-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:start}.reply-entry-row .computed-group{min-height:44px;padding:10px 14px;font-size:18px}.reply-entry-row>div{min-width:0}@media(max-width:600px){.reply-entry-row{grid-template-columns:1fr}}

input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type="number"]{-moz-appearance:textfield;appearance:textfield}

.configurable-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.daily-config-fields{grid-template-columns:repeat(4,minmax(0,1fr))}.configurable-fields>[hidden]{display:none!important}.configurable-fields>div{min-width:0}.configurable-fields .computed-group{min-height:44px;padding:10px 14px;font-size:18px}.config-field-list{display:grid;gap:10px;margin:16px 0 24px}.config-field-row{display:flex;align-items:center;gap:8px}.config-field-row>input{flex:1;min-width:0}.config-field-row label{display:flex;align-items:center;gap:4px;white-space:nowrap;margin:0}.config-field-row input[type=checkbox]{width:auto}.config-field-row button{padding:8px 12px}@media(max-width:650px){.configurable-fields,.daily-config-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.config-field-row{flex-wrap:wrap}}

.datetime-control{cursor:pointer}.datetime-picker{width:min(420px,calc(100vw - 32px));padding:22px;border:1px solid #d8e3de;border-radius:16px;box-shadow:0 18px 80px #143c3433;color:#21413d}.datetime-picker::backdrop{background:#143c3440}.dt-heading,.dt-month{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.dt-heading button,.dt-month button{padding:5px 12px}.dt-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;text-align:center}.dt-calendar>span{padding:6px;color:#81918a;font-size:12px}.dt-calendar button{padding:8px 0;border:0;background:transparent}.dt-calendar button.selected{background:#176e60;color:white;border-radius:8px}.dt-calendar button:hover{background:#edf3ec;color:#21413d}.dt-clock{display:flex;gap:15px;margin:20px 0}.dt-clock label{display:flex;align-items:center;gap:8px;flex:1}.dt-clock select{padding:8px;min-width:0}.dt-actions{display:flex;align-items:center;gap:8px;border-top:1px solid #e4ebe6;padding-top:16px}.dt-actions>span{flex:1}.dt-actions button{padding:9px 14px}

.dt-actions{flex-wrap:wrap}.dt-actions button{padding:8px 10px}.dt-heading strong{font-size:15px}

.dictionary-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 22px}.dictionary-tabs button{border-radius:9px;padding:10px 18px;background:#f5f8f5;color:#667e75;border:1px solid #e0e8e1}.dictionary-tabs button.active{background:#176e60;color:white;border-color:#176e60}.dictionary-tabs button span{margin-left:7px;font-size:11px;opacity:.7}.dictionary-tabs button:disabled{opacity:.4;cursor:default}

#materialTitleField[hidden],#materialFilesField[hidden]{display:none!important}.material-media-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:12px 0}.material-media-card{border:1px solid #e0e8e1;border-radius:12px;overflow:hidden}.material-media-card img,.material-media-card video{display:block;width:100%;height:200px;object-fit:contain;background:#f3f6f3}.material-media-card>div{display:flex;flex-direction:column;gap:5px;padding:12px;font-size:13px;overflow-wrap:anywhere}.material-copy p{white-space:pre-wrap;line-height:1.8}@media(max-width:600px){.material-media-grid{grid-template-columns:1fr}}

.material-selection-status{padding:10px 14px;background:#edf5ef;color:#286b53;border-radius:8px;font-size:13px}

.employee-summary-list{display:grid;gap:24px}.employee-summary-card{border:1px solid #e0e8e3;border-radius:14px;padding:24px;background:#fff}.employee-summary-head{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-bottom:20px;border-bottom:1px solid #e4ebe5}.employee-summary-head h3{margin:0 0 7px;font-size:18px}.employee-summary-head h3 span{font-size:14px;font-weight:400}.summary-category{margin-top:22px}.summary-category h3{font-size:14px;color:#68816c;border-bottom:1px solid #e4ebe5;padding-bottom:12px;margin:0 0 16px}.summary-metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px 18px}.summary-metric{min-width:0}.summary-metric>span{display:block;font-size:13px;color:#70867d;margin-bottom:9px}.summary-metric>strong{display:block;padding:13px 15px;background:#f6f8f5;border:1px solid #e5ebe4;border-radius:10px;font-size:23px;font-weight:600;color:#24483e;min-height:58px}.summary-metric.computed>strong{background:#fbf1d9;border-color:#fbf1d9;color:#89651e}.summary-note{margin-top:20px;font-size:13px;color:#70867d}.summary-note p{white-space:pre-wrap;margin:8px 0 0;color:#24483e}.summary-total{margin-top:22px;padding:16px;background:#f7f9f6;border-radius:12px}.summary-total>summary{cursor:pointer;color:#476b58;font-weight:600}@media(max-width:800px){.summary-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.employee-summary-card{padding:16px}.employee-summary-head{align-items:flex-start}}

.business-ratio-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.business-ratio-item{background:#f7f9f5;border:1px solid #e7ece3;border-radius:12px;padding:18px;min-width:0}.business-ratio-item>span{display:block;color:#72867c;font-size:13px}.business-ratio-item>strong{display:block;color:#285b47;font-size:28px;margin:12px 0}.business-ratio-item small{color:#86978d;font-size:12px}.business-ratio-track{height:6px;background:#e7ede3;border-radius:9px;overflow:hidden;margin-bottom:10px}.business-ratio-track i{display:block;height:100%;background:#70a185;border-radius:9px}.business-ratio-panel>.muted{font-size:13px}@media(max-width:800px){.business-ratio-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.refined-ratios .paneltitle{margin-bottom:22px}.ratio-base{font-size:12px;color:#81938b;white-space:nowrap}.ratio-base strong{font-size:16px;color:#31594a;margin:0 4px}.ratio-family{margin-top:24px}.ratio-family h3{display:flex;align-items:center;gap:10px;color:#637e71;font-size:13px;font-weight:600;margin:0 0 12px}.ratio-family h3:after{content:'';height:1px;flex:1;background:#edf0eb}.ratio-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.ratio-compact-card{min-width:0;border:1px solid #e8eee7;background:#fafbf9;border-radius:12px;padding:17px 18px}.ratio-card-label{font-size:12px;color:#758b80;line-height:1.5}.ratio-card-number{font-size:30px;font-weight:650;letter-spacing:-1px;color:#285b48;margin:10px 0 7px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;line-height:1.2}.ratio-card-number small{font-size:14px;font-weight:500;margin-left:4px;letter-spacing:0;color:#849a8b}.ratio-card-caption{font-size:11px;color:#9aa99e}.ratio-card-caption strong{font-weight:500;color:#70877a}.ratio-cumulative{background:#fffcf4;border-color:#f0e8d6}.ratio-cumulative .ratio-card-number{color:#947130}.ratio-cumulative .ratio-card-number small{color:#b5a47f}.ratio-footnote{border-top:1px solid #edf0eb;margin-top:23px;padding-top:13px;font-size:11px;color:#91a097}@media(max-width:800px){.ratio-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.refined-ratios .paneltitle{align-items:flex-start;gap:8px;flex-wrap:wrap}.ratio-compact-card{padding:14px}.ratio-card-number{font-size:27px}}

/* Clear, neutral palette for business percentage cards. */
.refined-ratios{background:#f8fafc;border-color:#dce3eb}
.refined-ratios h2{color:#243449}
.refined-ratios .section-kicker{color:#68798c}
.refined-ratios .ratio-family h3{color:#40536b;font-size:14px}
.refined-ratios .ratio-family h3:after{background:#dce3eb}
.refined-ratios .ratio-compact-card{background:#fff;border-color:#dce3eb;box-shadow:0 1px 2px #24344905}
.refined-ratios .ratio-card-label{color:#48596d;font-size:13px}
.refined-ratios .ratio-card-number{color:#243b57}
.refined-ratios .ratio-card-number small{color:#526780}
.refined-ratios .ratio-card-caption,.refined-ratios .ratio-card-caption strong{color:#56677c}
.refined-ratios .ratio-cumulative{background:#edf3fb;border-color:#cddced}
.refined-ratios .ratio-cumulative .ratio-card-number{color:#28538b}
.refined-ratios .ratio-cumulative .ratio-card-number small{color:#4e6e98}
.refined-ratios .ratio-footnote{color:#627389;border-color:#dce3eb}
.refined-ratios .ratio-base{color:#56677c}
.refined-ratios .ratio-base strong{color:#243b57}

.refined-ratios{background:#f5f4f0;border-color:#dedbd4}.refined-ratios h2{color:#353530}.refined-ratios .section-kicker{color:#78776f}.refined-ratios .ratio-family h3{color:#5d5c54}.refined-ratios .ratio-family h3:after{background:#dfddd6}.refined-ratios .ratio-compact-card,.refined-ratios .ratio-cumulative{background:#fdfcf8;border-color:#e1ded6;box-shadow:none}.refined-ratios .ratio-card-label{color:#66645b;font-size:13px;line-height:1.5}
.ratio-primary-data{display:flex;align-items:baseline;gap:9px;margin:15px 0 12px;font-variant-numeric:tabular-nums;flex-wrap:wrap}.ratio-primary-data>strong{font-size:30px;line-height:1.2;font-weight:600;letter-spacing:-.6px;color:#34352f}.ratio-primary-data .ratio-divider{font-size:20px;font-weight:300;color:#a19c90}.ratio-primary-data .ratio-denominator{font-size:23px;font-weight:450;color:#626259}.ratio-primary-data>small{font-size:11px;color:#77746a}.ratio-secondary-percent{display:flex;align-items:center;gap:7px;font-size:12px;color:#7a776e}.ratio-secondary-percent:before{content:'';width:5px;height:5px;border-radius:50%;background:#b7a472;flex:none}.ratio-secondary-percent strong{font-size:13px;font-weight:500;color:#666154;font-variant-numeric:tabular-nums}.refined-ratios .ratio-footnote{color:#78766c;border-color:#dfddd6}.refined-ratios .ratio-base{color:#706e64}.refined-ratios .ratio-base strong{color:#45463d}

/* Compact overview sized for common 15-inch laptop viewports. */
.refined-ratios{padding:20px 24px}
.refined-ratios .paneltitle{margin-bottom:12px;gap:12px}
.refined-ratios h2{font-size:20px;margin:3px 0 0}
.refined-ratios .section-kicker{font-size:9px;letter-spacing:1.5px}
.refined-ratios .ratio-family{margin-top:12px}
.refined-ratios .ratio-family h3{font-size:12px;margin:0 0 7px;line-height:18px}
.refined-ratios .ratio-card-grid{gap:7px 10px;grid-template-columns:repeat(4,minmax(0,1fr))}
.refined-ratios .ratio-compact-card{padding:9px 12px;border-radius:8px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:8px}
.refined-ratios .ratio-card-label{grid-column:1/-1;font-size:11px;line-height:16px;margin-bottom:4px}
.refined-ratios .ratio-primary-data{margin:0;gap:5px;flex-wrap:nowrap;min-width:0}
.refined-ratios .ratio-primary-data>strong{font-size:21px;letter-spacing:-.3px}
.refined-ratios .ratio-primary-data .ratio-divider{font-size:15px}
.refined-ratios .ratio-primary-data .ratio-denominator{font-size:16px}
.refined-ratios .ratio-primary-data>small{font-size:9px}
.refined-ratios .ratio-secondary-percent{font-size:10px;gap:4px;white-space:nowrap}
.refined-ratios .ratio-secondary-percent strong{font-size:11px}
.refined-ratios .ratio-secondary-percent:before{display:none}
.refined-ratios .ratio-footnote{margin-top:12px;padding-top:9px;font-size:10px;line-height:16px}
@media(min-width:1100px){.refined-ratios .ratio-family:first-of-type .ratio-card-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.refined-ratios .ratio-family:first-of-type .ratio-compact-card{padding:9px}.refined-ratios .ratio-family:first-of-type .ratio-secondary-percent{grid-column:1/-1;margin-top:3px}.refined-ratios .ratio-family:first-of-type .ratio-primary-data{grid-column:1/-1}}
@media(max-width:800px){.refined-ratios{padding:16px}.refined-ratios .ratio-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.refined-ratios .ratio-compact-card{padding:10px}.refined-ratios .ratio-secondary-percent{grid-column:1/-1;margin-top:4px}}

.refined-ratios .ratio-compact-card{display:flex;align-items:center;gap:10px;padding:10px 12px}.ratio-mini-ring{width:52px;height:52px;flex:0 0 52px;border-radius:50%;background:conic-gradient(#8d9c8c var(--ring-value),#e7e6df 0);display:grid;place-items:center;position:relative}.ratio-mini-ring:before{content:'';position:absolute;inset:4px;border-radius:50%;background:#fdfcf8}.ratio-mini-ring>span{position:relative;font-size:11px;font-weight:600;color:#575e50;font-variant-numeric:tabular-nums;letter-spacing:-.3px}.ratio-mini-ring small{font-size:8px;margin-left:1px}.ratio-ring-body{min-width:0;flex:1}.refined-ratios .ratio-ring-body .ratio-card-label{font-size:11px;margin-bottom:5px;line-height:15px}.refined-ratios .ratio-ring-body .ratio-primary-data{gap:4px;flex-wrap:wrap}.refined-ratios .ratio-ring-body .ratio-primary-data>strong{font-size:21px}.refined-ratios .ratio-ring-body .ratio-primary-data .ratio-denominator{font-size:15px}.refined-ratios .ratio-ring-body .ratio-primary-data>small{font-size:9px}@media(min-width:1100px){.refined-ratios .ratio-family:first-of-type .ratio-compact-card{gap:7px;padding:9px}.refined-ratios .ratio-family:first-of-type .ratio-mini-ring{width:44px;height:44px;flex-basis:44px}.refined-ratios .ratio-family:first-of-type .ratio-ring-body .ratio-primary-data>strong{font-size:19px}}

.ratio-mini-ring{overflow:hidden}.ratio-mini-ring>span{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;max-width:calc(100% - 12px);font-size:var(--ring-font,9px);line-height:1.15;letter-spacing:-.25px;text-align:center}.ratio-mini-ring>span>b{font-size:inherit;font-weight:600;white-space:nowrap;max-width:100%}.ratio-mini-ring>span small{display:block;font-size:7px;line-height:1;margin:0;font-weight:400}.refined-ratios .ratio-ring-body .ratio-primary-data>strong{font-size:18px}.refined-ratios .ratio-ring-body .ratio-primary-data .ratio-denominator{font-size:13px}

.ratio-list-panel .ratio-family{margin-top:16px}.ratio-list-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:28px;row-gap:0}.ratio-list-row{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(64px,auto);gap:14px;align-items:center;min-height:41px;border-bottom:1px solid #e8e6de;padding:8px 2px;font-variant-numeric:tabular-nums}.ratio-list-label{font-size:12px;color:#66645b;line-height:1.5}.ratio-list-data{font-size:12px;white-space:nowrap;color:#858176}.ratio-list-data strong{font-size:17px;font-weight:600;color:#36372f}.ratio-list-percent{text-align:right;color:#797367;font-size:11px;font-weight:400;white-space:nowrap}.ratio-list-panel .ratio-family h3{margin-bottom:3px;font-size:12px}@media(min-width:1400px){.ratio-list-grid{grid-template-columns:repeat(4,minmax(0,1fr));column-gap:22px}.ratio-list-row{gap:8px;grid-template-columns:minmax(0,1fr) auto}.ratio-list-percent{grid-column:2;grid-row:2;font-size:10px}.ratio-list-label{grid-row:1/3}.ratio-list-data{grid-column:2;text-align:right}.ratio-list-row{row-gap:1px;min-height:44px}}@media(max-width:650px){.ratio-list-grid{grid-template-columns:1fr}.ratio-list-row{gap:10px}}

/* Prioritize readable metric names over numeric decoration. */
.ratio-list-panel .ratio-list-label{font-size:14px;font-weight:500;color:#514f47}
.ratio-list-panel .ratio-list-data{font-size:11px}
.ratio-list-panel .ratio-list-data strong{font-size:14px;font-weight:500}
.ratio-list-panel .ratio-list-percent{font-size:11px;font-weight:400}
.ratio-list-panel .ratio-family h3{font-size:14px}

.ratio-list-panel .ratio-tone-low,.ratio-tone-low{color:#ae514a}.ratio-list-panel .ratio-tone-middle,.ratio-tone-middle{color:#36785b}.ratio-list-panel .ratio-tone-high,.ratio-tone-high{color:#946f28}.ratio-color-legend{display:flex;gap:24px;flex-wrap:wrap;font-size:13px}.ratio-rule-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;background:#f7f6f2;padding:18px;border-radius:12px}.ratio-rule-preview>div{display:flex;flex-direction:column;gap:10px}.ratio-rule-preview span{font-size:12px}.ratio-rule-preview strong{font-size:15px;font-weight:550}.ratio-rule-enabled{display:flex;align-items:center;gap:8px}.ratio-rule-enabled input{width:auto}@media(max-width:600px){.ratio-rule-preview{grid-template-columns:1fr}}

.minimal-business-ratios{background:#fff;border-color:#e4e4e1;padding:20px 24px;color:#44443f}.minimal-ratio-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding-bottom:14px;border-bottom:1px solid #dfdfda}.minimal-ratio-heading h2{font-size:20px;margin:0;color:#373733}.minimal-ratio-heading>span{font-size:11px;color:#777770}.minimal-ratio-heading strong{font-weight:500;color:#4c4c46}.minimal-ratio-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 36px;margin-top:18px}.minimal-ratio-group{min-width:0}.minimal-ratio-group h3{font-size:14px;font-weight:600;margin:0 0 6px;padding-bottom:8px;border-bottom:1px solid #dcdcd6;color:#505049}.minimal-ratio-table{width:100%;border-collapse:collapse;table-layout:fixed;margin:0;background:#fff}.minimal-ratio-table th,.minimal-ratio-table td{border:0!important;border-bottom:1px solid #eeeeea!important;background:#fff!important;padding:9px 0!important;white-space:normal;position:static!important;box-shadow:none!important}.minimal-ratio-table thead th{font-size:10px;font-weight:400;color:#898981;text-align:right}.minimal-ratio-table thead th:first-child{text-align:left;width:49%}.minimal-ratio-table thead th:nth-child(2){width:29%}.minimal-ratio-table tbody th{text-align:left;font-size:13px;font-weight:500;color:#4d4d46;line-height:1.5}.minimal-ratio-table td{text-align:right;vertical-align:middle;font-variant-numeric:tabular-nums}.minimal-ratio-table td:nth-child(2){font-size:11px;color:#888880}.minimal-ratio-table td:nth-child(2) strong{font-size:13px;font-weight:500;color:#46463f}.minimal-ratio-table td:last-child{font-size:11px;color:#77776d}.minimal-ratio-note{margin:18px 0 0;border-top:1px solid #e8e8e3;padding-top:11px;font-size:10px;color:#86867e;line-height:1.5}@media(max-width:750px){.minimal-business-ratios{padding:16px}.minimal-ratio-groups{grid-template-columns:1fr;gap:20px}.minimal-ratio-heading{align-items:flex-start;flex-direction:column;gap:6px}}

.minimal-ratio-table th:nth-child(2),.minimal-ratio-table td:nth-child(2){white-space:nowrap!important}
.minimal-ratio-table td:nth-child(2) strong,.minimal-ratio-table td:nth-child(2) span{display:inline!important;white-space:nowrap}
.minimal-ratio-table tbody td:last-child{font-size:13px;font-weight:500;color:#606058;white-space:nowrap}
.minimal-ratio-table thead th:first-child{width:45%}.minimal-ratio-table thead th:nth-child(2){width:32%}

.minimal-ratio-table tbody td:nth-child(2),.minimal-ratio-table tbody td:nth-child(2) strong,.minimal-ratio-table tbody td:nth-child(2) span{color:#55554e}
.minimal-ratio-table tbody td:last-child{color:#527186}

/* Clear hierarchy between category headings, column headers and values. */
.minimal-ratio-group h3{font-size:15px;font-weight:600;color:#444840;padding-bottom:10px;margin-bottom:0}
.minimal-ratio-table thead th{font-size:12px;font-weight:600;color:#5a6159;padding:11px 0!important;border-bottom:1px solid #d9ddd5!important;line-height:1.5}
.minimal-ratio-table tbody th,.minimal-ratio-table tbody td{padding:10px 0!important}
.minimal-ratio-heading>span{font-size:12px;color:#686e64}

/* Five light module cards; preserve the clean three-column tables. */
.minimal-ratio-groups{gap:16px;margin-top:18px;align-items:start}
.minimal-ratio-group{border:1px solid #e0e3dc;border-radius:10px;padding:15px 18px;background:#fff;overflow:hidden}
.minimal-ratio-group h3{border-bottom:1px solid #dde2d8;padding-bottom:11px;margin:0;color:#444c40}
.minimal-ratio-table tbody tr:last-child th,.minimal-ratio-table tbody tr:last-child td{border-bottom:0!important}
@media(max-width:750px){.minimal-ratio-group{padding:13px 15px}.minimal-ratio-groups{gap:14px}}

/* Subtle category tints, with one consistent readable text palette. */
.minimal-ratio-group:nth-child(1){--module-bg:#f3f6f1;--module-line:#dce4d7}
.minimal-ratio-group:nth-child(2){--module-bg:#f2f5f8;--module-line:#dbe2e9}
.minimal-ratio-group:nth-child(3){--module-bg:#f8f5ef;--module-line:#e7e0d4}
.minimal-ratio-group:nth-child(4){--module-bg:#f5f3f8;--module-line:#e1ddea}
.minimal-ratio-group:nth-child(5){--module-bg:#f0f6f5;--module-line:#d8e5e1}
.minimal-ratio-group{background:var(--module-bg,#fff);border-color:var(--module-line,#e0e3dc)}
.minimal-ratio-group h3{border-color:var(--module-line)}
.minimal-ratio-group .minimal-ratio-table,.minimal-ratio-group .minimal-ratio-table th,.minimal-ratio-group .minimal-ratio-table td{background:transparent!important}
.minimal-ratio-group .minimal-ratio-table thead th{border-bottom-color:var(--module-line)!important}

/* Project palette: deep emerald, champagne accents, warm neutral surfaces. */
:root{--green:#08604c;--muted:#718078;--brand-forest:#003d30;--brand-gold:#c5a25f;background:#f4f5f1;color:#293e35}
body{background:#f4f5f1}
.sidebar,.loginhero{background:#003d30;color:#d8e3da}
.sidebar .brand,.loginhero .brand{color:#f4f2e9}
.brand b{background:linear-gradient(135deg,#ead6a0,#c49c50);color:#123d2c}
.sidebar .nav{color:#b9cdc0}
.sidebar .nav:hover{background:#174e3e;color:#fff8e7}
.sidebar .nav.active{background:#225b46;color:#fff5dc;box-shadow:inset 3px 0 #d1b575}
button.primary{background:#08604c;border-color:#08604c;color:#fff}
button.primary:hover{background:#064d3d;border-color:#064d3d}
button:hover{background:#f0f4ec}
input:focus,select:focus,textarea:focus{outline-color:#8eaf99}
h1,h2{color:#243e31}
.panel{border-color:#dfe5db}
.pill{background:#f0f2e8;color:#5a7054}
.section-kicker{color:#7e8d7c}
.dashboard .primary-tile{background:linear-gradient(125deg,#064b39,#17634c);color:#fff}
.dashboard .primary-tile .stat-number{color:#fff7df}
.dashboard .primary-tile .stat-top,.dashboard .primary-tile .stat-bottom{color:#d6e4d5}
.dashboard .primary-tile .stat-icon{background:#ffffff15;color:#dec88d}
.scope-toolbar{background:#fffefb;border-color:#dde4d8}
.scope-context-icon{background:#edf2e8;color:#396b4e}
.dictionary-tabs button.active{background:#135b44;border-color:#135b44;color:#fff6df}
.minimal-business-ratios{background:#fffefb;border-color:#dee4d8}
.minimal-ratio-heading h2{color:#284331}
.minimal-ratio-group:nth-child(1){--module-bg:#f0f5ed;--module-line:#dce5d5}
.minimal-ratio-group:nth-child(2){--module-bg:#edf5f0;--module-line:#d7e5db}
.minimal-ratio-group:nth-child(3){--module-bg:#f8f5ec;--module-line:#e9e0ca}
.minimal-ratio-group:nth-child(4){--module-bg:#f1f4eb;--module-line:#dfe5d1}
.minimal-ratio-group:nth-child(5){--module-bg:#edf3ef;--module-line:#d8e3dc}
.minimal-ratio-group h3{color:#36553c}
.minimal-ratio-table thead th{color:#53634e}
.minimal-ratio-table tbody th{color:#4b5546}
.minimal-ratio-table tbody td:nth-child(2),.minimal-ratio-table tbody td:nth-child(2) strong,.minimal-ratio-table tbody td:nth-child(2) span{color:#51594c}
.minimal-ratio-table tbody td:last-child{color:#27664b}

.channel-ranking-panel{grid-column:1/-1;min-width:0}.channel-sort{display:flex;align-items:center;gap:10px}.channel-sort label{white-space:nowrap;margin:0;font-size:12px}.channel-sort select{width:150px;padding:7px 10px}.channel-metric{display:flex;flex-direction:column;gap:4px}.channel-metric strong{font-weight:550;color:#315e49;font-size:13px}.channel-metric small{font-size:10px;color:#7c8980}.channel-ranking-panel table th,.channel-ranking-panel table td{padding:12px 11px}.channel-ranking-panel .chart-note{line-height:1.8}@media(max-width:650px){.channel-ranking-panel .paneltitle{flex-wrap:wrap;gap:10px}}

.cohort-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.cohort-batch-config{margin:22px 0;border-top:1px solid #e1e7df;padding-top:16px}.cohort-batch-config summary{cursor:pointer;color:#4c6957;font-size:13px}.cohort-batch-row{display:grid;grid-template-columns:1fr 1fr 1fr auto;gap:12px;align-items:end;margin:16px 0}.cohort-batch-row>button{margin-bottom:5px}.cohort-batch-date{display:block;color:#7c8b81;font-size:10px;margin-top:5px;white-space:nowrap}.cohort-method{font-size:12px;line-height:1.8;color:#6b7b70;margin-top:20px}.cohort-customer-tabs{margin-bottom:16px;justify-content:flex-start}#cohortCustomerList{min-width:0}@media(max-width:800px){.cohort-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cohort-batch-row{grid-template-columns:1fr 1fr}}

.dashboard-chart-grid:has(>.conversion-panel:only-child){grid-template-columns:minmax(0,1fr)}

.conversion-range-button{cursor:pointer;border:1px solid #dce4d6;font-size:12px;white-space:nowrap}.conversion-range-button:hover{background:#e8efdf}

.conversion-date-controls{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.conversion-date-controls input{width:144px;padding:7px 9px;font-size:12px;background:#fff}.conversion-date-controls>span{font-size:12px;color:#71806c}.conversion-date-controls button{padding:7px 12px;font-size:12px}.conversion-panel>.paneltitle{flex-wrap:wrap;gap:16px}@media(max-width:650px){.conversion-date-controls{justify-content:flex-start}.conversion-date-controls input{width:130px}}

.manual-daily-controls{flex-wrap:wrap;gap:10px}.manual-daily-controls label{margin:0;font-size:12px;white-space:nowrap}.manual-daily-controls input{width:145px;padding:8px 10px;font-size:12px}.manual-daily-note{font-size:11px;line-height:1.8;margin:15px 0 0}

.report-daily-shortcut{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:15px 18px;margin:0 0 22px;background:#fffefb;border:1px solid #dfe5db;border-radius:10px}.report-daily-shortcut label{margin:0;color:#405b46;font-weight:550;font-size:13px}.report-daily-shortcut input{width:150px;padding:8px 10px;font-size:12px}.report-daily-shortcut button{font-size:12px}.report-daily-shortcut>span{font-size:11px;color:#73806e}

.export-summary-only[hidden],.export-daily-only[hidden]{display:none!important}.export-preview{padding:16px;background:#f1f5ed;border:1px solid #dce5d4;border-radius:10px;color:#4b6045}.export-preview strong{font-size:14px}.export-preview p{font-size:12px;margin:9px 0}.export-preview small{font-size:11px;line-height:1.7;color:#6a7b62}

.classification-description{font-size:12px;color:#60705e;line-height:1.8;margin:0 0 18px}.classification-definitions{display:flex;flex-direction:column;gap:7px;border-top:1px solid #e6ebe0;padding-top:14px;margin-top:14px;font-size:11px;line-height:1.7;color:#73806d}.classification-definitions strong{font-weight:550;color:#52684a}

/* Comfortable project palette: restrained emerald, neutral reading surfaces. */
:root{--green:#246653;--muted:#67756f;--brand-forest:#173f35;--brand-gold:#b69a62;color:#303d37;background:#f3f4f1}
body{background:#f3f4f1}
.sidebar,.loginhero{background:#173f35;color:#d8e4de}
.sidebar .nav{color:#c3d3ca}.sidebar .nav:hover{background:#244e41;color:#fff}.sidebar .nav.active{background:#315d4d;color:#fff;box-shadow:inset 3px 0 #c5ad78}
.sidebar small{color:#a4bcb0}.sidefoot{border-color:#365b4d}.sidefoot button{color:#c3d3ca}
.brand b{background:linear-gradient(135deg,#e0d1aa,#bda46e);color:#234438}
.panel,.card,dialog{background:#fff;border-color:#dde3dd}.topbar{color:#63736a;border-color:#dde3dd}
h1,h2{color:#283e32}h3{color:#3d5347}label{color:#52665b}
button{color:#415b4d;border-color:#d5ded7}button:hover{background:#eef2ed}
button.primary{background:#246653;border-color:#246653;color:#fff}button.primary:hover{background:#1b5142;border-color:#1b5142}
input,select,textarea{color:#34473c;border-color:#d4ded6;background:#fff}
input:focus,select:focus,textarea:focus{outline:2px solid #aac4b5;outline-offset:1px}
.filter-search,.filter-advanced{background:#f7f9f6;border-color:#dde5dd}.filter-search:focus-within{outline-color:#aac4b5}
.pill,.badge{background:#edf2ec;color:#4c6956}.badge.gold{background:#f4f0e5;color:#786337}.badge.grey{background:#eef0ee;color:#5f6c64}.badge.red{background:#f8eae7;color:#a04c41}
.tabs button.active{background:#e7efe8;border-color:#a9c1ad;color:#285b40}.dictionary-tabs button.active{background:#315f4d;border-color:#315f4d;color:#fff}
th{background:#f2f5f1;color:#53675a;border-bottom-color:#dce4dc;font-weight:550}td{color:#37483d;border-bottom-color:#e9ede7}tbody tr:hover{background:#f6f8f4}
.help,.export-preview{background:#f2f5ee;color:#56674f;border-color:#dfe6d8}.help strong,.export-preview strong{color:#40553d}
.computed-group{background:#f3f0e7;color:#6d6042}.manual-group-numbers>div{background:#f0f4ee}.manual-group-numbers>div:nth-child(2){background:#f3f0e7}.manual-group-numbers>div:nth-child(3){background:#edf3ef}
.scope-toolbar,.report-daily-shortcut,.minimal-business-ratios{background:#fff;border-color:#dde3dd}
.minimal-ratio-group:nth-child(1){--module-bg:#f2f6f0;--module-line:#dfe7dc}
.minimal-ratio-group:nth-child(2){--module-bg:#eff5f2;--module-line:#dce6df}
.minimal-ratio-group:nth-child(3){--module-bg:#f7f4ed;--module-line:#e7e1d4}
.minimal-ratio-group:nth-child(4){--module-bg:#f3f5ee;--module-line:#e1e5d8}
.minimal-ratio-group:nth-child(5){--module-bg:#f0f4f3;--module-line:#dce5e1}
.minimal-ratio-group h3{color:#3e5547}.minimal-ratio-table thead th{color:#536555}.minimal-ratio-table tbody th{color:#3f5043}
.minimal-ratio-table tbody td:nth-child(2),.minimal-ratio-table tbody td:nth-child(2) strong,.minimal-ratio-table tbody td:nth-child(2) span{color:#5a645d}.minimal-ratio-table tbody td:last-child{color:#326856}
.classification-description{color:#58695e}.classification-definitions{color:#637267}.classification-definitions strong{color:#455e4d}
.manual-group-panel table th:first-child,.manual-group-panel table th:last-child{background:#f2f5f1}.manual-group-panel tbody tr:last-child td{background:#edf2e9}
.dashboard .primary-tile{background:linear-gradient(125deg,#234d3e,#346650)}.dashboard .primary-tile .stat-number{color:#fff}.dashboard .primary-tile .stat-top,.dashboard .primary-tile .stat-bottom{color:#e0e9e1}

/* Navigation grouped by the task a new user wants to complete. */
.sidebar{padding-top:24px;padding-bottom:18px}.sidebar .brand{margin-bottom:18px}
.sidebar-menu{flex:1;min-height:0;overflow-y:auto;margin:0 -5px;padding:0 5px 12px;scrollbar-width:thin;scrollbar-color:#527565 transparent}
.nav-section{margin-bottom:10px}.nav-section>small{margin:12px 14px 5px;letter-spacing:1px;font-size:10px;color:#a4bcb0}
.nav-section .nav{padding:10px 14px;margin:2px 0;font-size:13px}.sidebar .sidefoot{flex-shrink:0;margin-top:10px;padding-top:12px}

.help-images{display:flex;gap:10px;flex-wrap:wrap}.help-images img{width:120px;height:100px;object-fit:contain;border:1px solid #dce4dc;border-radius:8px;background:#f4f6f2}.help-discussion{max-height:280px;overflow:auto}.help-discussion article{padding:12px 0;border-bottom:1px solid #e5ebe3}.help-discussion p{margin:6px 0}.collaboration-tabs{margin-top:0}

/* Customer detail: balanced summary tiles and a full-width section switcher. */
.customer-detail-panel{padding:24px}
.customer-detail-panel .detailstats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) minmax(0,.9fr) minmax(0,1.2fr);gap:14px;margin:0 0 24px}
.customer-detail-panel .detailstats>div{min-width:0;border:1px solid #dfe6df;border-radius:10px;background:#f7f9f6;padding:17px 18px;display:flex;flex-direction:column;justify-content:space-between;gap:12px}
.customer-detail-panel .detailstats .muted{font-size:12px;font-weight:500;color:#5c6d60;line-height:1.5}
.customer-detail-panel .detailstats strong{font-size:24px;line-height:1.3;letter-spacing:-.3px;font-weight:600;color:#304a3a;margin:0;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.customer-detail-panel .detailstats>div:nth-child(3){background:#f2f6f0;border-color:#d8e2d4}
.customer-detail-panel .detailstats .detail-status strong{font-size:17px;letter-spacing:0;font-weight:550;color:#536455}
.customer-detail-panel .detailstats .detail-updated strong{font-size:14px;letter-spacing:0;font-weight:500;color:#526157;line-height:1.7}
.customer-detail-panel>.tabs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;padding:6px;margin:0 0 26px;border:1px solid #e0e6df;background:#f3f6f1;border-radius:10px}
.customer-detail-panel>.tabs button{min-width:0;padding:11px 8px;margin:0;border:1px solid transparent;background:transparent;color:#5c6c60;font-size:13px;line-height:1.5;border-radius:7px;white-space:normal}
.customer-detail-panel>.tabs button:hover{background:#e9efe6;color:#35503c}
.customer-detail-panel>.tabs button.active{background:#fff;border-color:#d5e1d2;color:#2d5a3d;box-shadow:0 1px 3px #203a2510;font-weight:600}
.customer-detail-panel #statusForm>.formgrid{column-gap:24px;row-gap:20px}
.customer-detail-panel label{font-size:13px;color:#4e6253;font-weight:500;margin-bottom:8px}
.heading:has(+.customer-detail-panel){align-items:flex-start}
.heading:has(+.customer-detail-panel)>.actions{justify-content:flex-end;max-width:65%;gap:8px}
@media(max-width:1100px){.customer-detail-panel .detailstats{grid-template-columns:repeat(3,minmax(0,1fr))}.customer-detail-panel .detailstats .detail-updated{grid-column:span 2}}
@media(max-width:700px){.customer-detail-panel{padding:16px}.customer-detail-panel .detailstats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.customer-detail-panel .detailstats>div{padding:14px}.customer-detail-panel .detailstats .detail-updated{grid-column:span 2}.customer-detail-panel>.tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.customer-detail-panel>.tabs button{font-size:12px}.heading:has(+.customer-detail-panel){flex-wrap:wrap}.heading:has(+.customer-detail-panel)>.actions{max-width:100%;justify-content:flex-start}}

/* Shared admin layout rhythm: clear sections, calm tables, consistent controls. */
.main{padding-left:30px;padding-right:30px}.heading{margin:26px 0 22px;align-items:flex-start}.heading>div:first-child{min-width:0}.heading h1{font-size:25px;line-height:1.35;letter-spacing:-.4px;margin-bottom:8px}.heading .muted{line-height:1.7;font-size:12px}.heading>.actions{justify-content:flex-end;gap:8px;max-width:62%;flex-shrink:0}.heading>.actions button{white-space:nowrap;font-size:12px;min-height:36px}
.main .panel{border-radius:12px;padding:22px;margin-bottom:22px}.paneltitle{gap:16px;flex-wrap:wrap}.panel h2{font-size:16px;line-height:1.5}.paneltitle>.actions{gap:8px}button,input,select{min-height:36px}button.link,.pin,.sidefoot button{min-height:0}
.main th{padding:12px 14px;font-size:12px;font-weight:550;line-height:1.5}.main td{padding:13px 14px;font-size:12px;line-height:1.6}.main td strong{font-size:13px}.tablewrap{border:1px solid #e3e8e1;border-radius:8px}.tablewrap .tablewrap{border:0;border-radius:0}.tablewrap tr:last-child td{border-bottom:0}.main th{background:#f3f6f1}.main tbody tr:hover{background:#f7f9f5}
.main .cards{gap:14px}.main .card{padding:18px 20px;border-radius:10px}.main .card .value{font-size:28px;font-weight:600;margin:12px 0 8px;line-height:1.3;overflow-wrap:anywhere}.main .card.dark{background:#315d4c;border-color:#315d4c}.main .card.dark .muted{color:#d7e4d9}
.main .tabs:not(.customer-detail-panel>.tabs){display:flex;gap:6px;padding:6px;border:1px solid #dfe6dd;background:#f1f5ee;border-radius:9px;flex-wrap:wrap;margin-bottom:20px}.main .tabs:not(.customer-detail-panel>.tabs)>button{flex:1;min-width:86px;border-color:transparent;background:transparent;font-size:13px;color:#5a6d5e;padding:9px 14px}.main .tabs:not(.customer-detail-panel>.tabs)>button.active{background:#fff;border-color:#d7e3d4;color:#2e5d40;box-shadow:0 1px 3px #213e2410;font-weight:600}
.main .help{background:#f4f6ef;border:1px solid #e3e8db;color:#5e6d56;font-size:12px;line-height:1.8;padding:13px 16px}.main .formgrid{gap:18px 22px}.main label,dialog label{font-size:12px;line-height:1.5;color:#526558;font-weight:500;margin-bottom:7px}.main input,.main select,.main textarea,dialog input,dialog select,dialog textarea{font-size:13px;line-height:1.6;border-radius:7px;padding:9px 11px}.main input::placeholder,.main textarea::placeholder,dialog input::placeholder,dialog textarea::placeholder{color:#869187;font-size:12px}
.guidance-card{background:#fafcf8;border-color:#dfe7da;padding:18px 20px}.guidance-card.unread{background:#f1f6ef;border-left-color:#6d9374}.guidance-title{font-size:15px}.guidance-message{font-size:13px;line-height:1.8}.guidance-actions button{font-size:12px}.badge.guide-badge{background:#e8f0e5;color:#496d4a}
.dialog,.dt-picker{border-color:#dbe3d7}dialog>header{border-bottom:1px solid #e5eae0;padding-bottom:16px;margin-bottom:20px}dialog>header h2{font-size:18px}dialog footer{border-top:1px solid #e5eae0;padding-top:18px;margin-top:22px;gap:10px}dialog footer button{font-size:13px}
.customer-detail-panel .detailstats{margin-bottom:22px}.customer-detail-panel .detailstats>div{min-height:105px}.customer-detail-panel .detailstats strong{font-size:24px}.customer-detail-panel .detailstats .detail-status strong{font-size:17px}.customer-detail-panel .detailstats .detail-updated strong{font-size:14px}
.detail-form-section{border:1px solid #e0e7dc;border-radius:10px;padding:18px;margin-bottom:18px;background:#fff}.detail-section-heading{display:flex;gap:12px;justify-content:space-between;align-items:center;border-bottom:1px solid #ebeee7;padding-bottom:12px;margin-bottom:16px}.detail-section-heading h3{font-size:14px;color:#36533d;margin:0;font-weight:600}.detail-section-heading>span{font-size:11px;color:#6d7b6b;line-height:1.6}.detail-field-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}.detail-field-grid.four-fields{grid-template-columns:repeat(4,minmax(0,1fr))}.detail-field-grid>div{min-width:0}.customer-detail-panel .detail-field-grid label{font-size:12px}.field-note{margin-top:9px}.field-note>summary{list-style:none;cursor:pointer;font-size:11px;color:#567358;width:max-content;line-height:1.7}.field-note>summary::-webkit-details-marker{display:none}.field-note>summary:before{content:'＋';margin-right:5px}.field-note[open]>summary:before{content:'−'}.customer-detail-panel .field-note textarea.notearea{height:90px;min-height:90px;margin-top:8px;font-size:12px;background:#fafcf8}.customer-detail-panel textarea[name=notes]{min-height:100px;font-size:13px}.customer-detail-panel #statusForm>footer{display:flex;justify-content:flex-end;border-top:1px solid #e1e7dc;padding-top:18px}.customer-detail-panel .field-history{font-size:11px;margin-top:8px}
@media(max-width:1100px){.detail-field-grid.four-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.heading>.actions{max-width:58%}}
@media(max-width:800px){.main{padding-left:20px;padding-right:20px}.heading{flex-wrap:wrap}.heading>.actions{max-width:100%;justify-content:flex-start}.detail-field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-section-heading{align-items:flex-start;flex-direction:column;gap:4px}.main .panel{padding:18px}}
@media(max-width:700px){.main{padding-left:14px;padding-right:14px}.heading h1{font-size:22px}.main .panel{padding:16px}.detail-form-section{padding:14px}.detail-field-grid,.detail-field-grid.four-fields{grid-template-columns:minmax(0,1fr)}.main .tabs:not(.customer-detail-panel>.tabs)>button{min-width:90px;padding:8px 10px}}

/* Compact selection-first profile; detailed writing happens in a secondary dialog. */
textarea[data-note-source][hidden]{display:none!important}
.customer-detail-panel .note-editor-trigger{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:5px 0;min-height:27px;border:0;background:transparent;border-radius:4px;text-align:left;margin-top:5px}
.note-editor-trigger>span{font-size:11px;color:#4f7356;white-space:nowrap}.note-editor-trigger>small{font-size:10px;color:#7b8879;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:55%}.note-editor-trigger.has-note{padding-left:8px;padding-right:8px;background:#edf3e9}.note-editor-trigger.has-note>small{color:#526a4c}
dialog textarea.expanded-note-editor{height:290px;min-height:220px;max-height:55vh;font-size:14px;line-height:1.9;padding:14px 16px}
.customer-detail-panel .detailstats>div{min-height:86px;padding:13px 15px;gap:10px}.customer-detail-panel .detailstats{gap:12px;margin-bottom:16px}.customer-detail-panel>.tabs{margin-bottom:18px}.customer-detail-panel>.tabs button{padding:9px 8px}
.detail-form-section{padding:14px;margin-bottom:12px}.detail-section-heading{padding-bottom:9px;margin-bottom:12px}.detail-section-heading>span{font-size:10px}.customer-detail-panel .detail-field-grid{gap:12px 16px}.customer-detail-panel .detail-field-grid label{margin-bottom:5px}.customer-detail-panel .detail-field-grid input,.customer-detail-panel .detail-field-grid select{padding:7px 9px;font-size:12px;min-height:34px}.customer-detail-panel #statusForm>footer{margin-top:2px!important;padding-top:12px}
@media(min-width:1200px){.customer-detail-panel #statusForm{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.customer-detail-panel .detail-form-section{margin-bottom:0}.detail-progress-section{grid-column:1/-1}.customer-detail-panel #statusForm>footer{grid-column:1/-1}.customer-detail-panel .detail-section-heading>span{display:none}.customer-detail-panel .detail-field-grid{column-gap:12px}.customer-detail-panel .detail-form-section .detail-field-grid.four-fields{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:700px){dialog textarea.expanded-note-editor{height:240px;min-height:180px}.customer-detail-panel .detailstats>div{min-height:80px}.note-editor-trigger>small{max-width:60%}}

dialog.note-editor-dialog{width:min(820px,calc(100vw - 40px));max-width:820px;padding:26px}dialog.note-editor-dialog textarea.expanded-note-editor{height:42vh;min-height:300px;max-height:55vh;font-size:15px;line-height:1.9}dialog.note-editor-dialog footer{display:flex;justify-content:flex-end}dialog.note-editor-dialog footer button{min-width:96px;padding:10px 20px}@media(max-width:700px){dialog.note-editor-dialog{width:calc(100vw - 24px);padding:18px}dialog.note-editor-dialog textarea.expanded-note-editor{min-height:220px;height:40vh}}

/* Compact customer summary leaves more room for profile entry. */
.customer-detail-panel .detailstats{gap:10px;margin-bottom:12px}
.customer-detail-panel .detailstats>div{min-height:64px;padding:10px 12px;gap:6px;border-radius:8px}
.customer-detail-panel .detailstats .muted{font-size:11px;line-height:1.4}
.customer-detail-panel .detailstats strong{font-size:20px;line-height:1.25}
.customer-detail-panel .detailstats .detail-status strong{font-size:14px;line-height:1.5}
.customer-detail-panel .detailstats .detail-updated strong{font-size:12px;line-height:1.6}
@media(max-width:700px){.customer-detail-panel .detailstats>div{min-height:60px;padding:9px 11px}}

.customer-quick-flag{min-width:78px;max-width:94px}.main td .inline-select{font-size:12px;padding:6px 8px;min-height:32px}

@media(min-width:1200px){.customer-detail-panel .detail-progress-section .detail-field-grid.four-fields{grid-template-columns:repeat(5,minmax(0,1fr))}}

.detail-followup-section{grid-column:1/-1}.detail-followup-section .followup-description-field .note-editor-trigger{margin-top:0;border:1px solid #d4ded6;min-height:36px;padding:7px 10px;background:#fafcf8}.detail-followup-section .followup-description-field .note-editor-trigger span{font-size:12px}.detail-followup-section .followup-description-field .note-editor-trigger.has-note{background:#edf3e9}

/* Separate the writing action from the history-reading action. */
.customer-detail-panel .note-editor-trigger>span{color:#2167b5;font-weight:550}
.customer-detail-panel .note-editor-trigger:hover>span{color:#174f91}
.customer-detail-panel .field-history>summary{color:#986317;font-weight:550}
.customer-detail-panel .field-history>summary:hover{color:#74480d}
.customer-detail-panel .field-history>summary span{background:#fbf0da;color:#986317}

/* Sidebar hierarchy: section headings lead; consistent icons explain each destination. */
.sidebar{padding:22px 16px 16px}.sidebar .brand{font-size:20px;letter-spacing:.3px;margin:0 10px 22px;gap:11px}.sidebar .brand b{width:36px;height:36px;border-radius:11px;font-size:15px}
.sidebar .sidebar-menu{padding:0 4px 10px;margin:0 -4px}
.sidebar .nav-section{margin:0 0 8px}
.sidebar .nav-section>small{font-size:14px;font-weight:600;letter-spacing:.1px;line-height:1.45;color:#ded7bd;margin:10px 12px 5px}
.sidebar .nav-section:first-child>small{margin-top:2px}
.sidebar .nav-section .nav{display:flex;align-items:center;gap:11px;min-height:34px;padding:7px 12px;margin:1px 0;border-radius:8px;font-size:12.5px;font-weight:400;line-height:1.5;color:#c5d3cb}
.sidebar .nav .icon{display:flex;align-items:center;justify-content:center;width:18px;height:18px;flex:0 0 18px;color:#a8c0b2}
.sidebar .nav .icon svg{display:block;width:18px;height:18px}.sidebar .nav .nav-label{min-width:0}
.sidebar .nav:hover{background:#285041;color:#f4f7f2}.sidebar .nav:hover .icon{color:#e1e9df}
.sidebar .nav.active{background:#315c4b;color:#fff;font-weight:550;box-shadow:inset 3px 0 #cbb57e}.sidebar .nav.active .icon{color:#e6d4a8}
.sidebar .sidefoot{margin-top:8px;padding-top:13px;font-size:11px;line-height:1.7;border-color:#3a5d4e;color:#afc5b8}.sidebar .sidefoot strong{font-size:12px;font-weight:550;color:#edf3e9}.sidebar-role{font-size:10px;color:#b3c7ba;display:block;margin-top:3px}.sidebar .sidefoot button{font-size:11px;line-height:1.5;padding-top:5px;padding-bottom:2px}
@media(max-width:700px){.sidebar .brand{margin-bottom:12px}.sidebar .nav-section>small{font-size:13px}.sidebar .nav-section .nav{font-size:12px}.sidebar .sidefoot{flex-wrap:wrap}}

/* Expandable first-level groups make every prominent navigation label actionable. */
.sidebar .nav-collapsible>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;list-style:none;padding:9px 11px;margin:3px 0 5px;border-radius:7px;cursor:pointer;color:#ded7bd;font-size:14px;font-weight:600;line-height:1.45;user-select:none}
.sidebar .nav-collapsible>summary::-webkit-details-marker{display:none}
.sidebar .nav-collapsible>summary:hover{background:#254e40;color:#f2e6c7}
.sidebar .nav-collapsible>summary:focus-visible{outline:2px solid #cbb57e;outline-offset:1px}
.sidebar .nav-chevron{width:15px;height:15px;color:#b9c8b7;flex-shrink:0;transition:transform .15s}
.sidebar .nav-collapsible[open]>summary .nav-chevron{transform:rotate(90deg)}
.sidebar .nav-section-children{margin:0 0 6px 10px;padding-left:6px;border-left:1px solid #426454}
.sidebar .nav-section-children .nav{font-size:12px;padding-left:10px;gap:10px}
.sidebar .nav-collapsible{margin-bottom:6px}.sidebar .nav-direct-section{margin-bottom:12px}
@media(prefers-reduced-motion:reduce){.sidebar .nav-chevron{transition:none}}
/* Employee finance follows the shared forest and champagne workspace. */
.sf-filters{display:grid;grid-template-columns:160px minmax(200px,1fr) 180px auto;gap:16px;align-items:end}.sf-filters .field{margin:0}.sf-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.sf-stats .value{font-size:24px}.sf-toolbar{margin-bottom:18px;flex-wrap:wrap}[data-view=staffFinance] .panel{padding:24px;margin-bottom:20px}[data-view=staffFinance] .tabs{margin:20px 0}[data-view=staffFinance] td{vertical-align:top}[data-view=staffFinance] .actions{gap:8px;flex-wrap:wrap}[data-view=staffFinance] .muted{font-size:12px;line-height:1.7}@media(max-width:1000px){.sf-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.sf-filters{grid-template-columns:1fr 1fr}}
[data-view=attendance] .sf-stats{grid-template-columns:repeat(3,minmax(0,1fr))}[data-view=attendance] .sf-filters,[data-view=workNotes] .sf-filters{grid-template-columns:180px minmax(220px,1fr) auto}[data-view=attendance] .panel,[data-view=workNotes] .panel{margin-bottom:20px;padding:24px}[data-view=workNotes] td{white-space:pre-wrap;vertical-align:top;max-width:360px;overflow-wrap:anywhere}[data-view=attendance] .card{padding:18px}[data-view=attendance] .card h3{font-size:14px}@media(max-width:850px){[data-view=attendance] .sf-stats{grid-template-columns:1fr}[data-view=attendance] .sf-filters,[data-view=workNotes] .sf-filters{grid-template-columns:1fr}}
.sf-expense-block{border:1px solid #dce3dd;border-radius:14px;padding:20px;margin:16px 0 28px;background:#fff}.sf-expense-total{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;color:#355246;font-weight:600}.sf-expense-total strong{font-size:26px;font-variant-numeric:tabular-nums}.sf-cost-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.sf-cost-item{padding:15px 18px;border:1px solid #e6e9e3;border-radius:10px;background:#f8f9f6;display:flex;justify-content:space-between;align-items:center;gap:12px}.sf-cost-item span{font-size:13px;color:#526058}.sf-cost-item strong{font-size:19px;font-variant-numeric:tabular-nums;color:#263b32}.sf-separate{display:flex;flex-wrap:wrap;gap:14px 24px;margin:18px 0 10px;border-top:1px solid #e8ebe5;padding-top:16px;font-size:12px;color:#627168}.sf-separate b{margin-left:8px;color:#42584a}@media(max-width:900px){.sf-cost-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.sf-scope-note{margin-top:12px;font-size:12px;color:#66766b}.sf-scope-note summary{cursor:pointer;width:fit-content}.sf-scope-note p{margin:8px 0}
.pending-asset-panel .paneltitle{align-items:center}.pending-asset-panel h2{font-size:18px}.pending-asset-panel td{font-variant-numeric:tabular-nums}#modal:has(.asset-batch-check){width:min(1100px,94vw)}#modal .asset-batch-check{width:18px;height:18px}#modal:has(.asset-batch-check) td input:not([type=checkbox]){min-width:130px;width:100%}
.asset-records-table table{min-width:850px}.asset-records-table td{vertical-align:top}.asset-records-table td:first-child{white-space:normal;min-width:200px}.asset-row-actions{display:flex;flex-wrap:wrap;gap:6px;max-width:210px;min-width:160px}.asset-row-actions button{padding:6px 9px;font-size:12px}.asset-client-heading{padding-bottom:12px;border-bottom:1px solid #e1e6df}.asset-original-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.asset-original-grid>div{padding:12px;border:1px solid #e3e8e1;border-radius:9px;background:#f8faf7}.asset-original-grid span{display:block;color:#68786d;font-size:12px}.asset-original-grid strong{display:block;margin-top:6px;font-size:18px}.asset-empty-state{padding:16px;background:#f6f8f4;border-radius:8px;color:#5f7165}.asset-history-list article{padding:14px 0;border-bottom:1px solid #e3e8e0}.asset-history-comparison{display:grid;grid-template-columns:1fr 1fr;gap:20px}.asset-history-values{white-space:pre-wrap;line-height:1.8;font-size:13px}#modal:has(.asset-ledger-detail),#modal:has(.asset-history-list){width:min(1100px,94vw)}
.asset-timeline-table table{min-width:850px}.asset-timeline-table td{vertical-align:top}.asset-timeline-table td:nth-child(2){white-space:normal;min-width:160px}.asset-timeline-table td:nth-child(4),.asset-timeline-table td:nth-child(5){font-variant-numeric:tabular-nums}
.asset-order-select{width:17px;height:17px;cursor:pointer}.asset-rate-summary{display:flex;gap:20px;align-items:center;padding:16px;background:#f1f6ef;border-radius:10px}.asset-rate-summary strong{font-size:18px;margin-left:8px}.asset-timeline-table td:nth-child(3){white-space:normal}
.org-grants{border:1px solid var(--line,#dce4df);border-radius:12px;padding:16px}.org-checks{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px;padding:12px 0;max-height:260px;overflow:auto}.org-checks label{display:flex;gap:9px;align-items:center;padding:9px 12px;background:#f3f6f3;border-radius:8px}.org-checks input[type=checkbox]{width:17px;height:17px;min-height:0;accent-color:#246655}.sf-share-picker{border-top:1px solid #dce4df;padding-top:12px}#sharePreview input{max-width:200px}
[data-view=staffFinance] .sf-filters{grid-template-columns:150px minmax(150px,1fr) minmax(180px,1.3fr) 160px auto}#modal:has(.sf-share-picker){width:min(940px,94vw)}#modal:has(.org-grants){width:min(920px,94vw)}@media(max-width:1100px){[data-view=staffFinance] .sf-filters{grid-template-columns:1fr 1fr}}@media(max-width:650px){[data-view=staffFinance] .sf-filters{grid-template-columns:1fr}}
.ranking-entry{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 24px;background:#edf3ef;border:1px solid #d6e3da;border-radius:14px;margin:20px 0}.ranking-entry strong{display:block;font-size:17px;color:#254e40}.ranking-entry span{display:block;font-size:13px;color:#62776c;margin-top:5px}.rank-my-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px}.rank-my-grid article{display:flex;flex-direction:column;gap:8px;background:#f5f8f5;border:1px solid #e1e8df;border-radius:12px;padding:18px}.rank-my-grid article>span{font-size:13px;color:#5f7568}.rank-my-grid strong{font-size:27px;color:#235d49}.rank-my-grid b{font-size:14px;color:#9a762c}.rank-my-grid small{color:#78877b;font-size:12px;line-height:1.6}.rank-cell{display:flex;flex-direction:column;gap:5px;min-width:120px}.rank-cell strong{color:#285b47}.rank-cell span,.rank-cell small{font-size:12px;color:#728076}[data-view=rankings] .formgrid{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:900px){[data-view=rankings] .formgrid{grid-template-columns:1fr 1fr}.ranking-entry{align-items:flex-start}}@media(max-width:600px){[data-view=rankings] .formgrid{grid-template-columns:1fr}.ranking-entry{flex-direction:column}}
.formgrid>[hidden]{display:none!important}
/* Business leaderboard: constrained icons, compact standings and clear achievement hierarchy. */
.rank-controls .rank-dimensions{margin:0 0 15px}.rank-metric-switch{display:flex;gap:8px;flex-wrap:wrap}.rank-metric-switch button{border-radius:20px;padding:8px 16px;font-size:13px}.rank-metric-switch .selected{background:#205e4c;color:#fff;border-color:#205e4c}.rank-filter-details{margin-top:16px;border-top:1px solid #e3e9df;padding-top:14px}.rank-filter-details>summary{cursor:pointer;font-size:13px;color:#486658;font-weight:600}.rank-filter-details>summary span{font-size:12px;font-weight:400;margin-left:12px;color:#7b897f}.rank-filter-details form{padding-top:18px}.rank-arena{border:1px solid #d6e1d7;border-radius:18px;overflow:hidden;background:linear-gradient(115deg,#143f35,#245f4b);color:#fff;margin-bottom:22px;padding:26px;position:relative}.rank-arena-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:22px}.rank-eyebrow{font-size:11px;letter-spacing:1.2px;color:#a88a48;font-weight:600}.rank-arena .rank-eyebrow{color:#d6bd82}.rank-arena-heading h2{font-size:24px;margin:9px 0 8px;color:#fff;font-weight:650}.rank-arena-heading p{color:#bbd0c6;font-size:13px;margin:0}.rank-live{display:flex;align-items:center;gap:7px;white-space:nowrap;font-size:12px;background:#ffffff12;border:1px solid #ffffff20;border-radius:20px;padding:8px 13px}.rank-live i{width:6px;height:6px;border-radius:50%;background:#d7bd78}.rank-arena-body{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,2fr);gap:24px}.rank-personal-spotlight{padding:18px 20px;border:1px solid #ffffff22;border-radius:12px;background:#0b302c55;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.rank-personal-spotlight>span{font-size:12px;color:#bad0c4}.rank-big-number{font-size:62px;line-height:1.2;letter-spacing:-2px;font-weight:700;color:#e2c98e;margin-top:6px}.rank-big-number small{font-size:18px;letter-spacing:0;margin-right:6px}.rank-personal-spotlight>strong{font-size:23px;margin-top:8px;color:#fff}.rank-personal-spotlight>p{font-size:12px;color:#bed0c5;margin:9px 0}.rank-benchmark{font-size:12px;color:#c6d8cf}.rank-benchmark b{color:#e4d1a5}.rank-personal-spotlight button{margin-top:16px;font-size:12px;background:transparent;border:1px solid #91b4a8;color:#e3eee7;padding:8px 12px}.rank-podium{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:stretch;min-width:0}.rank-winner{position:relative;min-width:0;display:flex;align-items:center;flex-direction:column;text-align:center;border:1px solid #ffffff23;background:#ffffff0b;border-radius:12px;padding:17px 12px 15px}.rank-winner.podium-lead{background:linear-gradient(150deg,#fff8e9,#ebdfbf);border-color:#d9bc75;box-shadow:0 8px 22px #09292133}.rank-winner-icon{height:36px;width:36px;margin-bottom:4px;display:flex;align-items:center;justify-content:center;color:#d6c6a4}.rank-winner-icon svg{display:block;width:32px;height:32px;max-width:32px;max-height:32px;flex:none}.rank-winner.place-1 .rank-winner-icon{color:#ac7b27}.rank-winner.place-2 .rank-winner-icon{color:#c9d8da}.rank-winner.place-3 .rank-winner-icon{color:#d3a37a}.rank-winner-place{font-size:11px;color:#cfddd5}.podium-lead .rank-winner-place{color:#8d7139}.rank-avatar{width:40px;height:40px;display:grid;place-items:center;background:#ffffff16;border:1px solid #ffffff2b;border-radius:50%;font-size:16px;color:#e6eee8;margin-top:14px}.podium-lead .rank-avatar{background:#d2b76f33;border-color:#c9ac6b55;color:#775723}.rank-winner h3{font-size:15px;color:#fff;margin:10px 0 8px;font-weight:650;max-width:100%;overflow-wrap:anywhere}.rank-winner h3 small{font-size:10px;background:#ffffff20;border-radius:4px;padding:2px 4px}.podium-lead h3{color:#3e4d3f}.rank-winner>strong{font-size:23px;color:#fff;font-variant-numeric:tabular-nums}.podium-lead>strong{color:#2c6249}.rank-winner p{font-size:12px;color:#c4d5cb;margin:7px 0}.podium-lead p{color:#6b7868}.rank-winner-note{font-size:10px;color:#bbcec3;margin-top:auto;padding-top:6px}.podium-lead .rank-winner-note{color:#90713e}.rank-challenge{display:flex;align-items:flex-start;gap:16px;border-top:1px solid #ffffff20;padding-top:18px;margin-top:22px}.rank-challenge>span{font-size:11px;padding:5px 10px;border:1px solid #cdb37177;border-radius:5px;color:#e5cf9b;white-space:nowrap}.rank-challenge strong{font-size:14px;color:#f0e0b7}.rank-challenge p{font-size:12px;color:#bfd1c7;margin:6px 0 0;line-height:1.7}.rank-no-winner{grid-column:1/-1;align-self:center;justify-self:center;text-align:center;color:#e3dbbd;font-size:19px}.rank-no-winner small{font-size:12px;color:#b6c9bf;line-height:2.4}.rank-league-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:20px}.rank-league-heading h2{margin:7px 0 0;font-size:20px}.rank-league-heading>span{font-size:12px;color:#7a897c}.rank-position{display:grid;place-items:center;font-size:20px;font-weight:700;width:38px;height:38px;color:#88948b;font-variant-numeric:tabular-nums}.rank-position.top-1{color:#9a6e1e;background:#f4e7bb;border-radius:9px}.rank-position.top-2{color:#647480;background:#e8edf0;border-radius:9px}.rank-position.top-3{color:#a27755;background:#f5e9de;border-radius:9px}.rank-name{display:flex;align-items:center;gap:12px;min-width:140px}.rank-name>div{display:flex;flex-direction:column;gap:5px}.rank-name small{font-size:11px;color:#568169}.rank-row-avatar{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#ecf1ed;color:#4e6e5b;font-size:14px}.rank-league tr:has(.is-me){background:#eef6ee}.rank-league tr:has(.is-me) td:first-child{box-shadow:inset 3px 0 #b79746}.rank-cell{min-width:155px;gap:7px}.rank-cell-value{display:flex;gap:14px;align-items:center;justify-content:space-between}.rank-cell-value strong{font-size:17px;font-variant-numeric:tabular-nums}.rank-cell-value small{font-size:11px;color:#8b967e;white-space:nowrap}.rank-cell.is-primary .rank-cell-value strong{color:#225f46}.rank-progress{height:4px;border-radius:4px;overflow:hidden;background:#e8eee7;width:100%;max-width:180px}.rank-progress i{display:block;height:100%;border-radius:4px;background:#a5bcae}.rank-cell.is-primary .rank-progress i{background:linear-gradient(90deg,#386f55,#c2ac6b)}.rank-cell>span{font-size:11px;color:#859185}.rank-pagination{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-top:18px;color:#788779;font-size:12px}.rank-pagination .actions{gap:8px}.rank-pagination button{padding:7px 12px;font-size:12px}.rank-league table td{padding-top:15px;padding-bottom:15px}.rank-league table th{font-size:12px}@media(max-width:1100px){.rank-arena-body{grid-template-columns:1fr}.rank-personal-spotlight{display:grid;grid-template-columns:1fr 1fr;gap:3px 16px}.rank-big-number{grid-row:2/5;font-size:50px}.rank-personal-spotlight>strong{grid-column:2}.rank-personal-spotlight>p,.rank-personal-spotlight .rank-benchmark{grid-column:2}.rank-personal-spotlight button{grid-column:1/-1;justify-self:start}}@media(max-width:700px){.rank-arena{padding:18px}.rank-arena-heading{flex-direction:column;gap:12px}.rank-arena-heading h2{font-size:20px}.rank-podium{gap:7px}.rank-winner{padding:12px 6px}.rank-winner>strong{font-size:18px}.rank-winner h3{font-size:12px}.rank-winner-note{font-size:9px}.rank-arena-body{gap:14px}.rank-filter-details>summary span{display:block;margin:6px 0 0}.rank-league-heading{align-items:flex-start;flex-direction:column}}
.rank-podium:has(>.rank-winner:only-child){grid-template-columns:1fr}.rank-podium:has(>.rank-winner:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
/* Internal learning and discussion: scoped, readable cards. */
.community-card{margin-bottom:20px}.community-card h2{font-size:23px;margin:12px 0}.community-card h3{font-size:15px;color:#63786a;margin:18px 0 7px}.community-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;margin:8px 0 20px}.community-actions{display:flex;gap:10px;flex-wrap:wrap;border-top:1px solid #e5ebe4;padding-top:16px}.community-reply{margin:14px 0 0 18px;padding:14px 18px;background:#f5f7f2;border-left:3px solid #d1ded3;border-radius:8px}.community-feed .heading{align-items:flex-start}.community-card .pill{font-size:13px}@media(max-width:700px){.community-card .heading{display:block}.community-reply{margin-left:0}}
#summaryFilter{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:end}#summaryFilter>*{min-width:0}#summaryFilter button{justify-self:start;min-width:110px}@media(max-width:750px){#summaryFilter{grid-template-columns:1fr 1fr}}@media(max-width:480px){#summaryFilter{grid-template-columns:1fr}}

/* Customer state colors distinguish missing, waiting, positive and negative. */
select.status-empty{background-color:#eef0f0!important;border-color:#dce1df!important;color:#7b8580!important}select.status-positive{background-color:#e6f3eb!important;border-color:#a6cbb4!important;color:#236247!important}select.status-negative{background-color:#fbecec!important;border-color:#e4b8b4!important;color:#a34640!important}select.status-waiting{background-color:#fff3dd!important;border-color:#e4cc96!important;color:#946a22!important}.customer-group-status{min-width:100px;max-width:120px}select.status-positive,select.status-negative,select.status-waiting{font-weight:600}select.status-empty option,select.status-positive option,select.status-negative option,select.status-waiting option{background:#fff;color:#30443a}

.work-punch-row{border:1px solid var(--punch-border);background:var(--punch-bg);color:var(--punch-color);padding:14px;border-radius:10px;margin:12px 0}.work-punch-pending{--punch-bg:#f0f2f1;--punch-border:#dde2df;--punch-color:#78827c}.work-punch-normal{--punch-bg:#e9f4ec;--punch-border:#b7d8bf;--punch-color:#286143}.work-punch-late{--punch-bg:#fff3df;--punch-border:#e9cf9f;--punch-color:#94621f}.work-punch-early{--punch-bg:#fbedeb;--punch-border:#e8bcb5;--punch-color:#a04b40}.work-punch-action{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.work-punch-action button{background:#fff;color:var(--punch-color);border-color:var(--punch-border)}.work-punch-action button:disabled{opacity:1;cursor:default}.work-punch-status{font-weight:650;font-size:13px}.work-punch-time{font-size:12px;margin-top:9px;line-height:1.6}.work-result{display:inline-block;background:var(--punch-bg);color:var(--punch-color);border:1px solid var(--punch-border);border-radius:6px;padding:4px 9px;font-weight:600}

/* Culture wall: compact forum index and a separate conversation view. */
.forum-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:22px 0 16px}.forum-tabs{display:flex;gap:5px;flex-wrap:wrap}.forum-tabs button{background:transparent;border-color:transparent;color:#748376;padding:9px 14px}.forum-tabs button.active{background:#e1ece1;color:#295f48;font-weight:650}.forum-layout{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:22px;align-items:start}.forum-main{background:#fff;border:1px solid #dce5dc;border-radius:14px;overflow:hidden}#forumSearch{display:flex;gap:9px;padding:18px 22px;background:#fafbf8;border-bottom:1px solid #e6ebe3}#forumSearch input{flex:1;min-width:0;background:#fff}#forumSearch button{flex:none}.forum-list-heading{display:flex;align-items:center;justify-content:space-between;padding:19px 24px;border-bottom:1px solid #e6ebe3;font-size:13px}.forum-list-heading span{color:#819083;font-size:12px}.forum-topic{display:flex;width:100%;align-items:flex-start;text-align:left;border:0;border-bottom:1px solid #eaf0e7;border-radius:0;background:white;padding:22px 24px;gap:15px}.forum-topic:hover{background:#f9fbf7}.forum-avatar{width:42px;height:42px;flex:none;display:grid;place-items:center;border-radius:12px;background:#e5efe3;color:#42694c;font-size:16px;font-weight:650}.forum-avatar.anonymous{background:#edf0f2;color:#74818a}.forum-topic-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px}.forum-topic-title{font-size:16px;font-weight:650;line-height:1.5;color:#2b4035}.forum-topic-preview{font-size:12px;color:#839087;line-height:1.6;overflow:hidden;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}.forum-topic-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;color:#89948b;font-size:11px;font-weight:400}.forum-category{background:#eff4eb;color:#688060;padding:3px 7px;border-radius:4px}.forum-topic-count{min-width:48px;display:flex;flex-direction:column;text-align:center;gap:4px;color:#89978b;font-size:11px;font-weight:400}.forum-topic-count strong{font-size:20px;color:#4f6e5b;font-weight:600}.forum-topic-count small{margin-top:4px;font-size:10px}.forum-pagination{display:flex;align-items:center;justify-content:space-between;padding:17px 24px;font-size:12px;color:#819083}.forum-pagination button{margin-left:7px;padding:7px 12px}.forum-aside{display:grid;gap:16px}.forum-aside section{background:#f7f9f3;border:1px solid #dfe7d9;border-radius:12px;padding:20px}.forum-aside h3{font-size:13px;margin:0 0 12px}.forum-aside p{font-size:12px;color:#80907f;line-height:1.9;margin:9px 0}.forum-aside button{font-size:12px;padding:8px 10px}.forum-empty{padding:50px 24px;text-align:center;color:#879387}.forum-back{margin:18px 22px;background:transparent;border:0;color:#63816c;padding:0}#forumPost>.community-card{border:0;box-shadow:none;border-radius:0;margin:0;padding:8px 26px 26px}#forumPost .community-card .heading{gap:12px;justify-content:flex-start;flex-wrap:wrap}#forumPost .community-card .heading>div{flex:1 1 100%}#forumPost .community-card .heading>button{padding:5px 9px;font-size:11px;background:#f8faf6;border-color:#e6ebe2}#forumPost .community-card h2{font-size:23px;margin-top:16px}#forumPost .community-text{font-size:14px;line-height:1.9;margin:20px 0}#forumPost .community-reply{margin-left:0;padding:17px 19px}#forumPost .community-reply button{font-size:11px;padding:5px 9px;background:transparent}#forumPost .community-reply .community-text{margin:10px 0;font-size:13px}#forumPost .community-actions button{font-size:12px;padding:8px 11px}@media(max-width:1050px){.forum-layout{grid-template-columns:minmax(0,1fr)}.forum-aside{display:none}}@media(max-width:650px){.forum-toolbar{align-items:flex-start;flex-direction:column}.forum-topic{padding:17px 14px;gap:10px}.forum-avatar{width:34px;height:34px}.forum-topic-title{font-size:14px}.forum-topic-meta{gap:7px}.forum-list-heading{padding:16px}.forum-list-heading span{font-size:10px}#forumSearch{padding:14px}#forumPost>.community-card{padding:5px 16px 20px}}

.follow-section-heading{display:flex;justify-content:space-between;align-items:center;margin:26px 0 18px}.follow-section-heading h3{font-size:19px;margin:0 0 7px}.follow-section-heading p,.follow-section-heading>span{font-size:12px;color:#839086;margin:0}.follow-conversation{border:1px solid #dae4da;border-radius:12px;overflow:hidden;margin:18px 0 26px;background:#fff}.follow-conversation-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:22px 24px;background:#f7f9f4;border-bottom:1px solid #e6ebe2}.follow-topic-meta{font-size:11px;color:#8a9789;margin-bottom:8px}.follow-conversation-head h3{font-size:19px;margin:0 0 8px}.follow-conversation-head p{font-size:12px;color:#7b8c7e;margin:0}.follow-state{font-size:12px;padding:6px 11px;border-radius:6px;white-space:nowrap;font-weight:600}.follow-state-open{background:#fff0d4;color:#9b732d}.follow-state-done{background:#e0f0e4;color:#397052}.follow-state-cancelled{background:#edefef;color:#7f8883}.follow-messages{padding:24px;display:flex;flex-direction:column;gap:23px}.follow-message{display:flex;align-items:flex-start;gap:11px;max-width:88%}.follow-message.mine{align-self:flex-end;flex-direction:row-reverse}.follow-avatar{flex:none;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#e9eee6;color:#638066;font-weight:600;font-size:13px}.follow-message-content{min-width:0}.follow-speaker{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 8px;font-size:12px}.follow-speaker span{font-size:11px;color:#94a094}.follow-message.mine .follow-speaker{justify-content:flex-end}.follow-bubble{white-space:pre-wrap;overflow-wrap:anywhere;background:#f2f5ef;padding:14px 18px;border-radius:0 12px 12px 12px;font-size:14px;line-height:1.8}.follow-message.mine .follow-bubble{background:#e4f0e7;border-radius:12px 0 12px 12px}.follow-conversation-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #eff2ec;padding:13px 24px;font-size:11px;color:#89988a}.follow-conversation-footer button{font-size:11px;padding:6px 10px;margin-left:6px}.follow-reply-form{padding:16px 24px 21px;background:#fafbf8;border-top:1px solid #e7ede3}.follow-reply-form label{font-size:12px;color:#667e6b}.follow-reply-form textarea{resize:vertical;min-height:70px;background:white;font-size:13px}.follow-reply-form>div{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}.follow-reply-form span{font-size:11px;color:#93a08f}.follow-reply-form button{font-size:12px;padding:9px 16px}.follow-help-section{border-top:1px solid #e2e9df;padding-top:18px}.follow-help-section summary{cursor:pointer;font-weight:600;font-size:14px;color:#617663}.follow-help-section .empty{padding:22px;font-size:13px}.follow-empty{padding:28px 20px;border:1px dashed #dce4d8;border-radius:10px;color:#91a08e;font-size:13px}@media(max-width:700px){.follow-message{max-width:100%}.follow-conversation-head,.follow-messages,.follow-reply-form{padding:17px}.follow-conversation-footer{align-items:flex-start;flex-direction:column;padding:13px 17px}.follow-reply-form>div{align-items:flex-end}.follow-speaker{gap:6px}.follow-conversation-head h3{font-size:17px}}

select.status-info{background-color:#e9f1fb!important;border-color:#b6cce5!important;color:#3d668e!important;font-weight:600}select.status-info option{background:#fff;color:#30443a}

#statusForm select.status-empty{color:#8a938f!important;background-color:#eef0ef!important;border-color:#dce1de!important}#statusForm select.status-info,#statusForm input.status-info{color:#315f93!important;background-color:#e8f1fc!important;border-color:#a8c3e3!important;font-weight:600}#statusForm select.status-positive{color:#1e6843!important;background-color:#e2f3e8!important;border-color:#93c6a6!important}#statusForm select.status-negative{color:#ac3f39!important;background-color:#fce7e5!important;border-color:#e5aaa4!important}#statusForm select.status-waiting{color:#97651b!important;background-color:#fff1d7!important;border-color:#dfc080!important}#statusForm input.status-empty{color:#8a938f!important;background-color:#eef0ef!important;border-color:#dce1de!important}

.work-punch-overtime{--punch-bg:#e9effc;--punch-border:#b7c8e7;--punch-color:#466ca0}

.community-source-link{display:inline-block;padding:10px 16px;border-radius:7px;background:#e7f0e5;color:#2d644b;font-weight:600;text-decoration:none}.community-source-link:hover{background:#dcebd9}

.library-search-suggestions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:16px}.library-search-suggestions>span{font-size:12px;color:#8b988b;margin-right:4px}.library-search-suggestions button{font-size:12px;padding:6px 11px;background:#f0f5eb;border:1px solid #e1e9da;color:#64805b;border-radius:18px}.library-search-suggestions button:hover{background:#e2edda}

.library-center{display:grid;grid-template-columns:190px minmax(0,1fr);gap:22px;align-items:start}.library-folders{background:#f8faf5;border:1px solid #e0e8dc;border-radius:12px;padding:20px 12px}.library-folders h3{font-size:12px;color:#90a08c;padding:0 10px;margin:0 0 15px}.library-folders>button{display:flex;align-items:center;gap:10px;width:100%;border:0;background:transparent;text-align:left;padding:12px;font-size:13px;margin:3px 0}.library-folders>button.active{background:#e3eddd;color:#355f39;font-weight:650}.library-folder-icon{color:#8aab7a;font-size:20px}.library-folder-note{font-size:11px;color:#93a08e;line-height:1.9;border-top:1px solid #e4eadf;margin:20px 10px 0;padding-top:16px}.library-content{background:#fff;border:1px solid #dfe7dc;border-radius:13px;overflow:hidden;min-width:0}.library-center-tools{display:flex;gap:14px;padding:21px 23px 0}.library-center-tools form{display:flex;gap:8px;flex:1;min-width:0}.library-center-tools input{min-width:0;font-size:12px}.library-center-tools select{width:112px;flex:none;font-size:12px}.library-center-tools button{font-size:12px;white-space:nowrap}.library-content>.library-search-suggestions{margin:14px 23px 20px}.library-list-heading{border-top:1px solid #edf1e9;border-bottom:1px solid #edf1e9;display:flex;justify-content:space-between;padding:17px 23px;font-size:13px}.library-list-heading>span{font-size:12px;color:#94a18e}.library-document-row{display:flex;gap:15px;padding:21px 23px;border-bottom:1px solid #edf1e9;align-items:flex-start}.library-document-icon{width:40px;height:46px;flex:none;display:grid;place-items:center;border:1px solid #cfded2;border-radius:7px;background:#edf4ed;color:#668e6b;font-size:21px}.library-document-copy{flex:1;min-width:0}.library-document-title{border:0;background:none;padding:0;text-align:left;font-size:15px;line-height:1.6;font-weight:650;color:#304c3c;overflow-wrap:anywhere}.library-document-title:hover{color:#28704a;background:none;text-decoration:underline}.library-document-copy>p{font-size:12px;color:#8b9789;margin:5px 0 10px;line-height:1.6;overflow:hidden;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}.library-document-meta{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:10px;color:#96a18f}.library-document-meta>span:first-child{background:#f0f4eb;border-radius:4px;padding:3px 6px;color:#758968}.library-document-state{color:#ab8b4f}.library-document-state.approved{color:#6b9070}.library-document-actions{display:flex;gap:6px;align-items:center;flex:none;padding-top:2px}.library-document-actions a,.library-document-actions button{font-size:11px;white-space:nowrap;padding:7px 10px;text-decoration:none;border-radius:6px}.library-document-actions a{background:#eef5e9;color:#547a48}.library-document-actions .link{color:#93a087}.library-center-empty{text-align:center;padding:45px 20px;color:#91a087}.library-center-empty>span{font-size:36px;color:#bac9ad}.library-center-empty h3{font-size:15px;margin:14px 0 8px}.library-center-empty p{font-size:12px}.library-center-empty button{font-size:12px}#libraryDetailCard>.community-card{border:0;box-shadow:none;margin:0;padding:10px 24px 24px}#libraryDetailCard .heading{flex-wrap:wrap;gap:8px}#libraryDetailCard .heading>div{flex:1 1 100%}#libraryDetailCard .heading>button{padding:6px 10px;font-size:11px}#libraryDetailCard .community-actions button{font-size:12px;padding:8px 12px}@media(max-width:900px){.library-center{grid-template-columns:1fr}.library-folders{display:flex;flex-wrap:wrap;gap:4px;padding:10px}.library-folders h3,.library-folder-note{display:none}.library-folders>button{width:auto;padding:8px;font-size:12px}.library-folder-icon{display:none}}@media(max-width:600px){.library-center-tools{padding:15px 15px 0;flex-wrap:wrap}.library-center-tools select{width:100%}.library-document-row{padding:17px 15px;gap:10px;flex-wrap:wrap}.library-document-actions{margin-left:50px}.library-document-meta{gap:7px}.library-document-title{font-size:14px}}
/* Shared work surfaces: quiet typography, compact controls and structured content. */
.main[data-view="workNotes"] .summary-filter-panel{padding:18px 22px;margin-bottom:20px}.main[data-view="workNotes"] #summaryFilter{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 18px}.main[data-view="workNotes"] #summaryFilter label{font-size:11px;color:#8b978e}.main[data-view="workNotes"] #summaryFilter input,.main[data-view="workNotes"] #summaryFilter select{font-size:12px;padding:9px 10px}.main[data-view="workNotes"] .community-card{padding:22px 26px;border-radius:12px}.main[data-view="workNotes"] .community-card>.heading{margin:0 0 17px;padding-bottom:15px;border-bottom:1px solid #edf0ea}.main[data-view="workNotes"] .community-card h2{font-size:18px;margin:0 0 7px}.main[data-view="workNotes"] .community-card>.heading span,.main[data-view="workNotes"] .community-card>.heading p{font-size:11px}.main[data-view="workNotes"] .community-card section{display:inline-block;vertical-align:top;width:32%;padding-right:20px}.main[data-view="workNotes"] .community-card section h3{font-size:12px;color:#8a9789;margin:0 0 10px}.main[data-view="workNotes"] .community-card section p{font-size:13px;line-height:1.85;margin:0}.main[data-view="workNotes"] .community-card>.heading button{font-size:10px;padding:4px 8px}.main[data-view="workNotes"] .community-feed>.panel:not(.community-card){padding:32px;text-align:center;color:#93a08e;font-size:13px}.main[data-view="workNotes"] #content>.panel:last-child{padding:14px 20px;margin-top:20px;font-size:12px}.main[data-view="workNotes"] #content>.panel:last-child button{padding:7px 12px;font-size:11px}.report-center{display:grid;grid-template-columns:minmax(0,1fr) 245px;gap:22px;align-items:start}.report-main,.notification-center{border:1px solid #dfe6dc;border-radius:13px;background:#fff;overflow:hidden}.report-main>header{padding:20px 23px;border-bottom:1px solid #e9eee5}.report-main>header>div{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.report-main h2{font-size:15px;margin:0}.report-main header span{font-size:11px;color:#93a18e}#reportCenterSearch{display:flex;gap:9px}#reportCenterSearch input{font-size:12px}#reportCenterSearch button{font-size:12px}.report-record{display:flex;align-items:center;width:100%;text-align:left;padding:20px 23px;border:0;border-bottom:1px solid #edf1e9;border-radius:0;gap:14px}.report-record-icon{display:grid;place-items:center;width:36px;height:40px;background:#eef2eb;color:#7b9077;border-radius:8px;flex:none;font-size:21px}.report-record-copy{min-width:0;flex:1;display:flex;flex-direction:column;gap:7px}.report-record-copy strong{font-size:14px;overflow-wrap:anywhere}.report-record-copy small{font-size:11px;color:#92a08d}.report-state{font-size:11px;white-space:nowrap;padding:5px 8px;border-radius:5px;background:#edf1ec;color:#7e8e78}.report-state-investigating{background:#eaf1fb;color:#6784ab}.report-state-confirmed{background:#e8f3e6;color:#63875a}.report-state-unverified{background:#fff2df;color:#a68a54}.report-arrow{color:#a5b09f;font-size:22px}.report-main footer{display:flex;justify-content:space-between;padding:15px 22px;color:#93a18e;font-size:11px}.report-main footer button{font-size:11px;padding:6px 10px;margin-left:6px}.report-guidance{background:#f7f9f4;border:1px solid #e0e7db;border-radius:13px;padding:24px}.report-privacy-icon{display:grid;place-items:center;width:36px;height:36px;background:#e5eddd;color:#7b9372;border-radius:10px;font-size:23px}.report-guidance h3{font-size:13px;margin:18px 0 10px}.report-guidance h4{font-size:12px;margin:22px 0 8px}.report-guidance p,.report-guidance li{font-size:11px;color:#8d9b85;line-height:1.9}.report-guidance ol{padding-left:17px;margin:8px 0}.refined-empty{text-align:center;padding:48px 22px;color:#91a08b}.refined-empty>span{font-size:32px;color:#bcc8b3;display:inline-grid;place-items:center;width:62px;height:62px;background:#f4f7f0;border-radius:18px}.refined-empty h3{font-size:15px;font-weight:550;color:#82927c;margin:17px 0 9px}.refined-empty p{font-size:12px;margin:0}#reportDetailCard>.community-card{margin:0;border:0;box-shadow:none;padding:8px 23px 23px}#reportDetailCard h2{font-size:20px}#reportDetailCard .heading{flex-wrap:wrap;gap:8px}#reportDetailCard .heading>div{flex:1 1 100%}#reportDetailCard button{font-size:11px;padding:7px 10px}#reportDetailCard .community-text{font-size:13px}.notification-center>header{display:flex;align-items:center;justify-content:space-between;padding:15px 22px;border-bottom:1px solid #e8eee2}.notification-center>header>div{display:flex;gap:10px}.notification-center header button{font-size:12px;background:transparent;border:0;color:#90a086;padding:8px 11px}.notification-center header button.active{color:#477240;background:#edf3e7;font-weight:600}.notification-center header span{font-size:10px;background:#f4f7f0;border-radius:5px;padding:2px 5px;margin-left:6px}.notification-record{display:flex;align-items:center;gap:16px;width:100%;text-align:left;padding:21px 24px;border:0;border-bottom:1px solid #edf1e8;border-radius:0;background:white}.notification-record.unread{background:#fafcf7}.notification-record-icon{display:grid;place-items:center;width:38px;height:38px;background:#eef4e8;border-radius:11px;color:#849b78;font-size:23px}.notification-record>span:nth-child(2){flex:1;display:flex;flex-direction:column;gap:8px}.notification-record strong{font-size:13px;font-weight:550}.notification-record small{font-size:11px;color:#99a48f}.notification-record i{font-size:10px;font-style:normal;color:#a3ad9a}.notification-record.unread i{color:#719b5e}.notification-record b{font-size:22px;color:#b5bfac;font-weight:400}@media(max-width:900px){.report-center{grid-template-columns:1fr}.report-guidance{display:none}}@media(max-width:700px){.main[data-view="workNotes"] #summaryFilter{grid-template-columns:1fr 1fr}.main[data-view="workNotes"] .community-card section{display:block;width:100%;padding:0;margin-bottom:19px}.report-record{padding:17px 15px;gap:9px}.notification-center>header{padding:12px;gap:6px}.notification-center header button{padding:7px;font-size:11px}.notification-record{padding:18px 15px;gap:10px}}
#reportCenterSearch button{flex:none;white-space:nowrap}.main[data-view="guidance"] .collaboration-tabs{width:max-content;max-width:100%;display:flex;gap:4px;padding:4px;margin:0 0 20px;border:1px solid #dfe7da;border-radius:9px}.main[data-view="guidance"] .collaboration-tabs button{flex:none;min-width:110px;font-size:12px;padding:9px 20px;border-radius:6px}.main[data-view="guidance"] #content>.panel{padding:0;overflow:hidden;border-radius:13px}.main[data-view="guidance"] #content>.panel>.paneltitle{padding:18px 22px;margin:0;border-bottom:1px solid #e8eee2}.main[data-view="guidance"] .paneltitle h2{font-size:14px;margin:0}.main[data-view="guidance"] .paneltitle button{font-size:11px;padding:7px 12px}.help-request-row{display:flex;gap:14px;align-items:flex-start;padding:21px 23px;border-bottom:1px solid #edf1e9;background:#fff}.help-request-row:last-child{border-bottom:0}.help-request-icon{width:34px;height:38px;flex:none;display:grid;place-items:center;background:#edf3e9;color:#829a75;border-radius:9px;font-size:19px}.help-request-copy{flex:1;min-width:0}.help-request-title{font-size:14px;font-weight:600;padding:0;background:none;border:0;text-align:left;line-height:1.6}.help-request-copy>p{font-size:12px;color:#90a087;line-height:1.7;margin:7px 0 10px;white-space:pre-wrap;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.help-request-copy>div{display:flex;gap:12px;flex-wrap:wrap;color:#98a48f;font-size:10px}.help-request-end{display:flex;flex-direction:column;align-items:flex-end;gap:14px}.help-request-end button{padding:6px 10px;font-size:11px;background:#f5f8f0;border-color:#e6eddd}.help-request-state{font-size:10px;color:#a58c56;background:#fff4df;border-radius:5px;padding:4px 7px}.help-request-state.active{background:#eaf0fb;color:#718eaf}.help-request-state.resolved{background:#eaf4e5;color:#749467}.compact-dialog{width:min(440px,calc(100vw - 36px))!important;padding:24px!important}.compact-dialog h2{font-size:19px}.compact-dialog .formgrid{grid-template-columns:1fr}.compact-dialog header{margin-bottom:20px!important;padding-bottom:16px!important}.compact-dialog footer{margin-top:22px!important;padding-top:16px!important}.compact-dialog #closeModal{padding:4px 9px;font-size:20px}.main[data-view="guidance"] .follow-conversation{margin:18px 20px;border-radius:10px}@media(max-width:650px){.help-request-row{padding:17px 14px;gap:10px;flex-wrap:wrap}.help-request-end{flex-direction:row;margin-left:44px;align-items:center}.help-request-copy>div{gap:7px}.main[data-view="guidance"] .follow-conversation{margin:12px}}
.compact-dialog:has(.help-customer-search){width:min(580px,calc(100vw - 36px))!important}.help-customer-search{display:flex;gap:8px}.help-customer-search input{font-size:12px;min-width:0}.help-customer-search>button{flex:none;white-space:nowrap;font-size:12px}.help-customer-count{font-size:11px;color:#93a18a;margin:0 0 12px}.help-customer-options{display:grid;gap:7px;max-height:350px;overflow:auto}.help-customer-option{display:flex;align-items:center;gap:11px;width:100%;text-align:left;padding:11px 13px;border:1px solid #e4eade;border-radius:8px}.help-customer-option.selected{border-color:#94b38a;background:#f0f6e9}.help-customer-avatar{width:31px;height:34px;display:grid;place-items:center;border-radius:8px;background:#edf2e7;color:#8ba078;flex:none;font-size:13px}.help-customer-option>span:nth-child(2){display:flex;flex:1;flex-direction:column;gap:5px}.help-customer-option strong{font-size:12px;font-weight:600}.help-customer-option small{font-size:10px;color:#94a08d}.help-customer-option i{color:#8ca67a;font-style:normal}.help-customer-pages{display:flex;justify-content:space-between;align-items:center;margin-top:14px}.help-customer-pages button{font-size:10px;padding:5px 9px}.help-customer-pages span{font-size:10px;color:#a0ab94}.help-customer-hint{font-size:10px;line-height:1.8;margin:0}.help-customer-no-result{font-size:12px;color:#9aa68f;text-align:center;padding:25px}

.main[data-view="guidance"] .collaboration-tabs{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:6px;margin:0 0 22px;background:#eaf0e5;border:1px solid #dce6d3;border-radius:12px}.main[data-view="guidance"] .collaboration-tabs button{width:100%;font-size:17px;font-weight:650;min-height:50px;padding:13px 20px;line-height:1.4;color:#6f8268;border:1px solid transparent;box-shadow:none}.main[data-view="guidance"] .collaboration-tabs button.active{background:#2d6751;color:#fff;border-color:#2d6751;box-shadow:0 2px 5px #234d3620}.management-workspace{background:#fff;border:1px solid #dce5d7;border-radius:13px;overflow:hidden}.management-tools{display:flex;gap:12px;padding:18px 22px;border-bottom:1px solid #edf1e8}.management-tools form{display:flex;gap:8px;flex:1;min-width:0}.management-tools input{font-size:13px;min-width:0}.management-tools button{font-size:12px;white-space:nowrap;flex:none}.management-state-tabs{display:flex;gap:5px;align-items:center;padding:12px 20px;border-bottom:1px solid #e9eee2;flex-wrap:wrap}.management-state-tabs>button{border:0;background:none;color:#92a087;font-size:12px;padding:8px 12px}.management-state-tabs>button.active{background:#edf4e7;color:#4f7545;font-weight:600}.management-state-tabs>button>span{font-size:10px;margin-left:8px;color:#9cae8f}.management-unread{margin-left:auto;font-size:11px;color:#a1ad94}.management-thread{border-bottom:1px solid #edf1e8}.management-thread:last-child{border-bottom:0}.management-thread>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:14px;padding:22px}.management-thread>summary::-webkit-details-marker{display:none}.management-thread>summary:hover{background:#fafcf7}.management-item-icon{width:36px;height:40px;flex:none;border-radius:9px;background:#edf3e7;color:#8ea37e;display:grid;place-items:center;font-size:23px}.management-item-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:9px}.management-item-copy strong{font-size:15px;font-weight:600;line-height:1.6}.management-item-copy small{display:flex;gap:14px;flex-wrap:wrap;font-size:11px;color:#95a08e}.management-item-end{display:flex;flex-direction:column;gap:9px;align-items:flex-end}.management-item-end small{font-size:10px;color:#a2ad98}.management-item-end .follow-state{font-size:11px;padding:5px 8px}.management-expand{color:#a4b297;font-size:18px;transition:transform .2s}.management-thread[open] .management-expand{transform:rotate(180deg)}.management-thread-body{padding:0 22px 20px;background:#fafcf8}.main[data-view="guidance"] .management-thread-body .follow-conversation{margin:0}.management-thread[open]>summary{background:#f7faf2}@media(max-width:650px){.main[data-view="guidance"] .collaboration-tabs button{font-size:16px;padding:13px}.management-tools{padding:14px;gap:7px}.management-thread>summary{padding:17px 14px;gap:9px}.management-item-copy strong{font-size:14px}.management-item-copy small{gap:5px}.management-item-end small{display:none}.management-thread-body{padding:0 12px 14px}.management-unread{margin-left:8px}.management-state-tabs{padding:10px}.management-state-tabs>button{padding:7px 9px}}
.main[data-view="guidance"] #content>.collaboration-tabs{display:grid;grid-template-columns:1fr 1fr;width:100%;padding:7px;gap:9px;background:#e9f0e4}.main[data-view="guidance"] #content>.collaboration-tabs>button{font-size:18px;font-weight:650;min-height:54px;line-height:1.5;padding:13px 20px;color:#526e4c;background:transparent}.main[data-view="guidance"] #content>.collaboration-tabs>button.active{background:#2d6751;color:#fff;border-color:#2d6751;box-shadow:0 2px 5px #234d3620}

/* Work summaries read as a document, with full-width sections. */
.main[data-view="workNotes"] .community-card{max-width:100%;padding:24px 28px}
.main[data-view="workNotes"] .community-card section{display:block;width:100%;padding:18px 0;margin:0;border-bottom:1px solid #edf0ed}
.main[data-view="workNotes"] .community-card section:last-child{border-bottom:0;padding-bottom:0}
.main[data-view="workNotes"] .community-card section h3{font-size:15px;color:#2b5144;margin:0 0 10px;font-weight:650}
.main[data-view="workNotes"] .community-card section p{font-size:15px;line-height:1.85;max-width:88ch;white-space:pre-wrap;overflow-wrap:anywhere;color:#36443e}
.main[data-view="workNotes"] .community-card>.heading p,.main[data-view="workNotes"] .community-card>.heading span{font-size:13px}
#modal.summary-editor-dialog{width:min(840px,calc(100vw - 32px));max-width:840px}
#modal.summary-editor-dialog .formgrid{grid-template-columns:1fr;gap:20px}
#modal.summary-editor-dialog textarea{font-size:15px;line-height:1.75;min-height:150px;resize:vertical;padding:14px 16px}
#modal.summary-editor-dialog label{font-size:14px;color:#30483c}
.summary-editor-meta{margin:0;padding:10px 14px;background:#f3f7f4;border-radius:8px;color:#63766a;font-size:13px}

/* Content-first work summary reading layout. */
.main[data-view="workNotes"] .summary-filter-panel{padding:14px 20px;margin-bottom:18px}
.main[data-view="workNotes"] #summaryFilter{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 16px;align-items:end}
.main[data-view="workNotes"] #summaryFilter input,.main[data-view="workNotes"] #summaryFilter select{padding:8px 10px;min-height:36px;font-size:14px}
.main[data-view="workNotes"] #summaryFilter>button{padding:8px 20px;justify-self:start;min-height:36px}
.main[data-view="workNotes"] .community-feed{max-width:1080px;margin:0 auto}
.main[data-view="workNotes"] .community-card{padding:24px 32px;margin-bottom:18px;box-shadow:none}
.main[data-view="workNotes"] .community-card>.heading{margin:0 0 4px;padding-bottom:14px;align-items:start;gap:16px}
.main[data-view="workNotes"] .community-card h2{font-size:20px}
.main[data-view="workNotes"] .community-card section{display:block;width:100%;padding:18px 0;margin:0}
.main[data-view="workNotes"] .community-card section h3{font-size:16px;margin:0 0 9px;color:#285445}
.main[data-view="workNotes"] .community-card section p{font-size:16px;line-height:1.75;max-width:none;white-space:pre-line;overflow-wrap:anywhere;margin:0;color:#34433b}
@media(max-width:700px){.main[data-view="workNotes"] #summaryFilter{grid-template-columns:1fr 1fr}.main[data-view="workNotes"] .community-card{padding:20px}.main[data-view="workNotes"] .community-card>.heading{flex-wrap:wrap}}

/* Minimal summary page: tools recede, writing takes precedence. */
.main[data-view="workNotes"] .summary-filter-panel{border:0;background:transparent;box-shadow:none;padding:0 0 16px;margin:0 auto 8px;max-width:1080px;border-radius:0}
.summary-filter-panel>summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:14px;color:#456556;font-size:14px;padding:10px 0;width:fit-content}
.summary-filter-panel>summary::-webkit-details-marker{display:none}
.summary-filter-panel>summary:before{content:'＋';font-size:18px}
.summary-filter-panel[open]>summary:before{content:'−'}
.summary-filter-panel>summary span{color:#89938d;font-size:12px;font-weight:400}
.main[data-view="workNotes"] .summary-filter-panel[open] #summaryFilter{padding:16px 0 6px;border-top:1px solid #e3e8e4;margin-top:6px}
.main[data-view="workNotes"] .community-card{border:0;border-radius:16px;background:#fff;padding:28px 32px;margin-bottom:20px;box-shadow:0 1px 4px #183b2610}
.main[data-view="workNotes"] .community-card section{border:0;padding:14px 0}
.main[data-view="workNotes"] .community-card section h3{font-size:14px;font-weight:600;color:#768379;margin-bottom:8px}
.main[data-view="workNotes"] .community-card section p{font-size:16px;line-height:1.8;color:#283b30}
.main[data-view="workNotes"] .community-card>.heading{border-bottom:0;padding-bottom:10px;margin-bottom:0}
.main[data-view="workNotes"] .community-card>.heading button{border:0;background:transparent;color:#6b8877;padding:4px 0;font-size:12px}
.main[data-view="workNotes"] #content>.heading{max-width:1080px;margin-left:auto;margin-right:auto}
@media(max-width:700px){.main[data-view="workNotes"] .community-card{padding:22px}.summary-filter-panel>summary span{display:none}}

.sidebar .summary-unread-count{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 7px;margin-left:auto;border-radius:12px;background:#f3b54b;color:#382700;font-size:13px;font-weight:750;line-height:1;flex-shrink:0}.sidebar .summary-unread-count[hidden]{display:none}

.inbox-row{display:flex;align-items:center;justify-content:space-between;width:100%;text-align:left;padding:16px 4px;border:0;border-bottom:1px solid #e8ede9;border-radius:0;background:white;gap:16px}.inbox-row>span{display:flex;flex-direction:column;gap:7px;min-width:0}.inbox-row small{color:#b37922;font-size:12px}.inbox-row strong{font-size:15px;overflow-wrap:anywhere}.inbox-row span span{font-size:12px;color:#849087}.inbox-row b{font-size:22px;color:#869b8d}.inbox-empty{padding:32px;text-align:center;color:#849087}

#modal.help-chat-dialog{width:min(880px,calc(100vw - 32px));max-width:880px}
.help-chat-context{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:13px;padding-bottom:14px;border-bottom:1px solid #e5ebe7}.help-chat-context>span:not(.pill){color:#859388}.help-chat-context>.pill{margin-left:auto}
.help-chat-thread{padding:16px;background:#f6f8f6;border-radius:12px;max-height:48vh;overflow:auto;display:flex;flex-direction:column;gap:18px}
.help-chat-message{max-width:85%;align-self:flex-start}.help-chat-message.mine{align-self:flex-end}.help-chat-meta{font-size:12px;color:#75877a;margin:0 4px 6px}.help-chat-meta time{margin-left:8px;font-size:11px;color:#98a29b}.help-chat-message.mine .help-chat-meta{text-align:right}.help-chat-bubble{border-radius:12px;padding:12px 16px;background:#fff;border:1px solid #e4eae5}.mine .help-chat-bubble{background:#e5f2ea;border-color:#d2e7da}.help-chat-bubble>p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.7}.help-chat-bubble .attachment-card{max-width:240px}.help-chat-bubble .attachment-preview{height:150px}.help-chat-bubble .attachment-info strong{font-size:12px}
#modal.help-chat-dialog textarea{min-height:88px;font-size:15px}#modal.help-chat-dialog .formgrid{gap:16px}

.case-customer-id{font-size:12px;font-style:normal;font-weight:400;color:#82968a;margin-left:8px}.case-subject{display:block;font-size:14px;line-height:1.6;color:#426353;font-weight:550}.case-preview{font-size:13px;line-height:1.6;color:#7f8b82;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.help-request-copy>.case-subject{margin-top:8px}.case-status-details{font-size:13px;color:#718379}.case-status-details summary{cursor:pointer}.case-status-details p{line-height:1.8}.follow-conversation-head h3 small{font-size:12px;font-weight:400;color:#82968a}

/* Separate customer identity, discussion, and actions. */
.main[data-view="guidance"] .management-thread>summary,.main[data-view="guidance"] .management-thread[open]>summary{background:#fff}
.main[data-view="guidance"] .management-thread[open]>summary{border-bottom:1px solid #e3e8e5}
.main[data-view="guidance"] .management-thread-body{background:#f3f5f6;padding:20px}
.management-thread-body .follow-conversation{border:1px solid #e0e5e3;background:white;border-radius:12px;overflow:hidden}
.management-thread-body .follow-conversation-head{display:none}
.follow-messages{background:#fff;padding:24px;gap:20px}
.follow-bubble{background:#f0f2f4;color:#26332e;border:0;border-radius:12px}
.follow-message.mine .follow-bubble{background:#e2f1e9;color:#214f3b}
.follow-speaker{margin-bottom:7px}.follow-speaker strong{color:#35483e}.follow-speaker span{color:#8b9590}
.follow-conversation-footer{background:#fafbfc;border-top:1px solid #e7ebed}
.follow-reply-form{background:#fff;border-top:1px solid #e7ebed;padding:20px 24px}
.follow-reply-form textarea{background:#fff;border:1px solid #cdd8d1}
.management-item-copy .case-subject{color:#465b50}.management-item-copy .case-preview{color:#7b8580}
.case-system-event{text-align:center;color:#8c9690;font-size:12px;padding:5px 12px;line-height:1.7;align-self:center}
.help-chat-thread{background:#f4f6f7}.help-chat-context{background:#fff}.help-chat-message:not(.mine) .help-chat-bubble{background:#fff;border:1px solid #e4e9e6}
.follow-state-done,.help-request-state.resolved{background:#e7f3eb;color:#33734b}

.management-item-copy>strong{font-size:14px!important;font-weight:550!important;color:#5d6f64;line-height:1.5}.management-item-copy>strong .case-customer-id{font-size:11px;color:#98a29b;margin-left:8px;font-weight:400}.management-item-copy>.case-subject{font-size:16px;font-weight:650;color:#2e4739}.management-item-copy{gap:7px}.help-request-title{font-size:14px!important;font-weight:550!important}.help-request-title .case-customer-id{font-size:11px;color:#98a29b}.help-request-copy>.case-subject{font-size:16px;color:#2e4739}.follow-conversation-head h3{font-size:15px!important;font-weight:550!important}.follow-conversation-head h3 small{font-size:11px}.help-chat-context>strong{font-size:14px;font-weight:550}.help-chat-context{gap:8px;font-size:12px}

.management-thread>summary{padding:18px 22px!important;align-items:flex-start!important}.management-item-icon{width:30px;height:32px;font-size:18px;margin-top:3px}.management-item-copy{display:flex!important;flex-direction:row!important;flex-wrap:wrap;align-items:baseline;gap:7px 14px!important}.management-item-copy>.case-subject{order:0;flex:1 1 100%;font-size:16px;line-height:1.5}.management-item-copy>strong{order:1;font-size:12px!important;line-height:1.6;font-weight:500!important}.management-item-copy>strong .case-customer-id{font-size:11px}.management-item-copy>small{order:2;font-size:12px;line-height:1.6}.management-item-copy>.case-preview{order:3;flex:1 1 100%;font-size:13px;line-height:1.6;margin-top:2px}.management-item-end{padding-top:2px}.management-thread>summary .management-expand{padding-top:6px}

.case-list-row{display:flex;align-items:flex-start;gap:14px;padding:18px 22px;text-align:left;width:100%;border:0;border-bottom:1px solid #e6ebe8;border-radius:0;background:#fff}.case-list-row:hover{background:#f8faf9}.case-list-row .management-item-copy{flex:1;min-width:0}.case-list-row .management-expand{font-size:0}.case-list-row .management-expand:after{content:'›';font-size:23px}.case-page{max-width:1120px;margin:0 auto}.case-page .follow-conversation{background:#fff;overflow:hidden;border:1px solid #e1e7e3;border-radius:14px}.case-page .follow-conversation-head{display:none}.case-page .follow-messages{min-height:240px}.case-help-page{background:white;border:1px solid #e0e7e2;border-radius:14px;padding:24px}.case-help-page .formgrid{display:grid;grid-template-columns:1fr;gap:18px}.case-help-page .help-chat-thread{max-height:none;min-height:240px}.case-help-page footer{display:flex;justify-content:flex-end;gap:12px;border-top:1px solid #e4eae6;padding-top:18px;margin-top:18px}.case-help-page textarea{min-height:100px}.case-help-page .full{grid-column:1/-1}

.reply-file-picker{margin:8px 0}.reply-file-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.reply-file-toolbar>button{padding:6px 10px;font-size:12px}.reply-file-toolbar>span{font-size:12px;color:#8b9790}.reply-file-previews{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}.reply-file-preview{display:flex;flex-direction:column;gap:6px;max-width:170px;padding:9px;border:1px solid #dce5df;border-radius:9px;background:#fafcfb;font-size:12px;overflow-wrap:anywhere}.reply-file-preview img{width:140px;height:90px;object-fit:contain}.reply-file-preview button{font-size:11px;padding:4px}.reply-dragover textarea{outline:2px dashed #4b8a69;background:#f0f8f3}

.person-avatar{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;background:#e6eee9;color:#4c7560;font-size:14px;font-weight:600;flex-shrink:0;overflow:hidden;vertical-align:middle}.person-avatar img{width:100%;height:100%;object-fit:cover}.person-avatar.is-anonymous{background:#eef0f2;color:#87918b}.profile-entry{display:flex;align-items:center;gap:9px;width:100%;padding:8px 0!important;border:0!important;background:transparent!important;color:inherit!important;text-align:left}.profile-entry small{font-size:10px;opacity:.65;margin-left:auto}.profile-entry .person-avatar{width:32px;height:32px}.avatar-settings{display:flex;align-items:center;flex-direction:column;gap:16px;text-align:center}#avatarPreview,#avatarPreview>.person-avatar,#avatarPreview>img{width:96px;height:96px;border-radius:50%;object-fit:cover;overflow:hidden}#avatarPreview>.person-avatar{font-size:32px}.help-chat-meta{display:flex;align-items:center;gap:8px}.help-chat-message.mine .help-chat-meta{justify-content:flex-end}.help-chat-meta .person-avatar{width:26px;height:26px;font-size:11px}.forum-avatar>.person-avatar{width:100%;height:100%}.community-author-line{display:flex;align-items:center;gap:8px}.community-reply>.person-avatar{margin-right:9px;width:30px;height:30px}

.case-reopen-option{display:flex!important;align-items:center;gap:8px;font-size:13px!important;margin:12px 0;color:#476d57}.case-reopen-option input{width:auto!important}

.phone-entry{display:grid;grid-template-columns:150px minmax(0,1fr);gap:12px}.phone-entry label{display:flex;flex-direction:column;gap:7px}.phone-entry label>span{font-size:12px;color:#7a8b80;font-weight:400}.phone-entry input{width:100%;min-width:0}.calling-code-field input{font-weight:600}.phone-entry+small{display:block;margin-top:8px}@media(max-width:500px){.phone-entry{grid-template-columns:110px minmax(0,1fr);gap:8px}}

.duplicate-search{display:flex;gap:10px;margin-bottom:18px;max-width:650px}.duplicate-list{border:1px solid #dfe6e1;background:white;border-radius:13px;overflow:hidden}.duplicate-group{border-bottom:1px solid #e7ece8}.duplicate-group:last-child{border:0}.duplicate-group>summary{display:flex;align-items:center;gap:15px;list-style:none;cursor:pointer;padding:20px 24px}.duplicate-group>summary::-webkit-details-marker{display:none}.duplicate-group>summary:hover{background:#f8faf9}.duplicate-identity{display:flex;align-items:baseline;gap:16px;flex:1;min-width:0;flex-wrap:wrap}.duplicate-identity strong{font-size:15px}.duplicate-identity small{font-size:12px;color:#8b9b91}.duplicate-identity>span{font-size:14px;color:#697e70}.duplicate-count{background:#edf3ef;color:#547763;padding:5px 10px;border-radius:6px;font-size:12px;white-space:nowrap}.duplicate-chevron{color:#91a497;transition:transform .15s}.duplicate-group[open] .duplicate-chevron{transform:rotate(180deg)}.duplicate-body{padding:0 24px 22px;border-top:1px solid #edf0ee}.duplicate-pagination{display:flex;justify-content:flex-end;align-items:center;gap:10px;padding:14px 0;color:#819187;font-size:12px}.duplicate-pagination button{font-size:12px;padding:7px 12px}@media(max-width:650px){.duplicate-group>summary{padding:16px;gap:9px}.duplicate-identity{gap:5px 12px}.duplicate-body{padding:0 12px 16px}}

.customer-duplicate-hint{font-size:12px;margin:8px 0;color:#aa792d}.customer-duplicate-hint>summary{cursor:pointer;width:fit-content;background:#fff6e6;border:1px solid #efdebd;padding:4px 8px;border-radius:6px}.customer-duplicate-hint>div{background:#fffcf5;border:1px solid #eee3ce;padding:12px;border-radius:8px;margin:6px 0;max-width:520px;max-height:260px;overflow:auto;color:#50675a}.customer-duplicate-hint p{margin:4px 0}.customer-duplicate-hint small{font-size:11px;color:#89978d;margin-left:8px}.duplicate-people{font-size:13px;color:#586f60;line-height:1.8}

/* Collaboration navigation and tools stay secondary to the case list. */
.main[data-view="guidance"] #content>.collaboration-tabs{display:flex;width:fit-content;max-width:100%;padding:4px;gap:4px;margin:0 0 18px;border:1px solid #dfe7e2;background:#edf2ef;border-radius:10px}
.main[data-view="guidance"] #content>.collaboration-tabs>button{width:auto;min-width:150px;min-height:46px;font-size:16px;padding:10px 24px;border-radius:7px}
.main[data-view="guidance"] .management-workspace{display:flex;flex-direction:column;position:relative}
.main[data-view="guidance"] .management-state-tabs{order:0;min-height:76px;padding:16px 22px;padding-right:460px;gap:4px;border-bottom:1px solid #e8edea}
.main[data-view="guidance"] .management-tools{position:absolute;top:16px;right:20px;padding:0;border:0;gap:8px;width:410px;align-items:center}
.main[data-view="guidance"] .management-tools form{gap:6px}.main[data-view="guidance"] .management-tools input{font-size:13px;min-height:36px;padding:8px 10px}.main[data-view="guidance"] .management-tools button{min-height:36px;padding:8px 10px;font-size:12px}
.main[data-view="guidance"] .management-item-list{order:2}.main[data-view="guidance"] .management-unread{margin-left:8px;font-size:11px}
@media(max-width:1100px){.main[data-view="guidance"] .management-state-tabs{padding-right:22px;min-height:auto}.main[data-view="guidance"] .management-tools{position:static;order:1;width:auto;padding:10px 20px;border-bottom:1px solid #e8edea;justify-content:flex-end}.main[data-view="guidance"] .management-tools form{flex:0 1 340px}}
@media(max-width:600px){.main[data-view="guidance"] #content>.collaboration-tabs{width:100%}.main[data-view="guidance"] #content>.collaboration-tabs>button{flex:1;min-width:0;padding:10px 16px}.main[data-view="guidance"] .management-state-tabs{padding:10px}.main[data-view="guidance"] .management-tools{padding:10px}.main[data-view="guidance"] .management-tools form{flex:1}}

.main[data-view="guidance"] .management-tools{width:500px}.main[data-view="guidance"] .management-state-tabs{padding-right:550px}.management-tools select,.case-filter-form select{width:150px;min-width:110px;flex-shrink:0;font-size:13px;min-height:36px;padding:7px 9px}.case-filter-form{display:flex;gap:10px;align-items:center;margin:0 0 18px}.case-filter-form input{max-width:360px;font-size:13px}.case-filter-form button{font-size:13px}@media(max-width:1250px){.main[data-view="guidance"] .management-state-tabs{padding-right:22px}.main[data-view="guidance"] .management-tools{position:static;order:1;width:auto;padding:10px 20px;border-bottom:1px solid #e8edea}.main[data-view="guidance"] .management-tools form{flex:1}}@media(max-width:600px){.management-tools form,.case-filter-form{flex-wrap:wrap}.management-tools select,.case-filter-form select{width:100%}.management-tools input,.case-filter-form input{flex:1;min-width:120px}}

/* A consistent, prominent inbox entry on every page. */
.main .topbar .notification-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:10px 15px;font-size:15px;font-weight:600;line-height:1.4;border:1px solid #cfddd4;border-radius:10px;background:#fff;color:#3f6d52;box-shadow:0 2px 6px #24483107;white-space:nowrap}
.main .topbar .notification-btn .notification-icon{display:inline-flex;color:#638b72}
.main .topbar .notification-btn .notification-label{font-size:15px;letter-spacing:.15px}
.main .topbar .notification-btn .unread-badge{display:inline-flex;align-items:center;justify-content:center;height:23px;min-width:23px;margin:0 0 0 2px;padding:0 6px;font-size:13px;font-weight:700;line-height:1;border-radius:12px;background:#ce6254;color:#fff;box-shadow:0 1px 3px #ae433a1a}
.main .topbar .notification-btn .unread-badge[hidden]{display:none}
.main .topbar .notification-btn.has-pending{background:#fffaf1;border-color:#ead5ac;color:#77602f;box-shadow:0 2px 7px #a87c2310}
.main .topbar .notification-btn.has-pending .notification-icon{color:#b58b3d}
.main .topbar .notification-btn:hover{background:#f0f6f2;border-color:#acc6b5;transform:translateY(-1px)}
.main .topbar .notification-btn.has-pending:hover{background:#fff4df;border-color:#d8bb82}
.main .topbar .notification-btn:focus-visible{outline:2px solid #90b9a0;outline-offset:3px}
.main .topbar #serverClock{font-size:12px;color:#8a9a90}.main .topbar .clock>.pill{font-size:11px;color:#879a8c;padding:5px 10px}.main .topbar .clock{gap:12px}
@media(max-width:700px){.main .topbar .notification-btn{min-height:42px;font-size:14px;padding:9px 12px}.main .topbar .notification-btn .notification-label{font-size:14px}.main .topbar .clock{gap:9px}.main .topbar .clock>.pill{display:none}}
#systemUpdateConfig #updateUploadForm{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:18px;background:#f7f9fc;border:1px solid #e4e9ef;border-radius:9px}#systemUpdateConfig #updateUploadForm label{display:flex;align-items:center;flex-wrap:wrap;gap:12px;font-size:13px;color:#5f6f82}#systemUpdateConfig input[type=file]{width:280px;max-width:100%;font-size:13px;padding:6px;background:#fff}#systemUpdateConfig button{font-size:13px;padding:8px 14px;white-space:nowrap}#systemUpdateConfig p{font-size:13px;line-height:1.85}#systemUpdateConfig #updatePackagePreview{margin-top:14px}

.cohort-reply-explanation{font-size:12px;line-height:1.7;padding:12px 14px;margin:16px 0 0;background:#f3f7fa;border:1px solid #e2e9ee;border-radius:6px;color:#5c7180}.cohort-reply-explanation strong{color:#34576e}

.message-sound-toggle{padding:7px 10px;min-height:34px;width:auto;font-size:12px;white-space:nowrap}.clock{flex-wrap:wrap}

.system-back-button{padding:6px 10px;width:auto;min-height:32px;margin-right:12px;font-size:13px}

.minimal-ratio-table tbody td:nth-child(2) .ratio-numerator{font-size:12px;font-weight:400;color:#7d8981}.minimal-ratio-table tbody td:nth-child(2) .ratio-divider{font-size:12px;font-weight:400;color:#9aa59e}.minimal-ratio-table tbody td:nth-child(2) .ratio-denominator{font-size:18px;font-weight:650;color:#344f40}.business-ratio-date{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-left:auto}.business-ratio-date label{font-size:12px;color:#718174}.business-ratio-date input{width:150px;min-height:34px;padding:6px 8px;font-size:13px}.business-ratio-date button{width:auto;min-height:34px;padding:6px 12px;font-size:13px}.minimal-ratio-heading{flex-wrap:wrap}.minimal-ratio-heading>span{flex-basis:100%;text-align:right}

/* Daily reports: focused metric groups, stable identity, compact actions. */
.daily-report-refined .paneltitle{align-items:flex-start;flex-wrap:wrap}.daily-report-refined .paneltitle p{margin:7px 0 0;font-size:12px}.daily-metric-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.daily-metric-tabs button{padding:8px 14px;background:#f3f6f4;border:1px solid #dce5df;color:#54675c}.daily-metric-tabs button.active{background:#286653;color:#fff;border-color:#286653}.daily-report-refined .tablewrap{overflow:auto;max-height:65vh;border:1px solid #e0e6e1;border-radius:12px}.daily-report-refined table{min-width:850px;width:100%;font-variant-numeric:tabular-nums}.daily-report-refined th{white-space:normal;min-width:112px;max-width:160px;line-height:1.6}.daily-report-refined th:not(:first-child):not(:last-child),.daily-report-refined td:not(:first-child):not(:last-child){text-align:right}.daily-report-refined th:nth-child(2),.daily-report-refined td:nth-child(2){text-align:center!important;min-width:90px}.daily-report-refined td:first-child,.daily-report-refined th:first-child{min-width:170px;max-width:210px}.daily-person strong,.daily-person small{display:block}.daily-person small{color:#819087;margin-top:4px}.daily-person details{font-size:11px;margin-top:7px;color:#708178}.daily-person details summary{cursor:pointer}.daily-person details p{white-space:normal;overflow-wrap:anywhere}.daily-row-actions{display:flex;gap:10px;white-space:nowrap;justify-content:flex-end}.daily-status{font-size:11px;border-radius:20px;padding:5px 9px;background:#f4f4f1;color:#8a8a7d}.daily-status.is-submitted{background:#e5f2e9;color:#2f6c4a}.daily-report-refined tbody tr:last-child td{border-top:2px solid #dce5dd}.daily-report-refined .manual-daily-note{line-height:1.8}
@media(max-width:700px){.daily-metric-tabs{gap:6px}.daily-metric-tabs button{padding:7px 10px;font-size:12px}.daily-report-refined table{min-width:740px}.daily-report-refined td:first-child,.daily-report-refined th:first-child{min-width:120px;max-width:140px}.daily-report-refined td:last-child,.daily-report-refined th:last-child{position:static;box-shadow:none}.daily-report-refined .manual-daily-controls{width:100%;justify-content:flex-start}.daily-report-refined .manual-daily-controls input{width:140px}}

.report-date-badge{display:inline-flex;margin-left:10px;padding:5px 10px;border-radius:7px;background:#f1f5f2;color:#73867a;font-size:13px;font-weight:500;vertical-align:middle;font-variant-numeric:tabular-nums}

/* Consistent sidebar hierarchy with two primary destinations. */
.sidebar .sidebar-menu{padding-top:2px}.sidebar .nav-direct-section{display:grid;gap:5px;padding:0 0 16px;margin-bottom:12px;border-bottom:1px solid #ffffff18}.sidebar .nav-direct-section .nav{min-height:43px;font-size:14px;font-weight:550;padding:10px 12px;color:#edf4ef;background:#ffffff06}.sidebar .nav-direct-section .nav.active{background:#37614f}.sidebar .nav-direct-section .icon{color:#d2e1d7}.sidebar .nav-collapsible{margin-bottom:12px}.sidebar .nav-collapsible>summary{font-size:12px;font-weight:550;letter-spacing:.4px;color:#aebfb5;padding:8px 12px;margin:0 0 3px}.sidebar .nav-collapsible>summary:hover{background:#ffffff07;color:#eef5f0}.sidebar .nav-section-children{margin:0;padding:0;border-left:0}.sidebar .nav-section-children .nav{font-size:13px;min-height:37px;padding:8px 12px;gap:11px}.sidebar .nav-section-children .icon{width:17px;height:17px;flex-basis:17px}.sidebar .nav-section-children .icon svg{width:17px;height:17px}.sidebar .nav-chevron{width:13px;height:13px;color:#8fa99a}.sidebar .nav-label{line-height:1.5}.sidebar .sidefoot{border-top:1px solid #ffffff18;padding-top:14px}.sidebar .nav:focus-visible{outline:2px solid #cbb57e;outline-offset:2px}
@media(max-width:700px){.sidebar .nav-direct-section .nav{min-height:46px;font-size:15px}.sidebar .nav-section-children .nav{min-height:42px;font-size:14px}.sidebar .nav-collapsible>summary{min-height:36px;font-size:13px}}

/* Navigation typography: muted section captions, readable feature names. */
.sidebar .brand{font-size:18px;letter-spacing:0;margin-left:10px;margin-bottom:24px}.sidebar .nav-collapsible>summary{font-size:11px!important;font-weight:500!important;letter-spacing:.7px;line-height:20px;color:#9bafa3;padding:6px 12px;margin:0 0 5px}.sidebar .nav-collapsible>summary:hover{color:#d5e2d9}.sidebar .nav-collapsible{margin-bottom:17px}.sidebar .nav-section-children .nav{font-size:13px!important;font-weight:400;min-height:38px;line-height:22px;padding:8px 12px;gap:12px;color:#d1dcd5}.sidebar .nav-section-children .icon{width:19px;height:19px;flex-basis:19px;color:#a7bcaf}.sidebar .nav-section-children .icon svg{width:19px;height:19px}.sidebar .nav.active{font-weight:550;color:#fff;background:#345c49;box-shadow:inset 3px 0 #dac18a}.sidebar .nav.active .icon{color:#f2dba5}.sidebar .nav-direct-section .nav{font-size:14px!important;font-weight:550;min-height:44px;gap:12px;border:1px solid #ffffff0a;border-radius:9px}.sidebar .nav-direct-section .icon{width:20px;height:20px;flex-basis:20px}.sidebar .nav-direct-section .icon svg{width:20px;height:20px}.sidebar .nav-direct-section{gap:7px;padding-bottom:16px;margin-bottom:17px}.sidebar .nav-chevron{width:12px;height:12px;color:#81998b}.sidebar .nav-section-children .nav:hover:not(.active){background:#ffffff08;color:#fff}.sidebar .nav-collapsible>summary:focus-visible{outline:2px solid #cbb57e}.sidebar .sidefoot{background:transparent}
@media(max-width:700px){.sidebar .nav-collapsible>summary{font-size:12px!important;min-height:32px}.sidebar .nav-section-children .nav{font-size:14px!important;min-height:44px}.sidebar .nav-direct-section .nav{font-size:15px!important;min-height:46px}}
/* Primary category labels must remain prominent and easy to scan. */
.sidebar .nav-collapsible>summary{font-size:15px!important;font-weight:600!important;letter-spacing:0;line-height:22px;color:#e1e9e3;padding:9px 12px;margin-bottom:5px}
.sidebar .nav-collapsible>summary .nav-chevron{width:14px;height:14px;color:#b2c3b8}
.sidebar .nav-section-children .nav{font-size:13px!important;font-weight:400;color:#c5d3ca}
.sidebar .nav-direct-section .nav{font-size:15px!important;font-weight:600}
@media(max-width:700px){.sidebar .nav-collapsible>summary{font-size:16px!important;min-height:42px}.sidebar .nav-section-children .nav{font-size:14px!important}.sidebar .nav-direct-section .nav{font-size:16px!important}}

.dashboard .stat-tiles{grid-template-columns:repeat(4,minmax(0,1fr))}.dashboard .stat-tiles-secondary{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:-6px}.dashboard .stat-tiles-secondary .stat-number{font-size:28px}.dashboard .stat-tiles-secondary .stat-tile{padding-top:16px;padding-bottom:16px}@media(max-width:900px){.dashboard .stat-tiles,.dashboard .stat-tiles-secondary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:400px){.dashboard .stat-bottom{flex-wrap:wrap;line-height:1.7}}

/* Compact dashboard scorecards, without oversized two-row blocks. */
.dashboard .stat-tiles{grid-template-columns:repeat(7,minmax(0,1fr));gap:9px;margin-bottom:18px}.dashboard .stat-tile{padding:13px 14px 12px;border-radius:10px;box-shadow:0 1px 2px #153d2503;min-width:0}.dashboard .stat-top{font-size:12px;line-height:19px;gap:6px}.dashboard .stat-icon{width:27px;height:27px;border-radius:7px;flex-shrink:0}.dashboard .stat-icon svg{width:16px;height:16px}.dashboard .stat-number{font-size:27px;letter-spacing:-.6px;line-height:1.25;margin:9px 0 7px;font-weight:600}.dashboard .stat-bottom{font-size:10px;line-height:16px;gap:3px;flex-wrap:wrap;min-height:16px}.dashboard .primary-tile{background:#305e4c}.dashboard .primary-tile:after{display:none}
@media(max-width:1350px){.dashboard .stat-tiles{grid-template-columns:repeat(4,minmax(0,1fr))}.dashboard .stat-tile{padding:12px 14px}.dashboard .stat-number{font-size:26px}}
@media(max-width:900px){.dashboard .stat-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:560px){.dashboard .stat-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.dashboard .stat-tile{padding:11px 12px}.dashboard .stat-number{font-size:24px}.dashboard .stat-top{font-size:12px}.dashboard .stat-icon{width:25px;height:25px}}
/* Dense KPI strip for everyday scanning. */
.dashboard .stat-tiles{gap:7px;margin-bottom:14px}.dashboard .stat-tile{padding:9px 11px 8px!important;border-radius:8px}.dashboard .stat-top{font-size:11px;line-height:16px}.dashboard .stat-icon{width:21px;height:21px;border-radius:5px}.dashboard .stat-icon svg{width:14px;height:14px}.dashboard .stat-number{font-size:23px!important;line-height:1.15;margin:6px 0 5px!important;letter-spacing:-.4px}.dashboard .stat-bottom{font-size:10px;line-height:14px;min-height:14px}.dashboard .stat-unit{font-size:9px;padding:1px 4px}
@media(max-width:560px){.dashboard .stat-tile{padding:9px 10px!important}.dashboard .stat-number{font-size:22px!important}.dashboard .stat-top{font-size:11px}}

.ai-agent-manage-row{display:flex;align-items:center;gap:12px}.ai-agent-manage-row>[data-agent-edit]{flex:1;min-width:0}.ai-agent-manage-row>[data-agent-rename]{flex:none}
