/* The overview morphs, while its original footprint keeps the scroll stable. */
:root{--overview-offset:20px;--surface-shadow:0 8px 32px #153d3010}
body{background:radial-gradient(ellipse at 0 0,#e4eee6 0,transparent 50%),#f3f6f3}
.masthead{background:#fbfdfb;border-color:#dfe7e1}
.feed,.controls{box-shadow:var(--surface-shadow);border-color:#dce6df}
.controls{position:sticky;top:16px;max-height:calc(100dvh - 32px);overflow:auto;scrollbar-width:thin;scrollbar-color:#c4d3c9 transparent;overscroll-behavior:contain}
.overview-slot{min-width:0;order:0;width:100%;overflow-anchor:none}
.overview{isolation:isolate}
.overview.is-compact{position:fixed;z-index:8;top:16px;left:var(--overview-left);width:var(--overview-width);padding:12px 18px 0;border-radius:16px;box-shadow:0 12px 36px #103b3026;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px 12px;overflow:hidden}
.overview.is-compact .radar-map{opacity:.12}
.overview.is-compact .overview-top{grid-column:1/-1;gap:8px}
.overview.is-compact .overview-top h2{font-size:11px;letter-spacing:.6px}
.overview.is-compact .signal{padding:3px 8px;font-size:10px}
.overview.is-compact .overview-body,.overview.is-compact .order-metrics-panel,.overview.is-compact .metrics,.overview.is-compact .request-metrics,.overview.is-compact .request-outcomes{display:contents}
.overview.is-compact .metrics>div{grid-row:2/4;min-width:0;padding:0;border:0;align-self:start}
.overview.is-compact .metrics>div:nth-child(1){grid-column:1}
.overview.is-compact .metrics>div:nth-child(2){grid-column:2}
.overview.is-compact .metrics span,.overview.is-compact .request-outcomes span{font-size:10px;line-height:1.5;margin:0;color:#c6dbd0}
.overview.is-compact .metrics strong,.overview.is-compact .request-outcomes strong{font-size:25px;line-height:1.2;letter-spacing:-.6px;margin:5px 0 0;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.overview.is-compact .request-heading{grid-column:3;grid-row:2;display:block;font-size:10px;line-height:1.5;align-self:start}
.overview.is-compact #request-live{display:block;max-width:none;text-align:left;font-size:8px;line-height:1.4}
.overview.is-compact .request-total{grid-column:3;grid-row:3;font-size:25px;line-height:1.2;letter-spacing:-.6px;margin:-3px 0 0;align-self:start}
.overview.is-compact .request-outcomes>div{grid-row:2/4;min-width:0;padding-left:10px;border-left:1px solid #ffffff1a}
.overview.is-compact .request-outcomes>div:nth-child(1){grid-column:4}
.overview.is-compact .request-outcomes>div:nth-child(2){grid-column:5}
.overview.is-compact .request-outcomes>div:nth-child(3){grid-column:6}
.overview.is-compact #collection-stats{grid-column:1/4;grid-row:4;font-size:10px;line-height:1.6;margin:0}
.overview.is-compact #health-line{grid-column:4/-1;grid-row:4;font-size:10px;line-height:1.6;margin:0;text-align:right}
.overview.is-compact .count-note{grid-column:1/-1;grid-row:5;font-size:9px;line-height:1.6;margin:0;padding:0;color:#b7cfc1}
.overview.is-compact .scan-health{grid-column:1/-1;grid-row:6;min-height:32px;padding:0;font-size:9px}
.overview.is-compact .scan-health button{min-height:32px;font-size:10px}
.feed,.feed-controls,#feed-title,.inline-rules{scroll-margin-top:var(--overview-offset)}
.segments{gap:3px;padding:4px;background:#edf2ef;border:1px solid #e1e9e3;border-radius:12px}
.segments button{transition:background .18s,color .18s,box-shadow .18s;border-radius:8px}
.segments button:hover{background:#f8fbf9;color:#245540}
.segments [data-view="success"]{color:#16704c}
.segments [data-view="success"][aria-pressed="true"]{background:#dcefe4;color:#105c3a;box-shadow:0 2px 6px #174f3612}
.segments [aria-pressed="true"]{box-shadow:0 2px 8px #173c3010}
.outline,.primary-btn,.claim-btn,.account-control{transition:background .18s,border-color .18s,box-shadow .18s,transform .18s}
.outline:hover:not(:disabled),.account-control:hover{border-color:#b5ccbe;box-shadow:0 3px 12px #173c300c}
button:active:not(:disabled){transform:translateY(1px)}
.order-list-item{transition:background .18s,border-color .18s}
.order-list-item:hover{background:#f8fbf9}
.field input,.order-search input{transition:border-color .18s,box-shadow .18s}
.field input:focus,.order-search input:focus{border-color:#6c9c80;box-shadow:0 0 0 4px #65937912}
.paid-notice-settings{padding:18px;margin:18px 0;background:#f4f8f5;border:1px solid #dbe7df;border-radius:14px}
.paid-notice-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}
.paid-notice-heading h3{font-size:14px}.paid-notice-settings .intro{margin-top:12px}
.paid-monitor-state{font-size:12px;color:#446c55;line-height:1.8;margin:12px 0}
.paid-mail-receipt{display:grid;grid-template-columns:1fr auto;gap:7px;padding:12px 0;border-bottom:1px solid #dce7de;font-size:12px;overflow-wrap:anywhere}
.paid-mail-receipt small,.paid-mail-receipt time{grid-column:1/-1;color:#64766b;font-size:11px}
@media(max-width:1150px){.overview.is-compact{gap:7px 8px;padding-inline:12px}.overview.is-compact .metrics strong,.overview.is-compact .request-total,.overview.is-compact .request-outcomes strong{font-size:20px}.overview.is-compact .request-outcomes>div{padding-left:6px}}
@media(max-width:760px){
  .controls{position:static;max-height:none;overflow:visible;overscroll-behavior:auto}
  .overview.is-compact{top:8px;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px 10px;padding:10px 12px 0;border-radius:14px}
  .overview.is-compact .request-outcomes>div{grid-row:4;border:0;padding:0;display:flex;align-items:center;justify-content:space-between;gap:4px}
  .overview.is-compact .request-outcomes>div:nth-child(1){grid-column:1}
  .overview.is-compact .request-outcomes>div:nth-child(2){grid-column:2}
  .overview.is-compact .request-outcomes>div:nth-child(3){grid-column:3}
  .overview.is-compact .request-outcomes strong{font-size:17px;margin:0}
  .overview.is-compact #collection-stats{grid-column:1/-1;grid-row:5;font-size:9px}
  .overview.is-compact #health-line{grid-column:1/-1;grid-row:6;font-size:9px;text-align:left}
  .overview.is-compact .count-note{grid-row:7;font-size:9px}
  .overview.is-compact .scan-health{grid-row:8;min-height:36px}
  .overview.is-compact .scan-health>span{max-width:none;font-size:9px}
  .overview.is-compact .scan-health button{min-height:36px;font-size:9px}
  .overview.is-compact .scan-links{gap:8px}
  .overview-condensed .inline-rules{scroll-margin-top:var(--overview-offset)}
  .paid-notice-settings{padding:13px}.paid-notice-heading{flex-wrap:wrap}
}
@media(prefers-reduced-motion:reduce){button,.segments button,.order-list-item,.field input,.order-search input{transition:none}button:active:not(:disabled){transform:none}}
