/* The homepage demo: a picture of the logged-in app (agent-manager), so its
   tokens and sizes mirror agent-manager/src/index.css and Tailwind's gray
   scale, not the marketing site's. Every rule is scoped under .od so the site
   stylesheet and this one cannot reach each other's elements. Played by
   /assets/demo.js. */
.od{--brand-50:#ECF6F1; --brand-500:#267F60; --brand-600:#1D7050; --brand-700:#195842; --brand-800:#194E3A;
  --accent-300:#3EFFBB; --accent-500:#2FCC96;
  --beige-50:#FAF7F0;
  --paper-intake:#F6E9A9; --paper-intake-ink:#6A5410; --paper-site:#D4E9DC; --paper-site-ink:#195842;
  --gray-50:#f9fafb; --gray-100:#f3f4f6; --gray-200:#e5e7eb; --gray-300:#d1d5db; --gray-400:#9ca3af; --gray-500:#6b7280;
  --gray-600:#4b5563; --gray-700:#374151; --gray-900:#111827; --white:#fff; --site-green:#194E3A;
  --font:ui-sans-serif,system-ui,-apple-system,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;
  --hand:"Bradley Hand","Segoe Print","Chalkboard SE","Comic Neue",cursive;
  color-scheme:light;}
.od *{box-sizing:border-box}
.od{font-family:var(--font);font-size:14px;line-height:1.5;color:var(--gray-900)}
.od p,.od h3,.od ul,.od ol,.od dl,.od dd{margin:0}
.od .tg .dot[hidden]{display:none!important}
.od .sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.od .steps-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:20px}
.od .steps{list-style:none;margin:0;padding:0;display:flex;gap:6px;flex-wrap:wrap}
.od .steps button{font:inherit;font-size:13px;font-weight:500;border:1px solid #D9CEC3;background:#FAF4F1;color:var(--gray-600);border-radius:999px;padding:6px 12px 6px 8px;display:inline-flex;align-items:center;gap:7px;cursor:pointer;min-height:34px}
.od .steps .n{width:20px;height:20px;border-radius:50%;display:grid;place-items:center;font-size:11px;font-weight:600;background:var(--white);color:var(--gray-500);font-variant-numeric:tabular-nums}
.od .steps button[aria-current="step"]{background:var(--site-green);border-color:var(--site-green);color:var(--white)}
.od .steps button[aria-current="step"] .n{background:var(--accent-300);color:var(--site-green)}
.od .steps button.done .n{background:var(--brand-50);color:var(--brand-600)}
.od .ctl{font:inherit;font-size:13px;font-weight:500;border:0;background:none;color:var(--brand-600);cursor:pointer;display:inline-flex;align-items:center;gap:6px;padding:6px 4px;margin-left:auto}
.od :is(.steps button,.ctl,.tg button,.cin textarea,.cin button):focus-visible{outline:2px solid var(--brand-500);outline-offset:2px}
@media (max-width:560px){.od .steps button:not([aria-current]) .lbl{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.od .steps button:not([aria-current]){padding:6px}
.od .steps{gap:5px}}
.od .app{container-type:inline-size;background:var(--white);border-radius:14px;overflow:hidden;box-shadow:0 1px 0 #D9CEC3,0 28px 56px -32px rgba(25,78,58,.4)}
.od .shell{display:grid;grid-template-columns:1fr;height:640px;position:relative}
.od .rail, .od .ws-col{display:none}
@container (min-width:880px){.od .shell{grid-template-columns:56px minmax(320px,38%) 1fr;height:620px}
.od .rail{display:flex}
.od .ws-col{display:flex}
.od .mtop{display:none!important}}
@container (max-width:879.98px){.od .idh{display:none!important}
.od .shell[data-view="ws"] .chat-col{display:none}
.od .shell[data-view="ws"] .ws-col{display:flex}}
@media (max-width:560px){.od .app{border-radius:26px;border:7px solid #1b1b1b;max-width:420px;width:100%;margin:0 auto}
.od .shell{height:660px}}
.od .rail{flex-direction:column;align-items:center;gap:12px;background:var(--gray-900);padding:14px 0}
.od .rail .org{width:32px;height:32px;border-radius:8px;background:var(--brand-600);color:var(--white);display:grid;place-items:center;font-weight:700;font-size:13px;margin-bottom:6px}
.od .rail a{width:36px;height:36px;border-radius:6px;display:grid;place-items:center;color:var(--gray-400)}
.od .rail a.on{background:rgba(255,255,255,.1);color:var(--white)}
.od .rail .cog{margin-top:auto}
.od .chat-col{display:flex;flex-direction:column;min-width:0;min-height:0;border-right:1px solid var(--gray-200);background:var(--white)}
.od .idh{display:flex;align-items:center;gap:12px;height:64px;flex:none;border-bottom:1px solid var(--gray-200);padding:0 16px}
.od .av{width:32px;height:32px;flex:none;border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:600}
.od .av.bot{background:var(--brand-600);color:var(--white)}
.od .av.me{background:var(--gray-200);color:var(--gray-700)}
.od .idh b{display:block;font-size:14px;font-weight:600;line-height:1.25}
.od .idh span{display:block;font-size:12px;color:var(--gray-500)}
.od .clock{margin-left:auto;font-size:12px;color:var(--gray-400);font-variant-numeric:tabular-nums}
.od .feed{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;background:var(--beige-50);padding:16px 14px;display:flex;flex-direction:column;gap:16px}
.od .feed>*{flex-shrink:0}
.od .sys{align-self:center;font-size:13px;color:var(--gray-500);padding:2px 0}
.od .row{display:flex;gap:10px;animation:od-in .3s ease both}
.od .row.me{flex-direction:row-reverse}
.od .col{display:flex;flex-direction:column;align-items:flex-start;min-width:0;max-width:82%}
.od .row.me .col{align-items:flex-end}
.od .nm{margin-bottom:4px;font-size:12px;color:var(--gray-500)}
.od .nm b{font-weight:500;color:var(--gray-700)}
.od .bub{border-radius:16px;padding:8px 16px;font-size:14px;line-height:1.5}
.od .row.bot .bub{background:var(--white);border:1px solid var(--gray-200);box-shadow:0 1px 2px rgba(0,0,0,.05)}
.od .row.me .bub{background:var(--brand-600);color:var(--white)}
.od .bub p{margin:0}
.od .bub p+p{margin-top:8px}
.od .wl{display:inline-flex;align-items:center;gap:6px;margin-top:8px;font-size:13px;font-weight:500;color:var(--brand-600);text-decoration:none}
.od .wl svg{flex:none}
.od .typing{display:inline-flex;gap:4px;padding:12px 16px}
.od .typing i{width:6px;height:6px;border-radius:50%;background:var(--gray-400);animation:od-dot 1s infinite}
.od .typing i:nth-child(2){animation-delay:.15s}
.od .typing i:nth-child(3){animation-delay:.3s}
@keyframes od-dot{0%,60%,100%{opacity:.3}30%{opacity:1}}
@keyframes od-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.od .cin{flex:none;border-top:1px solid var(--gray-200);background:var(--white);padding:12px 14px}
.od .cin .r{display:flex;align-items:flex-end;gap:10px}
.od .cin textarea{flex:1;min-width:0;resize:none;height:42px;overflow:hidden;border:1px solid var(--gray-300);border-radius:12px;padding:10px 14px;font:inherit;font-size:14px;color:var(--gray-900);background:var(--white);transition:border-color .2s,box-shadow .2s}
.od .cin textarea::placeholder{color:var(--gray-400)}
.od .cin textarea:focus{outline:none;border-color:var(--brand-500)}
.od .cin.live textarea{border-color:var(--brand-500);box-shadow:0 0 0 4px var(--brand-50)}
.od .cin button{flex:none;width:42px;height:42px;border-radius:10px;border:0;background:var(--brand-600);color:var(--white);display:grid;place-items:center;cursor:pointer}
.od .cin button[disabled]{background:var(--gray-200);color:var(--gray-400);cursor:default}
.od .hint{margin:6px 2px 0;font-size:12px;color:var(--gray-500);min-height:1.2em}
.od .ws-col{flex-direction:column;min-width:0;min-height:0;background:var(--white)}
.od .wsh{display:flex;align-items:center;gap:12px;height:64px;flex:none;border-bottom:1px solid var(--gray-200);padding:0 20px;box-shadow:0 1px 2px rgba(0,0,0,.04)}
.od .wsh .tile{width:36px;height:36px;border-radius:8px;background:var(--brand-50);color:var(--brand-600);display:grid;place-items:center;flex:none}
.od .wsh b{display:block;font-size:14px;font-weight:600;line-height:1.25}
.od #wss{display:block;font-size:12px;color:var(--gray-500)}
.od .wsh .me{margin-left:auto;width:32px;height:32px;border-radius:50%;background:var(--brand-600);color:var(--white);display:grid;place-items:center;font-size:13px;font-weight:500}
.od .wsb{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:22px 24px}
.od .view{animation:od-in .3s ease both}
.od .mtop{display:flex;align-items:center;gap:10px;height:56px;flex:none;border-bottom:1px solid var(--gray-200);padding:0 12px;background:var(--white)}
.od .tg{display:flex;gap:4px;margin-left:auto;background:var(--gray-100);border-radius:999px;padding:3px}
.od .tg button{font:inherit;font-size:13px;font-weight:600;border:0;background:none;color:var(--gray-600);border-radius:999px;padding:6px 12px;cursor:pointer;position:relative}
.od .tg button[aria-pressed="true"]{background:var(--white);color:var(--gray-900);box-shadow:0 1px 2px rgba(0,0,0,.08)}
.od .tg .dot{position:absolute;top:3px;right:5px;width:7px;height:7px;border-radius:50%;background:var(--accent-500)}
.od .shell>.chat-col, .od .shell>.ws-col{min-height:0}
.od .ncol{flex-direction:column;min-height:0;min-width:0}
.od .wb-sum{margin:0;font-size:14px;color:var(--gray-600)}
.od .wb{list-style:none;margin:20px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:26px 24px}
.od .pi{position:relative;display:flex;flex-direction:column;gap:6px;min-height:200px;padding:18px;border-radius:2px 2px 3px 14px;color:var(--gray-900);
  box-shadow:0 1px 1px rgba(40,30,10,.07),0 14px 20px -14px rgba(50,38,12,.45);animation:od-in .3s ease both;transition:opacity .3s}
.od .pi.intake{background:var(--paper-intake)}
.od .pi.intake .ink{color:var(--paper-intake-ink)}
.od .pi.site{background:var(--paper-site)}
.od .pi.site .ink{color:var(--paper-site-ink)}
.od .pi .top{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:2px}
.od .pi .lab{font-family:var(--hand);font-size:24px;line-height:1;font-weight:600}
.od .pi time{font-size:12px;color:var(--gray-600)}
.od .pi h3{margin:0;font-size:16px;line-height:1.35;font-weight:600}
.od .pi p{margin:0;font-size:14px;line-height:1.35;color:var(--gray-700)}
.od .pi .grow{flex:1}
.od .pib{align-self:flex-start;display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 14px;border-radius:6px;border:1px solid currentColor;font:inherit;font-size:14px;font-weight:600;background:transparent}
.od .sv{display:grid;gap:14px;max-width:640px}
.od .sv h3{margin:0;font-size:16px;font-weight:600}
.od .seg{display:inline-flex;border:1px solid var(--gray-300);border-radius:6px;overflow:hidden;align-self:start;justify-self:start}
.od .seg span{padding:6px 12px;font-size:13px;font-weight:500;color:var(--gray-700)}
.od .seg span.on{background:var(--brand-600);color:var(--white)}
.od .meta{display:flex;flex-wrap:wrap;gap:4px 16px;margin:0;font-size:12px;color:var(--gray-500)}
.od .meta div{display:flex;gap:4px}
.od .meta dd{margin:0;color:var(--gray-700)}
.od .amounts{border:1px solid var(--gray-200);border-radius:8px;background:var(--gray-50);padding:10px 12px;font-size:13px}
.od .amounts .l{font-size:12px;font-weight:500;color:var(--gray-500);margin-bottom:4px}
.od .sig{font-size:12px;color:var(--gray-500)}
.od .acts{display:flex;flex-wrap:wrap;gap:8px}
.od .b{font:inherit;font-size:14px;font-weight:600;border-radius:6px;padding:8px 14px;border:1px solid var(--gray-300);background:var(--white);color:var(--gray-900);display:inline-flex;align-items:center;gap:6px}
.od .b.p{background:var(--brand-600);border-color:var(--brand-600);color:var(--white)}
.od .b.tap{animation:od-tap .7s ease}
@keyframes od-tap{40%{transform:scale(.96);box-shadow:0 0 0 5px rgba(47,204,150,.45)}}
.od .b[disabled]{opacity:.5}
.od .ok{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:600;color:var(--brand-700)}
.od .note{font-size:14px;color:var(--gray-600);margin:0}
.od .frame{border:1px solid var(--gray-200);border-radius:8px;padding:16px;background:var(--white)}
.od .frame .fh{display:flex;justify-content:space-between;gap:12px;font-size:13px;color:var(--gray-500);margin-bottom:10px}
.od .frame .fh b{color:var(--gray-900);font-size:15px}
.od .q{width:100%;border-collapse:collapse;font-size:13.5px;font-variant-numeric:tabular-nums}
.od .q th{text-align:left;font-weight:500;color:var(--gray-500);font-size:12px;padding:0 0 6px}
.od .q .r{text-align:right;white-space:nowrap}
.od .q td{padding:7px 0;border-top:1px solid var(--gray-200);vertical-align:top}
.od .q td:first-child{padding-right:10px}
.od .q tr.sum td{color:var(--gray-600)}
.od .q tr.sum+tr.sum td{border-top:0;padding-top:0}
.od .q tr.tot td{font-weight:700;color:var(--gray-900);border-top:1px solid var(--gray-300)}
.od .q .r+.r{padding-left:12px}
@container (max-width:560px){.od .q .unit{display:none}
.od .wsb{padding:18px 16px}}
.od .qty{display:inline-block;min-width:34px;text-align:center;border:1px solid var(--gray-300);border-radius:6px;padding:1px 6px;background:var(--white)}
.od .qty.edit{border-color:var(--brand-500);box-shadow:0 0 0 3px var(--brand-50)}
.od .flash{animation:od-flash 1.4s ease}
@keyframes od-flash{25%{background:#FEF3C7}}
.od .photo{display:grid;grid-template-columns:96px 1fr;gap:12px;align-items:center}
.od .photo img{width:96px;height:72px;object-fit:cover;border-radius:6px}
.od .photos{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.od .pf{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:6px}
.od .mail{border:1px solid var(--gray-200);border-radius:8px;overflow:hidden}
.od .mail .mh{padding:10px 14px;border-bottom:1px solid var(--gray-200);background:var(--gray-50);font-size:13px;display:grid;gap:2px}
.od .mail .mh span{color:var(--gray-500)}
.od .mail .mb{padding:12px 14px;font-size:14px;display:grid;gap:10px}
@media (prefers-reduced-motion:reduce){.od *{animation:none!important;transition:none!important}}
