*{box-sizing:border-box}
html,body{margin:0;height:100%;font-family:var(--font-brand);color:var(--foreground);font-size:14px;line-height:20px;background:#e6eaf0}
button{font-family:inherit;cursor:pointer}
.stage{min-height:100%;display:flex;align-items:center;justify-content:center;padding:28px}
.phone{width:390px;height:844px;flex:none;border-radius:46px;background:var(--sidebar);box-shadow:0 0 0 11px #0d1726,0 30px 60px -12px rgba(16,39,71,.45);overflow:hidden;position:relative;display:flex;flex-direction:column}
@media (max-width:760px){.stage{padding:0;display:block}.phone{width:100vw;height:100vh;height:100dvh;border-radius:0;box-shadow:none}}
.sb{height:46px;flex:none;display:flex;justify-content:space-between;align-items:flex-end;padding:0 28px 6px 34px;font-size:15px;font-weight:600}
.sb i{font-style:normal;font-size:12px;letter-spacing:2px}
@media (max-width:760px){.sb{display:none}}
.view{flex:1;display:flex;flex-direction:column;min-height:0;position:relative}
.wht{background:var(--background)}
.hdr{height:52px;flex:none;display:flex;align-items:center;gap:6px;padding:0 10px 0 16px}
.hdr h1{margin:0;font-size:24px;line-height:30px;font-weight:600;flex:1}
.hdr h2{margin:0;font-size:16px;line-height:20px;font-weight:600;flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hdr .sub{display:block;font-size:12px;font-weight:400;color:var(--muted-foreground);line-height:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hdr.back{padding-left:6px;border-bottom:1px solid var(--border);background:var(--background)}
.scroll{flex:1;overflow-y:auto;overflow-x:hidden;min-height:0;-webkit-overflow-scrolling:touch}
.scroll::-webkit-scrollbar{width:0}
.pad{padding:0 16px}
.tabbar{height:58px;flex:none;border-top:1px solid var(--border);background:var(--sidebar);display:flex}
.homeind{height:24px;flex:none;background:inherit;display:grid;place-items:center}
.homeind::after{content:"";width:134px;height:5px;border-radius:3px;background:#0d1726}
@media (max-width:760px){.homeind{display:none}}
.tab{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:10.5px;color:var(--muted-foreground);position:relative;background:none;border:0;padding:0}
.tab svg{width:21px;height:21px}
.tab.on{color:var(--foreground);font-weight:600}
.tab .cnt{position:absolute;top:6px;left:calc(50% + 5px);background:var(--primary);color:#fff;font-size:10px;font-weight:600;border-radius:9px;padding:0 5px;line-height:16px}
.tab.mid .dotc{width:36px;height:36px;border-radius:50%;background:var(--primary);color:#fff;display:grid;place-items:center;margin-top:-4px}
.tab.mid .dotc svg{width:18px;height:18px}
.a-ib svg{width:18px;height:18px}
.a-av{width:34px;height:34px;border-radius:50%;flex:none;display:grid;place-items:center;font-size:12px;font-weight:600;color:#fff!important;background:var(--avatar-background,#3f6ea8);border:0;padding:0}
.a-life i{border-radius:50%!important;-webkit-mask:none!important;mask:none!important}
.a-list{background:transparent;padding:0 8px 12px;width:auto;max-width:none}
.a-lrow{cursor:pointer}
.a-lrow .lp{margin-top:5px;display:flex;gap:6px;flex-wrap:wrap;align-items:center}
.a-chat{max-width:none}
.a-composer{max-width:none;width:100%}
.a-composer textarea{border:0;outline:0;resize:none;width:100%;font:inherit;font-size:15px;color:var(--foreground);background:transparent;padding:0;min-height:22px;max-height:96px}
.a-pills{flex-wrap:nowrap;overflow-x:auto}.a-pills::-webkit-scrollbar{display:none}
.a-pill{white-space:nowrap}
.date{padding:0 16px 4px;font-size:14px;color:var(--muted-foreground)}
.sec{font-size:13px;font-weight:600;color:var(--muted-foreground);padding:16px 16px 8px;display:flex;justify-content:space-between;align-items:center}
.sec button{font-size:12.5px;color:var(--link);background:none;border:0;padding:0;font-weight:500}
.tcard{border:1px solid var(--border);background:var(--background);border-radius:14px;margin:0 16px 10px;padding:12px 14px;transition:opacity .25s}
.tcard .k{font-size:11.5px;color:var(--muted-foreground);display:flex;gap:6px;align-items:center;margin-bottom:5px}
.tcard .k svg{width:14px;height:14px;flex:none}
.tcard .k .t{margin-left:auto}
.tcard b{display:block;font-size:14.5px;line-height:20px}
.tcard p{margin:3px 0 10px;font-size:13px;line-height:18px;color:var(--muted-foreground)}
.tcard .acts{display:flex;gap:8px;flex-wrap:wrap}
.tcard.done{padding:10px 14px;background:transparent}
.tcard.done .dn{display:flex;gap:8px;align-items:center;font-size:13px;color:var(--muted-foreground)}
.tcard.done .dn svg{width:16px;height:16px;color:var(--success,#1d7a46);flex:none}
.jobchip{font-size:11px;line-height:16px;padding:1px 7px;border-radius:9px;background:var(--secondary);color:var(--foreground);font-weight:500;white-space:nowrap}
.card{border:1px solid var(--border);border-radius:14px;background:var(--background);margin:0 16px}
.row{display:flex;align-items:center;gap:12px;padding:11px 14px;width:100%;background:none;border:0;text-align:left;font:inherit;color:inherit}
.row+.row,.a-srow+.row,.row+.a-srow{border-top:1px solid var(--border)}
.row b{display:block;font-weight:500}.row small{display:block;color:var(--muted-foreground);font-size:12.5px;line-height:17px}
.row .grow{flex:1;min-width:0}
.row>svg{width:18px;height:18px;flex:none;color:var(--muted-foreground)}
.row>svg.chev{width:16px;height:16px;color:var(--faint-foreground,#94a3b8)}
.row .tm{width:44px;flex:none;font-size:12px;color:var(--muted-foreground)}
.typing{display:inline-flex;gap:4px;padding:12px 14px;border-radius:20px;background:var(--muted,#f1f4f8);margin-bottom:8px}
.typing i{width:6px;height:6px;border-radius:50%;background:var(--muted-foreground);animation:bl 1s infinite}
.typing i:nth-child(2){animation-delay:.15s}.typing i:nth-child(3){animation-delay:.3s}
@keyframes bl{0%,100%{opacity:.25}50%{opacity:1}}
.chips{display:flex;gap:8px;overflow-x:auto;padding:0 12px 8px}.chips::-webkit-scrollbar{display:none}
.chip{white-space:nowrap;border:1px solid var(--border);background:var(--background);border-radius:999px;padding:6px 12px;font-size:13px;color:var(--foreground)}
.compwrap{padding:4px 12px 10px;flex:none}
.mic{width:34px;height:34px;border-radius:50%;border:1px solid var(--border);background:var(--background);display:grid;place-items:center;color:var(--foreground)}
.mic svg{width:16px;height:16px}
.mic.rec{background:#fdecec;border-color:#f3b9b9;color:#b42318;animation:pulse 1.2s infinite}
@keyframes pulse{50%{box-shadow:0 0 0 6px rgba(180,35,24,.12)}}
.ares{background:var(--background);border:1px solid var(--border);border-radius:16px;padding:12px 14px;margin:0 0 6px;max-width:94%;font-size:14px;line-height:20px}
.ares p{margin:0 0 8px}.ares p:last-child{margin:0}
.ares .it{display:flex;gap:10px;padding:9px 0;border-top:1px solid var(--border);font-size:13.5px;line-height:19px}
.ares .it:first-of-type{border-top:0}
.ares .it .ic{min-width:20px;height:20px;padding:0 5px;border-radius:10px;white-space:nowrap;flex:none;display:grid;place-items:center;font-size:11px;margin-top:1px}
.ic.ok{background:var(--success-surface,#e5f3ea);color:var(--success,#1d7a46)}
.ic.wait{background:var(--secondary);color:var(--muted-foreground)}
.ic.you{background:var(--warning-surface,#fdf3e1);color:var(--warning,#9a5b00)}
.ares .it small{display:block;color:var(--muted-foreground);font-size:12.5px}
.ares .acts{display:flex;gap:8px;margin-top:8px;flex-wrap:wrap}
.draftbox{background:var(--secondary);border-radius:12px;padding:10px 12px;font-size:13.5px;line-height:19px;white-space:pre-wrap;margin:6px 0}
.working{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--muted-foreground);padding:6px 0}
.overlay{position:absolute;inset:0;z-index:40;display:flex;flex-direction:column;justify-content:flex-end}
.overlay .bg{position:absolute;inset:0;background:var(--overlay,rgba(16,39,71,.36));animation:fade .18s}
.sheet{position:relative;background:var(--background);border-radius:18px 18px 0 0;box-shadow:var(--elevation-pop);padding:6px 16px 20px;max-height:88%;overflow:auto;animation:up .2s ease-out}
@keyframes up{from{transform:translateY(24px);opacity:.6}}
@keyframes fade{from{opacity:0}}
.grab{width:36px;height:5px;border-radius:3px;background:var(--border-strong,#cbd5e1);margin:4px auto 10px}
.sheet h3{margin:0 0 2px;font-size:17px;line-height:24px;font-weight:600}
.sheet .sub{font-size:13px;color:var(--muted-foreground);margin-bottom:12px}
.sheet .kk{font-size:12px;color:var(--muted-foreground);display:flex;gap:6px;align-items:center;margin-bottom:4px}
.sheet .kk svg{width:14px;height:14px}
.li{display:flex;justify-content:space-between;gap:12px;font-size:13.5px;padding:8px 0;border-top:1px solid var(--border)}
.li span:first-child{color:var(--muted-foreground)}
.why{font-size:12.5px;line-height:17px;color:var(--muted-foreground);background:var(--secondary);border-radius:10px;padding:9px 11px;margin:10px 0 12px}
.btnrow{display:flex;gap:8px}.btnrow .a-btn{flex:1;justify-content:center}
.a-btn.wide{width:100%;justify-content:center}
textarea.edit{width:100%;min-height:150px;border:1px solid var(--input,#cbd5e1);border-radius:10px;padding:10px 12px;font:inherit;font-size:14px;line-height:20px;color:var(--foreground);resize:vertical}
.toast{position:absolute;left:12px;right:12px;bottom:92px;z-index:60;background:var(--primary);color:#fff;border-radius:12px;padding:11px 12px 11px 14px;display:flex;gap:12px;align-items:center;box-shadow:var(--elevation-pop);font-size:13.5px;animation:up .2s}
.toast span{flex:1}
.toast button{background:none;border:0;color:#fff;font-weight:600;text-decoration:underline;padding:0}
.opt{display:flex;gap:12px;padding:10px;border:1px solid var(--border);border-radius:14px;margin:0 16px 10px;background:var(--background);width:calc(100% - 32px);text-align:left;font:inherit;color:inherit}
.opt[aria-pressed=true]{border-color:var(--primary);box-shadow:0 0 0 1px var(--primary)}
.sw{width:68px;height:68px;border-radius:10px;flex:none}
.opt b{font-size:14px;display:block}.opt small{display:block;font-size:12.5px;color:var(--muted-foreground);line-height:17px}
.prod{display:flex;gap:12px;align-items:center;padding:10px 14px;width:100%;background:none;border:0;text-align:left;font:inherit;color:inherit}
.prod+.prod{border-top:1px solid var(--border)}
.prod .sw{width:38px;height:38px;border-radius:8px}
.prod div{flex:1;min-width:0}.prod b{font-size:13.5px;font-weight:500;display:block}.prod small{font-size:12px;color:var(--muted-foreground)}
.jobcard{display:block;width:calc(100% - 32px);margin:0 16px 10px;text-align:left;border:1px solid var(--border);border-radius:14px;background:var(--background);padding:12px 14px;font:inherit;color:inherit}
.jobcard .top{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}
.jobcard b{font-size:15px;display:block}.jobcard small{font-size:12.5px;color:var(--muted-foreground);display:block}
.jobcard .a-meter{max-width:none;margin-top:10px}
.tl{margin:0 16px}
.tl div{display:flex;gap:12px;padding:0 0 16px;position:relative}
.tl div::before{content:"";position:absolute;left:6px;top:16px;bottom:0;width:2px;background:var(--border)}
.tl div:last-child::before{display:none}
.tl i{width:14px;height:14px;border-radius:50%;flex:none;margin-top:3px;border:2px solid var(--border-strong,#cbd5e1);background:var(--background);position:relative;z-index:1}
.tl i.d{background:var(--success,#1d7a46);border-color:var(--success,#1d7a46)}
.tl i.n{background:var(--primary);border-color:var(--primary)}
.tl b{display:block;font-weight:500;font-size:13.5px}.tl small{color:var(--muted-foreground);font-size:12.5px}
.files{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 16px}
.files div{border-radius:12px;height:110px;position:relative;overflow:hidden}
.files span{position:absolute;left:8px;bottom:8px;background:rgba(255,255,255,.92);border-radius:6px;padding:1px 7px;font-size:11.5px}
.days{display:flex;gap:4px;padding:2px 12px 10px}
.day{flex:1;text-align:center;padding:6px 0;border-radius:12px;font-size:11px;color:var(--muted-foreground);background:none;border:0}
.day b{display:block;font-size:16px;color:var(--foreground);font-weight:500;margin-top:1px}
.day.on{background:var(--primary);color:#fff}.day.on b{color:#fff}
.day .dt{display:block;width:4px;height:4px;border-radius:50%;background:var(--muted-foreground);margin:3px auto 0}
.day.on .dt{background:#fff}
.agenda{padding:4px 16px 16px}
.ev{display:flex;gap:12px;padding:0 0 10px}
.ev .tm{width:62px;flex:none;font-size:12px;color:var(--muted-foreground);padding-top:10px}
.ev .bx{flex:1;border-radius:12px;padding:10px 12px}
.ev b{display:block;font-size:13.5px}.ev small{display:block;font-size:12px;color:var(--muted-foreground)}
.ev .note{margin-top:6px;font-size:12px;color:var(--foreground);display:flex;gap:6px;align-items:flex-start}
.ev .note svg{width:13px;height:13px;flex:none;margin-top:3px}
.msgs{padding:12px 16px}
.mem{display:flex;flex-wrap:wrap;gap:6px;margin:0 16px}
.mem span{font-size:12.5px;border:1px solid var(--border);border-radius:9px;padding:4px 9px;background:var(--background)}
.log{margin:0 16px}
.log div{display:flex;gap:10px;font-size:13px;padding:9px 0;border-top:1px solid var(--border)}
.log div:first-child{border-top:0}
.log time{width:58px;flex:none;color:var(--muted-foreground);font-size:12px}
.perm{display:flex;align-items:center;gap:10px;padding:10px 14px}
.perm+.perm{border-top:1px solid var(--border)}
.perm div{flex:1;min-width:0}.perm b{display:block;font-weight:500;font-size:13.5px}.perm small{font-size:12px;color:var(--muted-foreground)}
.perm .a-seg{flex:none}
.perm .a-seg .a-pill{padding:0 9px;height:26px;font-size:12px}
.empty{padding:40px 24px;text-align:center;color:var(--muted-foreground);font-size:13px}
.hidden{display:none!important}
.fhd{display:flex;justify-content:space-between;align-items:center;padding:2px 16px 12px;font-size:14px;color:var(--muted-foreground)}
.fhd b{color:var(--foreground);font-size:15px}
.fhd span{display:flex;align-items:center;gap:5px;font-size:13px}
.fhd svg{width:14px;height:14px}
.clear{display:flex;flex-direction:column;align-items:center;gap:6px;padding:90px 24px;color:var(--muted-foreground);font-size:13px}
.clear svg{width:36px;height:36px;padding:8px;border-radius:50%;background:var(--secondary);color:var(--foreground)}
.clear b{font-size:18px;color:var(--foreground);font-weight:600}
.facts{display:flex;flex-wrap:wrap;gap:6px;margin:2px 0 10px}
.fact{display:inline-flex;align-items:center;gap:5px;font-size:12px;line-height:16px;padding:3px 8px;border-radius:8px;background:var(--secondary);color:var(--foreground);white-space:nowrap}
.fact svg{width:12px;height:12px;flex:none}
.fact.bad{background:var(--destructive-surface,#fdecec);color:var(--destructive,#b42318)}
.fact.ok{background:var(--success-surface,#e5f3ea);color:var(--success,#1d7a46)}
.fact.warn{background:var(--warning-surface,#fdf3e1);color:var(--warning,#9a5b00)}
.fact s{text-decoration:line-through;opacity:.6}
.wk{margin:4px 16px 0;border:1px solid var(--border);border-radius:14px;background:var(--background);padding:12px 14px}
.wk .hd{display:flex;justify-content:space-between;align-items:baseline;font-size:12px;color:var(--muted-foreground)}
.wk .hd b{font-size:13px;color:var(--foreground);font-weight:600}
.wk .nums{display:flex;gap:18px;margin:8px 0 10px}
.wk .nums div{font-size:11.5px;color:var(--muted-foreground);line-height:14px}
.wk .nums b{display:block;font-size:20px;line-height:24px;color:var(--foreground);font-weight:600}
.wk .nums i{font-style:normal;font-size:11px;color:var(--success,#1d7a46);margin-left:3px}
.wk .bars{display:flex;gap:6px;align-items:flex-end;height:56px}
.wk .bar{flex:1;display:flex;flex-direction:column;justify-content:flex-end;gap:2px;height:100%}
.wk .bar i{display:block;border-radius:3px}
.wk .bar .h{background:var(--border-strong,#cbd5e1)}
.wk .bar .y{background:var(--primary)}
.wk .bar.fut .h{background:var(--secondary)}
.wk .lbl{display:flex;gap:6px;margin-top:4px}
.wk .lbl span{flex:1;text-align:center;font-size:10.5px;color:var(--muted-foreground)}
.wk .lbl span.on{color:var(--foreground);font-weight:600}
.wk .key{display:flex;gap:12px;margin-top:8px;font-size:11px;color:var(--muted-foreground)}
.wk .key span::before{content:"";display:inline-block;width:8px;height:8px;border-radius:2px;margin-right:4px;vertical-align:0;background:var(--border-strong,#cbd5e1)}
.wk .key span.y::before{background:var(--primary)}
.tri{display:flex;gap:8px;margin:4px 16px 0}
.tri button{flex:1;border:1px solid var(--border);background:var(--background);border-radius:12px;padding:8px 10px;text-align:left;font:inherit;color:inherit}
.tri b{display:block;font-size:20px;line-height:26px;font-weight:600}
.tri small{font-size:11.5px;color:var(--muted-foreground)}
.split{display:flex;height:6px;border-radius:3px;overflow:hidden;margin:8px 16px 0;gap:2px}
.split i{display:block}
.then{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0 14px}

/* ---------- Alido character (felt): see js/alido-face.js ---------- */
/* ---------- rig: one soft felt character, one accessory; parts switch by activity ---------- */
.al{width:var(--s);height:var(--s);display:inline-block;flex:none}
.al svg{width:100%;height:100%;display:block;overflow:visible}
.al .x-bub,.al .x-phone,.al .x-calm,.al .i-read,.al .i-type,.al .i-cal,.al .i-wait{display:none}
.al.read .x-bub,.al.type .x-bub,.al.cal .x-bub,.al.wait .x-bub{display:inline}
.al.read .i-read,.al.type .i-type,.al.cal .i-cal,.al.wait .i-wait{display:inline}
.al.phone .x-phone,.al.phone .x-calm{display:inline}
.al.phone .x-dots{display:none}
.al .body{transform-origin:60px 100px;transform-box:view-box}
.al .look{transition:transform .35s ease}
.al.read .look,.al.type .look,.al.cal .look{transform:translate(1.5px,2.6px)}
.al.wait .look{transform:translate(-.5px,-2px)}
.al .blink{transform-origin:60px 56px;transform-box:view-box;animation:blink 5s infinite}
.al.idle .body{animation:breathe 4s ease-in-out infinite}
.al.read .body,.al.type .body,.al.cal .body{animation:bob 1.2s ease-in-out infinite}
.al.wait .body{animation:hop 1.6s ease-in-out infinite}
.al.read .scan{animation:scan 1.5s ease-in-out infinite}
.al.type .dot{animation:dot 1s infinite}.al.type .dot:nth-child(2){animation-delay:.15s}.al.type .dot:nth-child(3){animation-delay:.3s}
.al.phone .wav{animation:wav 1.1s ease-in-out infinite}.al.phone .wav+.wav{animation-delay:.25s}
.al .cap{transform-origin:57px 35px;transform-box:view-box;transition:transform .4s ease}
.al.wait .cap{animation:tip 1.6s ease-in-out infinite}
.al .pop{transform-origin:90px 34px;transform-box:view-box;animation:pop .35s ease-out}
@keyframes blink{0%,95%,100%{transform:scaleY(1)}97.5%{transform:scaleY(.1)}}
@keyframes breathe{0%,100%{transform:scale(1,1)}50%{transform:scale(1.012,.988)}}
@keyframes bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-1.6px)}}
@keyframes hop{0%,60%,100%{transform:translateY(0)}75%{transform:translateY(-4px)}}
@keyframes scan{0%,100%{transform:translateX(-1.6px)}50%{transform:translateX(1.6px)}}
@keyframes dot{0%,100%{opacity:.25}50%{opacity:1}}
@keyframes wav{0%,100%{opacity:.15}50%{opacity:1}}
@keyframes tip{0%,55%,100%{transform:rotate(0) translateY(0)}70%{transform:rotate(-14deg) translateY(-3px)}}
@keyframes pop{from{transform:scale(.6);opacity:0}to{transform:scale(1);opacity:1}}
@media (prefers-reduced-motion:reduce){.al *{animation:none!important}}
.al.tiny .x-bub,.al.tiny .wav{display:none!important}
.tab.mid .al{margin-top:-6px;margin-bottom:1px}

/* header with the face in the middle */
.ahdr{flex:none;display:flex;align-items:flex-start;justify-content:space-between;padding:6px 12px 10px;border-bottom:1px solid var(--border);background:var(--background)}
.ahdr .who{display:flex;flex-direction:column;align-items:center;gap:4px}
.ahdr .nm{display:flex;flex-direction:column;align-items:center;line-height:16px}
.ahdr .nm b{font-size:15px}
.ahdr .nm span{font-size:12px;color:var(--muted-foreground)}

/* thread */
.thread{padding:12px 14px 16px;display:flex;flex-direction:column;gap:8px}
.dsep{align-self:center;font-size:11.5px;color:var(--muted-foreground);margin:2px 0 4px}
.abub{align-self:flex-start;max-width:88%;background:var(--secondary);border-radius:16px 16px 16px 6px;padding:9px 12px;font-size:14px;line-height:20px}
.mbub{align-self:flex-end;max-width:80%;background:var(--primary);color:#fff;border-radius:16px 16px 6px 16px;padding:8px 12px;font-size:14px;line-height:20px;margin:4px 0}
.acard{align-self:stretch;border:1px solid var(--border);border-radius:16px;background:var(--background);overflow:hidden;text-align:left;font:inherit;color:inherit;padding:0;margin-bottom:6px}
.acard .sw{border-radius:10px;flex:none}
.qacts{display:flex;gap:8px;flex-wrap:wrap;margin:-2px 0 8px}
.okdone{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--muted-foreground);padding:10px 14px;border-top:1px solid var(--border)}
.okdone svg{width:15px;height:15px}
.tool{width:28px;height:28px;border-radius:8px;background:var(--secondary);display:grid;place-items:center;font-size:12px;font-weight:600;flex:none}
svg.ck{width:16px;height:16px;color:var(--muted-foreground);flex:none}

/* handled overnight (ref: Lindy "6 things handled overnight") */
.night .ach{display:flex;justify-content:space-between;align-items:baseline;padding:10px 14px 4px;font-size:12px;color:var(--muted-foreground)}
.night .ach b{font-size:20px;color:var(--foreground)}
.nrow,.wrow{display:flex;align-items:center;gap:10px;padding:8px 14px;font-size:13.5px;line-height:18px}
.nrow div,.wrow div{flex:1;min-width:0}
.nrow small,.wrow small{display:block;font-size:11.5px;color:var(--muted-foreground);line-height:14px}
.night .more{width:100%;border:0;border-top:1px solid var(--border);background:none;padding:9px;font-size:13px;color:var(--muted-foreground)}

/* job strip (ref: Claude Duet "33 on track, 7 watching, 1 needs you") */
.strip{display:flex;gap:8px;padding:12px 12px 10px;flex-wrap:wrap;cursor:pointer;width:100%}
.strip .it{display:flex;flex-direction:column;align-items:center;gap:4px;width:52px}
.strip .it small{font-size:10.5px;line-height:12px;color:var(--muted-foreground);text-align:center}
.strip .sw{width:44px;height:44px;position:relative;display:block}
.strip em{position:absolute;right:-3px;top:-3px;width:12px;height:12px;border-radius:50%;border:2px solid var(--background);background:var(--muted-foreground)}
.strip em.ok{background:var(--success,#236044)}
.strip em.watch{background:var(--border-strong,#d5dde6)}
.strip em.bad{background:var(--destructive)}
.strip .open{width:100%;display:flex;justify-content:flex-end;align-items:center;gap:2px;font-size:12.5px;color:var(--muted-foreground)}
.strip .open svg{width:14px;height:14px}

/* late card (ref: Meta Muse "flight delayed") */
.late .band{background:var(--destructive);color:#fff;font-size:12.5px;font-weight:600;padding:6px 14px;display:flex;gap:6px;align-items:center}
.late .band svg{width:14px;height:14px}
.late .lb{display:flex;gap:12px;align-items:center;padding:12px 14px 6px}
.late .lb .sw{width:44px;height:44px}
.late b{display:block;font-size:14px}.late small{display:block;font-size:12px;color:var(--muted-foreground)}
.late .track{display:flex;align-items:center;gap:10px;padding:6px 14px 14px}
.late .track .r{text-align:right}
.late .track b{font-size:16px}
.late .track b.bad{color:var(--destructive)}
.late .ln{flex:1;height:4px;border-radius:2px;background:var(--border);position:relative}
.late .ln i{position:absolute;top:-4px;width:12px;height:12px;border-radius:50%}
.late .ln .inst{left:0;background:var(--primary)}
.late .ln .ship{right:0;background:var(--destructive)}

/* options with photos (ref: Meta Muse product list) */
.opts .orow{display:flex;gap:12px;align-items:center;padding:10px 14px}
.opts .orow+.orow{border-top:1px solid var(--border)}
.opts .sw{width:52px;height:52px}
.opts .orow>div:not(.pr){flex:1;min-width:0}
.opts b{display:block;font-size:14px}.opts small{display:block;font-size:12px;line-height:16px;color:var(--muted-foreground)}
.opts .pr{text-align:right;font-size:14px;font-weight:600;font-variant-numeric:tabular-nums}
.opts .pr em{display:block;font-style:normal;font-size:11px;font-weight:600;color:var(--primary);margin-top:2px}

/* your OK (ref: Meta Muse "waiting for permission" · Deny / Allow) */
.ok .okh{display:flex;gap:10px;padding:12px 14px 8px}
.ok .okh svg{width:20px;height:20px;flex:none;margin-top:1px}
.ok .okh b{display:block;font-size:15px}.ok .okh small{display:block;font-size:12px;color:var(--muted-foreground)}
.ok .oki{display:flex;gap:10px;align-items:center;margin:4px 14px 8px;padding:8px;border-radius:12px;background:var(--secondary)}
.ok .oki .sw{width:40px;height:40px}
.ok .oki div{flex:1;min-width:0}.ok .oki b{display:block;font-size:13.5px}.ok .oki small{font-size:12px;color:var(--muted-foreground)}
.ok .oki>span:last-child{font-weight:600;font-variant-numeric:tabular-nums}
.ok .li{margin:0 14px}
.ok .li.tot span{color:var(--foreground);font-weight:600;font-size:15px}
.ok .btnrow{padding:10px 14px 14px}
.ok.settled{opacity:.75}

/* Alido working in your tools (ref: Meta Muse "Browser · completing checkout") */
.work .wrow+.wrow{border-top:1px solid var(--border)}
.work .wrow.next{opacity:.45}
.spin{width:16px;height:16px;border-radius:50%;border:2px solid var(--border);border-top-color:var(--primary);animation:spin .8s linear infinite;flex:none}

/* message for your OK */
.msg .mto{display:flex;gap:6px;align-items:center;font-size:12px;color:var(--muted-foreground);padding:10px 14px 6px}
.msg .mto svg{width:13px;height:13px}
.msg .mprev{margin:0 14px 10px;background:var(--primary);color:#fff;border-radius:14px 14px 6px 14px;padding:9px 12px;font-size:13.5px;line-height:19px}
.msg .btnrow{padding:0 14px 14px}

/* persistent message box */
#compbar{flex:none;background:var(--background);border-top:1px solid var(--border);padding:8px 10px 6px}
#compbar .chips{padding:0 0 8px}
.cb{display:flex;align-items:flex-end;gap:8px;border:1px solid var(--border);border-radius:20px;padding:5px 5px 5px 14px;background:var(--background)}
.cbface{border:0;background:none;padding:0;display:grid}
.cb textarea{flex:1;border:0;outline:0;resize:none;font:inherit;font-size:15px;line-height:20px;color:var(--foreground);background:transparent;padding:4px 0;min-height:28px;max-height:96px}
.cb .mic{width:30px;height:30px}
.cb .a-send{flex:none}

/* inbox: Alido's call on every email */
.verdict{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--muted-foreground);margin-top:5px}
.verdict b{color:var(--foreground);font-weight:600}

/* tools */
.tlogo{width:34px;height:34px;border-radius:9px;background:var(--secondary);display:grid;place-items:center;font-size:12px;font-weight:700;flex:none}
.toast{bottom:150px}

/* profile: Alido's look */
.looks{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 16px}
.lk{display:flex;flex-direction:column;align-items:center;gap:2px;padding:12px 8px;border:1px solid var(--border);border-radius:14px;background:var(--background);font:inherit;color:inherit}
.lk[aria-pressed=true]{border-color:var(--primary);box-shadow:0 0 0 1px var(--primary)}
.lk b{font-size:14px;margin-top:4px}.lk small{font-size:12px;color:var(--muted-foreground)}

/* ---------- Inbox: standard email list (ref: Apple Mail, Gmail) ---------- */
.mhdr{flex:none;padding:4px 16px 8px;background:var(--background)}
.mhdr .r1{display:flex;align-items:center;justify-content:space-between;height:44px}
.mhdr h1{margin:0;font-size:28px;line-height:34px;font-weight:700}
.msearch{width:100%;display:flex;align-items:center;gap:8px;height:36px;border:0;border-radius:10px;background:var(--secondary);color:var(--muted-foreground);font:inherit;font-size:15px;padding:0 10px;margin:2px 0 10px}
.msearch svg{width:16px;height:16px}
.msec{font-size:12.5px;font-weight:600;color:var(--muted-foreground);padding:12px 16px 4px;text-transform:none}
.mrow{display:flex;gap:10px;padding:10px 16px 11px 6px;cursor:pointer;position:relative}
.mrow+.mrow .mbody{border-top:0}
.mrow::after{content:"";position:absolute;left:62px;right:0;bottom:0;height:1px;background:var(--border)}
.udot{width:9px;height:9px;border-radius:50%;flex:none;margin-top:15px;background:transparent}
.mrow.unread .udot{background:#2f6fe4}
.mrow .a-av{width:40px;height:40px;font-size:13px}
.mbody{flex:1;min-width:0}
.mtop{display:flex;align-items:baseline;gap:8px}
.mtop b{flex:1;min-width:0;font-size:15px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mrow.unread .mtop b,.mrow.unread .msubj{font-weight:650}
.mtop time{font-size:12.5px;color:var(--muted-foreground);flex:none}
.msubj{font-size:14px;line-height:19px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.msum{display:flex;gap:5px;font-size:13.5px;line-height:18px;color:var(--muted-foreground);margin-top:1px}
.msum .al{margin-top:2px}
.msum span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.mtags{display:flex;gap:6px;flex-wrap:wrap;margin-top:6px}
.dr{font-size:11px;line-height:16px;padding:1px 7px;border-radius:9px;background:var(--primary);color:#fff;font-weight:600;white-space:nowrap}
.dr.ghost{background:var(--secondary);color:var(--muted-foreground)}

/* ---------- Email page (ref: Apple Mail) ---------- */
.mail{padding:6px 16px 20px}
.mst{margin:0;font-size:21px;line-height:27px;font-weight:650}
.aisum{display:flex;gap:9px;align-items:flex-start;background:var(--secondary);border-radius:12px;padding:10px 12px;margin:12px 0 6px;font-size:13.5px;line-height:19px}
.aisum b{font-weight:600}
.aisum .hd{display:inline-flex;align-items:center;gap:4px;color:var(--muted-foreground)}
.aisum .hd svg{width:13px;height:13px}
.msg{padding:14px 0;border-bottom:1px solid var(--border)}
.msg .mh{display:flex;gap:10px;align-items:center}
.msg .mh .a-av{width:38px;height:38px}
.msg .who{flex:1;min-width:0}.msg .who b{display:block;font-size:15px;font-weight:600}.msg .who small{color:var(--muted-foreground);font-size:12.5px}
.msg time{font-size:12.5px;color:var(--muted-foreground)}
.mtext{font-size:15px;line-height:22px;margin-top:10px}
.mtext p{margin:0 0 10px}
.drmail{border:1px solid var(--border);border-radius:14px;padding:12px 14px;margin-top:14px}
.drmail .dh{display:flex;align-items:center;gap:8px;font-size:12.5px;color:var(--muted-foreground)}
.drmail .mtext{margin-top:8px}
.mact{display:flex;gap:8px;margin-top:16px}
.mact .a-btn svg{width:15px;height:15px}

.mtop .rep{color:var(--muted-foreground);display:inline-flex}.mtop .rep svg{width:13px;height:13px}

/* job tag: on supplier mail; tap to see all mail for the job */
.jtag{display:inline-flex;align-items:center;gap:4px;border:1px solid var(--border);background:var(--background);border-radius:8px;padding:2px 7px;font:inherit;font-size:11.5px;line-height:16px;color:var(--foreground);font-weight:500;cursor:pointer}
.jtag svg{width:12px;height:12px;color:var(--muted-foreground)}
.jtag.set{margin-top:8px;font-size:12.5px;padding:4px 9px}
.mhdr .a-pill svg{width:13px;height:13px;margin-right:3px;vertical-align:-2px}

/* ---------- Jobs: answer "where is everything for this client?" in seconds ---------- */
.thumb{width:var(--t);height:var(--t);border-radius:10px;background:#f4f1ec;display:grid;place-items:center;flex:none}
.thumb svg{width:84%;height:84%}
.jlist{display:flex;flex-direction:column;gap:12px;padding:6px 16px}
.jcard{display:block;width:100%;text-align:left;border:1px solid var(--border);border-radius:16px;background:var(--background);padding:14px;font:inherit;color:inherit;cursor:pointer}
.jt{display:flex;justify-content:space-between;gap:10px}
.jn b{display:block;font-size:16px}.jn small{font-size:12.5px;color:var(--muted-foreground)}
.ji{text-align:right}.ji small{display:block;font-size:11px;color:var(--muted-foreground)}.ji b{font-size:15px}
.jitems{display:flex;gap:8px;margin:12px 0 8px;flex-wrap:wrap}
.ji2{position:relative;display:inline-block}
.fl{position:absolute;right:-3px;top:-3px;width:11px;height:11px;border-radius:50%;border:2px solid var(--background);background:var(--success,#236044)}
.fl.watch{background:var(--border-strong,#d5dde6)}.fl.you{background:var(--primary)}.fl.bad{background:var(--destructive)}
.jstat{font-size:13px;color:var(--muted-foreground)}.jstat b{color:var(--foreground)}.jstat b.bad{color:var(--destructive)}
.jneed{display:flex;align-items:center;gap:7px;margin-top:10px;padding:8px 10px;border-radius:10px;background:var(--secondary);font-size:13px}
.jneed > span:not(.al){flex:1}.jneed svg.chev{width:14px;height:14px}
.jneed.bad{background:var(--destructive-surface);color:var(--destructive)}
.jneed > svg{width:14px;height:14px;flex:none}
.jphase{display:flex;gap:4px;margin-top:12px}
.jphase span{flex:1;font-size:10.5px;color:var(--muted-foreground);padding-top:6px;border-top:3px solid var(--border)}
.jphase span.done{border-top-color:var(--muted-foreground)}
.jphase span.now{border-top-color:var(--primary);color:var(--foreground);font-weight:600}
.jphase.big{margin:12px 0 4px}
.jpage{padding:4px 16px 0}
.jh{margin:0;font-size:24px;line-height:30px;font-weight:700}
.jsub{font-size:13px;color:var(--muted-foreground);margin-top:2px}
.jfacts{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0 4px}
.jfacts div{background:var(--secondary);border-radius:12px;padding:8px 10px}
.jfacts small{display:block;font-size:11px;color:var(--muted-foreground)}.jfacts b{font-size:15px}
.share{margin-top:10px}.share svg{width:14px;height:14px;margin-right:4px}
.jsec{font-size:13px;font-weight:600;color:var(--muted-foreground);margin:18px 0 8px;display:flex;justify-content:space-between;align-items:center}
.jsec button{border:0;background:none;color:var(--link,#2f6fe4);font:inherit;font-size:13px;font-weight:500;padding:0}
.card.flush{margin:0}
.irow{display:flex;gap:12px;align-items:center;width:100%;padding:10px 12px;border:0;background:none;text-align:left;font:inherit;color:inherit;cursor:pointer}
.irow+.irow{border-top:1px solid var(--border)}
.irow b{display:block;font-size:14px;font-weight:600}.irow small{display:block;font-size:12px;line-height:16px;color:var(--muted-foreground)}
.irow small.bad{color:var(--destructive)}
.stg{font-size:11px;font-weight:600;padding:3px 8px;border-radius:8px;background:var(--secondary);white-space:nowrap}
.stg.bad{background:var(--destructive-surface);color:var(--destructive)}.stg.you{background:var(--primary);color:#fff}
.mini{display:flex;gap:10px;align-items:center;padding:9px 12px;cursor:pointer}
.mini+.mini{border-top:1px solid var(--border)}
.mini b{display:block;font-size:13.5px}.mini small{display:block;font-size:12px;color:var(--muted-foreground);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:220px}
.mini time{font-size:12px;color:var(--muted-foreground)}
.drow{display:flex;gap:12px;align-items:flex-start;padding:9px 12px}
.drow+.drow{border-top:1px solid var(--border)}
.drow i{width:10px;height:10px;border-radius:50%;border:2px solid var(--border-strong,#d5dde6);margin-top:4px;flex:none}
.drow.d i{background:var(--muted-foreground);border-color:var(--muted-foreground)}.drow.n i{background:var(--primary);border-color:var(--primary)}
.drow b{display:block;font-size:13.5px;font-weight:500}.drow small{font-size:12px;color:var(--muted-foreground)}
.mrow2{display:flex;justify-content:space-between;padding:10px 12px;font-size:13.5px}
.mrow2+.mrow2{border-top:1px solid var(--border)}.mrow2 span{color:var(--muted-foreground)}
.ish{display:flex;gap:12px;align-items:center;margin-bottom:14px}
.track5{display:flex;margin:4px 0 12px}
.track5 div{flex:1;display:flex;flex-direction:column;align-items:center;gap:6px;position:relative}
.track5 div::before{content:"";position:absolute;top:6px;left:-50%;right:50%;height:2px;background:var(--border)}
.track5 div:first-child::before{display:none}
.track5 div.done::before,.track5 div.now::before{background:var(--primary)}
.track5 i{width:14px;height:14px;border-radius:50%;background:var(--background);border:2px solid var(--border-strong,#d5dde6);position:relative;z-index:1}
.track5 .done i{background:var(--primary);border-color:var(--primary)}
.track5 .now i{border-color:var(--primary);box-shadow:0 0 0 3px rgba(16,39,71,.12)}
.track5 .now.bad i{border-color:var(--destructive);background:var(--destructive)}
.track5 small{font-size:10.5px;color:var(--muted-foreground)}
.istat{font-size:14px;font-weight:600;margin-bottom:6px}.istat.bad{color:var(--destructive)}

/* jobs from email */
.jprop{display:flex;gap:10px;border:1px dashed var(--border-strong,#d5dde6);border-radius:16px;padding:12px 14px;background:var(--sidebar)}
.jprop small{display:block;font-size:11.5px;color:var(--muted-foreground)}.jprop b{display:block;font-size:15px}.jprop span{font-size:13px;color:var(--muted-foreground)}
.jlast{font-size:12px;color:var(--muted-foreground);flex:none}
.jlm{font-size:13px;line-height:18px;color:var(--muted-foreground);margin-top:8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.jlm b{color:var(--foreground);font-weight:600}
.jw{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}
.jw span{font-size:12px;padding:3px 8px;border-radius:8px;background:var(--secondary);font-weight:500}
.jw span.you{background:var(--primary);color:#fff}
.jnext{display:flex;gap:6px;align-items:center;font-size:12.5px;color:var(--muted-foreground);margin-top:10px}
.jnext svg{width:14px;height:14px}.jnext b{color:var(--foreground);font-weight:600}
.jnote{display:flex;gap:6px;align-items:center;justify-content:center;font-size:12px;color:var(--muted-foreground);padding:14px 16px 0}
.jfound{font-size:12.5px;color:var(--muted-foreground);margin-top:6px}
.jsec .hint{font-weight:400;font-size:11.5px}
.wrow2{display:flex;gap:10px;align-items:center;padding:10px 12px;cursor:pointer}
.wrow2+.wrow2{border-top:1px solid var(--border)}
.wrow2 b{display:block;font-size:13.5px;font-weight:600}.wrow2 small{font-size:12px;color:var(--muted-foreground)}
.wrow2 svg.chev{width:15px;height:15px;color:var(--muted-foreground)}
.orow2{display:flex;gap:10px;align-items:flex-start;padding:10px 12px}
.orow2+.orow2{border-top:1px solid var(--border)}
.orow2 b{display:block;font-size:13.5px}.orow2 small{display:block;font-size:12px;line-height:16px;color:var(--muted-foreground)}.orow2 small.bad{color:var(--destructive)}
small.src{display:flex!important;align-items:center;gap:4px;font-size:11px!important;color:var(--muted-foreground);opacity:.85;margin-top:2px}
small.src svg{width:11px;height:11px}
.mrow2 .ml{color:var(--foreground)}.mrow2 b.bad{color:var(--destructive)}
.files2{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.file{border:1px solid var(--border);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:2px}
.file .ft{align-self:flex-start;font-size:10px;font-weight:700;padding:1px 5px;border-radius:4px;background:var(--secondary);color:var(--muted-foreground)}
.file b{font-size:13px;line-height:17px}.file small{font-size:11.5px;color:var(--muted-foreground)}
.ppl{display:flex;flex-wrap:wrap;gap:8px}
.pp{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--border);border-radius:999px;padding:3px 10px 3px 3px;font-size:12.5px}
.pp small{color:var(--muted-foreground);font-size:11px}

.jprop{flex-direction:column;gap:0;padding:12px 0 4px}
.jph{display:flex;gap:10px;align-items:flex-start;padding:0 14px 10px}
.jph b{display:block;font-size:14.5px}.jph small{display:block;font-size:12px;color:var(--muted-foreground)}
.prow{display:flex;gap:10px;align-items:center;padding:10px 14px;border-top:1px solid var(--border)}
.prow b{display:block;font-size:14px}.prow small{display:block;font-size:12px;color:var(--muted-foreground)}.prow span{display:block;font-size:12.5px;line-height:17px;color:var(--muted-foreground);margin-top:2px}
.pbtn{display:flex;gap:2px;align-items:center;flex:none}

.jprop1{display:flex;gap:10px;border:1px dashed var(--border-strong,#d5dde6);border-radius:16px;padding:12px 14px;background:var(--sidebar)}
.jprop1 small{display:block;font-size:11.5px;color:var(--muted-foreground)}.jprop1 b{display:block;font-size:15px}.jprop1 span{font-size:13px;color:var(--muted-foreground)}
.mhdr .a-pills{margin-top:0}
.stsec{font-size:12.5px;font-weight:600;color:var(--muted-foreground);margin:14px 0 6px}
.strow{padding:10px 0;border-top:1px solid var(--border);display:flex;flex-direction:column;gap:8px}
.strow b{display:block;font-size:14px}.strow small{display:block;font-size:12px;line-height:16px;color:var(--muted-foreground)}
.stseg{display:flex;gap:4px;background:var(--secondary);border-radius:10px;padding:3px}
.stseg button{flex:1;border:0;background:none;border-radius:8px;padding:6px 0;font:inherit;font-size:12.5px;color:var(--muted-foreground);cursor:pointer}
.stseg button[aria-pressed=true]{background:var(--background);color:var(--foreground);font-weight:600;box-shadow:0 1px 2px rgba(16,39,71,.12)}

.newh{display:flex;align-items:center;gap:6px;font-size:13px;margin:2px 0 -2px}
.newh b{font-weight:600}.newh span{font-size:12px;color:var(--muted-foreground);background:var(--secondary);border-radius:8px;padding:0 6px}
.newrow{display:flex;gap:10px;overflow-x:auto;margin:0 -16px;padding:2px 16px 4px;scroll-snap-type:x mandatory;scroll-padding:0 16px}
.newrow::-webkit-scrollbar{display:none}
.newrow .jprop1{flex:0 0 78%;scroll-snap-align:start;flex-direction:column;justify-content:space-between;gap:10px}
.newrow .jprop1 small{margin:1px 0 4px}
.newrow .qacts{margin:0}

/* calmer Jobs list */
.segc{display:flex;background:var(--secondary);border-radius:10px;padding:3px;margin:4px 0 4px}
.segc button{flex:1;border:0;background:none;border-radius:8px;padding:6px 0;font:inherit;font-size:13.5px;color:var(--muted-foreground);cursor:pointer;display:flex;justify-content:center;gap:6px}
.segc button span{font-size:12px;opacity:.7}
.segc button[aria-pressed=true]{background:var(--background);color:var(--foreground);font-weight:600;box-shadow:0 1px 2px rgba(16,39,71,.12)}
.jsec2{font-size:13px;font-weight:600;color:var(--muted-foreground);padding:14px 16px 8px}
.newrow{margin:0;padding:0 16px 2px}
.nc{flex:0 0 72%;scroll-snap-align:start;background:var(--sidebar);border:1px solid var(--border);border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:4px}
.nc b{font-size:14.5px}.nc small{font-size:12.5px;line-height:17px;color:var(--muted-foreground);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ncb{display:flex;justify-content:space-between;align-items:center;margin-top:6px}
.ilist{margin:0 16px;border:1px solid var(--border);border-radius:14px;overflow:hidden}
.jrow{display:flex;gap:12px;align-items:center;width:100%;padding:12px 12px;border:0;background:var(--background);text-align:left;font:inherit;color:inherit;cursor:pointer}
.jrow+.jrow{border-top:1px solid var(--border)}
.jrow .a-av{width:36px;height:36px;font-size:12px}
.jrow b{display:block;font-size:15px;font-weight:600}.jrow small{display:block;font-size:13px;color:var(--muted-foreground);margin-top:1px}
.jrow svg.chev{width:16px;height:16px;color:var(--muted-foreground)}
.jrow .grow{flex:1;min-width:0}

/* expandable job rows */
.jx+.jx{border-top:1px solid var(--border)}
.jx .jrow+.jrow{border-top:0}
.jx .jrow svg.chev{transition:transform .2s ease}
.jx.open .jrow svg.chev{transform:rotate(90deg)}
.jxb{padding:0 12px 12px 60px;animation:fade .2s}
.jxs{font-size:11.5px;font-weight:600;color:var(--muted-foreground);margin:8px 0 4px}
.jxi{display:flex;gap:8px;align-items:baseline;font-size:13.5px;line-height:19px;padding:3px 0;cursor:pointer}
.jxi b{font-weight:600}
.jxi .dot{width:6px;height:6px;border-radius:50%;background:var(--border-strong,#d5dde6);flex:none;transform:translateY(-1px)}
.jxi .dot.you{background:var(--primary)}

.hdot{width:10px;height:10px;border-radius:50%;flex:none}
.hdot.att{background:var(--warning-mark,#c47a1d)}
.hdot.ok{background:var(--success,#236044)}

/* Jobs list, cleaner: no box, rows like the Inbox, status as a badge on the initials */
.ilist{margin:0;border:0;border-radius:0;overflow:visible}
.jx{position:relative}
.jx+.jx{border-top:0}
.jx+.jx::before{content:"";position:absolute;left:68px;right:0;top:0;height:1px;background:var(--border)}
.jrow{padding:12px 16px;gap:14px;background:none}
.jrow .a-av{width:40px;height:40px;font-size:13px}
.avw{position:relative;flex:none}
.avw .hdot{position:absolute;right:-1px;bottom:-1px;width:12px;height:12px;border:2.5px solid var(--background);box-sizing:content-box}
.jxb{padding:0 16px 14px 70px}
.jx.open{background:var(--sidebar)}
.jx.open .avw .hdot{border-color:var(--sidebar)}
.nc{border-radius:18px;border:0;background:var(--secondary);padding:14px}
.newrow{gap:10px}

/* job page, clean: no boxes, rows like the Inbox */
.jtop{display:flex;gap:14px;align-items:center}
.jtop .a-av{width:52px;height:52px;font-size:16px}
.jtop .avw .hdot{width:13px;height:13px}
.jtop .jh{font-size:22px;line-height:28px}
.jfound{display:flex;align-items:center;gap:6px;font-size:12.5px;color:var(--muted-foreground);margin-top:10px}
.jacts{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:14px}
.jacts button{display:flex;flex-direction:column;align-items:center;gap:4px;border:0;background:var(--secondary);border-radius:14px;padding:10px 4px;font:inherit;font-size:12.5px;color:var(--foreground);cursor:pointer}
.jacts svg{width:18px;height:18px}
.jpage .card.flush{border:0;border-radius:0;background:none;margin:0}
.jpage .wrow2,.jpage .orow2,.jpage .drow,.jpage .mrow2,.jpage .mini{padding-left:0;padding-right:0}
.jpage .jsec{margin:24px 0 2px;font-size:13px}
.jpage .wrow2+.wrow2,.jpage .orow2+.orow2,.jpage .drow+.drow,.jpage .mrow2+.mrow2,.jpage .mini+.mini{border-top:1px solid var(--border)}
.jpage .files2{display:flex;gap:8px;overflow-x:auto;margin:6px -16px 0;padding:0 16px 2px}
.jpage .files2::-webkit-scrollbar{display:none}
.jpage .file{flex:0 0 132px;border:0;background:var(--secondary);border-radius:14px}
.jpage .file .ft{background:var(--background)}
.jpage .pp{border:0;background:var(--secondary)}
.jpage .ppl{margin-top:6px}
.jpage .grow{flex:1;min-width:0}

.step{display:flex;gap:12px;align-items:center;padding:10px 0}
.step+.step{border-top:1px solid var(--border)}
.step b{display:block;font-size:14px;font-weight:600}.step small{display:block;font-size:12.5px;color:var(--muted-foreground)}
.jpage .jsec{display:flex;align-items:center;gap:6px}
.jpage .jsec button,.jpage .jsec .hint{margin-left:auto}
.jpage .jsec{justify-content:flex-start}

/* Alido chat cards */
.ans .ah{padding:12px 14px 6px;font-size:14px;line-height:20px}
.arow{display:flex;gap:10px;align-items:center;padding:8px 14px;border-top:1px solid var(--border)}
.arow b{display:block;font-size:13.5px;font-weight:600}.arow b.bad{color:var(--destructive)}
.arow small{display:block;font-size:12px;color:var(--muted-foreground)}
.ans .qacts{margin-top:10px!important}
.qn .qh{display:flex;gap:8px;align-items:flex-start;padding:12px 14px 4px;font-size:14px;line-height:20px}
.qn .qc{display:flex;gap:8px;flex-wrap:wrap;padding:8px 14px 14px}
.qchip{border:1.5px solid var(--primary);background:var(--background);color:var(--primary);border-radius:999px;padding:7px 14px;font:inherit;font-size:13.5px;font-weight:600;cursor:pointer}
.dn2{display:flex;gap:8px;align-items:center;padding:10px 14px;font-size:13.5px;background:var(--success-surface,#edf6f0);border-color:transparent}
.dn2 svg{width:16px;height:16px;color:var(--success,#236044);flex:none}.dn2 span{flex:1}
.dn2 button{border:0;background:none;font:inherit;font-size:13px;font-weight:600;text-decoration:underline;color:var(--foreground);cursor:pointer}
.watch{width:100%;display:flex;align-items:center;justify-content:center;gap:6px;border:0;border-top:1px solid var(--border);background:none;padding:10px;font:inherit;font-size:13px;font-weight:600;color:var(--primary);cursor:pointer}
.watch svg{width:14px;height:14px}
/* Alido's browser, live view */
.br{border:1px solid var(--border);border-radius:14px;overflow:hidden;margin-top:8px;box-shadow:0 6px 20px -12px rgba(16,39,71,.35)}
.br .bar{display:flex;gap:6px;align-items:center;background:var(--secondary);padding:7px 10px;font-size:12px;color:var(--muted-foreground)}
.br .bar span:last-child{background:var(--background);border-radius:8px;padding:3px 8px;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.br .pg{position:relative;min-height:200px;padding:12px;background:#fff}
.kv{display:flex;align-items:baseline;gap:6px;border-bottom:1px solid #eee;padding-bottom:8px}
.kv b{letter-spacing:.18em;font-size:14px}.kv span{font-size:11px;color:#888}.kv .acct{margin-left:auto;color:#555}
.pt{font-size:13px;font-weight:600;margin:10px 0 6px}
.otab{font-size:11.5px;border:1px solid #eee;border-radius:8px;overflow:hidden}
.otab>div{display:grid;grid-template-columns:52px 1fr 56px;padding:6px 8px}
.oh{background:#f6f6f6;color:#888;font-weight:600}.or+.or,.oh+.or{border-top:1px solid #f0f0f0}
.or.hl{background:#fff6d6;box-shadow:inset 3px 0 0 #e0b100}
.or .red{color:var(--destructive);font-weight:700}
.ld{display:flex;gap:6px;justify-content:center;padding:60px 0}.ld i{width:8px;height:8px;border-radius:50%;background:#ccc;animation:bl 1s infinite}.ld i:nth-child(2){animation-delay:.15s}.ld i:nth-child(3){animation-delay:.3s}
.cur{position:absolute;width:14px;height:14px;border-radius:50%;background:rgba(47,111,228,.35);border:2px solid #2f6fe4;transition:left .6s ease,top .6s ease;pointer-events:none}
.slog{margin-top:12px;display:flex;flex-direction:column;gap:6px;font-size:13px}
.slog div{display:flex;gap:8px;align-items:center;color:var(--muted-foreground)}
.slog div.d{color:var(--foreground)}.slog div.n{color:var(--foreground);font-weight:600}
.slog svg{width:14px;height:14px;color:var(--success,#236044)}
.slog i{width:14px;height:14px;border-radius:50%;border:2px solid var(--border);box-sizing:border-box}
.slog div.n i{border-color:var(--primary);border-top-color:transparent;animation:spin .8s linear infinite}

/* "needs you" card: ask, why + deadline, what Alido did, one action, source */
.ask{padding:12px 14px}
.ask .ak{display:flex;justify-content:space-between;font-size:11.5px;font-weight:600;color:var(--muted-foreground);text-transform:uppercase;letter-spacing:.04em}
.ask .by{color:var(--foreground);background:var(--secondary);border-radius:6px;padding:1px 7px;text-transform:none;letter-spacing:0}
.ask .at{display:block;font-size:17px;line-height:23px;margin:6px 0 2px}
.ask .aw{font-size:13.5px;line-height:19px;color:var(--foreground)}
.ask .ad{display:flex;gap:7px;align-items:flex-start;font-size:13px;line-height:18px;color:var(--muted-foreground);margin-top:8px}
.ask .ad .al{margin-top:1px}
.ask .opts.in{margin:10px -14px 0;border-top:1px solid var(--border)}
.ask .mprev.in{margin:10px 0 0}
.ask .qacts.in{margin:12px 0 0}
.ask small.src{margin-top:10px}
.ask.settled{opacity:.6}
.ok .then{display:flex;gap:6px;flex-wrap:wrap;align-items:center;padding:8px 14px 0;font-size:12px;color:var(--muted-foreground)}
.ask .mprev{background:var(--primary);color:#fff;border-radius:14px 14px 6px 14px;padding:9px 12px;font-size:13.5px;line-height:19px}
/* full-sentence cards */
.ask p{margin:0}
.ask .at{font-size:15.5px;line-height:22px;margin:6px 0 6px;font-weight:500}
.ask .ad2{font-size:13.5px;line-height:20px;color:var(--muted-foreground)}
.ask .aq{font-size:14px;line-height:20px;font-weight:600;margin-top:10px}
.ask .aq.done{display:flex;gap:6px;align-items:flex-start;font-weight:500;color:var(--muted-foreground)}
.ask .aq.done svg{width:15px;height:15px;color:var(--success,#236044);flex:none;margin-top:2px}
.ask .ak{text-transform:none;letter-spacing:0;font-size:12px}
.ans .ah{font-size:14px;line-height:20px}
.arow small{line-height:17px}

/* nudges: Alido notices and offers; nothing happens until you tap */
.nudge{align-self:stretch;background:var(--secondary);border-radius:16px;padding:11px 13px 12px;margin-bottom:2px}
.nudge .nk{display:flex;align-items:center;gap:5px;font-size:12px;color:var(--muted-foreground);font-weight:500}
.nudge .nk svg{width:13px;height:13px}
.nudge .nt{font-size:14.5px;line-height:20px;margin-top:3px}
.nudge .qacts.in{margin:10px 0 0}
.nudge .nd{display:flex;gap:6px;align-items:center;font-size:13px;color:var(--muted-foreground);margin-top:8px}
.nudge .nd svg{width:14px;height:14px;color:var(--success,#236044)}
.nudge.settled .nt{color:var(--muted-foreground)}

/* calm demo thread */
.bact{margin:-2px 0 6px}
.bdone{display:flex;gap:5px;align-items:center;font-size:12.5px;color:var(--muted-foreground);margin:-2px 0 6px 4px}
.bdone svg{width:13px;height:13px;color:var(--success,#236044)}
.bsrc{display:flex;gap:4px;align-items:center;font-size:11.5px;color:var(--muted-foreground);margin:-4px 0 4px 6px}
.bsrc svg{width:11px;height:11px}
.thread{gap:6px}

.bopts{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 6px}
.qchip.sm{padding:5px 11px;font-size:12.5px;border-width:1.3px}

/* ---------- full-screen fake compose and call (demo: nothing is sent) ---------- */
.overlay.full{justify-content:stretch;z-index:50}
.cmp{position:absolute;inset:0;background:var(--background);display:flex;flex-direction:column;animation:up .22s ease-out;padding-top:env(safe-area-inset-top)}
.cmp .ch{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;border-bottom:1px solid var(--border)}
.cmp .ch>button{background:none;border:0;color:var(--primary);font-size:16px;padding:6px 4px;min-width:52px;text-align:left}
.cmp .ch>b{flex:1;text-align:center;font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cmp .send{width:34px;height:34px;min-width:0!important;border-radius:50%;background:var(--primary)!important;color:#fff!important;display:grid;place-items:center}
.cmp .send svg,.cbar button svg{width:18px;height:18px}
.cmp .cf{display:flex;gap:8px;align-items:center;padding:11px 16px;border-bottom:1px solid var(--border);font-size:15px;color:var(--muted-foreground)}
.cmp .cf b{color:var(--foreground);font-weight:500}
.cmp .pill{background:var(--secondary);border-radius:999px;padding:2px 10px}
.cmp.mail textarea{flex:1;border:0;resize:none;padding:14px 16px;font:inherit;font-size:16px;line-height:1.45;color:var(--foreground);background:transparent;outline:none}
.cnote{font-size:12px;color:var(--muted-foreground);text-align:center;padding:8px 0 calc(8px + env(safe-area-inset-bottom))}
.cmp.sms .cto{flex:1;display:flex;flex-direction:column;align-items:center;gap:3px;font-size:12px}
.cmp.sms .cto .a-av,.call .a-av{width:40px;height:40px;font-size:14px;color:#fff}
.cmp.sms .cbody{flex:1;display:flex;align-items:flex-end;justify-content:center}
.cbar{display:flex;align-items:flex-end;gap:8px;padding:8px 10px calc(8px + env(safe-area-inset-bottom));border-top:1px solid var(--border)}
.cbar textarea{flex:1;border:1px solid var(--border);border-radius:20px;padding:9px 14px;font:inherit;font-size:16px;line-height:1.35;resize:none;background:var(--background);color:var(--foreground);outline:none}
.cbar button{width:34px;height:34px;flex:none;border:0;border-radius:50%;background:#1a8cff;color:#fff;display:grid;place-items:center;margin-bottom:3px}
.call{position:absolute;inset:0;background:linear-gradient(#2b3a52,#0d1726);color:#fff;display:flex;flex-direction:column;align-items:center;padding:calc(70px + env(safe-area-inset-top)) 24px calc(40px + env(safe-area-inset-bottom));gap:10px;animation:fade .2s}
.call small{opacity:.75;font-size:14px}
.call .a-av{width:96px;height:96px;font-size:34px;margin-top:10px}
.call h2{margin:4px 0 0;font-size:28px;font-weight:500}
.ckeys{margin-top:auto;display:flex;gap:28px}
.ckeys button{background:none;border:0;color:#fff;display:flex;flex-direction:column;align-items:center;gap:6px;font-size:12px}
.ckeys i{width:64px;height:64px;border-radius:50%;background:rgba(255,255,255,.16)}
.hang{margin-top:34px;width:68px;height:68px;border:0;border-radius:50%;background:#e5372f;color:#fff;display:grid;place-items:center}
.hang svg{width:28px;height:28px;transform:rotate(135deg)}

/* installed on a phone: fill the screen, respect the notch and home bar */
@media (max-width:760px){
  .phone{padding-top:env(safe-area-inset-top)}
  #tabwrap{padding-bottom:env(safe-area-inset-bottom);background:var(--sidebar)}
}
.ckeys i{display:grid;place-items:center}.ckeys i svg{width:26px;height:26px}
