@font-face{font-family:KBusiness;src:url('/regular.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:KBusiness;src:url('/bold.woff2') format('woff2');font-weight:650 900;font-display:swap}
:root{color-scheme:light;--ink:#141b17;--forest:#2c4032;--paper:#eae3d5;--card:#fffcf6;--line:#d3cbbb;--quiet:#605e53;--sand:#aa9061}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;color:var(--ink);background:var(--paper);font:400 15px/1.45 KBusiness,system-ui,sans-serif}
button{font:inherit;color:inherit}
button:not(:disabled){cursor:pointer}
button:focus-visible{outline:2px solid #866a37;outline-offset:4px}
[hidden]{display:none!important}
.mast{background:var(--ink);color:#fffdf4}
.mast-inner{max-width:1000px;margin:auto;padding:14px clamp(18px,5vw,46px);display:flex;justify-content:space-between;align-items:center}
.logo{width:112px;height:38px;object-fit:contain;object-position:left}
.refresh{width:44px;height:44px;border:1px solid #617066;border-radius:50%;background:#233028;color:#fff;font:24px/1 system-ui,sans-serif}
.refresh:disabled{opacity:.48}
.page{width:min(100%,1000px);margin:auto;padding:26px clamp(16px,5vw,46px) calc(104px + env(safe-area-inset-bottom))}
.title{display:flex;justify-content:space-between;align-items:end;gap:12px;margin-bottom:17px}
.eyebrow{margin:0 0 3px;color:var(--quiet);font-size:.76rem;font-weight:700;letter-spacing:.07em;text-transform:uppercase}
h1,h2,p{margin:0}
h1{font-size:clamp(2.1rem,7vw,3.4rem);line-height:1;letter-spacing:-.055em}
h2{font-size:1.1rem;line-height:1.18;letter-spacing:-.02em}
.back{border:0;background:transparent;text-decoration:underline;text-underline-offset:4px;padding:10px 0;color:var(--forest)}
.periods{display:inline-grid;grid-template-columns:repeat(3,1fr);gap:4px;border:1px solid var(--line);border-radius:12px;background:#f4efe5;padding:4px}
.periods button{min-height:40px;border:0;border-radius:8px;padding:0 12px;background:transparent;white-space:nowrap}
.periods button[aria-pressed=true]{color:#fff;background:var(--forest);font-weight:700}
.status,.footnote{color:var(--quiet);font-size:.83rem}
.status{margin:11px 0;min-height:19px}
#content{display:grid;gap:13px}
.metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.metric,.panel{min-width:0;border:1px solid var(--line);border-radius:15px;background:var(--card);box-shadow:0 1px 2px #493a2410}
.metric{position:relative;display:flex;flex-direction:column;align-items:start;text-align:left;padding:14px 13px}
.metric.accent{border-color:var(--forest);background:var(--forest);color:#fffdf4}
.metric-label,.metric-note{display:block;line-height:1.3}
.metric-label{font-size:.83rem;font-weight:700}
.metric-note{font-size:.75rem;color:var(--quiet)}
.metric.accent .metric-note{color:#e4e7de}
.metric-value{font-size:clamp(2rem,8vw,3.6rem);line-height:1.04;letter-spacing:-.05em;font-variant-numeric:tabular-nums;margin:6px 0 2px}
.linked:hover .metric-label{text-decoration:underline}
.metric-arrow{position:absolute;bottom:9px;right:10px;font-size:1rem;background:inherit;padding-left:3px}
.panel{padding:15px 13px}
.panel-header{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:11px}
.panel-note{font-size:.78rem;color:var(--quiet);text-align:right;white-space:nowrap}
.details{margin:0}
.detail-row{display:flex;justify-content:space-between;gap:10px;padding:9px 2px;border-top:1px solid #e7e0d3}
.detail-row:first-child{border:0;padding-top:0}
.detail-row:last-child{padding-bottom:0}
.detail-row dd{margin:0;font-weight:700;font-variant-numeric:tabular-nums}
.legend{display:flex;flex-wrap:wrap;gap:12px;padding:0;margin:0 0 9px;list-style:none;font-size:.76rem;color:var(--quiet)}
.legend li{display:flex;align-items:center;gap:5px}
.dot{width:8px;height:8px;border-radius:50%}
.green{background:var(--forest)}
.sand{background:var(--sand)}
.chart{display:grid;grid-template-columns:repeat(var(--days),minmax(0,1fr));gap:3px}
.day{min-width:0;text-align:center}
.bars{height:108px;display:flex;gap:2px;align-items:end;justify-content:center;border-bottom:1px solid var(--line);background:repeating-linear-gradient(to top,transparent 0 26px,#ede6d8 26px 27px)}
.bar{width:46%;max-width:25px;height:var(--height);border-radius:3px 3px 0 0}
.day-label{display:block;height:16px;line-height:1.7;font-size:.63rem;color:var(--quiet)}
.empty{padding:14px 0;color:var(--quiet)}
.footnote{padding:0 2px}
.nav{position:fixed;inset:auto 0 0;background:var(--card);border-top:1px solid var(--line);padding:5px 0 env(safe-area-inset-bottom)}
.nav-inner{display:grid;grid-template-columns:repeat(4,1fr);max-width:650px;margin:auto}
.nav button{border:0;background:transparent;display:grid;justify-items:center;gap:3px;padding:4px 2px 7px;font-size:.77rem;color:var(--quiet)}
.nav button span{height:27px;width:45px;border-radius:7px;font:20px/27px system-ui,sans-serif}
.nav button[aria-current=page]{color:var(--forest);font-weight:700}
.nav button[aria-current=page] span{background:var(--forest);color:#fffdf4}
.record-filters{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px}
.record-filters button,.more{min-height:37px;border:1px solid var(--line);border-radius:8px;background:#f4efe5;padding:5px 10px;font-size:.82rem}
.record-filters button[aria-pressed=true]{background:var(--forest);border-color:var(--forest);color:#fffdf4;font-weight:700}
.more{margin-top:8px;color:var(--forest)}
.record{border-top:1px solid var(--line)}
.record:first-child{border-top:0}
.record-summary{position:relative;display:flex;align-items:baseline;justify-content:space-between;gap:10px;min-height:51px;padding:10px 20px 10px 1px;list-style:none;cursor:pointer}
.record-summary::-webkit-details-marker{display:none}
.record-summary::after{content:'';position:absolute;right:4px;top:17px;width:7px;height:7px;border-right:1px solid var(--quiet);border-bottom:1px solid var(--quiet);transform:rotate(45deg)}
.record[open] .record-summary::after{transform:rotate(225deg);top:20px}
.record.unread .record-title::before{content:'';display:inline-block;background:var(--forest);width:6px;height:6px;border-radius:50%;margin:0 6px 2px 0}
.record-labels{min-width:0}
.record-title,.record-note{display:block}
.record-title{overflow-wrap:anywhere}
.record-note,.record-time{font-size:.77rem;color:var(--quiet)}
.record-note{overflow-wrap:anywhere}
.record-time{flex-shrink:0;white-space:nowrap}
.record-body{padding:6px 0 14px;display:grid;gap:9px}
.record-part strong{font-size:.81rem}
.message-text{white-space:pre-wrap;overflow-wrap:anywhere}
.campaign-title{font-weight:700;margin-bottom:7px}
.campaign-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(68px,1fr));gap:6px;margin:5px 0 9px}
.campaign-metrics>div{background:#f4efe5;border-radius:9px;padding:7px}
.campaign-metrics dt{font-size:.75rem;color:var(--quiet)}
.campaign-metrics dd{font-size:1.18rem;font-weight:700;margin:0;font-variant-numeric:tabular-nums}
.campaign-metrics.compact{grid-template-columns:repeat(2,minmax(0,1fr))}
#records{scroll-margin-top:12px}
@media(min-width:680px){.metric,.panel{padding:21px}.metric-arrow{right:19px;bottom:15px}.page{padding-top:34px}.bars{height:135px}}
