:root{font-family:"Segoe UI",Arial,sans-serif;color:#272c26;background:#f7f5ef;--ink:#273e32;--paper:#f7f5ef;--line:#d6d9ce;--muted:#596258;--accent:#536b43}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer;background:white;border:1px solid var(--line);border-radius:7px;padding:.55rem .84rem;font-weight:550}button:hover{background:#eff1e8;border-color:#84987c}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #7a944e;outline-offset:2px}button:disabled{opacity:.55;cursor:default}button.primary{background:var(--ink);color:#fff;border-color:var(--ink)}button.primary:hover{background:#375044}.stretch{flex:1}[hidden]{display:none!important}header{height:70px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:12px;padding:0 clamp(16px,4vw,66px);background:#fbfaf6}#brand{display:flex;align-items:center;gap:10px;color:var(--ink);font:600 24px Georgia,serif;letter-spacing:-1px;background:none;border:0;padding:0}.bar{height:22px;border-left:1px solid var(--line)}.header-mode,.footnote,#participants,small{color:var(--muted);font-size:.83rem}.room-bar{display:flex;align-items:center;gap:12px;padding:18px 0;flex-wrap:wrap}#workspace{max-width:890px;margin:auto;padding:0 24px;display:flex;flex-direction:column;height:calc(100dvh - 70px)}.room-chip{border-radius:30px;background:#eaeee5;color:#344936;font-size:.84rem}.room-chip:after{content:" ▾"}#thread{overflow:auto;min-height:0;flex:1;padding:8px 2px 20px;scrollbar-width:thin}#intro{margin:clamp(24px,6vh,90px) 0 28px}.large-mark{display:block;margin-bottom:20px}.eyebrow{font-size:.76rem;text-transform:uppercase;letter-spacing:.15em;color:var(--accent);font-weight:650;margin:0 0 9px}h1,h2,h3{color:var(--ink)}h1,h2{font-family:Georgia,"Times New Roman",serif;font-weight:500;letter-spacing:-.05em}h1{font-size:clamp(48px,7vw,78px);line-height:1.03;margin:0 0 14px}h2{font-size:32px;margin:0}h3{font-size:1.03rem;margin:20px 0 9px}p{line-height:1.56}#description,.gate>p:not(.eyebrow){max-width:560px;color:#536052;font-size:1.03rem}.quick,.actions,.compose-bar,.footnote,.two{display:flex;gap:8px;flex-wrap:wrap}.quick{margin-top:21px}.quick button{background:transparent;border-radius:24px;font-size:.86rem}.quick span{color:#66795e}.composer-zone{padding:12px 0 max(15px,env(safe-area-inset-bottom));background:var(--paper)}.composer{padding:12px;border:1px solid #bdc7b8;border-radius:17px;background:#fffefa;box-shadow:0 5px 20px #2b43270b}.composer textarea{width:100%;border:none;background:transparent;resize:none;padding:4px 7px;line-height:1.45}.compose-bar{align-items:center}.compose-bar button:not(.primary){border:0;background:transparent;color:var(--muted);font-size:.83rem}.footnote{justify-content:center;align-items:center;font-size:.73rem;margin-top:10px}.dot{width:7px;height:7px;border-radius:50%;background:#7e925f}.gate{max-width:520px;margin:clamp(30px,6vh,70px) auto;padding:0 20px 32px}.gate h1{font-size:50px}form,.stack{display:grid;gap:14px}label{font-size:.86rem;font-weight:600;display:grid;gap:6px}input,select,textarea:not(#draft){width:100%;background:#fffefa;border:1px solid #bdc7b9;padding:10px;border-radius:7px;font-weight:400}.two>*{flex:1;min-width:128px}.check{display:flex;align-items:center;font-weight:400}.check input{width:auto}small{display:block;line-height:1.5}dialog{width:min(540px,94vw);max-height:88dvh;border:1px solid var(--line);border-radius:16px;color:inherit;background:#fcfbf7;padding:23px;box-shadow:0 16px 70px #19251c30}dialog::backdrop{background:#26322855}.sheet-head{display:flex;justify-content:space-between;align-items:center;gap:12px;position:sticky;top:-23px;background:#fcfbf7;padding:7px 0 16px;z-index:1}#panel-body{overflow-wrap:anywhere}#panel-body>p{color:var(--muted)}.record{padding:13px 0;border-top:1px solid var(--line)}.record strong,.record small{display:block}.record button,.record a{margin:8px 6px 0 0}a{color:#345d41}.message{padding:12px 16px;border-left:2px solid #8c9b7c;margin:14px 0;background:#eeefe7;border-radius:0 8px 8px 0}.message p,.preserve{white-space:pre-wrap;overflow-wrap:anywhere;margin:5px 0}.message small,.record small{font-size:.76rem}#status{position:fixed;bottom:14px;left:50%;transform:translateX(-50%);z-index:5;background:#273e32;color:#fff;padding:10px 16px;border-radius:9px;max-width:94vw;font-size:.89rem}pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.8rem}.empty{color:var(--muted)}.compact #intro{margin:12px 0}.compact #intro .large-mark,.compact #intro .quick,.compact #description{display:none}.compact #intro h1{font-size:34px}.panel-nav{display:flex;flex-wrap:wrap;gap:8px}.badge{font-size:.74rem;color:#395237;border-radius:20px;background:#e3e9d9;padding:.25rem .55rem}
@media(max-width:620px){header{height:58px;gap:7px}.header-mode,.bar{display:none}#brand{font-size:20px}#workspace{height:calc(100dvh - 58px);padding:0 14px}.room-bar{gap:7px;padding:11px 0}#intro{margin-top:24px}.large-mark{width:46px;height:46px;margin-bottom:13px}.quick{gap:6px}.quick button{font-size:.78rem;padding:8px 10px}.header-mode{display:none}dialog{margin:auto 0 0;width:100vw;max-width:100vw;max-height:86dvh;border-radius:16px 16px 0 0;padding:18px}.sheet-head{top:-18px}.gate{margin:26px auto}.footnote{font-size:.69rem}.top-action,#menu{font-size:.81rem}.gate h1{font-size:40px}}
.room-chip,#participants,.record strong,#intro h1,.sheet-head h2,.message{max-width:100%;min-width:0;overflow-wrap:anywhere}.room-chip{text-align:left}#thread{overflow-x:hidden}.room-bar{min-width:0}@media(max-width:620px){.room-chip,.compose-bar button,.quick button,.top-action,#menu,.panel-nav button{min-height:44px}}

.brief-headline{font:600 clamp(1.2rem,4vw,1.55rem)/1.25 Georgia,serif;color:var(--ink);margin:.6rem 0}
.brief-section{margin:19px 0;padding:14px 0 0;border-top:1px solid var(--line);min-width:0}
.brief-section h3:first-child{margin:0 0 .65rem}
.brief-costs{width:100%;border-collapse:collapse;table-layout:fixed;margin:1rem 0;font-size:.9rem}
.brief-costs caption{text-align:left;color:var(--muted);padding-bottom:.4rem}
.brief-costs th,.brief-costs td{padding:.45rem .2rem;text-align:right;overflow-wrap:anywhere;border-bottom:1px solid var(--line);font-variant-numeric:tabular-nums}
.brief-costs th:first-child{text-align:left}
.brief-details{margin:1rem 0}
.brief-details summary{cursor:pointer;color:var(--ink);font-weight:650;padding:.55rem 0}
.brief-details label{margin:.7rem 0;display:grid;gap:.3rem}
.brief-details small{display:block;margin-bottom:.6rem}
.brief-details button{margin:.2rem .35rem .2rem 0}
.brief-flags p,.brief-driver{margin:.4rem 0}
.brief-driver{display:flex;justify-content:space-between;align-items:baseline;gap:.3rem .6rem;flex-wrap:wrap}
.brief-driver small{flex-basis:100%;margin:0}
@media(max-width:620px){.brief-costs{font-size:.8rem}.brief-costs th,.brief-costs td{padding:.4rem .12rem}.brief-details summary{min-height:44px}}

.brief-audio{display:flex;align-items:center;gap:.45rem;flex-wrap:wrap;margin:.75rem 0}.brief-audio small{flex-basis:100%}@media(max-width:620px){.brief-audio button{min-height:44px}}

#spend-home,#spend-sheet{min-width:0}
#spend-meter{--signal:#ddae51;display:grid;grid-template-areas:"label status" "amount status";grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:12px;row-gap:1px;min-height:49px;min-width:195px;padding:5px 12px;border-radius:9px;border:1px solid #44634f;background:#183829;color:#f5f5e8;text-align:left;line-height:1.05;box-shadow:inset 0 1px 0 #47604b}
#spend-meter:hover{background:#234835}
#spend-meter[data-level=green]{--signal:#99d9a0}
#spend-meter[data-level=red]{--signal:#ff9a90}
.meter-label{grid-area:label;font-size:10px;letter-spacing:.028em;font-weight:600}
#meter-amount{grid-area:amount;font:650 25px/1.03 Georgia,serif;font-variant-numeric:lining-nums tabular-nums;white-space:nowrap}
#meter-status{grid-area:status;display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:600;white-space:nowrap;color:#f1f3e4}
#meter-status i{border:1px solid #ffffff50;width:10px;height:10px;border-radius:50%;background:var(--signal);box-shadow:0 0 0 3px #ffffff0b}
#spend-sheet:not(:empty){margin-left:auto;margin-right:.4rem}
#spend-sheet #spend-meter{min-width:150px}
[data-brief-part="spending"]:focus-visible{outline:2px solid #7a944e;outline-offset:3px}
@media(max-width:620px){
  body:has(#spend-meter:not([hidden])) header{height:100px;display:grid;grid-template-columns:minmax(0,1fr) auto auto;grid-template-rows:45px 45px;gap:3px 7px;padding:0 14px 6px}
  header .stretch{display:none}header #brand{grid-column:1;grid-row:1;justify-self:start}
  header #agenda{grid-column:2;grid-row:1}header #menu{grid-column:3;grid-row:1}
  header #spend-home{grid-column:1/-1;grid-row:2;align-self:stretch}
  body:has(#spend-meter:not([hidden])) #workspace{height:calc(100dvh - 100px)}
  #spend-meter,#spend-sheet #spend-meter{grid-template-areas:"label amount status";grid-template-columns:minmax(64px,1fr) auto minmax(65px,1fr);min-width:0;width:100%;height:45px;min-height:44px;padding:5px 10px;gap:6px}
  .meter-label{font-size:11px;line-height:1.15;max-width:70px}#meter-status{justify-self:end;font-size:10px}#meter-amount{font-size:25px}
  .sheet-head:has(#spend-sheet:not(:empty)){display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.3rem}
  .sheet-head #panel-title{grid-column:1;grid-row:1}.sheet-head #close{grid-column:2;grid-row:1}
  .sheet-head #spend-sheet{grid-column:1/-1;grid-row:2;margin:0}
}

.spend-overview{display:grid;gap:.3rem;margin:.8rem 0 1rem;padding:1rem 1.15rem;background:#edf2e8;border:1px solid #cbd8c7;border-radius:10px;color:var(--ink)}
.spend-overview>strong{font:600 clamp(2rem,6vw,2.8rem)/1.03 Georgia,serif;font-variant-numeric:lining-nums tabular-nums;overflow-wrap:anywhere}
.spend-overview>span{font-weight:650}.spend-overview p{margin:.2rem 0}
.brief-idea{margin:.5rem 0;padding:.85rem 0;border-top:1px solid var(--line)}.brief-idea h4{margin:.2rem 0}.brief-idea small{display:block}.brief-idea p{margin:.4rem 0}

.brand-word{white-space:nowrap}@media(max-width:620px){.meter-label{max-width:93px;letter-spacing:0}}

#spend-meter{grid-template-areas:"label status" "amount usage"}
#meter-usage{grid-area:usage;align-self:center;justify-self:end;font-size:10px;font-weight:500;color:#e5eddb;line-height:1.15;white-space:nowrap;font-variant-numeric:tabular-nums}
#meter-amount{color:var(--signal);font-size:27px}
@media(max-width:620px){#spend-meter,#spend-sheet #spend-meter{grid-template-areas:"label amount status" "usage amount status";grid-template-columns:minmax(78px,1fr) auto minmax(80px,1fr);column-gap:4px;row-gap:0}.meter-label{max-width:none;font-size:10px}#meter-usage{justify-self:start;align-self:start;font-size:10px}#meter-amount{font-size:26px}}
@media(max-width:380px){#spend-meter,#spend-sheet #spend-meter{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);padding-inline:7px}#meter-status{max-width:100%;white-space:normal;text-align:right;gap:3px;line-height:1.12}#meter-status i{flex-shrink:0;width:8px;height:8px}#meter-grade{min-width:0}}
