@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Geist+Mono:wght@400;500&display=swap');
/* a double tap is two taps, never a zoom (keypad keys, call buttons); the apps also lock pinch zoom (teamandroid.js) */
html{touch-action:manipulation;-webkit-text-size-adjust:100%}
/* Material 3 tonal palette from the brand seed #4332B8 (HCT hue 290): light = tone 40 brand on tone 98 surfaces, dark = tone 80 brand on tone 6 surfaces */
:root{--nav-ink:#3f3e47;--link:#0079b8;--bg:#f4f2f8;--surface:#ffffff;--muted-bg:#ebe7ef;--ink:#1c1b20;--ink-2:#47464f;--muted:#6e6c76;--border:#d5d2dc;--soft:#e8e5ec;--brand:#4332b8;--brand-dark:#36187d;--brand-light:#e4dfff;--on-brand:#fff;--bubble-me:#4332b8;--card-dark:#1d1a33;
  --danger:#d92d20;--danger-ink:#b42318;--success:#0a8f5c;--success-ink:#0a7a4f;--warn:#825500;--sms:#0f766e;--sms-light:#dff3f0;--r:12px;
  --font:"Geist",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;--head:"Geist",system-ui,sans-serif}
*{box-sizing:border-box}html,body{margin:0;height:100%;background:var(--bg);color:var(--ink);font:14px/1.45 var(--font)}
button,input,select,textarea{font:inherit;color:inherit}a{color:var(--link);text-decoration:none}
.hidden{display:none!important}.muted{color:var(--muted)}.err{color:var(--danger);font-size:13px;min-height:18px}
.ico{width:18px;height:18px;flex:none}
.btn{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--border);background:var(--surface);border-radius:var(--r);padding:7px 12px;font-weight:600;font-size:13px;cursor:pointer;white-space:nowrap}
.btn:hover{background:var(--muted-bg)}.btn.p{background:var(--brand);border-color:var(--brand);color:#fff}.btn.p:hover{background:var(--brand-dark)}
.btn.ghost{border-color:transparent;background:transparent}.btn.ghost:hover{background:var(--muted-bg)}.btn.icon{padding:7px}.btn:disabled{opacity:.5;cursor:default}
input,select,textarea{border:1px solid var(--border);border-radius:var(--r);padding:9px 11px;background:var(--surface);width:100%}
input:focus,select:focus,textarea:focus{outline:0;border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-light)}
label{font-size:12px;font-weight:600;color:var(--ink-2);display:block;margin:10px 0 4px}

/* login */
.login{min-height:100vh;display:grid;place-items:center;padding:24px}
.login form{width:100%;max-width:360px;background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:26px;box-shadow:0 12px 30px #1c191712}
.wm{font-family:var(--head);font-weight:700;letter-spacing:.06em;font-size:20px}.wm small{display:block;font:600 10px var(--font);letter-spacing:.08em;color:var(--muted);text-transform:uppercase;margin-top:2px}

/* shell */
.shell{display:grid;grid-template-columns:340px minmax(0,1fr);height:100vh;height:100dvh;border-top:3px solid var(--brand)}
.rail{background:var(--surface);border-right:1px solid var(--border);display:flex;flex-direction:column;min-height:0}
.me{display:flex;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid var(--soft)}
.me .who{flex:1;min-width:0}.me .who b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.me select{width:auto;padding:3px 24px 3px 8px;font-size:12px;border-radius:99px;margin-top:2px}
.tabs{display:flex;gap:4px;padding:10px 12px 0}.tabs button{flex:1;border:0;background:none;padding:8px 0;font-weight:600;color:var(--muted);border-bottom:2px solid transparent;cursor:pointer}
.tabs button.on{color:var(--ink);border-color:var(--brand)}.tabs .n{background:var(--brand);color:#fff;border-radius:99px;font-size:10px;padding:1px 6px;margin-left:4px}
.find{display:flex;gap:8px;padding:10px 12px;border-bottom:1px solid var(--soft)}.find input{padding:7px 10px}
.list{overflow:auto;flex:1}
.row{display:flex;gap:10px;padding:10px 14px;cursor:pointer;border-bottom:1px solid var(--soft);align-items:center}
.row:hover{background:var(--muted-bg)}.row.on{background:var(--brand-light)}
.row .mid{flex:1;min-width:0}.row .top{display:flex;gap:6px;align-items:baseline}.row .top b{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:600}
.row .top time{font-size:11px;color:var(--muted);flex:none}.row .sub{display:flex;gap:6px;align-items:center;color:var(--muted);font-size:13px}
.row .sub span.t{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.row.unread .top b,.row.unread .sub span.t{color:var(--ink);font-weight:700}
.badge{background:var(--brand);color:#fff;border-radius:99px;font-size:11px;font-weight:700;min-width:20px;height:20px;display:inline-grid;place-items:center;padding:0 6px}
.tag{font-size:10.5px;font-weight:600;border-radius:99px;padding:1px 7px;background:var(--muted-bg);color:var(--ink-2);white-space:nowrap}
.tag.sms{background:var(--sms-light);color:var(--sms)}.tag.done{background:#ecfdf5;color:var(--success)}.tag.mine{background:var(--brand-light);color:var(--brand)}
.av{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;font:700 14px var(--head);color:#fff;flex:none;position:relative;background:#6b7280}
.av .avimg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:inherit}.av i{z-index:1}
.av.sm{width:30px;height:30px;border-radius:50%;font-size:12px}.av i{position:absolute;right:-2px;bottom:-2px;width:11px;height:11px;border-radius:99px;border:2px solid var(--surface);background:var(--muted)}
.av i.on{background:var(--success)}.av.sms{background:var(--sms)}.av.grp{background:var(--brand)}
.st{display:inline-block;width:8px;height:8px;border-radius:99px;margin-right:4px}
.empty{padding:40px 20px;text-align:center;color:var(--muted)}

/* conversation */
.conv{display:flex;flex-direction:column;min-height:0;min-width:0;background:var(--bg);position:relative;overflow:hidden}
.head{display:flex;align-items:center;gap:10px;padding:10px 16px;background:var(--surface);border-bottom:1px solid var(--border);min-height:62px}
.head .t{flex:1;min-width:0}.head .t b{font:700 15px var(--head);display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.head .t div{font-size:12.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.head .acts{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end;flex:none}
.m>div{min-width:0}
.back{display:none}.mob{display:none}
.msgs{flex:1;overflow:auto;padding:14px 18px 6px;display:flex;flex-direction:column;gap:2px}
.day{align-self:center;font-size:11.5px;font-weight:600;color:var(--muted);background:var(--surface);border:1px solid var(--soft);border-radius:99px;padding:2px 10px;margin:12px 0 8px}
.sys{align-self:center;font-size:12px;color:var(--muted);margin:6px 0;text-align:center}
.m{display:flex;gap:8px;max-width:min(680px,82%);align-items:flex-end}.m.mine{align-self:flex-end;flex-direction:row-reverse}
.m .gap{width:30px;flex:none}
.bub{background:var(--surface);border:1px solid var(--soft);border-radius:14px;padding:7px 11px;box-shadow:0 1px 1px #1c19170a;min-width:0;overflow-wrap:anywhere}
.m.mine .bub{background:var(--bubble-me);border-color:var(--bubble-me);color:#fff}.m.mine.sms .bub{background:var(--sms);border-color:var(--sms)}
.m.first{margin-top:8px}.bub .nm{font-size:12px;font-weight:700;color:var(--brand);margin-bottom:2px}.m.mine .bub .nm{color:#ffffffcc}
.bub .tx{white-space:pre-wrap}.bub .tx a{color:inherit;text-decoration:underline}
.meta{font-size:11px;color:var(--muted);margin:2px 4px 0;display:flex;gap:6px;justify-content:flex-end}.m:not(.mine) .meta{justify-content:flex-start}
.meta .seen{color:var(--brand);font-weight:600}.meta .fail{color:var(--danger);font-weight:600}
.pics{display:grid;gap:4px;margin:2px 0 4px;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));min-width:200px}
.pics img{width:100%;height:150px;object-fit:cover;border-radius:9px;cursor:zoom-in;display:block;background:#0001}
.pics.one{grid-template-columns:1fr}.pics.one img{height:auto;max-height:320px;max-width:320px;object-fit:contain}
.doc{display:flex;gap:10px;align-items:center;background:#0000000a;border-radius:9px;padding:8px 10px;margin:3px 0;color:inherit;min-width:200px}
.m.mine .doc{background:#ffffff26}.doc .i{width:34px;height:34px;border-radius:8px;background:var(--surface);color:var(--brand);display:grid;place-items:center;font:700 10px var(--head);flex:none;text-transform:uppercase}
.doc div{min-width:0}.doc b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px}.doc small{opacity:.75}
.typing{height:22px;padding:0 20px;font-size:12px;color:var(--muted);font-style:italic}
.banner{margin:0 16px 8px;padding:9px 12px;border-radius:var(--r);background:#fff7e6;border:1px solid #fde2b1;font-size:13px;display:flex;gap:10px;align-items:center}
.banner.red{background:#fef2f2;border-color:#fecaca}
.compose{padding:8px 14px 14px;background:transparent}
.cbox{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:6px;display:flex;flex-direction:column;gap:6px}
.cbox:focus-within{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-light)}
.cbox textarea{border:0;box-shadow:none!important;resize:none;max-height:160px;padding:6px 8px;min-height:36px}
.cbar{display:flex;align-items:center;gap:6px}.cbar .sp{flex:1;font-size:11.5px;color:var(--muted)}
.att{display:flex;gap:6px;flex-wrap:wrap;padding:2px 4px}.att .a{position:relative;border:1px solid var(--soft);border-radius:9px;padding:4px 26px 4px 4px;display:flex;gap:6px;align-items:center;font-size:12px;max-width:220px;background:var(--muted-bg)}
.att .a img{width:40px;height:40px;object-fit:cover;border-radius:6px}.att .a span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.att .a button{position:absolute;right:3px;top:3px;border:0;background:#0000001a;border-radius:99px;width:18px;height:18px;cursor:pointer;font-size:11px;line-height:1}
.att .a.up{opacity:.55}
.drop{position:absolute;inset:0;background:#4332b8d9;color:#fff;display:grid;place-items:center;font:700 18px var(--head);z-index:5;border:3px dashed #fff;border-radius:12px;margin:8px}
.more{align-self:center;margin:6px 0}

/* modal, lightbox, menu */
.ov{position:fixed;inset:0;background:#1a1a1e66;display:grid;place-items:center;z-index:20;padding:16px}
.mod{background:var(--surface);border-radius:14px;width:100%;max-width:440px;padding:20px;box-shadow:0 20px 50px #0003;max-height:90vh;overflow:auto}
.mod h2{margin:0 0 6px;font:700 17px var(--head)}.mod .foot{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}
.pick{max-height:260px;overflow:auto;border:1px solid var(--soft);border-radius:var(--r);margin-top:6px}
.pick label{display:flex;gap:10px;align-items:center;margin:0;padding:8px 10px;font-weight:500;font-size:14px;border-bottom:1px solid var(--soft);cursor:pointer}.pick input{width:auto}
.lb{position:fixed;inset:0;background:#000d;z-index:30;display:grid;place-items:center;cursor:zoom-in;touch-action:none;overflow:hidden;user-select:none;-webkit-user-select:none}
.lb img{max-width:94vw;max-height:88vh;border-radius:6px;transform-origin:center;will-change:transform;-webkit-user-drag:none;pointer-events:none}
.lb.zoomed{cursor:grab}.lb.zoomed img{border-radius:0}
.lb .lbx{position:fixed;top:calc(env(safe-area-inset-top,0px) + 12px);right:14px;width:40px;height:40px;border-radius:50%;border:0;background:#0009;color:#fff;font:400 26px/40px var(--font);cursor:pointer;z-index:1;padding:0}
.lb a{position:fixed;top:14px;right:16px;color:#fff;background:#ffffff22;padding:6px 12px;border-radius:8px;font-weight:600}
.menu{position:absolute;background:var(--surface);border:1px solid var(--border);border-radius:var(--r);box-shadow:0 12px 30px #1c191724;padding:4px;z-index:15;min-width:210px}
.menu button{display:flex;gap:8px;width:100%;border:0;background:none;padding:9px 10px;border-radius:7px;cursor:pointer;text-align:left;align-items:center}.menu button:hover{background:var(--muted-bg)}
.conn{position:fixed;bottom:12px;left:50%;transform:translateX(-50%);background:var(--card-dark);color:#fff;padding:6px 14px;border-radius:99px;font-size:12.5px;z-index:40}

@media (max-width:760px){
  .shell{grid-template-columns:minmax(0,1fr)}.head{padding:8px 10px;gap:8px}.head .acts .btn{padding:7px 9px}.head .av{display:none}.shell.open .rail{display:none}.shell:not(.open) .conv{display:none}
  .back{display:inline-flex}.mob{display:inline}.m{max-width:92%}.head .acts .lbl{display:none}
}

/* phone */
.callcard{margin:8px 10px 0;padding:10px;border-radius:12px;background:var(--card-dark);color:#fff}
.callcard.ringing{background:var(--brand);animation:pulse 1.2s ease-in-out infinite}
@keyframes pulse{50%{box-shadow:0 0 0 6px #4332b833}}
.callcard .ct{display:flex;gap:10px;align-items:center}.callcard .cw{min-width:0;flex:1}.callcard .cw b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.callcard .cw div{font-size:12.5px;opacity:.8}.callcard .av{background:#ffffff30!important}
.cbtns{display:flex;gap:6px;margin-top:10px;align-items:center}.callcard .btn{background:#ffffff1f;border-color:transparent;color:#fff}.callcard .btn:hover{background:#ffffff33}
.callcard .btn.on{background:var(--surface);color:var(--ink)}.btn.cg{background:var(--success)!important;border-color:var(--success)!important;color:#fff!important}.btn.cr{background:var(--danger)!important;border-color:var(--danger)!important;color:#fff!important}
.callcard .cbtns .cg,.callcard .cbtns .cr{flex:1;justify-content:center}
.pkeys{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin-top:8px}.pkeys .btn{justify-content:center;font-size:16px}
.dial{padding:12px 14px;border-bottom:1px solid var(--soft)}
.dstat{display:flex;align-items:center;gap:4px;font-size:12.5px;color:var(--muted);margin-bottom:8px}.tog{margin:0 0 0 auto;display:flex;gap:5px;align-items:center;font-weight:500;font-size:12.5px;color:var(--ink-2)}.tog input{width:auto}
.dnum{display:flex;gap:8px}.dnum input{font-size:17px;letter-spacing:.03em}
.dpad{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:10px}
.dpad button{border:1px solid var(--soft);background:var(--surface);border-radius:10px;padding:7px 0;font-size:18px;cursor:pointer}.dpad button:hover{background:var(--muted-bg)}
.dpad small{display:block;font-size:9px;letter-spacing:.14em;color:var(--muted)}
.hist .row{cursor:pointer}
.cerr{margin-top:8px;font-size:12px;background:var(--surface);color:var(--danger);border-radius:8px;padding:6px 8px}
.login .logo{height:34px;display:block;margin-bottom:18px}.logosub{font:700 10px var(--font);letter-spacing:.16em;color:var(--brand);margin:6px 0 14px}
.linkbtn{background:none;border:0;color:var(--brand);cursor:pointer;padding:0;font-size:13px;margin-top:12px}
.faxpdf{flex:1;width:100%;border:0;background:var(--surface);min-height:0}
.faxline{padding:0 14px 8px;color:var(--muted);font-size:12.5px}.lk.touch .faxline{padding:0 16px 10px;font-size:13px}
.faxbar{display:flex;flex-wrap:wrap;gap:8px;padding:10px 14px 4px}.faxbar .btn{gap:6px}.faxbar .btn .ico{width:16px;height:16px}.faxbar .btn.red{color:var(--danger-ink)}
.faxmeta{padding:2px 16px 8px;color:var(--muted);font-size:12.5px}
.faxpages{flex:1;min-height:0;overflow:auto;background:var(--muted-bg);padding:10px 10px 24px;-webkit-overflow-scrolling:touch}
.faxpages figure{margin:0 0 14px}.faxpages img{display:block;width:100%;height:auto;background:#fff;border-radius:6px;box-shadow:0 1px 4px #0000002b;min-height:120px}
.faxpages img.z{width:220%;max-width:none}.faxpages figcaption{text-align:center;color:var(--muted);font-size:12px;padding:6px 0 0;position:sticky;left:0}
.lk.touch .faxbar{padding:10px 12px 4px}.lk.touch .faxbar .btn{min-height:40px;border-radius:999px;padding:0 14px;font-weight:600;background:var(--brand-light);color:var(--brand);border-color:transparent}
.lk.touch .faxbar .btn.p{background:var(--brand);color:var(--on-brand)}.lk.touch .faxbar .btn.red{background:color-mix(in srgb,var(--danger) 12%,transparent);color:var(--danger-ink)}
.aicard{background:var(--surface);border:1px solid var(--soft);border-radius:12px;padding:12px 14px;margin:4px 0 10px}.aicard ul{margin:8px 0 0;padding-left:18px}
.vmtext{background:var(--surface);border-radius:12px;border:1px solid var(--soft);padding:12px 14px;font-style:italic;color:var(--ink-2)}
.tline{display:flex;gap:10px;padding:3px 0;font-size:13.5px}.tline>span:first-child{width:36px;flex:none}.tline b{width:42px;flex:none}
.sugg{display:flex;flex-direction:column;gap:5px;padding:0 4px}.sugg:empty{display:none}
.chipbtn{text-align:left;border:1px solid var(--brand-light);background:var(--brand-light);color:var(--ink);border-radius:10px;padding:7px 10px;cursor:pointer;font-size:13px}.chipbtn:hover{border-color:var(--brand)}
.asbar{background:#fef3c7;border-bottom:1px solid #fcd34d;color:#78350f;padding:7px 14px;font-size:13px;display:flex;gap:10px;align-items:center;justify-content:center;flex-wrap:wrap}
.asbar button{border:0;background:#78350f;color:#fff;border-radius:8px;padding:4px 12px;font-weight:600;cursor:pointer}
body:has(.asbar){display:flex;flex-direction:column;height:100dvh}body:has(.asbar) #root{flex:1;min-height:0;display:flex;flex-direction:column}body:has(.asbar) .shell{flex:1;min-height:0;height:auto}.asbar{flex:none}

/* dark theme: follows the admin console's choice (same browser) or the computer's setting */
[data-theme=dark]{color-scheme:dark;--nav-ink:#c8c5d0;--link:#6ccbf7;--bg:#131318;--surface:#1c1b20;--muted-bg:#2a292f;--ink:#e5e1e9;--ink-2:#c8c5d0;--muted:#928f99;--border:#47464f;--soft:#26252b;--brand:#c6c0ff;--brand-dark:#a8a0ff;--brand-light:#362c86;--on-brand:#27029f;--bubble-me:#5749cd;--danger:#e5484d;--danger-ink:#ffb4ab;--success:#1fa85a;--success-ink:#8ed885;--warn:#ffb94e;--sms:#0f766e;--sms-light:#10302c}
[data-theme=dark] input,[data-theme=dark] select,[data-theme=dark] textarea{background:var(--muted-bg);color:var(--ink);border-color:var(--border)}
[data-theme=dark] img[src="/denemo.svg"]{filter:invert(1) hue-rotate(180deg) brightness(1.2)}
/* two lines, conference, "continue here" (teamphone.js) */
.callcard .cline{display:flex;gap:6px;align-items:center;padding:6px 8px;margin:-2px -2px 8px;border-radius:9px;background:#ffffff1a;font-size:12.5px}
.callcard .cline .cw{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.callcard .cline .btn{padding:3px 8px;font-size:12px}
.callcard .cdot{width:8px;height:8px;border-radius:50%;background:#fbbf24;flex:none}.callcard .cdot.ring{background:#34d399;animation:pulse 1s infinite}
.callcard .cnote{margin-top:8px;font-size:12px;opacity:.85}
.callcard .confm{margin-top:10px;border-top:1px solid #ffffff26;padding-top:8px}.callcard .confm .cm{display:flex;gap:6px;align-items:center;padding:3px 0;font-size:12.5px}
.callcard .confm .cm .cw{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.callcard .confm small{opacity:.7}.callcard .confm .btn{padding:2px 8px;font-size:12px}
.callcard .confm .cm.cmw .cw{opacity:.8}.callcard .confm .cmf{color:#ffb4ab;opacity:1}
.callcard.pull{background:var(--brand)}.callcard.pull .ct+.ct{margin-top:8px}.callcard.pull .btn{flex:none}
/* the call on my other phone: five equal buttons in one row, an icon over a short word, so they fit any card (2026-10-16:
   in a 360 px card the worded buttons ran off the right edge and the card scrolled sideways, End out of sight) */
.callcard.pull .pbtns{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
.callcard.pull .pbtns .btn{flex-direction:column;justify-content:center;align-items:center;gap:3px;min-width:0;height:auto;min-height:46px;padding:6px 2px 5px;border-radius:12px;font-size:11.5px;line-height:1.1}
.callcard.pull .pbtns .btn .ico{width:17px;height:17px;flex:none}
.callcard.pull .pbtns .btn span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lk.mini .callcard.pull .pbtns .btn{min-height:52px;border-radius:14px}
.btn.s{padding:4px 10px;font-size:12.5px}
/* My settings (teamsettings.js) */
.msgs.settings{padding:14px 18px;gap:0}.settings section{border-bottom:1px solid var(--border);padding:12px 0 16px}.settings section:last-child{border-bottom:0}
.settings h3{margin:0 0 4px;font:600 15px var(--head, inherit)}.settings .muted{font-size:12.5px;margin:4px 0}
.settings table.fw{border-collapse:collapse;width:100%;font-size:13px}.settings table.fw th{text-align:left;font-weight:600;font-size:11.5px;color:var(--muted);padding:6px 6px;white-space:nowrap}
.settings table.fw td{padding:5px 6px;border-top:1px solid var(--border-soft,var(--border));vertical-align:top}.settings .fwsel{max-width:190px}.settings .fwnum{display:block;margin-top:4px;max-width:190px}
.settings .frow{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:8px 0}.settings .frow input:not([type=checkbox]){max-width:220px}
.settings .chk{display:flex;gap:8px;align-items:center;margin:8px 0}.settings .chk input{width:auto}
.settings .right{display:flex;gap:10px;align-items:center;justify-content:flex-end;margin-top:10px}.settings .st{display:inline-block;width:8px;height:8px;border-radius:50%}
.settings .tscroll{overflow-x:auto}
/* People tab (teampeople.js) */
.pseg{display:flex;gap:4px;align-items:center;padding:8px 10px;border-bottom:1px solid var(--border);position:sticky;top:0;background:var(--surface);z-index:2}
.pseg button[data-v]{border:1px solid var(--border);background:none;border-radius:999px;padding:4px 12px;font-size:12.5px;cursor:pointer;color:var(--ink)}.pseg button[data-v].on{background:var(--brand);border-color:var(--brand);color:#fff}
.row .star{font-size:16px;color:var(--muted);padding:2px 6px}.row .star.on{color:#f59e0b}
.settings .fwcard{border:1px solid var(--border);border-radius:10px;padding:8px 12px;margin:8px 0}.settings .fwcard summary{cursor:pointer;display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.settings .fwcard summary .muted{font-size:12px}.settings .fwcard[open] summary{margin-bottom:6px}
.badge.dot{width:8px;height:8px;padding:0;min-width:0;border-radius:50%}
.qdot{display:inline-block;width:8px;height:8px;border-radius:50%;margin:0 4px;flex:none}
/* quick keys (teamkeys.js) */
.fkeys{display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:6px;padding:4px 12px 8px}
.fk{display:flex;align-items:center;gap:6px;border:1px solid var(--border);background:var(--surface);color:var(--ink);border-radius:8px;padding:7px 8px;font-size:12.5px;cursor:pointer;text-align:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.fk i{width:8px;height:8px;border-radius:50%;background:transparent;flex:none;border:1px solid var(--border)}.fk.free i{background:#059669;border-color:#059669}.fk.busy i{background:#dc2626;border-color:var(--danger-ink)}
.fk.off i{background:#9ca3af;border-color:#9ca3af}.fk.ring i{background:#16a34a;border-color:#16a34a;animation:pulse .8s infinite}.fk.ring{border-color:#16a34a}
.hf{border:1px solid var(--border);background:none;border-radius:999px;padding:1px 8px;font-size:11.5px;cursor:pointer;color:var(--ink);text-transform:none;letter-spacing:0}.hf.on{background:var(--brand);border-color:var(--brand);color:#fff}
/* ---------- Linkus-style frame: left icon navigation, top toolbar, list + detail, floating call window ---------- */
.lk.shell{display:grid;grid-template-columns:76px minmax(0,1fr);grid-template-rows:60px minmax(0,1fr);grid-template-areas:"nav top" "nav body";height:100vh;height:100dvh;border-top:0}
.lknav{grid-area:nav;background:var(--bg);color:var(--nav-ink);border-right:1px solid var(--border);display:flex;flex-direction:column;align-items:stretch;padding:8px 6px;gap:2px;overflow-y:auto}
.lklogo{width:46px;margin:6px auto 14px}
.lknav button,.lknav a{position:relative;display:flex;flex-direction:column;align-items:center;gap:3px;border:0;background:none;color:inherit;padding:8px 2px;border-radius:10px;cursor:pointer;font-size:10.5px;font-weight:600;text-decoration:none;line-height:1.1}
.lknav button .ico,.lknav a .ico{width:21px;height:21px}.lknav button:hover,.lknav a:hover{background:color-mix(in srgb,var(--brand) 9%,transparent);color:var(--nav-ink)}.lknav button.on{background:var(--brand);color:#fff}
.lknav .n{position:absolute;top:3px;right:9px;background:#dc2626;color:#fff;border-radius:99px;font-size:9.5px;padding:1px 5px;font-weight:700}
.lknav .lkgrow{flex:1}.lknav #thm,.lknav a{font-size:14px}.lknav #thm span,.lknav a span{font-size:10.5px}
.lktop{grid-area:top;display:flex;align-items:center;gap:12px;padding:0 16px;background:var(--surface);border-bottom:1px solid var(--border);min-width:0}
.lktop .me{border:0;padding:0;gap:10px;min-width:0}.lktop .me .who b{font-size:14px}.lktop .whost{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.lktop .whost select{margin:0}
.lktop .tgrow{flex:1}.tbar-dial{display:flex;align-items:center;gap:8px;min-width:0}
.tdial{display:flex;align-items:center;gap:4px;border:1px solid var(--border);border-radius:99px;padding:3px 4px 3px 12px;background:var(--bg);width:min(380px,40vw)}
.tdial input{border:0;background:none;padding:6px 4px;min-width:0;flex:1;color:var(--ink);-webkit-text-fill-color:var(--ink);caret-color:var(--brand)}.tdial input:focus{outline:none;box-shadow:none;border:0;background:none}.tdial input::placeholder{color:var(--muted);-webkit-text-fill-color:var(--muted)}.tdial .btn.cg{border-radius:50%;padding:0;width:30px;height:30px;justify-content:center;flex:none}.tdial .st{width:9px;height:9px;border-radius:50%;flex:none}
.tcid{width:auto;max-width:210px;padding:6px 26px 6px 10px;font-size:12.5px;border-radius:99px}
/* the live RING-101 logo: its four bars ARE the signal (user): four = excellent, three = good, two = medium, one = poor, none = no connection; a bar that is not lit is not drawn */
.sigl{cursor:pointer;flex:none}.sigl svg{display:block;width:100%;height:auto}.sigl svg.wd{display:none}
.sigl rect{fill:#0098da;opacity:0;transition:opacity .3s}.sigl.l4 rect,.sigl.l3 rect,.sigl.l2 rect:nth-of-type(-n+2),.sigl.l1 rect:nth-of-type(1){opacity:1}
.sigl .dk{display:none}[data-theme=dark] .sigl .lt{display:none}[data-theme=dark] .sigl .dk{display:inline}
.sigl.top{display:none;width:38px;margin:0 2px 0 0;order:9}.lk.touch .sigl.top{display:block}@media (max-width:760px){.sigl.top{display:block}}
/* "Call with" (which of my phones places the call) and the Mobile set-up button in the top bar */
.tvia{gap:6px;max-width:190px;border-radius:99px;border:1px solid var(--border);padding:5px 12px;font-size:12.5px}.tvia .ico{width:16px;height:16px;flex:none;color:var(--brand)}.tvia .lbl{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tvia.off,.kvia.off{opacity:.6}#mqr{gap:5px;flex:none}#mqr .ico{width:17px;height:17px}.lk.touch #mqr,.lk.mini #mqr{display:none}
@media (max-width:1180px){.tvia .lbl,#mqr .lbl{display:none}.tvia{padding:5px 9px}}@media (max-width:760px){#mqr{display:none}}
/* ---------- The full window (2026-10-05): the phones' menu and a top bar that takes one row ----------
   The side bar is the phones' bottom bar turned upright (Calls · Chat · Quick keys · Fax; Admin at its foot). My status and
   my queues are one line under my name that opens the account menu — the two boxes that sat there are gone, and so is the
   Keys button (Quick keys is a page now). What is left fits one row: who I am, the dial box (it takes the free room), the
   number my calls show, Call with, Mobile, Dialer. */
.lktop .whost{display:none}
.mest{display:flex;align-items:center;gap:6px;border:0;background:none;padding:0;margin:0;min-width:0;max-width:100%;color:var(--muted);font:500 12px/1.3 var(--font);cursor:pointer;text-align:left}
.mest i{width:8px;height:8px;border-radius:50%;flex:none}.mest span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mest::after{content:'';flex:none;width:5px;height:5px;margin:-3px 0 0 1px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);opacity:.75}
.mest:hover{color:var(--ink)}.lk.touch .mest{display:none}
@media (min-width:761px){
  .lk:not(.mini) .lktop .tgrow{display:none}
  .lk:not(.mini) .lktop .me{flex:0 0 auto;min-width:0;max-width:240px}.lk:not(.mini) .lktop .me .who{min-width:0}.lk:not(.mini) .lktop .me .who b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .lk:not(.mini) .lktop .tbar-dial{flex:1 1 auto;justify-content:flex-end}
  .lk:not(.mini) .lktop .tdial{flex:1 1 170px;width:auto;min-width:150px;max-width:440px;margin-right:auto}      /* the dial box takes what is left AFTER the number picker has shown its whole line */
  .lk:not(.mini) .lktop .tcid{flex:0 1 auto;min-width:126px;max-width:260px}
  .lk:not(.mini) .lktop .tvia,.lk:not(.mini) .lktop #mqr,.lk:not(.mini) .lktop .mctl{flex:none}
}
@media (max-width:1180px){#mmin .lbl{display:none}}
/* (Until 2026-10-06 a full window under ~860 px put the dial box and the number on a second row. With the four tool icons
   gone to the side bar, who I am, the number and the dial box fit one row at every width of the full window: see the
   761–879 px rules at the end of the desktop block.) */
/* ---------- The full window as a desktop app (2026-10-05, second pass; class deskbar on the shell) ----------
   User: "make it feel more like a desktop app with more options available than the mobile app, again text can be smaller".
   The side bar has words and sections (Phone / People / Messages / Tools; Settings and Admin at its foot) and folds to
   icons under 880 px; the chosen item is tinted, not filled. Text is a notch smaller than the phones' everywhere in the
   full window (12.5 px base, 48 px top bar, tighter rows, tabs and buttons), so a small window shows more. */
@media (min-width:761px){
  .lk.deskbar{grid-template-columns:158px minmax(0,1fr);grid-template-rows:48px minmax(0,1fr);font-size:12.5px}
  .lk.deskbar .lknav{padding:8px;gap:1px}
  .lk.deskbar .lklogo{width:38px;margin:4px 0 4px 8px}
  .lk.deskbar .lknav button,.lk.deskbar .lknav a{flex-direction:row;justify-content:flex-start;gap:9px;padding:6px 11px;border-radius:99px;font-size:12.5px;line-height:1.2;text-align:left}
  .lk.deskbar .lknav button .ico,.lk.deskbar .lknav a .ico{width:16px;height:16px;flex:none}
  .lk.deskbar .lknav button span,.lk.deskbar .lknav a span{font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .lk.deskbar .lknav button.on{background:var(--brand-light);color:var(--brand)}
  .lk.deskbar .lknav .n{position:static;margin-left:auto;font-size:10px}
  .lksec{padding:11px 9px 3px;font:700 9.5px var(--font);letter-spacing:.09em;text-transform:uppercase;color:var(--muted)}
  .lk.deskbar .lkbody{grid-template-columns:clamp(380px,44vw,580px) minmax(0,1fr)}      /* the list column grows with the window (it was a fixed 292 px: names and call details were cut) */
  .lk.deskbar .lktop{padding:0 10px 0 12px;gap:6px}.lk.deskbar .tbar-dial{gap:6px}.lk.deskbar .mctl{gap:2px}
  /* Top bar in two groups: who I am (picture, name · extension, status), with room for a long name or a status with its
     reason and time; then "place a call" (the dial box and the number it shows) as one unit beside it. Before
     2026-10-05 the name block was squeezed to its text (max 240 px, 12.5 / 11 px type) and the number sat alone at the far end. */
  .lk.deskbar .lktop .me{flex:0 0 auto;min-width:210px;max-width:360px;gap:10px;margin-right:8px}      /* never squeezed: when room is short the dial box, then the number's name, give way */
  .lk.deskbar .lktop .me .av{width:34px;height:34px;font-size:12.5px;border-radius:50%}.lk.deskbar .lktop .me .who b{font-size:14px}.lk.deskbar .mest{font-size:12px}
  /* The dial box and the number picker are a pair: same height (30 px), same white pill with a thin border, same 12.5 px
     type, about the same width. The dial box was a taller grey bar up to 420 px wide, where a full number left most of it
     empty (user, 2026-10-06: "make it look similar with the DID"). It still holds a full number with room to spare. */
  .lk.deskbar .lktop .tbar-dial{justify-content:flex-end}      /* the number and the dial box sit at the right end of the bar; who I am at the left (user, 2026-10-06) */
  .lk.deskbar .lktop .tdial{flex:0 1 250px;min-width:190px;max-width:250px;margin-right:0;height:30px;box-sizing:border-box;padding:0 3px 0 10px;gap:2px;background:var(--surface)}
  .lk.deskbar .tdial input{font-size:12.5px;padding:0 4px;height:100%}
  .lk.deskbar .tdial .btn{padding:0;width:24px;height:24px;justify-content:center;border-radius:50%;flex:none}.lk.deskbar .tdial .btn .ico{width:14px;height:14px}
  .lk.deskbar .tdial .btn.cg{width:24px;height:24px}      /* a circle, like my picture (it was a 30 x 24 oval) */
  .lk.deskbar .lktop .tcid{height:30px;box-sizing:border-box;font-size:12.5px;padding:0 24px 0 11px;max-width:270px}
  .lk.deskbar .lktop .tcid{order:-1}      /* the number my calls show comes first, then the box to dial in (user: "swap them") */
  .lk.deskbar .btn{font-size:12px;padding:5px 9px}
  .lk.deskbar .tabs{padding:4px 10px 0}.lk.deskbar .tabs button{padding:6px 0;font-size:12.5px}
  .lk.deskbar .find{padding:7px 10px}.lk.deskbar .find input{padding:5px 9px;font-size:12.5px}
  .lk.deskbar .lhead{padding:9px 12px 4px;font-size:14px}
  .lk.deskbar .row{padding:6px 12px;gap:9px}.lk.deskbar .row .av{width:32px;height:32px;border-radius:50%;font-size:12px}
  .lk.deskbar .row .top b{font-size:12.5px}.lk.deskbar .row .sub{font-size:11.5px}.lk.deskbar .row .top time{font-size:10.5px}.lk.deskbar .row .btn{padding:3px 8px;font-size:11.5px}
  .lk.deskbar .head{min-height:48px;padding:6px 14px}
  .lk.deskbar #callcard.callcard{top:56px}
}
/* Install apps, as a page of the app (team.js openApps): the download page's cards in the app's own size */
.getapps .gcards{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px;margin:4px 0 16px}
.gcard{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:14px;display:flex;flex-direction:column;gap:8px}.gcard.rec{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-light)}
.gcard h2{font:700 14px var(--head);margin:0;display:flex;align-items:center;gap:7px;flex-wrap:wrap}.gcard h2 .ico{width:17px;height:17px;color:var(--brand);flex:none}.gcard h2 span{font-weight:500}
.gcard p{color:var(--muted);font-size:12.5px;line-height:1.45;margin:0;flex:1}.gcard .btn{justify-content:center;gap:6px;text-decoration:none}.gcard .btn .ico{width:15px;height:15px}
.gsteps h3 .os svg{width:15px;height:15px;display:block;color:var(--ink)}.gcard h2 .os.two,.gsteps h3 .os.two{display:flex;gap:3px}.gcard h2 .os img{width:18px;height:18px;display:block}.gsteps h3 .os img{width:15px;height:15px;display:block}.gcard h2 .os svg{width:18px;height:18px;display:block;color:var(--ink)}.gcard h2 .ver{font:600 11px var(--font);color:var(--ink-2);background:var(--bg);border:1px solid var(--border);border-radius:99px;padding:1px 7px}.gcard h2 .ver:empty{display:none}.gcard .req{font-size:12px;color:var(--ink-2)}
.gcard .tag{font:600 10.5px var(--font);color:var(--brand);background:var(--brand-light);border-radius:99px;padding:2px 7px}
.gsteps{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:4px 16px 8px}.gsteps h3{font:700 13px var(--head);margin:12px 0 4px;display:flex;align-items:center;gap:7px}.gsteps h3 .ico{width:15px;height:15px;color:var(--brand)}
.gsteps ol{margin:0 0 8px;padding-left:20px;color:var(--ink-2);font-size:12.5px;line-height:1.5}
/* Full window up to 1140 px wide: the pane beside the (now wider) list is as narrow as a phone, so an open conversation's
   header does what it does on phones: Call / Video as icons, the rest under "More". */
@media (min-width:761px) and (max-width:1140px){
  .lk.deskbar .head .acts>.btn .lbl{display:none}.lk.deskbar .head .acts{flex-wrap:nowrap}
  .lk.deskbar #hmore{display:inline-flex}
  .lk.deskbar .hmenu{display:none;position:absolute;right:8px;top:46px;z-index:25;flex-direction:column;gap:1px;min-width:190px;padding:5px;background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:0 14px 34px #0000002e}
  .lk.deskbar .hmenu.on{display:flex}
  .lk.deskbar .hmenu .btn{justify-content:flex-start;width:100%;padding:7px 10px;gap:9px;border-radius:8px;font-size:12.5px;font-weight:500}
  .lk.deskbar .hmenu .lbl,.lk.deskbar .hmenu .mlbl{display:inline}
  .lk.deskbar .conv .head{position:relative}
}
/* The same in a wider window while the pane itself is still narrow (a 1280 px window leaves it 560 px): the header looks at its
   OWN width. A customer conversation has five worded buttons, which pushed the person's name and the "via …" line out of sight. */
.lk.deskbar .conv .head{container:chead / inline-size}
@container chead (max-width:800px){
  .lk.deskbar .head .acts>.btn .lbl{display:none}.lk.deskbar .head .acts{flex-wrap:nowrap}
  .lk.deskbar #hmore{display:inline-flex}
  .lk.deskbar .hmenu{display:none;position:absolute;right:8px;top:46px;z-index:25;flex-direction:column;gap:1px;min-width:190px;padding:5px;background:var(--surface);border:1px solid var(--border);border-radius:12px}
  .lk.deskbar .hmenu.on{display:flex}
  .lk.deskbar .hmenu .btn{justify-content:flex-start;width:100%;padding:7px 10px;gap:9px;border-radius:8px;font-size:12.5px;font-weight:500}
  .lk.deskbar .hmenu .lbl,.lk.deskbar .hmenu .mlbl{display:inline}
  .lk.deskbar .conv .head{position:relative}
}
/* the full window's four tools (Call with, Mobile app, Theme, Dialer) are in the side bar (team.js sideTools), not in the top bar */
.lk.deskbar .lktop .tvia,.lk.deskbar .lktop #mqr,.lk.deskbar .lktop #mctl{display:none}
.lk.deskbar .lknav{overflow-y:auto;scrollbar-width:none}.lk.deskbar .lknav::-webkit-scrollbar{display:none}.lk.deskbar .lknav button.off{opacity:.55}
.lksep{flex:none;height:1px;background:var(--border);margin:6px 8px}
.lk.deskbar .lknav button.two .l2{display:flex;flex-direction:column;min-width:0;line-height:1.2;overflow:hidden}.lk.deskbar .lknav button.two .l2>span{display:block}
.lk.deskbar .lknav button.two small{font:500 10.5px var(--font);color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* the side bar with words (880 px and wider) carries the rectangular logo; folded to icons it keeps the square one */
@media (min-width:880px){.lk.deskbar .lklogo{width:68px;margin:8px 0 4px 9px}.lk.deskbar .lklogo svg.sq{display:none}.lk.deskbar .lklogo svg.wd{display:block}}
@media (min-width:1500px){.lk.deskbar{grid-template-columns:176px minmax(0,1fr)}}
/* a narrow full window: the side bar folds to icons (their names are the tooltips), the sections become thin lines */
@media (min-width:761px) and (max-width:879px){
  .lk.deskbar{grid-template-columns:50px minmax(0,1fr)}
  .lk.deskbar .lknav{padding:6px 5px}.lk.deskbar .lklogo{width:20px;margin:7px auto 7px}
  .lk.deskbar .lknav button,.lk.deskbar .lknav a{justify-content:center;padding:0;width:34px;height:34px;flex:none;align-self:center;border-radius:50%}      /* the chosen page's tint is a circle round its icon */
  .lk.deskbar .lknav button span,.lk.deskbar .lknav a span{display:none}.lk.deskbar .lknav button.two .l2{display:none}
  .lk.deskbar .lknav .n{position:absolute;top:-3px;right:-5px;margin:0}
  .lksec{padding:0;margin:5px 8px;height:1px;background:var(--border)}.lksec span{display:none}
  .lk.deskbar .lkbody{grid-template-columns:clamp(330px,46vw,400px) minmax(0,1fr)}
  /* one row for the top bar here too: the name block takes just what it needs, and when room is short the dial box, then
     the name of the number, give way (never the number itself, never the person's name) */
  .lk.deskbar .lktop .me{min-width:0;max-width:300px;margin-right:4px}
}
/* Quick keys in the full window: one page of the same tiles the phones have, as many across as fit */
.lk.keysfull .lkbody{grid-template-columns:minmax(0,1fr)}.lk.keysfull .conv{display:none}.lk.keysfull .rail{border-right:0;background:var(--bg)}
.lk.keysfull:not(.touch) #fkeys{max-width:1120px;width:100%;margin:0 auto;height:auto}
.lk.keysfull:not(.touch) #fkeys .fkhead{font-size:17px;padding:14px 16px 8px}
.lk.keysfull:not(.touch) #fkeys .fkeys{flex:none;overflow:visible;grid-template-columns:repeat(auto-fill,minmax(176px,1fr));grid-template-rows:none;grid-auto-rows:98px;gap:10px}
.lk.keysfull:not(.touch) #fkeys .fk{cursor:pointer;transition:transform .08s,box-shadow .12s}.lk.keysfull:not(.touch) #fkeys .fk:hover{box-shadow:0 2px 10px #0d112218}
.viam{position:fixed;z-index:90;width:280px;padding:6px}.viam button{display:flex;align-items:center;gap:10px;width:100%;padding:9px 10px;border:0;background:none;border-radius:9px;font-size:14px;color:var(--ink);cursor:pointer;text-align:left}
.viam button:hover{background:var(--muted-bg)}.viam button span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.viam button .ico{width:18px;height:18px;flex:none;color:var(--muted)}
.viam button small{display:block;font-size:11.5px;font-weight:400;color:var(--muted);overflow:hidden;text-overflow:ellipsis}
.viam button.on{color:var(--brand);font-weight:600}.viam button.on .ico{color:var(--brand)}.viam button[disabled]{opacity:.5;cursor:default}.viam p{font-size:12px;margin:6px 10px 6px;line-height:1.4}
.kvia{display:inline-flex;align-items:center;gap:6px;margin:6px auto 0;padding:4px 12px;border:0;border-radius:99px;background:var(--muted-bg);color:var(--ink-2);font:500 12.5px var(--font);cursor:pointer;max-width:90%}
.kvia .ico{width:15px;height:15px;color:var(--brand);flex:none}.kvia .lbl{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lkbody{grid-area:body;display:grid;grid-template-columns:360px minmax(0,1fr);min-height:0}
.lkbody .rail{border-right:1px solid var(--border)}.lkbody .tabs{padding-top:6px}
.lhead{padding:12px 14px 6px;font:700 16px var(--head)}
.lhead.wtools{display:flex;align-items:center;gap:8px}.lhead.wtools>span:not(.ltools){flex:1}.lhead #pback{margin-left:-8px;flex:none}.ltools{display:flex;gap:2px;align-items:center;font:500 13px var(--font)}
.pseg{overflow-x:auto;scrollbar-width:none}.pseg::-webkit-scrollbar{display:none}.pseg button[data-v]{flex:none}
.lk.touch .row.crow .btn .lt{display:none}.lk.touch .row.crow .btn.icon:has(.lt){width:40px;height:40px;min-width:40px;padding:0;border-radius:999px;justify-content:center}
.settings .cwho{margin:0 0 6px;font-weight:600}
#plist,#list{overflow-x:hidden}.row.swipe{position:relative;background:var(--surface);z-index:1}
.lk .row.swipe.swipe::before,.lk .row.swipe.swipe::after{position:absolute;top:0;bottom:0;width:140px;display:flex;align-items:center;font-weight:600;font-size:14px;padding:0 18px;opacity:.75;border:0;box-sizing:border-box}
.lk .row.swipe.swipe::before{content:'Call';right:100%;left:auto;justify-content:flex-end;background:var(--success);color:#fff}.lk .row.swipe.swipe::after{content:'Chat';left:100%;right:auto;background:var(--brand);color:var(--on-brand)}
.lk .row.swipe.swipe.go::before,.lk .row.swipe.swipe.go::after{opacity:1}.lk .row.swipe.swipe.nochat::after,.lk .row.swipe.swipe.nocall::before{display:none}
.lk.touch:not(.desk) #list .row[data-dial]>.lcall{display:none}
.lk.touch:not(.desk) #plist .row[data-c]>[data-call],.lk.touch:not(.desk) #plist .row[data-c]>[data-text]{display:none}
.swhint{display:none;padding:14px 16px 18px;color:var(--muted);font-size:12.5px;text-align:center}.lk.touch:not(.desk) .swhint{display:block}
.pmore{padding:14px 16px;color:var(--muted);font-size:13px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.settings .frow.cline{flex-wrap:nowrap;align-items:center;gap:10px;min-height:44px;margin:4px 0}.cline>.tag{flex:none;min-width:58px;text-align:center}.cline>b{flex:1;min-width:0;white-space:nowrap}
.cline>a{flex:1;min-width:0;overflow-wrap:anywhere}.cline>a.caddr{white-space:pre-line}.cline .cbtns{display:flex;gap:6px;flex:none}
.hfbar{display:flex;gap:6px;align-items:center;flex-wrap:wrap;padding:6px 14px 8px}.hfbar input{flex:1;min-width:90px;padding:4px 10px;border-radius:99px}.hfbar .btn{padding:2px 8px;font-size:12px}
.dpadpop{padding:10px;width:250px}.dpadpop .dpad{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.dpadpop .dpad button{display:flex;flex-direction:column;align-items:center;padding:8px 0;border:1px solid var(--border);border-radius:10px;background:var(--surface);cursor:pointer;font-size:17px;font-weight:600}
.dpadpop .dpad small{font-size:9px;color:var(--muted);font-weight:500}.fkpop{width:420px;max-width:calc(100vw - 16px);padding:6px}.fkpop .up{padding:6px 8px!important}
/* the call window floats over everything, top right (Linkus call panel) */
.lk #callcard.callcard{position:fixed;top:68px;right:16px;width:360px;max-width:calc(100vw - 24px);z-index:30;margin:0;box-shadow:0 18px 40px #0d112240;max-height:calc(100vh - 90px);overflow:auto}
@media (max-width:760px){
  .lk.shell{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) 58px;grid-template-areas:"top" "body" "nav"}
  .lknav{flex-direction:row;padding:4px;overflow-x:auto;overflow-y:hidden}.lknav .lklogo,.lknav .lkgrow,.lknav #thm,.lknav a{display:none}.lknav button{min-width:62px}
  .lktop{flex-wrap:wrap;padding:8px 10px;gap:8px}.tdial{width:100%}.tbar-dial{width:100%}.tcid{max-width:140px}
  .lkbody{grid-template-columns:minmax(0,1fr)}.lk.shell.open .rail{display:none}.lk.shell:not(.open) .conv{display:none}
  .lk #callcard.callcard{top:auto;bottom:66px;right:8px;left:8px;width:auto}
}
.lktop .me .av{width:36px;height:36px;font-size:13px;border-radius:50%}.lktop .me .who{display:flex;flex-direction:column;gap:2px}.lktop .me .who b{line-height:1.2}
.lktop .whost{flex-wrap:nowrap}.lktop .whost select{padding:2px 22px 2px 8px;font-size:12px;border-radius:99px;min-width:0;max-width:150px;background-position:right 6px center}
.fkpop .fk{display:flex;width:auto;border:1px solid var(--border);padding:7px 8px;border-radius:8px}.fkpop .fk.ring{border-color:#16a34a}.fkpop .up{display:flex;align-items:center;font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}.fkpop .up button{width:auto;padding:2px 8px}
.settings .fwnum[hidden]{display:none}.settings .frow select,.settings .frow input:not([type=checkbox]):not([type=range]){width:auto}.settings table.fw select{width:100%}
.lk.full .lkbody{grid-template-columns:minmax(0,1fr)}.lk.full .rail{display:none}.lk.full .msgs.settings{max-width:1100px;margin:0 auto;width:100%}

/* right-hand panel: section placeholder + details (calls, rooms) */
.pempty{margin:auto;text-align:center;color:var(--muted);max-width:360px;padding:24px}.pempty>.ico{width:46px;height:46px;color:var(--brand);opacity:.55}
.pempty b{display:block;color:var(--ink);font:700 17px var(--head);margin:10px 0 6px}.pempty p{margin:0 0 16px;font-size:13.5px;line-height:1.5}
.pempty.ppad{max-width:400px;color:inherit}.pempty.ppad p{margin:14px 0 0;color:var(--muted)}
.det{flex:1;overflow:auto;padding:22px 26px 30px;max-width:860px;width:100%}
.dhero{display:flex;gap:14px;align-items:center;margin-bottom:16px}.dhero .av{width:56px;height:56px;border-radius:50%;font-size:19px}.dhero .av .ico{width:26px;height:26px}
.dhero b{font:700 20px var(--head);display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dhero .muted{font-size:13px;margin-top:2px}
.dacts{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 16px}.dacts .btn{display:inline-flex;align-items:center;gap:6px}.dacts .btn .ico{width:16px;height:16px}
.dcard{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:14px 16px;margin-bottom:12px}
.dcard h4{margin:0 0 10px;font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);font-weight:700;display:flex;align-items:center;gap:6px}.dcard h4 .ico{width:14px;height:14px;color:var(--brand)}
.dcard details summary{cursor:pointer;color:var(--brand);font-size:13px;margin:6px 0}.dcard .aicard{border:0;padding:0;margin:0 0 6px;background:none}
.kv2{display:grid;grid-template-columns:110px 1fr;gap:7px 14px;font-size:13.5px}.kv2>span:nth-child(odd){color:var(--muted)}
.prow{display:flex;gap:10px;align-items:center;padding:7px 0;border-top:1px solid var(--soft);font-size:13.5px;cursor:pointer}.prow:first-of-type{border-top:0}
.red{color:var(--danger-ink)!important}
/* call rows */
.cdir{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;flex:none;background:#efecfb;color:var(--brand)}.cdir .ico{width:16px;height:16px}
.cdir.in{background:#e7f6ef;color:#059669}.cdir.miss{background:#fdecec;color:var(--danger-ink)}.cdir.sm{width:24px;height:24px;border-radius:7px}.cdir.sm .ico{width:13px;height:13px}
.crow .mk{display:inline-grid;color:var(--muted);flex:none}.crow .mk .ico{width:14px;height:14px}.crow .mk.ai{color:var(--brand)}
.crow .rcall{opacity:0;transition:opacity .12s}.crow:hover .rcall,.crow.on .rcall{opacity:1}
@media(hover:none){.crow .rcall{opacity:1}}
[data-theme=dark] .cdir{background:#2a2346}[data-theme=dark] .cdir.in{background:#12352a}[data-theme=dark] .cdir.miss{background:#3d1717}

.tadmin{display:inline-flex;align-items:center;gap:6px;margin-left:8px;flex:none;text-decoration:none;font-weight:600}.tadmin .ico{width:16px;height:16px}
/* ===== dialer mode (small phone window, like the 3CX dialer) ===== */
.mctl{display:flex;gap:4px;align-items:center;flex:none}.mctl .btn{display:inline-flex;align-items:center;gap:5px}.mctl .ico{width:17px;height:17px}.mctl .btn.on{background:var(--brand);color:#fff}
.lk.mini{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr) 58px;grid-template-areas:"top" "call" "body" "nav"}
.lk.mini .lktop{flex-wrap:wrap;padding:8px 10px 10px;gap:8px;background:#25124f;color:#fff;border:0}
.lk.mini .lktop .me{flex:1;min-width:0}.lk.mini .lktop .me .who b{color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lk.mini .lktop .me .muted{color:#d9d2f5!important}
.lk.mini .lktop select{background-color:#ffffff14;color:#fff;border-color:#ffffff30}.lk.mini .lktop select option{color:#1a1a1e}
.lk.mini #agent,.lk.mini .tgrow,.lk.mini #fkb,.lk.mini .tadmin,.lk.mini #nb{display:none}
.lk.mini .mctl .btn{color:#fff;background:#ffffff14;border-color:transparent}.lk.mini .mctl .btn.on{background:var(--brand)}
.lk.mini .tbar-dial{order:5;width:100%;display:flex;flex-wrap:wrap;gap:6px}.lk.mini .tdial{flex:1 1 100%;width:100%}.lk.mini .tdial input{font-size:18px;font-weight:600;letter-spacing:.02em}
.lk.mini .tcid{flex:1 1 100%;max-width:none;font-size:12px;padding:4px 8px}
.lk.mini #callcard.callcard{grid-area:call;position:static;width:auto;max-width:none;margin:8px 8px 0;box-shadow:none;max-height:45vh}
.lk.mini .lkbody{grid-template-columns:minmax(0,1fr)}.lk.mini.open .rail{display:none}.lk.mini:not(.open) .conv{display:none}
.lk.mini .lknav{grid-area:nav;flex-direction:row;padding:4px;gap:2px;overflow-x:auto;overflow-y:hidden}
.lk.mini .lknav .lklogo,.lk.mini .lknav .lkgrow,.lk.mini .lknav #thm,.lk.mini .lknav a,.lk.mini .lknav [data-nav=settings],.lk.mini .lknav #lo{display:none}
.lk.mini .lknav button{flex:1;min-width:0;padding:6px 0}.lk.mini .lknav .n{right:4px}
.lk.mini .rail{border-right:0}
.mpad{padding:12px 22px 16px;max-width:340px;margin:0 auto}
.dpad.big{display:grid;grid-template-columns:repeat(3,58px);justify-content:center;gap:12px 24px;margin:4px 0 0}
.dpad.big button{width:58px;height:58px;border-radius:50%;border:0;background:var(--muted-bg);color:var(--ink);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;padding:0;cursor:pointer;
  font:400 23px/1 var(--head);font-variant-numeric:tabular-nums;transition:background .12s,transform .08s;-webkit-tap-highlight-color:transparent;user-select:none}
.dpad.big button:hover{background:color-mix(in srgb,var(--brand) 10%,var(--muted-bg))}.dpad.big button:active{transform:scale(.94);background:color-mix(in srgb,var(--brand) 18%,var(--muted-bg))}
.dpad.big small{display:block;font:600 8px/1 var(--font);letter-spacing:.18em;color:var(--muted);margin:2px 0 0 .18em;min-height:8px}
.mpad{padding:14px 12px 14px}
.mpadact{display:grid;grid-template-columns:repeat(3,58px);justify-content:center;column-gap:24px;align-items:center;justify-items:center;margin-top:12px}
.mcall{width:58px!important;height:58px!important;border-radius:50%!important;display:grid!important;place-items:center;padding:0!important;box-shadow:0 6px 16px color-mix(in srgb,var(--success) 35%,transparent)}.mcall .ico{width:24px;height:24px}
#mdel,#mcont{width:44px;height:44px;border-radius:50%;border:0;background:none;color:var(--muted);display:grid;place-items:center;cursor:pointer}#mdel:hover,#mcont:hover{background:var(--muted-bg);color:var(--ink)}#mdel svg,#mcont svg{width:22px;height:22px}
@media (max-height:600px){.dpad.big{grid-template-columns:repeat(3,50px);gap:8px 22px}.dpad.big button{width:50px;height:50px;font-size:20px}.mpadact{grid-template-columns:repeat(3,50px)}.mcall{width:50px!important;height:50px!important}}

/* footer More (narrow window / dialer mode) */
.moremenu{position:fixed;right:8px;bottom:66px;width:250px;max-height:calc(100vh - 90px);overflow:auto;padding:6px;z-index:80}
.moremenu button{display:flex;align-items:center;gap:10px;width:100%;padding:9px 10px;border:0;background:none;border-radius:9px;font-size:14px;color:var(--ink);cursor:pointer;text-align:left}
.moremenu button:hover{background:var(--muted-bg)}.moremenu .ico{width:18px;height:18px;color:var(--muted)}.moremenu button span{flex:1}
/* the avatar's menu: my status (and queues) as chips */
.avmenu{width:300px}.avst{padding:6px 6px 4px}.avlab{font-size:11.5px;font-weight:600;color:var(--muted);margin:4px 2px 6px}
.pcrop{position:relative;margin:8px auto 14px;border-radius:18px;overflow:hidden;touch-action:none;cursor:grab;background:#000;user-select:none;-webkit-user-select:none}
.pcrop:active{cursor:grabbing}.pcrop canvas{display:block}.pcrop i{position:absolute;inset:0;border-radius:50%;box-shadow:0 0 0 999px #0000008c;border:2px solid #ffffffe0;pointer-events:none}
.pzoom{display:flex;align-items:center;gap:12px;max-width:300px;margin:0 auto;color:var(--muted)}.pzoom input{flex:1;min-width:0;padding:0;accent-color:var(--brand)}
.pzoom .ico:first-child{width:14px;height:14px;flex:none}.pzoom .ico:last-child{width:24px;height:24px;flex:none}
.avhead{display:none}.avlab{font-size:11.5px;font-weight:600;color:var(--muted);margin:4px 8px 6px}
.moremenu .avpic{position:relative;width:auto;min-height:0;padding:0;border-radius:50%;flex:none;background:none}.moremenu .avpic:hover{background:none}
.avpic .avcam{position:absolute;right:-4px;bottom:-4px;width:24px;height:24px;border-radius:50%;background:var(--brand);display:grid;place-items:center;border:2px solid var(--surface);flex:none}
.moremenu .avpic .avcam .ico{width:13px;height:13px;color:var(--on-brand)}.avdd{margin:0 0 6px}
.moremenu .avsel{gap:10px;padding:8px 10px;border-radius:12px;background:var(--muted-bg)}.moremenu .avsel:hover{background:var(--muted-bg)}
.moremenu .avsel>i,.moremenu .avopt>i{width:10px;height:10px;border-radius:50%;flex:none;margin:0 4px}
.moremenu .avsel .avsl{flex:1;display:flex;flex-direction:column;gap:1px;min-width:0}.avsl small{font-size:11.5px;color:var(--muted);font-weight:500}.avsl b{font-size:14px;font-weight:600}
.moremenu .avsel .avch{flex:none;display:grid;place-items:center}.avch .ico{width:16px;height:16px;transform:rotate(-90deg);transition:transform .2s}.avdd.open .avch .ico{transform:rotate(90deg)}
.avopts{display:none;padding:4px 0 0}.avdd.open .avopts{display:block}
.moremenu .avopt.on{font-weight:600;color:var(--brand)}.moremenu .avopt .ico{color:var(--brand)}
.moremenu .n{background:#dc2626;color:#fff;border-radius:99px;font-size:11px;padding:1px 7px}.moremenu .msep{height:1px;background:var(--soft);margin:5px 4px}
@media (max-width:760px){.lknav button{flex:1;min-width:0}.lknav{overflow-x:hidden}}
@media (max-width:760px){.lknav [data-nav=settings],.lknav #lo,.lknav #thm,.lknav a{display:none!important}.lknav button span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .lktop #fkb,.lktop .tadmin{display:none}}

/* RING-101 logo: white lettering on dark backgrounds */
[data-theme=dark] img.rlogo{content:url(/ring-101-wide-white.png)}   /* pages show the wide logo (sign-in cards, download, sign-up); the square one is the app icon and the live logo */

/* mobile sign-in QR */
.qrbox{display:flex;gap:16px;align-items:flex-start;flex-wrap:wrap;margin-top:12px;padding:14px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}.qrbox .qr{width:180px;height:180px;flex:none;background:#fff;padding:6px;border-radius:10px;transition:opacity .3s}.qrbox .qr svg{width:100%;height:100%;display:block}.qrbox>div:last-child{flex:1;min-width:200px}
/* dialer during a call: the call card sits on top, so the keypad gets smaller and the list scrolls */
.lk.mini .rail{overflow:auto}
.lk.mini.oncall .dpad.big{grid-template-columns:repeat(3,46px);gap:8px 22px}.lk.mini.oncall .dpad.big button{width:46px;height:46px;font-size:19px}.lk.mini.oncall .dpad.big small{display:none}
.lk.mini.oncall .mpadact{grid-template-columns:repeat(3,46px);margin-top:8px}.lk.mini.oncall .mcall{width:46px!important;height:46px!important}.lk.mini.oncall .mpad{padding:8px 12px}

/* Android app: QR scanner */
.qrscan{position:fixed;inset:0;z-index:200;background:#000;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:20px;color:#fff;text-align:center}
.qrscan video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.9}.qrscan .qrframe{position:relative;width:240px;height:240px;border:3px solid #fff;border-radius:20px;box-shadow:0 0 0 2000px #00000070}
.qrscan p,.qrscan button{position:relative}.qrscan p{max-width:300px;font-size:14px}.qrscan .btn{background:#ffffff26;color:#fff;border:0}
/* narrow screens (phones): Dialer / Admin live under More, the top bar stays two rows */
@media (max-width:760px){.lk:not(.mini) #mctl{display:none}.lktop .whost{flex-wrap:nowrap}.lktop .whost select{max-width:46vw;font-size:13px}}
/* notched screens (iPhone, browsers with safe areas) */
.lk.shell{padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px);box-sizing:border-box}

/* phones + dialer: call controls big enough for a thumb */
.lk.mini .callcard .cbtns{flex-wrap:wrap;gap:8px}.lk.mini .callcard .btn.icon{width:46px;height:46px;border-radius:50%;justify-content:center}.lk.mini .callcard .btn.icon .ico{width:20px;height:20px}
.lk.mini .callcard .btn.cg,.lk.mini .callcard .btn.cr{min-height:46px;border-radius:23px}
.lk.mini .row{min-height:56px}.lk.mini .lknav button{min-height:52px}

/* ===== touch screens (Android app, phone browsers): phone-style dialer + finger-sized targets ===== */
/* header: the call box lives on the keypad; elsewhere just who I am + status */
.lk.mini.touch .tbar-dial{display:none}
.lk.mini.touch .lktop{padding:8px 12px}
.lk.touch .lktop select{min-height:36px;font-size:14px}
.lk.touch .mctl .btn{width:40px;height:40px;justify-content:center}
/* dialer */
.lk.touch .mpad{max-width:none;min-height:100%;display:flex;flex-direction:column;justify-content:center;padding:10px 16px 18px}
.kdisp{text-align:center;padding:4px 8px 14px}
.knum{font:500 36px/1.15 var(--head);letter-spacing:.02em;min-height:44px;color:var(--ink);word-break:break-all}
.knum.empty{padding:0;color:var(--ink)}
.knum.empty::before{content:attr(data-ph);font-size:18px;font-weight:400;color:var(--muted);letter-spacing:0}
.kname{min-height:20px;font-size:14px;color:var(--brand);margin-top:2px}
.kcid{margin:0 auto 8px;display:block;max-width:100%;width:auto;min-height:36px;font-size:13px;border-radius:99px;padding:4px 30px;text-align:center;text-align-last:center}
.lk.touch .dpad.big{grid-template-columns:repeat(3,min(78px,22vw));gap:min(14px,2.4vh) min(30px,7vw)}
.lk.touch .dpad.big button{width:min(78px,22vw);height:min(78px,22vw);font-size:30px}
.lk.touch .dpad.big small{display:block;font-size:9.5px}
.lk.touch .mpadact{grid-template-columns:repeat(3,min(78px,22vw));column-gap:min(30px,7vw);margin-top:min(18px,2.4vh)}
.lk.touch .mcall{width:min(74px,21vw)!important;height:min(74px,21vw)!important}.lk.touch .mcall .ico{width:30px;height:30px}
.lk.touch #mdel,.lk.touch #mcont{width:56px;height:56px}.lk.touch #mdel svg,.lk.touch #mcont svg{width:28px;height:28px}
@media (max-height:700px){.lk.touch .dpad.big{grid-template-columns:repeat(3,64px);gap:8px 24px}.lk.touch .dpad.big button{width:64px;height:64px;font-size:26px}.lk.touch .mpadact{grid-template-columns:repeat(3,64px)}.lk.touch .mcall{width:62px!important;height:62px!important}.knum{font-size:30px}}
/* lists: bigger rows and buttons */
.lk.touch .row{min-height:60px;padding:10px 14px;gap:12px}
.lk.touch .row .btn.icon,.lk.touch .row .btn.ghost{min-width:44px;min-height:44px;justify-content:center}
.lk.touch .crow .rcall{opacity:1}
.lk.touch .hfbar{gap:8px;padding:8px 14px 10px}.lk.touch .hf{min-height:36px;padding:6px 14px;font-size:14px}.lk.touch .hfbar input{min-height:40px;font-size:16px}
.lk.touch .hfbar .btn{min-height:36px;font-size:14px;padding:6px 12px}
.lk.touch .pseg button,.lk.touch .tabs button{min-height:44px}
.lk.touch .find input{min-height:44px;font-size:16px}.lk.touch .find .btn{width:44px;height:44px}
.lk.touch .lhead{padding:14px 16px 6px;font-size:20px}
/* detail pages, settings, pop-ups */
.lk.touch .dacts .btn,.lk.touch .head .btn{min-height:44px;padding:8px 14px}
.lk.touch .head .back{width:44px;height:44px}
.lk.touch input,.lk.touch select,.lk.touch textarea{font-size:16px}
.lk.touch .msgs.settings input,.lk.touch .msgs.settings select{min-height:44px}
.lk.touch .msgs.settings .btn{min-height:44px}
.touch .ov .mod .btn,.lk.touch ~ .ov .btn{min-height:44px}
.lk.touch .compose textarea{font-size:16px}.lk.touch .compose .btn{min-width:44px;min-height:44px}
body:has(.lk.touch) .moremenu button{min-height:48px}      /* finger-sized rows are for phones and the Dialer only: unscoped, this made the account menu on a computer 48 px a row and too tall for the window (2026-10-08) */
body:not(:has(.lk.touch)) .moremenu{width:236px;padding:5px}
body:not(:has(.lk.touch)) .moremenu button{padding:5px 9px;font-size:13px;gap:9px;border-radius:8px}
body:not(:has(.lk.touch)) .moremenu .ico{width:16px;height:16px}
body:not(:has(.lk.touch)) .moremenu .avsel{padding:5px 9px;border-radius:10px}body:not(:has(.lk.touch)) .avsl b{font-size:13px}body:not(:has(.lk.touch)) .avsl small{font-size:11px}
body:not(:has(.lk.touch)) .avdd{margin:0 0 4px}body:not(:has(.lk.touch)) .avopts{padding:2px 0 0}body:not(:has(.lk.touch)) .moremenu .msep{margin:4px}

/* white sidebar (and the dialer's bottom bar): the RING-101 mark in color; white mark in dark mode */
.lk.mini .lknav{border-right:0;border-top:1px solid var(--border)}

/* Android app: a call that arrives while the app is in the background gets only the call screen (answer / decline / transfer) */
.lk #callcard.callcard.full,#callcard.callcard.full{position:fixed;inset:0;width:auto;max-width:none;max-height:none;margin:0;border-radius:0;z-index:60;box-shadow:none;animation:none;
  display:flex;flex-direction:column;padding:max(14px,env(safe-area-inset-top)) 20px max(22px,env(safe-area-inset-bottom));background:var(--call-bg);overflow:auto}
body.callonly .ov,body.callonly .menu{z-index:70}body.callonly{overflow:hidden}
/* the caller's picture behind the full-screen call screen (teamphone putPic): softened, and darker at the top and bottom where the words and buttons are */
#callcard.callcard.full{isolation:isolate}
.callcard.full>.fcbg{position:absolute;inset:0;z-index:-1;overflow:hidden;pointer-events:none;background:#1b1238}
.callcard.full>.fcbg img,.vcall>.vinbg img,.vtbg img{width:100%;height:100%;object-fit:cover;filter:blur(8px);transform:scale(1.08)}
.callcard.full .fc-who .av.r101{background:#fff!important;overflow:hidden}
.callcard.full .fc-who .av.r101 img.r101{width:64%;height:auto;border-radius:0;position:static}
.callcard.full>.fcbg::after,.vcall>.vinbg::after,.vtbg::after{content:'';position:absolute;inset:0;background:#140d2b9e}
/* with a picture: no round spot, the name and number low on the screen over the picture */
/* with a picture (option B, 2026-10-17): the picture sharp in a large circle, the same picture dimmed behind, the name under it */
#callcard.callcard.full.haspic .fc-who .av,.vcall.haspic .vin .av{position:relative;width:min(168px,44vw);height:min(168px,44vw);background:#2a2147!important;overflow:hidden;box-shadow:0 0 0 6px #ffffff1f;animation:none}
#callcard.callcard.full.haspic .fc-who .av .avimg,.vcall.haspic .vin .av .avimg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:50%}
.vtile.haspic.novid .vav{width:min(44%,168px);height:auto;aspect-ratio:1;background:#2a2147!important;box-shadow:0 0 0 5px #ffffff1f}
.callcard.full .fc-top{display:flex;align-items:center;gap:8px;font:600 13px var(--head);opacity:.9}.callcard.full .fc-top img{width:22px;height:22px}
.callcard.full .fc-top button{margin-left:auto;background:#ffffff1f;border:0;color:#fff;border-radius:99px;padding:6px 12px;font:500 12.5px var(--font)}
.callcard.full .cline{margin:12px 0 0}
.callcard.full .fc-who{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:6px;min-height:200px}
.callcard.full .fc-who .av{width:96px;height:96px;border-radius:50%;display:grid;place-items:center;font:600 34px var(--head);color:#fff;margin-bottom:8px;box-shadow:0 0 0 10px #ffffff14}
.callcard.full.ringing .fc-who .av{animation:pulse 1.4s ease-in-out infinite}
.callcard.full .fc-who .av .ico{width:44px;height:44px}
.callcard.full .fc-who b{font:600 26px var(--head);max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.callcard.full .fc-who div{font-size:15px;opacity:.85}.callcard.full .fc-st{font-size:14px!important;opacity:.7!important}
.callcard.full .cnote,.callcard.full .cerr{text-align:center;margin:0 0 12px}
.callcard.full .fc-dg{text-align:center;color:#fff;font:500 22px var(--head);letter-spacing:2px;min-height:28px;opacity:.9}
.callcard.full .pkeys{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;max-width:280px;margin:6px auto 16px}
.callcard.full .pkeys .btn{height:56px;border-radius:28px;justify-content:center;font:500 22px var(--head);background:#ffffff1f;border:0;color:#fff}
.callcard.full .fc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px 10px;max-width:320px;width:100%;margin:0 auto 26px}
.callcard.full .fc-row{display:flex;justify-content:space-around;align-items:flex-start;max-width:340px;width:100%;margin:0 auto}
.fcb{display:flex;flex-direction:column;align-items:center;gap:7px;background:none;border:0;color:#fff;font:500 12.5px var(--font);cursor:pointer;padding:0;-webkit-tap-highlight-color:transparent}
.fcb .ico{width:64px;height:64px;padding:20px;border-radius:50%;background:#ffffff26;box-sizing:border-box;transition:transform .1s}
.fcb:active .ico{transform:scale(.93)}.fcb.on .ico{background:#fff;color:#36187d}
.fc-row .fcb .ico{width:72px;height:72px;padding:22px}
.fcb.end,.fcb.green{color:#fff}.fcb.end .ico{background:var(--danger,#dc2626)}.fcb.green .ico{background:var(--success,#16a34a)}
.callcard.full.ringing .fcb.green .ico{animation:pulse 1.2s ease-in-out infinite}
/* call screen bottom sheet: main buttons, pull up for the rest (add people, dialpad, record, note, attended / blind transfer, call flip, park) */
.callcard.full .fc-sheet{margin:0 -20px calc(-1 * max(22px,env(safe-area-inset-bottom)));padding:4px 14px max(18px,env(safe-area-inset-bottom));background:#15112ae6;border-radius:26px 26px 0 0;box-shadow:0 -10px 30px #0000004d;touch-action:none}
.callcard.full .fc-grip{display:block;margin:0 auto 6px;background:none;border:0;color:#fff;opacity:.75;padding:6px 18px;cursor:pointer}
.callcard.full .fc-grip .ico{width:22px;height:22px;transition:transform .2s}.callcard.full .fc-sheet.open .fc-grip .ico{transform:rotate(180deg)}
.callcard.full .fc-g{display:grid;grid-template-columns:repeat(var(--cols),1fr);gap:14px 6px;max-width:380px;margin:0 auto}
.callcard.full .fc-more{max-height:0;overflow:hidden;transition:max-height .25s ease}.callcard.full .fc-sheet.open .fc-more{max-height:260px}
.callcard.full .fc-more .fc-g{padding-top:16px;margin-top:14px;border-top:1px solid #ffffff1a}
.callcard.full .fc-sheet .fcb .ico{width:58px;height:58px;padding:18px}
.callcard.full .fc-sheet .fcb span{font-size:12px;text-align:center;line-height:1.2}
.callcard.full .fc-sheet .fc-g[style*="--cols:3"] .fcb .ico{width:70px;height:70px;padding:22px}
/* keypad under Calls: keys sized by the space the list really has (container query), so it fits any screen, display size or header */
.lk.touch #list{container-type:size}
/* what sits above the keys: the number typed + name (always), the number picker, the "Call with" chip; the keys share the
   rest (four rows, three gaps, the Call row = 5.66 keys). A fixed 150 px left the pad 14 px too tall when both show (2026-10-16) */
.lk.touch .mpad{--kres:110px}.lk.touch .mpad:has(.kcid){--kres:152px}.lk.touch .mpad:has(.kvia){--kres:154px}.lk.touch .mpad:has(.kcid):has(.kvia){--kres:196px}
/* a short pane (a call card above it, a small screen): first the "Call with" chip goes, then the number picker, so the keys
   stay big enough to press; both come back when there is room (#list: wins over the :has() rules above) */
@container (max-height:470px){.lk.touch #list .mpad .kvia{display:none}.lk.touch #list .mpad{--kres:110px}.lk.touch #list .mpad:has(.kcid){--kres:152px}}
@container (max-height:400px){.lk.touch #list .mpad .kcid{display:none}.lk.touch #list .mpad,.lk.touch #list .mpad:has(.kcid){--kres:110px}}
.lk.touch .dpad.big{--k:min(76px,22vw,calc((100cqh - var(--kres)) / 5.75));grid-template-columns:repeat(3,var(--k));gap:calc(var(--k) * .16) min(30px,7vw)}
.lk.touch .dpad.big button{width:var(--k);height:var(--k);font-size:calc(var(--k) * .4)}
.lk.touch .dpad.big small{font-size:max(8px,calc(var(--k) * .13))}
.lk.touch .mpadact{--k:min(76px,22vw,calc((100cqh - var(--kres)) / 5.75));grid-template-columns:repeat(3,var(--k));margin-top:calc(var(--k) * .18)}
.lk.touch .mcall{width:var(--k)!important;height:var(--k)!important}.lk.touch #mdel,.lk.touch #mcont{width:calc(var(--k) * .75);height:calc(var(--k) * .75)}
/* the two buttons beside the green Call button carry a word under the icon */
#mdel,#mcont{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;width:auto;min-width:44px;height:auto;min-height:44px;padding:4px 2px;border-radius:12px;font:500 10.5px/1 var(--font)}
.lk.touch #mdel,.lk.touch #mcont{width:auto;height:auto;min-width:calc(var(--k) * .75);min-height:calc(var(--k) * .75);font-size:11px}
.lk.touch .kdisp{padding:0 8px min(10px,1.5cqh)}.lk.touch .knum{font-size:min(36px,5.5cqh)}.lk.touch .kcid{margin:0 auto 6px}
.lk.touch .mpad{padding-top:min(10px,1.5cqh);padding-bottom:min(10px,1.5cqh)}
/* phone, full app: no second dial row in the header (the Calls tab has the keypad); status + queues share one line */
@media (max-width:760px){.lk.touch .tbar-dial{display:none}.lk.touch .lktop .me{flex:1;min-width:0}.lk.touch .lktop .me .who{flex:1;min-width:0}.lk.touch .lktop .tgrow{display:none}.lk.touch .lktop .whost{min-width:0;width:100%}.lk.touch .lktop .whost select{flex:1 1 50%;max-width:none;min-width:0}}
.tag.tg{background:#e3f2fd;color:#1a8ad5}[data-theme=dark] .tag.tg{background:#1a8ad533;color:#6cc0ff}
/* ---------- Telegram-style chat (teamchat.js) ---------- */
.fwdh{font-size:11.5px;opacity:.75;display:flex;align-items:center;gap:4px;margin-bottom:3px}.fwdh .ico{width:13px;height:13px}
.rq{border-left:3px solid var(--brand);background:color-mix(in srgb,var(--brand) 8%,transparent);border-radius:6px;padding:4px 8px;margin:2px 0 5px;cursor:pointer;font-size:12.5px;display:flex;flex-direction:column;max-width:100%}
.rq b{color:var(--brand);font-size:12px}.rq span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:.85}
.m.mine .rq{border-left-color:#fff;background:#ffffff26}.m.mine .rq b{color:#fff}
.tx.del{font-style:italic;opacity:.65}.m.gone .bub{background:transparent!important;border-style:dashed!important;color:var(--muted)!important}
.at{color:var(--brand);font-weight:600}.at.me{background:color-mix(in srgb,var(--brand) 14%,transparent);border-radius:4px;padding:0 3px}.m.mine .at{color:#fff;text-decoration:underline}
.m.atme .bub{box-shadow:0 0 0 2px color-mix(in srgb,var(--brand) 35%,transparent)}
.reacts{display:flex;flex-wrap:wrap;gap:4px;margin:3px 2px 0}.m.mine .reacts{justify-content:flex-end}
.rc{border:1px solid var(--border);background:var(--surface);border-radius:99px;padding:1px 7px;font-size:13px;display:inline-flex;gap:4px;align-items:center;cursor:pointer;line-height:1.5}
.rc b{font-size:11.5px;color:var(--muted);font-weight:600}.rc.on{border-color:var(--brand);background:color-mix(in srgb,var(--brand) 12%,var(--surface))}.rc.on b{color:var(--brand)}
.voice{display:flex;align-items:center;gap:8px;min-width:250px;padding:2px 0}.voice .vt,.voice .vs{flex:none;white-space:nowrap}
.voice .vp{width:34px;height:34px;border-radius:50%;border:0;background:var(--brand);color:#fff;display:grid;place-items:center;cursor:pointer;flex:none}.voice .vp .ico{width:15px;height:15px}
.m.mine .voice .vp{background:#fff;color:var(--brand)}
/* the recording's own bars (2026-10-17, was a plain line): played bars full colour, the rest faint; a tap jumps there */
.voice .vwave{flex:1;min-width:120px;height:30px;display:flex;align-items:center;gap:2px;cursor:pointer}
.voice .vwave i{flex:1 1 0;min-width:2px;max-width:4px;height:var(--h,14%);min-height:3px;border-radius:2px;background:color-mix(in srgb,currentColor 32%,transparent);transition:background .12s}
.voice .vwave i.on{background:currentColor}.m:not(.mine) .voice .vwave i.on{background:var(--brand)}
.voice .vwave.wait i{opacity:.6}
.voice .vt{font-size:11.5px;opacity:.8;min-width:32px;font-variant-numeric:tabular-nums}.voice .vs{border:0;background:color-mix(in srgb,currentColor 15%,transparent);color:inherit;border-radius:6px;font:600 11px var(--font);padding:2px 5px;cursor:pointer}
.m{position:relative}.mdots{position:absolute;top:2px;border:0;background:var(--surface);border:1px solid var(--border);border-radius:8px;width:26px;height:22px;line-height:1;cursor:pointer;color:var(--muted);opacity:0;transition:opacity .15s}
.m:not(.mine) .mdots{right:-30px}.m.mine .mdots{left:-30px}.m:hover .mdots{opacity:1}
.mmenu{position:fixed;z-index:90;min-width:220px}.mmenu .rrow{display:flex;gap:2px;padding:4px 4px 6px;border-bottom:1px solid var(--border);margin-bottom:4px}
.mmenu .rrow button{font-size:20px;padding:4px;border-radius:8px;width:auto;flex:1;justify-content:center}.mmenu .rrow button:hover{transform:scale(1.18);background:var(--soft)}
.mmenu .danger{color:var(--danger)}
.m.flash .bub{animation:flash 1.6s ease}@keyframes flash{0%,40%{box-shadow:0 0 0 3px #fbbf24}100%{box-shadow:none}}
.rbar{display:flex;align-items:center;gap:10px;padding:6px 10px;margin:0 0 6px;border-left:3px solid var(--brand);background:var(--surface);border-radius:8px;font-size:13px}
.rbar .ico{color:var(--brand);flex:none}.rbar div{flex:1;min-width:0;display:flex;flex-direction:column}.rbar b{color:var(--brand);font-size:12.5px}.rbar span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--muted)}
.rbar button{border:0;background:none;font-size:16px;color:var(--muted);cursor:pointer;padding:4px 8px}
.cbox{position:relative}.atl{position:absolute;left:0;right:0;bottom:100%;margin-bottom:6px;background:var(--surface);border:1px solid var(--border);border-radius:10px;box-shadow:0 10px 24px #1c191724;padding:4px;z-index:5;display:flex;flex-direction:column}
.atl button{border:0;background:none;text-align:left;padding:8px 10px;border-radius:7px;cursor:pointer;font:inherit;color:var(--ink)}.atl button:first-child,.atl button:hover{background:var(--soft)}
.vmic{border-radius:50%!important;width:40px;height:40px;justify-content:center;padding:0!important}
.recbar{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}.recbar[hidden]{display:none}
.recbar #rtime{font:600 16px var(--head);font-variant-numeric:tabular-nums}.recbar .rhint{flex:1}.rdot{width:10px;height:10px;border-radius:50%;background:#ef4444;animation:pulse 1s infinite}
.compose.recording .cbox{display:none}
.pinbar{display:flex;align-items:center;gap:10px;padding:7px 14px;border-bottom:1px solid var(--border);background:var(--surface);cursor:pointer;font-size:13px}
.pinbar .ico{color:var(--brand);width:16px;height:16px;flex:none}.pinbar div{flex:1;min-width:0;display:flex;flex-direction:column}.pinbar b{font-size:12px;color:var(--brand)}.pinbar span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pinbar button{border:0;background:none;color:var(--muted);cursor:pointer;font-size:14px;padding:4px 8px}
.sbar{display:flex;gap:6px;padding:8px 12px;border-bottom:1px solid var(--border);background:var(--surface)}.sbar input{flex:1;margin:0}
.sres{max-height:45vh;overflow:auto;background:var(--surface);border-bottom:1px solid var(--border)}.sres:empty{display:none}
.sres button{display:block;width:100%;text-align:left;border:0;border-bottom:1px solid var(--soft);background:none;padding:8px 14px;cursor:pointer;font:inherit;color:var(--ink)}.sres button:hover{background:var(--soft)}
.sres button div{font-size:13px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sres mark{background:#fde68a;color:inherit;border-radius:2px}
.fwdl{max-height:50vh;overflow:auto}.fwdl label[hidden]{display:none}
#send[hidden],.vmic[hidden]{display:none!important}
/* ---------- colleague video / audio calls (teamvideo.js) ---------- */
.vcall{position:fixed;inset:0;z-index:120;background:#0f0b1e;color:#fff;display:flex;flex-direction:column;padding:max(12px,env(safe-area-inset-top)) 14px max(18px,env(safe-area-inset-bottom))}
body.invcall{overflow:hidden}
.vcall .vtop{display:flex;flex-direction:column;align-items:center;gap:2px;padding:4px 0 10px}.vcall .vtop b{font:600 18px var(--head)}.vcall .vtop span{font-size:13px;opacity:.75;font-variant-numeric:tabular-nums}
.vgrid{flex:1;display:grid;gap:8px;min-height:0;grid-template-columns:1fr;grid-auto-rows:1fr}
.vgrid[data-n="2"]{grid-template-columns:1fr}.vgrid[data-n="3"],.vgrid[data-n="4"]{grid-template-columns:1fr 1fr}
@media (min-width:800px){.vgrid[data-n="2"]{grid-template-columns:1fr 1fr}}
.vgrid:empty::before{content:'';display:block}
.vtile{position:relative;background:#1d1735;border-radius:16px;overflow:hidden;min-height:0;display:grid;place-items:center}
.vtile video{width:100%;height:100%;object-fit:cover;background:#000}.vtile.novid video{visibility:hidden}
.vtile .vav{position:absolute;width:88px;height:88px;border-radius:50%;display:none;place-items:center;font:600 30px var(--head)}.vtile.novid .vav{display:grid}
.vtile .vnm{position:absolute;left:10px;bottom:8px;background:#00000080;padding:2px 9px;border-radius:99px;font-size:12.5px}
.vme{position:absolute;right:18px;top:calc(max(12px,env(safe-area-inset-top)) + 64px);width:min(28vw,150px);aspect-ratio:3/4;object-fit:cover;border-radius:12px;border:2px solid #ffffff40;background:#000;z-index:2}
.vme.mirror{transform:scaleX(-1)}.vme[hidden]{display:none}
@media (min-width:800px){.vme{width:200px;aspect-ratio:16/10}}
.vbtns{display:flex;justify-content:center;flex-wrap:wrap;gap:14px 18px;padding-top:14px}
.vbtns .fcb .ico{width:58px;height:58px;padding:17px}
.vin{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center}
.vin .av{width:104px;height:104px;border-radius:50%;display:grid;place-items:center;font:600 36px var(--head);box-shadow:0 0 0 12px #ffffff12;animation:pulse 1.4s ease-in-out infinite;margin-bottom:10px}
.vin b{font:600 26px var(--head)}.vin div{opacity:.8}
.vcall .vbtns .fcb.green .ico{width:70px;height:70px;padding:22px}.vcall .vbtns .fcb.end .ico{width:64px;height:64px;padding:19px}
/* RING-101 announcements */
.asbar.ann.info{background:#e0f2fe;border-color:#7dd3fc;color:#0c4a6e}.asbar.ann.maintenance{background:#ede9fe;border-color:#c4b5fd;color:#4c1d95}
/* video calls: never crop — each video fits whole in its tile (portrait or landscape, phone or computer),
   tiles follow the screen's shape, self-view keeps the camera's own shape */
.vtile video{object-fit:contain;background:#000}
.vgrid{grid-auto-rows:minmax(0,1fr)}
@media (orientation:landscape){.vgrid[data-n="2"]{grid-template-columns:1fr 1fr}.vgrid[data-n="3"],.vgrid[data-n="4"]{grid-template-columns:1fr 1fr}.vgrid[data-n="3"]>:first-child{grid-row:span 2}}
@media (orientation:portrait){.vgrid[data-n="2"]{grid-template-columns:1fr}}
.vme{aspect-ratio:auto!important;width:auto!important;height:auto!important;max-width:min(30vw,180px);max-height:min(26vh,180px);object-fit:contain;background:#000}
@media (min-width:800px){.vme{max-width:240px;max-height:180px}}
/* short screens (phone held sideways): slimmer header and buttons, labels off, self-view top-left out of the buttons' way */
@media (max-height:500px){
  .vcall{padding:max(6px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left))}
  .vcall .vtop{flex-direction:row;gap:8px;padding:0 0 6px}.vcall .vtop b{font-size:15px}
  .vbtns{padding-top:6px;gap:8px 12px}.vbtns .fcb span{display:none}.vbtns .fcb .ico{width:46px;height:46px;padding:13px}
  .vcall .vbtns .fcb.end .ico{width:50px;height:50px;padding:14px}
  .vme{top:max(8px,env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right));max-height:34vh}
}
/* ringing screen on a short screen */
@media (max-height:500px){.vin .av{width:64px;height:64px;font-size:24px;margin-bottom:4px}.vin b{font-size:20px}}
.vtile{min-height:0;min-width:0}.vtile video{position:absolute;inset:0;width:100%;height:100%}
/* In a call the picture fills the whole screen; the name, the time and the buttons lie over it, and a tap on the picture
   hides / shows them (user, 2026-10-04). The small picture of yourself stays. */
.vcall.incall{padding:0}
.vcall.incall .vgrid{position:absolute;inset:0;gap:2px}
.vcall.incall .vtile{border-radius:0;background:#000}.vcall.incall .vtile.novid{background:#1d1735}
.vcall.incall .vtile.fill video{object-fit:cover}
.vcall.incall .vtop{position:absolute;left:0;right:0;top:0;z-index:3;padding:max(12px,env(safe-area-inset-top)) 14px 28px;background:linear-gradient(#000000b0,#0000);pointer-events:none;transition:opacity .2s}
.vcall.incall .vbtns{position:absolute;left:0;right:0;bottom:0;z-index:3;gap:10px 12px;padding:36px 10px max(18px,env(safe-area-inset-bottom));background:linear-gradient(#0000,#000000b8);transition:opacity .2s}
.vcall.incall .vbtns .fcb .ico{width:52px;height:52px;padding:15px}.vcall.incall .vbtns .fcb.end .ico{width:56px;height:56px;padding:16px}
.vcall.incall .vbtns .fcb span{text-shadow:0 1px 3px #000}
.vcall.incall .vgrid[data-n="1"] .vnm{display:none}
.vcall.incall .vtile .vnm{bottom:auto;top:calc(max(12px,env(safe-area-inset-top)) + 50px)}
.vcall.incall.hideui .vtop,.vcall.incall.hideui .vbtns{opacity:0;pointer-events:none}
.vcall.incall.hideui .vtile .vnm{top:max(12px,env(safe-area-inset-top))}
.vcall.incall .vtile video,.vcall.incall .vme{transition:filter .6s}
/* Your own picture (#vpip) and the others' (#vgrid): one is the big picture, the other the small window (.vsmall). The small
   one can be dragged and settles in the nearest corner (data-pip = tl / tr / bl / br, remembered); a tap on it makes the
   two change places (class swap; one-to-one calls only). */
.vcall.incall .vpip{position:absolute;inset:0;z-index:1;line-height:0;background:#000}.vcall.incall .vpip[hidden]{display:none}
.vcall.incall .vpip .vme{position:static;display:block;border:0;border-radius:0;width:100%!important;height:100%!important;max-width:none;max-height:none;object-fit:cover}
.vcall.incall.desk .vpip:not(.vsmall) .vme{object-fit:contain}   /* a computer: your own picture, when it is the big one, whole too */
.vcall.incall .vsmall{position:absolute;inset:auto;z-index:4;right:calc(14px + env(safe-area-inset-right));top:calc(max(12px,env(safe-area-inset-top)) + 64px);border-radius:12px;overflow:hidden;border:2px solid #ffffff40;background:#000;box-shadow:0 4px 18px #0006;touch-action:none;cursor:grab;transition:top .2s,bottom .2s}
.vcall.incall .vpip.vsmall .vme{width:auto!important;height:auto!important;max-width:min(30vw,180px);max-height:min(26vh,180px);object-fit:contain}
.vcall.incall .vgrid.vsmall{width:min(28vw,150px);aspect-ratio:3/4;gap:0}
.vcall.incall .vgrid.vsmall .vtile video{object-fit:cover}.vcall.incall .vgrid.vsmall .vav{width:48px;height:48px;font-size:18px}
@media (min-width:800px){.vcall.incall .vpip.vsmall .vme{max-width:240px;max-height:180px}.vcall.incall .vgrid.vsmall{width:200px;aspect-ratio:16/10}}
.vcall.incall[data-pip^="b"] .vsmall{top:auto;bottom:calc(max(18px,env(safe-area-inset-bottom)) + 124px)}
.vcall.incall[data-pip$="l"] .vsmall{right:auto;left:calc(14px + env(safe-area-inset-left))}
.vcall.incall.hideui .vsmall{top:max(12px,env(safe-area-inset-top))}
.vcall.incall.hideui[data-pip^="b"] .vsmall{top:auto;bottom:max(14px,env(safe-area-inset-bottom))}
.vcall.incall .vsmall.drag{transition:none;cursor:grabbing;opacity:.92}
/* Android 1.0.33: a video call covers the status bar and the navigation buttons (html.immersive); the app says where the
   camera's cut-out is (--cut-t / -r / -b / -l, CSS px), and the name, the buttons and the small picture keep clear of it */
html.immersive .vcall.incall .vtop{padding-top:max(12px,var(--cut-t,0px));padding-left:calc(14px + var(--cut-l,0px));padding-right:calc(14px + var(--cut-r,0px))}
html.immersive .vcall.incall .vbtns{padding-left:calc(10px + var(--cut-l,0px));padding-right:calc(10px + var(--cut-r,0px));padding-bottom:max(18px,var(--cut-b,0px))}
html.immersive .vcall.incall .vtile .vnm{top:calc(max(12px,var(--cut-t,0px)) + 50px)}
html.immersive .vcall.incall.hideui .vtile .vnm{top:max(12px,var(--cut-t,0px))}
html.immersive .vcall.incall .vsmall{right:calc(14px + var(--cut-r,0px));top:calc(max(12px,var(--cut-t,0px)) + 64px)}
html.immersive .vcall.incall[data-pip^="b"] .vsmall{top:auto;bottom:calc(max(18px,var(--cut-b,0px)) + 124px)}
html.immersive .vcall.incall[data-pip$="l"] .vsmall{right:auto;left:calc(14px + var(--cut-l,0px))}
html.immersive .vcall.incall.hideui .vsmall{top:max(12px,var(--cut-t,0px))}
html.immersive .vcall.incall.hideui[data-pip^="b"] .vsmall{top:auto;bottom:max(14px,var(--cut-b,0px))}
.vcall.incall .vsmall::after{content:'';position:absolute;right:5px;bottom:5px;width:22px;height:22px;border-radius:50%;pointer-events:none;background:#000000a6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 8h11l-3-3M17 16H6l3 3'/%3E%3C/svg%3E") center/14px no-repeat}
.vcall.incall.group .vsmall::after{display:none}
.lklogo{width:34px;margin:6px auto 10px}
/* desktop app: pick a screen or window to share */
.shpick{position:fixed;inset:0;z-index:140;background:#0008;display:grid;place-items:center;padding:16px}
.shbox{background:var(--surface);color:var(--ink);border-radius:14px;padding:16px 18px;width:min(760px,100%);max-height:90vh;display:flex;flex-direction:column;box-shadow:0 20px 50px #0006}
.shbox h2{font:600 17px var(--head);margin:0 0 10px}
.shtabs{display:flex;gap:6px;margin-bottom:12px}.shtabs button{border:1px solid var(--border);background:none;border-radius:99px;padding:6px 14px;font:500 13px var(--font);color:var(--ink);cursor:pointer}.shtabs button.on{background:var(--brand);border-color:var(--brand);color:#fff}
.shgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px;overflow:auto;min-height:0;padding:2px}
.shc{border:2px solid var(--border);border-radius:10px;background:var(--soft);padding:6px;cursor:pointer;display:flex;flex-direction:column;gap:6px;text-align:left;font:500 12.5px var(--font);color:var(--ink)}
.shc:hover,.shc:focus{border-color:var(--brand);outline:none}.shc>img,.shph{width:100%;aspect-ratio:16/10;object-fit:contain;background:#000;border-radius:6px}
.shc span{display:flex;gap:6px;align-items:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.shi{width:16px;height:16px;flex:none}
.shfoot{display:flex;justify-content:flex-end;margin-top:12px}
/* walkie-talkie (teamptt.js): hold-to-talk button over the composer, "now talking" pill on every screen */
.tag.ptt{background:#fff4e5;color:#b45309}[data-theme=dark] .tag.ptt{background:#b4530933;color:#fbbf24}
.pttbar{padding:10px 14px 4px;display:flex;flex-direction:column;align-items:center;gap:6px;border-top:1px solid var(--border)}
.pttbtn{width:100%;max-width:420px;display:flex;align-items:center;justify-content:center;gap:12px;padding:16px 18px;border-radius:999px;border:0;cursor:pointer;
  background:var(--brand);color:#fff;font-weight:700;font-size:16px;user-select:none;-webkit-user-select:none;touch-action:none;-webkit-touch-callout:none;box-shadow:0 6px 18px #4332b833;transition:transform .08s,background .15s}
.pttbtn .pttic{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#ffffff26}.pttbtn .ico{width:20px;height:20px}
.pttbtn:active,.pttbtn.on{transform:scale(.98);background:#dc2626;box-shadow:0 0 0 6px #dc262626,0 6px 18px #dc262640}
.pttbtn.on .pttic{animation:pttp 1s ease-in-out infinite}.pttbtn.busy{background:#059669}.pttbtn:disabled{opacity:.5;cursor:not-allowed}
@keyframes pttp{50%{background:#ffffff55}}
.ptthint{font-size:11.5px;text-align:center}
.pttlive{position:fixed;top:calc(env(safe-area-inset-top,0px) + 10px);left:50%;transform:translateX(-50%);z-index:90;display:flex;align-items:center;gap:7px;padding:8px 14px;border-radius:999px;border:0;
  background:#059669;color:#fff;font-size:13px;box-shadow:0 8px 24px #0003;cursor:pointer;max-width:calc(100vw - 32px);white-space:nowrap;overflow:hidden}
.pttlive .ico{width:16px;height:16px}.pttlive .muted{color:#ffffffb3}
.pttdot{width:8px;height:8px;border-radius:50%;background:#fff;animation:pttp2 1s infinite}@keyframes pttp2{50%{opacity:.3}}
/* list rows: action buttons show icon + text everywhere, like the admin console */
.btn .lt{display:none}.hf .ico{width:13px;height:13px;margin-right:4px;vertical-align:-2px}.hf.miss:not(.on){color:var(--danger-ink)}
.row .btn.icon:has(.lt){width:auto;height:auto;min-width:0;min-height:32px;border-radius:var(--r);padding:4px 8px;gap:4px;border-color:var(--border);flex:none}.row .btn.icon:has(.lt) .ico{width:16px;height:16px}.row .btn.icon .lt{display:inline;font-size:12px;white-space:nowrap}
.row .btn.ghost:not(.icon){min-width:0;padding:4px 6px;gap:4px;font-size:12px}.row .btn.ghost:not(.icon) .ico{width:15px;height:15px}
/* Every list in the look of the call log (user, 2026-10-06: "calls and recordings looks modern, make same for the rest"):
   a soft tile or the person's picture, a name and one line under it, the time of day at the right, day headings where the
   list runs by time (calls, recordings, voicemail, fax), and round icon buttons that show when a row is pointed at. */
.crow .sub{flex-wrap:nowrap}.crow .sub .t{flex:1 1 auto;min-width:0}.crow .sub .tag{flex:none}
.crow .qdot{flex:none}.crow.unread .cdir{box-shadow:0 0 0 2px var(--brand-light)}
.lk:not(.touch) #list .row .btn.icon .lt{display:none}
.lk:not(.touch) #list .row .btn.icon:has(.lt){width:32px;height:32px;min-width:32px;min-height:32px;padding:0;border-radius:999px;justify-content:center;border-color:var(--border);flex:none}
@media (hover:hover){
  .lk:not(.touch) #list .row .btn.lcall,.lk:not(.touch) #list .row .btn.icon[data-call],.lk:not(.touch) #list .row .btn.icon[data-text],.lk:not(.touch) #list .row .btn.icon[data-vto]{opacity:0;transition:opacity .12s}
  .lk:not(.touch) #list .row:hover .btn.lcall,.lk:not(.touch) #list .row.on .btn.lcall,.lk:not(.touch) #list .row:hover .btn.icon[data-call],.lk:not(.touch) #list .row:hover .btn.icon[data-text],.lk:not(.touch) #list .row:hover .btn.icon[data-vto]{opacity:1}
}
.lk.deskbar .row .av{border-radius:50%}      /* round on a computer too, as on the phones (2026-10-08) */
/* People, groups and rooms in a list are soft tiles too (user, 2026-10-06: "make contacts tinted too"): a light tint of
   the person's own colour with the initials in that colour. The colour comes as --c on the element; everywhere else
   (a conversation's header, the call card, message bubbles) the same element stays a solid tile. A picture covers either. */
.av[style*="--c"]{background:var(--c)}
.list .row .av[style*="--c"]{background:color-mix(in srgb,var(--c) 15%,var(--surface));color:color-mix(in srgb,var(--c) 88%,#000)}
[data-theme=dark] .list .row .av[style*="--c"]{background:color-mix(in srgb,var(--c) 28%,var(--surface));color:color-mix(in srgb,var(--c) 50%,#fff)}
.list .row .av[style*="--c"] .ico{color:inherit}
/* a text / Telegram conversation without a picture is a soft tile like a call's (it was a solid teal square) */
.list .row .av.sms{background:#e7f6ef;color:#059669}.list .row .av.sms.tg{background:#e6f1fb;color:#2481cc}
[data-theme=dark] .list .row .av.sms{background:#12352a;color:#5fd3a6}[data-theme=dark] .list .row .av.sms.tg{background:#10283d;color:#6db7ee}
/* one line under the name in every list of the full window: its tags sit at the end of that line, the text gives way */
.lk .list .row .sub{flex-wrap:nowrap;row-gap:0}.lk .list .row .sub .t{flex:1 1 auto;min-width:0}.lk .list .row .sub .tag{flex:none}
/* phones: the same one line; when it is too short for the text and its tags, the text keeps at least a third and a long tag is cut */
.lk.touch .list .row .sub .t{flex:1 1 0;min-width:36%}.lk.touch .list .row .sub .tag{flex:0 1 auto;min-width:0;max-width:46%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.lk.deskbar .find input{border-radius:99px;padding:5px 12px}.lk.deskbar .find .btn{border-radius:99px}
.lk.deskbar .lhead.wtools .btn{border-radius:99px;padding:4px 11px;font-size:12px}
/* the call log: its buttons are icons only (the row's Call / Play and the bar's Clear); their names are the tooltips */
.row.crow .btn.icon .lt{display:none}.row.crow .btn.icon:has(.lt){width:32px;height:32px;min-width:32px;min-height:32px;padding:0;border-radius:999px;justify-content:center}
.hfbar .btn.icon{width:30px;height:30px;padding:0;justify-content:center;border-radius:999px;flex:none}.hfbar .btn.icon .ico{width:16px;height:16px}
.hfs{display:flex;align-items:center;gap:6px;flex:1 1 180px;min-width:180px}.lk.touch .hfs{flex:none;min-width:0}      /* the search box and Clear stay together when the bar wraps */
.lk.touch .row.crow .btn.icon:has(.lt){width:40px;height:40px;min-width:40px;min-height:40px}.lk.touch .hfbar .btn.icon{width:38px;height:38px;min-height:38px;padding:0}
.lk.touch .row .btn.icon:has(.lt){min-height:38px;min-width:0}.lk.touch .row .btn.ghost:not(.icon){min-height:38px;min-width:0}
.tag .ico{width:11px;height:11px;margin-right:3px;vertical-align:-1.5px}.row .lcall{align-self:center;margin-left:6px}
.list .row .sub{flex-wrap:wrap;row-gap:3px}.list .row .sub .t{flex:1 1 60%;min-width:0}
/* (voicemail and fax rows had a two-line text and their tags on a third line; since 2026-10-06 they are the call log's
   one-line rows: the full text is in the pane when the row is opened) */
.list .row.crow .sub{flex-wrap:nowrap;row-gap:0}.list .row.crow .sub .t{flex:1 1 auto;white-space:nowrap;display:block;overflow:hidden;text-overflow:ellipsis}
.row a.btn.icon{color:var(--ink);text-decoration:none}
.btn.tab2{min-height:30px;min-width:0;padding:3px 8px;font-size:12px;gap:4px;border-color:var(--border)}.btn.tab2 .ico{width:14px;height:14px}.btn.tab2.red{color:var(--danger-ink)}.lk.touch .row .btn.tab2{min-height:34px;min-width:0}
.fkhead{padding:10px 14px 4px;display:flex;align-items:center}#fkedit{padding:0 6px;font-size:12px}
.fk .fki,.fk .fkb{display:contents}.fk .fkn,.fk .fks,.fkadd,.fknone{display:none}
/* Quick keys in the phone look: at most 10 big tiles, two across, each with its icon, name, a second line and a state light.
   The rows share the height of the screen (between 96 and 124 px each), so all 10 show without scrolling on a normal phone. */
:is(.lk.touch,.lk.keysfull) #fkeys{height:100%;display:flex;flex-direction:column;box-sizing:border-box}
:is(.lk.touch,.lk.keysfull) #fkeys .fkhead{font:700 22px/1.2 var(--head);padding:14px 16px 8px;text-transform:none;letter-spacing:-.01em;color:var(--ink);flex:none}
:is(.lk.touch,.lk.keysfull) #fkeys #fkedit{font-size:14px;padding:0 12px;min-height:40px;font-weight:600}
:is(.lk.touch,.lk.keysfull) #fkeys .fknone{display:block;margin:0;padding:0 16px 12px;color:var(--muted);font-size:14px;line-height:1.45;flex:none}
:is(.lk.touch,.lk.keysfull) #list:has(>#fkeys){display:flex;flex-direction:column}:is(.lk.touch,.lk.keysfull) #list>#fkeys{flex:1 1 0;min-height:0;height:auto}
:is(.lk.touch,.lk.keysfull) #fkeys .fkeys{flex:1 1 0;min-height:0;overflow-y:auto;grid-template-columns:1fr 1fr;grid-template-rows:repeat(var(--rows,5),minmax(84px,124px));gap:10px 12px;padding:4px 16px 14px;align-content:start}
:is(.lk.touch,.lk.keysfull) #fkeys .fk{container-type:size;position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:4px;padding:12px 14px;border:0;border-radius:20px;background:var(--muted-bg);white-space:normal;text-align:left;transition:transform .08s,background .2s}
:is(.lk.touch,.lk.keysfull) #fkeys .fk:active{transform:scale(.97)}
:is(.lk.touch,.lk.keysfull) #fkeys .fk>i{position:absolute;top:14px;right:14px;width:12px;height:12px}
:is(.lk.touch,.lk.keysfull) #fkeys .fk:not(.free):not(.busy):not(.off):not(.ring)>i{display:none}
:is(.lk.touch,.lk.keysfull) #fkeys .fk .fki{display:grid;place-items:center;flex:none;width:clamp(30px,36cqh,44px);height:clamp(30px,36cqh,44px);border-radius:50%;background:var(--surface)}
:is(.lk.touch,.lk.keysfull) #fkeys .fk .fki .ico{width:55%;height:55%;color:var(--brand)}
:is(.lk.touch,.lk.keysfull) #fkeys .fk .fkb{display:flex;flex-direction:column;gap:2px;min-width:0;width:100%}
:is(.lk.touch,.lk.keysfull) #fkeys .fk .fkt{display:none}
:is(.lk.touch,.lk.keysfull) #fkeys .fk .fkn{display:block;font:600 15.5px/1.2 var(--font);color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
:is(.lk.touch,.lk.keysfull) #fkeys .fk .fks{display:block;font-size:12.5px;line-height:1.25;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
:is(.lk.touch,.lk.keysfull) #fkeys .fk.busy{background:color-mix(in srgb,var(--danger) 14%,var(--muted-bg))}
:is(.lk.touch,.lk.keysfull) #fkeys .fk.ring{background:color-mix(in srgb,var(--success) 18%,var(--muted-bg));box-shadow:0 0 0 2px var(--success) inset}
:is(.lk.touch,.lk.keysfull) #fkeys .fk.t-status.free{background:var(--brand-light)}
:is(.lk.touch,.lk.keysfull) #fkeys .fkadd{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;border:2px dashed var(--border);border-radius:20px;background:none;color:var(--muted);font:600 14px var(--font);cursor:pointer}
:is(.lk.touch,.lk.keysfull) #fkeys .fkadd .ico{width:22px;height:22px}
.fk .ico{width:14px;height:14px;flex:none;color:var(--muted)}.fk .fkt{overflow:hidden;text-overflow:ellipsis}#fkedit .ico{width:14px;height:14px}
.page h3 .ico,section > h3 .ico{width:17px;height:17px;color:var(--brand);margin-right:7px;vertical-align:-3px}
/* keypad live search (Samsung style): best match under the number, "+N" opens the rest */
.kname{display:flex;gap:6px;justify-content:center;align-items:center;flex-wrap:wrap}
.ksug{border:0;background:none;color:var(--brand);font:600 14px var(--font);cursor:pointer;padding:2px 4px;border-radius:8px}.ksug span{color:var(--muted);font-weight:400;margin-left:6px}
.kmore{border:1px solid var(--border);background:var(--surface);color:var(--ink-2);font:600 12px var(--font);border-radius:999px;padding:1px 8px;cursor:pointer}
.ksugs{display:flex;flex-direction:column;gap:2px;max-height:180px;overflow:auto;margin:4px auto 8px;max-width:340px;border:1px solid var(--border);border-radius:12px;background:var(--surface);padding:4px}
.ksugs button{display:flex;flex-direction:column;align-items:flex-start;border:0;background:none;padding:7px 10px;border-radius:8px;cursor:pointer;text-align:left;color:var(--ink)}.ksugs button:hover{background:var(--muted-bg)}.ksugs span{font-size:12px;color:var(--muted)}
/* Recents (Samsung style): day headings, folded repeat calls, swipe right = call (green), left = text (blue) */
.hday{padding:12px 14px 4px;font-size:12px;font-weight:700;color:var(--muted);text-transform:none;letter-spacing:0}
.hcount{color:var(--muted);font-weight:500}
.crow{position:relative;touch-action:pan-y}.crow.swcall{background:#05966922}.crow.swtext{background:#4332b822}
.toast{position:fixed;left:50%;bottom:calc(env(safe-area-inset-bottom,0px) + 84px);transform:translateX(-50%);z-index:95;background:#1a1a1e;color:#fff;padding:9px 16px;border-radius:999px;font-size:13.5px;box-shadow:0 8px 24px #0003;max-width:calc(100vw - 32px)}
/* decline with a message: the quick messages as big tappable rows */
.qrlist{display:flex;flex-direction:column;gap:6px;margin-bottom:10px}.qrbtn{text-align:left;border:1px solid var(--border);background:var(--surface);border-radius:12px;padding:11px 14px;font-size:14px;cursor:pointer;color:var(--ink)}.qrbtn:hover{border-color:var(--brand)}
/* "Calls ringing on this phone" checklist */
.rchk{display:flex;flex-direction:column;gap:2px}.rcrow{display:grid;grid-template-columns:24px 1fr auto;gap:10px;align-items:center;padding:8px 0;border-bottom:1px solid var(--border)}.rcrow:last-child{border-bottom:0}
.rcrow .muted{font-size:12.5px;margin-top:2px}.rcok,.rcbad,.rcwarn{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;font-weight:700;font-size:13px;color:#fff}
.rcok{background:#059669}.rcbad{background:#dc2626}.rcwarn{background:#d97706}
/* dark versions of the light-only colors (tags, banners, notice bars, highlights, toast) */
[data-theme=dark] .tag.done{background:#05966926;color:#34d399}
[data-theme=dark] .banner.red{background:#3a1717;border-color:#5c2424}
[data-theme=dark] .doc{background:#ffffff0d}
[data-theme=dark] .asbar{background:#3a2a0b;border-color:#6b4e12;color:#fde68a}[data-theme=dark] .asbar button{background:#fde68a;color:#3a2a0b}
[data-theme=dark] .asbar.ann.info{background:#0c2a3d;border-color:#155e75;color:#bae6fd}
[data-theme=dark] .asbar.ann.maintenance{background:#261a40;border-color:#42306b;color:#ddd6fe}
[data-theme=dark] .sres mark{background:#a16207;color:#fff}
[data-theme=dark] .toast{background:#ececef;color:#1a1a1e}

/* ===== Phone look (2026-10): Material 3 geometry on the RING-101 palette. .touch = the Android app and phone browsers ===== */
/* brand fills take the on-brand ink (dark mode: dark text on the light purple); selected chips are tonal */
.btn.p,.tabs .n,.badge,.lknav button.on,.mctl .btn.on,.av.grp,.pttbtn{color:var(--on-brand)}
.hf.on,.pseg button[data-v].on{background:var(--brand-light);border-color:transparent;color:var(--brand)}
.tag.done{color:var(--success-ink)}.tag.urgent{background:color-mix(in srgb,var(--danger) 12%,transparent);color:var(--danger-ink)}
[data-theme=dark] .tag.sms{color:#5eead4}[data-theme=dark] .meta .seen{color:var(--brand)}
.btn.cg,.btn.cr{color:#fff}
/* top bar: on the surface color (the brand lives in the accents), round avatar with a presence ring, status as a chip */
.lk.mini.touch .lktop{background:var(--surface);color:var(--ink);border-bottom:1px solid var(--soft);padding:10px 16px;gap:12px}
.lk.mini.touch .lktop .me .who b{color:var(--ink);font-size:17px}.lk.mini.touch .lktop .me .muted{color:var(--muted)!important}
.lk.mini.touch .lktop select{background-color:var(--muted-bg);color:var(--ink);border-color:transparent;font-weight:600;border-radius:999px;min-height:36px;padding:4px 28px 4px 12px}
.lk.mini.touch .lktop select option{color:var(--ink);background:var(--surface)}
.lk.mini.touch #mctl{display:none}
.lk.touch .av,.lk.touch .av.sm{border-radius:50%}
.lk.touch .lktop .me .av{width:44px;height:44px;font-size:15px}
.lk.touch .av i{width:13px;height:13px;border-width:2.5px;right:-1px;bottom:-1px}
/* search + new conversation */
.lk.touch .find{position:relative;padding:8px 16px 10px;border-bottom:0;gap:10px;align-items:center}
.lk.touch .find input{min-height:46px;border-radius:999px;background:var(--muted-bg);border-color:transparent;padding-left:44px;font-size:16px}
.lk.touch .find input:focus{background:var(--surface);border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-light)}
.lk.touch .find::before{content:'';position:absolute;left:31px;top:calc(50% - 1px);width:19px;height:19px;margin-top:-10px;background:var(--muted);pointer-events:none;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") center/contain no-repeat}
.lk.touch .find .btn#new{width:46px;height:46px;border-radius:50%;border:0;background:var(--brand);color:var(--on-brand);box-shadow:0 6px 16px color-mix(in srgb,var(--brand) 35%,transparent);padding:0;justify-content:center;flex:none}
.lk.touch .find .btn#new .ico{width:24px;height:24px;stroke-width:2.6}
/* lists: 46 px round avatars, 16 px titles, dividers inset to the text */
.lk.touch .list{padding-bottom:8px}
.lk.touch .row{padding:12px 16px;gap:14px;min-height:70px;border-bottom:0;position:relative;transition:background .15s}
.lk.touch .row::after{content:'';position:absolute;left:76px;right:0;bottom:0;border-bottom:1px solid var(--soft)}
.lk.touch .row:last-child::after{display:none}
.lk.touch .row .av{width:46px;height:46px;font-size:15px}
.lk.touch .row .top b{font-size:16px;font-weight:600}.lk.touch .row .top time{font-size:12px}
.lk.touch .row .sub{font-size:13.5px;margin-top:2px}
.lk.touch .row .btn.lcall.lcall.lcall,.lk.touch .row .btn.rcall.rcall.rcall,.lk.touch .row .btn.tab2.tab2.tab2,.lk.touch .row a.btn.icon.icon{background:var(--brand-light);color:var(--brand);border-color:transparent;border-radius:999px;font-weight:600;padding:0 14px;min-height:40px;min-width:40px;height:40px}
.lk.touch .row .btn.tab2.tab2.tab2.red{color:var(--danger-ink);background:color-mix(in srgb,var(--danger) 12%,transparent)}
.lk.touch .badge{min-width:22px;height:22px;font-size:12px}
.lk.touch .tag{font-size:11px;padding:2px 8px}
.lk.touch .row .star{font-size:20px}
/* bottom navigation (M3 Expressive): 64 px, label under a 60×32 pill that fills on the active tab */
.lk.mini.touch{grid-template-rows:auto auto minmax(0,1fr) auto}
@media (max-width:760px){.lk.touch.shell:not(.mini){grid-template-rows:auto minmax(0,1fr) auto}}
.lk.touch .lknav{padding:6px 4px 8px;gap:0;background:var(--surface);border-top:1px solid var(--soft);border-right:0;min-height:66px}
.lk.touch .lknav button{flex:1;min-width:0;min-height:56px;padding:4px 0 2px;gap:4px;border-radius:12px;background:none!important;color:var(--muted);font:600 12px/1.1 var(--font)}
.lk.touch .lknav button .ico{width:60px;height:32px;padding:4px 18px;border-radius:16px;box-sizing:border-box;transition:background .2s,color .2s}
/* the chosen tab's highlight holds the icon AND its word (it used to sit behind the icon only) */
.lk.touch .lknav button{position:relative;isolation:isolate;padding:5px 0 7px;justify-content:center}.lk.touch .lknav button .ico{height:28px;padding:2px 18px}
.lk.touch .lknav button::before{content:'';position:absolute;z-index:-1;top:1px;bottom:1px;left:50%;width:min(86px,94%);transform:translateX(-50%);border-radius:16px;background:transparent;transition:background .2s}
.lk.touch .lknav button.on{color:var(--brand)}
.lk.touch .lknav button.on::before{background:var(--brand-light)}
.lk.touch .lknav button.on .ico{color:var(--brand)}
.lk.touch .lknav button:not(.on):active::before{background:var(--muted-bg)}
.lk.touch .lknav .n{top:0;right:calc(50% - 28px);font-size:10px;padding:1px 5px;min-width:16px;height:16px;line-height:14px;text-align:center;box-sizing:border-box}
/* sub-tabs, filter chips, page titles */
.lk.touch .tabs{padding:2px 16px 0;gap:0}.lk.touch .tabs button{font-size:14.5px;min-height:46px;border-bottom-width:3px}
/* each tab is as wide as its word plus the same space on both sides, so the words sit at equal distances (All · Extensions · Contacts · Phone) */
.lk.touch .tabs button{flex:1 1 auto;padding-left:4px;padding-right:4px;white-space:nowrap}
.lk.touch .hfbar{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding:6px 16px 10px;gap:8px}.lk.touch .hfbar::-webkit-scrollbar{display:none}
.lk.touch .hfbar input{flex:0 0 130px;min-width:0;border-radius:999px;background:var(--muted-bg);border-color:transparent}.lk.touch .hf .ico{display:none}.lk.touch .hf{padding:6px 12px;flex:none}      /* the four filters fit a phone's width without their icons */.lk.touch .hfbar .btn{flex:none;border-radius:999px}
.lk.touch .hf{flex:none;border-color:var(--border);padding:7px 14px;font-weight:600}
.lk.touch .lhead{font:700 22px/1.2 var(--head);padding:14px 16px 8px;letter-spacing:-.01em}
/* conversation: ghost header buttons, 18 px bubbles with a flat tail corner, pill composer */
.lk.touch .head{padding:8px 10px 8px 6px;min-height:60px;gap:4px;border-bottom:1px solid var(--soft)}
.lk.touch .head .t b{font-size:16px}.lk.touch .head .t div{font-size:12.5px}
.lk.touch .head .acts{gap:2px;flex-wrap:nowrap}
.lk.touch .head .btn{border-color:transparent;background:none;min-width:44px;height:44px;padding:0 10px;border-radius:999px;justify-content:center;color:var(--ink)}
.lk.touch .head .btn.icon{width:44px;padding:0}
.lk.touch .head .btn.p{background:var(--brand-light);color:var(--brand)}
.lk.touch .msgs{padding:12px 12px 6px}.lk.touch .m{max-width:85%}
.lk.touch .bub{border-radius:18px;padding:8px 12px;font-size:15px;box-shadow:none;border-color:transparent}
.lk.touch .m:not(.mine) .bub{border-bottom-left-radius:5px}.lk.touch .m.mine .bub{border-bottom-right-radius:5px}
.lk.touch .day{font-size:12px;background:var(--muted-bg);border:0;padding:4px 12px}
.lk.touch .compose{padding:6px 10px 10px}
.lk.touch .cbox{flex-direction:row;flex-wrap:wrap;align-items:flex-end;gap:2px;border-radius:26px;padding:4px 6px;background:var(--surface);border:1px solid var(--border)}
.lk.touch .cbox textarea{flex:1 1 120px;min-height:40px;max-height:120px;padding:9px 8px;order:2}
.lk.touch .cbox>.att,.lk.touch .cbox>.atl,.lk.touch .cbox>#sugg{flex:1 1 100%;order:1}
.lk.touch .cbar{flex:none;gap:0;order:3}.lk.touch .cbar .sp{flex:none;padding:0 4px}
.lk.touch .compose .btn{border-color:transparent;background:none;color:var(--muted);width:42px;height:42px;min-width:42px;min-height:42px;padding:0;border-radius:50%;justify-content:center}
.lk.touch .compose .btn.p,.lk.touch .compose #send,.lk.touch .compose #vmic{background:var(--brand);color:var(--on-brand)}
.lk.touch .compose #send{font-size:0;gap:0}.lk.touch .compose #send .ico{width:20px;height:20px}
/* the word goes for good in the phone look and the Dialer: font-size 0 alone left "Send" showing in the Windows desktop app
   (2026-10-26, the owner: "with the text goes off the app") */
.lk.touch .compose #send .slbl,.lk.mini .compose #send .slbl{display:none}
.lk.touch .compose #suggest{font-size:0}.lk.touch .compose #suggest::before{content:'✨';font-size:18px}      /* the word ran under the counter */
/* keypad */
.lk.touch .knum{font-size:34px;font-weight:500}.lk.touch .knum.empty::before{font-size:17px}
.lk.touch .dpad.big button{background:var(--muted-bg);font-size:min(31px,calc(var(--k, 76px) * .44));font-weight:500;color:var(--ink)}
.lk.touch .dpad.big button:active{background:var(--brand-light);transform:scale(.93)}
.lk.touch .dpad.big small{font-size:min(10px,max(8px,calc(var(--k, 76px) * .14)));letter-spacing:.16em;font-weight:600}
.lk.touch .mcall{background:#1fa85a!important;border-color:transparent!important;box-shadow:0 8px 20px #1fa85a55}
/* More menu and dialogs as bottom sheets */
body:has(.lk.touch) .moremenu{position:fixed;left:0;right:0;bottom:0;top:auto;width:auto;max-height:76vh;border-radius:26px 26px 0 0;padding:6px 10px calc(14px + env(safe-area-inset-bottom,0px));background:var(--surface);border:0;box-shadow:0 -12px 40px #00000040;animation:sheetup .28s cubic-bezier(.2,.8,.2,1)}
body:has(.lk.touch) .moremenu::before{content:'';display:block;width:36px;height:4px;border-radius:2px;background:var(--border);margin:6px auto 10px}
body:has(.lk.touch) .moremenu button{min-height:52px;font-size:15px;border-radius:14px;padding:10px 12px;gap:14px}
body:has(.lk.touch) .moremenu .ico{width:22px;height:22px;color:var(--ink-2)}
body:has(.lk.touch):has(#moremenu)::after{content:'';position:fixed;inset:0;background:#00000059;z-index:79;animation:fadein .2s}
body:has(.lk.touch) .ov{place-items:end stretch;padding:0}
body:has(.lk.touch) .mod{width:100%;max-width:none;border-radius:26px 26px 0 0;padding:20px 18px calc(20px + env(safe-area-inset-bottom,0px));max-height:88vh;animation:sheetup .28s cubic-bezier(.2,.8,.2,1)}
body:has(.lk.touch) .mod .btn{min-height:44px;border-radius:999px}
@keyframes sheetup{from{transform:translateY(48px);opacity:0}to{transform:none;opacity:1}}@keyframes fadein{from{opacity:0}to{opacity:1}}
/* settings and detail pages: cards on the page color (One UI style) */
.lk.touch .msgs.settings{padding:10px 12px 28px}
.lk.touch .settings section{background:var(--surface);border:0;border-radius:18px;padding:14px 16px 16px;margin:0 0 10px}
.lk.touch .settings h3{font-size:16px}
.lk.touch .settings .fwcard{border:0;background:var(--muted-bg);border-radius:14px;padding:10px 12px}
.lk.touch .settings .btn,.lk.touch .dacts .btn{border-radius:999px}
.lk.touch .det{padding:12px}
.lk.touch .dhero .av{border-radius:50%;width:68px;height:68px;font-size:22px}
.lk.touch .dacts .btn{background:var(--muted-bg);border-color:transparent}.lk.touch .dacts .btn.cg{background:var(--success);color:#fff}
.lk.touch .dcard{border:0;border-radius:18px;background:var(--surface)}
/* calls: the compact card (the "Open app" state) and the full screen */
.lk.mini.touch #callcard.callcard{margin:8px 12px 0;border-radius:18px;padding:12px}
.lk.touch .callcard.full .fc-who .av{width:112px;height:112px;font-size:40px}
.lk.touch .callcard.full .fc-who b{font-size:28px}
.lk.mini.touch #callcard.callcard.full{margin:0;border-radius:0;padding:max(14px,env(safe-area-inset-top,0px)) 20px 20px}
.lk.touch .row .btn.btn.btn[data-call]{background:var(--brand-light);color:var(--brand);border-color:transparent;border-radius:999px;font-weight:600;padding:0 14px;min-height:40px;min-width:40px;height:40px}
[data-theme=dark] .banner{background:#3a2a0b;border-color:#6b4e12;color:#fde68a}
.lk.touch .pics{grid-template-columns:repeat(auto-fill,minmax(118px,1fr))}.lk.touch .m:has(.pics){max-width:92%}
.lk.touch .cdir{width:44px;height:44px;border-radius:50%}.lk.touch .cdir .ico{width:20px;height:20px}.lk.touch .crow::after{left:74px}

.login input{font-size:16px}   /* iOS zooms into smaller inputs on focus */
/* audio output chooser (call screen): a small bottom sheet over the call card */
.aout{position:fixed;inset:0;z-index:1200;background:#0006;display:flex;align-items:flex-end;justify-content:center}
.aout-box{width:100%;max-width:420px;background:var(--surface);color:var(--ink);border-radius:22px 22px 0 0;padding:16px 14px max(18px,env(safe-area-inset-bottom));box-shadow:0 -10px 30px #0000004d}
.aout-box b{display:block;font:700 15px var(--head);margin:2px 6px 10px}
.aout-box button{display:flex;align-items:center;gap:12px;width:100%;padding:14px 10px;border:0;background:none;color:inherit;font:500 16px/1.2 inherit;border-radius:12px;cursor:pointer;text-align:left}
.aout-box button .ico{width:22px;height:22px}.aout-box button span{flex:1}.aout-box button i{font-style:normal;color:var(--brand);font-weight:700}
.aout-box button.on{background:var(--brand-light)}
/* My settings: plainly named sections under headings, one open at a time; rules as one sentence per line */
.settings .sgroup{font:600 12px var(--head,inherit);letter-spacing:.05em;text-transform:uppercase;color:var(--muted);margin:16px 4px 6px}
.settings .sgroup:first-child{margin-top:2px}
.settings section>.shead{display:flex;align-items:center;gap:12px;width:100%;background:none;border:0;padding:4px 0;margin:0;text-align:left;color:inherit;cursor:pointer;font:inherit;min-height:44px}
.settings .shead .si{display:flex;flex:none}.settings .shead .si .ico,.settings .shead .si svg{width:22px;height:22px;color:var(--brand)}
.settings .shead .stx{flex:1;min-width:0}.settings .shead b{display:block;font:600 15px var(--head,inherit);color:var(--ink)}
.settings .shead small{display:block;color:var(--muted);font-size:12.5px;line-height:1.35;margin-top:1px}
.settings .shead>.ico{width:18px;height:18px;flex:none;color:var(--muted);transform:rotate(180deg);transition:transform .15s}
.settings section.open>.shead>.ico{transform:none}
.settings section>.sbody{display:none;padding-top:8px}.settings section.open>.sbody{display:block}
.settings section{padding:8px 0}
.settings .fwr{display:flex;align-items:center;gap:8px 12px;flex-wrap:wrap;padding:9px 0;border-top:1px solid var(--border)}
.settings .fwlist>.fwr:first-child,.settings .fwin>.fwr:first-child{border-top:0}
.settings .fwl{flex:1 1 170px;font-size:13.5px;line-height:1.35}.settings .fwv{display:flex;gap:6px;align-items:center;flex-wrap:wrap;flex:1 1 190px;min-width:0}
.settings .fwv select{max-width:100%;min-width:0}.settings .fwv .fwnum{display:block;margin:0;max-width:190px}.settings .fwv .fwnum[hidden]{display:none}
.settings .fwin{margin:0 0 4px 6px;padding-left:12px;border-left:2px solid var(--border)}
.settings .fwauto{margin-top:14px}.settings .fwauto>b{display:block;font:600 13.5px var(--head,inherit);margin-bottom:2px}
.lk.touch .settings section{padding:10px 14px}
.lk.touch .settings .fwv select{flex:1 1 150px}
/* Dialer mode on a computer = the phone app's look; it keeps its two window buttons (stay on top, full app) in the top bar */
.lk.mini.touch.desk #mctl{display:flex;gap:2px;align-items:center}
.lk.mini.touch.desk #mctl .btn,.lk.mini.touch.desk #mctl .btn.on{color:var(--ink-2);background:none;border-color:transparent}
/* pinned (stays on top): the same button without a box, the pin drawn solid in the brand color */
.lk.mini.touch.desk #mctl .btn.on{color:var(--brand)}.lk.mini.touch.desk #mctl .btn.on .ico{fill:currentColor}
/* "RING-101 on your phone": Android / iPhone switch, numbered steps, the small "get the app" code */
.mseg{display:flex;gap:4px;padding:4px;background:var(--muted-bg);border-radius:99px;margin:4px 0 14px}
.mseg button{flex:1;border:0;background:none;border-radius:99px;padding:8px 10px;font-weight:600;font-size:13.5px;color:var(--ink-2);cursor:pointer}
.mseg button.on{background:var(--surface);color:var(--brand);box-shadow:0 1px 3px #0000001f}
.mstep{display:flex;gap:12px;align-items:flex-start;margin:0 0 14px}.mstep>b{flex:none;width:24px;height:24px;border-radius:99px;background:var(--brand-light);color:var(--brand);display:grid;place-items:center;font-size:12.5px}
.mstep>div{flex:1;min-width:0}.msth{font-weight:650;font-size:14px;margin-bottom:4px}.mstep p{margin:0 0 8px;font-size:13px}
.mgetrow{display:flex;gap:12px;align-items:flex-start}.qr.sm{width:112px;height:112px;flex:none;background:#fff;padding:5px;border-radius:10px;border:1px solid var(--border)}.qr.sm svg{width:100%;height:100%;display:block}
.mset .mod{max-width:480px}.mset .qrbox{margin-top:10px}
/* "Phones signed in as me": one tidy row per phone (the rows had no styles of their own here: name, details and the
   button ran together) */
.mdevh{font:650 13px var(--head);margin:6px 0 8px;padding-top:14px;border-top:1px solid var(--border)}
.mdevs{display:flex;flex-direction:column;gap:6px}
.mdev{display:flex;align-items:center;gap:10px;padding:8px 8px 8px 10px;border:1px solid var(--border);border-radius:12px;background:var(--bg)}
.mdev .mdi{flex:none;width:32px;height:32px;border-radius:9px;background:var(--brand-light);color:var(--brand);display:grid;place-items:center}.mdev .mdi .ico{width:17px;height:17px}
.mdev .mdt{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px;line-height:1.25}.mdev .mdt b{font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mdev .mdt small{font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mdev .btn{flex:none;padding:5px 11px;font-size:12.5px;border-radius:99px}
.mset h3{margin-bottom:12px}.mset .mstep p{line-height:1.45}.mset #msign{margin-top:2px}.mset .mgetrow p{margin-top:2px}
/* Phones: the on-screen keyboard (team.js keyboardFit). The app is exactly as tall as what is visible above the
   keyboard and never scrolls as a whole; the bottom tabs make room while typing; sheets end above the keyboard. */
html.kbd:has(.shell),html.kbd:has(.shell) body{height:var(--vvh);overflow:hidden}      /* not the sign-in page: it scrolls */
html.kbd .shell,html.kbd .lk.shell{height:var(--vvh);padding-bottom:0}      /* the home-bar strip is under the keyboard now */
html.kbd .lk.touch .lknav{display:none}
/* searching on a phone: the list gets the whole screen (team.js searchSync) */
#qx{display:none}
/* the search box stays where it is (user): my name bar and the tabs above it are kept; what is below it makes room */
html.searching .lk.touch:not(.open) .lknav,html.searching .lk.touch:not(.open) #list .lhead,html.searching .lk.touch:not(.open) #list .faxline,
html.searching .lk.touch:not(.open) #list .swhint,html.searching .lk.touch:not(.open) .find #new{display:none}
html.searching .lk.touch .find #qx{display:inline-flex;width:auto;height:44px;min-width:0;padding:0 6px;font-weight:600;color:var(--brand);background:none;border:0;flex:none}
/* a keyboard that lies over the page instead of shrinking it: the last results can still be scrolled above it */
html.searching:not(.kbd) .lk.touch:not(.open) #list{padding-bottom:45vh}
html.kbd .ov{bottom:auto;height:var(--vvh)}
html.kbd body:has(.lk.touch) .mod{padding-bottom:20px}
/* Chat header: on a computer every action sits in the bar; on phones the main one (Call / Take) stays and the rest open
   under "⋯" as a menu with words, so the conversation's name has room. */
#hmore{display:none}.hmenu{display:contents}.mlbl{display:none}
.lk.touch .head{position:relative}
.lk.touch #hmore{display:inline-flex}
.lk.touch .hmenu{display:none;position:absolute;right:8px;top:54px;z-index:25;flex-direction:column;gap:2px;min-width:216px;padding:6px;background:var(--surface);border:1px solid var(--border);border-radius:18px;box-shadow:0 14px 34px #0000002e}
.lk.touch .hmenu.on{display:flex}
.lk.touch .hmenu .btn{justify-content:flex-start;width:100%;height:46px;padding:0 14px;gap:12px;border-radius:12px;font-size:15px;font-weight:500}
.lk.touch .hmenu .btn:active{background:var(--muted-bg)}
.lk.touch .hmenu .lbl,.lk.touch .hmenu .mlbl{display:inline}
.lk.touch .cbox textarea{scrollbar-width:none}.lk.touch .cbox textarea::-webkit-scrollbar{display:none}
/* Phones: my status is in the avatar's menu (and the avatar's dot shows its color), not in the top bar */
.lk.touch .lktop .whost{display:none}
/* the account sheet on phones: who I am, then my status and my queues as two dropdown rows, then the actions */
body:has(.lk.touch) .avhead{display:flex;align-items:center;gap:14px;padding:2px 6px 14px}.avhead .av{width:52px;height:52px;font-size:19px;flex:none;position:relative;border-radius:50%;display:grid;place-items:center;color:#fff;font-weight:700;overflow:hidden}
.avhead b{display:block;font:700 18px/1.2 var(--head)}.avhead span{color:var(--muted);font-size:13.5px}
body:has(.lk.touch) .moremenu .avsel{min-height:62px;border-radius:18px;padding:10px 14px;gap:12px}
body:has(.lk.touch) .moremenu .avsel>i,body:has(.lk.touch) .moremenu .avopt>i{width:12px;height:12px;margin:0 5px}
body:has(.lk.touch) .moremenu .avpic{min-height:0;padding:0;border-radius:50%}body:has(.lk.touch) .avlab{font-size:13px;margin:2px 8px 8px}
body:has(.lk.touch) .avsl small{font-size:12.5px}body:has(.lk.touch) .avsl b{font-size:16px}
body:has(.lk.touch) .avdd{margin-bottom:8px}body:has(.lk.touch) .moremenu .avopt{min-height:48px;padding-left:14px}
body:has(.lk.touch) .moremenu [data-x=logout],body:has(.lk.touch) .moremenu [data-x=logout] .ico{color:var(--danger-ink)}
/* No shadows (user, 2026-10-06: "remove the shadows from the team app too, keep the green call button"). Every drop
   shadow is gone: dialogs, menus, the notice at the bottom, the floating call card, the sheets that slide up, message
   bubbles, fax pages, the round + button, the small picture in a video call, the labels over a video. What a shadow
   used to set apart from the page has a thin line instead. Kept on purpose: the glow under the green Call button
   (.mcall), and rings that are outlines, not shadows (the focus ring of a box, the ring round a picture while it rings,
   a mention, the dimmed area round the QR frame and the picture cropper). */
.login form,.bub,.mod,.menu,.faxpages img,.lk.deskbar .hmenu,.lk.touch .hmenu,.lk.keysfull:not(.touch) #fkeys .fk:hover,.lk #callcard.callcard,.callcard.full .fc-sheet,.atl,.vcall.incall .vsmall,.shbox,.toast,.lk.touch .find .btn#new,body:has(.lk.touch) .moremenu,.aout-box,.mseg button.on{box-shadow:none}
.vcall.incall .vbtns .fcb span{text-shadow:none}
.pttbtn:active,.pttbtn.on{box-shadow:0 0 0 6px #dc262626}
.mod,.shbox,.atl{border:1px solid var(--border)}
.faxpages img{border:1px solid var(--border)}
.lk #callcard.callcard{border:1px solid #ffffff2e}.lk.mini #callcard.callcard{border:0}.lk #callcard.callcard.full,#callcard.callcard.full{border:0}
.callcard.full .fc-sheet{border-top:1px solid #ffffff2e}
.aout-box,body:has(.lk.touch) .moremenu{border-top:1px solid var(--border)}
.mseg button.on{outline:1px solid var(--border)}
.lk.keysfull:not(.touch) #fkeys .fk:hover{border-color:var(--brand)}
/* the privacy policy, read inside the app (team.js openPrivacy): a tall dialog holding the page */
.ov.ppol .mod{max-width:820px;width:100%;height:min(86vh,900px);max-height:none;padding:0;display:flex;flex-direction:column;overflow:hidden}
.pphead{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 8px 8px 16px;border-bottom:1px solid var(--border);flex:none;font-size:14px}
.ov.ppol iframe{flex:1;min-height:0;width:100%;border:0;background:var(--bg)}
body:has(.lk.touch) .ov.ppol .mod{padding:0 0 env(safe-area-inset-bottom,0px);height:88vh;max-height:88vh}
.lfoot{margin:14px 0 0;text-align:center;font-size:12.5px}.sfoot{margin:20px 0 8px;text-align:center;font-size:12.5px}
/* Phones: the call log's search box and its Clear button sat to the right of the four filters, outside the screen (the row
   scrolled sideways and nothing said so). They get a row of their own under the filters. */
.lk.touch .hfbar{flex-wrap:wrap;overflow-x:visible}
.lk.touch .hfbar .hfs{flex:1 1 100%;min-width:0}
.lk.touch .hfbar .hfs input{flex:1 1 auto}
/* Readable grey: the small grey text (keypad letters, "Today", a person's extension and state, labels in the account sheet)
   was 4.2 : 1 on the page background, under the 4.5 that small text needs. Dark mode already passes. The Telegram tag too. */
:root:not([data-theme=dark]){--muted:#5f5d69}
:root:not([data-theme=dark]) .tag.tg{color:#0f6aa8}
/* Nothing a person has to read is under 11 px in the full window (tags, times, the side bar's section names and second
   lines were 9.5 to 10.5 px), and links are a shade darker so small ones pass the contrast for small type. */
.tag{font-size:11px}
.lk.deskbar .row .top time,.lk.deskbar .lknav button.two small,.lk.deskbar .lksec{font-size:11px}
:root:not([data-theme=dark]){--link:#006aa3}
.lk:not(.touch) .dpad small{font-size:10px}      /* the letters under the dial pad's digits were 8 px in the full window */

/* Labels on customer conversations: a soft tint of the label's colour, the same in the list, the filter row and the dialog */
.tag.lab{--lc:#6e6c76;background:color-mix(in srgb,var(--lc) 14%,transparent);color:color-mix(in srgb,var(--lc) 78%,var(--ink))}
.tag.lab.red{--lc:#c62828}.tag.lab.amber{--lc:#b26a00}.tag.lab.green{--lc:#1b7a43}.tag.lab.blue{--lc:#0b6fb8}.tag.lab.purple{--lc:#5b3fd6}.tag.lab.grey{--lc:#6e6c76}
[data-theme=dark] .tag.lab{background:color-mix(in srgb,var(--lc) 26%,transparent);color:color-mix(in srgb,var(--lc) 45%,#fff)}
.labf{display:flex;gap:6px;flex-wrap:wrap;padding:8px 14px 6px}.labf .tag{border:0;cursor:pointer;font:inherit;font-size:11.5px;font-weight:600;padding:3px 10px}
.labf .tag.on{outline:2px solid var(--brand);outline-offset:1px}
.lk.touch .labf{padding:8px 16px 6px}.lk.touch .labf .tag{font-size:13px;padding:6px 12px}
.lablist{display:grid;gap:8px}.lablist .chk{display:flex;align-items:center;gap:10px;cursor:pointer}.lablist input{width:auto}.lablist .tag{font-size:13px;padding:3px 10px}
.labrow{display:flex;gap:8px;margin-bottom:8px;align-items:center}.labrow .ln{flex:1;min-width:0}.labrow .lc{width:110px;flex:none}

/* a translation, or the text of a voice message, under the bubble's own content */
.trn{margin-top:6px;padding-top:6px;border-top:1px dashed color-mix(in srgb,currentColor 28%,transparent);font-size:.95em;white-space:pre-wrap;overflow-wrap:anywhere}
.trn>span{display:block;font-size:11px;font-weight:600;opacity:.72;margin-bottom:2px}

/* what is waiting to be sent in this conversation: a small line above the composer */
#schedbar{padding:0 12px 8px}#schedbar .tag{border:0;cursor:pointer;font:inherit;font-size:12px;font-weight:600;padding:4px 10px;display:inline-flex;gap:6px;align-items:center}#schedbar .ico{width:13px;height:13px}
#ptown{width:100%}

/* Live text on the call card (teamphone capsHtml): the last lines of what is said, to read along when the sound is poor.
   A tap makes the box taller. The card is dark in both themes, so the colours are fixed. (`.mine`, not `.me`: that is the top bar's block.) */
.ccap{margin-top:8px;padding:8px 10px;border-radius:10px;background:#ffffff14;font-size:13px;line-height:1.4;max-height:96px;overflow-y:auto;cursor:pointer;text-align:left;scrollbar-width:none}
.ccap::-webkit-scrollbar{display:none}.ccap.big{max-height:260px}
.ccap p{margin:0 0 5px}.ccap p:last-child{margin:0}
.ccap p b{display:inline-block;min-width:38px;margin-right:6px;font:600 11px var(--font);opacity:.6}
.ccap p.mine{opacity:.7}.ccap p.part{opacity:.82}.ccap p.mine.part{opacity:.6}
.callcard.full .ccap{margin:0 0 14px;padding:12px 14px;border-radius:16px;font-size:17px;line-height:1.38;max-height:30vh}
.callcard.full .ccap p{margin-bottom:8px}.callcard.full .ccap p b{font-size:12px;min-width:44px}
#callcard.callcard.full:has(.ccap) .fc-who{min-height:120px}#callcard.callcard.full:has(.ccap) .fc-who .av{width:64px;height:64px;font-size:24px;margin-bottom:2px;box-shadow:0 0 0 6px #ffffff14}
#callcard.callcard.full:has(.ccap.big) .fc-who{min-height:0;flex:0 0 auto;padding:6px 0 10px}#callcard.callcard.full:has(.ccap.big) .fc-who .av{display:none}
#callcard.callcard.full .ccap.big{flex:1 1 0;max-height:none;min-height:0}
.tline.part{opacity:.6}

/* A colleague's own picture on the call screens (the phone call card uses .av .avimg; this is the tile of a colleague call without camera) */
.vtile .vav .avimg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:50%}

/* Adding people to a colleague call (teamvideo invite): the dialog lies over the call screen, with a list to tick */
.ov.overcall{z-index:140}
.vinvl{max-height:46vh;overflow:auto;margin:0 -4px}.vinvp{display:flex;align-items:center;gap:10px;padding:7px 4px;border-radius:10px;cursor:pointer}
.vinvp:hover{background:var(--muted-bg)}.vinvp input{width:18px;height:18px;flex:none;margin:0}.vinvp b{display:block;font-weight:600}.vinvp small{color:var(--muted);font-size:12px}
body.invcall .toast{z-index:150;bottom:calc(env(safe-area-inset-bottom,0px) + 150px)}

/* why this device was signed out (a newer sign-in on another computer or phone took its place), on the sign-in card */
.login .lout{margin:0 0 14px;padding:10px 12px;border:1px solid var(--border);border-left:3px solid var(--brand);border-radius:10px;background:var(--brand-light);color:var(--ink);font-size:13px;line-height:1.45}

/* The agreement on the user's side (teamlegal.js): a sheet to read and accept; the call card (z-index 30) stays above it */
#tlegal{position:fixed;inset:0;z-index:28;background:#1a1a1e99;display:grid;place-items:center;padding:16px}
.tlbox{box-sizing:border-box;background:var(--surface);color:var(--ink);border:1px solid var(--border);border-radius:16px;width:min(780px,100%);max-height:min(92vh,920px);display:flex;flex-direction:column;padding:18px 20px;box-shadow:none}
.tlbox h2{margin:0 0 6px;font-size:17px}.tllead{margin:0 0 10px;color:var(--muted);font-size:13.5px;line-height:1.45}
.tltext{flex:1 1 auto;min-height:140px;overflow:auto;border:1px solid var(--border);border-radius:12px;padding:14px 16px;font-size:14px;line-height:1.6;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;user-select:text;-webkit-user-select:text}
.tlok{display:flex;gap:10px;align-items:flex-start;margin:12px 0 0;font-size:14.5px;cursor:pointer}.tlok input{width:20px;height:20px;flex:none;margin:1px 0 0;accent-color:var(--brand)}
.tlerr{color:var(--danger-ink);font-size:13px;margin-top:6px}.tlerr:empty{display:none}
.tlbtns{display:flex;gap:10px;justify-content:flex-end;margin-top:12px}.tlbtns .btn:disabled{opacity:.45;cursor:not-allowed}.tlbtns .btn.p{color:var(--on-brand,#fff)}
body:has(.lk.touch) #tlegal{padding:0;display:block}
body:has(.lk.touch) .tlbox{border-radius:0;border:0;width:100%;max-width:100%;height:100%;max-height:100%;min-width:0;overflow:hidden;padding:calc(14px + env(safe-area-inset-top)) 16px calc(14px + env(safe-area-inset-bottom))}
body:has(.lk.touch) .tltext{min-width:0;padding:12px 14px}
body:has(.lk.touch) .tlbtns .btn{flex:1;justify-content:center;min-height:46px;font-size:15px}
html.kbd #tlegal{bottom:auto;height:var(--vvh)}
.dpa-text h1{font-size:19px;line-height:1.25;margin:0 0 4px}.dpa-text h2{font-size:15.5px;line-height:1.3;margin:22px 0 6px}.dpa-text h3{font-size:14px;margin:14px 0 4px}
.dpa-text p{margin:8px 0}.dpa-text ul{margin:8px 0;padding-left:20px}.dpa-text li{margin:4px 0}.dpa-text .dpa-date{color:var(--muted);font-size:13px;margin:0 0 12px}
.dpa-text .dpa-scroll{overflow-x:auto;margin:10px 0}.dpa-text table{border-collapse:collapse;width:100%;font-size:13px;min-width:520px}
.dpa-text th,.dpa-text td{text-align:left;vertical-align:top;padding:8px 10px;border-bottom:1px solid var(--border)}.dpa-text th{font-size:12px;color:var(--muted);font-weight:600}.dpa-text td.k{font-weight:600;width:22%}
.login .lrem{display:flex;gap:8px;align-items:center;margin:10px 0 2px;font-size:13.5px;font-weight:500;cursor:pointer}.login .lrem input{width:18px;height:18px;flex:none;margin:0;accent-color:var(--brand)}
/* the "call with" chip on a touch screen's keypad (a phone's browser; the phone apps do not show it): a finger's size */
.lk.touch .kvia{min-height:38px;padding:8px 16px;font-size:13.5px}

/* Pictures in the call log, voicemail and "waiting for a callback": the other party's picture fills the round tile, and
   the tile's own mark (incoming / outgoing / missed / voicemail) sits in a small badge at its corner, in the tile's colours. */
.cdir{position:relative}
.cdir .avimg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:50%}
.cdir .cbadge{display:none}
.cdir.pic .cbadge{display:grid;place-items:center;position:absolute;right:-3px;bottom:-3px;width:16px;height:16px;border-radius:50%;background:inherit;color:inherit;box-shadow:0 0 0 2px var(--surface)}
.cdir.pic .cbadge .ico{width:9px;height:9px}
.row:hover .cdir.pic .cbadge{box-shadow:0 0 0 2px var(--muted-bg)}.row.on .cdir.pic .cbadge{box-shadow:0 0 0 2px var(--brand-light)}
.lk.touch .cdir.pic .cbadge{width:19px;height:19px;right:-2px;bottom:-2px}.lk.touch .cdir.pic .cbadge .ico{width:11px;height:11px}
/* The dial pad's line under the number, and the dial box's list: who it is, with their picture */
.kwho{display:inline-flex;align-items:center;gap:8px;max-width:100%}.kwho b{font:600 15px var(--font);color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kname .av.sm,.ksug .av.sm{width:26px;height:26px;font-size:11px}.kname .av.sm .ico{width:14px;height:14px}
.ksug{display:inline-flex;align-items:center;gap:6px}
#dsug .av.sm{width:26px;height:26px;font-size:11px}#dsug .av.sm .ico{width:14px;height:14px}

/* A screened call after Answer: the bar with Accept (the "1" the phone system waits for) and Voicemail, on the call card */
.scrbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:8px 10px;margin:0 0 8px;border-radius:12px;background:var(--brand-light);color:var(--ink);font-size:13px;position:relative;z-index:3}
.scrbar span{flex:1 1 160px;display:flex;align-items:center;gap:6px;min-width:0}.scrbar .ico{width:15px;height:15px;flex:none}
.callcard.full .scrbar{position:absolute;left:14px;right:14px;top:calc(env(safe-area-inset-top, 0px) + 64px);margin:0;font-size:14px;padding:12px}
.callcard.full .scrbar .btn{padding:9px 16px;font-size:14px}
.scrbar.ring{background:var(--brand-light)}.scrbar.ring b{font-weight:700}
.scrbar .scrt{display:block;min-width:0;line-height:1.35}.scrbar .scrt b{display:block;font-weight:700;font-size:1.08em;margin-top:2px;white-space:normal;overflow-wrap:anywhere}
.scrbar.ring{align-items:flex-start}.scrbar.ring>span{align-items:flex-start}

/* Phones: a caller waiting for a call back. "Done" and "Call back" are round icons there: with their words the two
   buttons took the room of the caller's number ("(312)…"). Their names stay as tooltips and for screen readers. */
.lk.touch #list .row :is(.btn[data-mdone],.btn[data-mdone] + .btn[data-call]) .lt{display:none}
.lk.touch #list .row :is(.btn[data-mdone],.btn[data-mdone] + .btn[data-call]){padding:0;width:40px;height:40px;justify-content:center;border-radius:50%;flex:none}

/* ---------- 2026-10-13: voice to text, a reaction that is sent, and the message box on phones ---------- */
#vdict.busy{opacity:.45;pointer-events:none;animation:vdictp 1s ease-in-out infinite alternate}@keyframes vdictp{to{opacity:.9}}
.mmenu .rnote{padding:0 12px 6px;font-size:12px;color:var(--muted)}
/* on a phone: with many buttons the message box takes the whole width and the buttons sit under it, at the right */
.lk.touch .cbox textarea{flex:1 1 150px}.lk.touch .cbar{margin-left:auto}
#slater[hidden],#vdict[hidden]{display:none!important}
/* link previews under a message's text (2026-10-15): the server read the page once; the picture is a file of ours */
.lp{display:flex;flex-direction:column;margin-top:6px;max-width:320px;border:1px solid var(--border);border-left:3px solid var(--link);border-radius:10px;overflow:hidden;text-decoration:none;color:var(--ink);background:var(--surface)}
.lp img{display:block;width:100%;max-height:170px;object-fit:cover;background:var(--soft)}
.lpt{display:flex;flex-direction:column;gap:2px;padding:7px 10px 8px;min-width:0}
.lps{font-size:11.5px;color:var(--muted)}
.lp b{font-size:13px;line-height:1.3;font-weight:600;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.lpd{font-size:12px;line-height:1.35;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}

/* colleague calls: their picture behind the incoming screen and behind a tile without camera, the RING-101 logo in the round spot (2026-10-17) */
.vtbg{position:absolute;inset:0;overflow:hidden;pointer-events:none;display:none;z-index:0}
.vtile.novid .vtbg,.vcall>.vinbg{display:block}
.vcall{isolation:isolate}.vcall>.vinbg{z-index:-1}
.vtile .vav,.vtile .vnm{z-index:1}
.vtile .vav.r101,.vin .av.r101{background:#fff!important;overflow:hidden}
.vtile .vav.r101 img.r101,.vin .av.r101 img.r101{width:64%;height:auto;position:static;border-radius:0}
.vtile.novid video{opacity:0}

/* the call screens' purple (2026-10-17, the owner: "replace background with a nice modern purple theme one"): a soft light
   behind the caller's circle, brand violet fading into deep indigo; phone calls, colleague calls and the watch share it */
:root{--call-bg:radial-gradient(110% 60% at 50% 30%,#6d55f0 0%,#4f3cc9 28%,#36218f 55%,#1f1258 80%,#150c3d 100%)}
.vcall{background:var(--call-bg)}
.vcall.incall .vtile.novid{background:var(--call-bg)}
.callcard.full .fc-num{font-size:16px!important;opacity:.92!important}
.callcard.full .fc-via{display:inline-flex;align-items:center;gap:6px;margin:4px auto 0;padding:5px 12px;border-radius:99px;background:#ffffff1f;font-size:13px!important;opacity:1!important;max-width:100%}
.callcard.full .fc-via .ico{width:14px;height:14px;flex:none}.callcard.full .fc-via span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.callcard.full .fc-who b{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.15;text-align:center}

/* New text: people found as you type in the To box */
.tosug{display:flex;flex-direction:column;border:1px solid var(--border);border-radius:10px;margin-top:4px;max-height:240px;overflow:auto;background:var(--surface)}
.tosug button{all:unset;cursor:pointer;display:flex;flex-direction:column;gap:1px;padding:7px 10px;border-bottom:1px solid var(--border);font-size:13px}
.tosug button:last-child{border-bottom:0}
.tosug button:hover,.tosug button:focus-visible{background:var(--brand-light)}
.tosug button span{color:var(--muted);font-size:12px}
.tosug[hidden]{display:none}
/* The call brief (teamphone briefHtml, 2026-10-20): what we know about the other side, under their name. Both call cards are
   dark in every theme, so one look: a soft white panel, one line per fact, a tap opens every line and its second line. */
.callcard .cbrief{margin:8px 0 0;padding:8px 10px;border-radius:12px;background:#ffffff14;color:#fff;font-size:12.5px;line-height:1.35;cursor:pointer;display:flex;flex-direction:column;gap:5px;text-align:left}
.callcard .cbrief .bl{display:flex;gap:8px;align-items:flex-start;min-width:0}
.callcard .cbrief .bl .ico{width:14px;height:14px;flex:none;margin-top:2px;opacity:.7}
.callcard .cbrief .bl.warn .ico{color:#ffb4a8;opacity:1}
.callcard .cbrief .bl span{min-width:0;display:flex;flex-direction:column}
.callcard .cbrief .bl b{font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.callcard .cbrief .bl i{font-style:normal;opacity:.72;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.callcard .cbrief.open .bl b{white-space:normal}.callcard .cbrief.open .bl i{-webkit-line-clamp:8}
.callcard .cbrief .bmore{font-size:11.5px;opacity:.65;padding-left:22px}
.callcard.full .cbrief{margin:0 auto 12px;width:min(460px,100%);font-size:13.5px;background:#ffffff1a;flex:none;max-height:38vh;overflow:auto}
.lk.touch .callcard.full .cbrief{font-size:14px}
/* Only what is still new in bold (2026-10-20, the owner, of the Dialer's chat list: "have only unread messages in bold", then
   "same for missed calls", "or unread voicemails"): an unread conversation, a missed call nobody got back to yet, a voicemail
   not heard yet. Everything else shows the name at a normal weight (the phone look's 600 for every row also hid the new ones). */
.lk .row:is([data-c],.crow):not(.unread) .top b{font-weight:500}
.lk .row:is([data-c],.crow).unread .top b,.lk .row[data-c].unread .sub span.t{font-weight:700}
.lk .row[data-c].unread .top b,.lk .row[data-c].unread .sub span.t{color:var(--ink)}
/* a PDF in a conversation: its first page above the name (2026-10-21) */
.doc .dr{display:flex;gap:10px;align-items:center;min-width:0}
.doc.pdfdoc{flex-direction:column;align-items:stretch;width:240px;max-width:100%}
.doc .pdfpv{display:block;width:100%;max-height:300px;object-fit:cover;object-position:top;background:#fff;border-radius:6px;border:1px solid #0000001a}
/* a file card (2026-10-21; downloading is in the message's hold menu only) */
.docw{display:flex;max-width:100%}
.docw .doc{flex:1 1 auto;min-width:0}
/* the other side's carrier: its logo + the line kind icon (2026-10-21) */
.carr{display:inline-flex;align-items:center;gap:3px;vertical-align:middle;margin-right:4px}
.carr .cm{width:16px;height:16px;border-radius:4px;overflow:hidden;display:inline-grid;place-items:center;background:#fff;box-shadow:0 0 0 1px #0000001a}
.carr .cm img{width:16px;height:16px;object-fit:contain}
.carr .cm b{font:700 10px var(--head);color:#5d5b66;background:#ece9f3;width:100%;height:100%;display:grid;place-items:center}
.carr .ck{display:inline-grid;place-items:center;opacity:.8}.carr .ck svg{width:14px;height:14px}
.fc-num .carr{margin-left:6px}
/* the call on my other phone (teamphone drawOthers): where it is and how it came, on hold in a warm colour */
.callcard.pull .osub{font-size:12px;opacity:.85;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.callcard.pull .ohold{color:#ffd88a;font-weight:600}
.callcard.pull .pkeys{margin-top:8px}
.callcard.pull .cbrief{margin-bottom:8px}
/* a contact's page (teampeople detail, 2026-10-21): the main actions as one row of round buttons under the name (a
   phone's own Contacts app), and each number with a small green call and blue text icon beside it */
.cacts{display:flex;justify-content:center;gap:22px;padding:6px 0 14px}
.cact{display:flex;flex-direction:column;align-items:center;gap:6px;background:none;border:0;cursor:pointer;font:inherit;font-size:12.5px;font-weight:500;color:var(--ink);text-decoration:none;padding:0}
.cact .cai{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;color:#fff}
.cact .cai .ico{width:22px;height:22px}
.cact.cgo .cai{background:#1f9d55}.cact.ctx .cai{background:#0079b8}.cact.cml .cai{background:var(--brand)}
.cact:hover .cai{filter:brightness(.92)}
.cnum{display:flex;align-items:center;gap:10px;padding:10px 0;border-top:1px solid var(--soft)}
.cnum:first-of-type,.cwho+.cnum{border-top:0}
.cnum .cnw{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.cnum .cnl{font-size:11.5px;color:var(--muted);text-transform:capitalize}
.cnum .cnw b{font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cnum .cnb{display:flex;gap:8px;flex:none}
.cnum .cnb .btn{border:0;border-radius:50%;width:36px;height:36px;min-width:36px;padding:0;display:grid;place-items:center}
.cnum .cnb .btn .ico{width:17px;height:17px}
.cnum .cnb .cgo{background:#1f9d5520;color:#1f9d55}.cnum .cnb .ctx{background:#0079b820;color:#0079b8}
[data-theme=dark] .cnum .cnb .cgo{color:#5fd391}[data-theme=dark] .cnum .cnb .ctx{color:#6ccbf7}
/* (the phone look makes buttons taller: the number icons stay true circles) */
.lk .cnum .cnb .btn{width:40px;height:40px;min-width:40px;min-height:0;max-height:40px;aspect-ratio:1;padding:0;border-radius:50%;display:grid;place-items:center}
.cnum .cnb .cem{background:color-mix(in srgb,var(--brand) 14%,transparent);color:var(--brand)}[data-theme=dark] .cnum .cnb .cem{color:#c6c0ff}
.cnum .cnw b.cml{font-size:14.5px;font-weight:500}
/* Dark mode on phones, reviewed 2026-10-21: what blended into the page stands apart, and the brand colour where the
   browser chose its own */
:root{accent-color:#4332b8}[data-theme=dark]{accent-color:#a8a0ff}
[data-theme=dark] .menu{background:#2a2930;border-color:#4a4952}
[data-theme=dark] .menu button:hover{background:#34333b}
[data-theme=dark] .avpic .avcam{background:#5749cd;border-color:var(--surface)}
[data-theme=dark] .avpic .avcam .ico,[data-theme=dark] .moremenu .avpic .avcam .ico{color:#fff;width:13px;height:13px}
[data-theme=dark] .av i{border-color:var(--bg)}
[data-theme=dark] .av i:not([style*="background"]){background:#a9a6b0}
[data-theme=dark] .m:not(.mine) .bub{background:#2a2930;border-color:#34333b}
[data-theme=dark] .m.mine.sms .bub{background:#0d5f58;border-color:#0d5f58}
[data-theme=dark] .empty{color:#b3b0bb}
/* the row of favorites on top of Contacts (teampeople favStrip) */
.cfavs{padding:8px 12px 10px;border-bottom:1px solid var(--soft)}.cfavs .up{font-size:12px;font-weight:600;color:var(--muted);margin:0 2px 6px}
.cfavs .kfavs{justify-content:flex-start}
.kfavs{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;padding:2px 2px 0;max-width:100%;justify-content:safe center}
.kfavs::-webkit-scrollbar{display:none}
.kfav{flex:none;display:flex;flex-direction:column;align-items:center;gap:3px;width:60px;background:none;border:0;padding:2px 0;cursor:pointer;font:inherit;color:var(--ink);-webkit-touch-callout:none;user-select:none}
.kfav .av.sm,.kname .kfav .av.sm{width:40px;height:40px;font-size:14px}
.kfav span{font-size:11.5px;max-width:58px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Contacts → Extensions: the company's extension groups as filter chips over the list */
.xgchips{display:flex;gap:6px;overflow-x:auto;padding:8px 14px 6px;scrollbar-width:none}
.xgchips::-webkit-scrollbar{display:none}
.xgchips button{flex:0 0 auto;border:1px solid var(--border);background:var(--surface);color:var(--ink);border-radius:999px;padding:5px 12px;font:inherit;font-size:12.5px;cursor:pointer;white-space:nowrap}
.xgchips button.on{background:var(--brand-light);border-color:transparent;color:var(--brand);font-weight:600}
[data-theme=dark] .xgchips button{background:transparent}
[data-theme=dark] .xgchips button.on{color:var(--ink)}
/* My team: the office hours bar and a member's recording choice */
.tmoffice{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin:8px 14px 4px;padding:10px 12px;border:1px solid var(--border);border-radius:12px}
.tmoffice b{margin-right:auto}
.tmoffice .ost{font-size:12px;font-weight:600;padding:2px 8px;border-radius:999px}
.tmoffice .ost.open{background:#dcfce7;color:#166534}.tmoffice .ost.closed{background:#fee2e2;color:#991b1b}.tmoffice .ost.holiday{background:#fef3c7;color:#92400e}
[data-theme=dark] .tmoffice .ost.open{background:#14532d;color:#bbf7d0}[data-theme=dark] .tmoffice .ost.closed{background:#7f1d1d;color:#fecaca}[data-theme=dark] .tmoffice .ost.holiday{background:#78350f;color:#fde68a}
.tmrec{width:auto;font-size:12px;padding:1px 4px;border:0;background:transparent;color:var(--muted)}
/* Arrange the bar (More → Arrange the bar): one row per button, a tick = in the bar, arrows = its place */
.nbl{border:1px solid var(--border);border-radius:12px;overflow:hidden}
.nbrow{display:flex;align-items:center;gap:4px;padding:4px 6px 4px 10px;border-bottom:1px solid var(--border)}
.nbrow:last-child{border-bottom:0}
.nbrow label{flex:1;display:flex;align-items:center;gap:10px;margin:0;font-size:14px;font-weight:500;color:var(--ink);cursor:pointer}
.nbrow label input{width:auto;margin:0}
.nbrow.off label{color:var(--muted)}
.nbrow .btn.icon{width:36px;height:36px;justify-content:center;font-size:16px}
/* a bar arranged with six buttons (five + More): slightly smaller words so "Quick keys" / "Voicemail" fit a phone */
.lk:not(.deskbar) .lknav:has(> button:nth-of-type(6)) button span{font-size:10.5px;letter-spacing:-.1px}
.lk:not(.deskbar) .lknav:has(> button:nth-of-type(6)) button{padding-left:0;padding-right:0}
/* My team: one team at a time, and the teams each person is in */
.tmpick{padding:8px 14px 4px}
.tmpick select{width:auto;max-width:100%;padding:6px 10px;border-radius:999px;font-size:13px;font-weight:600}
.tag.tmlab{background:var(--brand-light);color:var(--brand);font-size:11px;padding:1px 7px;border-radius:999px;margin-left:4px;white-space:nowrap}
[data-theme=dark] .tag.tmlab{color:var(--ink)}
.tmlabs{display:flex;flex-wrap:wrap;gap:4px;margin:2px 0 1px}
.tmlabs .tag.tmlab{margin-left:0}
/* Conversation header: Call and Video are round tinted buttons, not bare icons (2026-10-22, the owner: "fix the call and
   videocall buttons" with a screenshot of the Dialer's header) */
.lk.touch .head .acts>.btn:is([data-call],[data-vcall]),.lk.deskbar .head .acts>.btn:is([data-call],[data-vcall]){width:40px;min-width:40px;height:40px;padding:0;border:0;border-radius:50%;background:var(--brand);color:#fff;justify-content:center;margin-left:6px}
.lk.touch .head .acts>.btn[data-call],.lk.deskbar .head .acts>.btn[data-call],.lk.touch .head .acts>.btn[data-vcall="0"],.lk.deskbar .head .acts>.btn[data-vcall="0"]{background:var(--success);color:#fff}
.lk.touch .head .acts>.btn:is([data-call],[data-vcall]) .lbl,.lk.deskbar .head .acts>.btn:is([data-call],[data-vcall]) .lbl{display:none}
.lk.touch .head .acts>.btn:is([data-call],[data-vcall]):active,.lk.deskbar .head .acts>.btn:is([data-call],[data-vcall]):hover{filter:brightness(.95)}
.lk.touch .head .acts>.btn:is([data-call],[data-vcall]) svg,.lk.deskbar .head .acts>.btn:is([data-call],[data-vcall]) svg{width:19px;height:19px}
/* Extensions: Call (green) and Video call (purple) as round buttons on every colleague row, always shown (2026-10-22, the
   owner: "for extensions add option to call or videocall") */
#plist .row[data-u]>.btn:is([data-call]:not([data-call^="*04"]),[data-vto]){width:38px;min-width:38px;height:38px;padding:0;border:0;border-radius:50%;justify-content:center;flex:none;opacity:1;margin-left:4px;color:#fff}
#plist .row[data-u]>.btn.btn.btn[data-call]:not([data-call^="*04"]){background:var(--success);color:#fff}
#plist .row[data-u]>.btn.btn.btn[data-vto]{background:var(--brand);color:#fff}
#plist .row[data-u]>.btn:is([data-call],[data-vto]) .lt{display:none}
#plist .row[data-u]>.btn:is([data-call],[data-vto]) svg{width:18px;height:18px}
/* …and they stay true circles whatever other header rules say (they rendered as ovals in the Dialer) */
.lk .head .acts>.btn.btn:is([data-call],[data-vcall]){flex:0 0 40px!important;width:40px!important;height:40px!important;min-width:40px!important;max-width:40px!important;min-height:40px!important;max-height:40px!important;padding:0!important;border-radius:50%!important;aspect-ratio:1/1;box-sizing:border-box;gap:0}
#plist .row[data-u]>.btn.btn:is([data-call]:not([data-call^="*04"]),[data-vto]){flex:0 0 38px!important;width:38px!important;height:38px!important;min-width:38px!important;max-width:38px!important;min-height:38px!important;max-height:38px!important;padding:0!important;border-radius:50%!important;aspect-ratio:1/1;box-sizing:border-box;gap:0}
/* (the empty #callcard holder must never be drawn: as a full purple card over a video call it hid the picture, 2026-10-22)
   The call in the small window of Android's picture-in-picture (html.pip, Android 1.0.26+): only the call shows, its
   buttons are the window's own (Mute, Hang up), a tap on the window brings the app back */
html.pip body *{visibility:hidden}
html.pip #vcall,html.pip #vcall *,html.pip body:not(.invcall) #callcard,html.pip body:not(.invcall) #callcard *{visibility:visible}
html.pip #vcall #vbar,html.pip #vcall #vpip,html.pip #vcall .vsmall{display:none!important}
html.pip #vcall .vtop{padding:6px 8px;font-size:11px}
html.pip body:not(.invcall) #callcard:not(:empty){position:fixed!important;inset:0!important;width:auto!important;height:auto!important;max-height:none!important;margin:0!important;border:0!important;border-radius:0!important;z-index:9999;background:var(--call-bg,#25124f)!important;color:#fff;display:grid!important;place-items:center;padding:6px!important;overflow:hidden}
html.pip #callcard :is(.fc-top,.fc-sheet,.brief,.fc-via,.fc-num,.ccap,.cnote,.cerr,.pkeys,.cbtns,.fc-dg,.scrbar,.muted){display:none!important}
html.pip #callcard .fc-who{margin:0!important;padding:0!important;gap:4px;text-align:center}
html.pip #callcard .fc-who .av,html.pip #callcard .av{width:44px!important;height:44px!important;font-size:16px}
html.pip #callcard .fc-who b{font-size:13px!important;line-height:1.2;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html.pip #callcard .fc-st{font-size:11px!important}
/* iPhone app 1.0.13+: the pictures of a colleague call are drawn by the app BEHIND the page (NativeVideo.swift), so the
   page is see-through where they are; the rest of the page stays hidden under the call screen */
html.nvcall,html.nvcall body{background:transparent!important}
html.nvcall body>:not(#vcall):not(.ov):not(.menu):not(#moremenu){visibility:hidden!important}
html.nvcall #vcall,html.nvcall #vcall.incall .vgrid,html.nvcall #vcall.incall .vtile:not(.novid),html.nvcall #vcall.incall .vpip{background:transparent!important}
html.nvcall #vcall video{visibility:hidden!important}
/* (2026-10-25, the owner: "video is in landscape") the own picture is the app's, so the page's <video> never gets one and kept
   a browser's default 300 x 150: the small window lay on its side while the camera sends an upright picture. It takes the
   camera's shape instead: upright on an upright phone, wide on a turned one. */
/* (explicit sizes: iOS ignored aspect-ratio on a <video> without a picture and kept its 2:1) */
/* the frame is sized, not the <video> inside it: on Mirabela's iPhone (2026-10-25) the video kept its default 2:1 shape
   whatever height it was given, so her own picture lay in a wide box; the empty video just fills the frame */
html.nvcall .vcall.incall .vpip.vsmall{width:26vw;max-width:120px;height:calc(26vw * 16 / 9);max-height:213px}
html.nvcall .vcall.incall .vpip.vsmall .vme{width:100%!important;height:100%!important;max-width:none;max-height:none}
@media (orientation:landscape){html.nvcall .vcall.incall .vpip.vsmall{height:30vh;max-height:120px;width:calc(30vh * 16 / 9);max-width:213px}}
/* The card of a call on my other phone in the Dialer and on phones (2026-10-22, the owner's screenshot of the Windows
   Dialer: two rows of buttons and the call brief left the keypad's keys 24 px): one row there (Hold, Transfer, Park, More,
   End); More opens the rest (Record, Keypad, Add, Note, Live text) in place of the call brief. A wide window shows everything. */
.callcard.pull .ob-omore{display:none}
:is(.lk.mini,.lk.touch) .callcard.pull .ob-omore{display:flex}
:is(.lk.mini,.lk.touch) .callcard.pull:not(.omore) :is(.ob-record,.ob-recrule,.ob-keys,.ob-add,.ob-note,.ob-live){display:none!important}
:is(.lk.mini,.lk.touch) .callcard.pull.omore .cbrief{display:none}
:is(.lk.mini,.lk.touch) .callcard.pull .pbtns>.btn{order:10}
:is(.lk.mini,.lk.touch) .callcard.pull .pbtns>.ob-hold{order:1}:is(.lk.mini,.lk.touch) .callcard.pull .pbtns>.ob-transfer{order:2}:is(.lk.mini,.lk.touch) .callcard.pull .pbtns>.ob-park{order:3}
:is(.lk.mini,.lk.touch) .callcard.pull .pbtns>.ob-omore{order:4}:is(.lk.mini,.lk.touch) .callcard.pull .pbtns>.ob-hangup{order:5}
.blkopt{display:flex;gap:10px;align-items:flex-start;padding:10px;border:1px solid var(--line,#e2dfea);border-radius:12px;margin:0 0 8px;cursor:pointer}.blkopt input{margin-top:3px}
.cnb .cblk.on{color:var(--danger,#b3261e)}
.lknav [data-act="ringmute"].rmon,.mctl .rmon,#mrmu.rmon{color:var(--danger,#b3261e)}#nav [data-act="ringmute"].rmon span{color:var(--danger,#b3261e);font-weight:600}
/* choice dialogs (ringtone off, block a number): a header with a round icon, then tiles to pick from */
.mhero{display:flex;gap:14px;align-items:flex-start;margin:0 0 16px}.mhero h2{margin:2px 0 4px}.mhero p{margin:0;font-size:13px;line-height:1.45}
.mhi{flex:none;width:44px;height:44px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:var(--brand-light);color:var(--brand)}.mhi .ico{width:22px;height:22px}
.mhi.red{background:color-mix(in srgb,var(--danger,#b3261e) 14%,transparent);color:var(--danger,#b3261e)}
.ctiles{display:grid;grid-template-columns:1fr 1fr;gap:10px}.ctiles.one{grid-template-columns:1fr}
.ctile{position:relative;display:flex;flex-direction:column;gap:4px;padding:14px;border:1.5px solid var(--line,#e2dfea);border-radius:14px;cursor:pointer;transition:border-color .15s,background .15s}
.ctile input{position:absolute;opacity:0;pointer-events:none}.ctile b{font-size:14px}.ctile small{color:var(--muted);font-size:12px;line-height:1.35}
.cti{width:32px;height:32px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:var(--surface-2,#f4f2f8);color:var(--muted);margin-bottom:4px}.cti .ico{width:18px;height:18px}
.ctile:hover{border-color:color-mix(in srgb,var(--brand) 45%,transparent)}
.ctile:has(input:checked){border-color:var(--brand);background:color-mix(in srgb,var(--brand) 7%,transparent)}.ctile:has(input:checked) .cti{background:var(--brand);color:var(--on-brand,#fff)}
.ctile:has(input:checked)::after{content:'✓';position:absolute;top:10px;right:12px;width:20px;height:20px;border-radius:50%;background:var(--brand);color:var(--on-brand,#fff);font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center}
.ctile:has(input:focus-visible){outline:2px solid var(--brand);outline-offset:2px}
@media(max-width:420px){.ctiles{grid-template-columns:1fr}}
/* ---- the "call on my other phone" card, 2026-10-23 (the owner: "work on design"): a deeper brand surface, a clear header,
   the live text in its own panel, one button style with a soft "on" state; End stays red ---- */
.callcard.pull{background:linear-gradient(160deg,#4a37c4 0%,#36218f 100%);border-radius:18px;padding:14px}
.lk #callcard.callcard.pull{border:1px solid #ffffff24;box-shadow:0 22px 48px #140b4a55}
.callcard.pull .ct{gap:12px}
.callcard.pull .ct .av{width:44px;height:44px;font-size:16px;flex:none;background:#ffffff26!important;box-shadow:0 0 0 3px #ffffff14}
.callcard.pull .cw b{font-size:15.5px;letter-spacing:-.1px}
.callcard.pull .cw>div:last-child{font-size:12.5px;opacity:.95;margin-top:2px;display:flex;flex-wrap:wrap;gap:4px 8px;align-items:center}
.callcard.pull .otime{font-variant-numeric:tabular-nums;font-weight:600;opacity:1}
.callcard.pull [data-pull]{background:#ffffff;color:#36218f;border:0;border-radius:999px;font-weight:600;padding:7px 14px;height:auto}
.callcard.pull [data-pull]:hover{background:#f1eeff}
.callcard.pull .ccap{margin-top:12px;background:#140b4a40;border:1px solid #ffffff1a;border-radius:14px;padding:10px 12px;font-size:13.5px}
.callcard.pull .ccap p{margin:0 0 6px;display:flex;gap:8px;align-items:baseline}.callcard.pull .ccap p:last-child{margin:0}
.callcard.pull .ccap p b{flex:none;min-width:0;margin:0;padding:1px 7px;border-radius:999px;font:600 10.5px var(--font);opacity:1;background:#7cc8ff2e;color:#bfe5ff}
.callcard.pull .ccap p.mine b{background:#ffffff26;color:#fff}
.callcard.pull .cbtns.pbtns{margin-top:12px;gap:8px}
.callcard.pull .pbtns .btn{background:#ffffff1c;border:1px solid #ffffff1f;color:#fff;border-radius:14px;min-height:52px;font-weight:600;transition:background .15s}
.callcard.pull .pbtns .btn:hover{background:#ffffff30}
.callcard.pull .pbtns .btn.on{background:#ffffff38;border-color:#ffffff59;color:#fff;position:relative}
.callcard.pull .pbtns .btn.on::after{content:'';position:absolute;top:7px;right:8px;width:7px;height:7px;border-radius:50%;background:#7cf0b0;box-shadow:0 0 0 2px #36218f}
.callcard.pull .pbtns .btn.ob-record.on::after,.callcard.pull .pbtns .btn.ob-recrule.on::after{background:#ff6b6b}
.callcard.pull .pbtns .btn.cr{background:#e5484d;border-color:#e5484d}.callcard.pull .pbtns .btn.cr:hover{background:#f05c61}
.callcard.pull .ccap{max-height:132px}.callcard.pull .ccap.big{max-height:300px}
/* the call card as a floating window on a computer: a grab bar on top, taller, more room for the live text */
.lk #callcard.callcard.floatc{width:400px;cursor:grab;padding-top:24px}
.lk #callcard.callcard.floatc :is(button,a,input,select,textarea,.ccap){cursor:auto}.lk #callcard.callcard.floatc button{cursor:pointer}
.lk #callcard.callcard.floatc::before{content:'';position:absolute;top:8px;left:50%;width:64px;height:6px;margin-left:-32px;border-radius:3px;background:#ffffffa6;pointer-events:none}
.lk #callcard.callcard.floatc:hover::before{background:#fff}
.lk #callcard.callcard.floatc .ct{cursor:grab}.lk #callcard.callcard.floatc.dragging,.lk #callcard.callcard.floatc.dragging .ct{cursor:grabbing;user-select:none}
.lk #callcard.callcard.floatc.dragging{box-shadow:0 30px 60px #140b4a70}
.lk #callcard.callcard.floatc .ccap{max-height:240px;min-height:120px}.lk #callcard.callcard.floatc .ccap.big{max-height:min(460px,55vh)}
.lk #callcard.callcard.floatc .pbtns .btn{min-height:58px}
/* Pasted numbers (2026-10-26): Paste on the in-call keypad and under an empty dial pad, "Send 123" for a kept extension */
.ov.top{z-index:70}
.ptone{display:flex;justify-content:center;align-items:center;gap:8px;margin:2px 0 12px}
.ptone.s{justify-content:space-between;margin:6px 0 0;min-height:28px;font-size:12px}
.ptone .ico{width:16px;height:16px}
.callcard.full .ptone .btn{border-radius:999px;padding:0 16px;min-height:36px}
.kpaste{display:inline-flex;align-items:center;gap:5px;height:20px;padding:0 10px;border:1px solid var(--line,#e2dfea);border-radius:999px;background:none;color:var(--brand);font-family:inherit;font-size:12.5px;font-weight:500;line-height:1;cursor:pointer}
.kpaste .ico{width:13px;height:13px}
/* Paste at the top of the full-screen call screen, beside Open app (the Dialer's own top bar is under the call screen then) */
.callcard.full .fc-top #pfpaste{display:inline-flex;align-items:center;gap:5px}.callcard.full .fc-top #pfpaste .ico{width:15px;height:15px}
.callcard.full .fc-top #pfpaste + #papp{margin-left:0}
/* Paste on top of every dial pad (2026-10-26): a worded chip beside "Call with" (phones, the Dialer), above the full window's
   dial pad, and next to "On a call: keys send tones"; it shares the chip row, so the keypad's room (--kres, :has(.kvia)) holds */
.ktop{display:flex;justify-content:center;align-items:center;gap:8px;max-width:100%;min-width:0}
.ktop .kvia{margin:6px 0 0;min-width:0;flex:0 1 auto;max-width:none}.ktop .kvia.kpst{flex:none}
.mpad>.ktop{margin:0 0 12px}.mpad>.ktop .kvia{margin:0}
.ktop.kcall{gap:10px}.ktop.kcall .muted{font-size:12.5px}
/* Paste without a button (2026-10-26): on a phone a see-through field lies over the number line, so holding it brings the
   phone's own Paste bubble; it shows nothing and opens no keyboard (inputmode none) */
.kpw{position:relative}
.kpin{position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;border:0;background:transparent;color:transparent;caret-color:transparent;font-size:16px;outline:none;-webkit-user-select:text;user-select:text;-webkit-touch-callout:default;z-index:1;cursor:text}
/* …in every theme and when it has the finger: the general input rules (`[data-theme=dark] input` paints a grey box,
   `input:focus` a purple ring) are stronger than one class, and in dark mode the field covered the number being typed
   (2026-10-26, the owner: "on both mobile apps, the paste is hiding the number I type on dialer") */
input.kpin,input.kpin:focus,[data-theme] input.kpin{background:transparent!important;border:0!important;box-shadow:none!important;outline:none!important;color:transparent!important;-webkit-text-fill-color:transparent;-webkit-appearance:none;appearance:none;border-radius:0}
.callcard.full .fc-dg.ph{font:400 14px var(--font);letter-spacing:0;opacity:.65;padding-top:6px}
/* the full window's keypad shows the number above the keys (2026-10-26): a pasted number was only in the small dial box */
.kdisp.kdesk{padding:0 8px 12px;max-width:340px;margin:0 auto}.kdisp.kdesk .knum{font-size:30px;min-height:38px}

/* The message box's bottom row never runs past the box (2026-10-28, the owner's screenshot of the Windows app at ~900 px:
   "Send" sat outside the box, the counter wrapped on three lines). Send is a round icon in every window (phones already
   had it), the buttons keep their size, the counter takes what is left on ONE line (cut with …, the whole text on hover),
   and a box narrower than 360 px shows Suggest as its ✨ only. */
.compose #send .slbl{display:none}
.lk:not(.touch) .compose #send{width:34px;height:34px;padding:0;border-radius:50%;justify-content:center}
.lk:not(.touch) .compose #send .ico{width:17px;height:17px}
.lk:not(.touch) .cbar>*{flex-shrink:0}
.lk:not(.touch) .cbar .sp{flex:1 1 0;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lk:not(.touch) .cbox{container:cbox / inline-size}
@container cbox (max-width:360px){.cbar #suggest{font-size:0;gap:0;padding:7px 9px}.cbar #suggest::before{content:'✨';font-size:15px}}
/* Compact Dialer (desktop 1.5.7): no keys, the number typed on the keyboard, the tabs as an upright rail. A tab open (.ctab), a call
   or a menu gives the window the Dialer's height */
.lk.mini.compact{grid-template-columns:48px minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr);grid-template-areas:"top top" "call call" "nav body"}
.lk.mini.compact .lktop{grid-area:top}.lk.mini.compact .lkbody{grid-area:body;min-width:0}
.lk.mini.compact .lknav{grid-area:nav;flex-direction:column;padding:4px 3px;gap:1px;overflow:hidden;border-right:1px solid var(--border);border-top:0}
.lk.mini.compact .lknav button{flex:0 1 38px;min-height:26px;max-height:40px;min-width:0;padding:0;justify-content:center}
.lk.mini.compact .lknav button span{display:none}.lk.mini.compact .lknav button .ico{width:21px;height:21px;padding:0}
.lk.mini.compact .lknav .n{top:1px;right:1px;font-size:9px;padding:0 4px}
.lk.mini.compact:not(.ctab) #tabs,.lk.mini.compact:not(.ctab) .dpad.big,.lk.mini.compact:not(.ctab) #mcont,.lk.mini.compact:not(.ctab) #find{display:none}
.lk.mini.compact:not(.ctab) #list .mpad{min-height:0;justify-content:flex-start;padding:8px 10px 8px;overflow:hidden}
.lk.mini.compact:not(.ctab) #list .mpad .kcid{display:block}.lk.mini.compact:not(.ctab) #list .mpad .kvia{display:none}
.lk.mini.compact:not(.ctab) .kdisp{padding:0 0 4px}
.lk.mini.compact:not(.ctab) .knum{font-size:24px;min-height:34px}.lk.mini.compact:not(.ctab) .kname{min-height:0}
.lk.mini.compact:not(.ctab) .mpadact{--k:50px;grid-template-columns:50px 50px;justify-content:center;column-gap:26px;margin-top:2px}
.lk.mini.compact:not(.ctab) .mpadact>span:first-child{display:none}
/* The side bar (desktop 1.5.8): the icons are a window of their own; this page is the panel beside them: the Dialer without its
   bottom bar, or (.scall) only the call card */
.lk.mini.compact.spanel{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr);grid-template-areas:"top" "call" "body"}
.lk.mini.compact.spanel .lknav,.lk.mini.compact.spanel #mcmp,.lk.mini.compact.spanel #mpin{display:none}
.lk.mini.compact.spanel #callcard.callcard{max-height:none;margin:0;border-radius:0}
.lk.mini.compact.spanel.scall{grid-template-rows:auto;grid-template-areas:"call";background:var(--card-dark)}
.lk.mini.compact.spanel.scall{align-content:start}.lk.mini.compact.spanel.scall #callcard.callcard{align-self:start;overflow:visible}
.lk.mini.compact.spanel.scall .lktop,.lk.mini.compact.spanel.scall .lkbody{display:none}
.lk.mini.compact.spanel.scall #callcard.callcard.ringing{animation:none}
/* The small dial window (the bar's Calls icon, a number sent from Chrome to be dialed): the number, who it is, the line, Call and Delete; the keyboard types.
   Same size and look as the call's card, so it reads as one window that turns into the call */
.lk.mini.compact.spanel.sdial{--ink:#fff;--muted:#c3c0d0;--muted-bg:#ffffff1f;background:var(--card-dark);color:#fff}
.lk.mini.compact.spanel.sdial .lktop{display:none}
.lk.mini.compact.spanel.sdial .lkbody,.lk.mini.compact.spanel.sdial .rail,.lk.mini.compact.spanel.sdial #list{background:none;border:0}
.lk.mini.compact.spanel.sdial #list .mpad{position:relative;height:auto;min-height:180px;flex:none;justify-content:center;padding:6px 12px 8px;background:none}
.lk.mini.compact.spanel.sdial .kdisp{padding:0 34px 2px}
.lk.mini.compact.spanel.sdial .knum{color:#fff}
.lk.mini.compact.spanel.sdial .kname{min-height:24px;color:#c6c0ff}
.lk.mini.compact.spanel.sdial .kname .ksug,.lk.mini.compact.spanel.sdial .kname .kmore{color:#c6c0ff}.lk.mini.compact.spanel.sdial .kname .ksug span{color:var(--muted)}
.lk.mini.compact.spanel.sdial .kcid{background-color:#ffffff1f;color:#fff;border-color:#ffffff33;margin:0 auto 4px;min-height:30px}.lk.mini.compact.spanel.sdial .kcid option{color:#1a1a1e;background:#fff}
.lk.mini.compact.spanel.sdial #mdel{color:#d9d6e4}.lk.mini.compact.spanel.sdial #mdel:hover{background:#ffffff1f;color:#fff}
.lk.mini.compact.spanel.sdial .kexp{display:grid}
.kexp{display:none;place-items:center;position:absolute;top:6px;right:6px;width:32px;height:32px;padding:0;border:0;border-radius:50%;background:none;color:var(--muted);cursor:pointer;z-index:2}.kexp:hover{background:var(--muted-bg);color:var(--ink)}.kexp .ico,.kexp svg{width:18px;height:18px}
/* four buttons in the Dialer's top bar: tighter, so the name keeps its room */
.lk.touch.desk .mctl{gap:0}.lk.touch.desk .mctl .btn.icon{width:30px;min-width:30px;padding:0}.lk.touch.desk .lktop{gap:4px}
/* The bar that stays until the app is updated: red, and not in the side bar's small windows (it would take their room) */
.asbar.upd{background:#fee2e2;border-color:#fca5a5;color:#7f1d1d}.asbar.upd button{background:#b91c1c;color:#fff}
[data-theme=dark] .asbar.upd{background:#3f1416;border-color:#7f1d1d;color:#fecaca}[data-theme=dark] .asbar.upd button{background:#fecaca;color:#3f1416}
body:has(.lk.mini.compact:not(.ctab):not(.spanel)) #appupd,body:has(.sdial) #appupd,body:has(.scall) #appupd{display:none}
/* phone look and the Dialer: the bar never grows wider than the box, so a long counter ("127/160 · picture message ·
   pictures are resized…") is cut with … and Send stays inside (2026-11-02, the owner: an MMS in the Windows Dialer had no Send) */
.lk.touch .cbar{flex:0 1 auto;min-width:0;max-width:100%}
.lk.touch .cbar>*{flex-shrink:0}
.lk.touch .cbar .sp{flex:0 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* HD voice (2026-11-10, the owner: "label the HD calls with HD or some icon"): a small outlined "HD" mark in the call list, on a
   call's page and on the call screen once the call came together in wideband on both sides */
.hdv{display:inline-flex;align-items:center;flex:none;height:15px;padding:0 4px;margin-right:5px;border:1.4px solid currentColor;border-radius:4px;font-size:9.5px;font-weight:800;letter-spacing:.06em;line-height:1;color:var(--brand);vertical-align:1px}
.row .sub .hdv{margin:0 0 0 6px}
.callcard .hdv{color:#fff;border-color:rgba(255,255,255,.85)}

/* the keypad open on the full call screen (2026-11-10, the owner's screenshot of a phone-menu call: the keys pushed Mute,
   Speaker and End call off the bottom of the screen): the caller's picture, the call brief and the line step aside, the name
   gets small, the keys follow the screen's height, so the call buttons stay in view */
#callcard.callcard.full.kp .fc-who{flex:0 0 auto;min-height:0;gap:2px;padding:2px 0 4px}
#callcard.callcard.full.kp .fc-who .av{display:none!important}
#callcard.callcard.full.kp .fc-who b{font-size:20px}
#callcard.callcard.full.kp :is(.cbrief,.fc-via,.ccap){display:none!important}
#callcard.callcard.full.kp .cerr{font-size:12.5px;padding:7px 10px;margin:2px 0 6px}
#callcard.callcard.full.kp .kpw{margin-top:auto}
#callcard.callcard.full.kp .pkeys{gap:clamp(6px,1.1vh,10px) 12px;margin:2px auto 10px;max-width:270px}
#callcard.callcard.full.kp .pkeys .btn{height:clamp(42px,6.4vh,56px);border-radius:99px}

/* the live microphone bar on the call card (2026-11-10): what the microphone sends this second; red with the near-silent warning */
.mlv{display:inline-block;vertical-align:1px;width:38px;height:5px;margin-right:7px;border-radius:3px;background:rgba(255,255,255,.22);overflow:hidden}
.mlv i{display:block;height:100%;background:#4ade80;border-radius:3px;transition:width .4s}
.mlv.bad{background:rgba(239,68,68,.35)}.mlv.bad i{background:#ef4444}
/* the full window's "Keep on top" (2026-11-11): lit in the brand's colour while the window stays on top */
.lk.deskbar #nav [data-act="pin"].pinon,.lk.deskbar #nav [data-act="pin"].pinon span{color:var(--brand);font-weight:600}.lk.deskbar #nav [data-act="pin"].pinon .ico{fill:currentColor}

/* Full window's side bar with words (2026-11-14, the owner, as in the console): items in regular weight, the open page medium,
   and a little room with a thin line between the sections (Phone, Messages; the folded icon rail keeps its own lines) */
@media (min-width:880px){
  .lk.deskbar .lknav button,.lk.deskbar .lknav a{font-weight:400}
  .lk.deskbar .lknav button.on{font-weight:500}
  .lk.deskbar .lknav .lksec{padding-top:12px}
  .lk.deskbar .lknav .lksec ~ .lksec{margin-top:8px;border-top:1px solid var(--border);padding-top:12px}
}

/* the app's version and update state at the foot of the account menu (2026-11-17) */
.avver{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin:6px 4px 2px;padding:8px 8px 4px;border-top:1px solid var(--border);font-size:11.5px;color:var(--muted);line-height:1.35}
.avver:empty{display:none}.avver span{flex:1 1 160px;min-width:0}.avver b{color:var(--ink);font-weight:600}
.avver button{flex:none;border:1px solid var(--border);background:var(--surface);color:var(--brand);border-radius:999px;padding:3px 10px;font:600 11.5px var(--font,inherit);cursor:pointer}

/* the call screen's keypad = round keys with their letters, like a phone's own (2026-11-21, the owner: "fix the design of the
   keys"; they were wide pills with a bare digit). Circles sized by the screen's height so the call buttons stay in view. */
#callcard.callcard.full .pkeys.rk{--kd:clamp(54px,8.2vh,74px);grid-template-columns:repeat(3,var(--kd));justify-content:center;column-gap:clamp(18px,7vw,30px);row-gap:clamp(8px,1.6vh,16px);max-width:none;margin:4px auto 12px}
#callcard.callcard.full .pkeys.rk .btn{width:var(--kd);height:var(--kd);border-radius:50%;padding:0;flex-direction:column;gap:0;align-items:center;justify-content:center;background:#ffffff1a;border:1px solid #ffffff14;color:#fff;transition:background .12s,transform .08s;-webkit-tap-highlight-color:transparent}
#callcard.callcard.full .pkeys.rk .btn:active{background:#ffffff40;transform:scale(.94)}
#callcard.callcard.full .pkeys.rk .btn b{font:400 calc(var(--kd) * .44)/1 var(--head);letter-spacing:0}
#callcard.callcard.full .pkeys.rk .btn small{font:600 calc(var(--kd) * .14)/1 var(--font);letter-spacing:.16em;margin:3px 0 0 .16em;opacity:.7;min-height:1em}
#callcard.callcard.full.kp .pkeys.rk{--kd:clamp(50px,7.4vh,70px);row-gap:clamp(6px,1.3vh,14px);margin:2px auto 10px}
#callcard.callcard.full .fc-dg{font-size:28px;letter-spacing:3px;min-height:34px}

/* the Dialer / phones with a call on another phone (2026-11-21, the owner's screenshot of the Windows Dialer: the card above
   squeezed the keys to 24 px and cut the Call button). When the pane is too short for keys of a useful size, they fold away
   behind "Keypad" (typing still dials); opened, they keep 46 px and the pane scrolls. */
.kshow{display:none}
@container (max-height:360px){
  .lk.touch #list .mpad:not(.kopen) .dpad.big{display:none}
  .lk.touch #list .mpad .kshow{display:flex;align-items:center;justify-content:center;gap:6px;margin:6px auto 2px;padding:6px 16px;border:0;border-radius:99px;background:var(--muted-bg);color:var(--ink);font:500 13px var(--font);cursor:pointer}
  .lk.touch #list .mpad .kshow .ico{width:16px;height:16px}
  .lk.touch #list .mpad .mpadact{--k:52px}
  .lk.touch #list .mpad.kopen .dpad.big{--k:46px}
  .lk.touch #list:has(.mpad.kopen){overflow-y:auto}
}
@container (max-width:340px){.lk.touch #list .knum.empty::before{font-size:14px}}
/* a narrow window keeps the other-phone card to one row of buttons, whatever the shell's classes say */
@media (max-width:520px){
  .callcard.pull .ob-omore{display:flex}
  .callcard.pull:not(.omore) :is(.ob-record,.ob-recrule,.ob-keys,.ob-add,.ob-note,.ob-live){display:none!important}
  .callcard.pull.omore .cbrief{display:none}
  .callcard.pull .pbtns>.btn{order:10}
  .callcard.pull .pbtns>.ob-hold{order:1}.callcard.pull .pbtns>.ob-transfer{order:2}.callcard.pull .pbtns>.ob-park{order:3}.callcard.pull .pbtns>.ob-omore{order:4}.callcard.pull .pbtns>.ob-hangup{order:5}
  .callcard.pull .osub{white-space:normal}
}

/* the keypad of a call on another phone (a desk phone in a phone menu; 2026-11-21, the owner: "when during a call we must
   press different keys and navigate through a menu"): round keys with letters, the keys pressed so far above them; in the
   Dialer / phones the card takes the whole pane while it is open, its call buttons stay in view */
.callcard.pull .okp{margin-top:10px}
.callcard.pull .okdg{text-align:center;color:#fff;font:500 22px var(--head);letter-spacing:3px;min-height:30px;line-height:30px;white-space:nowrap;overflow:hidden;direction:rtl}
.callcard.pull .okdg.ph{font:400 12.5px var(--font);letter-spacing:0;opacity:.75;direction:ltr}
.callcard.pull .pkeys.rk{--kd:52px;display:grid;grid-template-columns:repeat(3,var(--kd));justify-content:center;column-gap:22px;row-gap:10px;margin:8px auto 4px}
.callcard.pull .pkeys.rk .btn{width:var(--kd);height:var(--kd);min-height:0;border-radius:50%;padding:0;flex-direction:column;gap:0;align-items:center;justify-content:center;background:#ffffff1a;border:1px solid #ffffff14;color:#fff;transition:background .12s,transform .08s}
.callcard.pull .pkeys.rk .btn:hover{background:#ffffff2e}
.callcard.pull .pkeys.rk .btn:active,.callcard.pull .pkeys.rk .btn.hit{background:#ffffff47;transform:scale(.94)}
.callcard.pull .pkeys.rk .btn b{font:400 23px/1 var(--head)}
.callcard.pull .pkeys.rk .btn small{font:600 7.5px/1 var(--font);letter-spacing:.16em;margin:3px 0 0 .16em;opacity:.7;min-height:1em}
.callcard.pull.okeys :is(.cbrief,.ccap,.osub){display:none}
.callcard.pull.okeys .ct .av{width:36px;height:36px}
.lk.mini:has(#callcard.callcard.pull.okeys){grid-template-rows:auto minmax(0,1fr) 0 auto}
.lk.mini:has(#callcard.callcard.pull.okeys) .lkbody{display:none}
.lk.mini #callcard.callcard.pull.okeys{max-height:none;overflow:auto;min-height:0;display:flex;flex-direction:column}
.lk.mini #callcard.callcard.pull.okeys .okp{margin-top:auto;padding-top:8px}
.lk.mini #callcard.callcard.pull.okeys .pkeys.rk{--kd:clamp(46px,9vh,64px);row-gap:clamp(8px,1.6vh,14px);column-gap:clamp(18px,7vw,28px)}
.lk.mini #callcard.callcard.pull.okeys .pkeys.rk .btn b{font-size:calc(var(--kd) * .42)}
.lk.mini #callcard.callcard.pull.okeys .pkeys.rk .btn small{font-size:calc(var(--kd) * .14)}
.lk.mini #callcard.callcard.pull.okeys .cbtns.pbtns{margin-top:12px}
/* while that keypad is open the card keeps one row: Hold, Transfer, Keypad (closes it), End */
.callcard.pull.okeys .pbtns>:not(.ob-hold,.ob-transfer,.ob-keys,.ob-hangup){display:none!important}
.callcard.pull.okeys .pbtns>.ob-keys{display:flex!important;order:4!important}.callcard.pull.okeys .pbtns>.ob-hangup{order:5!important}
.callcard.pull.okeys .pbtns{grid-template-columns:repeat(4,minmax(0,1fr))}

/* the company's logo at the bottom of the full window's side bar (2026-11-22) */
.cobrand{position:relative;height:20px;max-width:80px;margin:8px 10px 6px;flex:none;display:none}
.lk.deskbar .cobrand{display:block}
.cobrand .cologo{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:left center}
@media (max-width:879px){.lk.deskbar .cobrand{display:none}}

/* a driver extension deletes nothing: no clearing the call history or a chat, no hiding a call (2026-11-22) */
html.isdriver #hclear,html.isdriver [data-hide],html.isdriver #dhide,html.isdriver #clr{display:none!important}

/* favorite drivers under Drivers in the side bar (2026-11-22) */
.lkfdrvs{max-height:150px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;margin:0 0 2px}
.lkfdrv{display:flex;align-items:center;gap:6px;width:100%;border:0;background:none;padding:1px 8px 1px 18px;min-height:18px;line-height:1.2;font:inherit;font-size:10.5px;color:var(--nav-ink,var(--ink));cursor:pointer;border-radius:999px;text-align:left}
.lkfdrv:hover{background:var(--brand-light)}
.lkfdrv .av.sm{width:13px;height:13px;min-width:13px;font-size:6px;flex:none}
.lkfdrv span:not(.av){flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lkfdrv .dot{width:5px;height:5px;border-radius:50%;background:#bbb;flex:none}.lkfdrv .dot.on{background:#1f9d55}
@media (max-width:879px){.lk.deskbar .lkfdrv{display:none}}
/* group members: Employees / Drivers with Select all (2026-11-22) */
.gpick{max-height:46vh;overflow-y:auto}
.gsec+.gsec{margin-top:10px}
.gsech{display:flex;align-items:center;gap:6px;padding:4px 2px;position:sticky;top:0;background:var(--bg,#fff);z-index:1}
.gsech .gall{margin-left:auto;display:flex;align-items:center;gap:4px;font-size:12px;font-weight:500;color:var(--muted);text-transform:none;letter-spacing:0}
.gsech .gall input{width:auto;margin:0}

.gbc{display:flex!important;gap:8px;align-items:flex-start;margin-top:10px;text-transform:none!important;letter-spacing:0!important;font-weight:400!important;line-height:1.35}
.gbc input{width:auto!important;margin-top:2px}

/* a broadcast-only group's label (2026-11-22) */
.tag.bcast{background:#fff4e5;color:#9a4b00;border-color:transparent;font-weight:600}
[data-theme=dark] .tag.bcast{background:#4a2f0f;color:#ffcf99}
/* a soft shadow under the two logos of the side bar: RING-101 on top, the company's at the bottom (2026-11-23, the owner) */
.lk.deskbar .lklogo svg,.lk.deskbar .cobrand .cologo{filter:drop-shadow(0 1px 1px rgba(20,12,60,.16)) drop-shadow(0 2px 4px rgba(20,12,60,.08))}
[data-theme=dark] .lk.deskbar .lklogo svg,[data-theme=dark] .lk.deskbar .cobrand .cologo{filter:drop-shadow(0 1px 1.5px rgba(0,0,0,.4)) drop-shadow(0 2px 5px rgba(0,0,0,.28))}

/* Take control (2026-11-24): the shared screen I am controlling has a red frame */
.vcall .vtile.ctl{outline:3px solid #e53935;outline-offset:-3px}
.vcall .vtile.ctl video{cursor:default;touch-action:none}

/* keys pressed on a call, seen (2026-11-25): the key lights up, and the digits show on the card and above the keypad */
.dpad.big button.hit{transform:scale(.92);background:color-mix(in srgb,var(--brand) 30%,var(--muted-bg))}
.callcard .pkeys .btn.hit{background:#ffffff47;transform:scale(.94)}
.callcard .cdg{display:inline-flex;align-items:center;gap:3px;font-weight:700;letter-spacing:1px;font-variant-numeric:tabular-nums}.callcard .cdg .ico,.callcard .cdg svg{width:12px;height:12px}
.ktop.kcall .kdg{color:var(--ink);font-weight:700;letter-spacing:1.5px;font-size:15px}

/* a driver not signed in to the RING-101 app: faded (2026-11-26) */
.row.drvoff{opacity:.45}
.row.drvoff:hover{opacity:.8}

/* the caller's number verified by their carrier (STIR/SHAKEN), on the call card (2026-11-26) */
.vfy{display:inline-block;font-size:11px;font-weight:600;color:#1f7a4d;background:#e3f4ea;border-radius:999px;padding:1px 7px;margin-right:6px;vertical-align:1px;white-space:nowrap}
[data-theme=dark] .vfy{color:#7fd6a5;background:#17372a}
.callcard.full .vfy,.callcard.dark .vfy{color:#bdf0d3;background:rgba(127,214,165,.18)}
