/* Mr Thoob chat: a full-screen sheet on phones, a focused view on desktop. Direction E, the light look: every color,
   radius and typeface is a design token. The block below repeats the tokens on .tc-root, so the chat looks the same
   on a page that does not load them; the short names after it (--g, --card, --muted and
   the rest) are this sheet's own aliases for them. */
/* tokens:start */
/* Generated from tokens.json version 3 by tools/brand/build-tokens.mjs. Do not edit by hand. */
.tc-root{
  --bg:#FFFFFF;
  --bg-card:#F6F7F9;
  --bg-elevated:#FFFFFF;
  --border:#E4E7EC;
  --line:#EEF0F4;
  --line2:#D9DCE3;
  --text:#0B1020;
  --text-muted:#5B6170;
  --text-dim:#B9BECA;
  --blue:#2563EB;
  --blue-hover:#1D4ED8;
  --blue-glow:#2563EB;
  --on-blue:#FFFFFF;
  --blue-tint:#EEF4FF;
  --highlight:#FFD60A;
  --highlight-soft:#FFF7CC;
  --highlight-panel:#FFF4B8;
  --state-hover:var(--bg-card);
  --state-selected:var(--highlight-soft);
  --focus-ring:var(--blue);
  --band-strong:#17663F;
  --band-steady:#1F5FA8;
  --band-mixed:#7A5200;
  --band-fast:#A3470F;
  --band-fastest:#9B2226;
  --band-strong-soft:#E6F4EC;
  --band-steady-soft:#E8F0FA;
  --band-mixed-soft:#FBF1DC;
  --band-fast-soft:#FCEBDD;
  --band-fastest-soft:#FBE9E9;
  --band-fastest-option-plum:#6D2E6B;
  --cost-1:#CFE0FF;
  --cost-2:#8FB4FF;
  --cost-3:#3D7BFF;
  --cost-4:#1741A6;
  --accent-teal:#14b8a6;
  --thoob-yellow:#fde047;
  --font-display:"Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --font-sans:"Inter", system-ui, sans-serif;
  --font-mono:"DM Mono", ui-monospace, monospace;
  --space-1:4px;
  --space-2:8px;
  --space-3:12px;
  --space-4:16px;
  --space-5:20px;
  --space-6:24px;
  --space-7:28px;
  --space-8:32px;
  --radius-sm:12px;
  --radius-md:16px;
  --radius-card:20px;
  --radius-lg:28px;
  --radius-pill:999px;
  --radius-full:50%;
  --shadow-paper:0 14px 34px rgba(11,16,32,0.10);
  --shadow-pin:0 1px 3px rgba(11,16,32,0.25);
  --target-min:44px;
  --ask-first-screen:600px;
}
/* tokens:end */
.tc-root{--g:var(--bg);--card:var(--bg);--card2:var(--bg-card);--muted:var(--text-muted);--dim:var(--text-muted);--bluew:var(--blue);--teal:var(--band-strong);--amber:var(--band-mixed);--mid:var(--band-steady);

  position:fixed;inset:0;z-index:2147482000;font:15px/1.5 var(--font-sans);color:var(--text)}
.tc-root[hidden]{display:none}
html.tc-open,html.tc-open body{overflow:hidden}
.tc-root *{box-sizing:border-box}
.tc-root button,.tc-root input,.tc-root textarea,.tc-root select{font:inherit;color:inherit}
.tc-scrim{position:absolute;inset:0;background:color-mix(in srgb,var(--text) 55%,transparent);opacity:0;transition:opacity .2s ease}
/* padding and border are set here so a page's own "section" rule (the career pages have one) cannot pad the sheet */
.tc{position:absolute;inset:0;padding:0;border:0;display:flex;flex-direction:column;background:var(--g);transform:translateY(16px);opacity:0;transition:transform .22s ease,opacity .2s ease}
.tc-root.on .tc{transform:none;opacity:1}.tc-root.on .tc-scrim{opacity:1}
@media (min-width:900px){
  .tc{inset:24px auto 24px 50%;width:min(760px,calc(100vw - 48px));transform:translate(-50%,12px);border:1px solid var(--line2);border-radius:20px;overflow:hidden;box-shadow:var(--shadow-paper)}
  .tc-root.on .tc{transform:translate(-50%,0)}
  .tc-root.panel-on .tc{left:calc(50% - 210px)}
}
@media (min-width:900px) and (max-width:1219px){.tc-root.panel-on .tc{left:50%}}
.tc-head{display:flex;align-items:center;gap:12px;padding:12px 14px;border-bottom:1px solid var(--line);background:var(--card)}
.tc-face{width:44px;height:44px;border-radius:50%;background:var(--blue);flex:none}
.tc-who{flex:1;min-width:0}
.tc-who h2{margin:0;font:700 17px/1.2 var(--font-display)}
.tc-who p{margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font:500 10.5px/1.4 var(--font-mono);letter-spacing:.02em;color:var(--muted);text-transform:uppercase}
.tc-pill{font:500 12px/1 var(--font-mono);color:var(--bluew);border:1px solid var(--blue);border-radius:999px;padding:7px 10px;white-space:nowrap}
.tc-pill[hidden]{display:none}
.tc-x,.tc-icon{width:44px;height:44px;border-radius:12px;border:1px solid var(--line);background:transparent;cursor:pointer;display:grid;place-items:center;flex:none}
.tc-x:hover,.tc-icon:hover{border-color:var(--line2)}
.tc-root :focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}
.tc-log{flex:1;overflow-y:auto;padding:18px 14px 8px;display:flex;flex-direction:column;gap:10px;scroll-behavior:smooth;overscroll-behavior:contain}
.tc-b{max-width:86%;padding:10px 14px;border-radius:16px;animation:tcIn .22s ease both}
.tc-b.thoob{background:var(--card2);border:1px solid var(--line);border-top-left-radius:6px;align-self:flex-start}
.tc-b.you{background:var(--blue);color:var(--on-blue);border-top-right-radius:6px;align-self:flex-end}
.tc-row{display:flex;gap:8px;align-items:flex-end}
.tc-mini{width:28px;height:28px;border-radius:50%;flex:none;background:var(--blue)}
@keyframes tcIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.tc-typing{display:inline-flex;gap:4px;padding:14px}
.tc-typing i{width:6px;height:6px;border-radius:50%;background:var(--muted);animation:tcDot 1s infinite ease-in-out}
.tc-typing i:nth-child(2){animation-delay:.15s}.tc-typing i:nth-child(3){animation-delay:.3s}
@keyframes tcDot{0%,80%,100%{opacity:.25}40%{opacity:1}}
.tc-card{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:14px;animation:tcIn .22s ease both}
.tc-card h3{margin:0 0 4px;font:500 11px/1.4 var(--font-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--muted);display:flex;gap:8px;align-items:center}
.tc-card h3 b{color:var(--bluew);font-weight:500}
.tc-card .tc-note{margin:6px 0 0;font-size:12.5px;color:var(--dim)}
.tc-card .tc-label{margin:2px 0 10px;font-size:13px;color:var(--text);font-weight:600}
.tc-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.tc-chip{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:6px 6px 6px 12px;border-radius:999px;border:1px solid var(--line2);background:var(--bg-card);font-size:13.5px}
.tc-chip button{width:28px;height:28px;border-radius:50%;border:0;background:transparent;color:var(--muted);cursor:pointer;display:grid;place-items:center}
.tc-chip button:hover{background:var(--border);color:var(--text)}
.tc-list{list-style:none;margin:8px 0 0;padding:0;display:flex;flex-direction:column;gap:2px}
.tc-item{display:grid;grid-template-columns:1fr auto;gap:4px 12px;align-items:center;padding:8px 0;border-top:1px solid var(--line)}
.tc-item:first-child{border-top:0}
.tc-dd{all:unset;justify-self:start;cursor:pointer;font-weight:600;color:var(--text);min-height:28px;display:inline-flex;align-items:center;border-bottom:1px dashed var(--text-muted);line-height:1.3;padding:4px 0}
.tc-dd:hover{color:var(--blue);border-bottom-color:var(--bluew)}
.tc-dd:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px;border-radius:4px}
.tc-meta{grid-column:1/-1;font-size:12.5px;color:var(--muted)}
.tc-costs{grid-column:1/-1;display:grid;gap:2px;font-size:12.5px;color:var(--text)}
.tc-cost small{color:var(--muted)}
details.tc-cost summary{cursor:pointer;list-style-position:inside}
details.tc-cost .tc-note{display:block;padding-left:14px}
.tc-facts dd .tc-note{display:block;margin-top:4px;font-size:12.5px;font-weight:400}
.tc-score{display:flex;align-items:center;gap:8px;font:500 13px/1 var(--font-mono)}
.tc-bar{width:84px;height:6px;border-radius:999px;background:var(--border);overflow:hidden}
.tc-bar i{display:block;height:100%;border-radius:999px;background:var(--mid);transform-origin:left;animation:tcGrow .5s ease both}
.tc-bar.teal i{background:var(--teal)}.tc-bar.amber i{background:var(--amber)}
@keyframes tcGrow{from{transform:scaleX(0)}to{transform:scaleX(1)}}
.tc-src{font:500 11.5px/1 var(--font-mono);color:var(--bluew);text-decoration:none;display:inline-flex;align-items:center;min-height:32px}
.tc-src:hover{text-decoration:underline}
.tc-foot-row{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:8px;flex-wrap:wrap}
.tc-week{list-style:none;margin:8px 0 0;padding:0;counter-reset:w}
.tc-week li{counter-increment:w;display:grid;grid-template-columns:28px 1fr;gap:10px;padding:8px 0;border-top:1px solid var(--line)}
.tc-week li:first-child{border-top:0}
.tc-week li::before{content:counter(w);width:28px;height:28px;border-radius:50%;border:1px solid var(--blue);color:var(--bluew);display:grid;place-items:center;font:500 12px var(--font-mono)}
.tc-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.tc-btn{min-height:44px;padding:10px 16px;border-radius:12px;border:1px solid var(--line2);background:transparent;cursor:pointer;font-weight:600;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;color:var(--text)}
.tc-btn:hover{border-color:var(--text);background:var(--state-hover)}
.tc-btn.primary{background:var(--blue);border-color:var(--blue);color:var(--on-blue)}
.tc-btn.primary:hover{background:var(--blue-hover);border-color:var(--blue-hover)}
.tc-btn[disabled]{opacity:.5;cursor:not-allowed}
.tc-lock{border-color:var(--text);background:var(--highlight-soft)}
.tc-lock h3{color:var(--text)}
.tc-lock ul{margin:8px 0 0;padding:0;list-style:none}
.tc-lock li{display:flex;gap:10px;align-items:center;padding:6px 0;font-size:14px}
.tc-lock li::before{content:"";width:14px;height:14px;flex:none;border-radius:4px;border:1.5px solid var(--text)}
.tc-lock .tc-free{color:var(--text);font-weight:600;margin:8px 0 0}
.tc-alt{font-size:13px;color:var(--muted);margin:10px 0 0}
.tc-alt a{color:var(--bluew)}
.tc-support{border-color:var(--band-strong)}
.tc-support dl{margin:8px 0 0;display:grid;gap:10px}
.tc-support dt{font-weight:600}.tc-support dd{margin:0;color:var(--muted);font-size:14px}
.tc-support a{color:var(--blue)}
.tc-opts{display:flex;gap:8px;padding:8px 14px;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none}
.tc-opts:empty{display:none}
.tc-opts::-webkit-scrollbar{display:none}
@media (min-width:900px){.tc-opts{flex-wrap:wrap}}
.tc-opt{flex:none;min-height:44px;padding:10px 16px;border-radius:999px;border:1px solid var(--blue);background:var(--blue-tint);color:var(--text);cursor:pointer;font-weight:500;animation:tcIn .2s ease both}
.tc-opt:hover{background:var(--state-hover)}
.tc-select{flex:1;min-height:44px;border-radius:12px;border:1px solid var(--line2);background:var(--card);padding:0 12px}
.tc-compose{display:flex;gap:8px;align-items:flex-end;padding:8px 14px 6px;border-top:1px solid var(--line);background:var(--card)}
.tc-compose textarea{flex:1;resize:none;min-height:44px;max-height:120px;border-radius:12px;border:1px solid var(--text-muted);background:var(--bg);padding:11px 12px;line-height:1.4}
.tc-compose textarea:disabled{opacity:.5}
.tc-send{width:44px;height:44px;border-radius:12px;border:0;background:var(--blue);color:var(--on-blue);cursor:pointer;display:grid;place-items:center;flex:none}
.tc-send:disabled{opacity:.45;cursor:not-allowed}
.tc-foot{margin:0;padding:4px 14px 10px;background:var(--card);font-size:11.5px;color:var(--dim);display:flex;gap:6px;flex-wrap:wrap}
.tc-foot a{color:var(--muted)}
.tc-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* The one overlay inside the chat: a side panel on desktop, a bottom sheet on phones. */
.tc-panel{position:absolute;left:0;right:0;bottom:0;max-height:86%;background:var(--card);border:1px solid var(--line2);border-radius:20px 20px 0 0;display:flex;flex-direction:column;transform:translateY(100%);transition:transform .22s ease;z-index:3;box-shadow:var(--shadow-paper)}
.tc-panel.on{transform:none}
.tc-panel[hidden]{display:none}
.tc-grab{width:40px;height:4px;border-radius:4px;background:var(--line2);margin:8px auto 0}
.tc-panel-head{display:flex;align-items:flex-start;gap:10px;padding:10px 16px 0}
.tc-panel-head h2{flex:1;margin:6px 0 0;font:700 20px/1.25 var(--font-display)}
.tc-panel-body{overflow-y:auto;padding:8px 16px 18px}
.tc-kind{font:500 11px/1 var(--font-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
@media (min-width:900px){
  .tc-panel{left:auto;top:24px;bottom:24px;right:24px;width:400px;max-height:none;border-radius:20px;transform:translateX(calc(100% + 40px))}
  .tc-panel.on{transform:none}
  .tc-grab{display:none}
}
.tc-impact{margin:12px 0;padding:14px;border-radius:14px;background:var(--bg-card);border:1px solid var(--line)}
.tc-impact .big{display:flex;align-items:baseline;gap:8px}
.tc-impact .big strong{font:700 40px/1 var(--font-display)}
.tc-impact .big span{color:var(--muted);font-size:13px}
.tc-impact .tc-bar{width:100%;height:8px;margin:10px 0 6px}
.tc-impact p{margin:4px 0 0;font-size:13.5px;color:var(--muted)}
.tc-facts{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}
.tc-facts div{background:var(--bg-card);border:1px solid var(--line);border-radius:12px;padding:10px}
.tc-facts dt{font:500 10.5px/1.3 var(--font-mono);letter-spacing:.05em;text-transform:uppercase;color:var(--dim)}
.tc-facts dd{margin:4px 0 0;font-weight:600;font-size:14px}
.tc-sub-list{margin:6px 0 12px;padding:0;list-style:none}
.tc-sub-list li{display:flex;justify-content:space-between;gap:10px;padding:6px 0;border-top:1px solid var(--line);align-items:center}
.tc-link{color:var(--bluew)}
.tc-preview{position:fixed;z-index:5;width:260px;padding:12px;border-radius:14px;background:var(--card2);border:1px solid var(--line2);box-shadow:var(--shadow-paper);pointer-events:none;opacity:0;transition:opacity .15s ease}
.tc-preview.on{opacity:1}
.tc-preview b{display:block;margin-bottom:6px}
.tc-preview .tc-bar{width:100%}
.tc-preview small{display:block;color:var(--muted);margin-top:6px}
.tc-toast{position:absolute;left:50%;bottom:110px;transform:translateX(-50%);background:var(--text);color:var(--bg);border:1px solid var(--text);padding:10px 14px;border-radius:12px;font-size:14px;opacity:0;transition:opacity .2s;pointer-events:none;z-index:6}
.tc-toast.on{opacity:1}
.tc-field{display:block;margin:12px 0}
.tc-field span{display:block;font-size:13px;color:var(--muted);margin-bottom:6px}
.tc-field input,.tc-field textarea{width:100%;min-height:44px;border-radius:12px;border:1px solid var(--text-muted);background:var(--bg);padding:10px 12px}
.tc-check{display:flex;gap:10px;align-items:flex-start;font-size:14px;color:var(--muted);min-height:44px;cursor:pointer}
.tc-check input{width:20px;height:20px;margin-top:2px;accent-color:var(--blue)}
.tc-err{color:var(--band-fastest);font-size:13px;min-height:18px;margin:4px 0 0}
.tc-thumbs{display:flex;gap:10px;margin-top:8px}
.tc-thumb{width:56px;height:48px;border-radius:12px;border:1px solid var(--line2);background:transparent;cursor:pointer;display:grid;place-items:center}
.tc-thumb[aria-pressed="true"]{border-color:var(--bluew);background:var(--blue-tint)}
.tc-reason{min-height:40px;padding:8px 14px;border-radius:999px;border:1px solid var(--line2);background:transparent;cursor:pointer;font-size:13.5px}
.tc-reason[aria-pressed="true"]{border-color:var(--bluew);background:var(--blue-tint);color:var(--text)}
.tc-count{font:500 11px var(--font-mono);color:var(--dim);text-align:right;margin-top:4px}
@media (prefers-reduced-motion:reduce){
  .tc,.tc-scrim,.tc-panel,.tc-preview,.tc-toast{transition:none!important}
  .tc-b,.tc-card,.tc-opt,.tc-bar i{animation:none!important}
  .tc-log{scroll-behavior:auto}
}
@media print{.tc-root{display:none!important}}
