/* Upside AI. One stylesheet for one product.
   Sections: tokens · shell · sidebar · bar · sections (the collapsible) ·
   overview · team · work · sessions · settings · chat · responsive. */

:root{
  --ink:#1b1b1b; --muted:#6b6b6b; --line:#ececec; --line2:#dcdcd8;
  --side:#f7f7f5; --hover:#ededea; --sel:#e6e6e2; --bubble:#f2f2ef;
  --accent:#0e7a6a; --fill:#14a08b; --warn:#C67D14; --bad:#b3261e;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
}
*{box-sizing:border-box}
[hidden]{display:none!important}
html,body{margin:0;height:100%;color:var(--ink);background:#fff;-webkit-font-smoothing:antialiased}
a{color:var(--accent)}
code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.92em;background:var(--side);border-radius:4px;padding:1px 4px}
.sr{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.muted{color:var(--muted)} .small{font-size:13px} .bad{color:var(--bad)}
.grow{flex:1;min-width:0}
.nowrap{white-space:nowrap}
.app{display:flex;height:100dvh}

/* ---------- sidebar ---------- */
.side{width:272px;flex:0 0 272px;background:var(--side);border-right:1px solid var(--line);display:flex;flex-direction:column;padding:14px 12px;gap:8px}
.brand{display:flex;align-items:center;gap:10px;font-weight:700;font-size:15px;padding:6px 10px 10px}
.mark{width:10px;height:10px;background:var(--fill);transform:rotate(45deg);display:inline-block}
.search{height:36px;border:1px solid var(--line2);border-radius:8px;padding:0 10px;font:inherit;font-size:14px;background:#fff;color:inherit;width:100%}
.jobs{flex:1;overflow:auto;margin-top:6px;min-height:0}
/* The sidebar's groups are the same collapsible section, drawn flat: a card
   per group here would be three boxes inside a box. */
.jobs .sec{border:0;background:transparent;margin:0 0 2px}
.jobs .sechead{padding:9px 8px 5px;font-size:11px}
.jobs .secbody{padding:0}
.jobs .foldhead{padding:6px 10px}
.sideempty{font-size:13px;color:var(--muted);padding:10px}
.th{display:flex;flex-direction:column;gap:2px;text-align:left;background:none;border:0;border-radius:8px;padding:8px 10px;cursor:pointer;font:inherit;color:var(--ink);width:100%}
.th:hover{background:var(--hover)} .th.on{background:var(--sel)}
.th .t{font-size:14px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.th .s{font-size:12px;color:var(--muted);display:flex;gap:6px;align-items:center}
.dot{width:7px;height:7px;border-radius:999px;display:inline-block;background:#b0b0aa;flex:0 0 7px}
.dot.run{background:var(--fill)} .dot.wait{background:var(--warn)} .dot.err{background:var(--bad)}
.sidefoot{border-top:1px solid var(--line);padding-top:8px;display:flex;flex-direction:column;gap:2px}
.nav{display:flex;justify-content:space-between;align-items:center;text-decoration:none;color:var(--ink);font-size:14px;padding:10px;border-radius:8px}
.nav:hover{background:var(--hover)}
.nav.on{background:var(--sel);font-weight:600}
.badge{background:var(--accent);color:#fff;font-size:12px;font-weight:600;border-radius:999px;padding:1px 8px}
.badge.warn{background:var(--bad)}

/* ---------- buttons and fields ---------- */
.btn,.btnp{font:inherit;font-size:14px;font-weight:500;min-height:40px;padding:0 16px;border-radius:8px;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
.btn{border:1px solid var(--line2);background:#fff;color:var(--ink)} .btn:hover{border-color:var(--ink)}
.btnp{border:0;background:var(--ink);color:#fff;font-weight:600} .btnp:hover{background:#333}
.btn:disabled,.btnp:disabled{opacity:.4;cursor:default}
.btn.small,.btnp.small{min-height:34px;padding:0 12px;font-size:13px}
.btn.icon{min-height:38px;padding:0 12px}
.wide{width:100%}
.select,.sessSel{font:inherit;font-size:13px;min-height:34px;border:1px solid var(--line2);border-radius:8px;background:#fff;padding:0 8px;color:var(--ink);max-width:260px}
.num{width:76px;height:36px;border:1px solid var(--line2);border-radius:8px;padding:0 8px;font:inherit}
.inline{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
textarea{font:inherit;color:inherit}
.switch{position:relative;display:inline-block;width:44px;height:26px;flex:0 0 44px}
.switch input{opacity:0;width:0;height:0}
.switch span:first-of-type{position:absolute;inset:0;background:var(--line2);border-radius:999px;transition:.15s;cursor:pointer}
.switch span:first-of-type:before{content:"";position:absolute;width:20px;height:20px;left:3px;top:3px;background:#fff;border-radius:999px;transition:.15s}
.switch input:checked+span{background:var(--fill)}
.switch input:checked+span:before{transform:translateX(18px)}
.switch input:focus-visible+span{outline:2px solid var(--accent);outline-offset:2px}

/* ---------- main and the bar ---------- */
.main{flex:1;min-width:0;display:flex;flex-direction:column}
.bar{display:flex;align-items:center;gap:12px;padding:12px 24px;border-bottom:1px solid var(--line);min-height:60px;background:#fff;z-index:4}
.bartitle{flex:1;display:flex;flex-direction:column;min-width:0}
.bartitle strong{font-size:16px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bartitle span{font-size:13px}
.baracts{display:flex;gap:8px;flex:0 0 auto}
.views{flex:1;min-height:0;display:flex;flex-direction:column}
.surface{flex:1;min-height:0;display:flex;flex-direction:column;overflow:auto}
.pageBody{max-width:1040px;width:100%;margin:0 auto;padding:22px 24px 70px}
.pageBody.tightTop{padding-top:6px;padding-bottom:10px}
.lead{font-size:15px;margin:0 0 6px}
.subhead{font-size:13px;font-weight:600;margin:16px 0 6px;color:var(--muted)}

/* ---------- rows ---------- */
.rows{display:flex;flex-direction:column}
.row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:13px 0;border-bottom:1px solid var(--line);font-size:14px}
.row:last-child{border-bottom:0}
.rowtitle{font-size:15px;font-weight:500}
.rowright{text-align:right;min-width:0;max-width:56%}
.bigline{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin:0 0 10px}
.bignum{font-size:28px;font-weight:600;font-variant-numeric:tabular-nums}

/* ---------- the collapsible section ---------- */
.sec{border:1px solid var(--line2);border-radius:12px;margin:0 0 12px;background:#fff}
.sechead{display:flex;align-items:center;gap:10px;padding:13px 16px;cursor:pointer;list-style:none;font-size:13px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--muted)}
.sechead::-webkit-details-marker{display:none}
.sechead:hover{color:var(--ink)}
.secmark{width:0;height:0;border-left:5px solid currentColor;border-top:4px solid transparent;border-bottom:4px solid transparent;transition:transform .14s;flex:0 0 5px;opacity:.75}
.sec[open]>.sechead .secmark{transform:rotate(90deg) translateX(1px)}
.sectitle{white-space:nowrap}
.seccount{font-size:12px;font-weight:600;letter-spacing:0;color:var(--muted);background:var(--side);border-radius:999px;padding:1px 8px;text-transform:none}
.secnote{font-size:12px;font-weight:400;letter-spacing:0;text-transform:none;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.secbody{padding:0 16px 16px}
.secactrow{padding:0 16px 10px}
.fold{margin-top:2px}
.foldhead{cursor:pointer;font-size:13px;color:var(--accent);padding:8px 2px;list-style:none}
.foldhead::-webkit-details-marker{display:none}
.foldhead:hover{text-decoration:underline}
.notwired{font-size:13px;color:var(--muted);background:var(--side);border-left:2px solid var(--line2);border-radius:0 8px 8px 0;padding:10px 12px;margin:10px 0;line-height:1.55}
.notwired strong{color:var(--ink)}

/* ---------- step dots ---------- */
.steps{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;min-width:0}
.steps.tight{gap:5px 7px}
.step{display:flex;align-items:center;gap:6px;min-width:0;max-width:150px;font-size:12px;color:var(--muted)}
.sname{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sdot{width:10px;height:10px;border-radius:999px;flex:0 0 10px;background:#c6c6c0;display:inline-block}
.sdot.done{background:var(--fill)}
.sdot.work{background:#fff;border:3px solid var(--accent);animation:ping 1.6s ease-in-out infinite}
.sdot.open{background:var(--warn)}
.sdot.bad{background:var(--bad)}
@keyframes ping{0%,100%{box-shadow:0 0 0 0 rgba(14,122,106,.38)}55%{box-shadow:0 0 0 5px rgba(14,122,106,0)}}

/* ---------- overview: the leader strip ---------- */
.leader{border:1px solid var(--line2);border-radius:12px;padding:16px 18px;background:linear-gradient(180deg,#fbfbfa,#fff);margin:0 0 14px}
.leadtop{display:flex;align-items:center;gap:10px}
.leadname{font-weight:700;font-size:15px}
.leadwho{font-size:12px;color:var(--muted);border:1px solid var(--line2);border-radius:999px;padding:1px 8px}
.leadright{margin-left:auto;font-size:13px;color:var(--muted);display:flex;align-items:center;gap:7px}
.leadnow{margin:9px 0 0;font-size:15px}
.leadlast{margin:4px 0 0}
.leader .sec{border:0;margin:8px 0 0;background:transparent}
.leader .sechead{padding:8px 0}
.leader .secbody{padding:0 0 4px;border-top:1px solid var(--line)}
.lrows{display:flex;flex-direction:column;padding-top:6px}
.lrow{display:grid;grid-template-columns:72px 104px 1fr;gap:10px;font-size:13px;padding:5px 0;align-items:baseline}
.lrow .lt{color:var(--muted);font-variant-numeric:tabular-nums}
.ltier{font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);white-space:nowrap}
.ltier.ask{color:var(--warn)} .ltier.review{color:var(--accent)} .ltier.stall{color:var(--bad)}

/* ---------- overview: running now ---------- */
.liverow{border:1px solid var(--line2);border-radius:12px;padding:14px 16px;display:flex;gap:14px;align-items:flex-start;margin:0 0 10px}
.livemain{min-width:0;flex:1}
.liverow .who{font-weight:600;font-size:14px;display:flex;align-items:center;gap:8px}
.liverow .meta{font-size:13px;color:var(--muted);margin-top:3px}
.liverow .what{font-size:14px;margin-top:8px}
.liverow .timers{font-size:13px;color:var(--muted);margin-top:5px;font-variant-numeric:tabular-nums}
.livestop{flex:0 0 auto;display:flex;flex-direction:column;align-items:flex-end;gap:6px}
.idle{margin-top:10px;font-size:13px;color:var(--muted);display:flex;gap:18px;align-items:center;flex-wrap:wrap}
.idle span{display:flex;gap:7px;align-items:center}
.ask{border:1px solid var(--line2);border-radius:12px;padding:16px 18px;display:flex;flex-direction:column;gap:12px;margin:0 0 10px}
.ask .q{font-size:15px;font-weight:500;line-height:1.45}
.ask .acts{display:flex;gap:8px;flex-wrap:wrap}

/* ---------- the bot rail ----------
   Third column, always there, never a page. Michael's whole working screen is
   jobs | the job | the bots, and the controls for a bot live on that bot. */
.bots{width:324px;flex:0 0 324px;border-left:1px solid var(--line);background:var(--side);overflow:auto;padding:14px 14px 70px}
.railtoggle{display:none}
.railhead{background:#fff;border:1px solid var(--line2);border-radius:12px;padding:13px 14px;margin:0 0 12px}
.railtop{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.railnow{font-size:13px;line-height:1.5;margin:7px 0 0}
.chips{display:flex;flex-wrap:wrap;gap:5px;margin:9px 0 0}
.chip{display:inline-flex;align-items:center;gap:5px;font-size:11.5px;border:1px solid var(--line2);border-radius:999px;padding:2px 9px;color:var(--muted);white-space:nowrap;cursor:help}
.chip.bad{border-color:var(--bad);color:var(--bad)}
.chip.done{border-color:#cde8e1}
.chip.open{border-color:var(--warn)}
.railsw{margin:10px 0 0;border-top:1px solid var(--line);padding-top:8px}
.swrow{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:4px 0;font-size:13px;cursor:pointer}
.swlab{min-width:0}
.railspend{margin:9px 0 0;line-height:1.5}
.railsec{margin-top:9px;border-top:1px solid var(--line)}
.railsechead{cursor:pointer;list-style:none;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);padding:9px 0 4px}
.railsechead::-webkit-details-marker{display:none}
.railsechead:before{content:"›";display:inline-block;margin-right:6px;transition:transform .14s}
.railsec[open]>.railsechead:before{transform:rotate(90deg)}
.railsecbody{padding-bottom:6px}
.railfacts{font-size:12.5px;line-height:1.6;margin:8px 0}
.railfacts .rf{color:var(--muted);text-transform:uppercase;font-size:10.5px;letter-spacing:.05em;font-weight:700;margin-right:5px}
.railtasks{display:flex;flex-direction:column;gap:9px;margin:8px 0}
.railtask{border-left:2px solid var(--line2);padding-left:9px}
.rtt{font-size:13px;font-weight:500;display:flex;gap:7px}
.rtt .tn{color:var(--muted);font-variant-numeric:tabular-nums}
.rtwhy{margin-top:2px;color:#3a3a3a;line-height:1.45}
.rtc{margin-top:3px;display:flex;align-items:center;gap:6px;color:var(--muted)}

/* one bot */
.botlist{display:flex;flex-direction:column;gap:10px}
.bot{background:#fff;border:1px solid var(--line2);border-radius:12px;padding:12px 13px}
.bot.busy{border-color:var(--accent)}
.bothead{display:flex;align-items:center;gap:8px}
.botname{font-weight:700;font-size:14.5px;flex:1;min-width:0}
.botsw{flex:0 0 44px}
.botnow{font-size:13px;margin-top:7px;line-height:1.45;word-wrap:break-word}
.botspend{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;margin-top:7px}
.botspend .amt{font-size:17px;font-weight:600;font-variant-numeric:tabular-nums}
.botacts{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}
.botmore{margin-top:9px;border-top:1px solid var(--line)}
.botmorehead{cursor:pointer;list-style:none;font-size:12.5px;color:var(--accent);padding:8px 0 2px}
.botmorehead::-webkit-details-marker{display:none}
.botmorehead:hover{text-decoration:underline}
.botmorebody{padding-bottom:4px}
.botmorebody .subhead{margin:11px 0 4px}
.botroles,.botcaps{display:flex;flex-direction:column}
.brrow,.bcrow{display:flex;justify-content:space-between;gap:9px;font-size:12.5px;padding:2px 0}
.brk,.bck{color:var(--muted);min-width:0}
.brv{font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bcrow{cursor:help}
.bcv{font-weight:600;white-space:nowrap}
.bcv.yes{color:var(--accent)} .bcv.no{color:var(--bad)}
.bcv.limited{color:var(--warn)} .bcv.unknown{color:var(--muted);font-weight:500;font-style:italic}

/* the bots inside a bot */
.subbots{display:flex;flex-direction:column;gap:8px;margin:6px 0}
.subbot{border-left:2px solid var(--line2);padding-left:9px}
.sbhead{display:flex;align-items:baseline;gap:8px}
.sbname{font-size:13px;font-weight:600;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}
.sbstate{font-size:10.5px;font-weight:700;letter-spacing:.05em;text-transform:uppercase}
.sbstate.on{color:var(--accent)} .sbstate.off{color:var(--bad)}
.sbstate.unknown{color:var(--muted);font-weight:500;font-style:italic;text-transform:none;letter-spacing:0}
.off strong{color:var(--bad)}

/* ---------- More: four surfaces, folded away ---------- */


/* ---------- team: the leader's chain ----------
   Five rows, in the order they happen. The number down the left is a spine
   rather than a list marker: the steps are one chain, and a step that cannot
   run has to read as a break in it, not as a missing bullet. */
.chain{display:flex;flex-direction:column;padding-top:4px}
.chainrow{display:grid;grid-template-columns:26px 1fr 44px;gap:12px;padding:13px 0;border-bottom:1px solid var(--line);align-items:start}
.chainrow:last-child{border-bottom:0}
.chn{width:22px;height:22px;border-radius:999px;background:var(--side);color:var(--muted);font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center;font-variant-numeric:tabular-nums;margin-top:1px}
.chmain{min-width:0}
.chtop{display:flex;align-items:baseline;gap:9px;flex-wrap:wrap}
.chname{font-size:15px;font-weight:600}
.chstate{font-size:11px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;white-space:nowrap}
.chstate.done{color:var(--accent)} .chstate.wait{color:var(--muted)} .chstate.bad{color:var(--bad)} .chstate.open{color:var(--warn)}
.chby{margin-top:2px}
.chword{font-size:13.5px;line-height:1.55;margin:7px 0 0}
.chlimit{margin:5px 0 0;line-height:1.5}
.chsw{justify-self:end;margin-top:2px}

/* ---------- team: the seats ---------- */
.seats{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px;padding-top:6px;margin:0 0 12px}
.seat{border:1px solid var(--line2);border-radius:11px;padding:13px 14px;min-width:0}
.seat.thin{border-color:var(--warn)}
.seathead{display:flex;align-items:baseline;gap:8px;justify-content:space-between}
.seattitle{font-size:14.5px;font-weight:600}
.seatwho{display:flex;flex-direction:column;gap:5px;margin:9px 0}
.seatbot{display:flex;align-items:baseline;gap:8px;min-width:0}
.sbn{font-size:13.5px;font-weight:500;white-space:nowrap}
.sbm{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.seat p{margin:5px 0 0;line-height:1.5}

/* ---------- team: the last plan, task by task ---------- */
.trows{display:flex;flex-direction:column;margin-top:4px}
.trow{display:grid;grid-template-columns:22px 1fr auto;gap:12px;padding:11px 0;border-bottom:1px solid var(--line);align-items:start}
.trow:last-child{border-bottom:0}
.trow .tn{color:var(--muted);font-size:13px;font-variant-numeric:tabular-nums;text-align:right}
.tmain{min-width:0}
.ttitle{font-size:14.5px;font-weight:500}
.lgot{font-size:13px;margin-top:2px}
.lwhy{margin-top:5px;line-height:1.5;color:#3a3a3a}
.whylab{font-size:11px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--muted);margin-right:5px}
.tcheck{text-align:right;white-space:nowrap;display:flex;flex-direction:column;align-items:flex-end;gap:2px;font-size:13px}
.tcheck .sdot{margin-bottom:1px}

/* ---------- team: the crew ---------- */
.crew{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:14px;margin:0 0 14px}
.card{border:1px solid var(--line2);border-radius:12px;padding:16px;display:flex;flex-direction:column;min-width:0}
.cardhead{display:flex;align-items:center;gap:8px}
.cardhead .nm{font-weight:700;font-size:15px;flex:1;min-width:0}
.cardsub{font-size:12px;color:var(--muted);margin-top:3px}
.cardnow{margin-top:10px;font-size:13px;display:flex;gap:8px;align-items:baseline;min-height:20px}
.caps{margin-top:14px;border-top:1px solid var(--line)}
.cap{border-bottom:1px solid var(--line)}
.cap:last-of-type{border-bottom:0}
.caphead{display:flex;align-items:center;gap:8px;padding:7px 0;font-size:13px;cursor:pointer;list-style:none}
.caphead::-webkit-details-marker{display:none}
.caphead:before{content:"›";color:var(--muted);font-size:14px;transition:transform .14s;display:inline-block}
.cap[open]>.caphead:before{transform:rotate(90deg)}
.cap .cn{flex:1;color:var(--muted)}
.cap .cv{font-weight:600}
.cap .cv.yes{color:var(--accent)} .cap .cv.no{color:var(--bad)}
.cap .cv.limited{color:var(--warn)} .cap .cv.unknown{color:var(--muted);font-weight:500;font-style:italic}
.proof{font-size:12.5px;line-height:1.55;color:#3a3a3a;background:var(--bubble);border-radius:8px;padding:11px 12px;margin:0 0 8px}
.proof .when{display:block;margin-top:7px;color:var(--muted);font-size:11.5px}
.roles{margin-top:12px;border-top:1px solid var(--line);padding-top:6px}
.role{display:flex;gap:8px;font-size:13px;padding:3px 0;cursor:pointer;list-style:none}
.role::-webkit-details-marker{display:none}
.role .rk{width:66px;color:var(--muted);flex:0 0 66px}
.role .rv{font-weight:500}
.why{font-size:12px;color:var(--muted);margin:2px 0 7px 74px}
.money{margin-top:12px;border-top:1px solid var(--line);padding-top:11px;display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.money .amt{font-size:21px;font-weight:600;font-variant-numeric:tabular-nums}
.cardusage{margin-top:6px;line-height:1.5}
.cardacts{margin-top:12px;display:flex;gap:8px;flex-wrap:wrap}
.handbox{margin-top:12px;border-top:1px solid var(--line);padding-top:12px;display:flex;flex-direction:column;gap:8px}
.handbox textarea{min-height:70px;border:1px solid var(--line2);border-radius:9px;padding:9px 11px;font-size:14px;background:#fff;resize:vertical;width:100%}
.confidence{font-size:14px;margin:0 0 4px}

/* ---------- work: stages and task cards ---------- */
.stages{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:0 0 14px}
.stage{border:1px solid var(--line2);border-radius:10px;padding:10px 12px;display:flex;flex-direction:column;gap:3px;min-width:0}
.stage.done{background:#f6fbf9;border-color:#cde8e1}
.stage.work{border-color:var(--accent)}
.stage.open{border-color:var(--warn)}
.stname{font-size:13px;font-weight:600}
.stword{font-size:12px;color:var(--muted)}
.stage .sdot{margin-bottom:2px}
.nopl{margin:0 0 10px}
.task2{border:1px solid var(--line2);border-radius:10px;margin:0 0 8px}
.taskhead{display:flex;align-items:center;gap:10px;padding:11px 13px;cursor:pointer;list-style:none;font-size:14px}
.taskhead::-webkit-details-marker{display:none}
.taskhead .tn{color:var(--muted);font-variant-numeric:tabular-nums;flex:0 0 auto}
.taskhead .tt{flex:1;min-width:0;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.taskbody2{padding:0 13px 13px;border-top:1px solid var(--line)}
.tgoal{font-size:14px;margin:10px 0 6px;line-height:1.55}
.tstage{display:flex;gap:10px;font-size:13px;padding:6px 0;border-top:1px solid var(--line)}
.tsk{flex:0 0 86px;color:var(--muted)}
.twhy{font-size:12.5px;color:var(--muted);margin:2px 0 6px 96px;line-height:1.5}
.tnote{font-size:13px;color:var(--warn);margin:4px 0 0;white-space:pre-wrap}
.outbox{margin:6px 0}
.finding{border:1px solid var(--line2);border-radius:10px;margin:0 0 8px}
.findhead{display:flex;gap:10px;align-items:baseline;padding:10px 12px;cursor:pointer;list-style:none;font-size:14px;flex-wrap:wrap}
.findhead::-webkit-details-marker{display:none}
.tag{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--accent);flex:0 0 auto}
.findhead .says{flex:1;min-width:180px}
.findbody{padding:0 12px 12px;border-top:1px solid var(--line);font-size:13.5px;line-height:1.6}
.findbody p{margin:10px 0 0}
.saidby{margin-top:10px;border-top:1px solid var(--line);padding-top:8px}
.said{font-size:13px;margin:4px 0}
.startbox{max-width:680px;display:flex;flex-direction:column;gap:4px}
/* The row under the box: two chips and Start. Replaces three labelled form
   fields, a paragraph and a four-bullet rules panel that together pushed the
   message box below the fold. A chip shows the current answer and changes it
   in one click; a labelled field asks a question before he has typed. */
.startrow{display:flex;align-items:center;gap:8px;margin-top:10px;flex-wrap:wrap}
.chip{border:1px solid var(--line2);border-radius:999px;padding:6px 12px;font:inherit;font-size:13px;
  background:var(--chipbg,#fff);color:var(--muted);cursor:pointer;min-height:32px;max-width:260px}
.chip:hover{border-color:var(--line3,var(--line2));color:inherit}
.startgo{margin-left:auto}
/* Only drawn when he picks a folder that already exists, which is the one
   question no default can answer. */
.startmore{margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}
.fieldlab{font-size:13px;color:var(--muted);margin-top:10px}
.field{width:100%;max-width:none;border:1px solid var(--line2);border-radius:9px;padding:9px 11px;font:inherit;font-size:14px;background:#fff;color:inherit;min-height:40px}
.field.tall{min-height:96px;resize:vertical;margin-top:10px}
.pathrow{display:flex;align-items:center;gap:6px}
.pathrow .field{flex:1}
.checkline{display:flex;gap:9px;align-items:flex-start;font-size:13.5px;line-height:1.5;margin:10px 0 2px;cursor:pointer}
.checkline input{margin-top:3px;flex:0 0 auto}
.starterr{color:var(--bad);font-size:13.5px;line-height:1.55;margin:10px 0 0}
.steer{margin-top:10px;border-top:1px solid var(--line);padding-top:10px;display:flex;flex-direction:column;gap:8px;font-size:13.5px}
.steer textarea{min-height:64px;resize:vertical}
.accesslist{font-size:13.5px;line-height:1.65;margin:0;padding-left:20px}
.accesslist li{margin:0 0 7px}
.jobwrap{flex:1;min-height:0;display:flex;flex-direction:column}
.glance{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:10px 24px;border-bottom:1px solid var(--line);background:var(--side)}
.glancewho{font-size:12px;font-weight:600;color:var(--accent);white-space:nowrap}

/* ---------- chat ---------- */
.scroll{flex:1;overflow:auto}
.messages{max-width:760px;margin:0 auto;display:flex;flex-direction:column;gap:22px;padding:22px 24px 30px}
.messages.wide{max-width:none;padding:0}
.empty{padding:70px 0;text-align:center}
.empty strong{display:block;font-size:24px;font-weight:600;margin-bottom:8px}
.msg-user{align-self:flex-end;max-width:82%;background:var(--bubble);border-radius:16px;padding:11px 15px;font-size:15px;line-height:1.55;white-space:pre-wrap}
.msg-agent .who,.msg-review .who{font-size:12px;font-weight:600;color:var(--accent);margin-bottom:4px}
.msg-agent .body,.msg-review .body{font-size:15px;line-height:1.65;word-wrap:break-word}
.body p{margin:0 0 10px} .body pre{background:var(--side);border-radius:8px;padding:12px;overflow:auto;font-size:13px;white-space:pre-wrap}
.files{font-size:12px;color:var(--muted);margin-top:6px}
.msg-system{font-size:13px;color:var(--muted);text-align:center}
.msg-handoff{display:flex;flex-direction:column;align-items:center;gap:8px}
.rule{display:flex;align-items:center;gap:12px;width:100%;font-size:13px;color:var(--muted)}
.rule:before,.rule:after{content:"";flex:1;height:1px;background:var(--line)}
.note{width:100%;background:var(--side);border-radius:12px;padding:14px 16px;font-size:13px;line-height:1.6;white-space:pre-wrap;max-height:320px;overflow:auto}
.msg-review{border-left:2px solid var(--line2);padding-left:14px}
.composerWrap{padding:0 24px 20px;flex:0 0 auto}
.composer{max-width:760px;margin:0 auto;border:1px solid var(--line2);border-radius:16px;padding:12px 14px;display:flex;flex-direction:column;gap:10px;box-shadow:0 1px 2px rgba(0,0,0,.04)}
.composer textarea{border:0;outline:0;resize:none;font-size:15px;background:transparent;max-height:240px}
.composerRow{display:flex;align-items:center;gap:10px}
.composerRow .muted{flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}

/* ---------- sessions ---------- */
.sessBar{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:0 0 12px}
.sessChip{border:1px solid var(--line2);background:#fff;color:inherit;border-radius:999px;padding:7px 13px;font-size:13px;cursor:pointer;font:inherit;white-space:nowrap}
.sessChip:hover{border-color:var(--ink)}
.sessChip[aria-pressed="true"]{background:var(--ink);color:#fff;border-color:var(--ink)}
.sessBar .search{flex:1;min-width:190px;width:auto}
.sessCard{display:flex;gap:12px;align-items:flex-start;padding:11px 12px;border:1px solid transparent;border-radius:10px;cursor:pointer}
.sessCard:hover{background:var(--side);border-color:var(--line)}
.sessCard.on{background:var(--side);border-color:var(--ink)}
.sessCard input[type=checkbox]{margin-top:3px}
.sessMain{min-width:0;flex:1}
.sessName{font-size:14.5px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sessWhere{font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:2px}
.sessHit{font-size:12px;color:var(--muted);margin-top:5px;padding:6px 9px;background:var(--side);border-radius:7px;border-left:2px solid var(--accent)}
.sessRight{text-align:right;font-size:12px;color:var(--muted);white-space:nowrap;display:flex;flex-direction:column;gap:4px;align-items:flex-end}
.sessPin{background:none;border:none;cursor:pointer;font-size:15px;line-height:1;padding:2px 4px;color:var(--muted);font:inherit}
.sessPin[aria-pressed="true"]{color:var(--accent)}
.sessTag{display:inline-block;font-size:11px;padding:1px 7px;border-radius:999px;border:1px solid var(--line2);color:var(--muted)}
.sessTag.live{background:var(--accent);color:#fff;border-color:transparent}
.sessTag.arch{background:var(--side)}
.sessBulk{position:sticky;bottom:0;z-index:5;background:#fff;border-top:1px solid var(--line);padding:13px 0;margin-top:10px;display:flex;gap:10px;align-items:center;flex-wrap:wrap;box-shadow:0 -10px 16px -10px rgba(0,0,0,.18)}
.sessSheet{max-width:920px;width:94vw;max-height:88vh;display:flex;flex-direction:column;text-align:left;padding:0;gap:0;overflow:hidden;background:#fff;border:1px solid var(--line2);border-radius:14px}
.sessSheetHead{display:flex;gap:12px;align-items:flex-start;padding:18px 20px 12px;border-bottom:1px solid var(--line)}
.sessTabs{display:flex;gap:4px;padding:10px 20px 0}
.sessTab{border:none;background:none;color:var(--muted);font:inherit;font-size:14px;padding:7px 12px;border-radius:8px 8px 0 0;cursor:pointer;border-bottom:2px solid transparent}
.sessTab[aria-selected="true"]{color:inherit;font-weight:500;border-bottom-color:var(--ink)}
.sheetBody{padding:14px 20px 20px;overflow:auto;flex:1}
.sheetacts{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:0 0 12px}
.sessUse{border:1px solid var(--line2);border-radius:12px;padding:15px;margin-bottom:12px}
.sessUse h3{margin:0 0 4px;font-size:15px;font-weight:600}
.sessUse p{margin:0 0 10px;font-size:13px;color:var(--muted);line-height:1.5}
.sessUse textarea{width:100%;border:1px solid var(--line2);border-radius:9px;padding:9px 11px;font-size:14px;background:#fff;resize:vertical;min-height:62px}
.sessUse .search{margin:0}
.sessCmd{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;background:var(--side);padding:9px 11px;border-radius:8px;overflow-x:auto;white-space:pre;margin:9px 0;color:var(--muted)}
.sessDanger{border:1px solid var(--bad);border-radius:12px;padding:14px;margin:0 0 12px}
.sessEmpty{text-align:center;padding:46px 20px;color:var(--muted)}

/* ---------- gate, toast ---------- */
.gate{position:fixed;inset:0;background:rgba(255,255,255,.96);display:flex;align-items:center;justify-content:center;z-index:20;padding:16px}
.gatebox{display:flex;flex-direction:column;gap:12px;width:280px}
.gatebox input{height:44px;border:1px solid var(--line2);border-radius:8px;padding:0 12px;font:inherit}
.toast{position:fixed;left:50%;bottom:22px;transform:translateX(-50%);background:var(--ink);color:#fff;font-size:13.5px;padding:11px 16px;border-radius:10px;z-index:30;max-width:min(560px,92vw);box-shadow:0 6px 20px rgba(0,0,0,.2)}

/* ---------- responsive ---------- */
.mobile-only{display:none}

/* Three columns need the width for three columns. Below that the rail slides
   over the job rather than squeezing it to nothing, and the bar grows a
   button to ask for it. Nothing is lost at any width - it is the same rail. */
@media (max-width:1200px){
  .app{position:relative}
  .railtoggle{display:inline-flex}
  .bots{display:none}
  .app.show-bots .bots{display:block;position:absolute;top:0;right:0;bottom:0;z-index:6;
    width:min(340px,88vw);flex:none;box-shadow:-12px 0 28px -16px rgba(0,0,0,.35)}
}
@media (max-width:980px){
  .stages{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:760px){
  .side{width:100%;flex:1 1 auto;border-right:0}
  .app.in-view .side{display:none}
  .app:not(.in-view) .main{display:none}
  .mobile-only{display:inline-flex}
  .pageBody{padding:16px 14px 60px}
  .messages{padding:16px 14px 24px}
  .composerWrap{padding:0 10px 14px}
  .bar{padding:10px 12px}
  .glance{padding:9px 12px}
  .glance .sname{display:none}
  .row{flex-wrap:wrap}
  /* Five stacked boxes would be the whole first screen on a phone, so each
     stage becomes one line and the tasks stay in view. */
  .stages{grid-template-columns:1fr;gap:4px}
  .stage{flex-direction:row;align-items:baseline;gap:8px;padding:7px 10px}
  .stage .sdot{margin:0}
  .stword{margin-left:auto;text-align:right}
  .sessRight{display:none}
  .sessSheet{width:100vw;max-width:none;max-height:92vh;border-radius:12px}
  .liverow{flex-direction:column}
  .livestop{align-items:stretch;width:100%;flex-direction:row}
  .twhy,.why{margin-left:0}
  /* The chain keeps its spine on a phone - it is the one thing on this page
     that has to stay in order - but the verdict under each task moves below
     the task instead of fighting it for the same 40 characters of width. */
  .chainrow{grid-template-columns:22px 1fr 44px;gap:9px}
  .seats{grid-template-columns:1fr}
  /* "Who read it before anything was built" is three names on a phone, and
     squeezing them into the right-hand half leaves the question floating
     beside a three-line answer. Stack them instead. */
  .planwho .row{flex-direction:column;align-items:flex-start;gap:3px}
  .planwho .rowright{max-width:none;text-align:left}
  .trow{grid-template-columns:20px 1fr;gap:9px}
  .tcheck{grid-column:2;text-align:left;align-items:flex-start;flex-direction:row;gap:7px;flex-wrap:wrap;margin-top:5px}
}

/* Last on purpose, so it wins: no motion for anyone who asks for none. The
   working dot keeps a still ring, so it still reads differently from the rest. */
@media (prefers-reduced-motion:reduce){
  *{transition:none!important;animation:none!important}
  .sdot.work{box-shadow:0 0 0 3px rgba(14,122,106,.2)}
}
/* Saved agent management: one library and a persistent editor. */
.studio-page { max-width: 1200px; }
.studio-grid { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(260px, 2fr); gap: 20px; align-items: start; }
.studio-toolbar, .studio-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.studio-toolbar .field { flex: 1; min-width: 140px; }
.studio-card { border: 1px solid #dce1e8; border-radius: 10px; padding: 12px; margin-bottom: 10px; overflow-wrap: anywhere; }
.studio-card .btn { margin: 4px 6px 0 0; }
.studio-card.archived { opacity: .7; }
.studio-editor { border: 1px solid #dce1e8; padding: 18px; border-radius: 12px; min-width: 0; }
.studio-field { display: block; margin: 0 0 14px; font-size: 13px; }
.studio-field > span { display: block; margin-bottom: 5px; font-weight: 600; }
.studio-field .field { width: 100%; box-sizing: border-box; }
.studio-page fieldset { border: 0; padding: 0; margin: 10px 0; min-width: 0; }
.studio-page fieldset > legend { font-weight: 600; margin-bottom: 12px; }
.studio-advanced { border-top: 1px solid #dce1e8; margin: 14px 0; padding: 10px 0; }
.studio-advanced > summary { cursor: pointer; font-weight: 600; margin-bottom: 12px; }
.studio-page pre { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12px; }
.studio-feedback { color: #b12424; white-space: pre-wrap; }
.studio-launch { padding-bottom: 12px; }
.studio-setup { padding: 12px; background: #f1f5fa; border-radius: 8px; margin-top: 14px; }
.sidefoot { max-height: 45vh; overflow-y: auto; }
.bots-close { position: sticky; top: 0; float: right; z-index: 2; }
@media (max-width: 850px) { .studio-grid { grid-template-columns: 1fr; } .studio-editor { padding: 12px; } #currentPerson { max-width: 95px; overflow-wrap: anywhere; } .bar { flex-wrap: wrap; } }

/* Project workspace: two quiet columns, with provider activity on demand. */
.workspace-shell{--ink:#233027;--muted:#68756c;--side:#f5f7f3;--hover:#eaf0e6;--sel:#e4ecdf;--line:#e5eae2;--accent:#315e42;--fill:#507b5c}
.workspace-shell .side{width:232px;flex-basis:232px;padding:23px 16px 18px}
.workspace-shell .brand{font-size:19px;letter-spacing:-.6px;margin-bottom:15px}
.workspace-shell .mark{height:22px;width:22px;transform:none;border-radius:6px;background:var(--accent)}
.workspace-shell .btnp{background:#2d553b;font-weight:500}
.workspace-shell .btnp:hover{background:#23442f}
.workspace-shell .search{border:0;background:transparent;border-bottom:1px solid var(--line);border-radius:0;margin:9px 0 15px;padding-inline:7px}
.side-project-label{padding:7px 10px;color:var(--muted);font-size:10px;letter-spacing:1.8px;margin-bottom:7px}
.project-side-row{display:block;padding:12px 10px;border-radius:7px;color:var(--ink);text-decoration:none;font-size:13px;overflow-wrap:anywhere}
.project-side-row:hover{background:var(--hover)}
.project-side-row.on{background:var(--sel)}
.project-side-row small{display:block;color:var(--muted);font-size:11px;margin-top:3px}
.workspace-shell .nav{font-size:12px;padding:8px 10px}
.workspace-utilities summary{font-size:12px;color:var(--muted);padding:9px 10px;cursor:pointer}
.workspace-shell .bar{min-height:68px;border-bottom:1px solid var(--line);padding-inline:28px;gap:12px}
.workspace-shell .bartitle strong{font-size:13px;font-weight:500}
.workspace-shell .bartitle>span{font-size:11px}
.workspace-shell #currentPerson{font-size:12px;color:var(--muted)}
.workspace-shell .bots{display:none}
.workspace-shell .railtoggle{display:inline-flex}
.workspace-shell.show-bots .bots{display:block;position:absolute;top:0;right:0;bottom:0;z-index:6;width:min(360px,90vw);flex:none;box-shadow:-12px 0 28px -16px #0005}
.project-index{max-width:1100px;width:100%;margin:0 auto;padding:55px 48px}
.project-index-heading{display:flex;gap:30px;justify-content:space-between;align-items:center;margin-bottom:48px}
.project-eyebrow{color:var(--accent);font-size:10px;letter-spacing:2px;font-weight:600;margin-bottom:12px}
.project-index h1,#projectHeading h1{font-family:Georgia,'Times New Roman',serif;font-size:34px;line-height:1.2;letter-spacing:-1px;font-weight:400;margin:0 0 14px;overflow-wrap:anywhere}
.project-index p,#projectHeading p,.project-panel-heading p{font-size:13px;color:var(--muted);line-height:1.7;margin:0;max-width:570px}
.project-list-heading{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);padding:0 35px 13px 0;border-bottom:1px solid var(--line)}
.project-list-row{display:flex;align-items:center;gap:18px;text-decoration:none;color:var(--ink);padding:22px 0;border-bottom:1px solid var(--line)}
.project-list-row:hover .project-list-title{color:var(--accent)}
.project-monogram{display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;border-radius:9px;background:var(--side);color:var(--accent);font-family:Georgia,serif;font-size:20px}
.project-list-title{font-size:15px;min-width:0;overflow-wrap:anywhere;flex:1}
.project-list-title small,.project-agent-row small,.project-file-row small{display:block;font-size:11px;color:var(--muted);margin-top:5px;overflow-wrap:anywhere}
.project-updated{font-size:12px;color:var(--muted);flex-shrink:0}
.project-arrow{color:var(--muted);padding-left:8px}
.project-workspace{display:flex;flex-direction:column;flex:1;min-height:0}
#projectHeading{padding:25px 38px 0;flex-shrink:0}
#projectHeading h1{font-size:29px;margin-bottom:7px}
#projectHeading .project-eyebrow{margin-top:22px;margin-bottom:8px}
.project-back{color:var(--muted);text-decoration:none;font-size:11px}
.project-tabs{display:flex;gap:28px;border-bottom:1px solid var(--line);margin:18px 38px 0;flex-shrink:0}
.project-tab{padding:12px 0;text-decoration:none;color:var(--muted);font-size:13px;border-bottom:2px solid transparent}
.project-tab.selected{border-color:var(--accent);color:var(--ink)}
.project-conversation-bar{display:flex;gap:20px;align-items:center;justify-content:space-between;padding:15px 38px;border-bottom:1px solid var(--line);flex-shrink:0}
.project-conversation-bar select{max-width:min(500px,65%);background:transparent;border:0;padding:0;font-size:12px}
.project-text-action{font-size:12px;color:var(--accent);text-decoration:none}
.project-work{display:flex;flex-direction:column;flex:1;min-height:0}
.project-panel{overflow:auto;padding:30px 38px 60px}
.project-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:30px}
.project-panel h2{font-size:20px;font-weight:500;margin:0 0 8px;letter-spacing:-.3px}
.project-panel h3{font-size:15px;font-weight:500}
.project-file-row{display:flex;align-items:center;gap:16px;width:100%;text-align:left;background:transparent;border:0;border-bottom:1px solid var(--line);padding:17px 0;font:inherit;font-size:13px;color:var(--ink);cursor:pointer}
.project-file-row>span:nth-child(2){flex:1;min-width:0;overflow-wrap:anywhere}
.project-file-row>span:last-child{font-size:11px;color:var(--muted)}
.project-file-icon{font-size:24px;color:var(--accent)}
.project-file-preview{margin-top:30px;padding-top:25px;border-top:1px solid var(--line)}
.project-file-preview pre{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--side);border-radius:7px;padding:20px;font-size:12px;line-height:1.7}
.project-empty{padding:50px 0}
.project-empty h2,.project-empty h3{font-weight:400}
.project-empty p,.project-empty-note{font-size:13px;color:var(--muted);line-height:1.8}
.project-section-title{margin-top:35px}
.project-agent-row{display:flex;gap:15px;align-items:center;padding:18px 0;border-bottom:1px solid var(--line);font-size:14px}
.project-agent-actions{display:flex;gap:25px;flex-wrap:wrap;padding:30px 0}
.workspace-shell .startbox{max-width:740px;width:100%;margin:0 auto}
.workspace-shell #workStart{padding:25px 38px 55px;overflow:auto}
.workspace-shell #startName{margin-bottom:22px;max-width:450px}
.workspace-shell #startText{min-height:100px;border-radius:12px;padding:17px;margin-bottom:16px;line-height:1.7;box-shadow:0 4px 20px #21351e05}
.workspace-shell .studio-launch{background:transparent;border:0;padding:0;margin:10px 0 16px;max-width:500px}
.workspace-shell .studio-launch p{font-size:11px;line-height:1.6}
.workspace-shell .studio-launch select{min-height:38px}
.workspace-shell .startrow{gap:10px;align-items:center}
.workspace-shell .startgo{margin-left:auto}
.workspace-shell #jobGlance .steps{display:none}
.workspace-shell #jobGlance .glance{border:0;background:none;padding:14px 38px 0;gap:12px;font-size:12px}
.workspace-shell #jobStages{padding:10px 38px 0}
.workspace-shell #jobStages>.stages{display:none}
.workspace-shell #jobStages>.sec{border:0;border-bottom:1px solid var(--line);border-radius:0;margin:0;background:transparent}
.workspace-shell #jobStages .sechead{font-size:11px;padding:10px 0}
.workspace-shell .messages{max-width:900px;width:100%;margin:0 auto;padding:28px 38px 40px}
.workspace-shell .composerWrap{padding:12px 38px 22px}
.workspace-shell .composer{max-width:824px;margin:0 auto;border-radius:12px;box-shadow:0 5px 20px #21351e07}
.workspace-shell .msg-user{background:var(--side)}
@media(max-width:900px){.workspace-shell .side{width:195px;flex-basis:195px}.project-index{padding:35px 25px}.project-index-heading{align-items:flex-start}.project-index-heading h1{font-size:29px}.workspace-shell .bar{padding-inline:18px}.project-panel{padding-inline:25px}#projectHeading{padding-inline:25px}.project-tabs{margin-inline:25px}.project-conversation-bar{padding-inline:25px}}
@media(max-width:760px){.workspace-shell .side{width:100%;flex-basis:auto}.project-index{padding:30px 22px}.project-index-heading{flex-direction:column;gap:22px;margin-bottom:35px}.project-index-heading .btnp{align-self:flex-start}.project-list-heading{padding-right:0}.project-updated{display:none}.project-list-row{gap:12px;padding:18px 0}.project-panel-heading{align-items:flex-start;flex-direction:column}.workspace-shell .bar{flex-wrap:wrap;gap:8px}.workspace-shell .bartitle{flex:1}.workspace-shell #signOut{font-size:11px;min-height:30px;padding:0 7px}.workspace-shell #botsBtn{font-size:11px;min-height:30px;padding:0 8px}.workspace-shell #workStart{padding:22px}.project-conversation-bar{gap:8px;padding:10px 22px}.project-text-action{font-size:11px}.workspace-shell #jobStages{padding-inline:22px}.workspace-shell .messages{padding:20px 22px}.workspace-shell .composerWrap{padding:10px 15px 15px}#projectHeading h1{font-size:25px}.project-tabs{gap:24px}.project-agent-actions{gap:18px}.workspace-shell input,.workspace-shell textarea,.workspace-shell select{font-size:16px}}
.workspace-shell #startWho{display:none}
.workspace-shell .project-text-action:is(button){border:0;background:transparent;padding:0;cursor:pointer;font:inherit;color:var(--accent);font-size:12px;text-decoration:underline}
.workspace-shell .studio-card{border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;padding:18px 0;box-shadow:none}
.workspace-shell #workspaceAgentEditor .pageBody{padding:20px 0}
.workspace-shell .studio-editor{border:0;border-left:1px solid var(--line);border-radius:0;background:transparent;padding-left:28px}
@media(max-width:850px){.workspace-shell .studio-editor{border:0;padding-left:0}}
/* Startup and sign-in must remain legible even when the app cannot load. */
.app-boot{margin:auto;padding:36px;max-width:560px;width:100%}
.app-boot h1{font:400 28px/1.3 Georgia,serif;color:#233027;margin:18px 0 12px}
.app-boot p{font-size:14px;line-height:1.7;color:#68756c;margin:0 0 22px}
.boot-brand{color:#315e42;font-size:16px;font-weight:600;letter-spacing:-.3px}
.gate{background:#f5f7f3}
.gatebox{width:420px;max-width:100%;background:#fff;border:1px solid #e5eae2;border-radius:16px;padding:32px;box-shadow:0 10px 45px #2330270b;gap:14px}
.gatebox h1{font:400 25px/1.3 Georgia,serif;color:#233027;margin:8px 0 0}
.gatebox .gate-intro{font-size:13px;line-height:1.7;color:#68756c;margin:0 0 8px}
.gatebox>label{font-size:13px;color:#233027}
.gatebox>.btnp{background:#2d553b;margin-top:4px}
.gatebox #gateMsg{color:#b3261e;overflow-wrap:anywhere}
@media(max-width:480px){.gatebox{padding:24px}.app-boot{padding:24px}.gatebox input{font-size:16px}}
