.wa{background:var(--ground);grid-template-columns:248px minmax(0,1fr);min-height:100svh;display:grid}.wa-side{border-right:1px solid var(--line);background:#fff;flex-direction:column;gap:4px;height:100svh;padding:18px 14px;display:flex;position:sticky;top:0}.wa-side .logo{padding:4px 8px 16px;font-size:24px}.wa-nav{gap:2px;display:grid}.wa-nav a{height:44px;color:var(--text-2);border-radius:14px;align-items:center;gap:12px;padding:0 12px;font-size:15.5px;font-weight:600;transition:background-color .2s,color .2s;display:flex}.wa-nav a:hover{background:var(--ground);color:var(--ink)}.wa-nav a[aria-current=page]{background:var(--tint);color:var(--indigo);font-weight:700}.wa-nav .badge{background:var(--indigo);color:#fff;border-radius:11px;justify-content:center;align-items:center;min-width:22px;height:22px;margin-left:auto;padding:0 6px;font-size:12px;font-weight:700;display:inline-flex}.wa-side .foot{gap:10px;margin-top:auto;display:grid}.credits-pill{background:var(--ground);border:1px solid var(--line);border-radius:16px;justify-content:space-between;align-items:center;gap:8px;padding:12px 14px;display:flex}.credits-pill b{font-family:var(--display);font-size:22px}.wa-main{min-width:0;padding:28px clamp(16px,3vw,40px) 96px}.wa-top{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:22px;display:flex}.wa-top h1{letter-spacing:-.02em;font-size:clamp(30px,3vw,38px)}.wa-tabs{display:none}@media (max-width:899px){.wa{grid-template-columns:minmax(0,1fr)}.wa-side{display:none}.wa-main{padding:16px 16px 110px}.wa-tabs{left:12px;right:12px;bottom:calc(10px + env(safe-area-inset-bottom));z-index:30;border:1px solid var(--line);background:#fff;border-radius:32px;grid-template-columns:repeat(5,minmax(0,1fr));height:64px;padding:6px;display:grid;position:fixed;box-shadow:0 12px 30px -12px #1b0d6259}.wa-tabs a{color:var(--text-3);border-radius:26px;flex-direction:column;justify-content:center;align-items:center;gap:2px;font-size:11px;font-weight:600;display:flex}.wa-tabs a[aria-current=page]{background:var(--tint);color:var(--indigo);font-weight:700}}.wa-mtop{display:none}@media (max-width:899px){.wa-mtop{justify-content:space-between;align-items:center;margin-bottom:14px;display:flex}.wa-mtop .logo{font-size:22px}}.panel{border:1px solid var(--line);background:#fff;border-radius:22px}.panel-h{justify-content:space-between;align-items:center;gap:12px;padding:16px 18px 6px;display:flex}.panel-h h2{font-size:18px;font-family:var(--body);letter-spacing:0}.rows{flex-direction:column;display:flex}.rows .row,button.row,a.row,div.row{text-align:left;border-top:1px solid var(--line-2);align-items:center;gap:12px;width:100%;min-height:64px;padding:10px 16px;transition:background-color .15s;display:flex}.rows>.row:first-child{border-top:0}button.row:hover,a.row:hover{background:#fbfafe}.row.on{background:var(--ground)}.av{background:var(--tint);width:40px;height:40px;color:var(--indigo);border-radius:50%;flex:none;justify-content:center;align-items:center;font-size:15px;font-weight:700;display:flex}.row .mid{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.row .t{white-space:nowrap;text-overflow:ellipsis;font-size:16px;font-weight:600;overflow:hidden}.row .s{color:var(--text-2);white-space:nowrap;text-overflow:ellipsis;font-size:14px;overflow:hidden}.row .r{color:var(--text-3);flex-direction:column;flex:none;align-items:flex-end;gap:4px;font-size:13px;display:flex}.row.unread .t{font-weight:800}.dot-u{background:var(--indigo);border-radius:50%;width:9px;height:9px}.ltag{background:var(--ground);height:20px;color:var(--text-2);white-space:nowrap;border-radius:6px;align-items:center;gap:5px;padding:0 7px 0 6px;font-size:12px;font-weight:600;display:inline-flex}.ltag i{border-radius:2.5px;width:8px;height:8px}.empty{text-align:center;color:var(--text-2);justify-items:center;gap:8px;padding:40px 20px;display:grid}.empty b{color:var(--ink);font-size:17px}.split{grid-template-columns:minmax(0,380px) minmax(0,1fr);align-items:start;gap:16px;display:grid}@media (max-width:1099px){.split{grid-template-columns:minmax(0,1fr)}.split.detail-open>:first-child,.split:not(.detail-open)>:last-child{display:none}}.sticky-pane{position:sticky;top:20px}.thread{flex-direction:column;height:calc(100svh - 140px);min-height:480px;display:flex}@media (max-width:899px){.thread{height:calc(100svh - 190px)}}.thread .head{border-bottom:1px solid var(--line-2);align-items:center;gap:12px;padding:14px 16px;display:flex}.thread .msgs{flex-direction:column;flex:1;gap:10px;padding:18px 16px;display:flex;overflow-y:auto}.bub{white-space:pre-wrap;word-wrap:break-word;border-radius:20px;max-width:min(78%,520px);padding:10px 14px;font-size:15.5px;line-height:21px}.bub.in{background:var(--ground);border-bottom-left-radius:6px;align-self:flex-start}.bub.out{background:var(--indigo);color:#fff;border-bottom-right-radius:6px;align-self:flex-end}.bub.mia{background:var(--ink);color:#fff}.bub img{border-radius:12px;max-height:260px;margin-top:6px}.meta{color:var(--text-3);font-size:12px}.meta.r{align-self:flex-end}.evt{align-self:center;width:100%;max-width:520px}.composer{border-top:1px solid var(--line-2);align-items:flex-end;gap:8px;padding:12px;display:flex}.composer textarea{resize:none;border:1.5px solid var(--strong);min-height:46px;max-height:160px;font:inherit;background:#fff;border-radius:23px;outline:none;flex:1;padding:12px 16px;font-size:15.5px}.composer textarea:focus{border-color:var(--indigo)}.icon-btn{background:var(--tint);width:46px;height:46px;color:var(--indigo);border-radius:50%;flex:none;justify-content:center;align-items:center;display:inline-flex}.icon-btn.solid{background:var(--indigo);color:#fff}.icon-btn:disabled{opacity:.5}.field{gap:6px;display:grid}.field label,.field .lab{font-size:14px;font-weight:600}.input,.field input,.field textarea,.field select{border:1.5px solid var(--strong);height:50px;font:inherit;background:#fff;border-radius:14px;outline:none;width:100%;padding:0 14px;font-size:16px}.field textarea{resize:vertical;height:auto;min-height:96px;padding:12px 14px}.input:focus,.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--indigo)}.form{gap:16px;display:grid}.seg{background:var(--tint);border-radius:16px;grid-auto-columns:1fr;grid-auto-flow:column;padding:4px;display:inline-grid}.seg button{height:42px;color:var(--text-2);border-radius:12px;padding:0 14px;font-size:14px;font-weight:600}.seg button[aria-pressed=true]{color:var(--ink);background:#fff;font-weight:700;box-shadow:0 1px 2px #1b0d622e}.switch{background:var(--strong);border-radius:16px;flex:none;width:52px;height:32px;transition:background-color .2s;position:relative}.switch:after{content:"";width:26px;height:26px;transition:left .2s var(--ease);background:#fff;border-radius:50%;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #1b0d624d}.switch[aria-checked=true]{background:var(--indigo)}.switch[aria-checked=true]:after{left:23px}.set-row{border-top:1px solid var(--line-2);align-items:center;gap:14px;min-height:60px;padding:10px 18px;display:flex}.set-row:first-child{border-top:0}.set-row .mid{flex:1;min-width:0}.set-row .mid b{font-size:16px;display:block}.set-row .mid span{color:var(--text-2);font-size:14px}.toast{z-index:90;background:var(--ink);color:#fff;animation:rise .3s var(--ease) both;border-radius:16px;max-width:calc(100vw - 32px);padding:12px 18px;font-size:15px;font-weight:600;position:fixed;bottom:96px;left:50%;transform:translate(-50%);box-shadow:0 16px 40px -16px #1b0d6299}.toast.err{background:var(--red)}.sheet-bg{z-index:70;background:#0b043c73;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.sheet{width:min(560px,100%);max-height:calc(100svh - 32px);animation:rise .3s var(--ease) both;background:#fff;border-radius:28px;gap:16px;padding:24px;display:grid;overflow-y:auto}.sheet h2{font-size:26px}.grid2{grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));align-items:start;gap:16px;display:grid}.stat{border:1px solid var(--line);background:#fff;border-radius:20px;gap:2px;padding:18px;display:grid}.stat b{font-family:var(--display);font-size:34px;line-height:1}.stat span{color:var(--text-2);font-size:14px}.chips-row{flex-wrap:wrap;gap:8px;display:flex}.player{background:var(--ground);border-radius:18px;align-items:center;gap:12px;padding:12px 14px;display:flex}.player audio{flex:1;min-width:0;height:40px}.callbar{z-index:85;background:var(--ink);color:#fff;border-radius:28px;gap:12px;width:min(360px,100vw - 24px);padding:18px;display:grid;position:fixed;bottom:20px;right:20px;box-shadow:0 24px 60px -20px #0b043cb3}@media (max-width:899px){.callbar{bottom:86px;right:12px}}.callbar .acts{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.callbar .round{color:#fff;background:#ffffff1f;border-radius:50%;justify-content:center;align-items:center;width:56px;height:56px;display:inline-flex}.callbar .round.red{background:var(--red)}.callbar .round.green{background:#0e9f4f}.callbar .round.on{color:var(--ink);background:#fff}.keypad{grid-template-columns:repeat(3,1fr);gap:12px;max-width:300px;margin:0 auto;display:grid}.keypad button{border:1px solid var(--line);height:66px;font-family:var(--display);background:#fff;border-radius:33px;flex-direction:column;justify-content:center;align-items:center;font-size:28px;font-weight:700;line-height:1;display:flex}.keypad button small{font-family:var(--body);letter-spacing:.12em;color:var(--text-3);margin-top:3px;font-size:10px;font-weight:600}.keypad button:active{background:var(--tint)}.auth{background:var(--ground);place-items:center;min-height:100svh;padding:24px 16px;display:grid}.auth-card{border:1px solid var(--line);background:#fff;border-radius:32px;gap:18px;width:min(460px,100%);padding:clamp(24px,5vw,40px);display:grid}.auth-card h1{font-size:clamp(32px,5vw,42px)}.gbtn{border:1.5px solid var(--strong);background:#fff;border-radius:28px;justify-content:center;align-items:center;gap:12px;width:100%;height:56px;font-size:16px;font-weight:700;display:flex}.gbtn:hover{border-color:var(--ink)}.gbtn.dark{color:#fff;background:#000;border-color:#000}.muted-link{color:var(--indigo);font-weight:700}.wa-main .panel,.wa-main .grid2>*,.nums,.nums>*,.wa-main .area-form,.wa-main .area-field{min-width:0}.wa-main input[type=range]{background:var(--tint-2);height:6px}.wa-main input[type=time]{padding:0 10px;width:150px!important}.wa .chips-row:has(>.stat){grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.wa .stat b{font-size:clamp(26px,3vw,34px)}@media (max-width:520px){.wa .stat{padding:14px}.wa .stat span{font-size:12.5px}.wa-main .numrow .n{font-size:26px}}.plate .row{background:0 0;border-top:0;width:auto;min-height:0;padding:0}
