/* Chat tab, AI Elements style: assistant text on the page, user bubbles, a collapsible chain of thought,
   a prompt box with a toolbar. Dark, calm, one accent (the brand gradient). */
.chat{background:linear-gradient(180deg,rgba(8,8,14,.28),rgba(8,8,14,.12) 40%,rgba(8,8,14,.34));--c-line:rgba(255,255,255,.16);--c-sub:rgba(255,255,255,.66);--c-text:#fff}

/* header: a solid bar, never floating over messages */
.chat-head{position:absolute;top:0;left:0;right:0;z-index:5;padding:calc(var(--top) + 6px) 16px 10px;display:flex;align-items:center;background:linear-gradient(to bottom,rgba(10,10,16,.42),rgba(10,10,16,0));border-bottom:1px solid transparent;transition:background .3s}
.chat.scrolled .chat-head{background:linear-gradient(to bottom,rgba(10,10,16,.55),rgba(10,10,16,.1));backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.ch-who{display:flex;align-items:center;gap:11px;min-width:0;padding:4px 10px 4px 4px;margin-left:-4px}
.ch-who .brand-mark{width:34px;height:34px;border-radius:11px;box-shadow:0 6px 16px -6px rgba(0,0,0,.4)}
.ch-txt{display:flex;flex-direction:column;align-items:flex-start;line-height:1.15;min-width:0}
.ch-txt b{font-family:var(--f-display);font-weight:400;font-style:italic;font-size:22px;letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.ch-sub{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--c-sub);max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ch-about{display:block}
/* the title opens the chats list */
.ch-title{position:relative;display:flex;align-items:center;gap:4px;max-width:calc(100cqw - 150px);border-radius:10px;transition:opacity .2s}
.ch-title:active{opacity:.7}
.ch-title .i{width:16px;height:16px;opacity:.75;transition:transform .3s var(--ease)}
.ch-title[aria-expanded="true"] .i{transform:rotate(180deg)}
.ch-dot{flex:none;width:8px;height:8px;border-radius:50%;background:#ff5a6e;box-shadow:0 0 0 2px rgba(10,10,16,.5);animation:pop .4s var(--spring)}
.ch-back{flex:none;width:38px;height:38px;margin-right:-2px;color:#fff;background:rgba(255,255,255,.14);box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)}
.ch-back .i{width:20px;height:20px}
.ch-back:active{transform:scale(.92)}
.ch-txt .sdot{width:7px;height:7px}

/* list */
.chat-list{position:absolute;inset:0;overflow-y:auto;overflow-x:hidden;padding:calc(var(--top) + 76px) 18px calc(var(--above-nav) + 120px);display:flex;flex-direction:column;gap:18px;scrollbar-width:none;overscroll-behavior:contain}
.chat-list::-webkit-scrollbar{display:none}
.app[data-tab="chat"]:has(#chat-input:focus) .chat-list{padding-bottom:calc(max(var(--sab), 8px) + 130px)}
.chat-list>*{flex:none}
.chat-list>:first-child{margin-top:auto}
.chat-more{display:flex;justify-content:center}
.m-time{align-self:center;font-size:11.5px;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.6);margin:6px 0 -4px;font-variant-numeric:tabular-nums}

/* messages */
.cm{display:flex;gap:12px;max-width:100%;min-width:0}
.cm.pop{animation:cmIn .4s var(--ease) backwards}
@keyframes cmIn{from{opacity:0;transform:translateY(10px)}}
.cm.user{flex-direction:column;align-items:flex-end;align-self:flex-end;max-width:84%}
.cm.cont{margin-top:-8px}
.cm-bubble{padding:10px 15px;border-radius:20px;border-bottom-right-radius:6px;background:var(--frost);color:var(--frost-ink);backdrop-filter:blur(20px) saturate(1.3);-webkit-backdrop-filter:blur(20px) saturate(1.3);box-shadow:inset 0 0 0 1px rgba(255,255,255,.5);font-size:15.5px;line-height:1.45;overflow-wrap:anywhere;user-select:text;-webkit-user-select:text}
.cm.user.cont .cm-bubble{border-top-right-radius:6px}
.cm.pending .cm-bubble{opacity:.55}
.cm.failed .cm-bubble{box-shadow:inset 0 0 0 1.5px #ff6b5b}
.m-retry{font-size:12.5px;color:#ff8b7e;padding:4px 2px 0}
.cm.ai{align-self:stretch}
.cm-av{flex:none;width:26px;height:26px;border-radius:9px;margin-top:1px;box-shadow:0 4px 12px -4px rgba(0,0,0,.4)}
.cm.ai.cont .cm-av{visibility:hidden}
.cm-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:10px}
.cm-text{color:var(--c-text);font-size:16.5px;line-height:1.55;text-shadow:0 1px 12px rgba(0,0,0,.18);letter-spacing:-.003em;overflow-wrap:anywhere;user-select:text;-webkit-user-select:text}
.cm-text p,.cm-bubble p{margin:0}
.cm-text p+p,.cm-text p+ul,.cm-text p+ol,.cm-text ul+p,.cm-text ol+p{margin-top:10px}
.cm-text ul,.cm-text ol{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:4px}
.cm-text li::marker{color:rgba(255,255,255,.55)}
.cm-text b{font-weight:600;color:#fff}
.cm-text code,.cm-bubble code{font-family:var(--f-mono);font-size:.86em;padding:1px 6px;border-radius:6px;background:rgba(255,255,255,.14)}
.cm-bubble code{background:rgba(31,26,36,.07)}
.cm-text a,.cm-bubble a{color:inherit;text-decoration:none;border-bottom:1px solid currentColor}

/* chain of thought */
.rsn{display:flex;flex-direction:column;gap:8px}
.rsn-head{align-self:flex-start;display:flex;align-items:center;gap:8px;max-width:100%;font-size:13.5px;color:var(--c-sub);padding:2px 0;text-align:left}
.rsn-head>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rsn-head em{font-style:normal;opacity:.6}
.rsn-head .i{width:15px;height:15px;flex:none}
.rsn-chev{width:14px!important;height:14px!important;transition:transform .25s var(--ease)}
.rsn.open .rsn-chev{transform:rotate(90deg)}
.rsn.live .rsn-head{font-size:14.5px}
.rsn-spin{flex:none;width:14px;height:14px;border-radius:50%;border:1.6px solid rgba(255,255,255,.22);border-top-color:#fff;animation:spin .9s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.shimmer{background:linear-gradient(90deg,rgba(255,255,255,.55) 0%,rgba(255,255,255,.55) 35%,#fff 50%,rgba(255,255,255,.55) 65%,rgba(255,255,255,.55) 100%);background-size:250% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:shim 2.2s linear infinite}
@keyframes shim{from{background-position:100% 0}to{background-position:-150% 0}}
.cot{list-style:none;margin:0 0 2px;padding:0;display:flex;flex-direction:column;animation:cmIn .3s var(--ease)}
.cot li{position:relative;display:flex;gap:10px;padding:0 0 12px;font-size:13.5px;line-height:1.4;color:rgba(255,255,255,.78)}
.cot li:last-child{padding-bottom:0}
.cot li::before{content:"";position:absolute;left:7.5px;top:20px;bottom:2px;width:1px;background:var(--c-line)}
.cot li:last-child::before{display:none}
.cot .i{flex:none;width:16px;height:16px;margin-top:1px;color:rgba(255,255,255,.55)}
.cot li>span{min-width:0;display:flex;flex-direction:column;gap:5px}
.cot code{display:block;font-family:var(--f-mono);font-size:11.5px;line-height:1.45;color:rgba(255,255,255,.75);background:rgba(10,10,16,.28);border:1px solid var(--c-line);border-radius:8px;padding:6px 8px;white-space:pre-wrap;overflow-wrap:anywhere}
.cot li.now{color:#fff}
.cot li.now .i{color:#fff}

/* attachments */
.m-app{display:flex;align-items:center;gap:14px;width:100%;max-width:320px;padding:8px 14px 8px 8px;border-radius:22px;background:var(--frost);color:var(--frost-ink);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);box-shadow:inset 0 0 0 1px rgba(255,255,255,.5);text-align:left;transition:transform .2s var(--spring),background .2s}
.m-app:active{transform:scale(.98)}
.m-app-thumb{flex:none;display:block;overflow:hidden;width:72px;height:72px;border-radius:18px;display:grid;place-items:center;font-size:30px;background:#26262e}
.m-app-thumb:has(.atile){display:block}
.m-app-thumb .atile{transform:scale(.7826);transform-origin:top left}
.m-app-txt{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.m-app-txt small{font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;color:#7a7282}
.m-app-txt b{font-family:var(--f-display);font-weight:400;font-size:19px;color:var(--frost-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.m-app-txt em{font-style:normal;font-size:13px;color:#7a7282;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.m-app svg{width:16px;height:16px;color:#9a92a2}
.m-app.gone{opacity:.5}
.m-cards{display:flex;gap:8px;overflow-x:auto;margin-right:-18px;padding-right:18px;scrollbar-width:none}
.m-cards::-webkit-scrollbar{display:none}
.m-card{flex:none;width:170px;min-height:100px;padding:12px 13px;border-radius:18px;display:flex;flex-direction:column;justify-content:space-between;gap:8px;text-align:left;color:var(--ink);background:radial-gradient(120% 70% at 85% 0%,color-mix(in srgb,var(--glow) 30%,transparent),transparent 70%),linear-gradient(160deg,var(--c2),var(--c1));transition:transform .2s var(--spring)}
.m-card:active{transform:scale(.96)}
.m-card-k{font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;opacity:.75;font-weight:550}
.m-card b{font-family:var(--f-display);font-weight:400;font-size:18px;line-height:1.12;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}

/* empty state */
.chat-empty{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:0 4px 8px}
.chat-empty .brand-mark{width:44px;height:44px;border-radius:14px;margin-bottom:6px}
.chat-empty b{font-family:var(--f-display);font-weight:400;font-size:30px;line-height:1.1;color:#fff;letter-spacing:-.015em}
.chat-empty p{margin:0;font-size:15px;line-height:1.5;color:var(--c-sub);max-width:32ch}
.sugg{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.sugg button{padding:9px 14px;border-radius:99px;font-size:14px;color:#fff;background:rgba(255,255,255,.16);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);box-shadow:inset 0 0 0 1px rgba(255,255,255,.2);transition:background .2s,transform .2s var(--spring)}
.sugg button:active{transform:scale(.96);background:rgba(255,255,255,.24)}

/* prompt input */
.composer{position:absolute;left:12px;right:12px;bottom:var(--above-nav);z-index:6;display:flex;flex-direction:column;gap:2px;padding:12px 10px 8px 16px;border-radius:26px;background:rgba(255,248,244,.86);color:#2b2430;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);border:1px solid rgba(255,255,255,.6);box-shadow:0 10px 30px rgba(0,0,0,.18);transition:bottom .45s var(--ease),left .55s var(--spring),border-color .2s}
.composer:focus-within{box-shadow:0 10px 30px rgba(0,0,0,.18),0 0 0 2px #b9a3ff}
.app[data-tab="chat"]:has(#chat-input:focus) .composer{bottom:calc(max(var(--sab), 8px) + 6px)}
.composer textarea{width:100%;scrollbar-width:none;overflow-y:auto;border:0;background:none;resize:none;font:inherit;font-size:16px;line-height:1.45;color:#2b2430;outline:none;padding:0 4px 4px 0;max-height:140px;height:24px}
.composer textarea::placeholder{color:#8a8190}
.cp-bar{display:flex;align-items:center;justify-content:space-between;gap:8px}
.cp-hint{font-size:12px;color:#8a8190;display:flex;align-items:center;gap:6px}
.cp-send{flex:none;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#1f1a24;color:#fff;transition:opacity .2s,transform .2s var(--spring)}
.cp-send .i{width:18px;height:18px;stroke-width:2.2}
.cp-send:disabled{opacity:.25}
.cp-send:not(:disabled):active{transform:scale(.9)}
@media (prefers-reduced-motion:reduce){.shimmer,.rsn-spin{animation:none}.shimmer{color:#cfcbd8;background:none}}

/* Chat opens as a full-screen sheet over Home. */
#v-chat{z-index:70}
#v-chat.hidden{transform:translateY(100%)!important}
.chat-head{justify-content:space-between}
.ch-close{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;color:#fff;background:rgba(255,255,255,.14);box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)}
.ch-close .i{width:20px;height:20px}
.ch-close:active{transform:scale(.92)}
.chat-list{padding-bottom:calc(max(var(--sab), 8px) + 130px)!important}
.composer{bottom:calc(max(var(--sab), 8px) + 6px)!important}

/* attachments: the + in the prompt toolbar, the tray above the input, files in the thread, the full-screen viewer */
.cp-add{flex:none;width:34px;height:34px;margin-left:-6px;border-radius:50%;display:grid;place-items:center;color:#2b2430;background:rgba(31,26,36,.07);cursor:pointer;transition:background .2s,transform .2s var(--spring);-webkit-tap-highlight-color:transparent}
.cp-add .i{width:19px;height:19px;stroke-width:2.1}
.cp-add:active{transform:scale(.9);background:rgba(31,26,36,.12)}
.cp-add:focus-visible{outline:2px solid #b9a3ff;outline-offset:2px}
.cp-file{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none;overflow:hidden}
.cp-hint{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.composer.dropping{box-shadow:0 10px 30px rgba(0,0,0,.18),0 0 0 2px #b9a3ff;background:rgba(255,248,244,.95)}
.cp-tray{display:flex;gap:8px;overflow-x:auto;margin:-2px -4px 8px -6px;padding:2px 4px 2px 0;scrollbar-width:none}
.cp-tray::-webkit-scrollbar{display:none}
.cp-tray[hidden]{display:none}
.tr-it{position:relative;flex:none;border-radius:14px;overflow:hidden;background:rgba(31,26,36,.07);box-shadow:inset 0 0 0 1px rgba(31,26,36,.08);animation:cmIn .3s var(--ease) backwards}
.tr-img{width:64px;height:64px}
.tr-img img{width:100%;height:100%;object-fit:cover;display:block}
.tr-img:not(.done) img{opacity:.6}
.tr-file{display:flex;align-items:center;gap:8px;max-width:172px;height:64px;padding:0 30px 0 8px}
.tr-ic{flex:none;width:34px;height:40px;border-radius:8px;display:grid;place-items:center;font-size:10px;font-weight:650;letter-spacing:.04em;color:#fff;background:#6b4f86}
.tr-txt{min-width:0;display:flex;flex-direction:column;gap:1px;text-align:left}
.tr-txt b{font-size:13px;font-weight:550;color:#2b2430;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tr-txt small{font-size:11.5px;color:#7a7282;white-space:nowrap;font-variant-numeric:tabular-nums}
.tr-prog{position:absolute;left:0;bottom:0;height:3px;width:calc(var(--p,0) * 100%);background:#6b4f86;transition:width .2s linear}
.tr-it.done .tr-prog{opacity:0;transition:opacity .4s .2s}
.tr-it.err{box-shadow:inset 0 0 0 1.5px #ff6b5b}
.tr-it.err .tr-prog{display:none}
.tr-it.err small{color:#d9483a}
.tr-bang{position:absolute;inset:0;display:grid;place-items:center;font-weight:700;font-size:20px;color:#fff;background:rgba(217,72,58,.55)}
.tr-x{position:absolute;top:3px;right:3px;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;color:#fff;background:rgba(20,16,24,.62);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.tr-x .i{width:12px;height:12px;stroke-width:2.6}
.tr-x::after{content:"";position:absolute;inset:-8px}
.tr-file .tr-x{top:50%;margin-top:-11px;right:5px}

.m-atts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;width:min(260px,100%);margin-bottom:6px}
.m-atts.one{grid-template-columns:1fr;width:min(240px,100%)}
.m-att-img{display:block;position:relative;aspect-ratio:1;border-radius:16px;overflow:hidden;background:rgba(255,255,255,.14);box-shadow:inset 0 0 0 1px rgba(255,255,255,.2);transition:transform .2s var(--spring)}
.m-atts.one .m-att-img{aspect-ratio:4/3}
.m-atts:not(.one) .m-att-img:last-child:nth-child(odd){grid-column:span 2;aspect-ratio:2/1}
.m-att-img img{width:100%;height:100%;object-fit:cover;display:block}
.m-att-img img:not([src]){visibility:hidden}
.m-att-img.loading::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 30%,rgba(255,255,255,.18) 50%,transparent 70%);background-size:250% 100%;animation:shim 1.6s linear infinite}
.m-att-img.gone{opacity:.45}
.m-att-img:active{transform:scale(.97)}
.m-files{display:flex;flex-direction:column;align-items:flex-end;gap:6px;margin-bottom:6px;max-width:100%}
.m-att-file{display:flex;align-items:center;gap:10px;max-width:100%;min-width:0;padding:8px 14px 8px 8px;border-radius:16px;background:var(--frost);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);box-shadow:inset 0 0 0 1px rgba(255,255,255,.5);transition:transform .2s var(--spring)}
.m-att-file:active{transform:scale(.97)}
.m-att-file .tr-txt b{color:var(--frost-ink);max-width:200px}
.cm.pending .m-atts,.cm.pending .m-files{opacity:.6}

.att-view{position:fixed;inset:0;z-index:200;display:flex;flex-direction:column;background:rgba(8,8,12,.94);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);animation:attIn .2s var(--ease)}
.att-view.out{opacity:0;transition:opacity .2s}
@keyframes attIn{from{opacity:0}}
.att-view header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:calc(var(--top) + 8px) 16px 10px}
.att-view header b{min-width:0;font-size:15px;font-weight:550;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.att-body{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;padding:0 0 max(var(--sab), 12px)}
.att-body img{max-width:100%;max-height:100%;object-fit:contain}
.att-body iframe{width:100%;height:100%;border:0;background:#fff}
.att-body pre{align-self:stretch;flex:1;margin:0 12px;padding:14px;overflow:auto;border-radius:14px;background:rgba(255,255,255,.06);color:#eee;font:13px/1.5 var(--f-mono);white-space:pre-wrap;overflow-wrap:anywhere}
@media (prefers-reduced-motion:reduce){.m-att-img.loading::after,.att-view,.tr-it{animation:none}}

/* ---------- chats list: main chat + side chats (web/chat.js) ---------- */
.ct-scrim{position:absolute;inset:0;z-index:7;background:rgba(6,6,10,.4);opacity:0;pointer-events:none;transition:opacity .3s}
.ct-scrim.on{opacity:1;pointer-events:auto}
.chats{position:absolute;z-index:8;top:calc(var(--top) + 62px);left:10px;right:10px;max-height:min(560px,calc(100% - var(--top) - 150px));display:flex;flex-direction:column;border-radius:26px;background:rgba(24,22,32,.86);color:#fff;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.12),0 24px 60px rgba(0,0,0,.45);transform-origin:30% 0;opacity:0;transform:translateY(-8px) scale(.97);transition:opacity .22s ease,transform .32s var(--ease)}
.chats.on{opacity:1;transform:none}
.ct-head{flex:none;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 12px 6px 18px}
.ct-head b{font-size:11.5px;letter-spacing:.12em;text-transform:uppercase;font-weight:600;color:var(--c-sub)}
.ct-new{display:inline-flex;align-items:center;gap:6px;padding:7px 13px 7px 10px;border-radius:99px;font-size:13.5px;font-weight:600;background:#fff;color:#16131a;transition:transform .2s var(--spring)}
.ct-new .i{width:16px;height:16px;stroke-width:2.2}
.ct-new:active{transform:scale(.95)}
.ct-name{flex:none;display:flex;align-items:center;gap:8px;margin:4px 12px 6px;padding:5px 5px 5px 14px;border-radius:16px;background:rgba(255,255,255,.1);box-shadow:inset 0 0 0 1px rgba(255,255,255,.18);animation:cmIn .25s var(--ease)}
.ct-name:focus-within{box-shadow:inset 0 0 0 2px #b9a3ff}
.ct-name input{flex:1;min-width:0;border:0;background:none;font:inherit;font-size:16px;color:#fff;outline:none}
.ct-name input::placeholder{color:rgba(255,255,255,.5)}
.ct-name button{flex:none;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#16131a}
.ct-name button .i{width:18px;height:18px;stroke-width:2.2}
.ct-list{flex:1;min-height:0;overflow-y:auto;padding:2px 6px 8px;scrollbar-width:none;overscroll-behavior:contain}
.ct-list::-webkit-scrollbar{display:none}
.ct-row{display:flex;align-items:center;gap:12px;width:100%;padding:10px 10px;border-radius:18px;text-align:left;transition:background .2s}
.ct-row:active{background:rgba(255,255,255,.08)}
.ct-row.on{background:rgba(255,255,255,.1)}
.ct-row.closed{opacity:.6}
.ct-emo{flex:none;width:38px;height:38px;border-radius:12px;display:grid;place-items:center;font-size:19px;line-height:1;color:#fff;background:rgba(255,255,255,.12)}
.ct-emo .i{width:18px;height:18px}
.ct-emo.brand{background:none}
.ct-emo.brand .brand-mark{width:38px;height:38px;border-radius:12px;box-shadow:inset 0 0 0 7px rgba(24,22,32,1)}
.ct-txt{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.ct-t{display:flex;align-items:center;gap:7px;min-width:0}
.ct-t b{min-width:0;font-size:15px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ct-t em{flex:none;font-style:normal;font-size:10px;letter-spacing:.08em;text-transform:uppercase;font-weight:600;padding:2px 7px;border-radius:99px;background:rgba(255,255,255,.12);color:var(--c-sub)}
.ct-txt small{font-size:13px;color:var(--c-sub);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ct-meta{flex:none;display:flex;flex-direction:column;align-items:flex-end;gap:5px;min-width:22px}
.ct-meta time{font-size:12px;color:var(--c-sub);font-variant-numeric:tabular-nums}
.ct-n{min-width:19px;height:19px;padding:0 6px;border-radius:10px;display:grid;place-items:center;font-style:normal;font-size:11px;font-weight:650;background:#ff5a6e;color:#fff}
.ct-div{padding:14px 12px 4px;font-size:11px;letter-spacing:.12em;text-transform:uppercase;font-weight:600;color:var(--c-sub)}
.ct-empty{margin:6px 12px 4px;font-size:13.5px;line-height:1.45;color:var(--c-sub)}
.ct-close{flex:none;margin:0 12px 12px;padding:11px;border-radius:14px;font-size:14px;font-weight:550;color:rgba(255,255,255,.8);background:rgba(255,255,255,.08);transition:background .2s}
.ct-close:active{background:rgba(255,255,255,.14)}
/* a side chat with nothing in it yet */
.chat-empty.side .ct-ico{display:block;margin-bottom:6px}
.chat-empty.side .ct-emo{width:48px;height:48px;border-radius:15px;font-size:26px}
.chat-empty.side .ct-emo .i{width:22px;height:22px}

/* An approval asked for in this chat (the Home card, inline: web/notes.js apInner). */
.cm-body .chat-ap{margin-top:2px;max-width:100%}
