:root{--bg: #0d0f14;--surface: #161922;--surface-2: #1d212c;--border: #2a2f3c;--text: #e8eaf0;--muted: #9aa1b2;--accent: #5b8cff;--accent-2: #3f6fe6;--accent-soft: rgba(91, 140, 255, .14);--danger: #ef5b5b;--ok: #3ccf8e;--radius: 14px;--shadow: 0 10px 30px rgba(0, 0, 0, .35);color-scheme:dark;font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,sans-serif;font-size:15px;line-height:1.45}@media(prefers-color-scheme:light){:root{--bg: #f3f5f9;--surface: #ffffff;--surface-2: #f0f2f7;--border: #dde1ea;--text: #161922;--muted: #5d6475;--accent-soft: rgba(63, 111, 230, .1);--shadow: 0 10px 30px rgba(20, 30, 60, .12);color-scheme:light}}*{box-sizing:border-box}html,body{margin:0;height:100%;background:var(--bg);color:var(--text)}#app{height:100%}h1,h2,h3{margin:0;font-weight:650;letter-spacing:-.01em}h1{font-size:1.35rem}h2{font-size:1.05rem;display:flex;align-items:center;gap:.5rem}h3{font-size:.9rem;margin-top:.75rem;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}p{margin:.4rem 0}.muted{color:var(--muted)}.small{font-size:.86rem}.error{color:var(--danger)}.hidden{display:none!important}.ico{display:inline-flex;width:1.15em;height:1.15em;flex:none}.ico svg{width:100%;height:100%}.ico-xl{width:3rem;height:3rem}.accent{color:var(--accent)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:.45rem;padding:.55rem .95rem;border-radius:10px;border:1px solid var(--border);background:var(--surface-2);color:var(--text);font:inherit;font-weight:550;cursor:pointer;white-space:nowrap;transition:background .15s,border-color .15s,transform .05s}.btn:hover{border-color:var(--accent)}.btn:active{transform:translateY(1px)}.btn:disabled{opacity:.45;cursor:not-allowed}.btn:focus-visible,.tool:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.btn-primary{background:var(--accent);border-color:var(--accent);color:#fff}.btn-primary:hover{background:var(--accent-2)}.btn-danger{background:var(--danger);border-color:var(--danger);color:#fff}.btn-ghost{background:transparent}.btn-small{padding:.25rem .6rem;font-size:.85rem}.btn-large{padding:.8rem 1.6rem;font-size:1.05rem}.btn-icon{padding:.55rem}.badge{display:inline-block;padding:.1rem .5rem;border-radius:999px;background:var(--accent-soft);color:var(--accent);font-size:.75rem;font-weight:600}input,select,textarea{font:inherit;color:var(--text);background:var(--bg);border:1px solid var(--border);border-radius:10px;padding:.55rem .7rem;width:100%}textarea{resize:vertical}.field{display:flex;flex-direction:column;gap:.3rem;margin:.6rem 0}.field>span{font-size:.85rem;color:var(--muted)}.check{display:flex;align-items:center;gap:.55rem;margin:.5rem 0;cursor:pointer}.check input{width:auto}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:.6rem}.inline-form{display:flex;gap:.6rem;margin-top:.6rem}.id-input{font-size:1.15rem;letter-spacing:.08em;font-variant-numeric:tabular-nums;max-width:14rem}.pin-input{font-size:2rem;text-align:center;letter-spacing:.25em;font-variant-numeric:tabular-nums;margin:.8rem 0}.home{max-width:880px;margin:0 auto;padding:1.5rem 1.25rem 2rem;min-height:100%;display:flex;flex-direction:column}.home-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.25rem}.brand{display:flex;align-items:center;gap:.75rem}.home-body{display:flex;flex-direction:column;gap:1rem;flex:1}.home-footer{margin-top:2rem;text-align:center}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.1rem 1.2rem}.card.center{text-align:center;display:flex;flex-direction:column;align-items:center;gap:.6rem;padding:2rem 1.5rem}.card-head{display:flex;align-items:center;justify-content:space-between;gap:.6rem;flex-wrap:wrap;margin-bottom:.5rem}.list{display:flex;flex-direction:column}.row{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.75rem 0;border-top:1px solid var(--border)}.row:first-child{border-top:none}.row-main{display:flex;flex-direction:column;min-width:0}.row-main b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.row-actions{display:flex;gap:.4rem;flex-wrap:wrap;justify-content:flex-end}.empty{padding:.5rem 0}.steps{margin:.4rem 0;padding-left:1.3rem}.steps li{margin:.25rem 0}.alert{background:#ef5b5b1f;border:1px solid rgba(239,91,91,.4);color:var(--text);padding:.75rem 1rem;border-radius:var(--radius);margin-bottom:1rem}.help{background:transparent}.connecting{height:100%;display:grid;place-items:center;padding:1rem}.connecting .card{min-width:min(420px,100%)}.spinner{width:42px;height:42px;border-radius:50%;border:3px solid var(--border);border-top-color:var(--accent);animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.viewer{height:100%;display:flex;flex-direction:column;background:#07080b;position:relative;color:#e8eaf0}.viewer-bar{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.4rem .6rem .4rem .9rem;background:#11141b;border-bottom:1px solid #222734}.viewer-title{display:flex;align-items:center;gap:.55rem;min-width:0}.viewer-title b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stats{color:#8f96a8;font-size:.8rem;font-variant-numeric:tabular-nums;white-space:nowrap}.viewer-actions{display:flex;align-items:center;gap:.2rem}.kbd-badge{display:none;align-items:center;gap:.35rem;font-size:.78rem;color:var(--ok);margin-right:.4rem}.kbd-on .kbd-badge{display:inline-flex}.tool{display:inline-grid;place-items:center;width:2.3rem;height:2.3rem;border:none;border-radius:9px;background:transparent;color:#c9cedb;cursor:pointer;font-size:1.05rem}.tool:hover{background:#232838;color:#fff}.tool.danger:hover{background:var(--danger)}.viewer-body{flex:1;display:flex;min-height:0}.stage{flex:1;position:relative;min-width:0;min-height:0;overflow:hidden;outline:none;touch-action:none;-webkit-user-select:none;user-select:none}.media{position:absolute;left:8px;top:8px;width:calc(100% - 16px);height:calc(100% - 16px);object-fit:contain;display:block;cursor:default;background:transparent}.kbd-capture{position:absolute;left:0;top:0;width:1px;height:1px;opacity:0;pointer-events:none;resize:none;border:0;padding:0}.side-bar{display:flex;flex-direction:column;gap:.15rem;padding:.5rem .35rem;background:#11141b;border-left:1px solid #222734;overflow-y:auto}.banner{position:absolute;top:3.4rem;left:50%;transform:translate(-50%);max-width:min(680px,92%);background:#ffb84df2;color:#1d1400;padding:.6rem .9rem;border-radius:10px;font-size:.88rem;box-shadow:var(--shadow);z-index:5}.drop-overlay,.closed-overlay{position:absolute;inset:0;display:grid;place-items:center;z-index:10}.drop-overlay{background:#2850c859;border:3px dashed var(--accent);pointer-events:none;text-align:center;font-size:1.2rem;font-weight:600}.closed-overlay{background:#050609bf;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.closed-card{max-width:440px;color:var(--text)}.transfers{position:absolute;right:4rem;bottom:1rem;display:flex;flex-direction:column;gap:.5rem;z-index:6;width:min(340px,80%)}.transfer{background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:10px;padding:.55rem .7rem;box-shadow:var(--shadow)}.transfer-name{display:flex;gap:.4rem;align-items:center;font-size:.88rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.progress{height:5px;border-radius:3px;background:var(--border);margin:.4rem 0 .25rem;overflow:hidden}.progress-bar{height:100%;width:0;background:var(--accent);transition:width .15s}.transfer.ok .progress-bar{background:var(--ok)}.transfer.err .progress-bar{background:var(--danger)}.dialog{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);color:var(--text);padding:0;width:min(480px,94vw);box-shadow:var(--shadow)}.dialog::backdrop{background:#0000008c}.dialog-body{padding:1.25rem 1.3rem 1.1rem}.dialog-actions{display:flex;justify-content:flex-end;gap:.5rem;margin-top:1rem}.toasts{position:fixed;left:50%;bottom:1.2rem;transform:translate(-50%);display:flex;flex-direction:column;align-items:center;gap:.5rem;z-index:100;pointer-events:none}.toast{pointer-events:auto;display:flex;align-items:center;gap:.8rem;max-width:min(560px,92vw);padding:.6rem .95rem;border-radius:10px;background:#222838;color:#eef0f5;box-shadow:var(--shadow);font-size:.9rem;transition:opacity .35s,transform .35s}.toast-error{background:#5a1f24}.toast-ok{background:#173d2e}.toast.out{opacity:0;transform:translateY(8px)}@media(max-width:640px){.grid3{grid-template-columns:1fr}.row{flex-direction:column;align-items:stretch}.row-actions{justify-content:flex-start}.stats{display:none}}.phone-app{display:grid;grid-template-columns:84px 1fr;height:100%;position:relative}.phone-nav{display:flex;flex-direction:column;gap:2px;padding:10px 6px;background:var(--surface);border-right:1px solid var(--border);overflow-y:auto}.nav-item{position:relative;display:flex;flex-direction:column;align-items:center;gap:3px;padding:9px 4px 7px;border:0;border-radius:12px;background:transparent;color:var(--muted);cursor:pointer;font:inherit;font-size:.72rem}.nav-item .ico{font-size:1.35rem}.nav-item:hover{background:var(--surface-2);color:var(--text)}.nav-item.active{background:var(--accent-soft);color:var(--accent);font-weight:600}.nav-item.live:before{content:"";position:absolute;top:8px;left:14px;width:8px;height:8px;border-radius:50%;background:var(--ok)}.nav-badge{position:absolute;top:4px;right:10px;min-width:18px;padding:0 5px;border-radius:9px;background:var(--danger);color:#fff;font-size:.68rem;font-weight:700;line-height:18px;text-align:center}.phone-body{display:flex;flex-direction:column;min-width:0;min-height:0}.phone-bar{display:flex;align-items:center;gap:14px;padding:8px 12px 8px 16px;background:var(--surface);border-bottom:1px solid var(--border);min-height:56px}.phone-bar .tool{color:var(--muted)}.phone-bar .tool:hover{background:var(--surface-2);color:var(--text)}.phone-bar .tool.danger:hover{background:var(--danger);color:#fff}.tool.on{background:var(--accent-soft);color:var(--accent)!important}.phone-id{display:flex;align-items:center;gap:10px;min-width:0}.phone-id>div{display:flex;flex-direction:column;min-width:0}.phone-id b,.phone-id span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.phone-stats{display:flex;gap:12px;color:var(--muted)}.stat{display:inline-flex;align-items:center;gap:2px;font-size:.85rem;white-space:nowrap}.stat.low{color:var(--danger)}.ico-sm{font-size:.95rem}.spacer{flex:1}.media-mini{display:flex;align-items:center;gap:6px;background:var(--surface-2);border-radius:12px;padding:4px 4px 4px 6px;max-width:380px;min-width:0}.media-art{width:36px;height:36px;border-radius:7px;object-fit:cover;flex-shrink:0}.media-art.ph{display:grid;place-items:center;background:var(--surface);color:var(--muted)}.media-text{display:flex;flex-direction:column;min-width:0;max-width:190px;line-height:1.25}.media-text b,.media-text span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.85rem}.phone-main{flex:1;min-height:0;position:relative}.notice{display:flex;align-items:center;gap:10px;padding:8px 16px;background:var(--accent-soft);border-bottom:1px solid var(--border);font-size:.9rem}.notice span{flex:1}.page{height:100%;min-height:0}.page.split{display:grid;grid-template-columns:minmax(270px,360px) 1fr}.page.single{display:flex;flex-direction:column}.page-head{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:12px 18px;border-bottom:1px solid var(--border)}.page-head h1{margin-right:auto;font-size:1.15rem}.scroll{flex:1;min-height:0;overflow:auto}.list-pane{display:flex;flex-direction:column;min-height:0;background:var(--surface);border-right:1px solid var(--border)}.pane-head{display:flex;gap:8px;padding:12px}.search,.to-input,.dial-input,.reply-input,.composer textarea,.sim-select{font:inherit;color:var(--text);background:var(--surface-2);border:1px solid var(--border);border-radius:10px;padding:.55rem .75rem;outline:none;min-width:0}.search{flex:1}.search:focus,.to-input:focus,.dial-input:focus,.reply-input:focus,.composer textarea:focus{border-color:var(--accent)}.seg{display:inline-flex;gap:2px;padding:3px;margin:0 12px 8px;background:var(--surface-2);border-radius:10px;align-self:flex-start}.page-head .seg,.thread-head .seg{margin:0}.seg-btn{border:0;background:transparent;color:var(--muted);font:inherit;font-size:.85rem;padding:4px 12px;border-radius:8px;cursor:pointer}.seg-btn.on{background:var(--surface);color:var(--text);box-shadow:0 1px 3px #00000026;font-weight:600}.conv-list{flex:1;overflow-y:auto;min-height:0}.conv{display:flex;align-items:center;gap:12px;width:100%;padding:10px 14px;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}.conv:hover{background:var(--surface-2)}.conv.active{background:var(--accent-soft)}.conv-main{flex:1;min-width:0;display:flex;flex-direction:column}.conv-top,.conv-sub{display:flex;justify-content:space-between;align-items:center;gap:8px}.conv-main b,.snippet{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conv-main b{font-weight:600}.snippet{color:var(--muted);font-size:.88rem}.conv.unread b,.conv.unread .snippet{color:var(--text);font-weight:700}.time{color:var(--muted);font-size:.78rem;white-space:nowrap}.count{background:var(--accent);color:#fff;border-radius:10px;padding:0 7px;font-size:.72rem;font-weight:700;line-height:18px}.avatar{border-radius:50%;display:grid;place-items:center;color:#fff;font-weight:650;flex-shrink:0;overflow:hidden;-webkit-user-select:none;user-select:none}.avatar img{width:100%;height:100%;object-fit:cover}.av-wrap{position:relative;flex-shrink:0}.app-badge{position:absolute;right:-3px;bottom:-3px;width:18px;height:18px;border-radius:5px;background:var(--surface);border:2px solid var(--surface)}.app-ico{width:16px;height:16px;border-radius:4px;vertical-align:-3px;margin-right:4px}.list-sep{position:sticky;top:0;z-index:1;padding:6px 16px;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);background:var(--surface)}.thread-pane .list-sep{background:var(--bg)}.load-more,.load-older{display:block;margin:10px auto}.empty-state{padding:24px;text-align:center;color:var(--muted)}.empty-state.big{margin:auto;max-width:460px;display:flex;flex-direction:column;align-items:center;gap:10px;padding:56px 24px}.empty-state .ico-xl{font-size:3rem;opacity:.6}.loading{display:grid;place-items:center;padding:24px}.spinner.small{width:22px;height:22px;border-width:3px}.thread-pane{display:flex;flex-direction:column;min-width:0;min-height:0}.thread-head{display:flex;align-items:center;gap:12px;padding:10px 16px;border-bottom:1px solid var(--border);min-height:62px}.thread-title{flex:1;display:flex;flex-direction:column;min-width:0}.thread-title b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.thread-actions{display:flex;gap:6px}.bubbles{flex:1;min-height:0;overflow-y:auto;padding:16px 18px;display:flex;flex-direction:column;gap:3px}.bubble-row{display:flex}.bubble-row.out{justify-content:flex-end}.bubble{max-width:min(72%,560px);padding:7px 12px 5px;border-radius:16px;background:var(--surface);border:1px solid var(--border);white-space:pre-wrap;overflow-wrap:anywhere}.bubble.out{background:var(--accent);border-color:var(--accent);color:#fff}.bubble.failed{background:#ef5b5b26;border-color:var(--danger);color:var(--text)}.bubble .meta{font-size:.7rem;opacity:.7;text-align:right;margin-top:1px}.bubble a{color:inherit}.sender{font-size:.78rem;font-weight:650;color:var(--accent)}.day-sep{text-align:center;margin:12px 0 6px}.day-sep span{font-size:.75rem;color:var(--muted);background:var(--surface-2);padding:2px 10px;border-radius:10px}.info-note{align-self:center;max-width:520px;text-align:center;font-size:.8rem;color:var(--muted);background:var(--surface-2);padding:6px 12px;border-radius:10px;margin-bottom:6px}.mms-img{max-width:260px;max-height:260px;border-radius:10px;display:block;cursor:zoom-in;margin-bottom:4px}.mms-holder{width:160px;height:120px;display:grid;place-items:center}.attach{display:flex;align-items:center;gap:6px}.composer{display:flex;align-items:flex-end;gap:8px;padding:10px 14px;border-top:1px solid var(--border);background:var(--surface)}.composer-input{flex:1;position:relative;display:flex}.composer textarea{flex:1;resize:none;max-height:160px;padding-right:4.5rem;line-height:1.4}.counter{position:absolute;right:10px;bottom:9px;pointer-events:none}.app-line{display:flex;align-items:center}.to-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:10px 16px;border-bottom:1px solid var(--border)}.chips{display:contents}.chip{display:inline-flex;align-items:center;gap:4px;background:var(--accent-soft);color:var(--accent);border-radius:14px;padding:2px 4px 2px 10px;font-size:.88rem}.chip button{border:0;background:none;color:inherit;cursor:pointer;font-size:1rem}.to-wrap{position:relative;flex:1;min-width:200px}.to-input{width:100%}.suggest{position:absolute;top:calc(100% + 4px);left:0;right:0;z-index:20;background:var(--surface);border:1px solid var(--border);border-radius:10px;box-shadow:var(--shadow);overflow:hidden}.suggest-item{display:flex;flex-direction:column;width:100%;padding:8px 12px;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}.suggest-item:hover{background:var(--surface-2)}.dialer{padding:18px;gap:14px;align-items:center;overflow-y:auto}.dial-box{width:100%;text-align:center}.dial-input{width:100%;font-size:1.6rem;text-align:center;letter-spacing:.04em}.dial-hint{min-height:1.2em;margin-top:4px}.keypad{display:grid;grid-template-columns:repeat(3,68px);gap:12px}.key{width:68px;height:68px;border-radius:50%;border:1px solid var(--border);background:var(--surface-2);color:var(--text);cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;font:inherit}.key span{font-size:1.5rem;line-height:1}.key small{font-size:.6rem;color:var(--muted);letter-spacing:.08em;min-height:.8em}.key:hover{background:var(--accent-soft)}.dial-actions{display:flex;gap:8px;align-items:center}.btn-call{background:var(--ok);border-color:var(--ok);color:#04130b;font-weight:600}.btn-call:hover{filter:brightness(1.08)}.btn.on{background:var(--accent-soft);border-color:var(--accent);color:var(--accent)}.center-text{text-align:center;max-width:260px}.call-list{flex:1;overflow-y:auto}.call-row{display:flex;align-items:center;gap:12px;padding:8px 16px}.call-row:hover{background:var(--surface-2)}.call-row.missed b,.call-row.rejected b{color:var(--danger)}.call-row .row-actions{display:flex;gap:2px}.call-box{position:fixed;right:20px;bottom:20px;width:min(380px,calc(100vw - 40px));background:var(--surface);border:1px solid var(--border);border-radius:18px;box-shadow:var(--shadow);padding:16px;z-index:60}.call-info{display:flex;align-items:center;gap:12px}.call-info>div:not(.avatar){display:flex;flex-direction:column;min-width:0}.call-info b{font-size:1.15rem}.call-actions{display:flex;gap:8px;margin:12px 0 4px}.call-actions .btn{flex:1;justify-content:center}.contact-detail{overflow-y:auto}.contact-card{display:flex;flex-direction:column;align-items:center;gap:12px;padding:32px 16px 16px}.contact-card h2{font-size:1.4rem}.star{color:#ffb84d}.phone-list{max-width:560px;width:100%;margin:0 auto;padding:0 16px 24px}.phone-row{display:flex;align-items:center;gap:8px;padding:12px 0;border-bottom:1px solid var(--border)}.notif-list{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:10px}.notif-list>*{width:100%;max-width:780px;margin:0 auto}.notif{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:10px 12px 12px 14px}.notif-head{display:flex;align-items:center;gap:4px}.notif-tools{margin-left:auto;display:flex}.notif-tools .btn-icon{padding:.3rem}.notif-body{display:flex;gap:12px;margin-top:2px}.notif-text{flex:1;min-width:0}.notif-text p{white-space:pre-wrap;overflow-wrap:anywhere;margin:.15rem 0 0}.notif-large{width:44px;height:44px;border-radius:50%;object-fit:cover}.reply-box{display:flex;gap:8px;margin-top:10px}.reply-input{flex:1}.notif-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:4px;padding:12px 16px}.grid-sep{grid-column:1 / -1;padding:12px 2px 4px;font-weight:600;color:var(--muted)}.grid-sep:first-letter{text-transform:uppercase}.tile{position:relative;aspect-ratio:1;padding:0;border:0;border-radius:6px;overflow:hidden;background:var(--surface-2);cursor:pointer}.tile img{width:100%;height:100%;object-fit:cover;display:block}.tile img:not([src]){visibility:hidden}.tile-badge{position:absolute;right:4px;bottom:4px;display:flex;align-items:center;gap:2px;padding:1px 6px;border-radius:8px;background:#0009;color:#fff;font-size:.72rem}.sentinel{height:1px}.lightbox{width:100vw;height:100vh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:#050609f0;color:#fff}.lightbox::backdrop{background:#0009}.lb-bar{position:absolute;top:0;left:0;right:0;display:flex;align-items:center;gap:12px;padding:10px 14px}.lb-caption{flex:1;font-size:.88rem;opacity:.85;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lb-stage{position:absolute;inset:60px 70px 24px;display:grid;place-items:center}.lb-stage>*{grid-area:1 / 1}.lb-media{max-width:100%;max-height:calc(100vh - 100px);object-fit:contain}.lb-media.blur{filter:blur(8px);opacity:.5;width:50vh}.lb-progress{width:280px;align-self:end}.lb-nav{position:absolute;top:50%;transform:translateY(-50%);width:48px;height:48px;border-radius:50%;border:0;background:#ffffff1a;color:#fff;cursor:pointer;font-size:1.3rem;display:grid;place-items:center}.lb-nav:hover{background:#fff3}.lb-nav.prev{left:12px}.lb-nav.next{right:12px}.files-page{position:relative}.crumbs{display:flex;align-items:center;flex-wrap:wrap;gap:4px;padding:8px 18px 4px}.crumb{border:0;background:none;color:var(--accent);font:inherit;cursor:pointer;padding:2px 4px;border-radius:6px}.crumb:hover{background:var(--accent-soft)}.file-list{display:flex;flex-direction:column;padding:4px 10px 16px}.file-row{display:grid;grid-template-columns:24px minmax(0,1fr) 110px 96px 84px;align-items:center;gap:12px;padding:7px 10px;border:0;border-radius:8px;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}.file-row:hover,.file-row:focus-visible{background:var(--surface-2);outline:none}.file-row.dir>.ico{color:var(--accent)}.file-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-tools{display:flex;justify-content:flex-end;opacity:0}.file-row:hover .file-tools,.file-row:focus-within .file-tools{opacity:1}.file-tools .btn-icon{padding:.3rem}.screen-page .viewer{flex:1;min-height:0}.screen-intro .btn-large{margin-top:6px}@media(max-width:900px){.phone-app{grid-template-columns:64px 1fr}.nav-label{display:none}.page.split{grid-template-columns:minmax(220px,280px) 1fr}.phone-stats,.media-text{display:none}.file-row{grid-template-columns:24px minmax(0,1fr) 90px 64px}.file-row>:nth-child(4){display:none}}.closed-card{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;max-width:440px}.closed-card .dialog-actions{margin-top:10px}.update-bar{position:fixed;left:50%;bottom:18px;transform:translate(-50%);z-index:70;display:flex;align-items:center;gap:10px;padding:8px 10px 8px 14px;background:var(--surface);color:var(--text);border:1px solid var(--accent);border-radius:14px;box-shadow:var(--shadow);max-width:calc(100vw - 40px)}
