/* A focused field changes its own line, never grows a ring outside it (the Founder, 10 October 2026, on his iPhone:
   "The outline can't be exterior to the box… It's replacing the current line. So proportions don't change."):
   the border takes the action colour and an inset 1px ring thickens it inside. Boxes to check keep a keyboard ring. */
@font-face{font-family:SymUI;src:url('assets/symbionia-ui-book.woff') format('woff');font-weight:400;font-display:swap}@font-face{font-family:SymUI;src:url('assets/symbionia-ui-demi.woff') format('woff');font-weight:600 800;font-display:swap}
:root{font-family:SymUI,Inter,Arial,sans-serif;color:#24212d;background:#f7f7fa;font-size:16px;--purple:#6d28b5;--purple-dark:#541c91;--soft:#f2ecfa;--line:#e7e5ee;--muted:#686577;--green:#16794d;--amber:#955215;--red:#bd3551;--sidebar:236px;--radius:14px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:var(--purple);text-decoration:none}button{border:0;background:none;color:inherit}button:focus-visible,a:focus-visible{outline:3px solid #b987ef;outline-offset:3px}:is(input:not([type=checkbox],[type=radio],[type=range],[type=color],[type=file],[type=button],[type=submit],[type=reset],[type=image]),select,textarea):focus{outline:none}.input:focus,.input:focus-visible{outline:none;border-color:var(--purple,#6d28b5);box-shadow:inset 0 0 0 1px var(--purple,#6d28b5)}input:is([type=checkbox],[type=radio],[type=range],[type=color],[type=file]):focus-visible{outline:2px solid #af76e1;outline-offset:1px}h1,h2,h3,p{margin:0}h1{font-size:clamp(1.65rem,2.7vw,2.1rem);line-height:1.22;letter-spacing:-.045em}h2{font-size:1.15rem;line-height:1.4;letter-spacing:-.025em}h3{font-size:1rem;line-height:1.4}p{line-height:1.55}small,.meta{font-size:.8125rem;line-height:1.5;color:var(--muted)}.muted{color:var(--muted)}.tiny{font-size:.75rem}.icon{width:21px;height:21px;display:inline-block;flex-shrink:0;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.skip-link{position:fixed;inset-inline-start:12px;top:-80px;z-index:100;background:white;padding:14px}.skip-link:focus{top:12px}.brand{display:flex;align-items:center;gap:11px;color:#24212d;letter-spacing:.19em;font-size:.88rem}.brand img{width:30px;height:29px}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);background:#fff;border-inline-end:1px solid var(--line);padding:24px 15px 16px;display:flex;flex-direction:column;gap:22px;z-index:40;transition:width .2s}.sidebar-top{display:flex;justify-content:space-between;align-items:center;padding:0 7px}.icon-button{height:44px;width:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;flex-shrink:0;position:relative}@media (hover:hover){.icon-button:hover{background:var(--soft)}}.account-button{border:1px solid var(--line);border-radius:12px;padding:12px;display:flex;align-items:center;gap:9px;text-align:start;width:100%;min-height:64px}.account-button>span{flex:1;min-width:0}.account-button strong{display:block;font-size:.875rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.account-button small{display:block}.human-badge{display:grid;place-items:center;width:36px;height:36px;min-width:36px;border-radius:50%;background:#e8e2f3;color:#523178;font-weight:600;font-size:.8rem}.human-badge.large{width:60px;height:60px;font-size:1.2rem}.nav-stack{display:grid;gap:4px}.nav-item{display:flex;align-items:center;gap:13px;border-radius:9px;padding:12px 14px;min-height:46px;text-align:start;font-size:.9rem;color:#494354}.nav-item:hover{background:#f7f5fa}.nav-item.active{background:var(--soft);color:var(--purple);font-weight:600}.nav-item .badge{margin-inline-start:auto}.sidebar-bottom{margin-top:auto;display:grid;gap:3px;border-top:1px solid var(--line);padding-top:12px}.nav-group{font-size:.75rem;color:var(--muted);padding:14px 14px 5px}.app-shell{margin-inline-start:var(--sidebar);min-height:100dvh}.topbar{height:76px;background:#ffffffed;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 32px;gap:18px;position:sticky;top:0;z-index:30;backdrop-filter:blur(12px)}.top-title{display:flex;align-items:center;gap:10px;font-size:.875rem}.top-right{display:flex;align-items:center;gap:12px}.search-trigger{display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:9px;padding:10px 14px;width:260px;font-size:.875rem;color:var(--muted)}.search-trigger kbd{margin-inline-start:auto;border:1px solid var(--line);border-radius:4px;padding:1px 4px;font-size:11px}.mobile-menu{display:none}.mobile-context{display:none}.demo-strip{padding:8px 32px;display:flex;gap:9px;justify-content:space-between;align-items:center;background:#f1eef7;color:#655279;font-size:.75rem}.demo-strip button{color:var(--purple);font-size:.75rem;text-decoration:underline;text-underline-offset:3px}.content{padding:28px 32px 44px;max-width:1500px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:23px}.page-heading .muted{margin-top:7px;font-size:.9rem}.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.btn{min-height:43px;padding:10px 17px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:9px;font-weight:600;font-size:.875rem;border:1px solid var(--line);background:white;line-height:1.35;text-align:center}.btn:hover{background:#f6f3fa}.btn.primary{background:var(--purple);border-color:var(--purple);color:#fff}.btn.primary:hover{background:var(--purple-dark)}.btn.soft{background:var(--soft);color:var(--purple);border-color:transparent}.btn.danger{color:var(--red);border-color:#edd3da}.btn.small{min-height:35px;padding:7px 12px;font-size:.8125rem}.btn.full{width:100%}.text-button{color:var(--purple);font-size:.875rem;font-weight:600;padding:6px 0;text-underline-offset:3px}.text-button:hover{text-decoration:underline}.badge{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border-radius:6px;font-size:.75rem;line-height:1.35;font-weight:600;white-space:nowrap;background:#f0eef4;color:#605b70}.badge.purple{background:#ede2fb;color:var(--purple)}.badge.green{background:#e6f6ed;color:var(--green)}.badge.amber{background:#fff0db;color:var(--amber)}.badge.red{background:#fde9ee;color:var(--red)}.badge.blue{background:#e9f1fc;color:#275ca6}.badge.count{border-radius:50%;min-width:20px;min-height:20px;padding:2px 5px;justify-content:center;background:var(--purple);color:white}.card{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:22px;min-width:0}.card-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:18px}.grid{display:grid;gap:20px}.grid.two{grid-template-columns:1.55fr 1fr}.grid.equal{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.stack{display:grid;gap:20px}.row{display:flex;align-items:center;gap:12px;min-width:0}.row.between{justify-content:space-between}.row .grow,.grow{flex:1;min-width:0}.gap-8{gap:8px}.section-gap{margin-top:24px}.section-title{margin:24px 0 14px}.empty{padding:44px 20px;text-align:center;display:grid;justify-items:center;gap:12px;border:1px dashed #d8d1e3;border-radius:12px;background:#fcfbfe}.empty p{max-width:370px;color:var(--muted);font-size:.9rem}.empty>.icon{height:32px;width:32px;color:var(--purple)}.portrait-box{position:relative;flex-shrink:0;width:100px;height:100px;border-radius:18px;background:linear-gradient(150deg,#f4f0fa,#eceaf2);overflow:hidden;display:grid;place-items:center;perspective:400px}.portrait-box>div[data-portrait]{position:relative;width:90%;height:90%;transform:rotateY(-9deg);transform-origin:50% 65%;transition:transform .5s}.portrait-box.small{width:50px;height:50px;border-radius:12px}.portrait-box.large{width:138px;height:138px;border-radius:22px}.portrait-box.hero{width:126px;height:126px}.portrait-box[data-status=working]>div[data-portrait]{animation:working-head 7s ease-in-out infinite}.portrait-box[data-status=waiting]>div[data-portrait]{animation:waiting-head 10s ease-in-out infinite}.portrait-box[data-status=paused]>div[data-portrait],.portrait-box[data-status=offline]>div[data-portrait]{transform:rotateY(0)}.portrait-box .work-dots{position:absolute;inset-inline-end:8px;bottom:6px;display:flex;gap:3px;background:#fffffff0;padding:5px 6px;border-radius:8px}.work-dots i{width:3px;height:3px;border-radius:50%;background:var(--purple);animation:dot-pulse 1.3s infinite}.work-dots i:nth-child(2){animation-delay:.2s}.work-dots i:nth-child(3){animation-delay:.4s}@keyframes working-head{0%,100%{transform:rotateY(-9deg) rotateZ(-1deg)}35%{transform:rotateY(9deg) rotateZ(1deg)}65%{transform:rotateY(0deg) translateY(-2px)}}@keyframes waiting-head{0%,85%,100%{transform:rotateY(-3deg)}92%{transform:rotateY(3deg)}}@keyframes dot-pulse{50%{opacity:.2}}.reduced-motion *{animation:none!important;transition:none!important}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.agent-summary{display:flex;gap:22px;align-items:center;margin-bottom:18px}.agent-summary h2{font-size:1.4rem;margin:5px 0}.agent-summary p{font-size:.9rem;color:var(--muted)}.agent-summary .summary-copy{margin-top:10px;color:#403247}.composer{display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:10px;padding:8px;background:white}.composer input{border:0;outline:none!important;min-width:0;flex:1;background:transparent;padding:7px;color:inherit;font-size:.9rem}.composer .btn{min-height:35px;padding:7px 12px}.decision-row{border-top:1px solid var(--line);padding:17px 0;display:flex;gap:12px;align-items:center}.decision-row:first-child{border-top:0;padding-top:0}.decision-row:last-child{padding-bottom:0}.decision-symbol{background:#fff0e7;color:#a45a24;border-radius:10px;padding:10px;display:flex}.decision-row h3{font-size:.95rem}.decision-row p{font-size:.8125rem;color:var(--muted);margin-top:4px}.list-row{display:flex;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid var(--line)}.list-row:last-child{border:0;padding-bottom:0}.list-row:first-child{padding-top:0}.list-row strong{font-size:.9rem}.list-row small{display:block;margin-top:3px}.list-row .icon{color:#7a6a8b}.quick-links{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}.activity-item{display:flex;gap:12px;padding:11px 0;position:relative}.activity-marker{height:9px;width:9px;background:#cbb6df;border-radius:50%;margin-top:7px;flex-shrink:0}.activity-item p{font-size:.875rem}.activity-item small{font-size:.75rem}.stat{padding:19px;border:1px solid var(--line);border-radius:12px;background:white}.stat strong{display:block;font-size:1.65rem;font-weight:600;letter-spacing:-.04em;margin:7px 0}.stat>span{font-size:.85rem;color:var(--muted)}.stats-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:22px}.progress{height:7px;background:#eeebf3;border-radius:10px;overflow:hidden;margin:10px 0}.progress i{height:100%;display:block;border-radius:10px;background:var(--purple);max-width:100%}.bar-chart{display:grid;gap:18px}.bar-row{display:grid;grid-template-columns:62px 1fr 66px;align-items:center;gap:12px;font-size:.875rem}.bar-row .bar{height:14px;border-radius:5px;background:#f0edf6;overflow:hidden}.bar i{display:block;height:100%;background:#8553be;border-radius:5px}.bar-row strong{text-align:end;font-size:.875rem}.chart-days{display:flex;align-items:flex-end;gap:14px;height:145px;padding:12px 4px 24px;border-bottom:1px solid var(--line)}.day-column{height:100%;flex:1;position:relative;display:flex;align-items:flex-end;justify-content:center}.day-column i{width:72%;background:#b390d5;border-radius:5px 5px 0 0;min-height:2px}.day-column span{position:absolute;bottom:-22px;font-size:.75rem;color:var(--muted)}.agent-card{display:flex;gap:18px;align-items:center;padding:20px}.agent-card .agent-text{flex:1;min-width:0}.agent-card h2{font-size:1.16rem}.agent-card .muted{font-size:.85rem;margin:5px 0}.agent-card .task-caption{font-size:.8rem;margin-top:10px;color:var(--muted)}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:22px}.segmented{display:inline-flex;border:1px solid var(--line);border-radius:9px;background:#f0eef5;padding:3px;gap:3px}.segmented button{padding:8px 13px;border-radius:6px;font-size:.8125rem;display:flex;align-items:center;gap:6px;white-space:nowrap}.segmented .active{background:white;color:var(--purple);box-shadow:0 1px 4px #30204212;font-weight:600}.input{border:1px solid #dcd8e6;background:white;border-radius:8px;padding:11px 12px;color:inherit;width:100%;font-size:.9rem;min-height:43px}.toolbar .input{width:auto;max-width:220px}.search-field{position:relative;flex:1;max-width:300px}.search-field .icon{position:absolute;inset-inline-start:12px;top:11px;color:#8a8295}.search-field input{padding-inline-start:41px;width:100%;max-width:none}.agent-title{display:flex;align-items:center;gap:20px}.authority-list{display:grid;gap:0}.authority-row{padding:17px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:16px;align-items:center}.authority-row:first-child{padding-top:0}.authority-row:last-child{border-bottom:0}.authority-row p{color:var(--muted);font-size:.8rem;margin-top:4px}.notice{border-radius:10px;background:var(--soft);padding:15px 17px;font-size:.875rem;color:#614284;display:flex;align-items:flex-start;gap:11px;line-height:1.6}.notice.amber{background:#fff4e6;color:#825023}.notice.green{background:#eaf6ef;color:#226744}.notice .icon{margin-top:2px}.board{display:grid;grid-template-columns:repeat(4,minmax(190px,1fr));gap:14px;align-items:start;overflow:auto;padding-bottom:15px}.board-column{background:#f0f0f5;border:1px solid var(--line);border-radius:12px;padding:12px;min-height:360px}.board-column>h3{display:flex;align-items:center;justify-content:space-between;margin:0 2px 15px;font-size:.875rem}.task-card{display:block;background:white;border:1px solid #e4dfeb;border-radius:9px;padding:15px;margin-bottom:11px;text-align:start;width:100%}.task-card:hover{border-color:#b98bdc;box-shadow:0 3px 10px #3d1e6710}.task-card h3{margin-bottom:14px;font-size:.875rem}.task-card .meta{font-size:.75rem;margin-top:12px}.task-row{display:grid;grid-template-columns:minmax(0,1fr) 150px 110px 125px;align-items:center;gap:12px;padding:18px 0;border-bottom:1px solid var(--line);width:100%;text-align:start}.task-row:hover{background:#fdfbff}.task-row:last-child{border:0}.task-row h3{font-size:.925rem}.task-row p{font-size:.8rem;color:var(--muted);margin-top:5px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:.875rem}th{text-align:start;font-weight:400;color:var(--muted);font-size:.8rem;padding:12px 13px;background:#faf9fc;white-space:nowrap}td{padding:15px 13px;border-bottom:1px solid var(--line)}tbody tr:last-child td{border:0}tbody tr:hover{background:#fcfbfe}.table-button{color:var(--purple);font-weight:600}.timeline-list{display:grid;gap:12px}.timeline-row{display:grid;grid-template-columns:220px 1fr;gap:20px;align-items:center}.timeline-track{height:38px;border-radius:8px;background:repeating-linear-gradient(90deg,#f0edf5 0 1px,transparent 1px calc(100% / 8));position:relative;border-bottom:1px solid #ede9f1}.timeline-span{position:absolute;top:8px;height:23px;border-radius:6px;background:#d9c6ef;color:#5b2888;font-size:.75rem;display:flex;align-items:center;justify-content:center;min-width:30px}.big-money{font-size:2.7rem;letter-spacing:-.06em;font-weight:600;margin:6px 0 3px}.balance-card{background:#fff;border-top:3px solid var(--purple)}.funding-source{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:20px;border:1px solid var(--line);border-radius:12px}.payment-card{max-width:390px;aspect-ratio:1.65;border-radius:18px;padding:25px;background:linear-gradient(115deg,#4e2580,#713eac);color:white;display:flex;flex-direction:column;justify-content:space-between;box-shadow:0 10px 25px #43156a20}.payment-card .brand{color:white}.payment-card .brand img{filter:brightness(0) invert(1)}.payment-card .number{font-size:1.25rem;letter-spacing:.16em}.payment-card small{color:#decfea}.payment-card .card-demo{font-size:.65rem;letter-spacing:.08em}.approval-amount{font-size:2.1rem;letter-spacing:-.04em;font-weight:600;margin:15px 0 4px}.key-values{display:grid;grid-template-columns:1fr auto;gap:14px;font-size:.9rem;margin:20px 0}.key-values>span{color:var(--muted)}.key-values>strong{text-align:end}.approval-actions{display:flex;gap:12px;position:sticky;bottom:16px;background:var(--surface,#fff);padding:14px;border:1px solid var(--line);border-radius:12px;margin-top:20px;z-index:5}.approval-actions>.btn{flex:1}.thread{min-height:320px;max-height:470px;overflow:auto;display:flex;flex-direction:column;gap:20px;padding:10px 0 20px}.message{max-width:83%;align-self:flex-start}.message.mine{align-self:flex-end}.message-label{font-size:.75rem;margin-bottom:5px;color:var(--muted)}.message-bubble{padding:14px 17px;border-radius:0 13px 13px 13px;background:#f3f0f8;font-size:.9rem;line-height:1.6}.message.mine .message-bubble{background:#ece0f9;border-radius:13px 0 13px 13px}.network-person{padding:20px;border:1px solid var(--line);border-radius:12px;display:flex;align-items:center;gap:16px}.external-avatar{background:#f0eafa;border-radius:14px;width:66px;height:66px;display:grid;place-items:center}.external-avatar img{width:45px}.document-row{display:flex;align-items:center;gap:15px;padding:16px;border:1px solid var(--line);border-radius:10px;margin-bottom:12px}.document-row>.icon{width:30px;height:30px;color:var(--purple)}.record-chain{border-inline-start:2px solid #e3d4f0;margin:20px 0 20px 9px;padding-inline-start:22px;display:grid;gap:24px}.chain-item{position:relative}.chain-item:before{content:'';position:absolute;inset-inline-start:-29px;top:5px;height:12px;width:12px;background:var(--purple);border:3px solid white;box-shadow:0 0 0 1px #e3d4f0;border-radius:50%}.chain-item strong{font-size:.9rem}.chain-item small{display:block}.settings-grid{display:grid;grid-template-columns:220px 1fr;gap:25px}.setting-row{display:flex;gap:16px;justify-content:space-between;align-items:center;padding:18px 0;border-bottom:1px solid var(--line)}.setting-row:last-child{border:0}.setting-row p{font-size:.825rem;color:var(--muted);margin-top:4px}.switch{width:42px;height:25px;padding:3px;background:#d7d1df;border-radius:30px;flex-shrink:0}.switch[aria-checked=true]{background:var(--purple)}.switch:after{content:'';width:19px;height:19px;display:block;border-radius:50%;background:white;transition:transform .2s}.switch[aria-checked=true]:after{transform:translateX(17px)}.identity-card{background:linear-gradient(125deg,#f5f0fc,#fff 70%);border:1px solid #d8c7e7;max-width:530px;padding:25px;border-radius:17px;box-shadow:0 8px 22px #38214d09}.identity-card .brand{margin-bottom:24px}.identity-bottom{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-top:23px}.identity-card .qr{width:80px;height:80px;mix-blend-mode:multiply}.identity-id{font-size:.9rem;letter-spacing:.06em}.hierarchy{display:grid;justify-items:center;gap:0;overflow-x:auto;padding:20px 4px}.org-node{border:1px solid #d8c9e6;border-radius:12px;background:var(--surface,#fff);padding:15px 22px;display:flex;gap:12px;align-items:center;min-width:180px;max-width:320px;text-align:start;box-shadow:0 4px 15px #50286b08}.org-node strong{font-size:.9rem;display:block}.org-node small{font-size:.75rem}.org-line{width:2px;height:29px;background:#cdb9df}.org-branches{display:flex;gap:20px;border-top:2px solid #cdb9df;padding-top:22px;position:relative}.org-branches>.org-node{position:relative}.org-branches>.org-node:before{content:'';position:absolute;height:23px;top:-24px;width:2px;background:#cdb9df;inset-inline-start:50%}.org-branches .portrait-box{width:45px;height:45px}.hierarchy-legend{display:flex;gap:16px;flex-wrap:wrap;justify-content:center;font-size:.8rem;color:var(--muted);margin-top:20px}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.plan-card{border:1px solid var(--line);border-radius:12px;padding:20px;background:white;display:flex;flex-direction:column;gap:14px}.plan-card.current{border:2px solid var(--purple);padding:19px}.plan-price{font-size:1.8rem;font-weight:600;letter-spacing:-.04em}.plan-price small{font-size:.8rem;font-weight:400}.plan-card ul{padding-inline-start:18px;margin:0 0 10px;font-size:.85rem;line-height:1.9;flex:1}.bottom-nav{display:none}.drawer-backdrop{display:none}.collapsed{--sidebar:76px}.collapsed .sidebar .brand span,.collapsed .sidebar .collapse-control,.collapsed .account-button>span,.collapsed .account-button>.icon,.collapsed .nav-item>span:not(.badge),.collapsed .nav-group,.collapsed .sidebar-bottom .nav-item span{display:none}.collapsed .sidebar .brand{justify-content:center}.collapsed .sidebar{padding-inline-start:10px;padding-inline-end:10px}.collapsed .sidebar-top{padding:0;justify-content:center}.collapsed .account-button{padding:9px;border:0}.collapsed .nav-item{padding:12px;justify-content:center;position:relative}.collapsed .nav-item .badge{position:absolute;top:1px;inset-inline-end:0;font-size:10px}.collapsed .sidebar-bottom{gap:8px}dialog{border:1px solid var(--line);border-radius:18px;padding:0;width:min(580px,calc(100% - 32px));max-height:90dvh;color:inherit;box-shadow:0 30px 100px #26133733}dialog::backdrop{background:#22163066;backdrop-filter:blur(3px)}.dialog-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid var(--line);position:sticky;top:0;background:var(--surface,#fff);z-index:2}.dialog-header h2{font-size:1.2rem}.dialog-body{padding:24px;overflow-y:auto}.dialog-body form{display:grid;gap:17px}.dialog-body label{display:grid;gap:7px;font-size:.85rem;font-weight:600}.dialog-body textarea{min-height:90px;resize:vertical}.dialog-body .form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.dialog-footer{display:flex;justify-content:flex-end;gap:10px;margin-top:8px}.dialog-body .field-help{font-size:.75rem;color:var(--muted);font-weight:400}.form-error{background:#fff0f2;color:#a62946;border-radius:8px;padding:11px;font-size:.85rem}.form-error:empty{display:none}.context-choice{border:1px solid var(--line);border-radius:10px;padding:15px;display:flex;align-items:center;gap:13px;margin-bottom:10px;width:100%;text-align:start}.context-choice.active{border-color:var(--purple);background:var(--soft)}.context-choice small{display:block}.context-choice strong{font-size:.925rem}.search-results{display:grid;gap:8px;margin-top:15px}.search-result{padding:13px;border-radius:9px;text-align:start;display:flex;gap:12px;align-items:center}.search-result:hover{background:var(--soft)}#toast{position:fixed;z-index:200;left:calc(50% + var(--sidebar)/2);bottom:25px;transform:translate(-50%,25px);opacity:0;pointer-events:none;background:#2d2439;color:white;padding:13px 20px;border-radius:11px;max-width:min(90vw,500px);font-size:.875rem;transition:.2s;box-shadow:0 8px 30px #29163830}#toast.show{transform:translate(-50%,0);opacity:1}.login-shell{max-width:440px;margin:10vh auto;padding:28px}.login-shell .brand{justify-content:center;margin-bottom:30px}.login-card{padding:30px;background:white;border:1px solid var(--line);border-radius:18px}.login-card h1{font-size:1.75rem;margin-bottom:10px}.login-card form{display:grid;gap:18px;margin-top:24px}.login-card label{font-size:.875rem;display:grid;gap:7px}.login-card .notice{margin-top:20px;font-size:.8rem}.error-panel{padding:30px}.setup-step{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid var(--line);width:100%;text-align:start}.setup-step:last-child{border:0}.step-number{width:29px;height:29px;display:grid;place-items:center;border-radius:50%;background:var(--soft);color:var(--purple);font-size:.8rem}.setup-step.done .step-number{background:var(--purple);color:white}.setup-step strong{font-size:.9rem}.setup-step small{display:block}.report-table{font-size:.8rem}.nowrap{white-space:nowrap}.mobile-only{display:none}.permission-note{margin-top:18px;font-size:.8rem;color:var(--muted)}.select-small{border:1px solid var(--line);background:white;border-radius:8px;font-size:.8125rem;padding:9px;max-width:190px}
@media(min-width:1500px){.content{padding-top:36px}.grid.two{grid-template-columns:1.65fr 1fr}}
@media(max-width:1150px){.grid.three{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.two{grid-template-columns:1.3fr 1fr}.topbar{padding:0 22px}.content{padding:25px 22px}.search-trigger{width:190px}.task-row{grid-template-columns:minmax(0,1fr) 120px 110px}.task-row .due{display:none}.agent-card{padding:17px;gap:12px}.agent-card .portrait-box{width:82px;height:82px}.plan-grid{grid-template-columns:1fr}.settings-grid{grid-template-columns:180px 1fr}.stats-row{grid-template-columns:repeat(2,minmax(0,1fr))}.org-branches{gap:12px}.org-branches .org-node{min-width:160px;padding:12px}}
@media(max-width:900px){.grid.two,.grid.equal{grid-template-columns:1fr}.agent-title .portrait-box.large{width:108px;height:108px}.search-trigger{width:42px;padding:10px;border:0}.search-trigger span,.search-trigger kbd{display:none}.timeline-row{grid-template-columns:170px 1fr}}
@media(max-width:700px){:root{--sidebar:0px}.app-shell,.collapsed .app-shell{margin-inline-start:0;padding-bottom:calc(76px + env(safe-area-inset-bottom))}.sidebar,.collapsed .sidebar{width:276px;transform:translateX(-100%);transition:transform .2s;padding:21px 15px 17px}.menu-open .sidebar{transform:translateX(0)}.menu-open .drawer-backdrop{display:block;position:fixed;inset:0;background:#21162d77;z-index:39}.collapsed .sidebar .brand span,.collapsed .account-button>span,.collapsed .account-button>.icon,.collapsed .nav-item>span:not(.badge),.collapsed .sidebar-bottom .nav-item span{display:initial}.collapsed .nav-group{display:block}.collapsed .nav-item{justify-content:flex-start;padding:12px 14px}.collapsed .sidebar-top{justify-content:space-between}.collapsed .account-button{border:1px solid var(--line);padding:12px}.collapsed .nav-item .badge{position:static;font-size:.75rem}.collapse-control{display:none}.mobile-menu{display:inline-flex}.topbar{height:65px;padding:0 13px;gap:5px}.top-title{gap:4px;min-width:0}.top-crumb{display:none}.mobile-context{display:block;max-width:190px;text-align:start;font-size:.8125rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:7px 5px}.mobile-context small{display:block;font-size:.65rem}.top-right{gap:2px}.top-right>.human-badge,:where(.top-right)>.top-more>.human-badge{display:none}.top-right .icon-button{width:36px}.topbar .search-trigger{width:35px;padding:7px}.topbar .plan-badge{display:none}.demo-strip{padding:7px 18px;font-size:.65rem;gap:6px}.demo-strip button{font-size:.65rem}.demo-strip .desktop-only{display:none}.content{padding:23px 18px 26px}.page-heading{align-items:flex-start;margin-bottom:20px;gap:12px}.page-heading .muted{font-size:.825rem}.page-heading>.actions>.btn{padding:9px 12px;min-height:39px}.page-heading h1{font-size:1.75rem}.card{padding:18px;border-radius:12px}.grid,.stack{gap:16px}.grid.three{grid-template-columns:1fr}.agent-summary{gap:14px;align-items:center}.agent-summary .portrait-box.hero{width:96px;height:104px;border-radius:16px}.agent-summary h2{font-size:1.25rem}.agent-summary p{font-size:.8rem}.agent-summary .summary-copy{font-size:.825rem;line-height:1.5}.agent-summary .badge{font-size:.68rem}.decision-row{align-items:flex-start;gap:10px;position:relative}.decision-symbol{padding:7px}.decision-row>.btn{align-self:center;padding:8px 11px;min-height:36px;font-size:.75rem}.decision-row h3{font-size:.875rem}.decision-row p{font-size:.775rem}.stat{padding:16px}.stats-row{gap:10px;margin-bottom:16px}.stat strong{font-size:1.5rem}.stat>span{font-size:.8rem}.agent-card{padding:18px;gap:17px}.agent-card .portrait-box{width:98px;height:105px}.agent-title{gap:13px;align-items:center}.agent-title .portrait-box.large{width:84px;height:96px}.agent-title h1{font-size:1.65rem}.page-heading.agent-heading{align-items:center}.agent-heading .actions .btn{padding:8px}.agent-heading .actions .btn span{display:none}.toolbar{gap:11px;margin-bottom:17px}.toolbar .search-field{max-width:100%;width:100%;flex-basis:100%}.toolbar .input{max-width:100%}.task-row{grid-template-columns:minmax(0,1fr) auto;gap:9px;padding:16px 0}.task-row>.row{grid-column:1;grid-row:2}.task-row>.row .portrait-box{display:none}.task-row>.row small{font-size:.75rem}.task-row>.badge{grid-column:2;grid-row:1/3;max-width:100px;white-space:normal;text-align:center;justify-content:center}.task-row p{font-size:.75rem}.board{grid-template-columns:repeat(4,minmax(245px,80vw));scroll-snap-type:x mandatory}.board-column{scroll-snap-align:start;min-height:350px}.timeline-list{overflow:auto;min-width:0}.timeline-row{grid-template-columns:140px 350px;gap:15px}.timeline-row h3{font-size:.85rem}.approval-actions{bottom:calc(76px + env(safe-area-inset-bottom));padding:11px;border-radius:10px;box-shadow:0 -3px 20px #2d12340a;gap:9px}.big-money{font-size:2.3rem}.funding-source{padding:15px}.settings-grid{display:block}.identity-card{padding:20px}.identity-card .brand{font-size:.8rem}.identity-id{font-size:.825rem}.identity-bottom{gap:10px}.identity-card .qr{width:65px;height:65px}.org-branches{flex-direction:column;border-top:0;border-inline-start:2px solid #cdb9df;margin-inline-start:30px;padding-top:0;padding-inline-start:22px;gap:15px}.org-branches>.org-node:before{height:2px;width:23px;top:50%;inset-inline-start:-24px}.hierarchy{justify-items:stretch;padding:12px 0}.hierarchy>.org-node{margin:auto}.hierarchy>.org-line{margin:auto}.org-node{max-width:none}.plan-grid{grid-template-columns:1fr}.bottom-nav{position:fixed;inset:auto 0 0;min-height:calc(68px + env(safe-area-inset-bottom));padding:7px 8px calc(7px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(5,1fr);background:#fffffff5;backdrop-filter:blur(12px);border-top:1px solid var(--line);z-index:35}.bottom-nav a,.bottom-nav button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:#686075;font-size:.6875rem;border-radius:9px;padding:5px 0}.bottom-nav .icon{width:22px;height:22px}.bottom-nav .active{color:var(--purple);background:#f7f2fc;font-weight:600}.bottom-nav .badge{position:absolute;top:0;inset-inline-start:calc(50% + 6px);font-size:.625rem;min-height:15px;min-width:15px}.dialog-header{padding:16px 18px}.dialog-body{padding:19px}dialog{max-height:calc(100dvh - 24px);width:calc(100% - 24px);border-radius:14px}.dialog-body .form-grid{grid-template-columns:1fr 1fr;gap:11px}.dialog-body .form-grid .input{min-width:0}.dialog-footer .btn{flex:1}#toast{inset-inline-start:50%;bottom:calc(88px + env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 30px);font-size:.8125rem}.login-shell{margin:5vh auto;padding:20px}.login-card{padding:24px}.mobile-only{display:initial}.desktop-only{display:none}.message{max-width:91%}.thread{max-height:400px}.network-person{padding:16px;gap:12px}.table-wrap{margin:0 -5px}th,td{padding:12px 9px}.section-gap{margin-top:18px}.select-small{max-width:155px}.card-head{margin-bottom:15px}.key-values{font-size:.85rem;gap:13px}.key-values strong{max-width:185px}.notice{font-size:.8rem;padding:13px}.document-row{padding:13px;gap:10px}.document-row .btn{font-size:.75rem;padding:7px 10px}.document-row strong{font-size:.85rem}}
@media print{.sidebar,.topbar,.demo-strip,.bottom-nav,.btn,.tabs,.settings-menu,.actions,.toolbar,dialog,#toast{display:none!important}.app-shell{margin:0}.content{padding:0}.card{break-inside:avoid}.grid{display:block}.card{margin-bottom:15px}body{background:white}}

@media(max-width:700px){.page-heading:not(.agent-heading){flex-wrap:wrap}.page-heading:not(.agent-heading)>div:first-child{flex:1 1 200px}.page-heading:not(.agent-heading)>.actions{flex:0 0 auto}.portrait-box>div[data-portrait]{width:108%;height:108%}.key-values>strong{overflow-wrap:anywhere}}
/* Give the identity and actions separate, readable rows on phones. */
.account-button>.human-badge{flex:0 0 36px}
.account-button strong{white-space:normal}
@media(max-width:700px){.page-heading.agent-heading{flex-wrap:wrap;gap:14px}.agent-heading .agent-title{width:100%;flex:1 1 100%}.agent-title .portrait-box.large{width:104px;height:112px}.agent-heading>.actions{margin-inline-start:auto}.agent-title>div:last-child{min-width:0}.agent-title h1{overflow-wrap:anywhere}}
/* A composer's box grows with what is written (the Founder, 30 Sep 2026); it wears the input's dress. */
.composer textarea{border:0;outline:none!important;min-width:0;flex:1;background:transparent;padding:7px;color:var(--ink,inherit);font:inherit;font-size:.9rem;line-height:1.4;resize:none;max-height:240px;overflow-y:auto}
.composer{align-items:flex-end}
a.agent-summary{color:inherit;text-decoration:none}
/* Chat beside the work (the Founder, 30 Sep 2026; Vinci's cut A): a panel on the right, pulled wider or narrower, maximized, or the whole screen on a phone. */
.chat-panel{position:fixed;top:0;inset-inline-end:0;bottom:0;z-index:40;display:flex;flex-direction:column;background:#fff;border-inline-start:1px solid var(--line);box-shadow:-12px 0 32px #24212d14;max-width:100vw}
.chat-panel[hidden]{display:none}
.chat-panel.full{inset-inline-start:0;width:auto!important;border-inline-start:0}
.chat-panel-grip{position:absolute;inset-inline-start:-4px;top:0;bottom:0;width:8px;cursor:ew-resize;touch-action:none;z-index:2}
.chat-panel.full .chat-panel-grip{display:none}
.chat-panel-head{display:flex;align-items:center;gap:6px;padding:14px 16px;border-bottom:1px solid var(--line)}
.chat-panel-head .grow{display:flex;flex-direction:column;min-width:0}
.chat-panel-head small{color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chat-panel-log{flex:1;overflow-y:auto;padding:16px}
.chat-panel .composer{margin:12px 16px 16px}
.chat-launcher{position:fixed;inset-inline-end:20px;bottom:20px;z-index:39;border-radius:999px;box-shadow:0 8px 24px #6d28b540}
body.chat-panel-open{padding-inline-end:var(--chat-panel,0px)}
body.chat-panel-open .chat-launcher{display:none}
@media (max-width:699px){.chat-launcher{bottom:84px}}
.chat-panel-search{display:flex;flex-direction:column;gap:8px;padding:12px 16px;border-bottom:1px solid var(--line)}
.chat-panel-filters{display:flex;gap:6px}
.chat-panel mark{background:var(--soft);color:inherit;border-radius:3px;padding:0 2px}
/* A muted chat: the bell struck through (0056). */
.chat-notify.muted{color:var(--muted)}
.chat-notify.muted::after{content:"";position:absolute;width:24px;height:2px;background:currentColor;transform:rotate(-45deg);border-radius:1px}
/* Who in a room may notify the person (0058). */
.room-notify{display:inline-flex;align-items:center;gap:6px;color:var(--muted)}
.room-notify .input{width:auto;min-height:36px;padding:4px 8px}
/* The composer's mark sits on its first line of text, not below it, as the box grows (the Founder's walk). */
.composer > .icon{align-self:flex-end;margin-bottom:7px}
/* On a phone the floating chat is a round mark above the tab bar, never a label over the cards. */
@media (max-width:699px){button.btn.chat-launcher{width:52px;height:52px;min-height:52px;min-width:52px;padding:0;justify-content:center;gap:0}button.btn.chat-launcher .button-label{display:none!important}}
.page-heading .room-notify + .btn{margin-inline-start:8px}
/* Home's cards keep one rhythm: the card after Quick tasks does not add its own gap to the strip's. */
.quick-work-strip{margin-bottom:20px}
.quick-work-strip + .card,.quick-work-strip + section{margin-top:0}
/* On a phone the chat is a sheet from the bottom: half the screen, the page still in view (the Founder). */
.chat-panel-handle{display:none}
.chat-panel.sheet{top:auto;inset-inline-start:0;inset-inline-end:0;width:auto!important;height:62dvh;border-inline-start:0;border-top:1px solid var(--line);border-radius:18px 18px 0 0;box-shadow:0 -12px 32px #24212d24;transition:height .2s ease;z-index:60}
.chat-panel.sheet.tall{height:100dvh;border-radius:0}
.chat-panel.sheet.dragging{transition:none}
.chat-panel.sheet .chat-panel-grip{display:none}
.chat-panel.sheet .chat-panel-handle{display:flex;justify-content:center;padding:8px 0 2px;cursor:ns-resize;touch-action:none}
.chat-panel.sheet .chat-panel-handle span{width:40px;height:5px;border-radius:3px;background:var(--line)}
.chat-panel.sheet .chat-panel-head{padding-top:6px}
body.chat-sheet-open .chat-launcher{display:none}
@media (prefers-reduced-motion:reduce){.chat-panel.sheet{transition:none}}
/* The microphone: a quiet mark until it listens, then the brand colour, pulsing. */
.composer .mic{width:38px;height:38px;color:var(--muted);flex-shrink:0}
.composer .mic.on{color:#fff;background:var(--purple);border-radius:50%;animation:mic-pulse 1.2s ease-in-out infinite}
@keyframes mic-pulse{50%{box-shadow:0 0 0 6px #6d28b533}}
@media (prefers-reduced-motion:reduce){.composer .mic.on{animation:none}}
/* Messages as a chat app (the Founder: "like WhatsApp"): the list beside the open conversation. */
.chat-app{display:grid;grid-template-columns:minmax(260px,340px) 1fr;height:calc(100dvh - 140px);min-height:480px;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:#fff}
.chat-list{border-inline-end:1px solid var(--line);overflow-y:auto;padding:8px 0}
.chat-list-title{font-size:.75rem;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin:12px 16px 6px}
.chat-row{display:flex;align-items:center;gap:12px;padding:10px 16px;color:inherit}
.chat-row:hover{background:var(--soft)}
.chat-row.active{background:var(--soft)}
.chat-row .grow{min-width:0;display:flex;flex-direction:column;gap:2px}
.chat-row-top,.chat-row-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
.chat-row-bottom small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--muted)}
.chat-row-top small{color:var(--muted);flex-shrink:0;font-size:.72rem}
.chat-unread{flex-shrink:0;min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:var(--purple);color:#fff;font-size:.72rem;font-weight:700;display:grid;place-items:center}
.muted-mark{flex-shrink:0;font-size:.7rem}
.chat-face{width:40px;height:40px;border-radius:50%;flex-shrink:0;display:grid;place-items:center;background:var(--soft);color:var(--purple);font-weight:700}
.chat-thread{display:flex;flex-direction:column;min-width:0;min-height:0}
.chat-thread-head{display:flex;align-items:center;gap:12px;padding:12px 16px;border-bottom:1px solid var(--line)}
.chat-thread-head .grow{display:flex;flex-direction:column;min-width:0}
.chat-thread-head small{color:var(--muted)}
.chat-thread-log{flex:1;overflow-y:auto;padding:16px}
.chat-thread .composer{margin:12px 16px 16px}
.chat-thread-empty{display:grid;place-items:center}
.chat-back{display:none}
/* Dark mode: the chat app and its side panel take the dark surface, so names and turns stay readable. */
[data-theme=dark] .chat-app,[data-theme=dark] .chat-panel{background:var(--surface)}
/* Touch targets in a chat are 44×44 (the composer's Send already reaches 44 through its ::after ring). */
.chat-thread-head .icon-button{width:44px;min-width:44px;height:44px}
@media (max-width:699px){
  .chat-app{grid-template-columns:1fr;height:calc(100dvh - 190px);border-radius:12px}
  .chat-app .chat-thread{display:none}
  .chat-app.has-open .chat-list{display:none}
  .chat-app.has-open .chat-thread{display:flex}
  .chat-back{display:inline-flex}
}
/* Home's Primary opens its chat in place; the corner mark says it expands. */
a.agent-summary{position:relative}
.primary-expand{position:absolute;inset-inline-end:0;top:0;color:var(--muted)}

/* The colour an agent speaks in (0061 `chat`; the Founder, 1 October 2026). The name stays on every turn, so colour is
   never the only way to tell who spoke. Since the Founder's screenshots of 7 October 2026 (Harmony's chat as the
   example: "it's supposed to be the actual color"), the agent's bubble is filled with the colour itself: no pale ground,
   no stripe. --staff-accent is the fill and the swatch, --staff-on the words on it (white; near-black on Yellow, Coral,
   Lime and Sky), each pair at least 4.5:1; --staff-ink is the colour as words on the page, --staff-ink-dark the same in
   dark (read at 4.5:1 on any chat's wash; terminal-chat-colors.js `inksOf`, 14 October 2026). 0–7 keep the hue they always
   had; 8–16 are the colours added that day. */
.chat-color-0{--staff-accent:#d02a7a;--staff-on:#fff;--staff-ink:#a31662;--staff-ink-dark:#e788b6}
.chat-color-1{--staff-accent:#2563eb;--staff-on:#fff;--staff-ink:#1d4ed8;--staff-ink-dark:#82a6f4}
.chat-color-2{--staff-accent:#c94b0c;--staff-on:#fff;--staff-ink:#9a3412;--staff-ink-dark:#f58b55}
.chat-color-3{--staff-accent:#7929c3;--staff-on:#fff;--staff-ink:#6d28b5;--staff-ink-dark:#c297e9}
.chat-color-4{--staff-accent:#f5b70a;--staff-on:#1a1523;--staff-ink:#785600;--staff-ink-dark:#f5b70a}
.chat-color-5{--staff-accent:#15803d;--staff-on:#fff;--staff-ink:#166534;--staff-ink-dark:#20c25c}
.chat-color-6{--staff-accent:#0f766e;--staff-on:#fff;--staff-ink:#115e59;--staff-ink-dark:#18baad}
.chat-color-7{--staff-accent:#525866;--staff-on:#fff;--staff-ink:#374151;--staff-ink-dark:#a2a7b4}
.chat-color-8{--staff-accent:#e11d48;--staff-on:#fff;--staff-ink:#be123c;--staff-ink-dark:#f0899f}
.chat-color-9{--staff-accent:#c62828;--staff-on:#fff;--staff-ink:#b91c1c;--staff-ink-dark:#e88f8f}
.chat-color-10{--staff-accent:#ff7a5c;--staff-on:#1a1523;--staff-ink:#b4381f;--staff-ink-dark:#ff8266}
.chat-color-11{--staff-accent:#84cc16;--staff-on:#1a1523;--staff-ink:#3f6212;--staff-ink-dark:#84cc16}
.chat-color-12{--staff-accent:#0e7490;--staff-on:#fff;--staff-ink:#155e75;--staff-ink-dark:#16b4df}
.chat-color-13{--staff-accent:#38bdf8;--staff-on:#1a1523;--staff-ink:#0369a1;--staff-ink-dark:#38bdf8}
.chat-color-14{--staff-accent:#4f46e5;--staff-on:#fff;--staff-ink:#4338ca;--staff-ink-dark:#a49ff2}
.chat-color-15{--staff-accent:#7048e8;--staff-on:#fff;--staff-ink:#5b34d6;--staff-ink-dark:#b09af2}
.chat-color-16{--staff-accent:#b0249c;--staff-on:#fff;--staff-ink:#9d1d8c;--staff-ink-dark:#e687d9}
.chat-thread-head[class*="chat-color-"] strong{color:var(--staff-ink)}
/* Workspace turns use the same saved chat palette as direct conversations: the bubble is the colour. */

.message.agent-says[class*="chat-color-"] .message-bubble{background:var(--staff-accent);border-color:transparent;color:var(--staff-on);overflow-wrap:anywhere}
.message.agent-says[class*="chat-color-"] .message-bubble :is(a,.meta,small,strong){color:inherit}
[data-theme=dark] .chat-thread-head[class*="chat-color-"] strong,[data-theme=dark] .message.agent-says[class*="chat-color-"] .message-label{color:inherit}

/* Full notice wording stays readable inside the existing Bell dialog. */
.notice-item {align-items:flex-start; min-width:0}
.notice-item .grow {min-width:0; overflow-wrap:anywhere}
.notice-item strong,.notice-item small,.notice-lines p {white-space:normal; text-overflow:clip; overflow-wrap:anywhere}
.notice-lines {max-height:40vh; overflow:auto; overscroll-behavior:contain; margin-block:12px; padding:2px 6px 2px 2px}
.notice-lines p {margin:0 0 12px}
.notice-action {margin-top:12px; white-space:normal; max-width:100%; min-height:44px}
.notice-lines:focus-visible {outline:2px solid var(--purple,#7929c3); outline-offset:2px}
.notice-task summary {cursor:pointer; list-style:none; display:flex; flex-direction:column; gap:2px}
.notice-task summary::-webkit-details-marker {display:none}
.notice-facts {display:grid; gap:0; margin:12px 0 0}
.notice-facts div {display:grid; grid-template-columns:minmax(88px,34%) minmax(0,1fr); gap:12px; padding:8px 0; border-top:1px solid var(--line,#ececee)}
.notice-facts dt {color:var(--muted,#52525b); margin:0}
.notice-facts dd {margin:0; min-width:0; overflow-wrap:anywhere}
.notice-result {margin:12px 0 0; overflow-wrap:anywhere}
@media (max-width:360px) {.notice-facts div {grid-template-columns:minmax(0,1fr); gap:2px}}
[data-mail-category] button {min-height:44px}
[data-mail-error]:empty {display:none}

.room-notify {display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0;max-width:100%}
.room-notify small {white-space:normal;overflow-wrap:anywhere}
.room-agent-choices {max-height:35vh;overflow:auto;margin-block:12px}
.dialog-body .room-agent-choice {display:flex;align-items:center;gap:12px;min-height:44px;padding:8px;overflow-wrap:anywhere}
.room-agent-choice input {flex-shrink:0;width:20px;height:20px}
.dialog-body .room-agent-choice[hidden],[data-room-choices][hidden] {display:none}
[data-room-preferences] .input {width:100%;margin-block:8px}
[data-room-preferences] button {min-height:44px}

[data-portrait].portrait-neutral {display:grid;place-items:center;width:100%;height:100%;background:var(--soft);color:var(--purple-dark);font-weight:600;border-radius:inherit}
/* No face set: the agent's name (Vinci, R&D 1490), sized by the circle itself (container units, whenever it is laid
   out: painted hidden, it still fits once shown; #620), small enough that its longest word fits whole (--name-chars,
   set where it is painted); two lines at most, and a word is never broken mid-letter at any size. Under 32px (25.6px
   inside the 10% padding) a name cannot be read, so the circle shows the agent's initial instead, as the task page does
   (the audit of 16 October 2026: "Vinc|i", "Harm|ony" in a room's 24px faces). */
[data-portrait].portrait-name{container-type:inline-size;font-size:9px;line-height:1.1;letter-spacing:0;text-transform:none;text-align:center;overflow:hidden;padding:0 10%;box-sizing:border-box}
[data-portrait].portrait-name .portrait-name-text{font-size:clamp(5px,min(22cqw,calc(150cqw / var(--name-chars,6))),18px);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:normal;word-break:normal;hyphens:none;max-width:100%}
@container (width < 25.6px){
 [data-portrait].portrait-name .portrait-name-text{display:block;font-size:0;line-height:1}
 [data-portrait].portrait-name .portrait-name-text::before{content:attr(data-initial);color:var(--purple,#6d28b5);font-weight:700;font-size:clamp(10px,60cqw,14px);line-height:1}
}
/* The face the agent declared, the one it wears at home (0105): its emoji, or its own image, filling the circle. */
[data-portrait].portrait-own-emoji{display:grid;place-items:center;width:100%;height:100%;background:var(--soft);border-radius:inherit;container-type:size}
[data-portrait].portrait-own-emoji .own-face-emoji{font-size:62cqmin;line-height:1}
[data-portrait].portrait-own-image{width:100%;height:100%;border-radius:inherit;overflow:hidden}
[data-portrait].portrait-own-image .own-face-image{display:block;width:100%;height:100%;object-fit:cover}
.chat-newest {align-self:center;justify-self:center;min-height:44px;margin:8px auto;flex-shrink:0}
.chat-newest[hidden] {display:none}

.document-filter {display:flex;align-items:end;gap:12px;margin-block:16px;flex-wrap:wrap}
.document-filter label {display:grid;gap:8px;flex:1;min-width:min(220px,100%)}
.document-filter input {width:100%;min-width:0}
.document-filter button,[data-document-retry] {min-height:44px}
.document-filter[hidden] {display:none}
[data-workspace-documents] .document-row {overflow-wrap:anywhere;min-width:0}
[data-workspace-documents] .grow {min-width:0}
[data-workspace-documents] small {display:block}

.home-week {min-width:0}
.home-week-figures {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:0}
.home-week-figures dt {color:var(--muted);font-size:.875rem;margin-bottom:8px}
.home-week-figures dd {margin:0;font-weight:600;font-size:1.15rem;overflow-wrap:anywhere}
.home-week-figures dd span {display:block}
@media(max-width:600px){.home-week-figures{grid-template-columns:1fr;gap:18px}}

.routine-days {display:flex;flex-wrap:wrap;gap:8px}
.routine-days label {display:flex;align-items:center;gap:8px;padding:8px;min-height:44px}
[data-routine-days] {border:1px solid var(--line);border-radius:10px;padding:12px;min-width:0}
[data-routine-days][hidden],[data-routine-hours][hidden],[data-form="routine-new"] label[hidden] {display:none}
[data-form="routine-new"] button {min-height:44px}

body.chat-panel-modal {overflow:hidden}
.chat-panel-head .icon-button {min-width:44px;min-height:44px}
.chat-panel.sheet {padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}
.chat-panel.sheet [data-panel="max"] {display:none}
.chat-panel.sheet .chat-panel-handle {display:none}


.composer:has(.voice-note-compose) {flex-wrap:wrap}
.composer:has(.voice-note-compose) textarea {min-width:0;flex:1 1 100px}
.voice-note-compose {flex:0 0 100%;min-width:0;border-top:1px solid var(--line);padding-top:8px}
.voice-note-compose p,.voice-note p {overflow-wrap:anywhere}
.voice-transcript-choice {display:flex;align-items:start;gap:8px;font-size:.8125rem;line-height:1.5;margin-top:8px}
.voice-transcript-choice input {min-width:20px;min-height:20px}
.voice-actions {display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
.voice-actions:empty {display:none}
.voice-actions .btn,.voice-note .btn,[data-voice-record] {min-width:44px;min-height:44px}
.voice-note {display:grid;gap:8px;min-width:0}
.voice-note audio {width:100%;min-width:0;max-width:100%}
.voice-note [role=status]:empty {display:none}
.chat-panel .composer {flex-shrink:0}
.composer .voice-transcript-choice input {flex:0 0 20px;width:20px;min-width:20px;min-height:20px;padding:0}
.voice-note-compose .voice-transcript {max-height:min(8rem,20dvh);overflow-y:auto;overscroll-behavior:contain}
.chat-panel .composer:has(.voice-note-compose) {max-height:55dvh;overflow-y:auto;overscroll-behavior:contain}
.chat-panel .chat-panel-log {min-height:0}

#terminal-dialog:has([data-primary-call]) {width:min(680px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow-y:auto}
[data-primary-call] {display:grid;gap:16px;min-width:0;overflow-wrap:anywhere}
[data-primary-call] .btn {min-height:44px}
.call-transcript {max-height:40dvh;overflow-y:auto;overscroll-behavior:contain;display:grid;gap:16px}
.call-transcript article {background:var(--soft);border-radius:12px;padding:12px;min-width:0}
.call-message:empty,.call-transcript:empty,.call-voices:empty {display:none}
@media(max-width:700px){#terminal-dialog:has([data-primary-call]){position:fixed;inset:0;margin:0;width:100%;max-width:none;height:100dvh;max-height:100dvh;border-radius:0;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}}

/* Person pictures remain local blobs and follow the actual account identity. */
.human-photo{display:inline-flex;align-items:center;justify-content:center;flex:none;width:40px;height:40px;border-radius:50%;background:#eee5f5;color:#542178;font-weight:700;overflow:hidden;vertical-align:middle}
.human-photo img{display:block;width:100%;height:100%;object-fit:cover}.human-photo.identity-face{width:80px;height:80px}.human-photo.chat-human-photo{width:24px;height:24px;font-size:11px;margin-inline-end:6px}
.photo-editor{display:grid;gap:16px;min-width:0}.photo-editor label{display:grid;gap:6px}.photo-editor input{max-width:100%;min-width:0}.photo-editor canvas{width:min(100%,300px);height:auto;justify-self:center;border-radius:18px}.photo-editor [hidden]{display:none}.photo-editor .actions{flex-wrap:wrap}.photo-editor input:focus-visible{outline:3px solid #7929c3;outline-offset:3px}

.photo-editor input[type=range]{accent-color:#7929c3}
.photo-editor .photo-camera{display:inline-flex;justify-self:start;align-items:center;min-height:44px;position:relative;overflow:hidden}.photo-editor .photo-camera[hidden]{display:none}.photo-editor .photo-camera input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.photo-editor .photo-camera:focus-within{outline:3px solid #7929c3;outline-offset:3px}

.account-button>span.human-photo{flex:0 0 40px;width:40px;height:40px;min-width:40px}.collapsed .account-button>span.human-photo{display:inline-flex}

/* The chat header (the Founder's walk, 1 October 2026): back and the agent's face and name on the left; one row
   (the Founder, 8 October 2026, ~18:30: "push them up — or better, put three vertical dots"): the three dots at the
   right, and on the side of a wide screen close after them, top right. Nothing drops to a second row. */
.chat-panel-head{display:flex;align-items:center;gap:4px;padding:8px 8px 8px 6px;flex-wrap:nowrap}
.chat-panel-head .grow{display:flex;flex-direction:column;min-width:0;flex:1 1 0;padding-inline-start:4px}
.chat-panel-head .grow strong{display:flex;align-items:center;min-width:0;font-size:1rem;line-height:1.3}
.chat-panel-head .grow strong,.chat-panel-head .grow small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chat-panel-head .grow small{font-size:.75rem}
.chat-panel-face,.chat-face-agent{display:inline-flex;flex:0 0 auto}
.portrait-box.tiny.chat-head-face{width:36px;height:36px;min-width:36px;border-radius:50%}
.portrait-box.chat-head-face>div[data-portrait]{animation:none}
.chat-face-agent .portrait-box.tiny.chat-head-face{width:40px;height:40px;min-width:40px}
.chat-face.chat-face-agent{background:none}
.chat-panel-close .chat-close-x{display:none}
.chat-panel-close>span{display:inline-flex}
.chat-panel-tools{display:flex;align-items:center;gap:0;flex:0 0 auto}
.chat-panel.sheet .chat-side-only{display:none}
.chat-panel:not(.sheet) .chat-panel-close{order:5}
.chat-panel:not(.sheet) .chat-panel-close .chat-close-back{display:none}
.chat-panel:not(.sheet) .chat-panel-close .chat-close-x{display:inline-flex}
.chat-panel:not(.sheet) .chat-panel-tools{order:4}
.chat-panel-head .call-open,.chat-thread-head .call-open{order:3;color:var(--purple)}
.chat-thread-head .call-open{width:44px;height:44px}
.call-open .icon{width:22px;height:22px}
.primary-star.primary-logo{background:#fff;box-shadow:0 0 0 2px #fff,0 1px 3px #24212d33}
.primary-star.primary-logo img{width:78%;height:78%;display:block}
.primary-star.primary-star-inline.primary-logo{box-shadow:none;background:none;width:18px;height:18px;margin-inline-start:6px}
.primary-star.primary-star-inline.primary-logo img{width:100%;height:100%}

/* With the keyboard up the sheet is held over it like every chat (chat-message.css, html.chat-kb). */
/* On a phone the chat is the whole screen, and the page under it is not drawn at all: with the keyboard up, iOS Safari
   lets the page show between the composer and the keyboard while the sheet catches up with the visual viewport (the
   Founder's screenshot, 7 October 2026: the agent's Appearance and Voice rows under Vinci's composer). The ground
   under the sheet is the sheet's own colour, and the page does not scroll beneath it. */
html:has(> body.chat-sheet-open),body.chat-sheet-open{background:#fff;overflow:hidden;overscroll-behavior:none}
html:has(> body.chat-sheet-open[data-theme=dark]),body.chat-sheet-open[data-theme=dark]{background:#1e2028}
body.chat-sheet-open > #terminal{visibility:hidden}

/* Send: a small round button with an arrow pointing up, in every composer. The row keeps its marks
   on the bottom line while the text grows upward. */
.composer > button[type=submit],.composer > button.btn.primary,.team-composer > button[type=submit]{flex:0 0 36px;width:36px;height:36px;min-width:36px;min-height:36px;padding:0;border-radius:50%;display:inline-grid;place-items:center;align-self:flex-end;position:relative}
.composer > button[type=submit]::after,.composer > button.btn.primary::after,.team-composer > button[type=submit]::after{content:"";position:absolute;inset:-4px}
.composer > button[type=submit] .icon,.composer > button.btn.primary .icon,.team-composer > button[type=submit] .icon{width:18px;height:18px;stroke-width:2.4}
.composer .mic{align-self:flex-end}
.composer{align-items:flex-end}
.voice-note-compose [role=status]:empty{display:none}
.composer:not(.voice-live) .voice-note-compose:not(:has(p:not(:empty))){display:none}
/* While a recording exists the composer row is the recorder (3 October 2026, the Founder: "look at GPT interface and kind of copy it"). */
.composer.voice-live>textarea,.composer.voice-live>.mic,.composer.voice-live>button[type=submit]{display:none}
.composer.voice-live .voice-note-compose{border-top:0;padding-top:0}
.voice-bar{display:flex;align-items:center;gap:8px;min-width:0}
.voice-bar [role=status]{flex:1;min-width:0;font-variant-numeric:tabular-nums}
.voice-bar .icon-button{min-width:44px;min-height:44px}
.voice-bar .voice-stop{border:1px solid var(--line);border-radius:50%}
/* Send the same size as the composer's own Send (the Founder, 10 October 2026: it grew when a voice note began). */
.voice-bar .voice-send{flex:0 0 36px;width:36px;height:36px;min-width:36px;min-height:36px;padding:0;border-radius:50%;display:inline-grid;place-items:center;position:relative}
.voice-bar .voice-send::after{content:"";position:absolute;inset:-4px}
.voice-bar .voice-send .icon{width:18px;height:18px;stroke-width:2.4}
.voice-dot{width:10px;height:10px;border-radius:50%;background:var(--red);flex-shrink:0;animation:dot-pulse 1.3s infinite}
/* A recording away from its conversation (voice-notes.js): one small pill on every page, back to it or stop. */
.voice-pill{position:fixed;z-index:120;left:50%;translate:-50% 0;bottom:calc(92px + env(safe-area-inset-bottom));display:inline-flex;align-items:center;gap:2px;height:44px;padding:4px;border-radius:999px;background:#1b1825;color:#fff;box-shadow:0 4px 16px #1b182540;max-width:calc(100vw - 32px)}
@media(min-width:900px){.voice-pill{bottom:24px;left:calc(50% + var(--sidebar)/2)}}
[data-theme=dark] .voice-pill{background:#000;box-shadow:inset 0 0 0 1px #3a3548}
.voice-pill-back{display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 12px 0 10px;border-radius:999px;color:#fff;font-variant-numeric:tabular-nums;font-weight:600;font-size:.875rem}
.voice-pill-dot{width:10px;height:10px;border-radius:50%;background:#ff4d6d;flex-shrink:0;animation:dot-pulse 1.3s infinite}
.voice-pill-stop{width:36px;height:36px;border-radius:50%;display:inline-grid;place-items:center;background:#ffffff1f;color:#fff}
.voice-pill-stop .icon{width:18px;height:18px}
.voice-pill-back{min-width:0}
.voice-pill-note{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400;font-size:.8125rem;opacity:.85}
/* Said in the wave's place for a while, inside the bar: never a row of its own (the Founder, 17 October 2026: the chat jumped). */
.voice-bar .voice-away{flex:1 1 auto;min-width:0;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.8125rem}
.voice-bar:has(.voice-away) .voice-wave{display:none}
.privacy-mic-note{border-radius:10px;background:var(--soft);padding:14px 16px;display:grid;gap:8px}

/* Calling the Primary: the voice is the main choice, then the key, the voice list, Confirm and Start. */
.call-setup{display:grid;gap:14px;min-width:0}
.call-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:10px}
.call-option{display:grid;gap:4px;text-align:start;padding:14px 16px;border:1px solid var(--line);border-radius:14px;background:#fff;color:inherit;min-height:44px;cursor:pointer}
.call-option strong{font-size:1rem}
.call-option span{color:var(--muted);font-size:.85rem;line-height:1.4}
.call-option[aria-checked="true"]{border-color:var(--purple);box-shadow:0 0 0 1px var(--purple);background:var(--soft)}
.call-option:focus-visible,.call-provider:focus-visible{outline:3px solid #7929c3;outline-offset:2px}
.call-providers{display:flex;flex-wrap:wrap;gap:8px}
.call-provider{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:8px 14px;border:1px solid var(--line);border-radius:999px;font-weight:600}
.call-provider[aria-checked="true"]{border-color:var(--purple)}
.call-provider-mark{width:20px;height:20px;fill:currentColor}
.call-key-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end}
.call-key-form label{display:grid;gap:6px;min-width:0}
.call-key-form input{min-width:0;width:100%;min-height:44px;border:1px solid var(--line);border-radius:10px;padding:8px 12px;font:inherit}
.call-key summary{cursor:pointer;min-height:44px;padding-block:10px}
.call-key[open] summary{margin-bottom:8px}
.call-heading{font-size:.95rem;margin:4px 0 0}
.call-voices{display:grid;gap:10px}
.call-voice,.call-controls,.call-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.call-voice .btn[aria-pressed="true"]{border-color:var(--purple);background:var(--soft)}
.call-reason{color:var(--muted)}
.call-start{justify-self:stretch;gap:10px;font-size:1rem;min-height:48px!important;border-radius:999px}
.call-start .icon{width:20px;height:20px}
/* Home: the phone sits in the Primary card's top row, beside its expand mark. */
.card.has-call{position:relative}
.card.has-call > .call-open{position:absolute;top:calc(var(--card-pad,18px) - 10px);inset-inline-end:calc(var(--card-pad,18px) + 26px);color:var(--purple);width:44px;height:44px}
@media(min-width:701px){.card.has-call{--card-pad:22px}}
[data-home-details] [data-primary-chat].has-call .agent-summary>.grow{padding-inline-end:64px}
.call-saved{justify-content:space-between}
/* The person's emoji, beside their picture (H06): chosen with one press, or typed. */
.emoji-face{display:grid;gap:10px;margin-top:20px;padding-top:16px;border-top:1px solid var(--line);min-width:0}
.emoji-face h3{margin:0;font-size:1rem}.emoji-face p{margin:0}.emoji-face label{display:grid;gap:6px}.emoji-face [hidden]{display:none}
.emoji-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(44px,1fr));gap:6px}
.emoji-choice{min-width:44px;min-height:44px;font-size:1.4rem;line-height:1;border:1px solid var(--line);border-radius:12px;background:#fff;display:grid;place-items:center}
.emoji-choice[aria-checked="true"]{border-color:var(--purple);box-shadow:0 0 0 1px var(--purple);background:var(--soft)}
.emoji-choice:focus-visible{outline:3px solid #7929c3;outline-offset:2px}
.emoji-face .actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
.emoji-face .btn{min-height:44px}
/* The person's emoji face drawn from their photo (B05b): asked for with consent, drawn, then used or not. */
.emoji-made{display:grid;gap:10px;margin-top:20px;padding-top:16px;border-top:1px solid var(--line);min-width:0}
.emoji-made[hidden]{display:none}.emoji-made h3{margin:0;font-size:1rem}.emoji-made p{margin:0;overflow-wrap:anywhere}
[data-face-body]{display:grid;gap:10px;min-width:0}
.emoji-made .actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.emoji-made .btn{min-height:44px}
.dialog-body .emoji-made-agree{display:flex;gap:10px;align-items:center;font-size:.95rem;font-weight:500;line-height:1.45;padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--soft)}
.emoji-made-agree input{width:22px;height:22px;flex:none;margin:0;accent-color:#7929c3}
.emoji-made-face{display:block;width:min(100%,160px);height:auto;aspect-ratio:1;object-fit:cover;justify-self:center;border-radius:50%;background:#eee5f5}
.emoji-made-drawing{display:flex;gap:12px;align-items:center;padding:14px;border-radius:12px;background:var(--soft)}
.emoji-made-drawing p{margin:2px 0 0}
.emoji-made-spinner{width:28px;height:28px;flex:none;border-radius:50%;border:3px solid #e2d4ef;border-top-color:#7929c3;animation:emoji-made-turn .9s linear infinite}
@keyframes emoji-made-turn{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.emoji-made-spinner{animation:none;border-top-color:#e2d4ef;border-inline-end-color:#7929c3}}

/* The voice picker (the Founder, 2 Oct): one field that opens a list laid out as ElevenLabs lists voices; one tap chooses. */
.voice-picker{display:grid;gap:8px}
.vp-current{display:flex;align-items:center;gap:12px;width:100%;min-height:60px;padding:10px 14px;border:1px solid var(--line);border-radius:12px;background:#fff;color:inherit;font:inherit;text-align:start;cursor:pointer}
.vp-current>svg{margin-inline-start:auto;flex:none;width:18px;height:18px;color:var(--muted)}
.vp-current[aria-expanded="true"]>svg{transform:rotate(180deg)}
.vp-current:focus-visible,.vp-pick:focus-visible,.vp-play:focus-visible{outline:3px solid #7929c3;outline-offset:2px}
.vp-list{list-style:none;margin:0;padding:4px;display:grid;gap:2px;max-height:min(56vh,420px);overflow-y:auto;border:1px solid var(--line);border-radius:12px;background:#fff;overscroll-behavior:contain}
.vp-row{display:flex;align-items:center;gap:6px;border-radius:10px}
.vp-row[aria-selected="true"]{background:var(--soft)}
.vp-pick{display:flex;align-items:center;gap:12px;flex:1;min-width:0;min-height:56px;padding:8px 10px;border:0;border-radius:10px;background:transparent;color:inherit;font:inherit;text-align:start;cursor:pointer}
.vp-pick:hover{background:var(--soft)}
.vp-pick>svg{flex:none;width:18px;height:18px;color:var(--purple)}
.vp-face{flex:none;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--soft);color:var(--purple);font-weight:700}
.vp-text{display:grid;gap:2px;min-width:0}
.vp-text strong{font-size:.98rem}
.vp-text small{color:var(--muted);font-size:.8rem;line-height:1.35;overflow-wrap:anywhere}
.vp-about{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
.vp-play{flex:none;display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--line);border-radius:50%;background:#fff;color:inherit;cursor:pointer}
.vp-play svg{width:16px;height:16px}
.call-key-note{margin:0 0 6px;color:var(--muted);font-size:.85rem;line-height:1.45}
/* The call floats like a phone call (the Founder, 2 Oct; Harmony's call screen): black, rounded, at the top over
   the Terminal, the face, the name, Calling… then the time; speaker, hang-up, mute; full screen and back. */
.call-floater{position:fixed;z-index:1000;top:calc(env(safe-area-inset-top,0px) + 8px);inset-inline-start:8px;inset-inline-end:8px;display:flex;justify-content:center;pointer-events:none}
.call-floater-card{pointer-events:auto;position:relative;box-sizing:border-box;width:min(100%,460px);background:#000;color:#fff;border-radius:34px;padding:18px 20px 20px;display:grid;justify-items:center;gap:6px;box-shadow:0 18px 50px rgba(0,0,0,.35)}
.call-floater-face{position:relative;z-index:0;display:block;width:84px;height:84px;pointer-events:none;overflow:visible}
.call-floater .call-floater-face{width:84px;height:84px;flex:none}
.call-floater [data-portrait].call-floater-face.portrait-neutral{width:84px;height:84px;border-radius:50%;background:#2a2430;color:#fff;font-size:34px;font-weight:700}
.call-floater.full [data-portrait].call-floater-face.portrait-neutral{width:168px;height:168px;font-size:64px}
.call-floater [data-portrait].call-floater-face.portrait-name{font-size:var(--name-size,14px);font-weight:600}
.call-floater-name{font-size:20px;font-weight:700;line-height:1.2;text-align:center;overflow-wrap:anywhere}
.call-floater-status{font-size:16px;line-height:1.3;color:rgba(255,255,255,.86);font-variant-numeric:tabular-nums;min-height:21px;text-align:center}
.call-floater-buttons{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;width:100%;margin-top:12px}
.call-round{height:56px;border-radius:999px;border:1px solid rgba(255,255,255,.16);background:#151515;color:#fff;display:grid;place-items:center;cursor:pointer;padding:0}
.call-round[aria-pressed="true"]{background:#fff;color:#000;border-color:#fff}
.call-round:disabled{opacity:.45;cursor:default}
.call-round.call-hangup{background:#e5352b;border-color:#e5352b;color:#fff}
.call-round:focus-visible,.call-floater-size:focus-visible{outline:3px solid #b892ef;outline-offset:3px}
.call-floater-size{position:absolute;z-index:2;top:14px;inset-inline-end:14px;width:44px;height:44px;border-radius:999px;background:#151515;border:1px solid rgba(255,255,255,.16);color:#fff;display:grid;place-items:center;cursor:pointer;padding:0}
/* Minimized, the call is a bubble out of the way (the Founder, 3 Oct): the face, the time and the red button.
   Tapping the face or the time opens it full screen again; mute and speaker live there. */
.call-floater:not(.full){inset-inline-start:auto;inset-inline-end:10px;justify-content:flex-end}
.call-floater:not(.full) .call-floater-card{width:auto;display:flex;align-items:center;gap:10px;padding:6px 6px 6px 6px;border-radius:999px}
.call-floater:not(.full) .call-floater .call-floater-face,.call-floater:not(.full) .call-floater-face,.call-floater:not(.full) [data-portrait].call-floater-face.portrait-neutral{width:40px;height:40px;font-size:17px}
.call-floater:not(.full) .call-floater-name{display:none}
.call-floater:not(.full) .call-floater-status{font-size:14px;min-height:0;white-space:nowrap;max-width:46vw;overflow:hidden;text-overflow:ellipsis}
.call-floater:not(.full) .call-floater-buttons{display:flex;width:auto;margin:0;gap:0}
.call-floater:not(.full) .call-round:not(.call-hangup){display:none}
.call-floater:not(.full) .call-hangup{position:relative;z-index:3;width:44px;height:44px;min-height:44px;padding:0;border-radius:999px}
.call-floater:not(.full) .call-floater-size{inset:0;width:auto;height:auto;top:0;inset-inline-end:0;border:0;background:transparent;border-radius:999px;z-index:2}
.call-floater:not(.full) .call-floater-size svg{display:none}
.call-floater.full{inset:0}
.call-floater.full .call-floater-card{width:100%;max-width:none;height:100%;border-radius:0;display:flex;flex-direction:column;align-items:center;gap:10px;padding:calc(env(safe-area-inset-top,0px) + 64px) 28px calc(env(safe-area-inset-bottom,0px) + 40px)}
.call-floater.full .call-floater-face{margin-top:auto}
.call-floater.full .call-floater-face{width:168px;height:168px}
.call-floater.full .call-floater-name{font-size:28px}
.call-floater.full .call-floater-buttons{max-width:360px;margin-top:auto}
.call-floater.full .call-floater-size{top:calc(env(safe-area-inset-top,0px) + 14px)}
/* The agent designer on the agent's own page (the Founder, 2 Oct): the same designer, over the Terminal. */
.look-designer{position:fixed;inset:0;z-index:900;display:flex;flex-direction:column;background:var(--surface,#fff);color:var(--ink,#24212d)}
.look-designer-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:calc(env(safe-area-inset-top,0px) + 10px) 16px 10px;border-bottom:1px solid var(--line,#e7e3ec)}
.look-designer-head strong{font-size:17px;min-width:0;overflow-wrap:anywhere}
.look-designer-head .icon-button{width:44px;height:44px;font-size:26px;line-height:1}
.look-designer iframe{flex:1;width:100%;border:0;opacity:0;transition:opacity .15s}
.look-designer.ready iframe{opacity:1}
/* The way back (the Founder, 4 October 2026, 00:10 Israel time): "← Agents", a small text link on its own line above
   the heading, a thumb tall, so the heading and the face under it keep the page's left edge. */
.page-back-line{display:flex;margin:-10px 0 4px}
.page-back{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 6px 0 0;color:var(--purple);font-weight:600;font-size:.95rem;line-height:1.2;text-decoration:none;max-width:100%;overflow-wrap:anywhere}
.page-back:hover{color:var(--purple-dark);text-decoration:underline}
.page-back:focus-visible{outline:3px solid #b987ef;outline-offset:2px;border-radius:6px}
.page-back-arrow{font-size:1.15em;line-height:1}
/* The chat colour on one bar (the Founder, 14 October 2026: "Instead of colours as circles, a colour bar you drag from
   right to left and it lands wherever you want"; 16 October 2026: one colour row only, greys and light tones in the same
   bar, Apply in that row and nothing else). The bar's gradient is drawn by terminal-chat-colors.js `barGradient`, the same
   colours its positions save: black to near-white, the light tints, the mid-tones. The thumb is filled with the colour it
   is on, ringed in the sheet's ground and a dark hairline so it shows on black and on white alike, and sits wholly inside
   the bar at either end. Above it, the chat as it will look. In a right-to-left language the bar runs the other way. */
.chat-hue{display:grid;gap:18px;width:100%;min-width:0}
.chat-hue-preview.team-chat{display:flex;flex-direction:column;gap:6px;align-items:flex-start;justify-content:flex-start;flex:none;width:100%;height:auto;min-height:0;max-height:none;overflow:visible;padding:14px 16px;border-radius:14px;box-shadow:0 0 0 1px var(--line)}
.chat-hue-name{font-size:.8125rem;font-weight:600;color:var(--muted);margin-inline-start:4px}

.chat-hue-bubble{display:inline-block;max-width:82%;padding:9px 16px;border-radius:4px 18px 18px 18px;background:var(--staff-accent);color:var(--staff-on);line-height:1.4}
.chat-hue-bubble.mine{align-self:flex-end;border-radius:18px 4px 18px 18px;background:var(--soft,#f2ecfa);color:#24212d}
.chat-hue-pick{display:flex;align-items:center;gap:12px;min-width:0}
.chat-hue-track{--hue-at:0;--hue-now:#7929c3;--thumb:34px;position:relative;flex:1;min-width:0;height:40px;border-radius:20px;cursor:pointer;touch-action:none;outline:none;box-shadow:inset 0 0 0 1px rgba(0,0,0,.12);background:#808080}
.chat-hue-thumb{position:absolute;top:50%;inset-inline-start:calc(var(--thumb) / 2 + (100% - var(--thumb)) * var(--hue-at));width:var(--thumb);height:var(--thumb);margin-inline-start:calc(var(--thumb) / -2);box-sizing:border-box;transform:translateY(-50%);border-radius:50%;background:var(--hue-now);border:4px solid var(--surface,#fff);box-shadow:0 0 0 1px rgba(0,0,0,.45),0 2px 6px rgba(0,0,0,.3);pointer-events:none}
.chat-hue-track:focus-visible .chat-hue-thumb{box-shadow:0 0 0 2px rgba(0,0,0,.75),0 0 0 4px rgba(255,255,255,.9),0 2px 6px rgba(0,0,0,.3)}
.chat-hue-pick .btn{flex:none;width:auto;min-height:44px;margin:0}
[data-agent-sheet=colour],[data-agent-sheet=colour]:focus,.chat-hue:focus{outline:none}
/* An agent's card in the Inbox, with room between its parts (the Founder, 3 October 2026: "a whole mess… no
   spaces"): one column the width of the page; each fact a label over its words. */
.ask-detail{display:flex;flex-direction:column;gap:20px}
.ask-detail>.card{margin:0;padding:24px}
.ask-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.ask-card h2{font-size:1.2rem;line-height:1.4;margin:0 0 20px}
.ask-facts{display:grid;gap:16px;margin:0}
.ask-facts>div{display:grid;gap:4px}
.ask-facts dt{color:var(--muted);font-size:.85rem}
.ask-facts dd{margin:0;line-height:1.55;overflow-wrap:anywhere}
.ask-links{margin-top:20px;display:flex;flex-wrap:wrap;gap:10px}
.ask-links .btn,.ask-answer .btn{min-height:44px}
.ask-answer h2{font-size:1.05rem;margin:0 0 16px}
.ask-options{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:20px}
.ask-own-words{display:grid;gap:12px}
.ask-own-words label{display:grid;gap:8px}
.ask-own-words textarea{min-height:96px}
.ask-detail>.approval-actions{margin:0}
