:root{--bg:#f2f5fb;--wa-bg:#efeae2;--wa-mine:#d9fdd3;--wa-other:#ffffff;--wa-text:#111b21;--wa-meta:#667781;--wa-read:#34b7f1;--wa-dot:rgb(0 0 0/0.05);--wa-accent:#00a884;--surface:#ffffff;--surface-alt:#e9eef8;--text:#0b1224;--text-muted:#56627a;--border:#d6deec;--brand:#1668e3;--brand-strong:#0b4db3;--brand-contrast:#ffffff;--green:#0e9f6e;--green-bg:#dcf5ea;--yellow:#b7791f;--yellow-bg:#fdf1d6;--red:#e0294a;--red-bg:#fde3e8;--gray:#7a869c;--gray-bg:#e9eef6;--mint:#0891b2;--mint-bg:#dbf3f9;--violet:#7c3aed;--chart-1:#1668e3;--chart-2:#e0294a;--cat-1:#2a78d6;--cat-2:#eb6834;--cat-3:#1baf7a;--cat-4:#eda100;--cat-5:#e87ba4;--cat-6:#008300;--cat-7:#4a3aa7;--cat-8:#e34948;--violet-bg:#efe7ff;--orange:#ea6a0c;--orange-bg:#ffead8;--glow:0 6px 20px rgb(22 104 227/0.14);--card-shadow:0 6px 18px rgb(11 18 36/0.06);--bg-art:none;color-scheme:light;--radius-lg:20px;--radius-md:14px;--radius-sm:10px;--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--bottom-nav-height:78px}:root:not([data-theme=light]):not([data-theme=system]){--bg:#060a14;--wa-bg:#0b141a;--wa-mine:#005c4b;--wa-other:#202c33;--wa-text:#e9edef;--wa-meta:#8696a0;--wa-read:#53bdeb;--wa-dot:rgb(255 255 255/0.04);--wa-accent:#00a884;--surface:#0e1526;--surface-alt:#151f36;--text:#eef3ff;--text-muted:#9aa8c7;--border:#22304f;--brand:#3d9bff;--brand-strong:#8ec5ff;--brand-contrast:#021022;--green:#2ee59d;--green-bg:#0c2e24;--yellow:#ffc53d;--yellow-bg:#332808;--red:#ff5a74;--red-bg:#3a1220;--gray:#7d8aa8;--gray-bg:#182238;--mint:#22d3ee;--mint-bg:#0a2b36;--violet:#a98bff;--chart-1:#2f86ec;--chart-2:#ee4664;--cat-1:#3987e5;--cat-2:#d95926;--cat-3:#199e70;--cat-4:#c98500;--cat-5:#d55181;--cat-6:#008300;--cat-7:#9085e9;--cat-8:#e66767;--violet-bg:#231c48;--orange:#ff9a3d;--orange-bg:#3a220c;--glow:0 0 0 1px rgb(61 155 255/0.22),0 10px 30px rgb(61 155 255/0.16);--card-shadow:0 1px 0 rgb(255 255 255/0.04) inset,0 10px 30px rgb(0 0 0/0.35);--bg-art:radial-gradient(1px 1px at 12% 18%,rgb(255 255 255/0.55) 50%,transparent 51%),radial-gradient(1px 1px at 72% 9%,rgb(255 255 255/0.4) 50%,transparent 51%),radial-gradient(1.5px 1.5px at 38% 42%,rgb(142 197 255/0.5) 50%,transparent 51%),radial-gradient(1px 1px at 88% 36%,rgb(255 255 255/0.35) 50%,transparent 51%),radial-gradient(1px 1px at 22% 71%,rgb(255 255 255/0.3) 50%,transparent 51%),radial-gradient(1.5px 1.5px at 63% 83%,rgb(255 255 255/0.35) 50%,transparent 51%),radial-gradient(1px 1px at 91% 64%,rgb(142 197 255/0.45) 50%,transparent 51%),radial-gradient(120% 60% at 50% -10%,rgb(61 155 255/0.16),transparent 60%);color-scheme:dark}@media (prefers-color-scheme:dark){:root[data-theme=system]{--bg:#060a14;--wa-bg:#0b141a;--wa-mine:#005c4b;--wa-other:#202c33;--wa-text:#e9edef;--wa-meta:#8696a0;--wa-read:#53bdeb;--wa-dot:rgb(255 255 255/0.04);--wa-accent:#00a884;--surface:#0e1526;--surface-alt:#151f36;--text:#eef3ff;--text-muted:#9aa8c7;--border:#22304f;--brand:#3d9bff;--brand-strong:#8ec5ff;--brand-contrast:#021022;--green:#2ee59d;--green-bg:#0c2e24;--yellow:#ffc53d;--yellow-bg:#332808;--red:#ff5a74;--red-bg:#3a1220;--gray:#7d8aa8;--gray-bg:#182238;--mint:#22d3ee;--mint-bg:#0a2b36;--violet:#a98bff;--chart-1:#2f86ec;--chart-2:#ee4664;--cat-1:#3987e5;--cat-2:#d95926;--cat-3:#199e70;--cat-4:#c98500;--cat-5:#d55181;--cat-6:#008300;--cat-7:#9085e9;--cat-8:#e66767;--violet-bg:#231c48;--orange:#ff9a3d;--orange-bg:#3a220c;--glow:0 0 0 1px rgb(61 155 255/0.22),0 10px 30px rgb(61 155 255/0.16);--card-shadow:0 1px 0 rgb(255 255 255/0.04) inset,0 10px 30px rgb(0 0 0/0.35);--bg-art:radial-gradient(1px 1px at 12% 18%,rgb(255 255 255/0.55) 50%,transparent 51%),radial-gradient(1px 1px at 72% 9%,rgb(255 255 255/0.4) 50%,transparent 51%),radial-gradient(1.5px 1.5px at 38% 42%,rgb(142 197 255/0.5) 50%,transparent 51%),radial-gradient(1px 1px at 88% 36%,rgb(255 255 255/0.35) 50%,transparent 51%),radial-gradient(1px 1px at 22% 71%,rgb(255 255 255/0.3) 50%,transparent 51%),radial-gradient(1.5px 1.5px at 63% 83%,rgb(255 255 255/0.35) 50%,transparent 51%),radial-gradient(1px 1px at 91% 64%,rgb(142 197 255/0.45) 50%,transparent 51%),radial-gradient(120% 60% at 50% -10%,rgb(61 155 255/0.16),transparent 60%);color-scheme:dark}}*{box-sizing:border-box}body,html{padding:0;margin:0;overflow-x:hidden}body{background:var(--bg);background-image:var(--bg-art);background-attachment:fixed;color:var(--text);font-family:IBM Plex Sans Arabic,Segoe UI,Tahoma,Geeza Pro,Arial,sans-serif;padding-top:var(--safe-top);padding-bottom:calc(var(--bottom-nav-height) + var(--safe-bottom));-webkit-tap-highlight-color:transparent}img{max-width:100%}[hidden]{display:none!important}button{font-family:inherit}a{color:inherit}.home{max-width:960px;margin:0 auto;padding:16px 16px 32px}.home-header{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding-block:12px}.brand-mark{font-weight:800;font-size:1.25rem;color:var(--brand);letter-spacing:.5px}.search-input{flex:1 1 220px;min-width:0;padding:10px 14px;border-radius:var(--radius-md);border:1px solid var(--border);background:var(--surface);color:var(--text);font-size:.95rem}select.search-input{width:100%}.search-input:focus{outline:2px solid var(--brand);outline-offset:1px}.section{margin-top:20px}.section-header-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.section-title{font-size:1rem;margin:0 0 10px;color:var(--text)}.btn-link{background:none;border:none;color:var(--brand);font-weight:600;font-size:.85rem;cursor:pointer;padding:4px 8px}.empty-state{color:var(--text-muted);font-size:.9rem;padding:24px 0;text-align:center}.day-circles{display:grid;grid-template-columns:repeat(auto-fill,minmax(40px,1fr));grid-gap:8px;gap:8px}.day-circle{position:relative;aspect-ratio:1;border-radius:50%;border:1px solid var(--border);background:var(--surface);color:var(--text);font-size:.8rem;font-weight:600;cursor:pointer;display:flex;align-items:center;justify-content:center}.day-circle-empty{color:var(--text-muted);opacity:.55}.day-circle-active{background:var(--brand);border-color:var(--brand);color:var(--brand-contrast)}.day-circle-count{position:absolute;top:-4px;left:-4px;min-width:16px;height:16px;padding:0 3px;border-radius:999px;background:var(--red);color:#fff;font-size:.6rem;display:flex;align-items:center;justify-content:center;line-height:1}.account-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));grid-gap:12px;gap:12px}.account-card{border:1px solid var(--border);border-radius:var(--radius-lg);padding:14px;display:flex;flex-direction:column;gap:8px}.account-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.account-card-name{margin:0;font-size:.95rem;font-weight:700;line-height:1.3}.account-card-dots{display:flex;gap:6px;flex-shrink:0;padding-top:2px}.dot{width:10px;height:10px;border-radius:50%;display:inline-block}.dot-green{background:var(--green)}.dot-yellow{background:var(--yellow)}.dot-red{background:var(--red)}.dot-gray{background:var(--gray)}.account-card-row{display:flex;align-items:baseline;justify-content:space-between;gap:8px;font-size:.85rem}.account-card-label{color:var(--text-muted)}.account-card-value{font-weight:600}.badge{border-radius:999px;padding:2px 10px;font-size:.75rem;font-weight:700}.badge-green{background:var(--green-bg);color:var(--green)}.badge-yellow{background:var(--yellow-bg);color:var(--yellow)}.badge-red{background:var(--red-bg);color:var(--red)}.badge-gray{background:var(--gray-bg);color:var(--gray)}.badge-mint{background:var(--mint-bg);color:var(--mint)}.account-card-synced{color:var(--text-muted);font-size:.68rem}.whatsapp-menu-wrapper{position:relative}.whatsapp-btn{width:24px;height:24px;border:none;border-radius:50%;display:grid;place-items:center;background:#25d366;color:#fff;cursor:pointer}.whatsapp-menu-backdrop{position:fixed;inset:0;z-index:20}.whatsapp-menu{position:absolute;top:100%;inset-inline-start:0;margin-top:6px;z-index:21;display:flex;flex-direction:column;gap:2px;width:max-content;min-width:220px;max-width:min(280px,calc(100vw - 32px));padding:6px;border-radius:var(--radius-md);border:1px solid var(--border);background:var(--surface);box-shadow:0 12px 30px rgba(0,0,0,.16)}.whatsapp-menu button{border:none;background:transparent;color:var(--text);font-family:inherit;font-size:.78rem;font-weight:600;text-align:start;padding:9px 10px;border-radius:var(--radius-sm);cursor:pointer}.whatsapp-menu button:hover{background:var(--surface-alt)}.account-card-identifiers{display:flex;flex-wrap:wrap;gap:6px 14px;color:var(--text-muted);font-size:.72rem}.account-card-identifiers strong{color:var(--text);font-weight:600;overflow-wrap:anywhere}.account-card-subscriptions{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;font-size:.72rem}.account-card-subscription-chips{display:flex;flex-wrap:wrap;gap:6px}.account-card-subscription-chip{display:inline-block;padding:2px 8px;border-radius:999px;background:var(--surface-alt);border:1px solid var(--border);color:var(--text);font-weight:600;overflow-wrap:anywhere}.account-card-ledger-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.ledger-open-btn{-webkit-margin-start:auto;margin-inline-start:auto;min-height:30px;padding:4px 12px;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--text);font-family:inherit;font-size:.72rem;font-weight:700;cursor:pointer}.account-card-alert{background:var(--red-bg);color:var(--red);border-radius:var(--radius-sm);padding:6px 10px;font-size:.8rem;font-weight:600}.account-card-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:4px;border-top:1px solid var(--border);padding-top:8px}.account-card-actions{display:flex;gap:6px}.btn-icon{border:1px solid var(--border);background:var(--surface-alt);color:var(--text);border-radius:var(--radius-sm);padding:4px 10px;font-size:.75rem;cursor:pointer}.btn-icon:hover{border-color:var(--brand);color:var(--brand)}.build-info{text-align:center;color:var(--text-muted);font-size:.7rem;padding:16px 12px calc(16px + var(--safe-bottom))}.btn-icon:disabled{opacity:.45;cursor:not-allowed}a.btn-icon{text-decoration:none;display:inline-flex;align-items:center}.conn-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding-block:4px 8px}.conn-badge{border-radius:999px;padding:3px 10px;font-size:.72rem;font-weight:600;white-space:nowrap}.conn-checking{background:var(--surface-alt);color:var(--text-muted)}.conn-ok{background:var(--green-bg);color:var(--green)}.conn-error{background:var(--red-bg);color:var(--red)}.conn-error-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.settings-hint{color:var(--text-muted);font-size:.85rem;margin:0 0 10px}.settings-actions{display:flex;align-items:center;gap:10px;margin-top:10px;flex-wrap:wrap}.auth-form{display:flex;flex-direction:column;gap:10px;max-width:320px}.auth-form .search-input,.client-picker-new-form .search-input,.client-picker>.search-input,.form-field .search-input{flex:none;width:100%}.app-lock-screen{min-height:100vh;display:grid;place-items:center;padding:24px;background:var(--bg)}.app-lock-content{display:contents}.app-lock-overlay{position:fixed;inset:0;z-index:10000;overflow-y:auto}.app-lock-card{align-items:center;text-align:center;max-width:280px;width:100%}.app-lock-logo{font-size:1.6rem;margin-bottom:4px}.app-lock-title{font-size:1.15rem;margin:0}.app-lock-input{text-align:center;font-size:1.4rem;letter-spacing:.4em}.app-lock-submit{width:100%}.currency-converter-row{display:flex;gap:10px;align-items:flex-end}.currency-converter-row>.form-field{flex:1 1;min-width:0}.currency-converter-swap-row{display:flex;justify-content:center;margin:6px 0}.currency-picker-trigger{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:44px;padding:10px 12px;border:1px solid var(--border);border-radius:12px;background:var(--surface-alt);color:var(--text);font:inherit;font-size:.82rem;text-align:start;cursor:pointer}.currency-converter-swap-btn{width:38px;height:38px;border-radius:50%;border:1px solid var(--border);background:var(--surface-alt);color:var(--brand-strong);font-size:1.1rem;line-height:1;cursor:pointer;display:grid;place-items:center}.currency-converter-result{display:flex;flex-direction:column;align-items:center;gap:4px;padding:18px;margin-top:10px;border-radius:var(--radius-lg);background:color-mix(in srgb,var(--brand) 12%,var(--surface));text-align:center}.currency-converter-results{display:flex;gap:10px;margin-top:10px;flex-wrap:wrap}.currency-converter-result-box{flex:1 1 140px;min-width:140px;display:flex;flex-direction:column;align-items:center;gap:4px;padding:14px 10px;border-radius:var(--radius-lg);background:color-mix(in srgb,var(--brand) 12%,var(--surface));text-align:center}.currency-converter-result-box strong{font-size:1.25rem;color:var(--brand-strong);overflow-wrap:anywhere}.currency-converter-result-box-usd{background:var(--green-bg)}.currency-converter-result-box-usd strong{color:var(--green)}.currency-converter-result-label{font-size:.72rem;font-weight:700;color:var(--text-muted)}.currency-converter-equivalents{display:flex;justify-content:center;flex-wrap:wrap;gap:6px 14px;margin-top:8px;font-size:.78rem;color:var(--text-muted)}.currency-list-search-field{margin-bottom:10px}.currency-list{list-style:none;margin:0 0 4px;padding:0;display:flex;flex-direction:column;gap:8px}.currency-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;padding:10px 12px;border:1px solid var(--border);border-radius:12px;background:var(--surface-alt)}.currency-row-disabled{opacity:.55}.currency-row-main{display:flex;align-items:center;gap:8px;min-width:140px}.currency-row-code{color:var(--text-muted);font-size:.78rem}.currency-row-info{display:flex;flex-direction:column;gap:2px;font-size:.82rem}.currency-row-updated{color:var(--text-muted);font-size:.7rem}.currency-row-edit{display:flex;align-items:center;gap:6px}.currency-row-edit .search-input{max-width:110px}.currency-row-actions{display:flex;gap:10px;-webkit-margin-start:auto;margin-inline-start:auto}.session-header{display:flex;align-items:center;gap:12px;padding-block:8px}.rep-refresh{-webkit-margin-start:auto;margin-inline-start:auto;white-space:nowrap}.vnc-viewer{position:relative;width:100%;aspect-ratio:16/10;background:#000;border-radius:var(--radius-md);overflow:hidden}.vnc-canvas-host{width:100%;height:100%}.vnc-overlay{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#fff;background:rgba(0,0,0,.55);text-align:center;padding:16px}.app-shell{max-width:1040px;padding:18px 18px 40px}.app-header{justify-content:space-between;gap:16px;padding:6px 0 18px}.app-header,.brand-lockup{display:flex;align-items:center}.brand-lockup{gap:11px;flex-shrink:0}.brand-lockup>div{display:flex;flex-direction:column;gap:1px}.brand-logo{width:44px;height:44px;display:grid;place-items:center;color:#fff;font-size:1.2rem;background:linear-gradient(145deg,var(--brand),var(--brand-strong));box-shadow:0 8px 20px color-mix(in srgb,var(--brand) 24%,transparent)}.brand-lockup .brand-mark{font-size:1.35rem;line-height:1.2}.brand-subtitle{color:var(--text-muted);font-size:.72rem}.header-clients,.header-currencies,.header-reminders,.header-settings{width:42px;height:42px;border:1px solid var(--border);border-radius:13px;display:grid;place-items:center;background:var(--surface);color:var(--text-muted);text-decoration:none;cursor:pointer;position:relative;font-family:inherit;box-shadow:0 5px 16px rgba(21,31,44,.06)}.header-clients svg,.header-currencies svg,.header-reminders svg,.header-settings svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.header-reminders-badge{position:absolute;top:-4px;left:-4px;min-width:18px;height:18px;padding:0 4px;border-radius:999px;background:var(--red);color:#fff;font-size:.66rem;font-weight:700;display:grid;place-items:center;border:2px solid var(--bg)}.header-actions{display:flex;align-items:center;gap:8px;min-width:0;overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none}.header-actions::-webkit-scrollbar{display:none}.header-actions>*{flex-shrink:0}.header-add{min-height:42px;padding:9px 14px;border:0;border-radius:13px;display:inline-flex;align-items:center;justify-content:center;gap:5px;background:var(--brand);color:var(--brand-contrast);font-family:inherit;font-size:.76rem;font-weight:800;cursor:pointer;box-shadow:0 7px 18px color-mix(in srgb,var(--brand) 23%,transparent)}.header-add span{font-size:1rem;line-height:1}.header-sync{width:42px;height:42px;border:1px solid var(--border);border-radius:13px;display:grid;place-items:center;background:var(--surface);color:var(--text-muted);font-family:inherit;font-size:1.15rem;line-height:1;cursor:pointer;box-shadow:0 5px 16px rgba(21,31,44,.06)}.header-sync:disabled{opacity:.6;cursor:default}.header-sync.syncing span{display:inline-block;animation:starnet-spin 1s linear infinite}@keyframes starnet-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.search-panel{position:relative}.search-icon{position:absolute;z-index:1;top:50%;right:16px;width:20px;height:20px;color:var(--text-muted);transform:translateY(-50%);pointer-events:none}.search-icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.dashboard-search{width:100%;min-height:50px;padding:12px 48px 12px 16px;box-shadow:0 7px 24px rgba(21,31,44,.055)}.app-shell>.conn-row{min-height:38px;padding:8px 2px 10px}.overview-grid{display:flex;flex-wrap:nowrap;gap:5px}.overview-card{flex:1 1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;min-height:60px;padding:6px 3px;border:none;border-radius:14px;color:#fff;box-shadow:0 4px 12px rgba(21,31,44,.1)}button.overview-card{font-family:inherit;text-align:center;cursor:pointer}button.overview-card:active{transform:scale(.96)}.overview-card-active{box-shadow:0 0 0 2px var(--text),0 4px 12px rgba(21,31,44,.1)}.overview-icon{font-size:.8rem;line-height:1}.overview-value{font-size:1.05rem;font-weight:800;line-height:1}.overview-label{color:rgba(255,255,255,.92);font-size:.52rem;font-weight:600;line-height:1.15;text-align:center;overflow-wrap:anywhere}.overview-total{background:var(--brand)}.overview-online{background:var(--green)}.overview-warning{background:#d97706}.overview-expired{background:var(--red)}.overview-suspended{background:#9d174d}.overview-owed{background:#7c3aed}.dashboard-section{margin-top:16px;padding:18px;border:1px solid var(--border);border-radius:22px;background:var(--surface);box-shadow:0 8px 24px rgba(21,31,44,.045)}.dashboard-section .section-header-row,.section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:15px}.dashboard-section .section-title{margin:0;font-size:1.02rem}.section-caption{margin:4px 0 0;color:var(--text-muted);font-size:.72rem}.clear-filter,.text-action{padding:7px 10px;border:0;border-radius:10px;background:var(--surface-alt);color:var(--brand);font-family:inherit;font-size:.72rem;font-weight:700;cursor:pointer}.dashboard-section .day-circles{grid-template-columns:repeat(10,minmax(38px,1fr));gap:9px}.dashboard-section .day-circle{min-width:0;max-width:54px;margin-inline:auto;box-shadow:0 3px 10px rgba(21,31,44,.035)}.dashboard-section .day-circle-active{box-shadow:0 6px 14px color-mix(in srgb,var(--brand) 24%,transparent)}.accounts-section{padding:0;border:0;background:transparent;box-shadow:none}.account-grid{gap:14px}.account-card{min-width:0;padding:12px;gap:7px;border-radius:16px;box-shadow:0 8px 24px rgba(21,31,44,.05)}.account-identity{min-width:0;display:flex;align-items:center;gap:10px}.account-card-name{font-size:.8rem;font-weight:600}.account-card-name,.account-card-plan{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-card-plan{margin:0;color:var(--text-muted);font-size:.66rem}.account-statuses{flex:0 0 auto;display:flex;gap:6px}.device-status{display:inline-flex;align-items:center;gap:4px;color:var(--text-muted);font-size:.62rem}.device-status .dot{width:8px;height:8px;box-shadow:0 0 0 3px var(--surface-alt)}.account-card-details{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.85fr);grid-gap:10px;gap:10px}.account-detail-block{min-width:0;min-height:84px;padding:11px;border-radius:14px;display:flex;flex-direction:column;align-items:flex-start;gap:4px;background:var(--surface-alt)}.account-card-label{font-size:.68rem}.account-date{direction:ltr;font-size:.9rem}.date-status{margin-top:auto;font-size:.68rem;font-weight:700}.date-safe{color:var(--green)}.date-warning{color:var(--yellow)}.date-expired{color:var(--red)}.date-neutral{color:var(--text-muted)}.balance-block .badge{margin-top:auto;padding:4px 8px;font-size:.67rem}.balance-value{margin-top:auto;direction:ltr;color:var(--red);font-size:1rem}.account-card-alert{padding:9px 11px;border-right:3px solid var(--red);line-height:1.5}.account-card-footer{align-items:stretch;flex-direction:column;padding-top:11px}.account-card-actions{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:7px;gap:7px}.account-card-starlink-name{color:var(--text-muted);font-size:.72rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-card{position:relative}.account-card:before{content:"";position:absolute;inset:0 0 auto 0;height:3px;border-radius:16px 16px 0 0;background:linear-gradient(90deg,var(--brand),var(--brand-strong))}.account-card-suspended{border-color:var(--red);background:color-mix(in srgb,var(--red) 6%,var(--surface))}.account-card-suspended:before{background:var(--red)}.account-card-suspended-banner{background:var(--red);color:#fff}.account-card-fault-banner,.account-card-suspended-banner{font-size:.72rem;font-weight:700;text-align:center;padding:6px 10px;border-radius:var(--radius-sm)}.account-card-fault-banner{background:var(--yellow);color:#1a1208}.fault-remove-button{float:left;-webkit-margin-start:8px;margin-inline-start:8px;background:#1a1208;color:var(--yellow);border:0;border-radius:999px;font:inherit;font-size:.68rem;padding:2px 9px;cursor:pointer}.account-card-restricted-banner{background:var(--yellow);color:#1a1208;border-radius:var(--radius-sm)}.account-card-restricted-banner,.account-card-travel-banner{font-size:.72rem;font-weight:700;text-align:center;padding:6px 10px}.account-card-travel-banner{display:flex;flex-direction:column;gap:6px;background:var(--orange-bg);color:var(--orange);border:1px solid var(--orange);border-radius:var(--radius-sm)}.account-card-travel-pending{background:var(--violet-bg);color:var(--violet);border-color:var(--violet)}.account-card-travel-verified{background:var(--green-bg,var(--surface-alt));color:var(--green);border-color:var(--green)}.account-card-travel-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:6px}.account-card-travel-actions a,.account-card-travel-actions button{border:1px solid;border-radius:999px;background:var(--surface);color:inherit;font:inherit;font-size:.72rem;padding:3px 10px;text-decoration:none;cursor:pointer}.travel-done-chip{border-color:var(--green);background:var(--surface);color:var(--green)}.travel-done-chip.faulty-chip-active{background:var(--green);color:#fff}.travel-chip.faulty-chip-active{background:var(--orange);color:#fff}.travel-earnings{display:flex;flex-wrap:wrap;gap:4px 12px;align-items:center;margin:0 0 10px;padding:8px 12px;border:1px solid var(--green);border-radius:var(--radius-sm);color:var(--green);font-size:.8rem;font-weight:700}.travel-earnings small{flex-basis:100%;color:var(--text-muted);font-weight:600}.account-card-moving-banner{background:var(--surface-alt);color:var(--text);border:1px solid var(--border);border-radius:var(--radius-sm)}.account-card-moving-banner,.account-card-priority-banner{font-size:.72rem;font-weight:700;text-align:center;padding:6px 10px}.account-card-priority-banner{background:var(--orange-bg);color:var(--orange);border:1px solid var(--orange);border-radius:var(--radius-sm)}.account-card-usage-exhausted strong{color:var(--orange)}.account-card-usage-near strong{color:var(--yellow)}.account-card-top-row{display:flex;align-items:flex-start;gap:8px}.account-card-avatar{flex:0 0 auto;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:color-mix(in srgb,var(--brand) 16%,var(--surface-alt));color:var(--brand);font-weight:800;font-size:.68rem;direction:ltr}.account-card-title-block{flex:1 1;min-width:0;display:flex;flex-direction:column;gap:1px}.account-card-client-name{border:0;background:none;padding:0;font-family:inherit;font-size:.875rem;font-weight:600;color:var(--text-muted);cursor:pointer;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:start}.account-card-client-missing{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.account-card-status-badge,.cancel-subscription-button{flex:0 0 auto;align-self:flex-start}.cancel-subscription-button{border:1px solid var(--green);background:var(--green-bg);color:var(--green);border-radius:999px;padding:2px 8px;font-size:11px;font-weight:700;line-height:1.6;white-space:nowrap;cursor:pointer}.cancel-subscription-button.is-cancelled{border-color:var(--red);background:var(--red-bg);color:var(--red)}.cancel-subscription-button:disabled{opacity:.6}.account-card-mini-row,.account-card-pill-row{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.account-card-recharge-pill{display:inline-flex;align-items:center;gap:4px;max-width:100%;padding:3px 8px;border-radius:999px;background:var(--surface-alt);color:var(--text);font-size:.7rem;font-weight:600;overflow-wrap:anywhere}.account-card-email-copy{border:0;font-family:inherit;cursor:pointer;text-align:start}.account-card-recharge-pill-unread{color:var(--text-muted);font-style:italic}.mini-status{display:inline-flex;align-items:center;gap:3px;padding:2px 7px;border-radius:999px;font-size:.66rem;font-weight:600}.mini-status svg{width:12px;height:12px}.account-card-country{background:var(--brand-bg,var(--gray-bg));color:var(--brand)}.mini-status-green{background:var(--green-bg);color:var(--green)}.mini-status-yellow{background:var(--yellow-bg);color:var(--yellow)}.mini-status-red{background:var(--red-bg);color:var(--red)}.mini-status-gray{background:var(--gray-bg);color:var(--gray)}.account-card-d-mark,.account-card-plan-badge{font-size:.66rem;padding:1px 8px}.account-card-copy-btn{flex:0 0 auto;width:22px;height:22px;border:1px solid var(--border);border-radius:6px;display:grid;place-items:center;background:var(--surface-alt);color:var(--text-muted);cursor:pointer}.account-card-device-name-row,.account-card-profit-row,.account-card-starlink-balance-row{display:flex;align-items:center;gap:6px;font-size:.76rem;flex-wrap:wrap}.account-card-limited-note{color:var(--yellow);font-weight:600}.account-card-email-row{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:5px 9px;border-radius:var(--radius-sm);background:var(--surface-alt);color:var(--text-muted);font-size:.72rem}.account-card-email-row span{min-width:0;overflow-wrap:anywhere}.account-card-email-icon{flex:0 0 auto;display:grid;place-items:center;color:var(--brand)}.stat-tile-value-ok{color:var(--green)}.stat-tile-value-usd{color:var(--text-muted);font-size:.62rem;font-weight:600}.account-card-last-update{display:flex;align-items:center;gap:5px;color:var(--text-muted);font-size:.66rem}.account-card-main-actions{display:flex;align-items:center;gap:6px}.account-card-main-actions .card-action-primary{flex:1 1}.account-card-more-toggle{display:flex;align-items:center;justify-content:center;gap:4px;min-height:44px;padding:4px 10px;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--brand);font-family:inherit;font-size:.72rem;font-weight:700;cursor:pointer}.account-card-toggle-icon{font-size:1rem;line-height:1;transition:transform .15s ease}.account-card-toggle-icon.is-open{transform:rotate(180deg)}.account-card-quick-actions{display:flex;align-items:flex-start;justify-content:space-around;gap:4px}.quick-action{display:flex;flex-direction:column;align-items:center;gap:3px;min-width:44px;min-height:44px;border:0;background:none;font-family:inherit;color:var(--text-muted);font-size:.62rem;font-weight:600;cursor:pointer;padding:2px}.quick-action-icon{width:30px;height:30px;border-radius:50%;display:grid;place-items:center}.quick-action-fault{background:var(--yellow-bg);color:var(--yellow)}.quick-action-archive{background:var(--gray-bg);color:var(--gray)}.quick-action-renew{background:var(--green-bg);color:var(--green)}.quick-action-delete{background:var(--red-bg);color:var(--red)}.account-card-expanded{display:flex;flex-direction:column;gap:7px;padding-top:2px;border-top:1px dashed var(--border)}.account-card-expanded-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:6px;gap:6px}.account-card-expanded-grid .card-action{width:100%;justify-content:center;min-height:44px}.card-sync-btn-labeled{display:inline-flex;align-items:center;gap:6px;align-self:flex-start;border:1px solid var(--border);border-radius:999px;background:var(--surface-alt);color:var(--text);font-family:inherit;font-size:.72rem;font-weight:600;padding:5px 12px;cursor:pointer}.card-sync-btn-labeled:disabled{opacity:.6;cursor:default}.card-sync-btn-labeled.syncing span{display:inline-block;animation:starnet-spin 1s linear infinite}.client-picker{display:flex;flex-direction:column;gap:8px}.client-picker-selected{display:flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid var(--border);border-radius:10px;background:var(--surface-alt)}.client-picker-selected-name{font-weight:700;flex:1 1}.client-picker-selected-phone{color:var(--text-muted);font-size:.8rem}.client-picker-list{display:flex;flex-direction:column;gap:4px;max-height:160px;overflow-y:auto}.client-picker-option{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text);font-family:inherit;cursor:pointer;text-align:right}.client-picker-option-phone{color:var(--text-muted);font-size:.78rem}.client-picker-option-main{display:flex;flex-direction:column;gap:2px;min-width:0}.client-picker-option-info{display:flex;flex-wrap:wrap;gap:6px;color:var(--text-muted);font-size:.72rem}.client-picker-due{color:var(--red);font-weight:700}.client-picker-credit{color:var(--green);font-weight:700}.client-picker-noname{-webkit-margin-start:6px;margin-inline-start:6px;padding:0 6px;border:1px dashed var(--border);border-radius:999px;color:var(--text-muted);font-size:.68rem;font-weight:600}.client-picker-add-number{align-self:stretch}.client-picker-empty{color:var(--text-muted);font-size:.82rem;margin:0}.client-picker-new-form{display:flex;flex-direction:column;gap:8px;padding:10px;border:1px dashed var(--border);border-radius:10px}.client-picker-new-actions{display:flex;justify-content:flex-end;gap:8px}.card-action{min-height:32px;padding:6px 8px;border:1px solid var(--border);border-radius:10px;display:inline-flex;align-items:center;justify-content:center;gap:4px;background:var(--surface);color:var(--text);font-family:inherit;font-size:.7rem;font-weight:700;text-decoration:none;cursor:pointer}.card-action-primary{border-color:var(--brand);background:var(--brand);color:var(--brand-contrast)}.card-action:disabled{opacity:.42;cursor:not-allowed}.dialog-backdrop{position:fixed;z-index:100;inset:0;padding:max(18px,var(--safe-top)) 16px max(18px,var(--safe-bottom));display:grid;place-items:center;overflow-y:auto;background:rgba(8,18,25,.58);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.account-dialog{width:min(100%,620px);max-height:calc(100dvh - 36px);padding:19px;border:1px solid var(--border);border-radius:22px;overflow-y:auto;background:var(--surface);box-shadow:0 24px 70px rgba(0,0,0,.24)}.dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:18px}.dialog-header h2{margin:0;font-size:1.12rem}.dialog-header p{margin:5px 0 0;color:var(--text-muted);font-size:.7rem}.dialog-close{width:36px;height:36px;flex:0 0 36px;border:1px solid var(--border);border-radius:11px;display:grid;place-items:center;background:var(--surface-alt);color:var(--text-muted);font-family:inherit;font-size:1.35rem;cursor:pointer}.account-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:12px;gap:12px}.form-field{min-width:0;display:flex;flex-direction:column;gap:6px}.form-field>span{color:var(--text-muted);font-size:.72rem;font-weight:700}.form-field input,.form-field select,.form-field textarea{width:100%;min-height:44px;padding:10px 12px;border:1px solid var(--border);border-radius:12px;outline:none;background:var(--surface-alt);color:var(--text);font:inherit;font-size:.82rem}.form-field textarea{min-height:68px;resize:vertical}.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:var(--brand);box-shadow:0 0 0 3px color-mix(in srgb,var(--brand) 12%,transparent)}.form-wide{grid-column:1/-1}.phone-input-row{display:flex;align-items:center;gap:6px}.phone-input-row>.phone-country-select,.phone-input-row>.phone-local-input{min-height:44px;padding:10px 12px;border:1px solid var(--border);border-radius:12px;outline:none;background:var(--surface-alt);color:var(--text);font:inherit;font-size:.82rem}.phone-input-row>.phone-country-select{flex:0 0 auto;width:auto;max-width:40%}.phone-input-row>.phone-local-input{flex:1 1;min-width:0;width:auto}.phone-input-row>.phone-country-select:focus,.phone-input-row>.phone-local-input:focus{border-color:var(--brand);box-shadow:0 0 0 3px color-mix(in srgb,var(--brand) 12%,transparent)}.extra-emails-list{display:flex;flex-direction:column;gap:8px}.extra-email-row{display:flex;align-items:center;gap:6px}.extra-email-row>input{flex:1 1;min-width:0}.dialog-actions{display:grid;grid-template-columns:.8fr 1.2fr;grid-gap:9px;gap:9px;margin-top:4px}.dialog-primary,.dialog-secondary{min-height:44px;padding:10px 15px;border-radius:12px;font-family:inherit;font-size:.82rem;font-weight:800;cursor:pointer}.dialog-primary{border:1px solid var(--brand)}.dialog-secondary{border:1px solid var(--border);background:var(--surface-alt);color:var(--text)}.dialog-danger{grid-column:1/-1;min-height:44px;padding:10px 15px;border-radius:12px;font-family:inherit;font-size:.82rem;font-weight:800;cursor:pointer;border:1px solid #d9362f;background:transparent;color:#d9362f}.account-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:10px;gap:10px}.account-info-grid>div{min-width:0;min-height:72px;padding:11px;border-radius:13px;display:flex;flex-direction:column;gap:6px;background:var(--surface-alt)}.account-info-grid span{color:var(--text-muted);font-size:.67rem}.account-info-grid strong{overflow-wrap:anywhere;font-size:.8rem}.account-info-grid .info-wide{grid-column:1/-1}.account-info-plan-status{display:inline-block;-webkit-margin-start:6px;margin-inline-start:6px;vertical-align:middle}.account-info-grid .info-warning{background:var(--red-bg)}.account-info-grid .info-warning span,.account-info-grid .info-warning strong{color:var(--red)}.account-info-grid .info-notice{background:var(--yellow-bg)}.account-info-grid .info-notice span,.account-info-grid .info-notice strong{color:var(--yellow)}.dialog-done{width:100%;margin-top:14px}.ledger-dialog{max-width:420px}.ledger-balance-rows{display:flex;flex-direction:column;gap:6px;margin-top:10px}.ledger-balance-row{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border-radius:var(--radius-sm);background:var(--surface-alt);font-weight:700}.ledger-balance-usd-total{background:transparent;border:1px dashed var(--border);color:var(--text-muted);font-weight:600;font-size:.82rem}.ledger-balance-cash-collected{background:color-mix(in srgb,var(--brand) 10%,var(--surface));color:var(--brand-strong);font-weight:600;font-size:.82rem}.ledger-entry-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:10px;gap:10px;margin-top:14px}.ledger-email-input,.ledger-entry-form .dialog-primary,.ledger-form-error,.ledger-note-input,.ledger-payment-method-input{grid-column:span 2}.ledger-d-toggle{grid-column:span 2;font-size:.8rem;color:var(--text-muted)}.ledger-d-toggle,.ledger-shipment-row{display:flex;align-items:center;gap:8px}.ledger-shipment-row{flex-wrap:wrap;margin-top:6px;padding-top:6px;border-top:1px solid var(--border)}.ledger-d-badge{border:0;cursor:pointer;font-family:inherit}.ledger-shipment-profit{font-weight:700;font-size:.78rem}.ledger-profit-pending-hint{font-size:.72rem;color:var(--yellow)}.ledger-cost-section{grid-column:span 2;display:flex;flex-direction:column;gap:10px;padding:12px;border-radius:14px;background:color-mix(in srgb,var(--brand) 7%,var(--surface));border:1px solid color-mix(in srgb,var(--brand) 22%,var(--border))}.ledger-cost-section-title{display:flex;flex-direction:column;gap:2px}.ledger-cost-section-title strong{color:var(--brand);font-size:.9rem}.ledger-cost-section-title span{font-size:.72rem;color:var(--text-muted)}.ledger-cost-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:8px;gap:8px}.ledger-cost-rate-hint{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:.68rem;color:var(--text-muted)}.ledger-cost-convert{display:flex;flex-direction:column;gap:6px;padding:10px;border-radius:10px;background:color-mix(in srgb,var(--brand) 10%,transparent)}.ledger-cost-convert-usd{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:.78rem;color:var(--text-muted)}.ledger-cost-convert-usd strong{color:var(--brand);font-size:1rem}.ledger-cost-convert-rows{display:flex;flex-wrap:wrap;gap:10px;font-size:.8rem;font-weight:700}.ledger-profit-section{display:flex;flex-direction:column;gap:4px;padding:10px 12px;border-radius:12px}.ledger-profit-section strong{font-size:.85rem}.ledger-profit-hint{font-size:.68rem;color:var(--text-muted)}.ledger-profit-pending{background:var(--yellow-bg);color:var(--yellow)}.ledger-profit-positive{background:var(--green-bg);color:var(--green)}.ledger-profit-negative{background:var(--red-bg);color:var(--red)}.allocation-list{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-direction:column;gap:8px;max-height:260px;overflow-y:auto}.allocation-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;border:1px solid var(--border);border-radius:var(--radius-sm);font-size:.78rem}.allocation-row-info{display:flex;flex-direction:column;gap:2px;color:var(--text-muted)}.allocation-remaining{color:var(--text);font-weight:600}.allocation-row input{max-width:100px}.allocation-summary{display:flex;justify-content:space-between;gap:10px;margin-top:10px;padding-top:10px;border-top:1px solid var(--border);font-weight:700;font-size:.85rem}.allocation-unallocated{color:var(--yellow)}.statement-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:8px;gap:8px;margin-top:10px}.statement-summary-item{display:flex;flex-direction:column;gap:2px;padding:8px 10px;border-radius:var(--radius-sm);background:var(--surface-alt);font-size:.72rem}.statement-summary-item span{color:var(--text-muted)}.statement-net-result{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:12px;padding:10px 12px;border-radius:var(--radius-sm);border:1px solid var(--border)}.statement-net-value{font-weight:700}.statement-cash-flow{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:8px;padding:10px 12px;border-radius:var(--radius-sm);border:1px dashed var(--border);font-size:.78rem}.statement-cash-flow span:first-child{color:var(--text-muted)}.statement-cash-flow-value{font-weight:700}.statement-shipment-list{list-style:none;margin:14px 0 0;padding:0;display:flex;flex-direction:column;gap:8px;max-height:320px;overflow-y:auto}.statement-shipment-row{padding:8px 10px;border:1px solid var(--border);border-radius:var(--radius-sm);font-size:.78rem;display:flex;flex-direction:column;gap:4px}.statement-shipment-top{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-weight:600}.statement-shipment-usd{color:var(--text-muted);font-weight:400}.statement-shipment-badges{display:flex;flex-wrap:wrap;gap:6px}.statement-shipment-cost{color:var(--text-muted)}.statement-shipment-payments{display:flex;flex-wrap:wrap;gap:10px;color:var(--text-muted);font-size:.75rem}.statement-linked-payments{margin:2px 0 0;gap:2px;color:var(--text-muted);font-size:.72rem}.ledger-entry-list,.statement-linked-payments{list-style:none;padding:0;display:flex;flex-direction:column}.ledger-entry-list{margin:14px 0 0;gap:8px;max-height:260px;overflow-y:auto}.ledger-entry-empty{text-align:center;color:var(--text-muted);font-size:.8rem;padding:16px 0}.ledger-entry-row{padding:8px 10px;border:1px solid var(--border);border-radius:var(--radius-sm);font-size:.78rem}.ledger-entry-row-top{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px}.ledger-entry-row-bottom{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin-top:6px;padding-top:6px;border-top:1px solid var(--border);color:var(--text-muted)}.ledger-entry-amount{font-weight:700}.ledger-entry-date{color:var(--text-muted);-webkit-margin-start:auto;margin-inline-start:auto}.ledger-entry-email,.ledger-entry-note{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ledger-entry-method{font-weight:600;color:var(--text)}.ledger-entry-delete{border:0;background:transparent;color:var(--red);font-size:1.1rem;line-height:1;cursor:pointer;padding:2px 6px}.toast-stack{position:fixed;top:12px;left:50%;transform:translateX(-50%);z-index:300;display:flex;flex-direction:column;align-items:center;gap:6px;pointer-events:none}.toast-bubble{pointer-events:auto;max-width:88vw;border:0;border-radius:999px;padding:8px 16px;background:var(--text);color:var(--surface);font-family:inherit;font-size:.76rem;font-weight:600;line-height:1.3;text-align:center;box-shadow:0 8px 24px rgba(0,0,0,.18);cursor:pointer;animation:toast-in .2s ease-out}@keyframes toast-in{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.card-sync-btn{width:24px;height:24px;border:none;border-radius:50%;display:grid;place-items:center;background:var(--surface-alt);color:var(--text-muted);cursor:pointer;font-size:.85rem;line-height:1}.card-sync-btn:disabled{opacity:.6;cursor:default}.card-sync-btn.syncing span{display:inline-block;animation:starnet-spin 1s linear infinite}@media (max-width:680px){.app-shell{padding:14px 14px 32px}.dashboard-section{padding:15px;border-radius:19px}.dashboard-section .day-circles{grid-template-columns:repeat(7,minmax(36px,1fr))}.account-grid{grid-template-columns:1fr}.account-dialog{padding:16px;border-radius:19px}}@media (max-width:390px){.brand-subtitle{display:none}.account-statuses{flex-direction:column;align-items:flex-end}.dashboard-section .day-circles{gap:7px}.header-add{width:42px;padding:0;font-size:0}.header-add span{font-size:1.2rem}.header-actions{gap:6px}.header-clients,.header-currencies,.header-reminders,.header-settings,.header-sync{width:38px;height:38px}.account-form,.account-info-grid{grid-template-columns:1fr}.account-info-grid .info-wide,.form-wide{grid-column:auto}}.bottom-nav{position:fixed;z-index:90;bottom:0;left:0;right:0;display:flex;height:var(--bottom-nav-height);padding-bottom:var(--safe-bottom);background:var(--surface);border-top:1px solid var(--border);box-shadow:0 -6px 20px rgba(21,31,44,.06)}.bottom-nav-item{flex:1 1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border:none;background:none;color:var(--text-muted);font-family:inherit;cursor:pointer;text-decoration:none}.bottom-nav-icon{font-size:1.15rem;line-height:1}.bottom-nav-label{font-size:.66rem;font-weight:600}.bottom-nav-sheet-backdrop{position:fixed;z-index:95;inset:0;display:flex;align-items:flex-end;justify-content:center;background:rgba(8,18,25,.5)}.bottom-nav-sheet{width:100%;max-width:420px;padding:14px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:10px;gap:10px;border-radius:18px 18px 0 0;background:var(--surface);box-shadow:0 -12px 40px rgba(0,0,0,.18)}.bottom-nav-sheet-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:76px;padding:10px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-alt);color:var(--text);font-size:.8rem;font-weight:600;text-decoration:none}.bottom-nav-sheet-item span{font-size:1.3rem}.coming-soon-card{display:flex;flex-direction:column;align-items:center;gap:8px;padding:48px 16px;text-align:center;color:var(--text-muted)}.coming-soon-icon{font-size:2.4rem}.coming-soon-card p:first-of-type{margin:0;font-size:1.1rem;font-weight:700;color:var(--text)}.report-period-row{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:14px}.report-period-btn{flex:1 1;min-width:52px;min-height:38px;padding:7px 10px;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--text-muted);font-family:inherit;font-size:.78rem;font-weight:600;cursor:pointer}.report-period-btn-active{border-color:var(--brand);background:var(--brand);color:var(--brand-contrast)}.report-net-tile{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;padding:16px;margin-bottom:14px;border-radius:var(--radius-lg);background:var(--green-bg)}.report-net-tile-negative{background:var(--red-bg)}.report-net-tile-info{background:color-mix(in srgb,var(--brand) 12%,var(--surface))}.report-net-tile-info .report-net-tile-value{color:var(--brand-strong)}.report-net-tile-violet{background:var(--violet-bg)}.report-net-tile-violet .report-net-tile-value{color:var(--violet)}.report-net-tile-label{font-size:.85rem;color:var(--text-muted)}.report-net-tile-value{font-size:1.4rem;color:var(--green);overflow-wrap:anywhere}.report-net-tile-negative .report-net-tile-value{color:var(--red)}.report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:10px;gap:10px;margin-bottom:14px}.report-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.report-tile{display:flex;flex-direction:column;gap:4px;min-width:0;padding:14px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface)}.report-tile-label{font-size:.75rem;color:var(--text-muted)}.report-tile-value{font-size:1.2rem;overflow-wrap:anywhere}.report-tile-value-stack{display:flex;flex-direction:column;gap:2px;font-size:1.05rem;overflow-wrap:anywhere}.report-collapse-toggle{width:100%;min-height:44px;padding:10px 14px;margin-bottom:10px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);color:var(--text);font-family:inherit;font-size:.85rem;font-weight:700;text-align:start;cursor:pointer}.report-line-positive{color:var(--green)}.report-line-negative{color:var(--red)}.report-section-title{margin:20px 0 10px;font-size:.95rem}.report-line-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.report-line{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface)}.report-line span{min-width:0}.report-line strong{overflow-wrap:anywhere}.theme-option-row{display:flex;gap:8px;margin-top:10px}.theme-option-btn{flex:1 1;min-height:40px;padding:8px 10px;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--text-muted);font-family:inherit;font-size:.85rem;font-weight:600;cursor:pointer}.theme-option-btn-active{border-color:var(--brand);background:var(--brand);color:var(--brand-contrast)}.toggle-switch-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px;font-size:.95rem;font-weight:600;color:var(--text);cursor:pointer}.toggle-switch{position:relative;display:inline-flex;align-items:center;width:46px;height:26px;flex-shrink:0;border-radius:999px;background:var(--surface-alt);border:1px solid var(--border);transition:background .15s ease}.toggle-switch-on{background:var(--brand);border-color:var(--brand)}.toggle-switch input{position:absolute;inset:0;margin:0;opacity:0;cursor:pointer}.toggle-switch-thumb{position:absolute;top:2px;right:2px;width:20px;height:20px;border-radius:50%;background:var(--surface);box-shadow:0 1px 2px rgba(0,0,0,.25);transition:transform .15s ease;pointer-events:none}.toggle-switch-on .toggle-switch-thumb{transform:translateX(-20px)}.store-summary-row{display:flex;gap:8px;margin-bottom:14px}.store-summary-tile{flex:1 1;min-width:0;padding:12px 14px;border-radius:var(--radius-lg);background:color-mix(in srgb,var(--brand) 12%,var(--surface));border:1px solid var(--border)}.store-summary-label{display:block;font-size:.78rem;color:var(--text-muted);margin-bottom:4px}.store-summary-value{font-size:1.05rem;font-weight:700;color:var(--text)}.store-summary-value-stack{display:flex;flex-direction:column;gap:2px;font-size:.95rem;font-weight:700;color:var(--text)}.store-items-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.store-item-list{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-direction:column;gap:8px}.store-item-card{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);overflow:hidden;min-width:0}.store-item-card-active{border-color:var(--brand)}.store-item-row{display:flex;align-items:center;gap:10px;width:100%;min-width:0;padding:12px 14px;background:transparent;border:none;font-family:inherit;cursor:pointer;text-align:right}.store-item-icon{flex-shrink:0;font-size:1.4rem;width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:var(--radius-md);background:var(--surface-alt)}.store-item-main{flex:1 1;min-width:0;display:flex;flex-direction:column;gap:2px}.store-item-name{font-weight:700;color:var(--text);min-width:0;overflow-wrap:anywhere}.store-item-price{font-size:.78rem;color:var(--text-muted)}.store-item-end{flex-shrink:0;display:flex;flex-direction:column;align-items:flex-end;gap:2px}.store-item-stock{font-weight:700;color:var(--green)}.store-item-stock-empty{color:var(--red)}.store-item-value{font-size:.78rem;color:var(--text-muted)}.store-item-code{-webkit-margin-start:6px;margin-inline-start:6px;font-size:.72rem;font-weight:400;color:var(--text-muted)}.store-item-low-badge{font-size:.7rem;font-weight:700;color:var(--red)}.store-item-image{flex-shrink:0;width:40px;height:40px;border-radius:var(--radius-md);object-fit:cover}.store-summary-tile-warning{background:color-mix(in srgb,var(--red) 14%,var(--surface))}.store-summary-tile-warning .store-summary-value{color:var(--red)}.store-item-form{gap:10px}.store-item-form-row{display:flex;gap:8px}.store-item-form-row>.search-input{flex:1 1;width:auto;min-width:0}.store-item-form-image-row{display:flex;align-items:center;gap:10px}.store-item-form-image-preview{object-fit:cover}.store-item-form-image-placeholder,.store-item-form-image-preview{width:48px;height:48px;border-radius:var(--radius-md);flex-shrink:0}.store-item-form-image-placeholder{background:var(--surface-alt);display:flex;align-items:center;justify-content:center;font-size:1.4rem}.store-item-form-image-btn{cursor:pointer}.store-item-quick-actions{display:flex;gap:8px;padding:0 14px 12px}.store-quick-btn{flex:1 1;padding:7px 10px;border:1px solid var(--border);border-radius:999px;background:var(--surface-alt);color:var(--text);font-family:inherit;font-size:.8rem;font-weight:700;cursor:pointer}.store-quick-btn:disabled{opacity:.5;cursor:not-allowed}.store-quick-buy{color:var(--yellow);border-color:color-mix(in srgb,var(--yellow) 50%,var(--border))}.store-quick-sell{color:var(--green);border-color:color-mix(in srgb,var(--green) 50%,var(--border))}.store-quick-edit{color:var(--text-muted);flex:0 0 auto;padding:7px 14px}.store-item-panel{margin:0 12px 12px;padding:14px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-alt);min-width:0}.help-hint{margin:10px 0;padding:12px 14px;border:1px solid var(--brand);border-radius:var(--radius-md);background:color-mix(in srgb,var(--brand) 10%,var(--surface));min-width:0}.help-hint-header{display:flex;align-items:center;justify-content:space-between;gap:10px}.help-hint-title{font-size:.92rem;color:var(--text)}.help-hint-close{flex-shrink:0;border:none;background:transparent;color:var(--text-muted);font-size:1.1rem;line-height:1;cursor:pointer;padding:2px 6px}.help-hint-steps{margin:8px 0 0;-webkit-padding-start:20px;padding-inline-start:20px;display:flex;flex-direction:column;gap:4px;font-size:.85rem;color:var(--text-muted)}.invoice-line-row{display:flex;align-items:center;gap:6px}.invoice-line-group{display:flex;flex-direction:column;gap:6px}.invoice-line-shipping-toggle{grid-column:unset}.invoice-line-row>select.search-input{flex:2 1;min-width:0}.invoice-line-row>input.search-input{flex:1 1;min-width:0}.invoice-line-row>.store-item-name{flex:2 1;min-width:0;overflow-wrap:anywhere}.invoice-line-row>.store-item-price{flex-shrink:0}.party-section{--party-tab-accent:var(--brand);display:flex;flex-direction:column;gap:12px;margin-top:12px}.party-section-suppliers{--party-tab-accent:var(--yellow)}.party-tabs{display:grid;grid-template-columns:1fr 1fr;grid-gap:6px;gap:6px;padding:4px;border-radius:var(--radius-md);background:var(--surface-alt)}.party-tab{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:42px;border:0;border-radius:var(--radius-sm);background:transparent;color:var(--text-muted);font:inherit;font-weight:700;cursor:pointer}.party-tab-active.party-tab-clients{background:var(--brand);color:var(--brand-contrast)}.party-tab-active.party-tab-suppliers{background:var(--yellow);color:#1f1500}.party-tab-count{min-width:22px;padding:1px 7px;border-radius:999px;background:rgb(255 255 255/.25);font-size:.8rem}.party-overview{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding:12px 14px;border-radius:var(--radius-md);border:1px solid var(--border);-webkit-border-start:4px solid var(--party-tab-accent);border-inline-start:4px solid var(--party-tab-accent);background:var(--surface)}.party-overview-label{color:var(--text-muted);font-size:.9rem}.party-overview-values{display:flex;flex-wrap:wrap;gap:10px;font-size:1.05rem;color:var(--party-tab-accent)}.party-toolbar{display:flex;gap:8px;align-items:center}.party-toolbar .search-input{flex:1 1;min-width:0;margin:0}.party-toolbar .btn-icon{flex-shrink:0}.party-card-list{gap:12px;margin:0;padding:0;list-style:none}.party-card,.party-card-list{display:flex;flex-direction:column}.party-card{--party-hue:200;--party-accent:hsl(var(--party-hue) 65% 45%);--party-soft:hsl(var(--party-hue) 70% 50%/0.1);position:relative;gap:10px;padding:14px;overflow:hidden;border:1px solid var(--border);border-radius:var(--radius-lg);background:linear-gradient(160deg,var(--party-soft),transparent 55%),var(--surface);box-shadow:0 2px 10px rgb(0 0 0/.06)}.party-card:before{content:"";position:absolute;inset-block:0;inset-inline-start:0;width:5px;background:var(--party-accent)}.party-card-head{display:flex;align-items:center;gap:10px;min-width:0}.party-avatar{display:grid;place-items:center;flex-shrink:0;width:46px;height:46px;border-radius:50%;background:linear-gradient(135deg,hsl(var(--party-hue) 70% 52%),hsl(calc(var(--party-hue) + 30) 70% 40%));color:#fff;font-weight:800;font-size:1rem;box-shadow:0 0 0 3px var(--surface),0 0 0 5px hsl(var(--party-hue) 70% 50%/.35)}.party-card-supplier .party-avatar{border-radius:12px}.party-card-title{display:flex;flex-direction:column;flex:1 1;min-width:0}.party-card-title strong{overflow:hidden;font-size:1.05rem;text-overflow:ellipsis;white-space:nowrap}.party-card-title span{color:var(--text-muted);font-size:.82rem;text-align:start}.party-status{flex-shrink:0;padding:4px 10px;border-radius:999px;font-size:.78rem;font-weight:700}.party-status-due{background:var(--red-bg);color:var(--red)}.party-status-credit{background:var(--mint-bg);color:var(--mint)}.party-status-clear{background:var(--green-bg);color:var(--green)}.party-stats{position:relative;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);grid-gap:4px;gap:4px;padding-top:16px}.party-stats-currency{position:absolute;top:0;inset-inline-start:0;color:var(--party-accent);font-size:.7rem;font-weight:800}.party-stat{--tile-bg:var(--surface-alt);--tile-ink:var(--text);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;min-width:0;min-height:42px;padding:5px 3px;border-radius:10px;border:1px solid rgb(0 0 0/.06);background:linear-gradient(180deg,rgb(255 255 255/.55),rgb(255 255 255/0) 55%),var(--tile-bg);box-shadow:inset 0 1px 0 rgb(255 255 255/.7),inset 0 -2px 0 rgb(0 0 0/.07),0 2px 4px rgb(0 0 0/.08);text-align:center}.party-stat span{color:var(--text-muted);font-size:.62rem;line-height:1.2}.party-stat strong{max-width:100%;color:var(--tile-ink);font-size:.76rem;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;line-height:1.2;overflow-wrap:anywhere}.party-stat-paid{--tile-bg:var(--green-bg);--tile-ink:var(--green)}.party-stat-returned{--tile-bg:var(--violet-bg);--tile-ink:var(--violet)}.party-stat-adjusted{--tile-bg:var(--yellow-bg);--tile-ink:var(--yellow)}.party-stat-due{--tile-bg:var(--red-bg);--tile-ink:var(--red)}.party-stat-clear{--tile-ink:var(--green)}.party-chips{display:flex;flex-wrap:wrap;gap:6px}.party-chip{padding:3px 10px;border-radius:999px;background:var(--party-soft);color:var(--party-accent);font-size:.78rem;font-weight:700}.party-chip-alert{background:var(--red-bg);color:var(--red)}.party-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:6px;gap:6px}.party-action{min-width:0;min-height:34px;padding:4px 6px;overflow:hidden;border:1px solid var(--border);border-radius:10px;background:linear-gradient(180deg,rgb(255 255 255/.5),rgb(255 255 255/0) 60%),var(--surface);box-shadow:inset 0 -2px 0 rgb(0 0 0/.06),0 1px 3px rgb(0 0 0/.08);color:var(--text);font:inherit;font-size:.74rem;font-weight:700;text-align:center;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}.party-action:active{box-shadow:inset 0 1px 2px rgb(0 0 0/.12);transform:translateY(1px)}.party-action-active{border-color:var(--party-accent);background:var(--party-soft);color:var(--party-accent)}.party-action-whatsapp{border-color:var(--green);color:var(--green)}.party-action-balance{border-color:var(--party-accent);color:var(--party-accent)}.party-panel{display:flex;flex-direction:column;gap:8px;padding-top:10px;border-top:1px dashed var(--border)}.party-empty,.party-panel-note{margin:0;color:var(--text-muted);font-size:.82rem}.party-devices,.party-statement{display:flex;flex-direction:column;gap:6px;margin:0;padding:0;list-style:none}.party-device,.party-statement-row{display:flex;flex-direction:column;gap:4px;padding:8px 10px;border-radius:var(--radius-sm);background:var(--surface-alt)}.party-statement-device-payment,.party-statement-return{background:var(--violet-bg)}.party-device-top,.party-statement-top{display:flex;justify-content:space-between;gap:8px;font-size:.85rem}.party-device-date,.party-statement-date{color:var(--text-muted);font-size:.78rem}.party-statement-figures{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;font-size:.85rem;font-weight:600}.party-statement-paid{color:var(--green)}.party-statement-due{color:var(--red)}.party-statement-clear{color:var(--green)}.party-device-balances{display:flex;flex-wrap:wrap;gap:6px}@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .party-card{--party-accent:hsl(var(--party-hue) 70% 62%)}}:root[data-theme=dark] .party-card{--party-accent:hsl(var(--party-hue) 70% 62%)}.party-hero,.party-insights{margin-bottom:12px}.party-insights{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));grid-gap:8px;gap:8px}.party-insight{display:flex;flex-direction:column;gap:4px;padding:10px 12px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-alt);font-size:.85rem}.party-insight>span:first-child{color:var(--text-muted);font-size:.78rem}.party-insight strong{font-size:1rem}.party-insight-full{font-size:.82rem;font-weight:600}@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .party-action,:root:not([data-theme=light]) .party-stat{background-image:linear-gradient(180deg,rgb(255 255 255/.07),rgb(255 255 255/0) 60%);box-shadow:inset 0 1px 0 rgb(255 255 255/.06),inset 0 -2px 0 rgb(0 0 0/.35),0 2px 4px rgb(0 0 0/.35)}}:root[data-theme=dark] .party-action,:root[data-theme=dark] .party-stat{background-image:linear-gradient(180deg,rgb(255 255 255/.07),rgb(255 255 255/0) 60%);box-shadow:inset 0 1px 0 rgb(255 255 255/.06),inset 0 -2px 0 rgb(0 0 0/.35),0 2px 4px rgb(0 0 0/.35)}.party-statement-adjustment{background:var(--yellow-bg)}.party-statement-note{color:var(--text-muted);font-size:.75rem}.party-statement-delete{width:22px;height:22px;padding:0;border:none;border-radius:50%;background:var(--red-bg);color:var(--red);font:inherit;font-weight:800;line-height:1;cursor:pointer}.party-sheet-backdrop{position:fixed;z-index:120;inset:0;display:flex;align-items:flex-end;justify-content:center;background:rgb(8 18 25/.5)}.party-sheet{display:flex;flex-direction:column;gap:12px;width:100%;max-width:460px;max-height:85vh;overflow-y:auto;padding:16px 16px calc(16px + var(--safe-bottom));border-radius:18px 18px 0 0;background:var(--surface);box-shadow:0 -12px 40px rgb(0 0 0/.2)}.party-sheet-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.party-sheet-options{display:flex;flex-direction:column;gap:8px}.party-sheet-option{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-alt);color:var(--text);font:inherit;text-align:start;cursor:pointer}.party-sheet-option>span:first-child{font-size:1.4rem}.party-sheet-option strong{display:block;font-size:.92rem}.party-sheet-option small{color:var(--text-muted);font-size:.76rem}.party-balance-form{display:flex;flex-direction:column;gap:10px}.party-balance-form .search-input{margin:0}.party-balance-form>.search-input,.party-balance-form>label{flex:none}.party-direction{display:grid;grid-template-columns:1fr 1fr;grid-gap:8px;gap:8px}.party-direction-btn{display:flex;flex-direction:column;align-items:center;gap:2px;padding:10px 8px;border:2px solid var(--border);border-radius:var(--radius-md);background:var(--surface-alt);color:var(--text);font:inherit;cursor:pointer}.party-direction-btn strong{font-size:1rem}.party-direction-btn small{color:var(--text-muted);font-size:.72rem}.party-direction-owes.party-direction-active{border-color:var(--red);background:var(--red-bg);color:var(--red)}.party-direction-we.party-direction-active{border-color:var(--green);background:var(--green-bg);color:var(--green)}.party-balance-row{display:grid;grid-template-columns:1fr 110px;grid-gap:8px;gap:8px}.party-statement-device-charge{background:hsl(var(--party-hue) 70% 50%/.1)}.rep-overview{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));grid-gap:8px;gap:8px}.rep-overview-item{display:flex;flex-direction:column;gap:2px;padding:10px 12px;border:1px solid var(--border);-webkit-border-start:4px solid var(--yellow);border-inline-start:4px solid var(--yellow);border-radius:var(--radius-md);background:var(--surface)}.rep-overview-item span{color:var(--text-muted);font-size:.75rem}.rep-overview-item strong{color:var(--yellow);font-size:1rem}.rep-overview-ours{border-inline-start-color:var(--green)}.rep-overview-ours strong{color:var(--green)}.rep-overview-owed{border-inline-start-color:var(--red)}.rep-overview-owed strong{color:var(--red)}.rep-percent{flex-shrink:0;padding:5px 10px;border-radius:999px;background:linear-gradient(135deg,hsl(var(--party-hue) 70% 52%),hsl(calc(var(--party-hue) + 30) 70% 40%));box-shadow:inset 0 1px 0 rgb(255 255 255/.35),0 2px 4px rgb(0 0 0/.15);color:#fff;font-size:.85rem;font-weight:800}.rep-chip-cash{background:var(--yellow-bg);color:var(--yellow)}.rep-days{gap:10px}.rep-day,.rep-days{display:flex;flex-direction:column}.rep-day{gap:6px;padding:8px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface)}.rep-day-head{align-items:center;justify-content:space-between;padding-bottom:6px;border-bottom:1px dashed var(--border);font-size:.85rem}.rep-day-head,.rep-day-split{display:flex;flex-wrap:wrap;gap:6px}.rep-day-split{justify-content:flex-end}.rep-split-ours,.rep-split-rep{padding:2px 8px;border-radius:999px;font-size:.75rem;font-weight:700}.rep-split-rep{background:var(--yellow-bg);color:var(--yellow)}.rep-split-ours{background:var(--green-bg);color:var(--green)}.rep-line-calc{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px;font-size:.78rem;font-weight:600}.rep-line-device{background:hsl(var(--party-hue) 70% 50%/.08)}.rep-line-settlement{background:var(--violet-bg)}.rep-line-customer{background:var(--orange-bg)}.rep-profits{display:grid;grid-gap:8px;gap:8px;margin-top:8px}.rep-profits-toggle{justify-self:start;font-weight:700}.rep-profit-group{display:grid;grid-gap:6px;gap:6px;padding:10px;border-radius:var(--radius-md);border:1px solid var(--border);background:var(--surface-alt)}.rep-profit-expected{border-style:dashed}.rep-profit-head{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 10px;font-size:.85rem}.rep-profit-head span{color:var(--text-muted);min-width:0;overflow-wrap:anywhere}.report-rep-split{display:grid;grid-template-columns:1fr 1fr;grid-gap:8px;gap:8px;margin-top:8px}.report-rep-split>div{display:flex;flex-direction:column;gap:2px;padding:10px 12px;border-radius:var(--radius-md);background:var(--yellow-bg)}.report-rep-split>div:last-child{background:var(--green-bg)}.report-rep-split span{color:var(--text-muted);font-size:.75rem}.report-rep-split strong{font-size:1rem}.report-rep-split>div:first-child strong{color:var(--yellow)}.report-rep-split>div:last-child strong{color:var(--green)}.report-client-profit-values{display:flex;flex-direction:column;align-items:flex-end;gap:2px}.backup-banner{display:flex;align-items:center;gap:10px;margin:0 0 12px;padding:10px 12px;border:1px solid var(--yellow);border-radius:var(--radius-md);background:var(--yellow-bg);color:var(--text);text-decoration:none}.backup-banner>span:first-child{font-size:1.4rem}.backup-banner strong{display:block;color:var(--yellow);font-size:.9rem}.backup-banner small{color:var(--text-muted);font-size:.76rem}.party-cash-toggle{padding:8px 10px;border-radius:var(--radius-sm);background:var(--surface-alt);color:var(--text)}.cash-close-btn{background:var(--violet-bg);color:var(--violet)}.cash-closing-form{display:grid;grid-gap:10px;gap:10px}.cash-closing-card{display:grid;grid-gap:8px;gap:8px;padding:10px 12px;border-radius:var(--radius-md);border:1px solid var(--border);background:var(--surface);box-shadow:0 2px 0 var(--border)}.cash-closing-card-title{font-weight:700;color:var(--violet)}.cash-closing-grid{display:grid;grid-template-columns:1fr auto;grid-gap:4px 12px;gap:4px 12px;font-size:.82rem;color:var(--text-muted)}.cash-closing-grid strong{color:var(--text)}.cash-closing-list{list-style:none;margin:8px 0;padding:0;display:grid;grid-gap:8px;gap:8px}.cash-closing-row{padding:8px 10px;border-radius:var(--radius-md);background:var(--surface-alt);display:grid;grid-gap:4px;gap:4px}.cash-closing-head{align-items:center;font-size:.85rem}.cash-closing-head,.cash-closing-line{display:flex;justify-content:space-between}.cash-closing-line{flex-wrap:wrap;gap:6px;font-size:.8rem;padding:4px 8px;border-radius:var(--radius-sm)}.cash-closing-ok{background:var(--green-bg);color:var(--green)}.cash-closing-plus{background:var(--mint-bg);color:var(--mint)}.cash-closing-minus{background:var(--red-bg);color:var(--red)}.today-panel{margin:0 0 12px;padding:12px;border-radius:var(--radius-lg);background:linear-gradient(135deg,var(--brand) 0,var(--brand-strong) 100%);color:var(--brand-contrast);box-shadow:0 8px 24px rgb(2 132 199/.25)}.today-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;font-size:.9rem}.today-head span{opacity:.8;font-size:.78rem}.today-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:8px;gap:8px}.today-tile{display:flex;flex-direction:column;gap:2px;padding:8px 10px;border-radius:var(--radius-md);background:rgb(255 255 255/.14);border:1px solid rgb(255 255 255/.2);box-shadow:inset 0 1px 0 rgb(255 255 255/.25),0 2px 0 rgb(0 0 0/.12);color:inherit;font:inherit;text-align:start;text-decoration:none;min-width:0}.today-tile span{font-size:.72rem;opacity:.85}.today-tile strong{font-size:.88rem;overflow-wrap:anywhere}.search-history{margin:-4px 0 12px;padding:10px 12px;border:1px solid var(--border);border-radius:14px;background:var(--surface);box-shadow:var(--card-shadow)}.search-history-head{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--text-muted);font-size:.85rem}.search-history ul{margin:6px 0 0;padding:0;list-style:none;display:grid;max-height:260px;overflow-y:auto}.search-history li{display:flex;align-items:center;gap:6px;border-top:1px solid var(--border)}.search-history li:first-child{border-top:0}.search-history-term{flex:1 1;min-width:0;padding:9px 2px;border:0;background:none;color:inherit;font:inherit;text-align:start;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.search-history-drop{flex:none;width:32px;height:32px;border:0;border-radius:50%;background:none;color:var(--text-muted);font:inherit}.search-fuzzy-note{margin:-4px 0 10px;color:var(--text-muted);font-size:.85rem}.global-search-results{margin:-4px 0 12px;display:grid;grid-gap:6px;gap:6px}.global-search-row{display:flex;align-items:center;gap:10px;width:100%;padding:8px 10px;border-radius:var(--radius-md);border:1px solid var(--border);background:var(--surface);color:var(--text);font:inherit;text-align:start;text-decoration:none;cursor:pointer}.global-search-icon{font-size:1.2rem}.global-search-text{display:flex;flex-direction:column;flex:1 1;min-width:0}.global-search-text small{color:var(--text-muted);text-align:start}.global-search-kind{font-size:.72rem;padding:2px 8px;border-radius:999px;background:var(--surface-alt);color:var(--text-muted)}.device-offer{display:flex;gap:10px;margin:0 0 12px;padding:12px;border-radius:var(--radius-lg);background:var(--mint-bg);border:1px solid var(--mint);color:var(--text)}.device-offer>span{font-size:1.5rem}.device-offer>div{display:flex;flex-direction:column;gap:4px;min-width:0}.device-offer small{color:var(--text-muted)}.device-offer-actions{display:flex;align-items:center;gap:8px;margin-top:4px}.device-offer-actions .dialog-primary{text-decoration:none;text-align:center}.party-panel-tools{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}.party-action-pdf{flex:none;background:var(--violet-bg);color:var(--violet)}.bulk-send-start{width:100%;padding:10px 12px;border:none;background:linear-gradient(135deg,#25d366,#128c7e);color:#fff;font:inherit;font-weight:700;cursor:pointer;box-shadow:0 3px 0 rgb(0 0 0/.15)}.bulk-send,.bulk-send-start{margin-bottom:10px;border-radius:var(--radius-md)}.bulk-send{display:grid;grid-gap:8px;gap:8px;padding:12px;border:1px solid #25d366;background:var(--green-bg)}.bulk-send-progress{display:flex;justify-content:space-between;align-items:center;font-size:.82rem;color:var(--text-muted)}.bulk-send-bar{height:6px;border-radius:999px;background:var(--surface-alt);overflow:hidden}.bulk-send-bar span{display:block;height:100%;background:#25d366;transition:width .2s ease}.bulk-send-name{font-size:1rem}.bulk-send-actions{display:flex;gap:8px;align-items:center}.update-banner{border-color:var(--green);background:var(--green-bg)}.update-banner--ready{border-width:2px}.update-banner--ready strong{color:var(--green)}.renewal-plan-fields{display:grid;grid-gap:8px;gap:8px;padding:10px 12px;border:1px dashed var(--brand);border-radius:var(--radius-md);background:var(--surface-alt)}.renewal-plan-fields legend{padding:0 6px;font-weight:700;font-size:.85rem;color:var(--brand-strong)}.renewal-plan-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-gap:8px;gap:8px}.renewal-plan-field{display:grid;grid-gap:4px;gap:4px;min-width:0}.renewal-plan-field>span{font-size:.78rem;font-weight:600;color:var(--text-muted)}.renewal-plan-field input,.renewal-plan-field select{width:100%;min-width:0}.renewal-plan-rate{font-size:.78rem;color:var(--text-muted)}.renewal-cost-status{display:grid;grid-template-columns:1fr 1fr;grid-gap:6px;gap:6px}.renewal-cost-option{min-height:40px;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface);color:var(--text);font:inherit;font-size:.85rem;font-weight:600}.renewal-cost-option-active{border-color:var(--green);background:var(--green-bg)}.renewal-cost-option-d.renewal-cost-option-active{border-color:var(--red);background:var(--red-bg);color:var(--red)}.renewal-auto-toggle{padding:8px 10px;border-radius:var(--radius-sm);background:var(--mint-bg);color:var(--text)}.aging-buckets{display:grid;grid-template-columns:auto repeat(3,minmax(0,1fr));align-items:stretch;grid-gap:6px;gap:6px;margin-bottom:8px}.aging-currency{align-self:center;font-weight:700;font-size:.8rem}.aging-bucket{display:flex;flex-direction:column;gap:2px;padding:6px 8px;border-radius:var(--radius-sm);box-shadow:0 2px 0 rgb(0 0 0/.08);min-width:0}.aging-bucket small{font-size:.68rem}.aging-bucket strong{font-size:.85rem;overflow-wrap:anywhere}.aging-fresh{background:var(--green-bg);color:var(--green)}.aging-late{background:var(--yellow-bg);color:var(--yellow)}.aging-overdue{background:var(--red-bg);color:var(--red)}.aging-list{list-style:none;margin:8px 0;padding:0;display:grid;grid-gap:6px;gap:6px}.aging-row{display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:var(--radius-md);-webkit-border-start:4px solid currentColor;border-inline-start:4px solid currentColor}.aging-row-main{display:flex;flex-direction:column;flex:1 1;min-width:0;color:var(--text)}.aging-row-main span{font-size:.78rem;color:var(--text-muted)}.aging-wa{flex:none;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#25d366;text-decoration:none;font-size:1.1rem}.aging-no-phone{flex:none;width:36px;text-align:center;color:var(--text-muted)}.morning-digest-settings{display:grid;grid-gap:8px;gap:8px;margin-top:12px}.scheduled-syncs{display:flex;flex-direction:column;gap:8px;margin-top:12px;min-width:0}.scheduled-syncs>.settings-hint{margin:0 0 6px}.app-header{padding:8px 0 16px}.brand-logo{border-radius:14px;color:var(--brand-contrast);background:var(--brand);box-shadow:var(--glow)}.brand-lockup .brand-mark{font-weight:700;letter-spacing:.5px}.header-clients,.header-currencies,.header-reminders,.header-settings,.header-sync{width:44px;height:44px;border-radius:14px;background:var(--surface);border-color:var(--border);color:var(--text);box-shadow:none}.header-add{min-height:44px;border-radius:14px;box-shadow:var(--glow);font-weight:700}.dashboard-search,.search-input{background:var(--surface);border:1px solid var(--border);color:var(--text)}.dashboard-search{min-height:52px;border-radius:16px;box-shadow:none}.dashboard-search:focus,.search-input:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px color-mix(in srgb,var(--brand) 25%,transparent)}.overview-grid{gap:6px}.overview-card{--tile:var(--brand);min-height:70px;border-radius:16px;background:color-mix(in srgb,var(--tile) 14%,var(--surface));border:1px solid color-mix(in srgb,var(--tile) 40%,transparent);color:var(--tile);box-shadow:none}.overview-card .overview-value{color:var(--tile);font-size:1.2rem}.overview-card .overview-label{color:var(--text-muted);font-size:.56rem}.overview-card-active{background:color-mix(in srgb,var(--tile) 28%,var(--surface));box-shadow:0 0 0 2px var(--tile)}.overview-total{--tile:var(--brand);background:color-mix(in srgb,var(--brand) 14%,var(--surface))}.overview-online{--tile:var(--green);background:color-mix(in srgb,var(--green) 14%,var(--surface))}.overview-warning{--tile:var(--yellow);background:color-mix(in srgb,var(--yellow) 14%,var(--surface))}.overview-expired{--tile:var(--red);background:color-mix(in srgb,var(--red) 14%,var(--surface))}.overview-suspended{--tile:var(--orange);background:color-mix(in srgb,var(--orange) 14%,var(--surface))}.overview-owed{--tile:var(--violet);background:color-mix(in srgb,var(--violet) 14%,var(--surface))}.today-panel{background:linear-gradient(160deg,color-mix(in srgb,var(--brand) 30%,var(--surface)),var(--surface) 70%);border:1px solid color-mix(in srgb,var(--brand) 35%,var(--border));color:var(--text);box-shadow:var(--glow)}.today-head span{color:var(--text-muted);opacity:1}.today-tile{background:var(--surface-alt);border:1px solid var(--border);box-shadow:none}.today-tile span{color:var(--text-muted);opacity:1}.today-collected strong{color:var(--green)}.today-charged strong{color:var(--yellow)}.today-cash strong{color:var(--mint)}.today-renewals strong{color:var(--brand)}.account-card,.ledger-entry-row,.party-card,.report-tile,.section,.store-summary-tile{border-color:var(--border)}.account-card{border-radius:18px;background:var(--surface)}.account-card,.party-card{box-shadow:var(--card-shadow)}.section-title{font-weight:700}.dialog-primary{border-radius:14px;background:var(--brand);color:var(--brand-contrast);font-weight:700;box-shadow:var(--glow)}.btn-icon{border-radius:12px}.bottom-nav-sheet-backdrop,.dialog-backdrop{background:rgb(2 6 14/.62);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.account-dialog,.bottom-nav-sheet,.party-sheet{background:var(--surface);border:1px solid var(--border)}.bottom-nav{left:10px;right:10px;bottom:calc(8px + var(--safe-bottom));height:64px;padding:0 4px;border:1px solid var(--border);border-radius:22px;background:color-mix(in srgb,var(--surface) 92%,transparent);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:0 12px 34px rgb(0 0 0/.35)}.bottom-nav-item{gap:3px;border-radius:16px}.bottom-nav-icon{display:grid;place-items:center;width:44px;height:28px;border-radius:14px}.bottom-nav-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.bottom-nav-label{font-size:.62rem}.bottom-nav-item-active{color:var(--brand)}.bottom-nav-item-active .bottom-nav-icon{background:color-mix(in srgb,var(--brand) 18%,transparent)}.bottom-nav-sheet{margin-bottom:calc(var(--bottom-nav-height) + var(--safe-bottom));border-radius:22px;width:calc(100% - 20px)}.bottom-nav-sheet-item{border-radius:16px}.bottom-nav-sheet-item svg{width:24px;height:24px;fill:none;stroke:var(--brand);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.snackbar-host{position:fixed;z-index:300;left:16px;right:16px;top:calc(env(safe-area-inset-top, 0px) + 8px);display:flex;justify-content:center;pointer-events:none}.snackbar{pointer-events:auto;max-width:min(100%,340px);display:flex;align-items:center;gap:6px;padding:5px 12px;border:1px solid color-mix(in srgb,var(--border) 60%,transparent);border-radius:999px;background:color-mix(in srgb,var(--surface-alt) 55%,transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:var(--text);font:inherit;font-size:.76rem;font-weight:600;text-align:start;box-shadow:0 4px 14px rgb(0 0 0/.18);cursor:pointer;animation:snackbar-life 3.2s ease forwards}.snackbar-icon{flex:none;display:grid;place-items:center;width:18px;height:18px;color:var(--brand)}.snackbar-icon svg{width:14px;height:14px}.snackbar-success .snackbar-icon{color:var(--green)}.snackbar-error{border-color:color-mix(in srgb,var(--red) 45%,transparent)}.snackbar-error .snackbar-icon{color:var(--red)}.snackbar-text{flex:1 1;min-width:0;line-height:1.35;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.snackbar-more{flex:none;padding:0 6px;border-radius:999px;color:var(--text-muted);font-size:.68rem}@keyframes snackbar-life{0%{opacity:0;transform:translateY(-8px)}8%,85%{opacity:.92;transform:translateY(0)}to{opacity:0;transform:translateY(-6px)}}@media (prefers-reduced-motion:reduce){.snackbar{animation:none;opacity:.92}}.pay-methods,.pay-target{margin:0;padding:0;border:0;display:grid;grid-gap:6px;gap:6px;min-width:0}.pay-methods legend,.pay-target legend{padding:0;margin-bottom:6px;font-size:.8rem;font-weight:600;color:var(--text-muted)}.pay-target-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:8px;gap:8px}.pay-target-option{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-height:52px;min-width:0;padding:8px 10px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-alt);color:var(--text);font:inherit;text-align:start;cursor:pointer}.pay-target-option strong{font-size:.85rem}.pay-target-option small,.pay-target-option strong{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pay-target-option small{font-size:.7rem;color:var(--text-muted)}.pay-target-active{border-color:var(--brand);background:color-mix(in srgb,var(--brand) 16%,var(--surface));box-shadow:0 0 0 1px var(--brand)}.pay-method-options{display:flex;flex-wrap:wrap;gap:6px}.pay-method{min-height:40px;padding:0 14px;border:1px solid var(--border);border-radius:999px;background:var(--surface-alt);color:var(--text);font:inherit;font-size:.82rem;font-weight:600;cursor:pointer}.pay-method-active{border-color:var(--green);background:color-mix(in srgb,var(--green) 18%,var(--surface));color:var(--green)}.party-balance-form>fieldset{flex:none}.device-marks{display:inline-flex;gap:5px;flex:none}.device-mark{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:9px;font-size:.85rem;font-weight:800;line-height:1;border:1px solid transparent}.device-mark-d{background:color-mix(in srgb,var(--red) 22%,var(--surface));border-color:var(--red);color:var(--red)}.device-mark-ok,.device-mark-p{background:color-mix(in srgb,var(--green) 20%,var(--surface));border-color:var(--green);color:var(--green)}.device-mark-p-partial{background:color-mix(in srgb,var(--orange) 20%,var(--surface));border-color:var(--orange);color:var(--orange)}.profit-positive{color:var(--green)}.profit-negative{color:var(--red)}.report-net-tile-expected{flex-wrap:wrap;background:color-mix(in srgb,var(--yellow) 14%,var(--surface));border:1px dashed var(--yellow)}.report-net-tile-expected .report-net-tile-value{color:var(--yellow)}.report-net-tile-note{flex-basis:100%;font-size:.74rem;color:var(--text-muted)}.party-statement-open{display:block;width:100%;padding:0;border:0;background:transparent;color:inherit;font:inherit;text-align:start;cursor:pointer}.party-statement-before{font-size:.7rem;color:var(--text-muted)}.party-statement-editable{color:var(--brand);font-size:.8rem}.statement-detail{display:grid;grid-gap:12px;gap:12px}.statement-balance-flow{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;grid-gap:8px;gap:8px}.statement-balance-box{display:flex;flex-direction:column;gap:2px;padding:10px;border-radius:var(--radius-md);background:var(--surface-alt);border:1px solid var(--border);min-width:0}.statement-balance-box small{color:var(--text-muted);font-size:.72rem}.statement-balance-box strong{font-size:1rem;overflow-wrap:anywhere}.statement-balance-after{border-color:var(--brand)}.statement-balance-delta{display:flex;flex-direction:column;align-items:center;font-weight:700;font-size:.85rem}.statement-delta-up{color:var(--red)}.statement-delta-down{color:var(--green)}.statement-detail-list{margin:0;display:grid;grid-gap:6px;gap:6px}.statement-detail-list>div{display:flex;justify-content:space-between;gap:12px;padding:8px 10px;border-radius:var(--radius-sm);background:var(--surface-alt)}.statement-detail-list dt{color:var(--text-muted);font-size:.8rem}.statement-detail-list dd{margin:0;font-size:.85rem;font-weight:600;text-align:end;overflow-wrap:anywhere}.statement-detail-actions{display:flex;gap:8px}.statement-detail-actions>*{flex:1 1}.report-usd-sub{display:block;font-size:.72rem;font-weight:500;color:var(--text-muted);text-align:end}.rep-period-chips{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:6px;gap:6px}.rep-period-chip{min-height:36px;border-radius:999px;border:1px solid var(--border);background:var(--surface-alt);color:var(--text);font:inherit;font-size:.82rem;font-weight:600;cursor:pointer}.rep-period-chip-active{border-color:var(--brand);background:var(--brand);color:var(--brand-contrast)}.rep-period-range{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-gap:8px;gap:8px}.rep-form-field,.rep-period-range label{display:grid;grid-gap:4px;gap:4px;min-width:0}.rep-form-field>span,.rep-period-range span{font-size:.78rem;font-weight:600;color:var(--text-muted)}.rep-period-range input{width:100%;min-width:0}.rep-statement{display:flex;flex-direction:column;align-items:stretch;gap:10px}.rep-statement>*{min-width:0}.rep-statement>.party-panel-tools{margin-bottom:0}.rep-archive-toggle{font-size:.82rem}.rep-summary{display:grid;grid-gap:8px;gap:8px;padding:12px;border-radius:var(--radius-md);border:1px solid var(--border);background:var(--surface-alt)}.rep-summary-archive{border-style:dashed;opacity:.92}.rep-summary-head{display:flex;justify-content:space-between;align-items:baseline;gap:8px;flex-wrap:wrap}.rep-summary-head span{font-size:.78rem;color:var(--text-muted)}.rep-summary-lines{margin:0;display:grid;grid-gap:4px;gap:4px}.rep-summary-lines>div{display:flex;justify-content:space-between;gap:10px;font-size:.82rem}.rep-summary-lines dt{color:var(--text-muted)}.rep-summary-lines dd{margin:0;font-weight:600;text-align:end;overflow-wrap:anywhere}.rep-summary-balance{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 10px;border-radius:var(--radius-sm);background:var(--surface);font-size:.82rem}.rep-summary-closing{border:1px solid var(--brand)}.rep-balance-value{display:grid;grid-gap:2px;gap:2px;text-align:end;font-size:.85rem}.rep-balance-due{color:var(--orange)}.rep-balance-clear{color:var(--green)}.rep-balance-zero{color:var(--text-muted)}.rep-line-open{display:block;width:100%;padding:0;border:0;background:transparent;color:inherit;font:inherit;text-align:start;cursor:pointer}.rep-line-foot{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;margin-top:4px;font-size:.74rem}.rep-line-delta{display:inline-flex;gap:6px;font-weight:700}.rep-line-balance{color:var(--text-muted);overflow-wrap:anywhere}.rep-line-edit{-webkit-margin-start:auto;margin-inline-start:auto;color:var(--brand);font-size:.9rem}.rep-chip-reset{border-color:var(--violet);color:var(--violet)}.party-sheet-option-danger{border-color:var(--red);color:var(--red)}.rep-delete{display:grid;grid-gap:10px;gap:10px}.rep-delete-list{margin:0;padding:0;list-style:none;display:grid;grid-gap:6px;gap:6px;font-size:.85rem}.rep-delete-list li{padding:8px 10px}.rep-delete-list li,.rep-shipment-info{border-radius:var(--radius-sm);background:var(--surface-alt)}.rep-shipment-info{display:grid;grid-gap:2px;gap:2px;padding:10px;font-size:.82rem}.rep-shipment-preview{margin:0;background:var(--green-bg);color:var(--text);font-weight:600}.rep-reset-current,.rep-shipment-preview{padding:8px 10px;border-radius:var(--radius-sm);font-size:.85rem}.rep-reset-current{display:flex;justify-content:space-between;align-items:center;gap:8px;background:var(--violet-bg)}.rep-reset-balance{margin:0;font-size:.85rem}.status-rings{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-gap:4px;gap:4px;padding:14px 8px 12px;border-radius:var(--radius-lg);background:var(--surface);border:1px solid var(--border)}.status-ring{display:flex;flex-direction:column;align-items:center;gap:7px;min-width:0;padding:0;border:0;background:transparent;color:var(--text);font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}.status-ring,.status-ring-total{--tone:var(--brand)}.status-ring-online{--tone:var(--green)}.status-ring-warning{--tone:var(--yellow)}.status-ring-expired{--tone:var(--red)}.status-ring-suspended{--tone:var(--orange)}.status-ring-dial{--share:0;position:relative;display:grid;place-items:center;width:58px;height:58px;border-radius:50%;background:conic-gradient(var(--tone) calc(var(--share) * 1turn),color-mix(in srgb,var(--tone) 16%,transparent) 0);transition:transform .15s ease,box-shadow .15s ease}.status-ring-core{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;width:48px;height:48px;border-radius:50%;background:color-mix(in srgb,var(--tone) 12%,var(--surface))}.status-ring-icon{display:inline-flex;color:var(--tone);line-height:0}.status-ring-value{font-size:1.05rem;font-weight:700;line-height:1.1;color:var(--text);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.status-ring-label{max-width:100%;font-size:.72rem;font-weight:600;line-height:1.25;color:var(--text-muted);text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.status-ring:active .status-ring-dial{transform:scale(.94)}.status-ring-active .status-ring-dial{box-shadow:0 0 0 3px var(--surface),0 0 0 5px var(--tone),0 0 18px color-mix(in srgb,var(--tone) 45%,transparent)}.status-ring-active .status-ring-label{color:var(--tone)}@media (max-width:370px){.status-ring-dial{width:52px;height:52px}.status-ring-core{width:43px;height:43px}.status-ring-label{font-size:.68rem}}.rep-display{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:.8rem;color:var(--text-muted)}.rep-display>span{-webkit-margin-end:2px;margin-inline-end:2px;font-weight:600}.rep-display-option{min-height:32px;padding:0 14px;border-radius:999px;border:1px solid var(--border);background:var(--surface-alt);color:var(--text);font:inherit;font-size:.8rem;font-weight:600;cursor:pointer}.rep-display-option-active{border-color:var(--brand);background:var(--brand);color:var(--brand-contrast)}.rep-stats{padding-top:0}.rep-stat-value{display:block;white-space:nowrap}.rep-stat-value small{font-size:.68rem;font-weight:600;opacity:.85}.rep-edit-shipment{margin-top:6px;min-height:36px;padding:0 12px;border-radius:var(--radius-sm);border:1px dashed var(--brand);background:transparent;color:var(--brand);font:inherit;font-size:.8rem;font-weight:600;cursor:pointer}.statement-edit-btn{order:99;-webkit-margin-start:auto;margin-inline-start:auto;min-height:30px;padding:0 10px;border-radius:999px;border:1px solid var(--brand);background:color-mix(in srgb,var(--brand) 12%,transparent);color:var(--brand);font:inherit;font-size:.78rem;font-weight:700;cursor:pointer}.statement-edit-btn.statement-delete-btn{-webkit-margin-start:6px;margin-inline-start:6px;border-color:var(--red);background:color-mix(in srgb,var(--red) 10%,transparent);color:var(--red)}.statement-section-title{margin:14px 0 6px;font-size:.95rem}.statement-payment-row .statement-shipment-top{font-weight:600}.date-input{position:relative;display:block;width:100%;min-width:0}.date-input-native{width:100%;color:transparent!important;-webkit-text-fill-color:transparent}.date-input-native::-webkit-date-and-time-value,.date-input-native::-webkit-datetime-edit{color:transparent;-webkit-text-fill-color:transparent}.date-input-native::-webkit-calendar-picker-indicator{opacity:0}.date-input-text{position:absolute;inset:0;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 14px;pointer-events:none;color:var(--text);font-size:.95rem;font-weight:500;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.date-input-text:after{content:"📅";font-size:.9rem;opacity:.8}.date-input-empty{color:var(--text-muted)}.sl-summary{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-gap:8px;gap:8px;margin-bottom:12px}.sl-summary-item{display:grid;grid-gap:4px;gap:4px;padding:12px;border-radius:var(--radius-md);border:1px solid var(--border);background:var(--surface);min-width:0}.sl-summary-item small,.sl-summary-item span{font-size:.76rem;color:var(--text-muted)}.sl-summary-item strong{font-size:1.35rem;font-weight:800}.sl-summary-debt{border-color:color-mix(in srgb,var(--red) 45%,var(--border))}.sl-summary-debt strong{color:var(--red)}.sl-summary-card strong{color:var(--green)}.sl-summary-short small{color:var(--orange)}.sl-title{margin:0;font-size:1rem}.sl-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px}.sl-card-actions{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}.sl-withdraw-btn{background:var(--red-bg);color:var(--red)}.sl-collapse{display:inline-flex;align-items:center;gap:8px;flex:1 1;min-width:0;padding:2px 0;border:none;background:transparent;color:var(--text);font:inherit;text-align:start;cursor:pointer}.sl-collapse-chevron{color:var(--text-muted);font-size:.9rem;width:1em}.sl-collapse-count{min-width:22px;padding:1px 7px;border-radius:999px;background:var(--surface-2,var(--surface));border:1px solid var(--border);color:var(--text-muted);font-size:.8rem}.sl-alert{border-color:var(--red);background:color-mix(in srgb,var(--red) 8%,var(--surface));padding:12px;border:1px solid var(--red);border-radius:var(--radius-lg)}.sl-alert .sl-title{margin-bottom:10px;color:var(--red);font-size:.92rem;line-height:1.5;white-space:normal;overflow-wrap:anywhere}.sl-list{margin:0;padding:0;list-style:none;display:grid;grid-gap:8px;gap:8px}.sl-row{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:var(--radius-md);background:var(--surface-alt);border:1px solid var(--border)}.sl-row-selected{border-color:var(--brand);background:color-mix(in srgb,var(--brand) 10%,var(--surface-alt))}.sl-row-alert{border-color:color-mix(in srgb,var(--red) 50%,var(--border))}.sl-check input{width:20px;height:20px}.sl-row-main{flex:1 1;min-width:0;display:grid;grid-gap:2px;gap:2px}.sl-row-main strong{font-size:.92rem;overflow-wrap:anywhere}.sl-row-main span{font-size:.78rem;color:var(--text-muted);overflow-wrap:anywhere}.sl-meta{font-size:.72rem!important}.sl-row-side{display:grid;justify-items:end;grid-gap:4px;gap:4px;flex:none}.sl-row-side strong{font-size:.95rem}.sl-d{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:6px;background:var(--red);color:#fff;font-size:.72rem;font-weight:800}.sl-stopped{-webkit-margin-start:6px;margin-inline-start:6px;padding:1px 6px;border-radius:999px;background:var(--red-bg);color:var(--red)!important;font-size:.68rem!important;font-weight:700}.sl-pay-one{min-height:32px;padding:0 12px;font-size:.82rem}.sl-batch-bar{position:-webkit-sticky;position:sticky;bottom:calc(var(--bottom-nav-height) + var(--safe-bottom) + 8px);display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:10px;padding:10px 12px;border-radius:var(--radius-md);background:var(--surface);border:1px solid var(--brand);box-shadow:var(--glow)}.sl-in{color:var(--green)}.sl-delete,.sl-out{color:var(--red)}.sl-delete,.sl-edit{font-size:.75rem}.sl-pay-list{margin:0;padding:0;list-style:none;display:grid;grid-gap:4px;gap:4px}.sl-pay-list li{display:flex;justify-content:space-between;gap:10px;padding:6px 10px;border-radius:var(--radius-sm);background:var(--surface-alt);font-size:.85rem}.sl-pay-total{border:1px solid var(--brand)}.sl-toast{display:block;width:100%;margin-bottom:10px;padding:10px 12px;border-radius:var(--radius-md);border:1px solid var(--green);background:var(--green-bg);color:var(--text);font:inherit;font-size:.85rem;text-align:start}.d-alert-banner{border-color:var(--red);background:color-mix(in srgb,var(--red) 12%,var(--surface))}.d-alert-banner strong{color:var(--red)}.sl-reminder-link{display:block;margin-top:10px;text-align:center;text-decoration:none}.profit-reset-active,.report-fresh-note{margin:0 0 10px;padding:8px 10px;border-radius:var(--radius-sm);background:var(--violet-bg);color:var(--violet);font-size:.85rem;font-weight:600}.backup-file-pick{position:relative;display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:var(--radius-md);border:1px dashed var(--brand);background:var(--surface-alt);cursor:pointer;min-width:0}.backup-file-pick input[type=file]{position:absolute;inset:0;opacity:0;cursor:pointer}.backup-file-button{flex:none;padding:8px 12px;border-radius:var(--radius-sm);background:var(--brand);color:var(--brand-contrast);font-weight:700;font-size:.85rem}.backup-file-name{min-width:0;font-size:.82rem;color:var(--text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.backup-restored{border-color:var(--green);background:var(--green-bg);color:var(--text)}.session-warning{border-color:var(--orange);color:var(--text)}.session-summary{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}.session-chip{display:inline-flex;align-items:center;padding:3px 10px;border-radius:999px;font-size:.78rem;font-weight:700;background:var(--surface-alt);color:var(--text-muted);white-space:nowrap}.session-chip.session-ok{background:var(--green-bg);color:var(--green)}.session-chip.session-login{background:var(--red-bg);color:var(--red)}.session-chip.session-unknown{background:var(--orange-bg);color:var(--orange)}.session-list{list-style:none;margin:12px 0 0;padding:0}.session-list,.session-row{display:flex;flex-direction:column;gap:8px}.session-row{padding:10px 12px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);min-width:0}.session-row-main{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}.session-name{min-width:0;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.session-row-actions{display:flex;flex-wrap:wrap;gap:6px}.session-action{padding:6px 12px;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface-alt);color:var(--text);font-size:.82rem;font-weight:600;cursor:pointer}.session-action:disabled{opacity:.5}.session-action-primary{border-color:var(--brand);background:var(--brand);color:var(--brand-contrast)}.account-card-has-bubble{margin-top:10px}.session-bubble{position:absolute;top:-11px;inset-inline-end:14px;z-index:2;display:inline-flex;align-items:center;gap:3px;padding:3px 9px;border:2px solid var(--surface);border-radius:999px;background:var(--red);color:#fff;font-size:.7rem;font-weight:700;line-height:1.3;white-space:nowrap;cursor:pointer;box-shadow:0 3px 10px rgba(224,41,74,.35)}.session-bubble:disabled{opacity:.7}.d-alert-card-short{display:block;margin-top:2px;color:var(--red);font-weight:700}.sl-card-short{margin:6px 0 10px;padding:8px 10px;border-radius:var(--radius-sm);background:var(--red-bg);color:var(--red);font-size:.85rem;font-weight:700}.month-closing-head{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:10px}.month-closing-head .report-section-title{margin:0}.month-closing-select{min-width:0;padding:7px 10px;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface-alt);color:var(--text);font:inherit;font-weight:600}.month-closing-reps{list-style:none;margin:8px 0;padding:0;display:flex;flex-direction:column;gap:6px}.month-closing-rep{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);min-width:0}.month-closing-rep-main{display:flex;flex-direction:column;gap:2px;min-width:0;font-size:.85rem}.month-closing-rep-main span{color:var(--text-muted)}.month-closing-rep .party-action{flex:none;text-decoration:none}.month-closing-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.month-closing-close{border-color:var(--brand);color:var(--brand)}.month-closing-note{margin:8px 0 0;font-size:.82rem;color:var(--text-muted)}.rep-period-month{margin:6px 0;width:100%}.faulty-chip{display:inline-flex;align-items:center;gap:6px;margin:0 0 10px;padding:7px 14px;border-radius:999px;border:1px solid var(--orange);background:var(--orange-bg);color:var(--orange);font-size:.85rem;font-weight:700;cursor:pointer}.faulty-chip-active{background:var(--orange);color:#fff}.renewal-settle{display:flex;flex-direction:column;gap:4px;padding:10px 12px;border-radius:var(--radius-md);border:1px solid var(--red);background:var(--red-bg);color:var(--text);font-size:.85rem}.renewal-settle strong{color:var(--red)}.more-menu-layer{position:fixed;z-index:95;inset:0;background:transparent}.more-menu{position:fixed;left:calc(14px + (100vw - 28px) / 12 - 23px - 16px);bottom:calc(84px + var(--safe-bottom));max-height:calc(100vh - 110px - var(--safe-bottom));margin:0;padding:14px 16px 6px;scrollbar-width:none;list-style:none;display:flex;flex-direction:column-reverse;align-items:flex-start;gap:12px;overflow-y:auto;direction:ltr}.more-menu::-webkit-scrollbar{display:none}.more-menu-row{position:relative;animation:more-rise .3s cubic-bezier(.2,.9,.3,1.25) both;animation-delay:var(--more-delay)}.more-menu-row:not(:last-child):before{content:"";position:absolute;left:20px;top:-10px;width:6px;height:6px;border-radius:50%;background:var(--more-color);box-shadow:0 0 8px var(--more-color);opacity:.85}@keyframes more-rise{0%{opacity:0;transform:translateY(26px) scale(.6)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.more-menu-row{animation:none}}.more-menu-item{display:flex;align-items:center;padding:0;border:none;background:none;font:inherit;text-decoration:none;cursor:pointer}.more-menu-icon{position:relative;z-index:1;flex:none;display:grid;place-items:center;width:46px;height:46px;border-radius:50%;color:#fff;background:radial-gradient(circle at 35% 30%,rgb(255 255 255/.35),rgb(255 255 255/0) 60%),var(--more-color);box-shadow:0 0 0 3px rgb(255 255 255/.55),0 0 16px var(--more-color),0 6px 14px rgb(0 0 0/.35)}.more-menu-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.more-menu-badge{position:absolute;top:-5px;right:-5px;min-width:19px;height:19px;padding:0 4px;border-radius:10px;border:2px solid #fff;background:#ff3b5c;color:#fff;font-size:.66rem;font-weight:800;display:grid;place-items:center}.more-menu-label{margin-left:-20px;padding:0 16px 0 28px;height:38px;display:flex;align-items:center;border-radius:0 19px 19px 0;background:linear-gradient(90deg,var(--more-tint),rgb(255 255 255/.94));color:#1a2233;font-size:.86rem;font-weight:800;white-space:nowrap;direction:rtl;box-shadow:0 6px 16px rgb(0 0 0/.28)}.bottom-nav-icon{position:relative}.bottom-nav-more-open .bottom-nav-icon{width:40px;height:40px;margin-top:-14px;border-radius:50%;background:var(--brand);color:#fff;box-shadow:0 0 0 5px color-mix(in srgb,var(--brand) 25%,transparent),0 0 20px color-mix(in srgb,var(--brand) 70%,transparent)}.bottom-nav-dot{position:absolute;top:1px;right:8px;width:8px;height:8px;border-radius:50%;background:var(--red);box-shadow:0 0 0 2px var(--surface)}.device-mark-d-previous{background:color-mix(in srgb,var(--orange) 22%,var(--surface));border-color:var(--orange);color:var(--orange)}.account-card-unpaid-starlink{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;font-size:.82rem;color:var(--text-muted)}.account-card-unpaid-starlink strong{color:var(--red)}.account-card-still-due-actions{display:flex;flex-wrap:wrap;gap:6px 12px}.account-card-still-due{gap:8px;padding:8px 10px;border:1px dashed var(--red);border-radius:12px;background:var(--red-bg);color:var(--red);font-size:.85rem}.account-card-still-due,.account-card-unrecorded{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap}.account-card-unrecorded{gap:6px;padding:6px 10px;border-radius:var(--radius-sm);border:1px dashed var(--orange);background:var(--orange-bg);color:var(--orange);font-size:.8rem;font-weight:700}.sl-row-previous{border-color:var(--orange)}.sl-previous-tag{display:inline-block;-webkit-margin-start:6px;margin-inline-start:6px;padding:1px 7px;border-radius:999px;border:1px solid var(--orange);color:var(--orange);font-size:.7rem;font-weight:800}.sl-d-previous{background:var(--orange)}.sl-list-previous{margin-top:8px}.sl-form-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-gap:8px;gap:8px}.report-tabs{display:flex;gap:4px;padding:4px;margin:12px 0;border:1px solid var(--border);border-radius:14px;background:var(--surface)}.report-tab{flex:1 1;min-width:0;padding:9px 0;border:none;border-radius:10px;background:none;color:var(--text-muted);font:inherit;font-size:.8rem;font-weight:800;cursor:pointer;white-space:nowrap}.report-tab-active{background:var(--brand);color:var(--brand-contrast)}.report-tab-panel{display:flex;flex-direction:column;gap:12px}.report-tab-panel .report-period-row{margin-bottom:0}.report-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:8px;gap:8px}.report-kpi{min-width:0;padding:10px 12px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface)}.report-kpi-label{display:flex;align-items:center;gap:5px;font-size:.74rem;color:var(--text-muted)}.report-kpi-value{display:block;margin-top:4px;font-size:1.2rem;font-weight:800;overflow-wrap:anywhere}.report-kpi-sub{display:block;margin-top:2px;font-size:.68rem;color:var(--text-muted)}.report-kpi-info{margin:6px 0 0;font-size:.72rem;color:var(--text-muted);line-height:1.5}.report-info{display:inline-grid;place-items:center;width:16px;height:16px;padding:0;border-radius:50%;border:1px solid var(--text-muted);background:none;color:var(--text-muted);font-size:.62rem;font-weight:800;cursor:pointer}.report-good{color:var(--green)}.report-bad{color:var(--red)}.report-warn{color:var(--yellow)}.report-orange{color:var(--orange)}.report-card{padding:12px;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface)}.report-card-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:10px}.report-card-head h3{margin:0;font-size:.92rem}.report-card-note{font-size:.7rem;color:var(--text-muted)}.report-chart{gap:3px;height:120px;padding-bottom:2px;border-bottom:1px solid var(--border)}.report-chart,.report-chart-col{display:flex;align-items:flex-end}.report-chart-col{flex:1 1;min-width:0;height:100%}.report-chart-bar{width:100%;border-radius:4px 4px 0 0;background:linear-gradient(180deg,var(--brand),color-mix(in srgb,var(--brand) 55%,#000))}.report-chart-bar-neg{background:linear-gradient(180deg,var(--red),color-mix(in srgb,var(--red) 55%,#000))}.report-chart-axis{display:flex;gap:3px;margin-top:4px;font-size:.62rem;color:var(--text-muted)}.report-chart-axis span{flex:1 1;min-width:0;text-align:center;overflow:visible;white-space:nowrap}.report-rank{list-style:none;margin:0;padding:0}.report-rank-row{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid color-mix(in srgb,var(--border) 60%,transparent);font-size:.86rem}.report-rank-row:last-child{border-bottom:none}.report-rank-badge{flex:none;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--surface-alt);color:var(--text-muted);font-size:.7rem;font-weight:800}.report-rank-badge-red{background:var(--red);color:#fff}.report-rank-badge-orange{background:var(--orange);color:#fff}.report-rank-main{flex:1 1;min-width:0;display:flex;flex-direction:column;gap:1px}.report-rank-main strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.report-rank-main small{color:var(--text-muted);font-size:.72rem}.report-rank-bar{height:5px;margin-top:4px;border-radius:3px;background:var(--brand)}.report-rank-bar-good{background:var(--green)}.report-rank-bar-bad{background:var(--red)}.report-more-link{align-self:flex-start}.report-tab-panel .report-period-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:6px;gap:6px}.report-tab-panel .report-period-btn{width:100%}.report-export-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:12px}.report-export-btn{border-color:var(--green);color:var(--green)}.storage-banner{position:fixed;top:calc(var(--safe-top) + 8px);inset-inline:8px;z-index:10001;display:flex;align-items:center;gap:8px;padding:10px 12px;border-radius:var(--radius-md);border:1px solid var(--orange);background:var(--orange-bg);color:var(--text);font-size:.85rem;line-height:1.5;box-shadow:var(--card-shadow)}.storage-banner.is-failed{border-color:var(--red);background:var(--red-bg)}.storage-banner-text{flex:1 1;min-width:0}.storage-banner-actions{display:flex;flex-direction:column;gap:6px;flex-shrink:0}.storage-meter{height:10px;border-radius:999px;background:var(--surface-alt);overflow:hidden}.storage-meter-fill{height:100%;border-radius:999px;background:var(--green)}.storage-meter-fill.is-warn{background:var(--yellow)}.storage-meter-fill.is-full{background:var(--red)}.storage-keys{list-style:none;margin:8px 0 0;padding:0;display:grid;grid-gap:4px;gap:4px;font-size:.85rem}.storage-keys li{display:flex;justify-content:space-between;gap:8px;color:var(--text-muted)}.drive-file-list{list-style:none;margin:0;padding:0;display:grid;grid-gap:8px;gap:8px;max-height:60vh;overflow-y:auto}.drive-file{width:100%;display:flex;justify-content:space-between;align-items:center;gap:8px;padding:12px 14px;border-radius:var(--radius-md);border:1px solid var(--border);background:var(--surface-alt);color:var(--text);font:inherit;cursor:pointer}.net-hero{display:grid;grid-gap:6px;gap:6px;margin:12px 0;padding:16px;border-radius:var(--radius-lg);border:1px solid var(--green);background:var(--green-bg);color:var(--text);text-align:center}.net-hero.is-loss{border-color:var(--red);background:var(--red-bg)}.net-hero-label{font-size:.9rem;color:var(--text-muted)}.net-hero-value{font-size:1.8rem;font-weight:800}.net-hero-value small{font-size:.85rem;font-weight:600}.net-change{font-size:.85rem;color:var(--text-muted)}.net-change.is-up{color:var(--green)}.net-change.is-down{color:var(--red)}.net-lines{list-style:none;margin:0;padding:0;display:grid}.net-line{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--border)}.net-line-main{display:grid;min-width:0}.net-line-main small{color:var(--text-muted);font-size:.75rem;overflow-wrap:anywhere}.net-line strong{flex-shrink:0;white-space:nowrap}.net-line-total{border-bottom:0;font-size:1.05rem}.party-rep-tag{align-self:flex-start;max-width:100%;-webkit-margin-after:-4px;margin-block-end:-4px;padding:2px 10px;border-radius:999px;background:var(--violet-bg);color:var(--violet);font-size:.75rem;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.party-delete{width:100%;margin-top:4px}.rep-devices-debt{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 10px;padding:8px 10px;border-radius:var(--radius-sm);background:var(--surface-alt);font-size:.85rem}.rep-devices-debt>span{color:var(--text-muted);font-weight:600}.rep-devices-debt strong{color:var(--green)}.rep-devices-debt-due strong{color:var(--red)}.rep-device-owed{color:var(--red);font-size:.8rem;font-weight:700}.home-fab-layer{position:fixed;inset:0;z-index:91;background:rgb(0 0 0/.35);animation:home-fab-fade .15s ease-out}.home-fab{position:fixed;z-index:92;left:16px;bottom:calc(var(--bottom-nav-height) + var(--safe-bottom) + 12px);display:flex;flex-direction:column;align-items:flex-start;gap:12px;direction:ltr}.home-fab-button{display:grid;place-items:center;width:58px;height:58px;border:none;border-radius:50%;background:linear-gradient(135deg,#2f80ff,#1558d6);color:#fff;font-size:2rem;line-height:1;box-shadow:0 10px 26px rgb(21 88 214/.45);cursor:pointer;transition:transform .2s ease}.expense-fab-button{background:linear-gradient(135deg,#f0455f,#c81e3a);box-shadow:0 10px 26px rgb(200 30 58/.4);font-size:1.6rem}.home-fab-button span{display:block;transform:translateY(-2px);transition:transform .2s ease}.home-fab-open .home-fab-button span{transform:translateY(-2px) rotate(45deg)}.home-fab-menu{flex-direction:column;align-items:flex-start;margin:0;list-style:none}.home-fab-item,.home-fab-menu{display:flex;gap:10px;padding:0}.home-fab-item{align-items:center;border:none;background:none;cursor:pointer;animation:home-fab-pop .18s ease-out both}.home-fab-item-icon{order:-1;flex-shrink:0;-webkit-margin-start:5px;margin-inline-start:5px;display:grid;place-items:center;width:48px;height:48px;border-radius:50%;font-size:1.35rem;box-shadow:0 6px 18px rgb(0 0 0/.3)}.home-fab-item-device .home-fab-item-icon{background:#2f80ff}.home-fab-item-payment .home-fab-item-icon{background:#0e9f6e}.home-fab-item-label{padding:6px 12px;border-radius:12px;background:var(--surface);color:var(--text);font-size:.9rem;font-weight:700;box-shadow:0 4px 14px rgb(0 0 0/.25);direction:rtl}@keyframes home-fab-pop{0%{opacity:0;transform:translateY(10px) scale(.9)}}@keyframes home-fab-fade{0%{opacity:0}}.payment-search{flex:none}.payment-targets{display:flex;flex-direction:column;gap:8px;max-height:55vh;margin:0;padding:0;overflow-y:auto;list-style:none}.payment-target{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:10px 12px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-alt);color:var(--text);text-align:start;cursor:pointer}.payment-target-names{display:flex;flex-direction:column;gap:2px;min-width:0}.payment-target-names span,.payment-target-names strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.payment-target-names span{color:var(--text-muted);font-size:.8rem}.payment-target-clear,.payment-target-due{flex-shrink:0;font-size:.8rem;font-weight:700}.payment-target-due{color:var(--red)}.payment-target-clear{color:var(--green)}.ledger-proof-field{grid-column:1/-1;display:flex;align-items:center;gap:10px;min-width:0;font-size:.85rem;color:var(--text-muted)}.ledger-proof-pick{display:block;width:100%;padding:10px 12px;border:1px dashed var(--border);border-radius:var(--radius-sm);background:var(--surface-alt);color:var(--text);font-size:.88rem;text-align:center;cursor:pointer}.ledger-proof-thumb{flex-shrink:0;width:48px;height:48px;border-radius:8px;object-fit:cover}.ledger-receipt-link{text-decoration:none}.ledger-proof-field>span{flex:1 1;min-width:0}.ledger-entry-row-actions{display:flex;flex-wrap:wrap;gap:4px 12px;margin-top:6px}.ledger-paid-strip{display:flex;flex-direction:column;gap:8px;margin-bottom:10px;padding:10px 12px;border:1px solid color-mix(in srgb,var(--green) 45%,transparent);border-radius:var(--radius-sm);background:color-mix(in srgb,var(--green) 12%,var(--surface))}.ledger-paid-strip-head{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--green)}.ledger-paid-strip-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px}.ledger-paid-whatsapp{text-decoration:none;text-align:center}.ledger-paid-strip-note{color:var(--text-muted);font-size:.78rem}.proof-viewer-backdrop{position:fixed;inset:0;z-index:130;display:flex;align-items:center;justify-content:center;padding:16px;background:rgb(0 0 0/.7)}.proof-viewer{display:flex;flex-direction:column;gap:12px;width:100%;max-width:460px;max-height:92vh;padding:14px;overflow-y:auto;border-radius:18px;background:var(--surface)}.proof-viewer-head{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:.9rem}.proof-viewer-image{display:block;width:100%;max-height:65vh;object-fit:contain;border-radius:10px;background:#000}.proof-viewer-actions{display:flex;flex-wrap:wrap;gap:10px}.proof-viewer-actions>*{flex:1 1 140px;text-align:center;cursor:pointer}.auto-sync-rules{margin:4px 0 0;-webkit-padding-start:18px;padding-inline-start:18px;gap:2px}.auto-sync-rules,.telegram-steps{display:flex;flex-direction:column}.telegram-steps{margin:4px 0 10px;-webkit-padding-start:20px;padding-inline-start:20px;gap:4px;color:var(--text-muted);font-size:.85rem}.telegram-status{margin:0 0 8px;color:var(--green);font-weight:700}.telegram-message{margin-top:8px}.pdf-choice-sheet>.dialog-primary,.pdf-choice-sheet>.dialog-secondary{width:100%}.pdf-sent-note{color:var(--green);font-size:.8rem;font-weight:700}.telegram-requests{display:flex;flex-direction:column;gap:8px;margin-bottom:12px;padding:10px;border:1px solid color-mix(in srgb,var(--brand) 45%,transparent);border-radius:var(--radius-sm);background:color-mix(in srgb,var(--brand) 10%,var(--surface))}.telegram-request{padding-top:8px;border-top:1px solid var(--border)}.telegram-rep-list,.telegram-request{display:flex;flex-direction:column;gap:6px}.telegram-rep-list{margin:0 0 12px;padding:0;list-style:none}.telegram-rep-list li{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;border-radius:var(--radius-sm);background:var(--surface-alt)}.telegram-rep-list small{color:var(--text-muted)}.telegram-rep-phone{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-width:0}.telegram-rep-phone small{overflow-wrap:anywhere}.telegram-running{color:var(--green);font-weight:600}.telegram-stopped{color:var(--yellow);font-weight:600}.telegram-diag{font-size:.74rem;color:var(--text-muted);margin:4px 0 8px}.telegram-diag ul{margin:6px 0 0;-webkit-padding-start:18px;padding-inline-start:18px;overflow-wrap:anywhere}.rep-request-list{list-style:none;margin:8px 0 0;padding:0;display:grid;grid-gap:10px;gap:10px}.rep-request{display:grid;grid-gap:8px;gap:8px;padding:12px;border-radius:var(--radius-sm);background:var(--surface-alt);border:1px solid var(--border)}.rep-request-head{display:flex;justify-content:space-between;gap:8px;font-size:.85rem}.rep-request-head span{color:var(--text-muted);font-size:.75rem}.rep-request-text{margin:0;font-size:.8rem;color:var(--text-muted);overflow-wrap:anywhere}.rep-proof-photo{display:block;max-width:100%;max-height:320px;margin:6px auto;border-radius:10px;border:1px solid var(--border);object-fit:contain}.rep-proof-button{align-self:flex-start}.rep-request-row.activation-cost-row{grid-template-columns:52px minmax(0,1fr) auto;align-items:center;margin-block:6px}.activation-cost-plan{min-width:48px}.rep-proof-pick{cursor:pointer}.rep-proof-picked{display:flex;flex-direction:column;align-items:center;gap:4px}.rep-request-field{display:grid;grid-gap:4px;gap:4px;font-size:.78rem}.rep-request-field select,.rep-request-row select{min-width:0;max-width:100%}.rep-request-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;grid-gap:6px;gap:6px}.rep-mode{max-width:560px;margin:0 auto;padding:16px 16px calc(24px + env(safe-area-inset-bottom));display:grid;grid-gap:12px;gap:12px}.rep-mode-head h1{margin:0;font-size:1.3rem}.rep-mode-head p{margin:4px 0 0;color:var(--text-muted)}.rep-mode-steps{margin:0;padding:10px 26px 10px 12px;display:grid;grid-gap:4px;gap:4px;font-size:.85rem;border-radius:var(--radius-sm);background:var(--surface-alt);border:1px solid var(--border)}.rep-mode-form{display:grid;grid-gap:8px;gap:8px}.rep-mode-add{width:100%}.rep-mode-list{list-style:none;margin:0;padding:0;display:grid;grid-gap:10px;gap:10px}.rep-mode-actions{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center}.rep-mode-exit{justify-self:center;margin-top:12px;color:var(--text-muted)}.rep-mode-entry summary{cursor:pointer}.rep-mode-entry[open]{display:grid;grid-gap:8px;gap:8px}.rep-app-code{display:grid;grid-gap:10px;gap:10px}.rep-app-code-value{margin:0;text-align:center;font-size:1.4rem;font-weight:700;letter-spacing:.08em;padding:10px;border-radius:var(--radius-sm);background:var(--surface-alt);border:1px dashed var(--border);-webkit-user-select:all;-moz-user-select:all;user-select:all}.tools-head h1{margin:0;font-size:1.35rem}.tools-head p{margin:4px 0 0;color:var(--text-muted);font-size:.85rem}.tools-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:6px;gap:6px;margin:12px 0}.tools-tile{display:grid;justify-items:center;grid-gap:2px;gap:2px;padding:8px 2px;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface);color:var(--text);font:inherit;font-size:.68rem;line-height:1.25;cursor:pointer;min-width:0}.tools-tile span{font-size:1.15rem}.tools-tile strong{font-weight:600;text-align:center;overflow-wrap:anywhere}.tools-tile-on{border-color:var(--brand);background:var(--surface-alt);box-shadow:var(--glow)}.tool-body{display:grid;grid-gap:10px;gap:10px;min-width:0}.tool-score{display:flex;align-items:baseline;gap:8px;padding:12px;border-radius:var(--radius-sm);background:var(--surface-alt)}.tool-score strong{font-size:1.6rem}.tool-score-good strong{color:var(--green)}.tool-score-warn strong{color:var(--yellow)}.tool-score-bad strong{color:var(--red)}.tool-issue{border:1px solid var(--border);border-radius:var(--radius-sm);padding:8px 10px;background:var(--surface)}.tool-issue summary{display:flex;justify-content:space-between;align-items:center;gap:8px;cursor:pointer;font-size:.88rem}.tool-issue-high{-webkit-border-start:4px solid var(--red);border-inline-start:4px solid var(--red)}.tool-issue-medium{-webkit-border-start:4px solid var(--yellow);border-inline-start:4px solid var(--yellow)}.tool-issue-low{-webkit-border-start:4px solid var(--gray);border-inline-start:4px solid var(--gray)}.tool-count{min-width:24px;padding:1px 8px;border-radius:999px;background:var(--surface-alt);font-size:.78rem;text-align:center}.tool-list{list-style:none;margin:0;padding:0;display:grid;grid-gap:6px;gap:6px}.tool-list>li{display:grid;grid-gap:2px;gap:2px;min-width:0}.tool-list small{color:var(--text-muted);font-size:.75rem;overflow-wrap:anywhere}.tool-link{color:var(--brand);text-decoration:none;font-size:.86rem;overflow-wrap:anywhere}.tool-row{grid-template-columns:minmax(0,1fr) auto!important;align-items:center;gap:8px!important;padding:8px 10px;border-radius:var(--radius-sm);background:var(--surface-alt)}.tool-row>div{display:grid;grid-gap:2px;gap:2px;min-width:0}.tool-wa{padding:6px 12px;border-radius:999px;background:var(--green-bg);color:var(--green);font-size:.8rem;font-weight:600;text-decoration:none;white-space:nowrap}.tool-chips{display:flex;flex-wrap:wrap;gap:6px}.tool-chip{padding:5px 12px;border-radius:999px;border:1px solid var(--border);background:var(--surface);color:var(--text);font:inherit;font-size:.78rem;cursor:pointer}.tool-chip-on{background:var(--brand);border-color:var(--brand);color:var(--brand-contrast)}.tool-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:8px;gap:8px}.tool-kpi{display:grid;grid-gap:2px;gap:2px;padding:10px;border-radius:var(--radius-sm);background:var(--surface-alt);min-width:0}.tool-kpi small,.tool-kpi span{color:var(--text-muted);font-size:.74rem}.tool-kpi strong{font-size:.95rem;overflow-wrap:anywhere}.tool-kpi-good strong{color:var(--green)}.tool-kpi-bad strong{color:var(--red)}.tool-bars{list-style:none;margin:0;padding:0;display:grid;grid-gap:6px;gap:6px}.tool-bars li{display:grid;grid-template-columns:92px minmax(0,1fr) 28px;align-items:center;grid-gap:8px;gap:8px;font-size:.75rem}.tool-bar-label{color:var(--text-muted)}.tool-bar-track{height:10px;background:var(--surface-alt);overflow:hidden}.tool-bar-fill,.tool-bar-track{display:block;border-radius:999px}.tool-bar-fill{height:100%;background:var(--brand);transition:width .3s ease}.tool-bar-behind{background:var(--orange)}.tool-bar-value{text-align:center;font-weight:600}.tool-form{display:grid;grid-gap:8px;gap:8px}.tool-form select,.tool-form-row select,.tool-quote-nums select{min-width:0;max-width:100%}.tool-form-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-gap:8px;gap:8px}.tool-field{display:grid;grid-gap:4px;gap:4px;font-size:.78rem;color:var(--text-muted);min-width:0}.tool-subtitle{margin:6px 0 0;font-size:.9rem}.tool-promise{padding:10px;border-radius:var(--radius-sm);background:var(--surface-alt);-webkit-border-start:4px solid var(--gray);border-inline-start:4px solid var(--gray)}.tool-promise-overdue{border-inline-start-color:var(--red)}.tool-promise-today{border-inline-start-color:var(--yellow)}.tool-promise-head{display:flex;justify-content:space-between;gap:8px}.tool-promise-actions{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;margin-top:4px}.tool-goal{display:grid;grid-gap:6px;gap:6px;padding:10px;border-radius:var(--radius-sm);background:var(--surface-alt)}.tool-goal-head{display:flex;justify-content:space-between;gap:8px;font-size:.85rem}.tool-goal small{font-size:.75rem}.tool-suggest{margin:0;font-size:.9rem}.tool-quote-line{padding:8px;border-radius:var(--radius-sm);background:var(--surface-alt)}.tool-quote-nums{display:grid;grid-template-columns:52px minmax(0,1fr) minmax(0,1fr) auto;grid-gap:6px;gap:6px;margin-top:6px}.tool-total{margin:0}.tool-preview{margin:0;padding:10px;border-radius:var(--radius-sm);background:var(--surface-alt);font:inherit;font-size:.8rem;white-space:pre-wrap;overflow-wrap:anywhere}.tool-wa-big{text-decoration:none;text-align:center}.client-notes{display:grid;grid-gap:10px;gap:10px;padding:4px 2px 8px}.client-notes-reliability{margin:0;font-size:.85rem}.client-notes-add{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-gap:8px;gap:8px;align-items:end}.client-notes-add textarea{resize:vertical;font:inherit}.client-notes-list{list-style:none;margin:0;padding:0;display:grid;grid-gap:8px;gap:8px}.client-notes-list li{padding:8px 10px;border-radius:var(--radius-sm);background:var(--surface-alt)}.client-notes-list li.client-note-pinned{-webkit-border-start:4px solid var(--violet);border-inline-start:4px solid var(--violet)}.client-notes-list p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:.88rem}.client-note-meta{display:flex;align-items:center;gap:10px;margin-top:4px}.client-note-meta small{color:var(--text-muted);-webkit-margin-end:auto;margin-inline-end:auto}.plan-task{grid-template-columns:auto minmax(0,1fr) auto!important;align-items:center;gap:10px!important;padding:8px 10px;border-radius:var(--radius-sm);background:var(--surface-alt)}.plan-task-body{display:grid;grid-gap:2px;gap:2px;min-width:0}.plan-task-done .plan-task-body{opacity:.55;text-decoration:line-through}.plan-check{width:26px;height:26px;border-radius:8px;border:2px solid var(--border);background:var(--surface);color:var(--green);font-weight:700;cursor:pointer;padding:0}.plan-task-done .plan-check{border-color:var(--green);background:var(--green-bg)}.plan-kind{display:inline-block;padding:0 6px;border-radius:999px;font-size:.68rem;background:var(--gray-bg);color:var(--gray)}.plan-kind-renewal{background:var(--mint-bg);color:var(--mint)}.plan-kind-promise{background:var(--violet-bg);color:var(--violet)}.plan-kind-debt{background:var(--red-bg);color:var(--red)}.plan-kind-winback{background:var(--orange-bg);color:var(--orange)}.tool-month{display:flex;align-items:center;justify-content:center;gap:16px}.expense-row{grid-template-columns:90px minmax(0,1fr) 64px!important}.expense-value{text-align:start;font-weight:600}.today-plan-link{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:10px;margin-inline-end:10px;padding:3px 10px;border-radius:999px;background:var(--green-bg);color:var(--green);font-size:.78rem;font-weight:600;text-decoration:none}.leader-row{grid-template-columns:34px minmax(0,1fr) auto!important;align-items:center;gap:8px!important;padding:8px 10px;border-radius:var(--radius-sm);background:var(--surface-alt)}.leader-row>div{display:grid;grid-gap:2px;gap:2px;min-width:0}.leader-rank{font-size:1.2rem;text-align:center;font-weight:700}.tool-card-need{margin:0;padding:10px;border-radius:var(--radius-sm);font-size:.85rem}.tool-card-short{background:var(--red-bg);color:var(--red)}.tool-card-ok{background:var(--green-bg);color:var(--green)}.promise-quick{padding:4px 2px 10px}.tool-pick{width:100%;display:grid;grid-gap:2px;gap:2px;text-align:start;padding:10px;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface-alt);color:var(--text);font:inherit;cursor:pointer}.tool-pick small{color:var(--text-muted)}.guide-list li{font-size:.85rem;line-height:1.6;padding:6px 0;border-bottom:1px dashed var(--border)}.guide-list li:last-child{border-bottom:0}.home-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:6px;gap:6px;margin:4px 0 10px}.home-shortcut{position:relative;display:grid;justify-items:center;grid-gap:2px;gap:2px;padding:8px 2px;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface);color:var(--text);font-size:.7rem;font-weight:600;text-decoration:none}.home-shortcut span{font-size:1.1rem}.home-shortcut-badge{position:absolute;top:4px;inset-inline-start:6px;min-width:18px;padding:0 5px;border-radius:999px;background:var(--red);color:#fff;font-size:.65rem;line-height:18px;text-align:center}.duplicate-warning{padding:10px 12px;border-radius:var(--radius-sm);background:var(--orange-bg);color:var(--orange);border:1px solid var(--orange);font-size:.82rem}.duplicate-warning ul{margin:4px 0 0;-webkit-padding-start:18px;padding-inline-start:18px;display:grid;grid-gap:4px;gap:4px}.duplicate-warning li{overflow-wrap:anywhere}.duplicate-warning .text-action{-webkit-margin-start:6px;margin-inline-start:6px;font-size:.8rem}.ledger-cost-rate-hint.is-missing{padding:8px 10px;border-radius:10px;background:var(--orange-bg);color:var(--orange);font-weight:700}.ledger-cost-auto{font-size:.68rem;color:var(--green);font-weight:700}.add-device-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;grid-gap:10px;gap:10px}.add-device-form>*{grid-column:1/-1}.add-device-form>.add-field-half{grid-column:auto}.add-section-title{margin:6px 2px 0;font-size:.78rem;font-weight:800;color:var(--text-muted)}.add-field-value{display:flex;align-items:center;min-height:44px;border:1px dashed var(--border);border-radius:12px;color:var(--text);font-size:.82rem;overflow-wrap:anywhere}.add-field-value,.add-more{padding:10px 12px;background:var(--surface-alt)}.add-more{border:1px solid var(--border);border-radius:var(--radius-md)}.add-more>summary{cursor:pointer;font-size:.8rem;font-weight:700;color:var(--brand)}.add-more-body{gap:12px;margin-top:12px}.add-field,.add-more-body{display:flex;flex-direction:column}.add-field{--accent:var(--brand);--accent-bg:color-mix(in srgb,var(--brand) 12%,transparent);gap:6px;padding:10px 12px;border-radius:var(--radius-md);border:1px solid var(--border);-webkit-border-start:4px solid var(--accent);border-inline-start:4px solid var(--accent);background:linear-gradient(to left,var(--accent-bg),transparent 70%);min-width:0}.add-field>.add-field-label{display:flex;align-items:center;gap:6px;font-size:.8rem;font-weight:700;color:var(--accent)}.add-field-label b{font-weight:400}.add-field-label .add-field-num{display:inline-grid;place-items:center;width:1.45em;height:1.45em;border:1.5px solid;border-radius:50%;font-size:.85em;font-weight:700;line-height:1;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.suggest-input-row .suggest-again.is-pinned{display:inline-flex;align-items:center;color:var(--text-muted)}.add-field-note{display:block;color:var(--text-muted);font-size:.78rem;line-height:1.5}.add-field input:focus,.add-field textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 16%,transparent)}.add-field-email{--accent:var(--brand);--accent-bg:color-mix(in srgb,var(--brand) 12%,transparent)}.add-field-code{--accent:var(--violet);--accent-bg:var(--violet-bg)}.add-field-wifi{--accent:var(--mint);--accent-bg:var(--mint-bg)}.add-field-client{--accent:var(--green);--accent-bg:var(--green-bg)}.add-field-rep{--accent:var(--orange);--accent-bg:var(--orange-bg)}.add-field-name{--accent:var(--yellow);--accent-bg:var(--yellow-bg)}.add-field-note{--accent:var(--gray);--accent-bg:var(--gray-bg)}.add-field-slname{--accent:var(--violet);--accent-bg:var(--violet-bg)}.add-field-country{--accent:var(--mint);--accent-bg:var(--mint-bg)}.add-field-date{--accent:var(--orange);--accent-bg:var(--orange-bg)}.add-field-plan{--accent:var(--brand);--accent-bg:color-mix(in srgb,var(--brand) 12%,transparent)}.add-field-kit,.add-field-sn{--accent:var(--yellow);--accent-bg:var(--yellow-bg)}.add-field-sub{--accent:var(--green);--accent-bg:var(--green-bg)}.add-device-form>.add-field-half{padding:8px}.add-device-form>.add-field-half .add-field-value,.add-device-form>.add-field-half input{padding:8px 10px;font-size:.78rem}.add-device-form>.add-field-half .date-input-text{padding:0 10px;gap:4px;font-size:.78rem;white-space:nowrap}.device-dot{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border-radius:999px;font-size:.66rem;font-weight:700;background:var(--gray-bg);color:var(--gray)}.device-dot svg{width:12px;height:12px}.device-dot>i{width:8px;height:8px;border-radius:50%;background:currentColor;box-shadow:0 0 0 2px color-mix(in srgb,currentColor 25%,transparent);flex:none}.device-dot-green{background:var(--green-bg);color:var(--green)}.device-dot-red{background:var(--red-bg);color:var(--red)}.device-dot-yellow{background:var(--yellow-bg);color:var(--yellow)}.device-dot-gray{background:var(--gray-bg);color:var(--gray)}.device-dots{display:inline-flex;flex:1 0 100%;gap:6px;flex-wrap:nowrap}.device-dots .device-dot{flex:1 1;min-width:0;justify-content:center;white-space:nowrap;font-size:.68rem;padding:4px 6px}.device-dots .device-dot>i{width:10px;height:10px}.ocean-alarm{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:16px;background:color-mix(in srgb,var(--red) 88%,#000);animation:ocean-alarm-pulse 1.2s ease-in-out infinite alternate;overflow-y:auto}@keyframes ocean-alarm-pulse{0%{background:color-mix(in srgb,var(--red) 92%,#000)}to{background:color-mix(in srgb,var(--red) 70%,#000)}}.ocean-alarm-box{width:100%;max-width:420px;display:flex;flex-direction:column;gap:12px;color:#fff;text-align:center}.ocean-alarm-icon{font-size:3.4rem;line-height:1}.ocean-alarm-box h2{margin:0;font-size:1.35rem;font-weight:900}.ocean-alarm-steps,.ocean-alarm-text{margin:0;font-size:.9rem;line-height:1.6}.ocean-alarm-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.ocean-alarm-list li{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;border-radius:12px;background:rgba(0,0,0,.28);font-weight:800;min-width:0}.ocean-alarm-list li span{overflow-wrap:anywhere;text-align:start}.ocean-alarm-dismiss,.ocean-alarm-list button{border:0;border-radius:10px;font:inherit;font-weight:800;cursor:pointer}.ocean-alarm-list button{flex:none;padding:8px 10px;background:#fff;color:#b91c1c;font-size:.78rem}.ocean-alarm-dismiss{padding:12px;background:rgba(0,0,0,.35);color:#fff}.account-card-ocean-banner{background:var(--red);color:#fff;font-size:.78rem;font-weight:800;text-align:center;padding:8px 10px;border-radius:var(--radius-sm);animation:ocean-alarm-pulse 1.2s ease-in-out infinite alternate}.dot-trace{margin:0;font-size:.6rem;line-height:1.4;text-align:left}.dot-trace,.rep-edit-values{color:var(--text-muted);overflow-wrap:anywhere}.rep-edit-values{display:flex;flex-direction:column;gap:2px;margin:4px 0 8px;font-size:.82rem}.fault-groups{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 10px}.fault-group{border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:999px;padding:5px 10px;font:inherit;font-size:.78rem;cursor:pointer}.fault-group-active{background:var(--orange-bg);border-color:var(--orange);color:var(--orange);font-weight:700}.rep-extra-bots{display:flex;flex-direction:column;gap:8px;margin:12px 0;padding:10px;border:1px solid var(--border);border-radius:var(--radius-sm)}.rep-extra-bot{border-top:1px dashed var(--border);padding-top:8px}.rep-extra-bot-head{display:flex;justify-content:space-between;gap:8px;font-weight:700;overflow-wrap:anywhere}.rep-extra-bot-connect{display:flex;gap:6px}.rep-extra-bot-connect .search-input{flex:1 1;min-width:0}.settings-tone-brand{--tone:var(--brand);--tone-bg:var(--surface-alt)}.settings-tone-yellow{--tone:var(--yellow);--tone-bg:var(--yellow-bg)}.settings-tone-mint{--tone:var(--mint);--tone-bg:var(--mint-bg)}.settings-tone-violet{--tone:var(--violet);--tone-bg:var(--violet-bg)}.settings-tone-green{--tone:var(--green);--tone-bg:var(--green-bg)}.settings-tone-red{--tone:var(--red);--tone-bg:var(--red-bg)}.settings-hub{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:8px;gap:8px;margin:4px 0 14px}.settings-hub-tile{display:flex;flex-direction:column;align-items:center;gap:3px;min-width:0;padding:10px 6px;border:1.5px solid transparent;border-radius:var(--radius-md);background:var(--tone-bg);color:var(--text);font:inherit;text-align:center;cursor:pointer}.settings-hub-tile-active{border-color:var(--tone);box-shadow:0 0 0 2px color-mix(in srgb,var(--tone) 25%,transparent)}.settings-hub-icon{font-size:1.35rem;line-height:1}.settings-hub-title{font-weight:800;font-size:.8rem;color:var(--tone)}.settings-hub-subtitle{font-size:.64rem;color:var(--text-muted);line-height:1.3;overflow-wrap:anywhere}.settings-group{border-top:3px solid var(--tone);padding-top:8px}.settings-group-title{margin:0 0 10px;font-size:1.05rem;color:var(--tone)}.settings-group>*>.section,.settings-group>.section{-webkit-border-start:3px solid var(--tone);border-inline-start:3px solid var(--tone)}.settings-hub .settings-hub-subtitle{display:none}.settings-hub{gap:6px;margin:8px 0 10px}.settings-hub-tile{flex-direction:row;justify-content:center;gap:5px;padding:7px 4px}.settings-hub-icon{font-size:1rem}.settings-hub-title{font-size:.74rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.settings-group-title{font-size:.92rem;margin-bottom:6px}.settings-group .settings-hint{font-size:.76rem;line-height:1.45;margin-bottom:8px}.settings-group .section-title{font-size:.88rem}.settings-fold{margin:0 0 6px;border:1px solid var(--border);-webkit-border-start:3px solid var(--tone);border-inline-start:3px solid var(--tone);border-radius:var(--radius-sm);background:var(--surface)}.settings-fold-summary{display:flex;align-items:center;gap:8px;width:100%;min-width:0;padding:8px 10px;cursor:pointer;list-style:none;font:inherit;color:var(--text);text-align:start}.settings-fold-summary::-webkit-details-marker{display:none}button.settings-fold-row{margin:0 0 6px;border:1px solid var(--border);-webkit-border-start:3px solid var(--tone);border-inline-start:3px solid var(--tone);border-radius:var(--radius-sm);background:var(--surface)}.settings-fold-icon{font-size:1rem;flex:0 0 auto}.settings-fold-text{display:flex;flex-direction:column;min-width:0;flex:1 1 auto}.settings-fold-text strong{font-size:.84rem;font-weight:700}.settings-fold-text small,.settings-fold-text strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.settings-fold-text small{font-size:.7rem;color:var(--text-muted)}.settings-fold-chevron{color:var(--text-muted);transition:transform .15s ease}.settings-fold[open]>.settings-fold-summary .settings-fold-chevron{transform:rotate(-90deg)}.settings-fold[open]>.settings-fold-summary{border-bottom:1px solid var(--border)}.settings-fold-body{padding:4px 10px 8px;min-width:0}.settings-fold:has(>.settings-fold-body:empty){display:none}.settings-fold-body>*>.section,.settings-fold-body>.section{margin-top:6px;border:0;padding:0;background:none;box-shadow:none}.settings-fold-body>.section:first-child>.section-title:first-child{display:none}.settings-search{position:relative;margin:4px 0 6px}.settings-search-results{list-style:none;margin:6px 0 0;padding:0;display:flex;flex-direction:column;gap:4px;max-height:60vh;overflow-y:auto}.settings-search-hit{display:flex;align-items:center;gap:8px;width:100%;min-width:0;padding:7px 10px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--text);font:inherit;text-align:start;cursor:pointer}.used-password-compact .used-password-row{padding:5px 8px}.used-password-main{display:flex;align-items:center;gap:8px;min-width:0;flex:1 1 auto;background:none;border:0;padding:0;color:var(--text);font:inherit;text-align:start;cursor:pointer}.used-password-main small{color:var(--text-muted);font-size:.72rem;flex:0 0 auto}.account-card-rep-tint:not(.account-card-suspended){background:color-mix(in srgb,var(--rep-tint) 20%,var(--surface))}.account-card-rep-tint{border:3px solid var(--rep-tint)}.account-card-rep-tint .account-card-top-row{padding-bottom:8px;border-bottom:3px solid var(--rep-tint)}.account-card-rep-tint:before{background:var(--rep-tint)}.account-card{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;touch-action:manipulation}.account-card input,.account-card textarea{-webkit-user-select:text;-moz-user-select:text;user-select:text}.rep-color-field{display:flex;flex-direction:column;gap:6px;font-size:.85rem}.rep-color-swatches{display:flex;flex-wrap:wrap;gap:8px}.rep-color-swatch{width:30px;height:30px;border-radius:50%;border:2px solid var(--border);cursor:pointer;padding:0;color:var(--text-muted);font-size:.8rem}.rep-color-none{background:var(--surface-alt)}.rep-color-active{border-color:var(--text);box-shadow:0 0 0 2px var(--surface),0 0 0 4px var(--text)}.rep-color-dot{display:inline-block;width:10px;height:10px;border-radius:50%;-webkit-margin-end:4px;margin-inline-end:4px;vertical-align:middle}.account-card{padding:9px 10px;gap:5px}.account-card .account-card-avatar{width:26px;height:26px;font-size:.58rem}.account-card .account-card-name{font-size:.74rem}.account-card .account-card-client-missing,.account-card .account-card-client-name{font-size:.7rem}.account-card .account-card-identifiers,.account-card .account-card-label,.account-card .account-card-pill-row,.account-card .account-card-profit-row,.account-card .account-card-starlink-balance-row{font-size:.64rem}.account-card .account-card-recharge-pill,.account-card .badge,.account-card .date-status,.account-card .device-dot,.account-card .mini-status{font-size:.6rem;padding:1px 7px}.account-card .device-dot svg{width:11px;height:11px}.account-card .account-card-mini-row,.account-card .account-card-pill-row{gap:4px}.account-card .card-action{min-height:28px;padding:4px 7px;font-size:.64rem;border-radius:8px}.account-card .account-card-quick-actions{gap:2px}.account-card .quick-action{min-width:38px;min-height:38px;gap:2px;font-size:.56rem}.account-card .quick-action-icon{width:24px;height:24px}.account-card .quick-action-icon svg{width:13px;height:13px}.account-card .whatsapp-btn{width:28px;height:28px}.account-card .account-card-expanded-grid{gap:4px}.account-card [class*=-banner]{font-size:.62rem;padding:4px 8px}.account-card .account-card-unpaid-starlink,.account-card .account-card-unrecorded{font-size:.66rem;gap:4px}.clients-title-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.clients-pay-button{flex:0 0 auto;border:1px solid var(--green);background:var(--green-bg);color:var(--green);border-radius:999px;padding:6px 12px;font:inherit;font-size:.78rem;font-weight:700;cursor:pointer}.app-header.app-header-compact{justify-content:flex-start;gap:10px;padding:4px 0 8px}.app-header-compact .brand-lockup{gap:6px}.app-header-compact .brand-logo{width:26px;height:26px;border-radius:8px;font-size:.8rem}.app-header-compact .brand-mark{font-size:.9rem}.header-bell{position:relative;padding:4px 9px}.header-bell-badge{position:absolute;top:-6px;inset-inline-start:-6px;min-width:18px;padding:0 4px;border-radius:999px;background:var(--red);color:#fff;font-size:.62rem;line-height:18px;text-align:center}.event-log{display:flex;flex-direction:column;gap:6px;margin-top:8px}.event-log-row{display:flex;align-items:stretch;gap:6px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-alt)}.event-log-unread{border-color:var(--brand)}.event-log-open{flex:1 1;min-width:0;display:flex;flex-direction:column;gap:2px;padding:8px 10px;border:0;background:none;color:var(--text);font:inherit;text-align:start;cursor:pointer}.event-log-open strong{font-size:.8rem}.event-log-open span{font-size:.72rem;color:var(--text-muted);white-space:pre-line;overflow-wrap:anywhere;max-height:5.5em;overflow:hidden}.event-log-open small{font-size:.66rem;color:var(--text-muted);align-self:flex-end}.event-log-delete{flex:0 0 auto;border:0;background:none;padding:0 10px;cursor:pointer;font-size:.9rem}.header-more{display:inline-flex;align-items:center;gap:4px;padding:4px 10px 4px 8px;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--text);font:inherit;font-size:.72rem;font-weight:700;cursor:pointer}.header-more svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.more-menu.more-menu-top{top:calc(52px + var(--safe-top));bottom:auto;right:8px;left:auto;max-height:calc(100vh - 140px - var(--safe-top));flex-direction:column;align-items:flex-end;direction:rtl}.home-shortcuts{gap:5px;margin:0 0 8px}.home-shortcut{display:flex;align-items:center;justify-content:center;gap:3px;padding:5px 2px;font-size:.64rem}.home-shortcut span{font-size:.85rem}.home-shortcut-badge{top:-5px;min-width:15px;line-height:15px;font-size:.56rem}.status-rings{padding:8px 6px;gap:2px}.status-ring{gap:3px}.status-ring .status-ring-dial,.status-ring-dial{width:42px;height:42px}.status-ring .status-ring-core,.status-ring-core{width:35px;height:35px}.status-ring-icon svg{width:11px;height:11px}.status-ring-value{font-size:.8rem}.status-ring .status-ring-label,.status-ring-label{font-size:.6rem}.status-chips{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 10px}.status-chips .faulty-chip{margin:0;padding:4px 10px;font-size:.7rem}.repair-chip{border-color:var(--violet);background:var(--violet-bg);color:var(--violet)}.repair-chip.faulty-chip-active{background:var(--violet);color:#fff}.travel-row-actions{display:flex;flex-direction:column;gap:4px;flex:0 0 auto}.travel-done{border:1px solid var(--green);border-radius:999px;background:none;color:var(--green);font:inherit;font-size:.72rem;font-weight:700;padding:3px 8px;cursor:pointer}.no-client-chip{border-color:var(--mint);background:var(--mint-bg);color:var(--mint)}.no-client-chip.faulty-chip-active{background:var(--mint);color:#fff}.account-card-repair-banner{background:var(--violet-bg);color:var(--violet);border:1px solid var(--violet);font-size:.62rem;font-weight:700;text-align:center;padding:4px 8px;border-radius:var(--radius-sm)}.party-section .party-tabs{margin-bottom:6px}.party-section .party-tab{padding-block:6px;font-size:.8rem}.party-section .party-overview{padding:7px 10px;gap:4px 8px}.party-section .party-overview-label{font-size:.72rem}.party-section .party-overview-values{gap:8px;font-size:.86rem}.party-section .party-toolbar .search-input{padding-block:8px;font-size:.82rem}.party-section .party-toolbar .btn-icon{padding:6px 10px;font-size:.76rem}.party-card-list{gap:8px}.party-card-list .party-card{gap:6px;padding:8px 10px 8px 8px;border-radius:14px}.party-card-list .party-card:before{width:3px}.party-card-list .party-card-head{gap:7px}.party-card-list .party-avatar{width:30px;height:30px;font-size:.72rem;box-shadow:0 0 0 2px var(--surface),0 0 0 3px hsl(var(--party-hue) 70% 50%/.35)}.party-card-list .party-card-title strong{font-size:.86rem;line-height:1.25}.party-card-sub{display:flex;align-items:center;gap:5px;min-width:0;overflow:hidden;color:var(--text-muted);font-size:.66rem;white-space:nowrap}.party-card-list .party-card-title .party-card-sub span{font-size:inherit}.party-mini-chip{flex-shrink:0;padding:0 5px;border-radius:999px;background:var(--party-soft);color:var(--party-accent);font-weight:700}.party-card-list .party-rep-tag{flex-shrink:1;min-width:0;margin:0;padding:0 6px;font-size:.62rem}.party-card-list .party-status{padding:2px 7px;font-size:.62rem}.party-card-list .party-stats{grid-template-columns:30px;gap:3px;padding-top:0}.party-card-list .party-stats-currency{position:static;align-self:center;overflow:hidden;font-size:.58rem;line-height:1.1;text-align:center;overflow-wrap:anywhere}.party-card-list .party-stat{min-height:30px;padding:2px;border-radius:8px}.party-card-list .party-stat span{font-size:.55rem;line-height:1.1}.party-card-list .party-stat strong{font-size:.7rem;line-height:1.15}.party-card-list .party-chips{gap:4px}.party-card-list .party-chip{padding:1px 7px;font-size:.62rem}.party-card-list .party-actions{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);grid-template-columns:none;grid-gap:3px;gap:3px}.party-card-list .party-actions .party-action{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;min-height:0;padding:3px 1px;border-radius:8px;font-size:.56rem;line-height:1.15}.party-action-icon{position:relative;font-size:.8rem;line-height:1.1}.party-action-count{position:absolute;top:-4px;inset-inline-end:-9px;min-width:12px;padding:0 2px;border-radius:999px;background:var(--party-accent,var(--brand));color:#fff;font-size:.5rem;font-weight:800;line-height:12px;text-align:center}.party-action-label{max-width:100%;overflow:hidden;text-overflow:ellipsis}.party-card-list .party-panel{padding-top:6px}.party-card-list .party-card-title .party-rep-tag{color:var(--violet)}.party-card-list .party-card-title .party-mini-chip{color:var(--party-accent)}.store-page .store-summary-row{gap:6px;margin-bottom:10px}.store-page .store-summary-tile{padding:7px 9px;border:1.5px solid color-mix(in srgb,var(--brand) 35%,var(--border));border-radius:12px;background:color-mix(in srgb,var(--brand) 8%,var(--surface))}.store-page .store-summary-tile-warning{border-color:color-mix(in srgb,var(--red) 45%,var(--border));background:color-mix(in srgb,var(--red) 9%,var(--surface))}.store-page .store-summary-label{display:flex;align-items:center;gap:4px;margin-bottom:2px;font-size:.66rem;font-weight:700;white-space:nowrap}.store-summary-icon{font-size:.85rem}.store-page .store-summary-value,.store-page .store-summary-value-stack{font-size:.86rem}.store-page .store-items-header .section-title{font-size:1rem}.store-page .store-item-card{border:1.5px solid var(--border);border-radius:14px;box-shadow:0 1px 4px rgb(0 0 0/.06)}.store-page .store-item-card-active{border-color:var(--brand)}.store-page .store-item-row{gap:8px;padding:8px 10px}.store-page .store-item-icon,.store-page .store-item-image{width:34px;height:34px;border-radius:10px;font-size:1.1rem}.store-page .store-item-icon{border:1.5px solid color-mix(in srgb,var(--brand) 35%,var(--border));background:color-mix(in srgb,var(--brand) 10%,var(--surface))}.store-page .store-item-name{font-size:.86rem}.store-page .store-item-price,.store-page .store-item-value{font-size:.68rem}.store-page .store-item-stock{padding:1px 8px;border-radius:999px;background:var(--green-bg);font-size:.76rem}.store-page .store-item-stock-empty{background:var(--red-bg)}.store-page .store-item-low-badge{font-size:.62rem}.store-page .store-item-quick-actions{gap:6px;padding:0 10px 8px}.store-page .store-quick-btn{padding:5px 8px;border-width:1.5px;border-radius:10px;font-size:.72rem}.store-page .store-quick-buy{border-color:var(--yellow);background:var(--yellow-bg);color:var(--yellow)}.store-page .store-quick-sell{border-color:var(--green);background:var(--green-bg);color:var(--green)}.store-page .store-quick-edit{padding:5px 10px;border-color:color-mix(in srgb,var(--brand) 45%,var(--border));background:color-mix(in srgb,var(--brand) 8%,var(--surface));color:var(--brand)}.store-panel-kind{width:100%;margin:0;padding:6px 10px;border:1.5px solid var(--yellow);border-radius:10px;background:var(--yellow-bg);color:var(--yellow);font-size:.72rem;font-weight:700}.store-page .report-collapse-toggle{min-height:38px;padding:8px 12px;margin-bottom:8px;border:1.5px solid var(--border);-webkit-border-start:4px solid var(--brand);border-inline-start:4px solid var(--brand);border-radius:12px;font-size:.82rem}.store-page>.section:nth-of-type(3) .report-collapse-toggle{border-inline-start-color:var(--mint)}.store-page>.section:nth-of-type(4) .report-collapse-toggle{border-inline-start-color:var(--violet)}.currencies-page .currency-converter{padding:12px;border-radius:16px;border:1.5px solid color-mix(in srgb,var(--brand) 30%,var(--border));background:linear-gradient(160deg,color-mix(in srgb,var(--brand) 9%,var(--surface)),var(--surface) 65%)}.currencies-page .currency-converter .search-input,.currencies-page .currency-picker-trigger{border:1.5px solid color-mix(in srgb,var(--brand) 35%,var(--border));background:var(--surface)}.currencies-page .currency-converter-swap-btn{border:1.5px solid var(--brand);background:color-mix(in srgb,var(--brand) 14%,var(--surface))}.currencies-page .currency-converter-result-box{border:1.5px solid color-mix(in srgb,var(--brand) 40%,var(--border))}.currencies-page .currency-converter-result-box-usd{border-color:color-mix(in srgb,var(--green) 50%,var(--border))}.currency-local-equivalents{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:8px;gap:8px}.currency-local-chip{display:flex;flex-direction:column;align-items:center;gap:1px;padding:7px 6px;border:1.5px solid;border-radius:12px;font-size:.9rem;font-weight:800;text-align:center;overflow-wrap:anywhere}.currency-local-chip small{color:var(--text-muted);font-size:.64rem;font-weight:700}.currency-local-mru{border-color:color-mix(in srgb,var(--yellow) 55%,var(--border));background:var(--yellow-bg);color:var(--yellow)}.currency-local-sifa{border-color:color-mix(in srgb,var(--violet) 50%,var(--border));background:var(--violet-bg);color:var(--violet)}.currencies-page .currency-row{-webkit-border-start:4px solid var(--mint);border-inline-start:4px solid var(--mint);background:var(--surface)}.currencies-page .currency-row:nth-child(3n+2){border-inline-start-color:var(--violet)}.currencies-page .currency-row:nth-child(3n){border-inline-start-color:var(--yellow)}.currencies-page .currency-row-code{padding:0 6px;border-radius:6px;background:var(--mint-bg);color:var(--mint);font-weight:700}.currencies-page .currency-row-actions .text-action{color:var(--brand)}.party-card-list .rep-card .party-stats{grid-template-columns:none}.party-card-list .rep-card .rep-stat-value{font-size:.7rem}.party-card-list .rep-card .rep-stat-value small{font-size:.55rem}.party-card-list .rep-percent{padding:2px 8px;font-size:.7rem}.party-card-list .rep-devices-debt{gap:2px 8px;padding:4px 8px;border-radius:8px;font-size:.68rem}.party-card-list .rep-devices-debt .rep-stat-value{display:inline;-webkit-margin-start:6px;margin-inline-start:6px}.card-action-mail{flex-shrink:0}.card-action-mail-on{border-color:color-mix(in srgb,var(--mint) 60%,var(--border));background:var(--mint-bg);color:var(--mint)}.mailbox-summary{display:flex;gap:8px;align-items:center;margin:0 0 8px;color:var(--text-muted);font-size:.8rem}.mailbox-summary-on{padding:2px 10px;border-radius:999px;background:var(--mint-bg);color:var(--mint);font-weight:800}.mailbox-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:6px;gap:6px;margin-bottom:8px}.mailbox-tab{padding:7px 6px;border:1.5px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text-muted);font:inherit;font-size:.78rem;font-weight:700;cursor:pointer}.mailbox-tab-active{border-color:var(--mint);background:var(--mint-bg);color:var(--mint)}.mailbox-list{display:flex;flex-direction:column;gap:6px;margin:10px 0 0;padding:0;list-style:none}.mailbox-row{display:flex;align-items:center;gap:8px;padding:8px 10px;border:1.5px solid var(--border);border-radius:12px;background:var(--surface)}.mailbox-row-on{border-color:color-mix(in srgb,var(--mint) 45%,var(--border))}.mailbox-dot{display:grid;flex-shrink:0;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--surface-alt);color:var(--text-muted);font-size:.8rem;font-weight:800}.mailbox-row-on .mailbox-dot{background:var(--mint-bg);color:var(--mint)}.mailbox-main{display:flex;flex:1 1;flex-direction:column;min-width:0}.mailbox-email{font-size:.8rem;font-weight:700;text-align:start}.mailbox-email,.mailbox-sub{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mailbox-sub{color:var(--text-muted);font-size:.66rem}[data-shortcut-route],a[href]{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.shortcut-sheet-layer{position:fixed;inset:0;z-index:200;display:flex;align-items:flex-end;justify-content:center;background:rgba(0,0,0,.35)}.shortcut-sheet{width:min(100%,480px);margin:0 8px 12px;padding:18px 16px 12px;border-radius:18px;background:var(--surface);color:var(--text);border:1px solid var(--border);display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center}.shortcut-sheet-icon{width:56px;height:56px;border-radius:50%;display:grid;place-items:center;font-size:28px}.phone-shortcut-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}.phone-shortcut-row{display:flex;align-items:center;gap:10px;padding:4px 0;border-bottom:1px solid var(--border)}.phone-shortcut-emoji{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-size:17px;flex-shrink:0}.phone-shortcut-label{flex:1 1;min-width:0}.rep-clients .party-devices{margin-top:6px}.rep-transfer-btn{width:100%;margin-bottom:6px}.rep-clients-total{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 10px;padding:8px 10px;border-radius:var(--radius-sm);background:var(--surface-alt);font-size:.85rem;margin-bottom:6px}.rep-clients-total>span{color:var(--text-muted);font-weight:600}.rep-client-row{width:100%;text-align:start;border:1px solid var(--border);color:var(--text);font:inherit;cursor:pointer}.rep-client-balances{display:flex;flex-wrap:wrap;gap:2px 10px;font-size:.8rem;color:var(--text-muted);min-width:0;overflow-wrap:anywhere}.rep-client-ours{color:var(--text);font-weight:600}.rep-client-former{-webkit-margin-start:6px;margin-inline-start:6px}.rep-client-book .party-statement{margin-top:6px}.rep-transfer .party-devices{margin:8px 0}.rep-transfer-row{display:grid;grid-template-columns:auto 1fr;align-items:center;grid-gap:2px 8px;gap:2px 8px}.rep-transfer-row .rep-client-balances{grid-column:2}.rep-transfer .btn-primary{width:100%;margin-top:8px}.client-rep-owner{display:flex;flex-direction:column;gap:6px;margin:10px 0;padding:10px;border-radius:var(--radius-sm);background:var(--surface-alt);border:1px solid var(--border)}.client-rep-owner-actions{display:grid;grid-template-columns:1fr 1fr;grid-gap:6px;gap:6px}.client-rep-owner-actions button{min-width:0;white-space:normal}.add-field{position:relative}.password-chips{display:none;position:absolute;top:calc(100% - 6px);inset-inline:8px;z-index:30;flex-direction:column;gap:2px;padding:4px;border-radius:var(--radius-sm);border:1px solid color-mix(in srgb,var(--border) 70%,transparent);background:color-mix(in srgb,var(--surface) 72%,transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 8px 24px rgb(0 0 0/.18);max-height:210px;overflow-y:auto}.add-field:focus-within>.password-chips{display:flex}.password-chip{border:0;background:transparent;color:var(--text);border-radius:calc(var(--radius-sm) - 2px);padding:8px 10px;font-size:.86rem;font-weight:600;text-align:left;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}.password-chip:active,.password-chip:hover{background:color-mix(in srgb,var(--brand) 14%,transparent)}.used-password-list{list-style:none;margin:8px 0 0;padding:0;display:flex;flex-direction:column;gap:6px}.used-password-row{display:flex;flex-direction:column;gap:2px;padding:8px 10px;border-radius:var(--radius-sm);background:var(--surface-alt);border:1px solid var(--border)}.used-password-top{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}.used-password-value{min-width:0;overflow-wrap:anywhere}.used-password-devices{font-size:.78rem;color:var(--text-muted);overflow-wrap:anywhere}.creation-toggle{display:grid;grid-template-columns:1fr 1fr;grid-gap:4px;gap:4px;padding:4px;border-radius:var(--radius-sm);background:var(--surface-alt);border:1px solid var(--border)}.creation-toggle button{border:0;border-radius:calc(var(--radius-sm) - 2px);padding:8px 4px;background:transparent;color:var(--text-muted);font:inherit;font-size:.8rem;font-weight:800;cursor:pointer}.creation-toggle button.active{background:var(--brand);color:#fff}.creation-steps{margin:0;font-size:.74rem;line-height:1.6;color:var(--text-muted)}.add-field-phone{--accent:var(--green);--accent-bg:var(--green-bg)}.account-card-creation-banner{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:6px 8px;border-radius:var(--radius-sm);background:color-mix(in srgb,var(--brand) 12%,transparent);border:1px solid color-mix(in srgb,var(--brand) 40%,transparent);font-size:.74rem;font-weight:800;color:var(--text)}.account-card-creation-banner>span{flex:1 1 100%}.account-card-creation-banner button{flex:1 1;min-width:0;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--text);font:inherit;font-size:.72rem;padding:6px 4px;cursor:pointer;white-space:nowrap}.field-duplicate{display:block;margin-top:6px;padding:5px 8px;border-radius:var(--radius-sm);background:var(--orange-bg);color:var(--orange);border:1px solid var(--orange);font-size:.76rem;font-weight:700;overflow-wrap:anywhere}.kast-deposits{margin-bottom:10px}.kast-deposit-row{border:1px dashed var(--green);background:var(--green-bg)}.kast-deposit-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.kast-card-form{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.kast-card-form input{flex:1 1 110px;min-width:0}.party-bulk-bar{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:8px 0;padding:8px;border:1px solid var(--border,rgba(127,127,127,.3));border-radius:12px}.party-bulk-count{font-size:13px;opacity:.8}.party-bulk-actions{display:flex;flex-wrap:wrap;gap:6px;width:100%}.party-bulk-actions button{flex-grow:1;flex-shrink:1;flex-basis:calc(50% - 6px);min-width:0;padding:8px 6px;border-radius:10px;border:1px solid var(--border,rgba(127,127,127,.3));background:transparent;color:inherit;font:inherit;font-size:13px}.party-bulk-actions button.danger{border-color:var(--red);color:var(--red)}.party-bulk-actions button:disabled{opacity:.45}.party-select-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.party-select-row label{display:flex;align-items:center;gap:8px;padding:10px;border:1px solid var(--border,rgba(127,127,127,.3));border-radius:12px;min-width:0}.party-select-row.is-selected label{border-color:var(--green);background:var(--green-bg)}.party-select-name{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700}.party-select-balance{display:flex;flex-direction:column;align-items:flex-end;font-size:12px;white-space:nowrap}.kast-spend-row{border-color:var(--accent,var(--green));flex-wrap:wrap}.kast-spend-row .sl-row-main{flex:1 1 100%;min-width:0}.kast-spend-row .kast-deposit-actions button{white-space:normal;text-align:start}.kast-notify-status{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:6px 0 10px;padding:8px 10px;border-radius:12px;border:1px dashed var(--red);font-size:13px}.kast-notify-status.is-on{border-color:var(--green);background:var(--green-bg)}.delete-code-backdrop{z-index:9000}.delete-code-dialog{width:min(100%,340px);display:flex;flex-direction:column;gap:12px}.delete-code-title{margin:0;font-size:1.05rem}.delete-code-message{margin:0;white-space:pre-line;color:var(--text);font-size:.85rem;line-height:1.6}.delete-code-actions{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;gap:10px}.delete-code-dialog .app-lock-input{flex:none;width:100%;min-height:48px}.delete-code-actions .dialog-danger{grid-column:auto}.delete-code-actions .dialog-danger:disabled{opacity:.5;cursor:not-allowed}.currency-rate-editor{display:flex;flex-direction:column;gap:8px;width:100%}.currency-rate-fields{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:end;grid-gap:6px;gap:6px}.currency-rate-equals{padding-bottom:12px;font-weight:800}.currency-rate-preview{margin:0;font-size:.82rem;color:var(--text)}.currency-rate-preview small{color:var(--text-muted)}.currency-rate-actions{display:grid;grid-template-columns:1fr 1fr;grid-gap:8px;gap:8px}.currency-rate-actions .dialog-primary:disabled{opacity:.5}.currency-rate-saved{color:var(--green);font-size:.75rem;font-weight:700}.ledger-cost-row{align-items:end}.ledger-cost-field>span{font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ledger-cost-field .search-input{font-weight:700;text-align:center}.ledger-cost-field-amount>span{color:var(--brand)}.ledger-cost-field-amount .search-input{border-color:color-mix(in srgb,var(--brand) 45%,var(--border));background:color-mix(in srgb,var(--brand) 6%,var(--surface))}.ledger-cost-field-rate>span{color:var(--orange)}.ledger-cost-field-rate .search-input{border-color:color-mix(in srgb,var(--orange) 45%,var(--border));background:color-mix(in srgb,var(--orange) 6%,var(--surface))}.ledger-cost-save-rate{flex:none;padding:6px 10px;border:1px solid color-mix(in srgb,var(--orange) 40%,var(--border));border-radius:999px;background:color-mix(in srgb,var(--orange) 10%,var(--surface));color:var(--orange);font-family:inherit;font-size:.72rem;font-weight:800;white-space:nowrap;cursor:pointer}.ledger-cost-convert-usd strong{font-size:1.15rem}.ledger-cost-convert-chips{display:grid;grid-template-columns:1fr 1fr;grid-gap:8px;gap:8px}.ledger-cost-chip{display:flex;flex-direction:column;align-items:center;gap:2px;padding:6px;border-radius:10px;font-weight:800;font-size:.9rem}.ledger-cost-chip small{font-size:.68rem;font-weight:700;opacity:.85}.ledger-cost-chip-mru{background:var(--green-bg);color:var(--green)}.ledger-cost-chip-sifa{background:var(--violet-bg);color:var(--violet)}.ledger-profit-chip{background:color-mix(in srgb,var(--yellow) 14%,var(--surface));color:var(--yellow)}.ledger-profit-expected-usd{font-size:1.05rem;font-weight:800}.profit-hero{display:flex;flex-direction:column;align-items:center;gap:6px;padding:16px 14px;border-radius:18px;text-align:center;background:linear-gradient(160deg,color-mix(in srgb,var(--green) 16%,var(--surface)),var(--surface));border:1px solid color-mix(in srgb,var(--green) 30%,var(--border))}.profit-hero.is-loss{background:linear-gradient(160deg,color-mix(in srgb,var(--red) 14%,var(--surface)),var(--surface));border-color:color-mix(in srgb,var(--red) 30%,var(--border))}.profit-hero-label{font-size:.8rem;color:var(--text-muted);font-weight:700}.profit-hero-value{display:flex;align-items:baseline;gap:6px;font-size:2rem;font-weight:800;color:var(--green)}.profit-hero.is-loss .profit-hero-value{color:var(--red)}.profit-hero-value small{font-size:.85rem;color:var(--text-muted)}.profit-hero-parts{display:flex;flex-wrap:wrap;justify-content:center;gap:6px}.profit-hero-parts span{padding:3px 9px;border-radius:999px;background:var(--surface-alt);font-size:.72rem;font-weight:700}.profit-hero-hint{font-size:.68rem;color:var(--text-muted)}.profit-days{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}.profit-day{border:1px solid var(--border);border-radius:14px;background:var(--surface);overflow:hidden}.profit-day-head{display:flex;align-items:center;gap:8px;padding:8px 12px;background:var(--surface-alt);font-size:.8rem}.profit-day-date{font-weight:800}.profit-day-count{color:var(--text-muted);font-size:.7rem}.profit-day-head>strong{-webkit-margin-start:auto;margin-inline-start:auto}.profit-day-hide{border:0;background:transparent;font-size:.95rem;cursor:pointer;padding:2px 4px}.profit-rows{list-style:none;margin:0;padding:0}.profit-rows li+li{border-top:1px solid var(--border)}.profit-row{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border:0;background:transparent;color:var(--text);font-family:inherit;text-align:start;cursor:pointer}.profit-row-main{display:flex;flex-direction:column;gap:2px;min-width:0}.profit-row-main strong{font-size:.82rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profit-row-main small{font-size:.7rem;color:var(--text-muted)}.profit-row-side{display:flex;flex-direction:column;align-items:flex-end;gap:3px;flex:none}.profit-chip{padding:1px 7px;border-radius:999px;font-size:.62rem;font-weight:800}.profit-chip-confirmed{background:var(--green-bg);color:var(--green)}.profit-chip-expected{background:var(--yellow-bg);color:var(--yellow)}.profit-expected{display:flex;flex-direction:column;gap:8px}.profit-expected-toggle{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:11px 12px;border:1px solid color-mix(in srgb,var(--yellow) 35%,var(--border));border-radius:14px;background:var(--yellow-bg);color:var(--text);font-family:inherit;font-size:.8rem;font-weight:700;cursor:pointer}.profit-hidden-days{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:.75rem;color:var(--text-muted)}.profit-hidden-chip{padding:4px 10px;border:1px dashed var(--border);border-radius:999px;background:var(--surface);color:var(--brand);font-family:inherit;font-size:.72rem;font-weight:700;cursor:pointer}.profit-reset-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));grid-gap:8px;gap:8px}.profit-reset-btn{min-height:42px;border:1px solid color-mix(in srgb,var(--red) 40%,var(--border));border-radius:12px;background:var(--surface);color:var(--red);font-family:inherit;font-size:.78rem;font-weight:800;cursor:pointer}.profit-reset-undo{border-color:var(--border);color:var(--brand)}.profit-detail{margin:0 0 12px;display:flex;flex-direction:column;gap:8px}.profit-detail>div{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;font-size:.8rem}.profit-detail dt{color:var(--text-muted);font-weight:700;flex:none}.profit-detail dd{margin:0;display:flex;flex-direction:column;align-items:flex-end;gap:2px;text-align:end;font-weight:700;min-width:0}.profit-detail dd small{font-size:.68rem;color:var(--text-muted);font-weight:600}.profit-detail-block{padding:9px 10px;border-radius:12px;background:var(--surface-alt)}.profit-detail-sale{background:color-mix(in srgb,var(--brand) 9%,var(--surface))}.profit-detail-cost{background:color-mix(in srgb,var(--orange) 9%,var(--surface))}.profit-detail-profit{background:var(--green-bg)}.profit-detail-profit dd strong{color:var(--green)}.profit-detail-loss{background:var(--red-bg)}.profit-detail-loss dd strong{color:var(--red)}.profit-detail-rep{background:var(--violet-bg)}.profit-detail-ours{border:1px solid color-mix(in srgb,var(--green) 35%,var(--border));background:var(--surface)}.profit-detail-ours dd strong{color:var(--green);font-size:1rem}.profit-detail-open{display:block;text-align:center}.profit-section-head{margin-top:4px}button.today-tile{width:100%;font-family:inherit;color:inherit;text-align:start;cursor:pointer}.today-lines{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}.today-lines li+li{border-top:1px solid var(--border)}.today-line{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 2px;color:var(--text);text-decoration:none;font-size:.82rem}.today-line-main{display:flex;flex-direction:column;gap:2px;min-width:0}.today-line-main strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.today-line-main small{color:var(--text-muted);font-size:.7rem}.today-line>strong{flex:none}.today-line-go{color:var(--brand);font-weight:700;flex:none}.rep-copy-send{display:flex;flex-direction:column;gap:8px;margin-top:12px;padding:12px;border-radius:14px;border:1px solid color-mix(in srgb,var(--brand) 30%,var(--border));background:color-mix(in srgb,var(--brand) 6%,var(--surface))}.rep-mode-tabs{margin-bottom:10px}.rep-copy{display:flex;flex-direction:column;gap:10px}.rep-copy-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.rep-copy-head small{color:var(--text-muted);font-size:.7rem}.rep-copy-list{list-style:none;margin:0;padding:0;gap:10px}.rep-copy-card,.rep-copy-list{display:flex;flex-direction:column}.rep-copy-card{gap:8px;padding:12px;border:1px solid var(--border);border-radius:16px;background:var(--surface)}.rep-copy-card.is-suspended{border-color:color-mix(in srgb,var(--red) 50%,var(--border));background:color-mix(in srgb,var(--red) 6%,var(--surface))}.rep-copy-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.rep-copy-name{font-size:.9rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.rep-copy-status{flex:none;padding:2px 9px;border-radius:999px;font-size:.7rem;font-weight:800}.rep-copy-status-good{background:var(--green-bg);color:var(--green)}.rep-copy-status-bad{background:var(--red-bg);color:var(--red)}.rep-copy-status-warn{background:var(--yellow-bg);color:var(--yellow)}.rep-copy-client{display:flex;flex-wrap:wrap;gap:8px;font-size:.78rem;color:var(--text-muted)}.rep-copy-phone{color:var(--brand);text-decoration:none}.rep-copy-chips{display:flex;flex-wrap:wrap;gap:6px}.rep-copy-chip{padding:3px 9px;border-radius:999px;background:var(--surface-alt);font-size:.7rem;font-weight:700}.rep-copy-chip.is-soon{background:var(--yellow-bg);color:var(--yellow)}.rep-copy-chip.is-expired{background:var(--red-bg);color:var(--red)}.rep-copy-money{display:grid;grid-template-columns:1fr 1fr;grid-gap:8px;gap:8px}.rep-copy-money>span{display:flex;flex-direction:column;gap:2px;padding:7px 9px;border-radius:10px;background:var(--surface-alt)}.rep-copy-money small{font-size:.66rem;color:var(--text-muted)}.rep-copy-money strong{display:flex;flex-direction:column;font-size:.82rem}.rep-copy-actions{display:grid;grid-template-columns:1fr 1fr;grid-gap:8px;gap:8px}.rep-copy-ops-title{margin:4px 0;font-size:.85rem}.rep-copy>.search-input{flex:none;width:100%;min-height:44px}.rep-copy-money strong.rep-copy-inline{display:block}.sl-search{flex:none;width:100%;min-height:44px;margin-bottom:10px}.rep-copy-banner{position:fixed;inset-inline:16px;top:max(12px,var(--safe-top,0px));z-index:8000;padding:10px 14px;border-radius:14px;background:var(--surface);border:1px solid color-mix(in srgb,var(--green) 45%,var(--border));box-shadow:0 10px 30px rgba(0,0,0,.25);color:var(--text);font-size:.82rem;font-weight:700;text-align:center}.rep-mode-back{align-self:flex-start;margin-bottom:8px}.rep-pending-chip{flex:none;padding:2px 8px;border-radius:999px;background:var(--yellow-bg);color:var(--yellow);font-size:.66rem;font-weight:800;white-space:nowrap}.rep-send-banner{display:flex;align-items:center;gap:10px;width:100%;margin:0 0 12px;padding:10px 12px;border:1px solid var(--violet);border-radius:var(--radius-md);background:var(--violet-bg);color:var(--text);font:inherit;text-align:start;cursor:pointer}.rep-send-banner>span:first-child{font-size:1.4rem}.rep-send-banner strong{display:block;color:var(--violet);font-size:.9rem}.rep-send-banner small{color:var(--text-muted);font-size:.76rem}.rep-send-banner:disabled{opacity:.7}.section-header-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:4px 10px}.rep-added-chip-clear{-webkit-margin-start:6px;margin-inline-start:6px;padding:0 2px;border:0;background:none;color:inherit;font:inherit;opacity:.75;cursor:pointer}.rep-added-chip{flex:none;padding:2px 8px;border-radius:999px;background:var(--violet-bg);color:var(--violet);font-size:.66rem;font-weight:800;white-space:nowrap}.rep-inbox-card{margin:0 0 12px;padding:10px;border:1px solid var(--violet);border-radius:var(--radius-md);background:var(--surface)}.rep-inbox-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 8px;margin-bottom:6px}.rep-inbox-head small,.rep-inbox-main small{color:var(--text-muted);font-size:.74rem}.rep-inbox-all{display:flex;align-items:center;gap:6px;font-size:.82rem;margin:4px 0}.rep-inbox-items{list-style:none;margin:0;padding:0;display:grid;grid-gap:6px;gap:6px}.rep-inbox-item{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"check main buttons" "check amount buttons";align-items:center;grid-gap:2px 8px;gap:2px 8px;padding:8px;border-radius:var(--radius-sm);background:var(--surface-alt)}.rep-inbox-check{grid-area:check}.rep-inbox-main{grid-area:main;display:grid;min-width:0;overflow-wrap:anywhere}.rep-inbox-main strong{font-size:.86rem}.rep-inbox-amount{grid-area:amount;font-weight:800;font-size:.82rem;color:var(--green)}.rep-inbox-buttons{grid-area:buttons;display:flex;gap:4px}.rep-inbox-buttons button{min-width:36px;min-height:36px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);font-size:1rem;cursor:pointer}.rep-inbox-newDevice{-webkit-border-start:3px solid var(--violet);border-inline-start:3px solid var(--violet)}.rep-inbox-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.rep-inbox-actions button{flex:1 1 140px}.party-owner-chips{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 4px}.party-owner-chip{display:inline-flex;align-items:center;gap:4px;min-height:34px;padding:4px 10px;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--text);font:inherit;font-size:.8rem;font-weight:700;cursor:pointer}.party-owner-chip-active{border-color:var(--brand);background:var(--brand);color:var(--brand-contrast)}.party-balance-chips{margin:0 0 6px}.rep-pair{margin:0 0 12px}.rep-phone-bound{color:var(--yellow);font-weight:700}.rep-phone-bound.is-bound{color:var(--green)}.rep-ops{margin-top:8px}.rep-op-side{display:grid;justify-items:end;flex:none}.rep-op-side small{color:var(--text-muted);font-size:.72rem}.rep-clients-owes strong{color:var(--red)}.rep-untangle{margin-top:12px}.rep-untangle-row{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-gap:4px 8px;gap:4px 8px;align-items:center}.rep-untangle-row .rep-transfer-name{display:grid;min-width:0;overflow-wrap:anywhere}.rep-untangle-row .rep-transfer-name small{color:var(--text-muted);font-size:.74rem}.rep-untangle-row .text-action{grid-column:1/-1;justify-self:start}.rep-net small{color:var(--text-muted);font-size:.7rem;font-weight:600}.expenses-totals{display:grid;grid-template-columns:1fr 1fr;grid-gap:6px;gap:6px;margin-bottom:8px}.expenses-totals>div{display:flex;flex-direction:column;gap:2px;min-width:0;padding:8px 10px;border-radius:var(--radius-sm);background:var(--red-bg);border:1px solid var(--border)}.expenses-totals small{color:var(--text-muted);font-size:.72rem}.expenses-totals strong{color:var(--red);font-size:.95rem;overflow-wrap:anywhere}.expenses-cats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-gap:5px;gap:5px;margin-bottom:8px}.expenses-cat{display:flex;flex-direction:column;align-items:center;gap:1px;min-width:0;padding:6px 2px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--text);font:inherit;cursor:pointer}.expenses-cat>span{font-size:1.15rem;line-height:1.2}.expenses-cat>small{font-size:.68rem;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.expenses-cat-new{border-style:dashed}.expenses-bars,.expenses-list{list-style:none;margin:6px 0;padding:0;display:flex;flex-direction:column;gap:4px}.expenses-bars li{position:relative;display:flex;justify-content:space-between;gap:8px;padding:5px 8px;border-radius:var(--radius-sm);background:var(--surface);font-size:.8rem;overflow:hidden}.expenses-bars li>*{position:relative;z-index:1}.expenses-bar-name small{color:var(--text-muted)}.expenses-bars .expenses-bar{position:absolute;inset-block:0;inset-inline-start:0;z-index:0;background:var(--red-bg)}.expenses-row{display:flex;align-items:center;gap:8px;width:100%;min-width:0;padding:6px 8px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--text);font:inherit;text-align:start;cursor:pointer}.expenses-row-main{display:flex;flex-direction:column;min-width:0;flex:1 1 auto}.expenses-row-main strong{font-size:.82rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.expenses-row-main small{font-size:.7rem;color:var(--text-muted)}.expenses-row-amount{font-weight:800;font-size:.85rem;color:var(--red);white-space:nowrap}.expenses-amount-row{display:flex;gap:6px}.expenses-amount-row>*{min-width:0;flex:1 1}.expenses-icon-input{flex:0 0 56px!important;text-align:center}.backup-banner-slim{gap:8px;padding:6px 10px;margin-bottom:8px}.backup-banner-slim>span:first-child{font-size:1rem}.backup-banner-slim strong{flex:1 1 auto;min-width:0;font-size:.8rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.backup-banner-go{flex:0 0 auto;font-size:.75rem;font-weight:800;color:var(--yellow)}.status-rings{padding:6px 4px 5px}.status-rings .status-ring{gap:2px}.status-rings .status-ring .status-ring-dial{width:32px;height:32px}.status-rings .status-ring .status-ring-core{width:26px;height:26px}.status-rings .status-ring .status-ring-icon{display:none}.status-rings .status-ring .status-ring-value{font-size:.78rem}.account-card-daily-actions{display:flex;gap:6px}.card-daily-action{flex:1 1;min-width:0;min-height:36px;padding:4px 8px;font-size:.8rem;white-space:nowrap}.card-daily-more{flex:0 0 48px;font-size:1.1rem;font-weight:800;letter-spacing:1px}.card-more-list{display:flex;flex-direction:column;gap:6px}.card-more-item{display:flex;align-items:center;gap:10px;width:100%;padding:11px 12px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-alt);color:var(--text);font:inherit;font-weight:700;text-align:start;cursor:pointer}.card-more-item-bad{color:var(--red)}.card-more-item small{-webkit-margin-start:auto;margin-inline-start:auto;color:var(--text-muted);font-size:.75rem;text-align:end}.card-more-item:disabled{opacity:.5}.device-dot-button{font:inherit;cursor:pointer}.device-dot-count{-webkit-margin-start:4px;margin-inline-start:4px;font-weight:800}.dish-alert-list{list-style:none;margin:0 0 8px;padding:0;gap:8px}.dish-alert,.dish-alert-list{display:flex;flex-direction:column}.dish-alert{gap:3px;padding:10px 12px;border:1px solid color-mix(in srgb,var(--yellow) 45%,var(--border));border-radius:var(--radius-sm);background:var(--yellow-bg);color:var(--text)}.dish-alert strong{font-size:.88rem}.dish-alert span{font-size:.8rem}.dish-alert small{font-size:.7rem;color:var(--text-muted);text-align:left}.paste-session-steps{margin:0 0 8px;-webkit-padding-start:18px;padding-inline-start:18px;font-size:.8rem;color:var(--text-muted);display:flex;flex-direction:column;gap:2px}.paste-session-input{width:100%;min-height:96px;font-family:ui-monospace,monospace;font-size:.72rem;resize:vertical}.sync-choice-hint{margin:0;color:var(--text-muted);font-size:.8rem}.sync-queue-bar{position:fixed;z-index:95;right:4px;top:calc(50% + 18vh + 8px);display:flex;align-items:center;gap:4px;opacity:.32;transition:opacity .2s}.sync-queue-bar:active,.sync-queue-bar:focus-within{opacity:.9}.sync-queue-now,.sync-queue-stop{flex-shrink:0;min-height:24px;padding:2px 7px;border:1px solid color-mix(in srgb,var(--green) 40%,transparent);border-radius:999px;background:color-mix(in srgb,var(--surface) 55%,transparent);color:var(--text);font:inherit;font-size:.66rem;white-space:nowrap}.sync-queue-stop{color:var(--red)}.day-circle{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.day-sheet-rows{display:flex;flex-direction:column;gap:6px}.day-sheet-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 12px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-alt);font-size:.88rem}.day-sheet-row>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.day-sheet-muted,.day-sheet-row small{color:var(--text-muted);font-size:.78rem}.day-sheet-wa{flex-shrink:0;padding:5px 12px;border-radius:var(--radius-sm);background:var(--green);color:#fff;font-size:.8rem;text-decoration:none}.day-sheet-ok{color:var(--green);font-size:.8rem}.day-sheet-bad{color:var(--red);font-size:.8rem}.day-sheet-amount{display:block;text-align:end}.money-page .page-title-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.money-hero{text-align:start}.money-hero .net-hero-label,.money-hero .net-hero-value{text-align:center}.money-hero-worth{border-color:var(--border);background:var(--surface-alt)}.money-lines{display:grid;grid-gap:4px;gap:4px;margin:4px 0 0;padding:8px 0 0;list-style:none;border-top:1px dashed var(--border);font-size:.85rem}.money-lines li{display:flex;justify-content:space-between;gap:8px}.money-lines bdi{font-weight:700;white-space:nowrap}.money-in{color:var(--green)}.money-out{color:var(--red)}.money-recurring .report-card-head{align-items:center}.money-recurring-add{flex:none;padding:4px 10px}.money-recurring-list{display:grid;grid-gap:6px;gap:6px;margin:8px 0 0;padding:0;list-style:none}.money-recurring-list li{display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:var(--radius-md);background:var(--surface-alt);font-size:.85rem}.money-recurring-list li>span{flex:1 1;min-width:0;overflow-wrap:anywhere}.money-recurring-list li>bdi{font-weight:700;white-space:nowrap}.money-debt-actions{margin:10px 0 4px}.money-debt-done{opacity:.6}.money-fab-button{background:linear-gradient(135deg,var(--green),#0b7a54);box-shadow:0 10px 26px rgb(14 159 110/.4)}.expenses-totals>div.money-box-in{background:var(--green-bg)}.expenses-totals strong.money-in,.expenses-totals>div.money-box-in strong{color:var(--green)}.money-two{display:grid;grid-template-columns:1fr 1fr;grid-gap:8px;gap:8px}.money-two>div{display:grid;grid-gap:2px;gap:2px;min-width:0;padding:8px;border-radius:var(--radius-md);background:var(--surface);text-align:center}.money-two>.money-two-wide{grid-column:1/-1}.money-two .net-hero-value{font-size:1.3rem;overflow-wrap:anywhere}.money-two-hint{font-size:.68rem;color:var(--text-muted)}.money-group{display:grid;grid-gap:2px;gap:2px;margin-top:8px}.money-group-title{font-size:.75rem;font-weight:700;color:var(--text-muted)}.money-group .money-lines{margin:0;padding:0;border-top:none}.money-line-button{display:flex;align-items:center;gap:8px;width:100%;padding:6px 4px;border:none;border-bottom:1px dashed var(--border);background:transparent;color:var(--text);font:inherit;text-align:start;cursor:pointer}.money-line-button>span:first-child{flex:1 1;min-width:0}.money-line-button bdi{font-weight:700;white-space:nowrap}.money-line-native{color:var(--text-muted);font-size:.8em;white-space:nowrap}.money-line-native bdi{font-weight:600}.money-line-go{color:var(--text-muted)}.money-source select{width:100%}.money-account-row{flex-wrap:wrap}.money-account-row small{color:var(--text-muted)}.money-correct{flex-basis:100%}.money-presets{grid-template-columns:repeat(3,minmax(0,1fr))}.money-preset-active{border-color:var(--green);background:var(--green-bg)}.money-set-balance{flex:none;width:auto;padding:4px 10px;font-size:.8rem}.bank-inbox-card{display:grid;grid-gap:6px;gap:6px;margin-bottom:10px}.bank-inbox-open{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:10px 12px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);color:var(--text);font:inherit;cursor:pointer}.bank-inbox-open strong{font-size:.8rem;color:var(--text-muted)}.bank-inbox-has{border-color:var(--orange);background:var(--orange-bg)}.bank-inbox-has strong{color:var(--orange)}.bank-inbox-enable{width:100%}.bank-reader-down{display:grid;grid-gap:6px;gap:6px;padding:10px 12px;border:1px solid var(--red);border-radius:12px;background:var(--red-bg)}.bank-reader-down strong{color:var(--red)}.bank-reader-down small{color:var(--text-muted)}.bank-inbox-neutral{color:var(--text)}.bank-confirm-head{display:grid;grid-gap:2px;gap:2px;padding:10px;border-radius:var(--radius-md);background:var(--surface-alt);text-align:center;font-size:.82rem;overflow-wrap:anywhere}.bank-confirm-head>strong{font-size:1.3rem}.bank-confirm-head.is-in{background:var(--green-bg)}.bank-confirm-head.is-in>strong{color:var(--green)}.bank-confirm-head.is-out{background:var(--red-bg)}.bank-confirm-head.is-out>strong{color:var(--red)}.bank-confirm-head small{color:var(--text-muted)}.bank-confirm-head .bank-confirm-warn{color:var(--orange)}.bank-confirm-raw{font-size:.75rem;color:var(--text-muted);overflow-wrap:anywhere}.bank-confirm-raw summary{cursor:pointer}.bank-confirm-raw p{margin:6px 0;padding:6px 8px;border-radius:var(--radius-sm);background:var(--surface);white-space:pre-line}.bank-confirm-q{font-size:.85rem}.cat-picker{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-auto-flow:row dense;grid-gap:8px 4px;gap:8px 4px;margin-bottom:8px}.cat-item{display:flex;flex-direction:column;align-items:center;gap:3px;min-width:0;padding:0;border:0;background:transparent;color:var(--text);font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.cat-circle{position:relative;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:var(--surface-alt);border:1px solid var(--border);font-size:1.15rem;line-height:1;transition:transform .15s ease,box-shadow .15s ease}.cat-item:active .cat-circle{transform:scale(.94)}.cat-item small{max-width:100%;font-size:.66rem;font-weight:600;line-height:1.25;color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cat-more{position:absolute;bottom:-3px;inset-inline-start:-3px;display:grid;place-items:center;width:15px;height:15px;border-radius:50%;background:var(--surface);border:1px solid var(--border);color:var(--text-muted);font-size:.55rem;font-style:normal}.cat-item-active .cat-circle{border-color:var(--green);box-shadow:0 0 0 2px var(--green-bg);background:var(--green-bg)}.cat-item-active small{color:var(--green)}.cat-item-new .cat-circle{border-style:dashed;background:transparent}.cat-panel{grid-column:1/-1;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-gap:8px 4px;gap:8px 4px;padding:8px 4px;border-radius:var(--radius-md);background:var(--surface);border:1px solid var(--border)}.rep-inbox-duplicate{border-color:var(--orange)!important;background:var(--orange-bg)!important}.rep-inbox-dup-note{color:var(--orange)!important;font-weight:600}.duplicate-chip{flex:none;padding:2px 8px;border:1px solid var(--orange);border-radius:999px;background:var(--orange-bg);color:var(--orange);font:inherit;font-size:.66rem;font-weight:800;white-space:nowrap;cursor:pointer}.money-danger{display:grid;grid-gap:8px;gap:8px;margin-bottom:90px}.sl-fixed-currency{display:inline-flex;align-items:center;justify-content:center;color:var(--text-muted)}.tour-layer{z-index:2000}.tour-dim,.tour-layer{position:fixed;inset:0}.tour-dim{background:rgb(0 0 0/.62)}.tour-spotlight{position:fixed;border-radius:var(--radius-md);box-shadow:0 0 0 9999px rgb(0 0 0/.62);outline:2px solid var(--brand);outline-offset:2px;transition:top .2s,left .2s,width .2s,height .2s;pointer-events:none}.tour-card{position:fixed;left:12px;right:12px;bottom:calc(var(--bottom-nav-height) + var(--safe-bottom) + 10px);max-height:46vh;overflow-y:auto;padding:14px;border-radius:var(--radius-lg);background:var(--surface);color:var(--text);border:1px solid var(--border);box-shadow:var(--glow);display:flex;flex-direction:column;gap:8px}.tour-card-top{bottom:auto;top:calc(var(--safe-top) + 10px)}.tour-card-head{display:flex;justify-content:space-between;align-items:center}.tour-badge{font-size:.8rem;padding:2px 10px;border-radius:999px;background:var(--violet-bg);color:var(--violet)}.tour-count{font-size:.8rem;color:var(--text-muted)}.tour-title{font-size:1.02rem}.tour-after,.tour-before{margin:0;line-height:1.6;font-size:.92rem}.tour-before{color:var(--text-muted)}.tour-before span{color:var(--red);font-weight:600}.tour-after span{color:var(--green);font-weight:600}.tour-actions{display:flex;align-items:center;gap:10px;margin-top:4px}.tour-actions .dialog-primary{flex:1 1}.whats-new-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.whats-new-row{display:flex;align-items:center;gap:10px;justify-content:space-between}.whats-new-row span{display:flex;flex-direction:column;min-width:0}.whats-new-row small{color:var(--text-muted)}.client-import-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 10px}.client-import-summary{display:flex;flex-direction:column;gap:4px;padding:10px 12px;border-radius:var(--radius-md);background:var(--surface-alt)}.client-import-skipped summary{cursor:pointer;color:var(--text-muted)}.client-import-skipped ul{margin:6px 0 0;-webkit-padding-start:18px;padding-inline-start:18px;max-height:34vh;overflow-y:auto;font-size:.88rem;line-height:1.7}.live-sync-section{display:flex;flex-direction:column;gap:10px}.live-sync-ok{color:var(--green)}.live-sync-status{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:.88rem;color:var(--text-muted)}.money-alert-banner{width:100%;font:inherit;text-align:start;cursor:pointer}.money-alert-banner>span:last-child{display:grid;grid-gap:2px;gap:2px;min-width:0}.money-alerts{display:grid;grid-gap:14px;gap:14px}.money-alerts section{display:grid;grid-gap:6px;gap:6px;min-width:0}.money-alerts p{margin:0}.money-alerts ul{display:grid;grid-gap:6px;gap:6px;margin:0;padding:0;list-style:none}.money-alerts li{display:grid;grid-gap:2px;gap:2px;padding:8px 10px;border-radius:var(--radius-sm);background:var(--surface-alt);min-width:0;overflow-wrap:anywhere}.money-alerts small{color:var(--text-muted)}.money-alerts-bad{color:var(--red)}.money-alerts-good{color:var(--green)}.account-card-recharge-btn{font:inherit;cursor:pointer;border:0}.renewal-lock{display:grid;grid-gap:10px;gap:10px}.renewal-lock-warning{display:grid;grid-gap:6px;gap:6px;padding:10px 12px;border-radius:var(--radius-sm);border:1px solid var(--red);background:var(--surface-alt);min-width:0}.renewal-lock-warning strong{color:var(--red)}.renewal-lock-warning small{color:var(--text-muted)}.renewal-lock-day{display:flex;align-items:center;gap:10px}.renewal-lock-day input{max-width:6rem}.renewal-lock-error{color:var(--red)}.kast-notices-toggle{margin:0 0 8px;font-size:.85rem;color:var(--text-muted)}.kast-deposit-row{padding:8px 10px;gap:6px}.kast-deposit-row .sl-row-main strong{font-size:.82rem}.kast-deposit-row .sl-row-main span{font-size:.72rem}.kast-deposit-actions button{font-size:.75rem;padding:5px 10px;min-height:0}.kast-unregistered{width:100%;font:inherit;text-align:start;cursor:pointer;margin:8px 0}.kast-card-statement{display:grid;grid-gap:14px;gap:14px}.kast-card-statement section{display:grid;grid-gap:6px;gap:6px;min-width:0}.kast-card-months{display:flex;flex-wrap:wrap;gap:6px 12px;font-size:.78rem;color:var(--text-muted)}.kast-card-devices{display:grid;grid-gap:4px;gap:4px;margin:0;padding:0;list-style:none}.kast-card-devices li{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:6px 10px;border-radius:var(--radius-sm);background:var(--surface-alt);font-size:.8rem;min-width:0}.kast-card-devices li>span{min-width:0;overflow-wrap:anywhere}.kast-card-devices small{color:var(--text-muted)}.kast-card-notice{border:1px dashed var(--green)}.day-circle-special .day-circle-num{font-size:1rem}.day-circles-legend{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:4px 12px;margin:4px 0 0;font-size:.7rem;color:var(--text-muted)}.money-alerts-row{display:grid;grid-gap:2px;gap:2px;width:100%;padding:0;border:0;background:none;color:inherit;font:inherit;text-align:start;cursor:pointer}.money-alerts-detail{display:grid;grid-gap:6px;gap:6px;margin-top:8px;padding-top:8px;border-top:1px dashed var(--border);font-size:.8rem}.spend-picker{display:grid;grid-gap:8px;gap:8px}.spend-picker-row{display:flex;justify-content:space-between;align-items:center;gap:8px;width:100%;padding:0;border:0;background:none;color:inherit;font:inherit;text-align:start;cursor:pointer;min-width:0}.spend-picker-row>span{min-width:0;overflow-wrap:anywhere}.rep-copy-stale{display:block;width:100%;margin:6px 0;padding:8px 10px;border:1px solid var(--orange);border-radius:10px;background:color-mix(in srgb,var(--orange) 14%,var(--surface));color:var(--text);font:inherit;font-size:.82rem;font-weight:700;text-align:start}.party-device-tappable{cursor:pointer;position:relative}.party-device-tappable:after{content:"‹";position:absolute;inset-inline-end:10px;bottom:8px;color:var(--text-muted);font-size:1.2rem}.party-device-open{display:flex;flex-direction:column;gap:8px}.party-device-back{align-self:flex-start}.account-card-held-by-rep,.rep-chip-hidden{background:var(--violet-bg);color:var(--violet)}.franc-unit{display:inline-flex;align-items:center;justify-content:center;color:var(--text-muted);white-space:nowrap}.franc-hint{margin:0}.franc-badge{color:var(--text-muted);font-size:.85em;white-space:nowrap}.sl-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:6px;gap:6px;margin:12px 0}.sl-tab{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0;padding:10px 2px 8px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);color:var(--text-muted);font:inherit;cursor:pointer}.sl-tab small{font-size:.72rem;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.sl-tab-icon{font-size:1.45rem;line-height:1}.sl-tab-active{border-color:var(--brand);background:var(--brand);color:var(--brand-contrast);box-shadow:var(--glow)}.sl-tab-count{position:absolute;top:4px;inset-inline-end:4px;min-width:20px;padding:1px 5px;border-radius:999px;background:var(--surface-alt);color:var(--text);font-size:.68rem;font-weight:800;line-height:18px}.sl-tab-count-alert{background:var(--red);color:#fff}.sl-rep-group{margin-top:10px}.sl-rep-head{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;padding:8px 10px;border-radius:var(--radius-sm);background:var(--surface-alt)}.sl-rep-head span{color:var(--text-muted);font-size:.85rem}.sl-rep-head .text-action{-webkit-margin-start:auto;margin-inline-start:auto}.sl-card-devices-toggle{padding:0;text-align:start}.sl-card-devices{list-style:none;padding:0 4px 8px}.sl-card-devices ul{display:flex;flex-direction:column;gap:6px;margin:0;padding:0;list-style:none}.sl-card-devices li{display:flex;align-items:center;gap:10px;padding:8px 10px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-alt)}.sl-card-device-day{flex:none;min-width:58px;padding:4px 6px;border-radius:var(--radius-sm);background:var(--brand);color:var(--brand-contrast);font-size:.8rem;font-weight:800;text-align:center}.sl-card-device-main{display:flex;flex-direction:column;min-width:0}.sl-card-device-main small{color:var(--text-muted);overflow-wrap:anywhere;text-align:start}.plan-open{padding:0;border:none;background:none;font:inherit;text-align:start;cursor:pointer}.plan-device-facts{display:grid;grid-gap:6px;gap:6px;margin:0 0 12px;padding:0;list-style:none}.plan-device-facts li{display:flex;justify-content:space-between;gap:10px;padding:8px 10px;border-radius:var(--radius-sm);background:var(--surface-alt)}.plan-device-facts li span{flex:none;color:var(--text-muted)}.plan-device-facts li bdi{min-width:0;overflow-wrap:anywhere;text-align:end;font-weight:700}.dup-group{display:grid;grid-gap:8px;gap:8px;margin-top:12px;padding:10px;border:1px solid var(--yellow);border-radius:var(--radius-md);background:var(--yellow-bg)}.dup-proof{display:flex;flex-wrap:wrap;gap:4px 8px;align-items:center;font-weight:800;color:var(--yellow)}.dup-proof bdi{min-width:0;overflow-wrap:anywhere;color:var(--text)}.dup-members{display:grid;grid-gap:6px;gap:6px;margin:0;padding:0;list-style:none}.dup-members li{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-gap:2px 8px;gap:2px 8px;align-items:center;padding:8px 10px;border-radius:var(--radius-sm);background:var(--surface)}.dup-members li small,.dup-members li strong{grid-column:1;min-width:0;overflow-wrap:anywhere}.dup-members li small{color:var(--text-muted)}.dup-members li .text-action{grid-column:2;grid-row:1/span 2}.dup-merge{justify-self:start;text-decoration:none}.dup-members li small bdi{white-space:nowrap}.cur-guard-banner{display:grid;grid-gap:4px;gap:4px;padding:12px 14px;border:2px solid var(--red);border-radius:var(--radius-md);background:var(--red-bg);color:var(--red);font-size:.92rem;line-height:1.5}.cur-guard-banner span{color:var(--text);font-size:.82rem}.cur-guard-backdrop{z-index:200}.cur-guard-modal{width:min(100%,420px);display:grid;grid-gap:10px;gap:10px;padding:20px 18px;border:3px solid var(--red);border-radius:22px;background:var(--surface);color:var(--text);text-align:center;box-shadow:0 24px 70px rgba(0,0,0,.35);animation:cur-guard-shake .45s ease-in-out}.cur-guard-icon{font-size:2.4rem;line-height:1}.cur-guard-modal h2{margin:0;color:var(--red);font-size:1.35rem}.cur-guard-main{margin:0;padding:10px 12px;border-radius:var(--radius-md);background:var(--red-bg);color:var(--red);font-weight:800;font-size:1.02rem;line-height:1.6}.cur-guard-note,.cur-guard-source{margin:0;color:var(--text-muted);font-size:.86rem;line-height:1.5}.cur-guard-actions{display:grid;grid-gap:8px;gap:8px;margin-top:4px}.cur-guard-actions button{width:100%;min-height:46px}.cur-guard-confirm{border:1.5px solid var(--red);border-radius:var(--radius-md);background:transparent;color:var(--red);font:inherit;font-weight:700;cursor:pointer}.cur-badge{display:inline-block;padding:1px 7px;border-radius:999px;background:var(--red-bg);color:var(--red);font-size:.72rem;font-weight:800;white-space:nowrap}.cur-default-field select{width:100%}@keyframes cur-guard-shake{0%,to{transform:translateX(0)}20%{transform:translateX(-8px)}40%{transform:translateX(8px)}60%{transform:translateX(-5px)}80%{transform:translateX(5px)}}@media (prefers-reduced-motion:reduce){.cur-guard-modal{animation:none}}.device-note-line{display:flex;align-items:center;gap:8px;width:100%;min-width:0;margin:0 0 8px;padding:5px 10px;border:1px solid color-mix(in srgb,var(--violet) 35%,transparent);border-radius:var(--radius-sm);background:var(--violet-bg);color:var(--violet);font:inherit;font-size:.82rem;font-weight:700;text-align:start;cursor:pointer}.device-note-pin{flex:none;white-space:nowrap}.device-note-text-line{flex:1 1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.pinned-chip{border-color:var(--violet);color:var(--violet)}.pinned-chip.faulty-chip-active{background:var(--violet);border-color:var(--violet);color:var(--brand-contrast)}.device-note-menu .party-sheet-option small{display:block;color:var(--text-muted);font-size:.78rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:62vw}.device-note-editor{display:grid;grid-gap:10px;gap:10px}.device-note-text{width:100%;min-height:84px;resize:vertical;border-color:var(--violet);font:inherit}.device-note-until{display:grid;grid-gap:4px;gap:4px;font-size:.85rem;color:var(--text-muted)}.device-note-editor .dialog-primary{background:var(--violet);border-color:var(--violet)}.device-note-delete{justify-self:center;color:var(--red)}.pinned-clear-chip{border-style:dashed;border-color:var(--violet);color:var(--violet)}.device-note-log{border:1px solid var(--border);border-radius:var(--radius-md);padding:8px 10px;font-size:.85rem}.device-note-log summary{cursor:pointer;font-weight:700;color:var(--violet)}.device-note-log ul{display:grid;grid-gap:6px;gap:6px;margin:8px 0 0;padding:0;list-style:none}.device-note-log li{display:grid;grid-gap:2px;gap:2px;padding-bottom:6px;border-bottom:1px dashed var(--border)}.device-note-log li bdi{color:var(--text-muted);font-size:.75rem}.device-note-ask-text{margin:0 0 10px;padding:6px 10px;border-radius:var(--radius-sm);background:var(--violet-bg);color:var(--violet);font-weight:700}.travel-fee-send{display:block;text-align:center;text-decoration:none}.status-ring-violet{--tone:var(--violet)}.status-ring-recent{--tone:var(--mint)}.status-ring-notRenewed{--tone:var(--orange)}.status-ring-pinned{--tone:var(--violet)}.status-ring-faulty{--tone:var(--red)}.status-ring-repair{--tone:var(--orange)}.status-ring-travel{--tone:var(--yellow)}.status-ring-travelDone{--tone:var(--green)}.status-ring-fromRep{--tone:var(--brand)}.status-ring-noClient{--tone:var(--gray)}.status-ring-notCanceled{--tone:var(--green)}.status-ring-canceled{--tone:var(--gray)}.status-ring-renewed{--tone:var(--mint)}.status-ring-sis{--tone:var(--yellow)}.status-ring-rom{--tone:var(--brand)}.status-ring-g100{--tone:var(--violet)}.status-ring-duplicate{--tone:var(--red)}.status-ring-rep{--tone:var(--brand)}.status-rings-more{margin-top:8px;row-gap:8px}.travel-book{display:flex;flex-direction:column;gap:8px;margin:0 0 10px}.travel-rings{grid-template-columns:repeat(6,minmax(0,1fr))}.travel-book-money{display:grid;grid-template-columns:auto minmax(0,1fr);grid-gap:4px 10px;gap:4px 10px;align-items:start;padding:8px 12px;border:1px solid var(--green);border-radius:var(--radius-sm);color:var(--green);font-size:.8rem;font-weight:700}.travel-book-money-list{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:0}.travel-book-money-amount{font-feature-settings:"tnum";font-variant-numeric:tabular-nums;color:var(--text)}.travel-book-hint,.travel-book-money-none{color:var(--text-muted)}.travel-book-hint{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;margin:0;font-size:.78rem}.travel-book-rep{display:flex;flex-direction:column;gap:6px;padding:10px 12px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);font-size:.82rem}.travel-book-rep .travel-book-money{border-color:var(--violet);color:var(--violet)}.travel-book-warn{color:var(--yellow);font-weight:600}.travel-book-actions{display:flex;flex-wrap:wrap;gap:4px 16px}.travel-book-actions a{text-decoration:none}.travel-book-sheet{display:flex;flex-direction:column;gap:8px}.reports-topbar{position:-webkit-sticky;position:sticky;top:env(safe-area-inset-top,0);z-index:30;display:flex;flex-direction:column;gap:6px;margin:0 -4px 10px;padding:8px 4px;background:var(--bg);border-bottom:1px solid var(--border)}.reports-topbar-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.reports-topbar-row .section-title{margin:0}.reports-more{position:relative}.reports-more summary{list-style:none;cursor:pointer;min-width:40px;min-height:40px;display:grid;place-items:center;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);font-size:1.2rem}.reports-more summary::-webkit-details-marker{display:none}.reports-more-menu{position:absolute;inset-inline-end:0;top:calc(100% + 4px);z-index:40;display:flex;flex-direction:column;min-width:220px;padding:6px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);box-shadow:0 8px 24px rgba(0,0,0,.25)}.reports-more-menu a,.reports-more-menu button{min-height:42px;padding:8px 10px;border:0;background:transparent;color:var(--text);font:inherit;text-align:start;text-decoration:none}.reports-search{position:relative}.reports-search .search-input{width:100%;-webkit-padding-end:36px;padding-inline-end:36px}.reports-search-clear{position:absolute;inset-inline-end:6px;top:50%;transform:translateY(-50%);width:28px;height:28px;border:0;border-radius:50%;background:var(--surface-alt,var(--border));color:var(--text);font-size:1.1rem}.reports-search-results{max-height:55vh;overflow-y:auto;gap:4px}.dash,.reports-search-results{display:flex;flex-direction:column}.dash{gap:12px}.dash-toolbar{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.dash-period{flex:1 1 140px;min-width:0}.dash-tool{min-height:40px;padding:6px 10px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--text);font:inherit;font-size:.8rem}.dash-custom{display:grid;grid-template-columns:1fr 1fr;grid-gap:8px;gap:8px}.dash-custom label{display:flex;flex-direction:column;gap:2px;font-size:.75rem;color:var(--text-muted);min-width:0}.dash-jump{display:flex;gap:6px;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}.dash-jump button{flex:0 0 auto;min-height:34px;padding:4px 10px;border:1px solid var(--border);border-radius:999px;background:var(--surface);font:inherit;white-space:nowrap}.dash-jump button,.dash-period-note{color:var(--text-muted);font-size:.75rem}.dash-period-note{margin:0}.dash-section{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);overflow:hidden;scroll-margin-top:130px}.dash-section-head{display:flex;align-items:center;gap:6px;-webkit-padding-end:8px;padding-inline-end:8px}.dash-section-toggle{flex:1 1;display:flex;align-items:center;gap:8px;min-height:48px;padding:8px 12px;border:0;background:transparent;color:var(--text);font:inherit;text-align:start}.dash-section-toggle h2{flex:1 1;margin:0;font-size:.95rem}.dash-chevron{transition:transform .2s ease;transform:rotate(90deg);color:var(--text-muted)}.dash-chevron-open{transform:rotate(0deg)}.dash-section-body{display:flex;flex-direction:column;gap:10px;padding:0 12px 12px}.dash-section-kpis{border-color:color-mix(in srgb,var(--brand) 40%,var(--border))}.dash-section-compare{border-color:color-mix(in srgb,var(--violet) 40%,var(--border))}.dash-section-monthly{border-color:color-mix(in srgb,var(--green) 40%,var(--border))}.dash-section-waterfall{border-color:color-mix(in srgb,var(--orange) 40%,var(--border))}.dash-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:8px;gap:8px}.dash-kpi{display:flex;flex-direction:column;min-width:0;border-radius:var(--radius-sm);border:1px solid color-mix(in srgb,var(--tone) 35%,var(--border));background:linear-gradient(160deg,color-mix(in srgb,var(--tone) 16%,var(--surface)),var(--surface))}.dash-kpi,.dash-kpi-rev{--tone:var(--brand)}.dash-kpi-profit{--tone:var(--green)}.dash-kpi-loss{--tone:var(--red)}.dash-kpi-warn{--tone:var(--yellow)}.dash-kpi-neutral{--tone:var(--text-muted)}.dash-kpi-open{grid-column:1/-1}.dash-kpi-main{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-height:92px;padding:10px;border:0;background:transparent;color:var(--text);font:inherit;text-align:start}.dash-kpi-label{font-size:.72rem;color:var(--text-muted);font-weight:600}.dash-kpi-value{font-size:1.15rem;font-weight:800;color:var(--text);font-feature-settings:"tnum";font-variant-numeric:tabular-nums;line-height:1.2}.dash-kpi-value small{font-size:.65rem;font-weight:600;color:var(--text-muted)}.dash-kpi-empty{font-size:.75rem;color:var(--text-muted)}.dash-kpi-how{padding:0 10px 10px;font-size:.78rem;color:var(--text-muted)}.dash-kpi-how p{margin:0 0 4px}.dash-change{font-size:.72rem;font-weight:700;color:var(--text-muted)}.dash-change-good{color:var(--green)}.dash-change-bad{color:var(--red)}.dash-change-none{font-weight:600}.dash-chips{display:flex;flex-wrap:wrap;gap:6px}.dash-chip{min-height:34px;padding:4px 10px;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--text-muted);font:inherit;font-size:.75rem}.dash-chip-on{border-color:var(--brand);color:var(--brand);background:color-mix(in srgb,var(--brand) 12%,var(--surface));font-weight:700}.dash-compare{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.dash-compare li{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"label change" "values values";grid-gap:2px 8px;gap:2px 8px;padding:8px 10px;border-radius:var(--radius-sm);background:color-mix(in srgb,var(--violet) 6%,var(--surface))}.dash-compare-label{grid-area:label;font-size:.8rem;font-weight:700}.dash-compare li .dash-change{grid-area:change;align-self:center}.dash-compare-values{grid-area:values;display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;min-width:0}.dash-compare-values strong{font-size:1rem;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.dash-compare-values small{color:var(--text-muted);font-size:.72rem}.dash-year{display:inline-flex;align-items:center;gap:6px;font-weight:700}.dash-year button{min-width:34px;min-height:34px;border:1px solid var(--border);border-radius:50%;background:var(--surface);color:var(--text);font-size:1.1rem}.dash-year button:disabled{opacity:.35}.dash-chart{display:flex;flex-direction:column;gap:6px}.dash-chart-svg{width:100%;height:180px;display:block}.dash-chart-base{stroke:var(--border);stroke-width:1}.dash-chart-hit{fill:transparent;cursor:pointer}.dash-chart-hit-on{fill:color-mix(in srgb,var(--brand) 10%,transparent)}.dash-chart-axis{fill:var(--text-muted);font-size:10px}.dash-chart-tip{display:flex;flex-wrap:wrap;gap:2px 12px;min-height:24px;font-size:.78rem}.dash-chart-hint,.dash-legend{color:var(--text-muted)}.dash-legend{display:flex;gap:12px;font-size:.75rem}.dash-legend i{display:inline-block;width:10px;height:10px;border-radius:3px;vertical-align:middle}.dash-best{display:flex;flex-direction:column;gap:2px;font-size:.8rem;font-weight:700}.dash-table-wrap{overflow-x:auto}.dash-table{width:100%;border-collapse:collapse;font-size:.75rem;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.dash-table td,.dash-table th{padding:6px 4px;border-bottom:1px solid var(--border);text-align:start;white-space:nowrap}.dash-table th{color:var(--text-muted);font-weight:600}.dash-waterfall{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}.dash-water-line{display:flex;width:100%;justify-content:space-between;align-items:baseline;gap:10px;min-height:40px;padding:6px 4px;border:0;border-bottom:1px dashed var(--border);background:transparent;color:var(--text);font:inherit;font-size:.82rem;text-align:start}.dash-water-line bdi{font-weight:700;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;white-space:nowrap}.dash-water-total{border-bottom:0;border-top:2px solid var(--text);font-weight:800}.dash-sub,.dash-water-aside{color:var(--text-muted)}.dash-sub{margin:4px 0 0;font-size:.8rem}.dash-sources{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.dash-sources li{display:grid;grid-template-columns:90px minmax(0,1fr) auto;align-items:center;grid-gap:8px;gap:8px;font-size:.8rem}.dash-sources-label small{color:var(--text-muted)}.dash-sources-bar{height:10px;border-radius:999px;background:color-mix(in srgb,var(--chart-1) 14%,transparent);overflow:hidden}.dash-sources-bar i{display:block;height:100%;border-radius:999px;background:var(--chart-1)}.dash-sources-value{font-weight:700;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;white-space:nowrap}.dash-sources-value small{color:var(--text-muted);font-weight:600}.dash-alerts{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.dash-alert{padding:8px 10px;border-radius:var(--radius-sm);-webkit-border-start:4px solid var(--tone,var(--brand));border-inline-start:4px solid var(--tone,var(--brand));background:color-mix(in srgb,var(--tone,var(--brand)) 10%,var(--surface));font-size:.82rem;line-height:1.5}.dash-alert-good{--tone:var(--green)}.dash-alert-warn{--tone:var(--yellow)}.dash-alert-bad{--tone:var(--red)}.dash-goals{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}.dash-goal{--tone:var(--chart-1);display:grid;grid-template-columns:minmax(0,1fr);grid-gap:4px;gap:4px;font-size:.8rem}.dash-goal-good{--tone:var(--green)}.dash-goal-warn{--tone:var(--yellow)}.dash-goal-bad{--tone:var(--red)}.dash-goal-rev{--tone:var(--chart-1)}.dash-goal-label{font-weight:700}.dash-goal-bar{height:10px;border-radius:999px;background:color-mix(in srgb,var(--tone) 14%,transparent);overflow:hidden}.dash-goal-bar i{display:block;height:100%;border-radius:999px;background:var(--tone);transition:width .3s ease}.dash-goal small{color:var(--text-muted);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.dash-goals-form{display:flex;flex-direction:column;gap:8px}.fin-rings{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));grid-gap:8px;gap:8px}.fin-ring{display:flex;flex-direction:column;align-items:center;min-width:0}.fin-ring-open{grid-column:1/-1}.fin-ring-btn{display:flex;flex-direction:column;align-items:center;gap:4px;padding:4px;border:0;background:transparent;color:var(--text);font:inherit}.fin-ring-svg{width:76px;height:76px}.fin-ring-track{fill:none;stroke:color-mix(in srgb,var(--text-muted) 18%,transparent);stroke-width:7}.fin-ring-text{fill:var(--text);font-size:13px;font-weight:800}.fin-ring-label{font-size:.72rem;line-height:1.3}.fin-ring-how,.fin-ring-label{color:var(--text-muted);text-align:center}.fin-ring-how{margin:2px 0 0;font-size:.75rem}.fin-donut{display:flex;flex-direction:column;gap:6px;padding-top:6px;border-top:1px dashed var(--border)}.fin-donut-title{font-size:.85rem}.fin-donut-body{display:grid;grid-template-columns:96px minmax(0,1fr);grid-gap:10px;gap:10px;align-items:center}.fin-donut-svg{width:96px;height:96px}.fin-donut-legend{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px;min-width:0}.fin-donut-legend button{display:grid;grid-template-columns:10px minmax(0,1fr) auto auto;align-items:center;grid-gap:6px;gap:6px;width:100%;min-height:30px;padding:2px 4px;border:0;border-radius:6px;background:transparent;color:var(--text);font:inherit;font-size:.75rem;text-align:start}.fin-donut-legend button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fin-donut-legend i{width:10px;height:10px;border-radius:3px}.fin-donut-legend bdi{font-weight:700;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.fin-donut-legend small{color:var(--text-muted)}.fin-donut-on{background:color-mix(in srgb,var(--brand) 10%,transparent)!important}.fin-donut-unit{color:var(--text-muted);font-size:.7rem}.fin-gauge{display:flex;flex-direction:column;align-items:center;gap:2px}.fin-gauge-svg{width:180px;height:100px;max-width:100%}.fin-gauge-text{fill:var(--text);font-size:18px;font-weight:800}.fin-gauge-label{font-weight:700;font-size:.85rem}.fin-gauge-sub{color:var(--text-muted);font-size:.75rem}.dash-mini-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:8px;gap:8px}.dash-mini{--tone:var(--brand);display:flex;flex-direction:column;gap:2px;min-width:0;padding:8px 10px;border-radius:var(--radius-sm);border:1px solid color-mix(in srgb,var(--tone) 30%,var(--border));background:color-mix(in srgb,var(--tone) 8%,var(--surface))}.dash-mini-good{--tone:var(--green)}.dash-mini-bad{--tone:var(--red)}.dash-mini-warn{--tone:var(--yellow)}.dash-mini-rev{--tone:var(--chart-1)}.dash-mini-neutral{--tone:var(--text-muted)}.dash-mini span{font-size:.72rem;color:var(--text-muted);font-weight:600}.dash-mini strong{font-size:1rem;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.dash-mini small{font-size:.68rem;color:var(--text-muted)}.dash-ranks{gap:4px}.dash-rank,.dash-ranks{display:flex;flex-direction:column}.dash-rank{list-style:none;margin:0;padding:0;gap:6px}.dash-rank li{display:grid;grid-template-columns:minmax(0,1fr) 70px auto;align-items:center;grid-gap:8px;gap:8px;font-size:.8rem}.dash-rank li>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dash-rank li small{color:var(--text-muted)}.dash-rank li bdi{font-weight:700;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.dash-rank-bar{height:8px;border-radius:999px;background:color-mix(in srgb,var(--green) 14%,transparent);overflow:hidden}.dash-rank-bar i{display:block;height:100%;border-radius:999px;background:var(--green)}.dash-rank-more{color:var(--text-muted)}.dash-ranks+.dash-ranks{margin-top:4px}.dash-aside-box{display:flex;justify-content:space-between;align-items:baseline;gap:8px;padding:8px 10px;border-radius:var(--radius-sm);border:1px dashed var(--yellow);font-size:.8rem}.dash-aside-box bdi{font-weight:700;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.dash-sources-value{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:2px 6px}.dash-section-alerts{border-color:color-mix(in srgb,var(--yellow) 45%,var(--border))}.dash-section-goals{border-color:color-mix(in srgb,var(--green) 40%,var(--border))}.dash-section-starlink{border-color:color-mix(in srgb,var(--chart-1) 40%,var(--border))}.dash-section-customers,.dash-section-debts{border-color:color-mix(in srgb,var(--red) 35%,var(--border))}.report-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.report-tabs .report-tab{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dash-section-suppliers{border-color:color-mix(in srgb,var(--orange) 35%,var(--border))}.dash-section-alerts{border-color:color-mix(in srgb,var(--yellow) 40%,var(--border))}.dash-section-badge{padding:1px 8px;border-radius:999px;background:color-mix(in srgb,var(--red) 14%,var(--surface));color:var(--red);font-size:.7rem;font-weight:800;white-space:nowrap}.dash-mini-btn{font:inherit;color:var(--text);text-align:start;cursor:pointer}.dash-mini-btn:active{transform:scale(.98)}.dash-center{list-style:none;margin:0;padding:0;gap:6px}.dash-center,.dash-center-item{display:flex;flex-direction:column}.dash-center-item{--tone:var(--brand);gap:2px;padding:8px 10px;border-radius:var(--radius-sm);border:1px solid color-mix(in srgb,var(--tone) 35%,var(--border));-webkit-border-start:4px solid var(--tone);border-inline-start:4px solid var(--tone);background:color-mix(in srgb,var(--tone) 6%,var(--surface));min-width:0}.dash-sev-info{--tone:var(--chart-1)}.dash-sev-warn{--tone:var(--yellow)}.dash-sev-critical{--tone:var(--red)}.dash-center-resolved{opacity:.75}.dash-center-head{display:flex;align-items:flex-start;gap:6px;width:100%;padding:0;border:0;background:transparent;color:var(--text);font:inherit;text-align:start}.dash-sev-badge{flex:none;padding:1px 6px;border-radius:6px;background:var(--tone);color:var(--surface);font-size:.65rem;font-weight:800}.dash-center-title{flex:1 1;min-width:0;font-size:.82rem;font-weight:700;overflow-wrap:anywhere}.dash-center-new{flex:none;color:var(--red);font-size:.65rem;font-weight:800}.dash-center-meta{color:var(--text-muted);font-size:.68rem}.dash-center-body{display:flex;flex-direction:column;gap:4px;font-size:.78rem}.dash-center-body p{margin:0}.dash-center-amount{font-weight:700}.dash-center-actions{display:flex;flex-wrap:wrap;gap:4px 12px}.dash-rules{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.dash-rules li{display:grid;grid-template-columns:minmax(0,1fr) 96px;grid-gap:6px;gap:6px;align-items:center;font-size:.78rem}.dash-rule-on{display:flex;align-items:center;gap:6px;min-width:0}.dash-rule-sev{padding:4px 6px;font-size:.75rem}.dash-goal-rate{color:var(--text-muted)}.dash-goal-field{display:grid;grid-template-columns:minmax(0,1fr) 90px;grid-gap:6px;gap:6px;align-items:end}.dash-goal-cur{padding:6px}.dash-forecast{display:flex;flex-direction:column;gap:6px;padding-top:8px;border-top:1px dashed var(--border)}.dash-forecast>strong{font-size:.85rem}.dash-kinds{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}.dash-kinds button{display:flex;justify-content:space-between;align-items:center;gap:8px;width:100%;min-height:36px;padding:4px 6px;border:0;border-bottom:1px solid var(--border);background:transparent;color:var(--text);font:inherit;font-size:.8rem;text-align:start}.dash-kinds button>span:first-child{min-width:0}.dash-kinds small{color:var(--text-muted)}.dash-kinds-values{display:flex;flex-direction:column;align-items:flex-end;font-weight:700;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;white-space:nowrap}.dash-places{display:grid;grid-template-columns:minmax(0,1fr);grid-gap:8px;gap:8px}.dash-place{display:flex;flex-direction:column;gap:4px;padding:8px 10px;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface);color:var(--text);font:inherit;text-align:start;min-width:0}.dash-place>strong{font-size:.85rem}.dash-place>strong small{color:var(--text-muted);font-weight:600}.dash-place-lines{display:flex;flex-direction:column;gap:1px;font-size:.76rem;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.dash-place-total{font-weight:800;padding-top:2px;border-top:1px solid var(--border)}.dash-lists{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:6px;gap:6px}.dash-list-btn{display:flex;flex-direction:column;gap:2px;padding:8px;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface);color:var(--text);font:inherit;font-size:.75rem;text-align:start}.dash-list-btn strong{font-size:.85rem}.dash-list-btn:disabled{opacity:.6}.dash-rank-name{padding:0;border:0;background:transparent;color:var(--text);font:inherit;text-align:start;min-width:0;overflow-wrap:anywhere}.dash-rank-name small{color:var(--text-muted)}.dash-rank li a{color:var(--text);overflow-wrap:anywhere}.dash-aging{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}.dash-aging button{display:grid;grid-template-columns:96px minmax(0,1fr) auto;align-items:center;grid-gap:8px;gap:8px;width:100%;min-height:32px;padding:2px 4px;border:0;border-radius:6px;background:transparent;color:var(--text);font:inherit;font-size:.78rem;text-align:start}.dash-aging bdi{font-weight:700;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;white-space:nowrap}.dash-aging-on{background:color-mix(in srgb,var(--brand) 10%,transparent)!important}.dash-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-gap:6px;gap:6px}.dash-filters input{grid-column:1/-1}.dash-debtors{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}.dash-debtor-head{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-gap:2px 8px;gap:2px 8px;width:100%;padding:6px 4px;border:0;border-bottom:1px solid var(--border);background:transparent;color:var(--text);font:inherit;font-size:.8rem;text-align:start}.dash-debtor-head>span{font-weight:700;min-width:0;overflow-wrap:anywhere}.dash-debtor-head bdi{font-weight:800;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;white-space:nowrap}.dash-debtor-head small{grid-column:1/-1;color:var(--text-muted);font-size:.7rem}.dash-debtor-body{gap:2px;padding:4px 6px 8px;font-size:.75rem}.dash-debtor-body,.dash-drill{display:flex;flex-direction:column}.dash-drill{gap:6px}.dash-drill-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}.dash-drill-list li>a,.dash-drill-list li>div{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:6px 2px;border-bottom:1px solid var(--border);color:var(--text);text-decoration:none}.dash-drill-main{display:flex;flex-direction:column;gap:1px;min-width:0}.dash-drill-main strong{font-size:.8rem;overflow-wrap:anywhere}.dash-drill-main small{color:var(--text-muted);font-size:.7rem;overflow-wrap:anywhere}.dash-drill-list bdi{font-weight:700;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;white-space:nowrap;font-size:.8rem}.dash-bars-svg{height:150px}.money-text{white-space:nowrap}.dash-drill-amount{font-weight:700;font-size:.8rem;flex:none}.renewal-ask-backdrop{z-index:210}.renewal-ask{width:min(100%,420px);display:grid;grid-gap:10px;gap:10px;padding:20px 18px;border:2px solid var(--brand);border-radius:22px;background:var(--surface);color:var(--text);text-align:center;box-shadow:0 24px 70px rgba(0,0,0,.35)}.renewal-ask-icon{font-size:2.2rem;line-height:1}.renewal-ask h2{margin:0;font-size:1.25rem}.renewal-ask-main{margin:0;padding:10px 12px;border-radius:var(--radius-md);background:color-mix(in srgb,var(--brand) 10%,var(--surface));font-weight:700;line-height:1.6}.renewal-ask-note{margin:0;color:var(--text-muted);font-size:.82rem;line-height:1.5}.renewal-ask-actions{display:grid;grid-gap:8px;gap:8px}.renewal-ask-actions button{width:100%;min-height:46px}.remittance-open{margin-bottom:10px}.remittance-body,.remittance-form,.remittance-pay{display:grid;grid-gap:8px;gap:8px}.remittance-grid,.remittance-place{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:6px;gap:6px}.remittance-place .balance-hint,.remittance-place .form-field:only-of-type{grid-column:1/-1}.remittance-grid select,.remittance-place select{min-width:0;width:100%}.remittance-commission{display:grid;grid-gap:6px;gap:6px;padding:8px;border:1px solid var(--border);border-radius:var(--radius-md)}.remittance-preview{margin:0;padding:8px 10px;border-radius:var(--radius-sm);background:var(--surface-2,var(--surface));font-size:.82rem;line-height:1.6}.remittance-list{display:grid;grid-gap:6px;gap:6px}.money-recurring-list.remittance-list>li.remittance-row{display:grid;align-items:stretch;grid-gap:6px;gap:6px;padding:8px 10px;border:1px solid var(--border);border-radius:var(--radius-md)}.remittance-row-head{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;width:100%;padding:0;border:0;background:none;color:var(--text);font:inherit;text-align:start;cursor:pointer}.remittance-row-head>span{display:grid;grid-gap:2px;gap:2px;min-width:0}.remittance-row-head small{color:var(--text-muted);font-size:.72rem;overflow-wrap:anywhere}.remittance-row-figures{flex-shrink:0;text-align:end}.remittance-detail{display:grid;grid-gap:6px;gap:6px;font-size:.8rem}.remittance-detail p{margin:0;line-height:1.6}.standby-pending-chip{flex:none;padding:2px 8px;border-radius:999px;background:var(--blue-bg,var(--surface-alt));color:var(--blue,var(--text));font-size:.66rem;font-weight:800;white-space:nowrap}.remittance-actions{display:flex;flex-wrap:wrap;gap:6px}.remittance-actions>button{flex:1 1 auto}.remittance-payment{display:inline-flex;align-items:center;gap:4px}.money-account-name{display:block;flex:1 1;min-width:0;padding:0;border:0;background:none;color:var(--text);font:inherit;text-align:start;cursor:pointer}.money-account-statement{color:var(--brand)!important;font-weight:700}.place-ledger{display:grid;grid-gap:10px;gap:10px}.place-ledger-currency{display:grid;grid-gap:8px;gap:8px}.place-ledger-totals{display:grid;grid-gap:2px;gap:2px;padding:8px 10px;border-radius:var(--radius-md);background:var(--surface-alt);font-weight:800}.place-ledger-totals small{color:var(--text-muted);font-weight:500;font-size:.74rem}.place-ledger-list{display:grid;grid-gap:6px;gap:6px;margin:0;padding:0;list-style:none}.place-ledger-row{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;padding:7px 10px;border:1px solid var(--border);-webkit-border-start:3px solid var(--green);border-inline-start:3px solid var(--green);border-radius:var(--radius-sm);font-size:.82rem}.place-ledger-row.out{border-inline-start-color:var(--red)}.place-ledger-what{display:grid;grid-gap:2px;gap:2px;min-width:0;overflow-wrap:anywhere}.place-ledger-figures small,.place-ledger-what small{color:var(--text-muted);font-size:.7rem}.place-ledger-figures{display:grid;grid-gap:2px;gap:2px;flex-shrink:0;text-align:end}.place-ledger-in{color:var(--green)}.place-ledger-out{color:var(--red)}.place-ledger-money{white-space:nowrap}.place-ledger-opening{margin:0;color:var(--text-muted);font-size:.76rem}html:has(.party-sheet-backdrop,.dialog-backdrop,.proof-viewer-backdrop,.shortcut-sheet-layer,.whatsapp-menu-backdrop,.more-menu-layer,.bottom-nav-sheet-backdrop,.app-lock-overlay,.ocean-alarm),html:has(.party-sheet-backdrop,.dialog-backdrop,.proof-viewer-backdrop,.shortcut-sheet-layer,.whatsapp-menu-backdrop,.more-menu-layer,.bottom-nav-sheet-backdrop,.app-lock-overlay,.ocean-alarm) body{overflow:hidden;overscroll-behavior:none}.bottom-nav-sheet-backdrop,.bottom-nav-sheet-backdrop *,.dialog-backdrop,.dialog-backdrop *,.more-menu-layer,.more-menu-layer *,.party-sheet-backdrop,.party-sheet-backdrop *,.proof-viewer-backdrop,.shortcut-sheet-layer,.shortcut-sheet-layer *,.whatsapp-menu-backdrop,.whatsapp-menu-backdrop *{overscroll-behavior:contain}.place-tools{display:grid;grid-gap:8px;gap:8px}.place-tools-buttons{display:flex;flex-wrap:wrap;gap:6px}.place-tools-buttons .is-active{border-color:var(--brand);color:var(--brand)}.money-low-chip,.place-tools-buttons .place-low{color:var(--red)!important;font-weight:800}.money-line-button.is-low{box-shadow:inset 3px 0 0 var(--red)}.place-match{display:grid;grid-gap:8px;gap:8px;padding:10px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-alt)}.place-match-diff{margin:0;font-weight:800;color:var(--red)}.place-match-diff.is-ok{color:var(--green)}.place-match-list{display:grid;grid-gap:6px;gap:6px;margin:0;padding:0;list-style:none}.place-match-list li{display:grid;grid-gap:2px;gap:2px;padding:6px 8px;border-radius:var(--radius-sm);background:var(--surface);font-size:.8rem;overflow-wrap:anywhere}.place-match-list small{color:var(--text-muted)}.bank-ready-all{width:100%;margin-bottom:8px}.bank-ready-chip{color:var(--green)!important;font-weight:700}.bank-remember{gap:6px;font-size:.8rem;color:var(--text-muted)}.bank-remember,.money-day-pick{display:flex;align-items:center}.money-day-pick{gap:8px;margin-bottom:8px}.money-day-pick .search-input{flex:1 1;min-width:0}.balance-hint{display:block;margin-top:2px;color:var(--text-muted);font-size:.74rem;font-weight:600}.money-period-row{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}.money-period-row .report-period-btn{flex:0 0 auto}.rep-rates-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:8px;gap:8px}.rep-rates-grid .rep-form-field{min-width:0}.rep-rates-example{margin:0;padding:8px 10px;border-radius:10px;background:var(--surface-alt);font-size:.85rem}.rep-summary-account{display:grid;grid-gap:6px;gap:6px;padding:8px 10px;border:1px solid var(--border);border-radius:var(--radius-sm)}.rep-summary-account-title{font-size:.95rem}.rep-summary-net{opacity:.85;font-size:.85rem}.party-net{display:grid;grid-template-columns:1fr auto;grid-gap:2px 8px;gap:2px 8px;align-items:center;margin-top:6px;padding:8px 10px;border:1px dashed var(--border);border-radius:var(--radius-sm)}.party-net strong{font-size:1.05rem}.party-net-due strong{color:var(--red)}.party-net-clear strong{color:var(--green)}.party-net small{grid-column:1/-1;color:var(--text-muted)}.party-net-rate{display:inline-flex;flex-wrap:wrap;align-items:center;gap:4px 6px}.party-net-rate .search-input{width:6.5rem;min-width:0;padding:4px 8px}.party-net-edit{font-size:.85rem}.rep-reset-versions{display:grid;grid-gap:4px;gap:4px;padding:8px;border-radius:var(--radius-md);background:var(--surface);font-size:.85rem}.rep-reset-version{display:flex;align-items:center;justify-content:space-between;gap:8px}.rep-version-pick select{width:100%}.rep-reset-date{white-space:nowrap}.rep-accounts-page{position:fixed;inset:0;z-index:110;overflow-y:auto;padding:calc(12px + env(safe-area-inset-top, 0px)) 16px calc(24px + env(safe-area-inset-bottom, 0px));background:var(--bg);display:grid;align-content:start;grid-gap:12px;gap:12px}.rep-accounts-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.rep-accounts-head h2{margin:0;font-size:1.1rem}.rep-accounts-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));grid-gap:8px;gap:8px}.rep-accounts-tile{display:grid;grid-gap:4px;gap:4px;min-width:0;padding:10px 8px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);color:var(--text);font:inherit;text-align:center;cursor:pointer}.rep-accounts-tile span{font-size:.78rem;color:var(--text-muted)}.rep-accounts-tile strong{font-size:.95rem;overflow-wrap:anywhere}.rep-accounts-tile small{font-size:.68rem;color:var(--text-muted)}.rep-accounts-tile-active{border-color:var(--brand);box-shadow:0 0 0 1px var(--brand)}.rep-accounts-due strong{color:var(--red)}.rep-accounts-clear strong{color:var(--green)}.rep-accounts-body{display:grid;grid-gap:10px;gap:10px}.rep-accounts-body h3{margin:0;font-size:1rem}.rep-accounts-actions{display:grid;grid-template-columns:1fr 1fr;grid-gap:6px;gap:6px}.rep-accounts-action-on{border-color:var(--brand)}.rep-accounts-actions>:nth-child(3):last-child{grid-column:1/-1}.rep-accounts-zero{margin:0;font-weight:600}.rep-accounts-currency{display:flex;align-items:center;justify-content:center}.rep-accounts-lines{display:grid;grid-gap:6px;gap:6px;margin:0;padding:0;list-style:none}.rep-accounts-lines li{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;border-radius:var(--radius-md);background:var(--surface)}.rep-accounts-lines li>div{display:grid;grid-gap:2px;gap:2px;min-width:0}.rep-accounts-lines li span{font-size:.85rem;overflow-wrap:anywhere}.rep-accounts-lines li small{font-size:.7rem;color:var(--text-muted)}.rep-accounts-lines li strong{flex:none;font-size:.85rem}.rep-accounts-plus{color:var(--green)}.rep-accounts-minus{color:var(--red)}.money-line-amount{display:flex;flex-direction:column;align-items:flex-end;gap:1px;min-width:0;text-align:end}.money-manage-accounts{display:block;margin:6px auto 0}.money-search,.money-summary{display:flex;flex-direction:column;gap:6px}.money-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:8px;gap:8px}.money-card{display:flex;flex-direction:column;min-width:0;border-radius:var(--radius-md);border:1px solid color-mix(in srgb,var(--tone) 40%,var(--border));background:linear-gradient(160deg,color-mix(in srgb,var(--tone) 18%,var(--surface)),var(--surface));box-shadow:var(--card-shadow)}.money-card,.money-card-have{--tone:var(--brand)}.money-card-net{--tone:var(--green)}.money-card-net.is-loss,.money-card-owe{--tone:var(--red)}.money-card-owed{--tone:var(--mint)}.money-card-open{grid-column:1/-1}.money-card-main{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-height:104px;padding:10px;border:0;background:transparent;color:var(--text);font:inherit;text-align:start;min-width:0}.money-card-label{font-size:.74rem;font-weight:700;color:var(--text-muted)}.money-card-value{font-size:1.3rem;font-weight:800;line-height:1.15;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;color:var(--tone);overflow-wrap:anywhere}.money-card-value small{font-size:.66rem;font-weight:600;color:var(--text-muted)}.money-card-currencies{display:flex;flex-direction:column;gap:1px;font-size:.72rem;color:var(--text);font-feature-settings:"tnum";font-variant-numeric:tabular-nums;min-width:0}.money-card-currencies bdi{overflow-wrap:anywhere}.money-card-how{padding:0 10px 10px;font-size:.78rem;color:var(--text-muted)}.money-card-how p{margin:0 0 4px}.money-summary-note{margin:0;font-size:.72rem;color:var(--text-muted)}.money-fold-bar .dash-tool{flex:1 1}.money-section{scroll-margin-top:16px}.money-badge{font-feature-settings:"tnum";font-variant-numeric:tabular-nums;background:var(--surface-alt);color:var(--text)}.money-badge-good{color:var(--green);background:var(--green-bg)}.money-badge-bad{color:var(--red);background:var(--red-bg)}.money-badge-warn{color:var(--yellow);background:var(--yellow-bg)}.money-section .money-danger{margin-bottom:0}.money-section-reset{margin-bottom:90px}.money-section .money-lines{margin:0}.money-alerts{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.money-alert{--tone:var(--brand);display:flex;align-items:center;gap:10px;width:100%;padding:10px;border:1px solid color-mix(in srgb,var(--tone) 40%,var(--border));-webkit-border-start:4px solid var(--tone);border-inline-start:4px solid var(--tone);border-radius:var(--radius-sm);background:color-mix(in srgb,var(--tone) 8%,var(--surface));color:var(--text);font:inherit;text-align:start}.money-alert-critical{--tone:var(--red)}.money-alert-warn{--tone:var(--yellow)}.money-alert-info{--tone:var(--mint)}.money-alert-icon{font-size:1.2rem}.money-alert-text{display:flex;flex-direction:column;gap:2px;flex:1 1;min-width:0}.money-alert-text strong{font-size:.85rem}.money-alert-text small{font-size:.74rem;color:var(--text-muted)}.dash-hosted-alerts{display:flex;flex-direction:column;gap:8px;padding-top:6px;border-top:1px dashed var(--border)}.dash-hosted-alerts-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.dash-hosted-alerts-head strong{font-size:.85rem}.money-shares{display:flex;flex-direction:column;gap:6px}.money-shares-bar{display:flex;height:14px;border-radius:999px;overflow:hidden;background:var(--surface-alt)}.money-shares-bar span{display:block;height:100%;min-width:2px}.money-shares-legend{display:flex;flex-wrap:wrap;gap:4px 12px;font-size:.74rem;color:var(--text)}.money-shares-legend i{display:inline-block;width:10px;height:10px;border-radius:3px;vertical-align:middle}.money-currency-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.money-currency-list>li{border:1px solid var(--border);border-radius:var(--radius-sm);padding:8px 10px;background:var(--surface)}.money-currency-head{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:4px}.money-currency-head small{color:var(--text-muted);font-size:.72rem}.money-currency-grid{display:grid;grid-template-columns:auto minmax(0,1fr);grid-gap:2px 12px;gap:2px 12px;font-size:.8rem;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.money-currency-grid>span{color:var(--text-muted)}.money-currency-grid>bdi,.money-currency-grid>strong{text-align:end;overflow-wrap:anywhere}.money-currency-grid small{color:var(--text-muted);font-weight:500}.money-compare{display:flex;flex-direction:column;gap:6px;padding:8px 0;border-top:1px solid var(--border)}.money-compare-title{font-size:.88rem}.money-compare .dash-period-note bdi{white-space:nowrap}.money-compare-note{margin:0;font-size:.74rem;color:var(--text-muted)}.money-compare-note.is-warn{color:var(--yellow);font-weight:600}.money-aging{display:flex;flex-direction:column;gap:6px;padding-top:6px;border-top:1px solid var(--border)}.money-aging>strong{font-size:.82rem}.money-aging-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}.money-aging-list li{display:grid;grid-template-columns:96px minmax(0,1fr) auto;align-items:center;grid-gap:8px;gap:8px;font-size:.75rem}.money-aging-bar{height:8px;border-radius:999px;background:var(--surface-alt);overflow:hidden}.money-aging-bar i{display:block;height:100%;background:var(--green)}.money-aging-d8_30 .money-aging-bar i{background:var(--yellow)}.money-aging-d31_60 .money-aging-bar i{background:var(--orange)}.money-aging-d60p .money-aging-bar i{background:var(--red)}.money-aging-list bdi{font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.report-moved-note{display:block;padding:10px 12px;border:1px dashed color-mix(in srgb,var(--brand) 50%,var(--border));border-radius:var(--radius-sm);color:var(--brand);font-size:.82rem;text-decoration:none}.rep-accounts-add,.rep-accounts-named{border-style:dashed}.rep-accounts-add,.rep-accounts-add strong{color:var(--brand)}.rep-ledger-new h3{margin:0;font-size:1rem}.rep-ledger-kinds{display:flex;flex-wrap:wrap;gap:6px}.rep-ledger-balance{display:grid;grid-gap:2px;gap:2px;margin:0;padding:10px 12px;border-radius:var(--radius-md);background:var(--surface)}.rep-ledger-balance strong{font-size:1.2rem;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.rep-ledger-balance small{color:var(--text-muted);font-size:.75rem}.rep-ledger-balance.rep-accounts-due strong{color:var(--red)}.rep-ledger-balance.rep-accounts-clear strong{color:var(--green)}.rep-ledger .rep-accounts-lines li>div{flex:1 1}.rep-ledger-delete{flex:none;min-width:36px;min-height:36px}.rep-ledger-remove{color:var(--red);justify-self:start}.rep-accounts-actions>:nth-child(5):last-child{grid-column:1/-1}.rep-ledger-currencies{display:grid;grid-gap:6px;gap:6px;margin:0;padding:0;list-style:none}.rep-ledger-currencies li{display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:var(--radius-md);background:var(--surface)}.rep-ledger-franc{display:grid;grid-gap:8px;gap:8px;padding:10px 12px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface)}.rep-ledger-franc p{margin:0}.rep-ledger-currencies small{color:var(--text-muted);flex:1 1}.device-mark-button{font:inherit;font-size:.85rem;font-weight:800;cursor:pointer;padding:0;text-decoration:none}.device-mark-button:active{transform:scale(.94)}.account-card-rep-client{font-size:.75rem;color:var(--text-muted);overflow-wrap:anywhere}.report-fold>summary{cursor:pointer;list-style:none;font-weight:700;color:var(--text)}.report-fold>summary::-webkit-details-marker{display:none}.report-fold>summary:after{content:" ▼";font-size:.75em;color:var(--text-muted)}.report-fold[open]>summary:after{content:" ▲"}.report-fold[open]>summary{margin-bottom:10px}.rep-perms-sheet{gap:8px}.rep-perms-list,.rep-perms-sheet{display:flex;flex-direction:column}.rep-perms-list{gap:10px;max-height:52vh;overflow-y:auto;min-width:0}.rep-perms-group{display:flex;flex-direction:column;gap:4px}.rep-perms-title{margin:0;font-size:.86rem;color:var(--text-muted)}.rep-perms-row{display:flex;align-items:center;gap:10px;padding:8px 10px;border:1px solid var(--border);border-radius:12px;background:var(--surface);cursor:pointer;min-width:0}.rep-perms-row.is-on{border-color:var(--brand)}.rep-perms-row.is-locked{opacity:.75;cursor:default}.rep-perms-row input{width:20px;height:20px;flex:none;accent-color:var(--brand)}.rep-perms-icon{flex:none;font-size:1.1rem}.rep-perms-text{display:flex;flex-direction:column;min-width:0}.rep-perms-text small{color:var(--text-muted);overflow-wrap:anywhere}.rep-perms-sheet>.search-input{flex:none;height:auto;min-height:0}.svc-bubbles{flex:none}.svc-bubble,.svc-bubbles{display:inline-flex;align-items:center;gap:3px}.svc-bubble{direction:ltr;padding:1px 8px;border-radius:999px;border:1px solid;font-size:.72rem;font-weight:800;line-height:1.5;letter-spacing:.02em}.svc-date{font-weight:600;font-size:.66rem;opacity:.85}.svc-arrow{color:var(--text-muted);font-size:.7rem}.svc-rom{color:var(--brand);background:color-mix(in srgb,var(--brand) 14%,transparent)}.svc-100g{color:var(--violet);background:var(--violet-bg)}.svc-sis{color:var(--yellow);background:var(--yellow-bg)}.svc-stop{color:var(--red);background:var(--red-bg)}.svc-res{color:var(--green);background:var(--green-bg)}.svc-billing{color:var(--orange);background:var(--orange-bg)}.status-ring-toSis{--tone:var(--yellow)}.status-ring-toStop{--tone:var(--red)}.duplicate-chip-clear{flex:none;width:22px;height:22px;-webkit-margin-start:-4px;margin-inline-start:-4px;padding:0;border:1px solid var(--orange);border-radius:999px;background:var(--orange-bg);color:var(--orange);font:inherit;font-size:.7rem;font-weight:800;line-height:1;cursor:pointer}.account-card-top-row{flex-wrap:wrap;row-gap:6px}.account-card-top-row>.account-card-title-block{flex:1 1 130px}.account-card.account-card-svc-rom{-webkit-border-start:4px solid var(--brand);border-inline-start:4px solid var(--brand)}.account-card.account-card-svc-100g{-webkit-border-start:4px solid var(--violet);border-inline-start:4px solid var(--violet)}.account-card.account-card-svc-sis{-webkit-border-start:4px solid var(--yellow);border-inline-start:4px solid var(--yellow)}.account-card.account-card-svc-stop{-webkit-border-start:4px solid var(--red);border-inline-start:4px solid var(--red)}.account-card.account-card-svc-res{-webkit-border-start:4px solid var(--green);border-inline-start:4px solid var(--green)}.account-card.account-card-svc-billing{-webkit-border-start:4px solid var(--orange);border-inline-start:4px solid var(--orange)}.svc-bubble.svc-same{opacity:.45;border-style:dashed}.account-card-name-copy{padding:0;border:0;background:none;color:inherit;font:inherit;font-size:.9rem;font-weight:700;text-align:start;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;cursor:pointer}.account-card-unpaid-tag{color:var(--red);font-weight:800}.account-card-days{font-weight:800}.account-card-days.date-expired{color:var(--red)}.account-card-days.date-warning{color:var(--orange)}.account-card-days.date-ok,.account-card-days.date-safe{color:var(--green)}.device-dots.device-dots-compact{gap:6px}.device-dots.device-dots-compact .device-dot{flex:0 1 auto;padding:2px 8px;font-size:.62rem}.account-card-one-row{gap:5px}.account-card-one-row .card-action{min-width:0;white-space:nowrap}.account-card-one-row .card-action-primary{flex:1.4 1}.account-card-one-row .card-daily-action{flex:1 1;padding-inline:6px}.account-card-one-row .card-daily-more{flex:0 0 40px}.suggest-input-row{display:flex;gap:6px;min-width:0}.suggest-input-row input{flex:1 1 auto;min-width:0}.suggest-again{flex:none;padding:0 10px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--brand);font:inherit;font-size:.75rem;font-weight:700;white-space:nowrap;cursor:pointer}.suggest-again:disabled{opacity:.45;cursor:default}.mail-domain-switch{display:flex;gap:6px;flex-wrap:wrap}.mail-domain-switch button{padding:3px 10px;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--text-muted);font:inherit;font-size:.75rem;font-weight:700;cursor:pointer;direction:ltr}.mail-domain-switch button.active{border-color:var(--brand);color:var(--brand)}.mail-domain-steps{margin:0;-webkit-padding-start:18px;padding-inline-start:18px;display:grid;grid-gap:4px;gap:4px}.sync-line{position:fixed;right:0;top:50%;transform:translateY(-50%);z-index:95;width:26px;height:36vh;padding:0;border:0;background:none;cursor:pointer;-webkit-tap-highlight-color:transparent}.sync-line-track{right:4px;top:0;bottom:0;width:5px;border-radius:999px;background:color-mix(in srgb,var(--green) 16%,transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--green) 22%,transparent)}.sync-line-fill,.sync-line-track{position:absolute;overflow:hidden}.sync-line-fill{inset:auto 0 0 0;height:var(--fill,0);min-height:6px;border-radius:inherit;background:linear-gradient(to top,color-mix(in srgb,var(--green) 55%,transparent),var(--green));box-shadow:0 0 10px color-mix(in srgb,var(--green) 60%,transparent);transition:height .7s cubic-bezier(.22,1,.36,1)}.sync-line.is-live .sync-line-fill:after,.sync-line.is-live .sync-line-track:after{content:"";position:absolute;inset-inline:0;height:40%;bottom:-40%;background:linear-gradient(0deg,transparent,rgb(255 255 255/.55),transparent);animation:sync-line-run 1.8s ease-in-out infinite}.sync-line.is-live .sync-line-track:after{background:linear-gradient(to top,transparent,color-mix(in srgb,var(--green) 35%,transparent),transparent);animation-duration:2.6s}@keyframes sync-line-run{to{bottom:110%}}.sync-line-tag{position:absolute;right:14px;bottom:clamp(0px,calc(var(--fill, 0%) - 13px),calc(100% - 26px));display:inline-flex;align-items:center;gap:6px;max-width:min(58vw,240px);padding:4px 10px 4px 8px;border-radius:999px;background:color-mix(in srgb,var(--surface) 62%,transparent);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid color-mix(in srgb,var(--green) 35%,transparent);color:var(--text);font-size:.74rem;font-weight:600;white-space:nowrap;opacity:.88;transition:bottom .7s cubic-bezier(.22,1,.36,1)}.sync-line-text{overflow:hidden;text-overflow:ellipsis;direction:rtl;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.sync-line-dot{flex:none;width:7px;height:7px;border-radius:50%;background:var(--green)}.sync-line.is-live .sync-line-dot{animation:sync-line-pulse 1.2s ease-in-out infinite}@keyframes sync-line-pulse{0%,to{box-shadow:0 0 0 0 color-mix(in srgb,var(--green) 55%,transparent)}50%{box-shadow:0 0 0 5px transparent}}.sync-line.is-over .sync-line-fill{animation:sync-line-done .9s ease-out 1}@keyframes sync-line-done{50%{box-shadow:0 0 18px var(--green)}}.sync-line.has-failed .sync-line-tag{border-color:color-mix(in srgb,var(--red) 45%,transparent)}@media (prefers-reduced-motion:reduce){.sync-line *,.sync-line :after{animation:none!important;transition:none!important}}.sync-run-stop{width:100%;margin-bottom:10px;padding:10px;border:1px solid var(--red);border-radius:var(--radius-sm);background:var(--red-bg);color:var(--red);font:inherit;font-weight:700}.sync-run-chips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}.sync-run-chip{padding:3px 10px;border-radius:999px;font-size:.82rem;font-weight:600;background:var(--surface-alt)}.sync-run-chip.is-ok{background:var(--green-bg);color:var(--green)}.sync-run-chip.is-pending{background:var(--gray-bg);color:var(--text-muted)}.sync-run-chip.is-nothing{background:var(--yellow-bg);color:var(--yellow)}.sync-run-chip.is-failed{background:var(--red-bg);color:var(--red)}.sync-run-list{display:grid;grid-gap:10px;gap:10px;max-height:55vh;overflow-y:auto}.sync-run-title{margin:0 0 4px;font-size:.85rem;color:var(--text-muted)}.sync-run-row{border:1px solid var(--border);border-radius:var(--radius-sm);-webkit-border-start:3px solid var(--border);border-inline-start:3px solid var(--border);margin-bottom:6px;background:var(--surface)}.sync-run-row.is-ok{border-inline-start-color:var(--green)}.sync-run-row.is-failed{border-inline-start-color:var(--red)}.sync-run-row.is-nothing{border-inline-start-color:var(--yellow)}.sync-run-row.is-current{border-inline-start-color:var(--brand)}.sync-run-row-head{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:9px 10px;border:0;background:none;color:inherit;font:inherit;text-align:start}.sync-run-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}.sync-run-row-head small{flex:none;color:var(--text-muted)}.sync-run-row-body{padding:0 10px 10px;font-size:.85rem;color:var(--text-muted)}.sync-run-row-body p{margin:0 0 8px;line-height:1.6}.sync-run-row-actions{display:flex;flex-wrap:wrap;gap:8px}.account-card .account-card-head{flex-wrap:nowrap}.account-card .account-card-head>.account-card-title-block{flex:1 1 auto;min-width:0}.account-card .account-card-head .account-card-name,.account-card-head-email{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-card-head-email{display:inline-flex;align-items:center;gap:5px;max-width:100%;min-width:0;padding:0;border:0;background:none;color:var(--text-muted);font:inherit;font-size:.74rem;font-weight:600;text-align:start;align-self:flex-start;cursor:pointer}.account-card-head-email svg{flex:none;width:13px;height:13px}.account-card-status-row{display:flex;align-items:center;gap:6px;flex-wrap:nowrap;min-height:26px;overflow:hidden}.account-card-status-row>*{flex:none}.account-card-status-row .svc-bubble{min-height:24px;padding-block:0}.account-card-status-row .device-marks{gap:4px}.account-card-status-row .device-mark{width:24px;height:24px;border-radius:8px;font-size:.78rem}.account-card-status-row .badge{white-space:nowrap}.account-card-flags-row{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.account-card .account-card-money-row{flex-wrap:nowrap;min-height:26px;white-space:nowrap}.account-card-money-row>span:not(.account-card-label){min-width:0;overflow:hidden;text-overflow:ellipsis}.account-card-gap-chip{flex:none;-webkit-margin-start:auto;margin-inline-start:auto;padding:3px 9px;border:1px dashed var(--orange);border-radius:999px;background:var(--orange-bg);color:var(--orange);font:inherit;font-size:.72rem;font-weight:800;cursor:pointer}.account-card .account-card-device-row{flex-wrap:nowrap;min-height:26px}.account-card-device-row .device-dots{flex:0 1 auto;min-width:0;flex-wrap:nowrap}.account-card-device-row .device-dot{white-space:nowrap}.account-card-device-row>:not(.device-dots){flex:none}@media (max-width:400px){.account-card-device-row .device-dot-label{display:none}}.account-card-one-row .card-action,.account-card-one-row .whatsapp-menu-wrapper{min-height:38px}.account-card-one-row .card-act-icon{flex:none;width:17px;height:17px}.account-card-one-row .card-act-pay .card-act-icon{color:var(--green)}.account-card-one-row .card-act-sync .card-act-icon{color:var(--violet)}.account-card-one-row .card-act-more .card-act-icon{color:var(--text-muted)}.account-card-one-row .card-action-primary .card-act-icon{color:var(--brand-contrast)}.account-card-one-row .whatsapp-menu-wrapper{flex:0 0 38px;display:grid}.account-card .account-card-one-row .whatsapp-btn{width:38px;height:38px;border-radius:10px}.account-card .account-card-one-row .whatsapp-btn svg{width:17px;height:17px}.sync-run-trace{padding:6px 8px;border-radius:var(--radius-sm);background:var(--surface-alt);color:var(--text);font-size:.78rem}.sync-run-trace small{color:var(--text-muted)}.party-stat-button{font:inherit;color:inherit;cursor:pointer}.party-move-tools{display:flex;align-items:center;gap:6px;margin-bottom:6px}.party-move-filters{display:flex;flex:1 1;gap:4px;min-width:0;overflow-x:auto}.party-move-filters button,.party-move-search-btn{flex:none;padding:4px 10px;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--text-muted);font:inherit;font-size:.74rem;font-weight:700}.party-move-filters button.active,.party-move-search-btn.active{border-color:var(--brand);color:var(--brand);background:color-mix(in srgb,var(--brand) 10%,var(--surface))}.party-move-search{margin-bottom:6px;font-size:.8rem}.party-move-profit-toggle{display:block;margin:0 0 4px auto;padding:0;border:0;background:none;color:var(--text-muted);font:inherit;font-size:.68rem}.party-moves{display:grid;grid-template-columns:minmax(0,1fr);grid-gap:6px;gap:6px;margin:0;padding:0;list-style:none}.party-move{min-width:0;padding:7px 9px;border:1px solid var(--border);-webkit-border-start:3px solid var(--red);border-inline-start:3px solid var(--red);border-radius:10px;background:var(--surface)}.party-move-pay{border-inline-start-color:var(--green)}.party-move-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.party-move-title{min-width:0;padding:0;border:0;background:none;color:var(--text);font:inherit;font-size:.84rem;font-weight:800;text-align:start;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.party-move-pay .party-move-title{color:var(--green)}.party-move-device{color:var(--text-muted);font-weight:600}.party-move-date{flex:none;color:var(--text-muted);font-size:.72rem;white-space:nowrap}.party-move-date small{font-size:.64rem;opacity:.8}.party-move-email{display:flex;align-items:center;gap:6px;min-width:0;margin-top:1px;color:var(--text-muted);font-size:.72rem}.party-move-email bdi{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.party-move-email button{flex:none;padding:0 6px;border:1px solid var(--border);border-radius:6px;background:none;color:var(--text-muted);font:inherit;font-size:.7rem;line-height:1.5}.party-move-note{margin-top:1px;color:var(--text-muted);font-size:.7rem;overflow-wrap:anywhere}.party-move-cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:5px;padding:4px 0;border-radius:8px;background:var(--surface-alt);text-align:center}.party-move-cols>div{display:grid;grid-gap:0;gap:0;min-width:0;padding:0 4px}.party-move-cols>div+div{-webkit-border-start:1px solid var(--border);border-inline-start:1px solid var(--border)}.party-move-cols span{color:var(--text-muted);font-size:.68rem}.party-move-cols strong{color:var(--text-muted);font-size:.875rem;font-weight:700;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.party-move-debt .party-move-mid strong{color:var(--red)}.party-move-pay .party-move-mid strong{color:var(--green)}.party-move-after strong{font-size:.95rem;font-weight:800}.party-move-after.is-due strong{color:var(--red)}.party-move-after.is-clear strong{color:var(--green)}.party-move-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:3px}.party-move-cur{color:var(--text-muted);font-size:.66rem}.party-move-profit{color:var(--text-muted);font-size:.64rem;opacity:.85}.party-export-options{display:grid;grid-gap:8px;gap:8px}.party-export-options .party-action{min-height:40px;font-size:.85rem}.party-head-actions{display:flex;align-items:center;gap:8px;margin:8px 0}.party-add-button{flex:1 1 auto;min-height:44px;padding:8px 14px;border:0;border-radius:var(--radius-md);background:var(--brand);color:var(--brand-contrast);font:inherit;font-size:.95rem;font-weight:800;cursor:pointer}.party-head-actions .clients-pay-button{min-height:44px}.party-filter-btn.is-active{border-color:var(--brand);color:var(--brand)}.party-category-chips{--chip-cols:5;display:grid;grid-template-columns:repeat(var(--chip-cols),calc((100% - 16px) / 5));grid-gap:4px;gap:4px;grid-row-gap:7px;row-gap:7px;margin:2px 0 4px;overflow-x:auto;scrollbar-width:none;padding:6px 0 2px}.party-category-chips>.party-category-chip{position:relative;min-width:0;min-height:26px;justify-content:center;gap:1px;padding:2px 3px;font-size:.66rem}.party-category-chips>.party-category-chip>span[aria-hidden]{font-size:.6rem}.party-category-chips>.party-category-chip .party-category-name{min-width:0;overflow:hidden;text-overflow:ellipsis}.party-category-chips>.party-category-chip .party-tab-count{position:absolute;top:-6px;inset-inline-end:-1px;min-width:14px;padding:0 3px;border:1px solid var(--border);background:var(--surface-2,var(--surface));color:var(--text-muted);font-size:.55rem;line-height:1.3}.party-category-chips::-webkit-scrollbar{display:none}.party-category-chip{--chip:var(--brand);flex:0 0 auto;display:inline-flex;align-items:center;gap:4px;min-height:34px;padding:4px 10px;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--text);font:inherit;font-size:.8rem;font-weight:700;white-space:nowrap;cursor:pointer}.party-category-chip.is-active{border-color:var(--chip);background:var(--chip);color:#fff}.party-category-chip.is-active .party-tab-count{background:rgba(255,255,255,.25);color:#fff}.party-category-add{border-style:dashed;color:var(--text-muted)}.party-filter-row{display:grid;grid-template-columns:1fr 1fr;grid-gap:6px;gap:6px;margin:4px 0 8px}.party-filter-row .search-input{margin:0;min-width:0;font-size:.8rem;padding-inline:8px}.party-overview-count{width:100%;color:var(--text-muted);font-size:.75rem}.party-category-tag{--chip:var(--brand);flex-shrink:0;padding:0 6px;border-radius:999px;border:1px solid var(--chip);color:var(--chip);font-size:.7rem;font-weight:700}.party-form-categories{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.party-form-categories input{margin:0;accent-color:var(--chip)}.party-form-label{width:100%;font-size:.85rem;font-weight:700}.party-form-categories .settings-hint{width:100%;margin:0}.party-save-device{background:var(--brand)}.category-list{list-style:none;margin:0 0 12px;padding:0;display:flex;flex-direction:column;gap:6px}.category-list li{display:flex;align-items:center;gap:8px;padding:6px 10px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface)}.category-list li>span:nth-child(2){flex:1 1;min-width:0;font-weight:700}.category-list small{color:var(--text-muted);font-size:.7rem}.category-dot{width:12px;height:12px;border-radius:50%;flex-shrink:0}.category-colors{display:flex;flex-wrap:wrap;gap:8px}.category-swatch{width:30px;height:30px;border-radius:50%;border:2px solid transparent;cursor:pointer}.category-swatch.is-active{border-color:var(--text);box-shadow:0 0 0 2px var(--surface) inset}.clients-more-menu{margin:4px 0 8px;padding:8px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface)}.party-filter-btn{position:relative;min-height:40px;white-space:nowrap}.party-filter-btn.has-filters{border-color:var(--brand);color:var(--brand)}.party-filter-badge{position:absolute;top:-6px;inset-inline-start:-6px;min-width:18px;height:18px;padding:0 4px;border-radius:999px;background:var(--brand);color:var(--brand-contrast);font-size:.68rem;font-weight:800;line-height:18px;text-align:center}.party-filter-clear{grid-column:1/-1;justify-self:start;font-size:.78rem}.party-add-form{gap:8px}.party-add-form .party-form-label{margin-top:4px;color:var(--text-muted);font-size:.8rem}.party-form-main-categories{display:grid;grid-template-columns:1fr 1fr;grid-gap:8px;gap:8px;width:100%}.party-category-option{--chip:var(--brand);display:flex;align-items:center;justify-content:center;gap:6px;min-height:46px;padding:6px 10px;border:1.5px solid var(--border);border-radius:var(--radius-md);background:var(--surface-alt);color:var(--text);font-weight:800;cursor:pointer}.party-category-option input{position:absolute;opacity:0;pointer-events:none}.party-category-option.is-active{border-color:var(--chip);background:color-mix(in srgb,var(--chip) 16%,var(--surface));color:var(--chip)}.party-category-option.is-active:after{content:"✓"}.party-form-more{border:1px solid var(--border);border-radius:var(--radius-md);padding:8px 10px}.party-form-more[open]{display:flex;flex-direction:column;gap:8px}.party-form-more summary{cursor:pointer;color:var(--text-muted);font-size:.82rem;font-weight:700}.party-add-actions{display:flex;flex-direction:column;gap:8px;margin-top:6px}.party-add-actions .dialog-primary{width:100%;min-height:46px}.device-mark-awaiting{background:color-mix(in srgb,var(--brand) 16%,var(--surface));border-color:var(--brand);border-style:dashed;color:var(--brand);white-space:nowrap}.ledger-await-bill{display:flex;align-items:flex-start;gap:8px;padding:10px;border:1px dashed var(--border);border-radius:var(--radius-md);background:var(--surface-alt);cursor:pointer}.ledger-await-bill input{margin-top:3px}.ledger-await-bill span{display:grid;grid-gap:2px;gap:2px;min-width:0}.ledger-await-bill small{color:var(--text-muted);font-size:.75rem;line-height:1.5}.ledger-await-bill.is-on,.ledger-await-bill.is-suggested{border-color:var(--brand);border-style:solid}.ledger-await-bill.is-on{background:color-mix(in srgb,var(--brand) 10%,var(--surface))}.invoice-edit-form{gap:8px}.invoice-edit-lines{display:grid;grid-gap:8px;gap:8px}.invoice-edit-line{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-gap:6px;gap:6px;padding:8px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-alt)}.invoice-edit-line>strong{grid-column:1/-1;font-size:.85rem}.invoice-edit-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-gap:6px;gap:6px}.invoice-edit-form .form-field input{min-width:0}.invoice-edit-total{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px;font-weight:800}.invoice-edit-total .is-due{color:var(--red)}.invoice-edit-total .is-clear{color:var(--green)}.invoice-edit-actions{display:flex;flex-direction:column;gap:8px}.party-move-edit{flex:none;-webkit-margin-start:auto;margin-inline-start:auto;padding:1px 8px;border:1px solid var(--border);border-radius:999px;background:none;color:var(--brand);font:inherit;font-size:.7rem;font-weight:700;cursor:pointer}.status-ring-outsideHome{--tone:var(--orange)}.outside-home-days{display:grid;grid-gap:6px;gap:6px;margin:8px 0 12px}.outside-home-day{padding:8px 10px;border:1px solid var(--border);-webkit-border-start:3px solid var(--orange);border-inline-start:3px solid var(--orange);border-radius:var(--radius-md);background:var(--surface)}.outside-home-day.is-urgent{border-inline-start-color:var(--red)}.outside-home-day.is-empty{padding-block:4px;border-inline-start-color:var(--border);opacity:.6}.outside-home-day-head{display:flex;align-items:center;gap:8px;font-size:.82rem}.outside-home-day-head span{color:var(--text-muted);font-size:.75rem}.outside-home-day.is-urgent .outside-home-day-head span{color:var(--red);font-weight:700}.outside-home-count{-webkit-margin-start:auto;margin-inline-start:auto;min-width:22px;padding:0 6px;border-radius:999px;background:var(--orange);color:#fff!important;font-weight:800;text-align:center}.outside-home-device{display:grid;grid-gap:1px;gap:1px;width:100%;margin-top:6px;padding:6px 8px;border:1px solid var(--border);border-radius:8px;background:var(--surface-alt);color:var(--text);font:inherit;font-size:.85rem;font-weight:700;text-align:start;cursor:pointer}.outside-home-device span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.outside-home-device small{color:var(--text-muted);font-size:.72rem;font-weight:400}.account-card-outside-banner{border-color:var(--orange);color:var(--orange)}.account-card-outside-banner.is-urgent{border-color:var(--red);color:var(--red);font-weight:800}.desktop-welcome{display:grid;grid-gap:6px;gap:6px;margin:8px 0;padding:12px 14px;border:1px solid var(--brand);border-radius:var(--radius-md);background:color-mix(in srgb,var(--brand) 10%,var(--surface));font-size:.88rem}.desktop-welcome ol{margin:0;-webkit-padding-start:1.2em;padding-inline-start:1.2em;display:grid;grid-gap:4px;gap:4px}.desktop-welcome p{margin:0}.desktop-welcome small{color:var(--text-muted)}.desk-sidebar{display:none}@media (min-width:900px){html.desk{--rail:232px;--bottom-nav-height:0px;--night:var(--bg);--deck:var(--surface);--deck-raised:color-mix(in srgb,var(--surface) 92%,var(--text));--well:color-mix(in srgb,var(--bg) 55%,var(--surface));--hairline:color-mix(in srgb,var(--text) 9%,transparent);--hairline-strong:color-mix(in srgb,var(--text) 16%,transparent);--ink:var(--text);--ink-2:color-mix(in srgb,var(--text) 82%,var(--bg));--ink-3:var(--text-muted);--ink-4:color-mix(in srgb,var(--text-muted) 62%,var(--bg));--signal:var(--brand);--signal-wash:color-mix(in srgb,var(--brand) 14%,transparent);--dish-ok:var(--green);--dish-weak:var(--yellow);--dish-down:var(--red);--r-s:6px;--r-m:10px;--r-l:14px;--ease-out:cubic-bezier(0.23,1,0.32,1)}html.desk.desk-collapsed{--rail:64px}html.desk body{padding-right:var(--rail);padding-bottom:0;background-image:none;-webkit-font-smoothing:antialiased}html.desk .bottom-nav,html.desk .header-more{display:none}html.desk .app-shell,html.desk .home{max-width:1680px;padding:0 24px 40px}html.desk .home:not(.app-shell){max-width:1240px;padding-top:24px}html.desk .desk-num{font-feature-settings:"tnum";font-variant-numeric:tabular-nums}html.desk .desk-sidebar{position:fixed;z-index:95;inset-block:0;right:0;width:var(--rail);display:flex;flex-direction:column;gap:16px;padding:16px 12px 12px;overflow-y:auto;overflow-x:hidden;background:var(--night);border-left:1px solid var(--hairline)}.desk-brand{display:flex;align-items:center;gap:10px;padding:4px 6px 8px;color:var(--ink);font-size:16px;font-weight:600;letter-spacing:.02em;text-decoration:none}.desk-brand-mark{flex:none;display:grid;place-items:center;width:28px;height:28px;border-radius:var(--r-s);background:var(--signal);color:var(--brand-contrast);font-size:14px}.desk-nav-group{display:flex;flex-direction:column;gap:2px}.desk-nav-title{padding:0 10px 4px;color:var(--ink-4);font-size:11px;font-weight:500;letter-spacing:.06em}.desk-nav-item{position:relative;display:flex;align-items:center;gap:10px;min-height:36px;padding:0 10px;border:0;border-radius:var(--r-m);background:none;color:var(--ink-3);font:inherit;font-size:14px;font-weight:500;text-align:start;text-decoration:none;cursor:pointer;transition:background-color .12s var(--ease-out),color .12s var(--ease-out)}.desk-nav-item:hover{background:var(--hairline);color:var(--ink)}.desk-nav-item.active{background:var(--signal-wash);color:var(--signal);font-weight:600}.desk-nav-item:focus-visible{outline:2px solid var(--signal);outline-offset:-2px}.desk-nav-icon{flex:none;display:inline-flex}.desk-nav-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.desk-nav-label{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.desk-nav-badge{-webkit-margin-start:auto;margin-inline-start:auto;min-width:20px;padding:0 6px;border-radius:999px;background:var(--dish-down);color:#fff;font-size:11px;line-height:20px;text-align:center}.desk-sidebar-foot{display:flex;flex-direction:column;gap:6px;margin-top:auto;padding-top:8px;border-top:1px solid var(--hairline)}.desk-collapse .desk-nav-icon{transition:transform .16s var(--ease-out)}html.desk.desk-collapsed .desk-collapse .desk-nav-icon{transform:scaleX(-1)}.desk-zoom-hint{padding:0 10px;color:var(--ink-4);font-size:11px}.desk-kbd,.desk-zoom-hint kbd{padding:0 4px;border:1px solid var(--hairline-strong);border-radius:4px;font:inherit;font-size:11px;direction:ltr;unicode-bidi:-webkit-isolate;unicode-bidi:isolate}html.desk.desk-collapsed .desk-sidebar{padding-inline:10px}html.desk.desk-collapsed .desk-brand-name,html.desk.desk-collapsed .desk-nav-label,html.desk.desk-collapsed .desk-nav-title,html.desk.desk-collapsed .desk-zoom-hint{display:none}html.desk.desk-collapsed .desk-brand,html.desk.desk-collapsed .desk-nav-item{justify-content:center;padding-inline:0}html.desk.desk-collapsed .desk-nav-badge{position:absolute;top:2px;left:4px;min-width:16px;padding:0 4px;line-height:16px}html.desk.desk-collapsed [data-tip]:focus-visible:after,html.desk.desk-collapsed [data-tip]:hover:after{content:attr(data-tip);position:fixed;right:calc(var(--rail) + 6px);z-index:200;padding:4px 8px;border-radius:var(--r-s);background:var(--deck-raised);box-shadow:0 0 0 1px var(--hairline-strong);color:var(--ink);font-size:12px;font-weight:500;white-space:nowrap;pointer-events:none}.desk-topbar{position:-webkit-sticky;position:sticky;top:0;z-index:40;display:grid;grid-template-columns:minmax(160px,auto) minmax(0,560px) auto;align-items:center;grid-gap:16px;gap:16px;margin-inline:-24px;padding:12px 24px;background:color-mix(in srgb,var(--night) 92%,transparent);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:1px solid var(--hairline)}.desk-topbar-title h1{margin:0;color:var(--ink);font-size:20px;font-weight:600;letter-spacing:-.01em}.desk-topbar-title p{margin:2px 0 0;color:var(--ink-3);font-size:12px}.desk-search{display:flex;align-items:center;gap:8px;height:36px;padding:0 10px;border:1px solid var(--hairline);border-radius:var(--r-m);background:var(--well);color:var(--ink-3)}.desk-search:focus-within{border-color:var(--signal)}.desk-search svg{flex:none;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8}.desk-search input{flex:1 1;min-width:0;height:100%;border:0;outline:0;background:none;color:var(--ink);font:inherit;font-size:14px}.desk-topbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}.desk-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:32px;padding:0 12px;border:1px solid var(--hairline-strong);border-radius:var(--r-s);background:none;color:var(--ink-2);font:inherit;font-size:13px;font-weight:500;white-space:nowrap;text-decoration:none;cursor:pointer;list-style:none;transition:background-color .12s var(--ease-out),transform .12s var(--ease-out)}.desk-btn::-webkit-details-marker{display:none}.desk-btn:hover{background:var(--hairline);color:var(--ink)}.desk-btn:active{transform:scale(.97)}.desk-btn:focus-visible,.desk-cal-cell:focus-visible,.desk-icon-btn:focus-visible,.desk-link:focus-visible,.desk-sort:focus-visible{outline:2px solid var(--signal);outline-offset:1px}.desk-btn-primary{border-color:transparent;background:var(--signal);color:var(--brand-contrast)}.desk-btn-primary:hover{background:color-mix(in srgb,var(--signal) 88%,var(--text));color:var(--brand-contrast)}.desk-btn-quiet{border-color:transparent;color:var(--ink-3)}.desk-btn.is-on{border-color:transparent;background:var(--signal-wash);color:var(--signal)}.desk-btn-sm{height:28px;padding:0 10px;font-size:12px}.desk-icon-btn{display:inline-grid;place-items:center;width:32px;height:32px;border:0;border-radius:var(--r-s);background:none;color:var(--ink-3);font:inherit;font-size:16px;cursor:pointer}.desk-icon-btn:hover{background:var(--hairline);color:var(--ink)}.desk-link{border:0;background:none;padding:0;color:var(--signal);font:inherit;font-size:13px;font-weight:500;text-decoration:none;cursor:pointer}.desk-link:hover{text-decoration:underline}.desk-count{min-width:18px;padding:0 5px;border-radius:999px;background:var(--signal);color:var(--brand-contrast);font-size:11px;line-height:18px;text-align:center}.desk-field{display:inline-flex;align-items:center;gap:8px;color:var(--ink-3);font-size:12px;font-weight:500}.desk-field select{height:32px;min-width:120px;padding:0 8px;border:1px solid var(--hairline);border-radius:var(--r-s);background:var(--well);color:var(--ink);font:inherit;font-size:13px}.desk-field select:focus-visible{outline:2px solid var(--signal);outline-offset:1px}.desk-segment{display:inline-flex;padding:2px;border:1px solid var(--hairline);border-radius:var(--r-s);background:var(--well)}.desk-segment button{height:26px;padding:0 10px;border:0;border-radius:4px;background:none;color:var(--ink-3);font:inherit;font-size:12px;font-weight:500;cursor:pointer}.desk-segment button.is-on{background:var(--deck-raised);color:var(--ink);box-shadow:0 0 0 1px var(--hairline-strong)}.desk-menu{position:relative}.desk-menu>summary{list-style:none}.desk-menu[open]>summary{background:var(--hairline)}.desk-menu-pop{position:absolute;z-index:60;top:calc(100% + 4px);left:0;display:flex;flex-direction:column;gap:2px;min-width:200px;padding:6px;border-radius:var(--r-m);background:var(--deck-raised);box-shadow:0 0 0 1px var(--hairline-strong),0 12px 32px rgb(0 0 0/.32);animation:desk-pop .16s var(--ease-out);transform-origin:top left}@keyframes desk-pop{0%{opacity:0;transform:scale(.96)}}.desk-check,.desk-menu-item{display:flex;align-items:center;gap:8px;min-height:32px;padding:0 8px;border:0;border-radius:var(--r-s);background:none;color:var(--ink-2);font:inherit;font-size:13px;text-align:start;cursor:pointer}.desk-check:hover,.desk-menu-item:hover{background:var(--hairline);color:var(--ink)}.desk-sr{position:absolute;width:1px;height:1px;overflow:hidden;-webkit-clip-path:inset(50%);clip-path:inset(50%)}.desk-faint{color:var(--ink-4)}.desk-status{display:inline-flex;align-items:center;gap:6px;color:var(--ink-2);font-size:12px;font-weight:500;white-space:nowrap}.desk-status>span{font-size:11px}.desk-status-ok>span{color:var(--dish-ok)}.desk-status-weak>span{color:var(--dish-weak)}.desk-status-down{color:var(--dish-down)}.desk-status-unknown{color:var(--ink-4)}.desk-tag{display:inline-block;padding:1px 6px;border-radius:4px;font-size:11px;font-weight:600;line-height:16px;white-space:nowrap}.desk-tag-down{background:color-mix(in srgb,var(--dish-down) 16%,transparent);color:var(--dish-down)}.desk-tag-weak{background:color-mix(in srgb,var(--dish-weak) 16%,transparent);color:var(--dish-weak)}.desk-tag-soon{background:var(--hairline);color:var(--ink-2)}.desk-tag-calm{color:var(--ink-4)}.desk-owed{display:inline-flex;flex-direction:column;gap:2px}.desk-owed-due{color:var(--ink)}.desk-owed-credit{color:var(--dish-ok)}html.desk .accounts-section{margin-top:0}html.desk .accounts-section>.section-header-row{display:none}html.desk .accounts-section:has(.section-header-actions)>.section-header-row{display:flex;padding-top:8px}.desk-devices{display:flex;flex-direction:column;gap:12px;padding-top:12px}.desk-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px}.desk-toolbar-end,.desk-toolbar-start{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.desk-result-count{color:var(--ink-3);font-size:12px}.desk-filter-row{display:flex;flex-wrap:wrap;gap:12px 20px;padding:10px 12px;border:1px solid var(--hairline);border-radius:var(--r-m);background:var(--deck)}.desk-work{display:grid;grid-template-columns:minmax(0,1fr);grid-gap:16px;gap:16px;align-items:start}.desk-devices.has-panel .desk-work{grid-template-columns:minmax(0,1fr) minmax(360px,420px)}.desk-list{max-height:calc(100vh - 150px);overflow:auto;border:1px solid var(--hairline);border-radius:var(--r-l);background:var(--deck)}.desk-table{width:100%;border-collapse:separate;border-spacing:0;font-size:13px}.desk-table th{position:-webkit-sticky;position:sticky;top:0;z-index:2;padding:0 12px;height:36px;background:var(--deck);border-bottom:1px solid var(--hairline-strong);color:var(--ink-3);font-size:12px;font-weight:500;text-align:start;white-space:nowrap}.desk-sort{display:inline-flex;align-items:center;gap:4px;padding:0;border:0;background:none;color:inherit;font:inherit;cursor:pointer}.desk-sort span{color:var(--ink-4);font-size:11px}.desk-sort.is-on{color:var(--ink)}.desk-sort.is-on span{color:var(--signal)}.desk-table td{height:48px;padding:6px 12px;border-bottom:1px solid var(--hairline);color:var(--ink-2);vertical-align:middle}.desk-table tbody tr{cursor:pointer;transition:background-color .1s var(--ease-out)}.desk-table tbody tr:hover{background:color-mix(in srgb,var(--text) 4%,transparent)}.desk-table tbody tr.is-selected{background:var(--signal-wash)}.desk-table tbody tr:focus-visible{outline:2px solid var(--signal);outline-offset:-2px}.desk-table tbody tr:last-child td{border-bottom:0}.desk-name{display:flex;flex-direction:column;min-width:0}.desk-name strong{color:var(--ink);font-size:13px;font-weight:600}.desk-name small{color:var(--ink-3);font-size:12px}.desk-col-name{min-width:160px}.desk-table td.desk-col-client,.desk-table td.desk-col-plan{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}html.desk .conn-row:not(:has(*)){display:none}.desk-email{display:inline-block;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom}.desk-renewal{gap:8px}.desk-renewal,.desk-updated{display:inline-flex;align-items:center;white-space:nowrap}.desk-updated{gap:6px;color:var(--ink-3);font-size:12px}.desk-col-actions{width:1%;white-space:nowrap}.desk-col-actions .desk-btn+.desk-btn{-webkit-margin-start:6px;margin-inline-start:6px}.desk-empty{display:flex;flex-direction:column;align-items:center;gap:8px;padding:48px 16px;color:var(--ink-3);text-align:center}.desk-empty strong{color:var(--ink);font-size:15px}.desk-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));align-items:start;grid-gap:12px;gap:12px;padding:12px}.desk-mini{display:flex;flex-direction:column;gap:8px;padding:12px;border:1px solid var(--hairline);border-radius:var(--r-m);background:var(--night);color:var(--ink-2);font:inherit;font-size:13px;text-align:start;cursor:pointer}.desk-mini:hover{border-color:var(--hairline-strong)}.desk-mini.is-selected{border-color:var(--signal);background:var(--signal-wash)}.desk-mini-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.desk-mini-meta{color:var(--ink-3);font-size:12px}.desk-mini-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.desk-panel-scrim{display:none}.desk-panel{position:-webkit-sticky;position:sticky;top:72px;display:flex;max-height:calc(100vh - 88px);border:1px solid var(--hairline);border-radius:var(--r-l);background:var(--deck);overflow:hidden;animation:desk-panel-in .2s var(--ease-out)}@keyframes desk-panel-in{0%{opacity:0;transform:translateX(-8px)}}.desk-panel-inner{display:flex;flex:1 1;flex-direction:column;min-width:0}.desk-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;padding:16px 16px 8px}.desk-panel-title{min-width:0}.desk-panel-title h2{margin:0;color:var(--ink);font-size:18px;font-weight:600;letter-spacing:-.01em;overflow-wrap:anywhere}.desk-panel-title p{margin:2px 0 0;color:var(--ink-3);font-size:12px}.desk-panel-actions{display:flex;flex-wrap:wrap;gap:6px;padding:0 16px 12px}.desk-tabs{display:flex;gap:4px;padding:0 12px;overflow-x:auto;border-bottom:1px solid var(--hairline);scrollbar-width:none}.desk-tabs button{flex:none;height:36px;padding:0 6px;border:0;border-bottom:2px solid transparent;background:none;color:var(--ink-3);font:inherit;font-size:13px;font-weight:500;cursor:pointer}.desk-tabs button:hover{color:var(--ink)}.desk-tabs button.is-on{border-bottom-color:var(--signal);color:var(--ink)}.desk-panel-body{flex:1 1;min-height:0;padding:12px 16px 16px;overflow-y:auto}.desk-kvs{display:flex;flex-direction:column;margin:0}.desk-kv{display:grid;grid-template-columns:120px minmax(0,1fr);grid-gap:12px;gap:12px;align-items:baseline;padding:8px 0;border-bottom:1px solid var(--hairline)}.desk-kv:last-child{border-bottom:0}.desk-kv dt{color:var(--ink-3);font-size:12px;font-weight:500}.desk-kv dd{margin:0;color:var(--ink);font-size:13px;min-width:0}.desk-email-full{overflow-wrap:anywhere}.desk-secret{display:inline-flex;align-items:center;gap:10px}.desk-list-inline{display:flex;flex-direction:column;gap:4px}.desk-panel-row-actions{display:flex;gap:6px;margin-bottom:12px}.desk-mini-table{width:100%;border-collapse:collapse;font-size:12px}.desk-mini-table th{padding:6px 4px;border-bottom:1px solid var(--hairline-strong);color:var(--ink-3);font-weight:500;text-align:start}.desk-mini-table td{padding:8px 4px;border-bottom:1px solid var(--hairline);color:var(--ink-2);vertical-align:top}.desk-notes p{margin:0 0 12px;color:var(--ink);line-height:1.6}.desk-notes ul{display:flex;flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;color:var(--ink-3);font-size:12px}.desk-full-card .account-card{box-shadow:none}@media (max-width:1599px){.desk-devices.has-panel .desk-col-actions,.desk-devices.has-panel .desk-col-email,.desk-devices.has-panel .desk-col-owed,.desk-devices.has-panel .desk-col-plan,.desk-devices.has-panel .desk-col-updated{display:none}.desk-devices.has-panel .desk-work{grid-template-columns:minmax(0,1fr) 360px}.desk-devices.has-panel .desk-table td,.desk-devices.has-panel .desk-table th{padding-inline:8px}}@media (max-width:1279px){.desk-devices.has-panel .desk-work{grid-template-columns:minmax(0,1fr)}.desk-panel-scrim{display:block;position:fixed;inset:0;z-index:104;background:rgb(0 0 0/.35)}.desk-panel{position:fixed;z-index:105;inset-block:0;left:0;width:min(440px,92vw);max-height:none;border-radius:0;border-width:0 0 0 1px}}.desk-home{display:flex;flex-direction:column;gap:16px;padding-top:16px}html.desk .desk-home>.backup-banner,html.desk .desk-home>.desktop-welcome,html.desk .desk-home>a,html.desk .desk-home>div:not([class]){max-width:none;margin:0}.desk-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));border:1px solid var(--hairline);border-radius:var(--r-l);background:var(--deck);overflow:hidden}.desk-kpi{display:flex;flex-direction:column;gap:6px;padding:14px 16px;color:inherit;text-decoration:none;transition:background-color .12s var(--ease-out)}.desk-kpi+.desk-kpi{-webkit-border-start:1px solid var(--hairline);border-inline-start:1px solid var(--hairline)}.desk-kpi:hover{background:color-mix(in srgb,var(--text) 4%,transparent)}.desk-kpi:focus-visible{outline:2px solid var(--signal);outline-offset:-2px}.desk-kpi-label{color:var(--ink-3);font-size:12px;font-weight:500}.desk-kpi-value{color:var(--ink);font-size:26px;font-weight:600;letter-spacing:-.02em;line-height:1.1}.desk-kpi-bar{display:block;height:3px;border-radius:2px;background:var(--hairline);overflow:hidden}.desk-kpi-bar span{display:block;height:100%;border-radius:2px;background:var(--ink-4)}.desk-kpi-ok .desk-kpi-bar span{background:var(--dish-ok)}.desk-kpi-soon .desk-kpi-bar span{background:var(--dish-weak)}.desk-kpi-down .desk-kpi-bar span{background:var(--dish-down)}.desk-home-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,360px);grid-gap:16px;gap:16px;align-items:start}.desk-card{padding:16px;border:1px solid var(--hairline);border-radius:var(--r-l);background:var(--deck)}.desk-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.desk-card-head h2{margin:0;color:var(--ink);font-size:16px;font-weight:600}.desk-follow-cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:12px;gap:12px}.desk-follow-col{display:flex;flex-direction:column;gap:4px;min-width:0;padding:12px;border-radius:var(--r-m);background:var(--night)}.desk-follow-col header{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.desk-follow-col h3{margin:0;color:var(--ink-2);font-size:13px;font-weight:600}.desk-follow-count{color:var(--ink);font-size:22px;font-weight:600;letter-spacing:-.02em}.desk-follow-col.is-focal{box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--signal) 40%,transparent)}.desk-follow-col.is-focal .desk-follow-count{color:var(--signal)}.desk-follow-hint{margin:0 0 6px;color:var(--ink-4);font-size:12px}.desk-follow-empty{margin:4px 0;font-size:12px}.desk-action-list ul,.desk-day-list ul,.desk-follow-col ul{display:flex;flex-direction:column;gap:2px;margin:0;padding:0;list-style:none}.desk-follow-row{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-gap:0 8px;gap:0 8px;padding:6px 8px;margin-inline:-8px;border-radius:var(--r-s);color:inherit;text-decoration:none}.desk-follow-row:hover{background:var(--hairline)}.desk-follow-name{color:var(--ink);font-size:13px;font-weight:500}.desk-follow-meta,.desk-follow-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.desk-follow-meta{grid-row:2;color:var(--ink-3);font-size:12px}.desk-follow-due{grid-row:1/span 2;align-self:center;color:var(--ink-2);font-size:12px}.desk-follow-more{margin-top:4px;font-size:12px}.desk-home-side{gap:16px;min-width:0}.desk-action-ul,.desk-home-side{display:flex;flex-direction:column}.desk-action-ul{gap:2px;margin:0;padding:0;list-style:none}.desk-action-row{flex-wrap:wrap;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px 8px;margin-inline:-8px;border-radius:var(--r-s);color:var(--ink);font-size:13px;text-decoration:none}.desk-action-row:hover{background:var(--hairline)}.desk-action-reasons{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:4px}.desk-money-note{margin:12px 0 0;font-size:12px}.desk-month-nav{display:flex;align-items:center;gap:8px;color:var(--ink);font-size:14px}.desk-calendar-wrap{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(260px,1fr);grid-gap:16px;gap:16px;align-items:start}.desk-calendar{width:100%;table-layout:fixed;border-collapse:separate;border-spacing:4px;margin:-4px}.desk-calendar th{padding:0 0 4px;color:var(--ink-3);font-size:11px;font-weight:500}.desk-calendar td{height:52px;padding:0}.desk-cal-cell{display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;width:100%;height:100%;padding:6px 8px;border:1px solid var(--hairline);border-radius:var(--r-s);background:color-mix(in srgb,var(--signal) calc(var(--heat, 0) * 26%),var(--night));color:var(--ink-2);font:inherit;text-align:start;cursor:pointer}button.desk-cal-cell:hover{border-color:var(--hairline-strong)}.desk-cal-day{color:var(--ink-3);font-size:12px}.desk-cal-count{align-self:flex-end;color:var(--ink);font-size:16px;font-weight:600}.desk-calendar td.is-today .desk-cal-day{color:var(--signal);font-weight:700}.desk-calendar td.is-today .desk-cal-cell{border-color:color-mix(in srgb,var(--signal) 50%,transparent)}.desk-calendar td.is-picked .desk-cal-cell{border-color:var(--signal);box-shadow:inset 0 0 0 1px var(--signal)}.desk-calendar td.is-nobill .desk-cal-cell{background:repeating-linear-gradient(135deg,var(--hairline) 0 1px,transparent 1px 7px);cursor:default}.desk-cal-none{color:var(--ink-4);font-size:10px}.desk-calendar td.is-out{background:none}.desk-day-list{display:flex;flex-direction:column;gap:8px;min-width:0;max-height:420px;overflow-y:auto}.desk-day-list header{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.desk-day-list h3{margin:0;color:var(--ink);font-size:15px;font-weight:600}.desk-day-list .desk-follow-row{grid-template-columns:minmax(0,1fr) auto auto}.desk-day-list .desk-status,.desk-day-list bdi.desk-faint{grid-row:1/span 2;align-self:center}.desk-day-list bdi.desk-faint{font-size:12px}.desk-fold>summary{display:flex;align-items:baseline;gap:12px;color:var(--ink);font-size:15px;font-weight:600;cursor:pointer;list-style:none}.desk-fold>summary:before{content:"‹";color:var(--ink-3);transition:transform .16s var(--ease-out)}.desk-fold[open]>summary:before{transform:rotate(-90deg)}.desk-fold>summary .desk-faint{font-size:12px;font-weight:400}.desk-fold-body{display:flex;flex-direction:column;gap:12px;margin-top:12px}@media (max-width:1200px){.desk-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.desk-kpi:nth-child(4){-webkit-border-start:0;border-inline-start:0}.desk-kpi:nth-child(n+4){border-top:1px solid var(--hairline)}.desk-calendar-wrap,.desk-home-grid{grid-template-columns:minmax(0,1fr)}}@media (prefers-reduced-motion:reduce){.desk-menu-pop,.desk-panel{animation:none}}html.desk .bottom-nav-sheet-backdrop,html.desk .party-sheet-backdrop,html.desk .shortcut-sheet-layer{align-items:center;padding:24px}html.desk .party-sheet{max-width:620px;max-height:min(86vh,920px);padding:20px 22px;box-shadow:0 24px 64px rgb(0 0 0/.35)}html.desk .bottom-nav-sheet,html.desk .party-sheet,html.desk .shortcut-sheet{border-radius:var(--radius-lg)}html.desk .home-fab{bottom:24px;left:24px}html.desk .party-split{display:grid;grid-template-columns:minmax(260px,340px) minmax(0,1fr);grid-gap:20px;gap:20px;align-items:start}.party-pick-list{position:-webkit-sticky;position:sticky;top:16px;display:flex;flex-direction:column;gap:2px;max-height:calc(100vh - 32px);margin:0;padding:6px;overflow-y:auto;list-style:none;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md)}.party-pick{display:flex;align-items:center;gap:10px;width:100%;padding:9px 10px;border:0;border-radius:var(--radius-sm);background:none;color:var(--text);font:inherit;text-align:start;cursor:pointer}.party-pick:hover{background:var(--surface-alt)}.party-pick.active{background:color-mix(in srgb,var(--brand) 15%,transparent)}.party-pick:focus-visible{outline:2px solid var(--brand);outline-offset:-2px}.party-pick .party-avatar{flex:none;width:36px;height:36px;font-size:.78rem}.party-pick-main{display:flex;flex:1 1;flex-direction:column;min-width:0}.party-pick-main strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.party-pick-main bdi{align-self:flex-start;color:var(--text-muted);font-size:.78rem}.party-pick-balance{display:flex;flex-direction:column;align-items:flex-end;font-size:.82rem;font-weight:700;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;white-space:nowrap}.party-pick-due{color:var(--red)}.party-pick-credit{color:var(--green)}.party-pick-clear{color:var(--text-muted)}.party-split-pane{min-width:0}.party-split-pane .party-card-list{margin:0}html.desk .backup-banner,html.desk .conn-row,html.desk .dash-toolbar,html.desk .desktop-welcome,html.desk .home-shortcuts,html.desk .home>.account-card-alert,html.desk .money-search,html.desk .net-hero,html.desk .rep-display,html.desk .rep-overview,html.desk .report-period-row,html.desk .report-tabs,html.desk .reports-search,html.desk .search-panel,html.desk .settings-hub,html.desk .sl-summary,html.desk .sl-tabs,html.desk .tools-head{width:100%;max-width:820px;margin-inline:auto}html.desk .settings-search{max-width:820px;margin-inline:auto}}@media (min-width:900px){html.desk main.home:not(.app-shell):has(>section.dash-section~section.dash-section),html.desk main.home:not(.app-shell):has(>section.section~section.section){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:16px;gap:16px;align-content:start;align-items:start}html.desk main.home:not(.app-shell):has(>section.dash-section~section.dash-section)>*,html.desk main.home:not(.app-shell):has(>section.section~section.section)>*{grid-column:1/-1;margin-block:0}html.desk main.home:not(.app-shell):has(>section.dash-section~section.dash-section)>section.dash-section,html.desk main.home:not(.app-shell):has(>section.section~section.section)>section.section{grid-column:auto;min-width:0}html.desk .report-tab-panel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:16px;gap:16px;align-items:start}html.desk .report-tab-panel>*{grid-column:1/-1;margin-block:0}html.desk .report-tab-panel>.report-card{grid-column:auto;min-width:0}html.desk .settings-group{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:10px 16px;gap:10px 16px;align-items:start}html.desk .settings-group>*{grid-column:1/-1;margin-block:0}html.desk .settings-group>.settings-fold,html.desk .settings-group>.settings-fold-row{grid-column:auto;min-width:0}html.desk .settings-group>.settings-fold[open]{grid-column:1/-1}html.desk .settings-hub{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}html.desk .tools-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}html.desk .currency-converter,html.desk .tools-grid,html.desk .tools-panel{width:100%;max-width:900px;margin-inline:auto}html.desk .party-section-clients,html.desk .party-section-suppliers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:12px 20px;gap:12px 20px;align-items:center}html.desk .party-section-clients>*,html.desk .party-section-suppliers>*{grid-column:1/-1;margin-block:0}html.desk .party-section-clients>.party-tabs,html.desk .party-section-clients>.party-toolbar,html.desk .party-section-suppliers>.party-tabs,html.desk .party-section-suppliers>.party-toolbar{grid-column:1}html.desk .party-section-clients>.party-category-chips,html.desk .party-section-clients>.party-head-actions,html.desk .party-section-suppliers>.party-category-chips,html.desk .party-section-suppliers>.party-head-actions{grid-column:2}html.desk .party-section-clients>.party-overview,html.desk .party-section-suppliers>.party-overview{justify-self:start;width:100%;max-width:560px}html.desk .party-section-reps .party-card-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(420px,1fr));grid-gap:16px;gap:16px}}.rep-handover-split{display:block}.rep-handover-toggle{-webkit-margin-start:auto;margin-inline-start:auto;font-size:.78rem}.rep-handover-parts{margin:8px 0 0;-webkit-padding-start:10px;padding-inline-start:10px;-webkit-border-start:2px solid var(--border);border-inline-start:2px solid var(--border)}.rep-summary-approx{margin:4px 0 0;color:var(--text-muted);font-size:.74rem;text-align:end}.rep-swap{display:grid;grid-gap:6px;gap:6px;padding:8px 10px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-alt)}.rep-swap-toggle{display:flex;align-items:center;gap:8px;font-weight:600}.rep-swap-rate{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:.85rem}.rep-swap-rate .search-input{width:96px}.rep-swap-result{flex-basis:100%;color:var(--green)}.report-range{display:flex;align-items:center;gap:6px;min-width:0}.report-range-spans{display:flex;flex:0 0 auto;padding:3px;gap:2px;border:1px solid var(--border);border-radius:999px;background:var(--surface)}.report-range-span{min-height:32px;padding:4px 10px;border:0;border-radius:999px;background:transparent;color:var(--text-muted);font:inherit;font-size:.82rem;font-weight:700}.report-range-span.is-active{background:var(--brand);color:var(--brand-contrast)}.report-range-nav{display:flex;align-items:center;flex:1 1 auto;min-width:0;gap:2px}.report-range-arrow,.report-range-pick{flex:0 0 auto;display:grid;place-items:center;width:32px;height:32px;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--text);font-size:1.15rem;line-height:1}.report-range-arrow:disabled{opacity:.35}.report-range-pick{position:relative;overflow:hidden;font-size:.95rem;cursor:pointer}.report-range-pick input{position:absolute;inset:0;opacity:0;cursor:pointer}.report-range-label{flex:1 1 auto;min-width:0;text-align:center;font-size:.8rem;font-weight:800;line-height:1.25;color:var(--text)}.report-tabs.report-tabs-5{display:flex;overflow-x:auto;scrollbar-width:none}.report-tabs.report-tabs-5::-webkit-scrollbar{display:none}.report-tabs-5 .report-tab{flex:1 0 auto;padding-inline:9px;overflow:visible;text-overflow:clip}.net-line-open{cursor:pointer}.net-line-go{color:var(--brand);font-weight:800}.report-pdf-btn{width:100%;min-height:44px;margin-top:4px;border:1px solid color-mix(in srgb,var(--brand) 45%,var(--border));border-radius:var(--radius-sm,10px);background:color-mix(in srgb,var(--brand) 12%,var(--surface));color:var(--text);font:inherit;font-weight:800}.report-subhead{margin:14px 2px 8px;font-size:.95rem}.report-warn-note{margin-top:8px;color:var(--orange,var(--text-muted))}.money-cards{grid-auto-rows:1fr;gap:6px}.money-card-main{min-height:0;height:100%;gap:2px;padding:8px 9px;justify-content:flex-start}.money-card-label{font-size:.7rem}.money-card-value{font-size:1rem}.money-card-value small{font-size:.6rem}.money-card-currencies{font-size:.66rem;color:var(--text-muted)}.money-more{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface)}.money-more>summary{list-style:none;display:flex;flex-direction:column;gap:2px;padding:12px 14px;cursor:pointer;font-weight:800}.money-more>summary::-webkit-details-marker{display:none}.money-more>summary small{font-weight:500;font-size:.7rem;color:var(--text-muted)}.money-more[open]>summary{border-bottom:1px solid var(--border)}.money-more[open]{padding-bottom:8px}.money-more>.money-section{margin-inline:8px}.money-bank-bottom .bank-inbox-card{padding:0;border:0;background:none;box-shadow:none}.money-bank-bottom .bank-inbox-open{min-height:38px;padding:6px 12px;font-size:.8rem}.codes-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.codes-list{list-style:none;margin:8px 0 0;padding:0;display:flex;flex-direction:column;gap:6px}.codes-row{display:flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid var(--border);border-radius:var(--radius-sm,10px);background:var(--surface)}.codes-row.is-fresh{border-color:color-mix(in srgb,var(--green) 55%,var(--border))}.codes-main{display:flex;flex-direction:column;gap:1px;flex:1 1 auto;min-width:0}.codes-main small{color:var(--text-muted);font-size:.74rem}.codes-email{font-size:.72rem;color:var(--text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.codes-code{flex:0 0 auto;display:flex;align-items:center;gap:6px;min-height:40px;padding:6px 10px;border:1px solid var(--border);border-radius:var(--radius-sm,10px);background:var(--surface-alt,var(--surface));color:var(--text);font:inherit;font-size:1.05rem;font-weight:800;letter-spacing:.06em;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.codes-help{margin-top:10px}.codes-help summary{cursor:pointer;font-weight:700;font-size:.86rem}.codes-help ol{margin:8px 0;-webkit-padding-start:20px;padding-inline-start:20px;display:flex;flex-direction:column;gap:4px;font-size:.84rem}.codes-bot{margin-bottom:10px}.codes-bot-steps{margin:4px 0 8px;-webkit-padding-start:20px;padding-inline-start:20px;gap:3px;font-size:.82rem}.codes-bot-steps,.store-rep-price{display:flex;flex-direction:column}.store-rep-price{gap:6px;margin-top:10px;padding-top:10px;border-top:1px dashed var(--border)}.store-rep-price-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}.store-rep-price-list li{display:flex;align-items:center;gap:8px;font-size:.85rem}.store-rep-price-list li span{flex:1 1 auto;min-width:0}.invoice-line-rep{font-size:.78rem;color:var(--text-muted)}.account-info-wide{grid-column:1/-1}.account-info-invoice{display:flex;flex-direction:column;gap:2px;font-weight:600}.invoice-device-toggle{font-weight:700}.card-gap-customer{display:flex;flex-direction:column;gap:6px;padding:8px 2px 2px}.activation-missing{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px;margin-bottom:8px;padding:8px 10px;border-radius:10px;background:var(--yellow-bg);font-size:.84rem}.activation-preview{margin:0 0 10px;padding:10px;max-height:50vh;overflow:auto;white-space:pre-wrap;word-break:break-word;font-family:inherit;font-size:.86rem;line-height:1.6;border:1px solid var(--border);border-radius:10px;background:var(--surface)}.activation-actions{display:grid;grid-template-columns:1fr 1fr;grid-gap:8px;gap:8px}.sale-form{display:flex;flex-direction:column;gap:12px;margin-block:10px}.sale-form-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-gap:10px;gap:10px;align-items:end}.sale-kind-tabs{display:grid;grid-template-columns:1fr 1fr;grid-gap:4px;gap:4px;padding:4px;border-radius:var(--radius-md);background:var(--surface-alt);border:1px solid var(--border)}.sale-kind-tabs button{min-height:40px;border:0;border-radius:calc(var(--radius-md) - 3px);background:transparent;color:var(--text-muted);font:inherit;font-weight:700;cursor:pointer}.sale-kind-tabs button.active{background:var(--brand);color:var(--brand-contrast)}.sale-section{border:1px solid var(--border);border-radius:14px;background:var(--surface);overflow:hidden}.sale-section-head{display:flex;align-items:center;gap:10px;padding:10px 12px;background:var(--surface-alt);border-bottom:1px solid var(--border)}.sale-section-head h3{margin:0;font-size:.98rem}.sale-section-head small{display:block;color:var(--text-muted);font-size:.78rem;line-height:1.4}.sale-section-step{flex:none;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--brand);color:var(--brand-contrast);font-weight:800;font-size:.85rem}.sale-section-body{gap:10px;padding:12px}.sale-field,.sale-section-body{display:flex;flex-direction:column}.sale-field{gap:5px;min-width:0}.sale-field>span{font-size:.8rem;font-weight:700;color:var(--text-muted)}.sale-field .search-input{width:100%;flex:none;min-height:44px}.sale-field-wide{grid-column:1/-1}.sale-grid-2{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-gap:10px;gap:10px}.sale-line{display:flex;flex-direction:column;gap:10px;padding:10px;border:1px dashed var(--border);border-radius:12px}.sale-line-head{display:flex;align-items:flex-end;gap:8px}.sale-line-head .sale-field{flex:1 1}.sale-line-remove{flex:none;width:44px;height:44px;border-radius:var(--radius-md);border:1px solid var(--border);background:var(--red-bg);color:var(--red);font-size:1.2rem;cursor:pointer}.sale-units{gap:8px}.sale-unit,.sale-units{display:flex;flex-direction:column}.sale-unit{position:relative;gap:6px;padding:10px;border-radius:12px;background:var(--surface-alt);-webkit-border-start:3px solid var(--brand);border-inline-start:3px solid var(--brand)}.sale-unit-badge{font-size:.78rem;font-weight:800;color:var(--brand)}.sale-unit-clash{margin:0;font-size:.8rem;color:var(--red);line-height:1.5}.search-input.is-invalid{border-color:var(--red);background:var(--red-bg)}.sale-check{display:flex;align-items:center;gap:10px;min-height:40px;font-size:.9rem;cursor:pointer}.sale-check input{flex:none;width:20px;height:20px;margin:0;accent-color:var(--brand)}.sale-add-line{min-height:44px;border:1px dashed var(--brand);border-radius:12px;background:transparent;color:var(--brand);font:inherit;font-weight:700;cursor:pointer}.sale-pay-quick{display:grid;grid-template-columns:1fr 1fr;grid-gap:8px;gap:8px}.sale-pay-quick button{min-height:40px;border-radius:var(--radius-md);border:1px solid var(--border);background:var(--surface-alt);color:var(--text);font:inherit;font-size:.88rem;cursor:pointer}.sale-pay-quick button.active{border-color:var(--brand);color:var(--brand);font-weight:700}.sale-summary{margin:0;display:flex;flex-direction:column;gap:6px;padding:10px 12px;border-radius:12px;background:var(--surface-alt);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.sale-summary>div{display:flex;justify-content:space-between;gap:10px;font-size:.9rem}.sale-summary dt{color:var(--text-muted)}.sale-summary dd{margin:0;font-weight:700}.sale-summary .sale-summary-total{padding-top:6px;border-top:1px solid var(--border);font-size:1.05rem}.sale-summary .sale-summary-total dt{color:var(--text);font-weight:800}.sale-summary .is-due dd{color:var(--red)}.sale-summary .is-clear dd{color:var(--green)}.sale-choices{display:flex;flex-direction:column;gap:8px}.sale-choice{display:flex;align-items:flex-start;gap:10px;padding:10px 12px;border:1px solid var(--border);border-radius:12px;cursor:pointer}.sale-choice input{flex:none;width:20px;height:20px;margin:2px 0 0;accent-color:var(--brand)}.sale-choice span{display:flex;flex-direction:column;gap:2px}.sale-choice small{color:var(--text-muted);font-size:.8rem;line-height:1.45}.sale-choice.active{border-color:var(--brand);background:var(--surface-alt)}.sale-choice.is-disabled{opacity:.55;cursor:not-allowed}.sale-actions{display:grid;grid-template-columns:2fr 1fr;grid-gap:10px;gap:10px;position:-webkit-sticky;position:sticky;bottom:calc(76px + env(safe-area-inset-bottom, 0px));padding:8px 0;background:var(--bg);z-index:2}.sale-actions button{min-height:48px}.invoice-edit-units{display:flex;flex-direction:column;gap:6px}.pending-device-card{display:flex;flex-direction:column;gap:10px;padding:12px;border-radius:16px;background:var(--surface);border:1px solid var(--violet);box-shadow:inset 4px 0 0 var(--violet)}.pending-device-head{display:flex;align-items:center;gap:10px;min-width:0}.pending-device-icon{position:relative;flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--surface-alt);font-size:1.25rem}.pending-device-icon small{position:absolute;bottom:-4px;inset-inline-start:-4px;font-size:.85rem}.pending-device-title{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1 1}.pending-device-title strong{overflow-wrap:anywhere}.pending-device-title span{color:var(--text-muted);font-size:.82rem}.pending-device-badge{flex:none;padding:4px 10px;border-radius:999px;background:var(--violet-bg);color:var(--violet);border:1px solid var(--violet);font-size:.78rem;font-weight:800;white-space:nowrap}.pending-device-facts{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:.84rem;color:var(--text-muted)}.pending-device-kit{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:4px 10px;border-radius:10px;border:1px solid var(--border);background:var(--surface-alt);color:var(--text);font:inherit;font-weight:700;letter-spacing:.03em;cursor:pointer}.pending-device-kit.is-missing{border-style:dashed;color:var(--yellow);background:var(--yellow-bg);cursor:default}.pending-device-actions{display:grid;grid-template-columns:2fr 1fr;grid-gap:8px;gap:8px}.pending-device-actions button{min-height:44px}.status-ring-pending{--tone:var(--violet)}@media (min-width:900px){.sale-form{width:100%;max-width:820px;margin-inline:auto}}.sale-grid-1{display:grid;grid-template-columns:minmax(0,1fr);grid-gap:10px;gap:10px}.sale-kit-picks{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:.8rem;color:var(--text-muted)}.sale-kit-picks button{min-height:34px;padding:4px 10px;border-radius:999px;border:1px solid var(--brand);background:transparent;color:var(--brand);font:inherit;font-weight:700;letter-spacing:.03em;cursor:pointer}.sale-rep-price{display:flex;flex-direction:column;gap:4px;padding:10px;border-radius:12px;background:var(--yellow-bg)}.sale-rep-price small{font-size:.8rem;line-height:1.5}.store-stock-kits{display:flex;flex-direction:column;gap:6px}.store-stock-kit{padding:4px 10px;border-radius:999px;border:1px solid var(--border);background:var(--surface-alt);color:var(--text);font-weight:700;font-size:.8rem}.rep-audit{display:flex;flex-direction:column;gap:10px}.rep-audit-summary{margin:0;padding:10px 12px;border-radius:12px;font-weight:700}.rep-audit-summary.is-clean{background:var(--green-bg);color:var(--green)}.rep-audit-summary.is-bad{background:var(--red-bg);color:var(--red)}.rep-audit-summary.is-warn{background:var(--yellow-bg);color:var(--yellow)}.rep-audit-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.rep-audit-item{display:grid;grid-template-columns:auto minmax(0,1fr);grid-gap:8px;gap:8px;padding:10px;border-radius:12px;border:1px solid var(--border);background:var(--surface-alt)}.rep-audit-item.is-error{border-color:var(--red)}.rep-audit-item p{margin:0 0 4px;font-size:.88rem;line-height:1.6;overflow-wrap:anywhere}.device-link{display:flex;flex-direction:column;gap:10px}.device-link-steps summary{cursor:pointer;font-weight:700}.device-link-steps ol,.device-link-steps-list{margin:8px 0;-webkit-padding-start:20px;padding-inline-start:20px;display:flex;flex-direction:column;gap:6px;font-size:.86rem;line-height:1.6}.device-link-rules{margin:6px 0;padding:8px;max-width:100%;overflow-x:auto;font-size:.74rem;line-height:1.45;border-radius:8px;background:var(--surface-alt);border:1px solid var(--border);text-align:left}.device-link-code{width:100%;font-family:ui-monospace,monospace;font-size:.78rem;word-break:break-all}.device-link-linked{margin:0;padding:8px 12px;border-radius:10px;background:var(--green-bg);color:var(--green);font-weight:700}.device-link-code-box{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;font-size:.86rem}.device-link-held{display:flex;flex-direction:column;gap:8px}.device-link-conflicts summary{cursor:pointer;font-weight:700}.device-link-conflicts ul{margin:6px 0;-webkit-padding-start:18px;padding-inline-start:18px;font-size:.82rem;display:flex;flex-direction:column;gap:4px}.device-link-unlink{align-self:flex-start;color:var(--red)}.device-link-path{display:inline-block;max-width:100%;margin-top:2px;padding:2px 6px;border-radius:6px;background:var(--surface-alt);font-size:.78rem;overflow-wrap:anywhere}.back-to-us-banner{display:grid;grid-gap:8px;gap:8px;margin:0 0 12px;padding:10px 12px;border:1px solid var(--orange);border-radius:var(--radius-md);background:var(--orange-bg);color:var(--text)}.back-to-us-banner p{margin:0;font-size:.9rem;line-height:1.5}.back-to-us-actions{display:flex;flex-wrap:wrap;gap:8px}.back-to-us-actions>button{flex:1 1 auto;min-width:0}.rep-request-balance{display:grid;grid-gap:4px;gap:4px;margin:8px 0;padding:8px 10px;border:1px solid var(--line,var(--border));border-radius:var(--radius-md);background:var(--tile-bg);font-size:.88rem}.rep-request-balance strong{font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.rep-request-balance .is-due{color:var(--red)}.rep-request-balance .is-clear{color:var(--green)}.rep-now{display:grid;grid-gap:6px;gap:6px;margin:0 0 12px;padding:10px 12px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--tile-bg)}.rep-now-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:6px;width:100%;padding:0;border:0;background:none;color:inherit;font:inherit;text-align:start;cursor:pointer}.rep-now-value{font-size:1.05rem;font-weight:800;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;color:var(--red)}.rep-now-value .rep-now-for{color:var(--green)}.rep-now-value .rep-now-on{color:var(--red)}.rep-now-value .rep-now-zero{color:var(--text-muted)}.rep-now-toggle{justify-self:start;padding:2px 0;border:0;background:none;font:inherit;font-size:.8rem;cursor:pointer}.rep-now-sub{color:var(--text-muted,var(--muted))}.rep-table-wrap{overflow-x:auto;border-radius:10px}.rep-table{width:100%;border-collapse:collapse;font-size:.78rem;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.rep-table thead th{padding:6px 4px;background:var(--brand);color:var(--brand-contrast,#fff);font-weight:700;text-align:start;white-space:nowrap}.rep-table td{padding:6px 4px;border-bottom:1px solid var(--border);vertical-align:top}.rep-table td:not(:first-child){white-space:nowrap}.rep-table td>span{display:block}.rep-table td>span>small{display:block;font-size:.68rem;opacity:.85}.rep-table td:first-child{min-width:0;width:46%}.rep-table tr.is-tappable{cursor:pointer}.rep-table-date{color:var(--text-muted,var(--muted));font-size:.72rem}.rep-table-due{color:var(--red)}.rep-table-clear{color:var(--green)}.rep-table-wrong{color:var(--orange)}.rep-older{margin-top:8px}.rep-older>summary{cursor:pointer;padding:8px 0;font-weight:700}.rep-older-title{margin:10px 0 6px;font-size:.9rem}.rep-row-info{display:grid;grid-gap:6px;gap:6px;margin-bottom:10px}.rep-row-info>div{display:flex;justify-content:space-between;gap:10px}.rep-row-info span{color:var(--text-muted,var(--muted))}.ledger-modes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:6px;gap:6px;padding:4px;border-radius:var(--radius-md);background:var(--surface-alt);grid-column:1/-1}.ledger-mode{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;border:0;border-radius:calc(var(--radius-md) - 4px);background:transparent;color:var(--text-muted);font:inherit;cursor:pointer}.ledger-mode.is-active{background:var(--brand);color:var(--brand-contrast,#fff)}.ledger-mode-hint{grid-column:1/-1;margin:0;color:var(--text-muted);font-size:.82rem}.ledger-target{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:6px}.ledger-target>span{color:var(--text-muted);font-size:.85rem}.ledger-target-chip{min-height:36px;padding:0 12px;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--text);font:inherit;font-size:.85rem;cursor:pointer}.ledger-target-chip.is-active{border-color:var(--brand);background:var(--accent-bg);color:var(--brand);font-weight:700}.ledger-with-cost{grid-column:1/-1}.rep-table td.rep-fill-due{background:var(--red-bg)}.rep-table td.rep-fill-clear{background:var(--green-bg)}.rep-table td.rep-fill-clear,.rep-table td.rep-fill-due{font-weight:700;text-align:center}.search-photo-btn{position:absolute;z-index:1;top:50%;left:8px;width:40px;height:40px;border:0;border-radius:12px;background:var(--accent-bg);font-size:1.15rem;transform:translateY(-50%);cursor:pointer}.search-panel .dashboard-search{padding-left:56px}.search-suggest{display:grid;grid-gap:2px;gap:2px;margin:-4px 0 12px;padding:6px;list-style:none;border:1px solid var(--border);border-radius:14px;background:var(--surface);box-shadow:var(--card-shadow)}.search-photo-result .search-suggest{margin:8px 0 0;box-shadow:none}.search-suggest button{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;padding:6px 8px;border:0;border-radius:10px;background:transparent;color:var(--text);font:inherit;text-align:start;cursor:pointer}.search-suggest button:active,.search-suggest button:hover{background:var(--accent-bg)}.search-suggest-text{display:grid;min-width:0}.search-suggest-text small,.search-suggest-text strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.search-suggest-text small{color:var(--text-muted)}.search-photo-result{margin:-4px 0 12px;padding:10px 12px;border:1px solid var(--border);border-radius:14px;background:var(--surface)}.business-rep-shares{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 8px;padding:0;list-style:none;font-size:.78rem}.business-rep-shares li{padding:3px 8px;border:1px solid var(--border);border-radius:999px;background:var(--surface)}.business-rep-shares small{color:var(--text-muted)}.business-who{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0;padding:8px;border:1px solid var(--border);border-radius:10px}.business-who legend{padding:0 4px;color:var(--text-muted);font-size:.8rem;font-weight:700}.business-who-chip{display:inline-flex;align-items:center;gap:4px;padding:4px 10px;border:1px solid var(--border);border-radius:999px;background:var(--surface);font-size:.82rem;cursor:pointer}.business-who-chip:has(input:checked){border-color:var(--brand);color:var(--brand);font-weight:700}.business-split,.business-who-chip input{margin:0}.device-reminder-line{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;margin:0 0 8px;padding:4px 10px;border:1px solid color-mix(in srgb,var(--yellow) 40%,transparent);border-radius:var(--radius-sm);color:var(--yellow);font-size:.8rem;font-weight:700}.device-reminder-line>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.device-reminder-due{background:color-mix(in srgb,var(--yellow) 14%,transparent)}.device-reminder-done{flex:0 0 auto;padding:2px 8px;border:1px solid;border-radius:999px;background:transparent;color:inherit;font:inherit;font-size:.75rem;cursor:pointer}.device-reminder-actions{display:inline-flex;gap:10px}.link-origin-badge{display:inline-block;align-self:flex-start;padding:1px 8px;border:1px solid var(--border);border-radius:999px;color:var(--text-muted);font-size:.7rem;font-weight:700}.ledger-needs-client{grid-column:1/-1;display:flex;flex-direction:column;gap:8px;width:100%}.ledger-needs-client .account-card-alert{margin:0}.party-rep-held{margin:6px 0 0;padding:5px 10px;border:1px dashed var(--border);border-radius:var(--radius-sm);color:var(--text-muted);font-size:.78rem;font-weight:700}.account-card-gap-chip-small{border-color:var(--border);background:transparent;color:var(--text-muted)}.account-card-gap-stack{flex:none;-webkit-margin-start:auto;margin-inline-start:auto;display:inline-flex;flex-direction:column;align-items:center;gap:1px}.account-card-gap-stack .account-card-gap-chip{-webkit-margin-start:0;margin-inline-start:0}.account-card-gap-prices{display:inline-flex;align-items:center;gap:5px;font-size:.56rem;font-weight:700;line-height:1.1;color:var(--text-muted);white-space:nowrap}.account-card-balance-stack{display:inline-flex;flex:0 1 auto;flex-direction:column;align-items:flex-start;gap:1px;min-width:0;max-width:100%;overflow:hidden}.account-card-balance-line{display:flex;align-items:center;gap:4px;min-width:0;max-width:100%}.account-card-balance-line>.account-card-gap-eye{flex:none}.account-card-balance-line>span[dir=ltr]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.account-card-gap-eye{padding:0;border:0;background:none;font-size:.62rem;line-height:1;cursor:pointer}.card-more-item.card-more-item-quiet{padding-block:7px;background:transparent;color:var(--text-muted);font-size:.86rem}.op-flags-badge{position:fixed;z-index:95;left:50%;bottom:calc(var(--bottom-nav-height) + var(--safe-bottom) + 18px);transform:translateX(-50%);max-width:calc(100% - 170px);padding:8px 12px;white-space:nowrap;border:2px solid var(--red);border-radius:999px;background:var(--red-bg);color:var(--red);font:inherit;font-size:.8rem;font-weight:800;line-height:1.3;text-align:center;box-shadow:0 6px 18px rgb(0 0 0/.25);cursor:pointer;animation:op-flags-pulse 1.6s ease-in-out infinite}@keyframes op-flags-pulse{0%,to{box-shadow:0 6px 18px rgb(0 0 0/.25),0 0 0 0 var(--red-bg)}50%{box-shadow:0 6px 18px rgb(0 0 0/.25),0 0 0 6px var(--red-bg)}}@media (prefers-reduced-motion:reduce){.op-flags-badge{animation:none}}.op-flags-list{display:grid;grid-gap:10px;gap:10px;margin:0;padding:0;list-style:none}.op-flag{display:grid;grid-gap:6px;gap:6px;padding:10px;border:1px solid var(--red);border-radius:var(--radius-sm);background:var(--red-bg)}.op-flag-who{margin:0;font-weight:800;color:var(--red);font-size:.85rem}.op-flag-text{margin:0;max-height:220px;overflow:auto;white-space:pre-wrap;word-break:break-word;font:inherit;font-size:.82rem;line-height:1.5;color:var(--text)}.op-flag-done{justify-self:start}.sl-pay-list li.sl-pay-item{display:grid;grid-gap:6px;gap:6px;padding:8px 10px}.sl-pay-item-head{display:flex;justify-content:space-between;gap:10px;min-width:0}.sl-pay-item-head strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sl-pay-details{display:grid;grid-template-columns:auto minmax(0,1fr);grid-gap:3px 10px;gap:3px 10px;margin:0;font-size:.8rem}.sl-pay-details dt{color:var(--text-muted);white-space:nowrap}.sl-pay-details dd{margin:0;min-width:0;overflow-wrap:anywhere;font-weight:700}.sl-pay-details .sl-pay-profit{color:var(--green)}.sl-pay-details .sl-pay-loss{color:var(--red)}.party-hidden-reps{width:100%;padding:0;text-align:start;font-size:.75rem}.ledger-pay-choice{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:6px;gap:6px}.ledger-pay-choice button{min-width:0;padding:8px 6px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-alt);color:var(--text-muted);font:inherit;font-size:.76rem;font-weight:700;line-height:1.3;cursor:pointer}.ledger-pay-choice button.is-on{border-color:var(--brand);background:var(--mint-bg);color:var(--text);box-shadow:inset 0 0 0 1px var(--brand)}.rep-sort-select{width:auto;min-width:0;flex:0 1 auto;padding-block:6px;font-size:.8rem}.rep-order-list{display:grid;grid-gap:6px;gap:6px;margin:0;padding:0;list-style:none}.rep-order-list li{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;grid-gap:6px;gap:6px;padding:6px 10px;border-radius:var(--radius-sm);background:var(--surface-alt);font-weight:700}.rep-order-list li span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rep-accounts-note{color:var(--text-muted);overflow-wrap:anywhere}.rep-accounts-edit{justify-self:start;padding:2px 0;font-size:.78rem}.rep-flags-bar{position:fixed;z-index:96;top:calc(var(--safe-top) + 6px);left:50%;transform:translateX(-50%);max-width:calc(100% - 24px);padding:7px 14px;overflow:hidden;border:2px solid var(--red);border-radius:999px;background:var(--red-bg);color:var(--red);font:inherit;font-size:.82rem;font-weight:800;line-height:1.3;white-space:nowrap;text-overflow:ellipsis;box-shadow:0 6px 18px rgb(0 0 0/.28);cursor:pointer;animation:op-flags-pulse 1.6s ease-in-out infinite}@media (prefers-reduced-motion:reduce){.rep-flags-bar{animation:none}}.rep-flags-list{display:grid;grid-gap:10px;gap:10px;margin:0;padding:0;list-style:none}.rep-flags-item{display:grid;grid-gap:4px;gap:4px;padding:10px 12px;border:1px solid color-mix(in srgb,var(--red) 40%,transparent);-webkit-border-start:4px solid var(--red);border-inline-start:4px solid var(--red);border-radius:var(--radius-sm);background:var(--surface)}.rep-flags-item p{margin:0;line-height:1.5;overflow-wrap:anywhere}.rep-flags-who{color:var(--text-muted);font-size:.78rem}.rep-flags-note{font-weight:700;color:var(--red)}.rep-flags-actions{display:flex;gap:8px;margin-top:4px}.rep-flags-actions>button{flex:1 1}html.has-rep-flags body{padding-top:calc(var(--safe-top) + 46px)}.rep-flag-line{display:block;width:100%;min-width:0;margin:0 0 8px;padding:5px 10px;overflow:hidden;border:1px solid color-mix(in srgb,var(--red) 45%,transparent);border-radius:var(--radius-sm);background:var(--red-bg);font:inherit;font-size:.82rem;font-weight:700;text-align:start;white-space:nowrap;text-overflow:ellipsis;cursor:pointer}.rep-flag-line,.rep-flag-option strong{color:var(--red)}.rep-flag-form{display:grid;grid-gap:10px;gap:10px}.rep-flag-text{min-height:84px;resize:vertical;font:inherit}.rep-flag-status{margin:0;font-size:.85rem;color:var(--text-muted)}.rep-flag-history{display:grid;grid-gap:4px;gap:4px;margin:0;padding:0;list-style:none;font-size:.8rem;color:var(--text-muted)}.rep-table-handover{display:block;margin-top:2px;color:var(--brand);font-size:.72rem;font-weight:700}.op-log-search{flex:none;width:100%;height:44px;min-height:0}.op-log-list{display:grid;grid-gap:6px;gap:6px;margin:10px 0 0;padding:0;list-style:none}.op-log-item{display:flex;align-items:center;gap:10px;width:100%;min-width:0;padding:8px 10px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:inherit;font:inherit;text-align:start;cursor:pointer}.op-log-serial{flex:none;min-width:44px;color:var(--brand);font-size:.95rem;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.op-log-main{display:grid;flex:1 1;min-width:0;grid-gap:2px;gap:2px;font-size:.84rem}.op-log-main small,.op-log-main>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.op-log-amount small,.op-log-main small{color:var(--text-muted);font-size:.72rem}.op-log-amount{display:grid;flex:none;justify-items:end;grid-gap:2px;gap:2px;font-weight:800;font-size:.84rem}.op-log-detail{display:grid;grid-gap:8px;gap:8px}.op-log-row{display:flex;justify-content:space-between;gap:10px;margin:0;font-size:.86rem}.op-log-row>span:first-child{color:var(--text-muted)}.op-log-source{padding:8px 10px;-webkit-border-start:3px solid var(--brand);border-inline-start:3px solid var(--brand);border-radius:var(--radius-sm);background:var(--surface-alt)}.op-log-source p{margin:4px 0 0;white-space:pre-line;overflow-wrap:anywhere;font-size:.86rem}.op-log-text{margin:0;padding:10px;font:inherit;font-size:.82rem;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.op-log-photo,.op-log-text{border-radius:var(--radius-sm);background:var(--surface-alt)}.op-log-photo{width:100%;max-height:420px;object-fit:contain}.op-log-actions{display:flex;gap:8px}.op-log-actions>button{flex:1 1}.rep-request-head{flex-wrap:wrap;gap:6px;align-items:center}.rep-request-badge{padding:3px 10px;border-radius:999px;font-size:.82rem;font-weight:800;background:var(--surface-alt);color:var(--text)}.rep-request-kind-in .rep-request-badge{background:var(--green-bg);color:var(--green)}.rep-request-kind-out .rep-request-badge{background:var(--red-bg);color:var(--red)}.rep-request-kind-info .rep-request-badge{background:color-mix(in srgb,var(--brand) 16%,transparent);color:var(--brand)}.rep-request-who{-webkit-margin-start:auto;margin-inline-start:auto;color:var(--text-muted);font-size:.78rem}.rep-request-amount{margin:6px 0 2px;font-size:1.5rem;font-weight:800;line-height:1.2;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.rep-request-outcome{margin:8px 0;padding:8px 10px;border:1px solid color-mix(in srgb,var(--green) 40%,transparent);border-radius:var(--radius-sm);background:color-mix(in srgb,var(--green) 8%,transparent);font-size:.85rem}.rep-request-outcome ul{display:grid;grid-gap:3px;gap:3px;margin:4px 0 0;padding:0;list-style:none}.rep-request-outcome li{line-height:1.5;overflow-wrap:anywhere}.device-link-progress{display:flex;flex-direction:column;gap:4px;margin:8px 0}.device-link-progress .bulk-send-bar span{background:var(--accent,#3b82f6)}.device-link-main-note{color:var(--text-muted);font-size:.78rem}.device-link-check{display:flex;flex-direction:column;gap:6px;margin:8px 0}.device-link-check-item{border:1px solid var(--border);border-radius:var(--radius-md);padding:8px 10px;background:var(--green-bg)}.device-link-check-item.device-link-check-diff{background:var(--surface-alt);border-color:#f59e0b}.device-link-check-item summary{cursor:pointer;font-weight:700;font-size:.9rem}.device-link-check-table{width:100%;border-collapse:collapse;margin-top:6px;font-size:.82rem;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.device-link-check-table td,.device-link-check-table th{padding:3px 4px;text-align:start;border-bottom:1px solid var(--border)}.device-link-check-table td:not(:first-child),.device-link-check-table th:not(:first-child){text-align:center;white-space:nowrap}.device-link-check-off td{color:#d97706;font-weight:700}.device-link-pending{display:flex;flex-direction:column;gap:8px;margin:8px 0;padding:10px;border-radius:var(--radius-md);border:1px solid #ef4444;background:var(--surface-alt)}.device-link-pending-item{display:flex;flex-direction:column;gap:6px;font-size:.85rem;padding-top:6px;border-top:1px solid var(--border);min-width:0;overflow-wrap:anywhere}.device-link-pending-actions{display:flex;flex-wrap:wrap;gap:6px}.device-link-pending-actions button{flex:1 1 140px}.device-link-pending-yes{color:#ef4444}.device-link-missing li{overflow-wrap:anywhere}.rep-receipt{display:flex;gap:10px;align-items:flex-start;margin:6px 0;min-width:0}.rep-receipt-thumb{flex:0 0 auto;width:92px;height:120px;padding:0;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-alt);overflow:hidden;display:flex;align-items:center;justify-content:center;font-size:1.6rem;cursor:zoom-in}.rep-receipt-thumb img{width:100%;height:100%;object-fit:cover;object-position:top}.rep-receipt-info{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1 1;font-size:.84rem;line-height:1.45;overflow-wrap:anywhere}.rep-receipt-ref{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:700;letter-spacing:.02em}.rep-receipt-muted{color:var(--text-muted)}.rep-receipt-warn{color:#d97706;font-weight:700}.rep-receipt-dup{display:flex;flex-direction:column;gap:6px;margin:6px 0;padding:8px 10px;border-radius:var(--radius-md);border:1px solid #ef4444;background:var(--surface-alt);color:#ef4444;font-size:.84rem;font-weight:700}.rep-receipt-dup-ok{border-color:var(--border);color:var(--text-muted);font-weight:400}.rep-receipt-dup .text-action{align-self:flex-start}.rep-receipt-viewer{position:fixed;inset:0;z-index:1000;background:rgba(0,0,0,.92);display:flex;align-items:center;justify-content:center;overflow:auto;touch-action:pinch-zoom;padding:env(safe-area-inset-top,0) 8px env(safe-area-inset-bottom,0)}.rep-receipt-viewer img{max-width:100%;max-height:100%;object-fit:contain}.rep-receipt-close{position:fixed;top:calc(env(safe-area-inset-top, 0px) + 10px);inset-inline-end:12px;width:40px;height:40px;border-radius:50%;border:none;background:rgba(255,255,255,.18);color:#fff;font-size:1.2rem}.team-line{position:fixed;right:0;top:72%;z-index:95;width:26px;height:16vh;padding:0;border:0;background:none;cursor:pointer;-webkit-tap-highlight-color:transparent}.team-line-track{position:absolute;right:4px;top:0;bottom:0;width:5px;border-radius:999px;background:var(--red);box-shadow:0 0 10px color-mix(in srgb,var(--red) 60%,transparent);opacity:.85;animation:team-line-pulse 2.4s ease-in-out infinite}@keyframes team-line-pulse{50%{opacity:.45}}.team-line-tag{position:absolute;right:14px;top:0;display:inline-flex;align-items:center;max-width:min(58vw,240px);padding:4px 10px;border-radius:999px;background:color-mix(in srgb,var(--surface) 70%,transparent);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid color-mix(in srgb,var(--red) 45%,transparent);color:var(--text);font-size:.74rem;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:.9}.team-line-list{list-style:none;margin:8px 0;padding:0;gap:10px}.team-line-item,.team-line-list{display:flex;flex-direction:column}.team-line-item{gap:4px;padding:10px;border-radius:var(--radius-md);border:1px solid color-mix(in srgb,var(--red) 40%,var(--border));background:var(--surface-alt)}.team-line-diffs{margin:0;-webkit-padding-start:18px;padding-inline-start:18px;font-size:.85rem;display:flex;flex-direction:column;gap:2px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}@media (prefers-reduced-motion:reduce){.team-line-track{animation:none}}.team-flag-note{width:100%;min-height:84px;resize:vertical;margin:8px 0;line-height:1.6;font-family:inherit;font-size:.95rem}.report-period-btn.team-flag-urgent{background:var(--red);border-color:var(--red);color:#fff}.device-shots-list{list-style:none;margin:8px 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:10px;gap:10px}.device-shots-item{display:flex;flex-direction:column;gap:4px;min-width:0}.device-shots-thumb{width:100%;aspect-ratio:3/4;max-width:100%;padding:0;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-alt);overflow:hidden;display:flex;align-items:center;justify-content:center;cursor:zoom-in}.device-shots-thumb img{width:100%;height:100%;object-fit:cover;object-position:top}.device-shots-meta{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:.78rem;color:var(--text-muted);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.rep-flags-photo{display:block;width:100%;max-height:260px;object-fit:contain;border-radius:var(--radius-md);border:1px solid var(--border);margin:4px 0;background:var(--surface-alt)}.msg-kind-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:6px 0 8px}.msg-kind-tab{flex:1 1;min-width:0;padding:8px 6px;border:1px solid var(--border);border-radius:10px;background:var(--surface-alt);color:var(--text);font:inherit;font-size:.8rem;font-weight:700;cursor:pointer}.msg-kind-tab.is-active{border-color:var(--brand);background:var(--brand);color:#fff}.msg-edit-group,.msg-list{display:flex;flex-direction:column;gap:6px}.msg-edit-group{margin-bottom:12px}.msg-item{display:flex;flex-direction:column;align-items:flex-start;gap:2px;width:100%;padding:10px 12px;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:var(--text);font:inherit;text-align:start;cursor:pointer}.msg-item-label{font-size:.88rem;font-weight:700;min-width:0;overflow-wrap:anywhere}.msg-item-hint{font-size:.72rem;color:var(--brand)}.msg-edited{font-weight:400;color:var(--text-muted)}.msg-edit-link{display:inline-block;margin:8px 0 4px;text-decoration:none}.msg-log-title{margin:10px 0 6px;font-size:.85rem}.msg-log{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}.msg-log-item{display:flex;justify-content:space-between;align-items:baseline;gap:8px;padding:6px 0;border-bottom:1px solid var(--border);font-size:.82rem}.msg-log-item span{min-width:0;overflow-wrap:anywhere}.msg-log-item small{flex-shrink:0;color:var(--text-muted);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.msg-edit-box{gap:8px;padding:10px;border:1px solid var(--brand);border-radius:12px;background:var(--surface)}.msg-edit-box,.msg-field{display:flex;flex-direction:column}.msg-field{gap:4px;font-size:.78rem;font-weight:700;color:var(--text-muted)}.msg-edit-body{min-height:90px;resize:vertical;font:inherit}.msg-preview{margin:0;padding:8px 10px;border-radius:10px;background:var(--surface-alt);color:var(--text);font:inherit;font-size:.8rem;white-space:pre-wrap;overflow-wrap:anywhere}.msg-edit-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.msg-input{width:100%;box-sizing:border-box;padding:8px 10px;border:1px solid var(--border);border-radius:10px;background:var(--surface-alt);color:var(--text);font:inherit;font-size:.88rem;font-weight:400}.msg-input:focus{outline:2px solid var(--brand);outline-offset:0}.home-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:8px;gap:8px;margin:0 0 10px}.home-tile{--tile:var(--brand);--tile-bg:var(--surface-alt);display:flex;flex-direction:column;align-items:center;gap:2px;min-width:0;padding:12px 6px 10px;border:2px solid var(--tile);border-radius:18px;background:var(--tile-bg);color:var(--text);font:inherit;cursor:pointer}.home-tile-urgent{--tile:var(--red);--tile-bg:var(--red-bg)}.home-tile-notUrgent{--tile:var(--yellow);--tile-bg:var(--yellow-bg)}.home-tile-icon{font-size:1.7rem;line-height:1}.home-tile-value{font-size:1.5rem;font-weight:800;color:var(--tile);font-feature-settings:"tnum";font-variant-numeric:tabular-nums;line-height:1.15}.home-tile-label{font-size:.8rem;font-weight:700;overflow-wrap:anywhere;text-align:center}.home-tile.is-active{box-shadow:0 0 0 3px var(--tile)}.backup-banner.home-slim{gap:8px;padding:6px 10px;margin-bottom:6px;border-radius:12px;text-align:start;width:100%;box-sizing:border-box}.backup-banner.home-slim>span:first-child{font-size:1rem;flex-shrink:0}.backup-banner.home-slim>span:last-child{min-width:0;flex:1 1 auto}.backup-banner.home-slim strong{font-size:.78rem;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.backup-banner.home-slim small{display:none}.backup-banner.home-slim small.d-alert-card-short{display:block;font-size:.7rem}.chat-list{list-style:none;margin:8px 0;padding:0;display:flex;flex-direction:column;gap:8px}.chat-list-item{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-gap:2px 8px;gap:2px 8px;width:100%;padding:12px 14px;border:1px solid var(--border);border-radius:14px;background:var(--surface);color:var(--text);font:inherit;text-align:start;text-decoration:none;cursor:pointer}.chat-list-title{font-weight:800;font-size:.95rem;overflow-wrap:anywhere}.chat-list-time{grid-column:2;grid-row:1;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.chat-list-last{grid-column:1/-1;font-size:.8rem}.chat-badge{position:absolute;inset-inline-end:12px;bottom:10px;min-width:22px;height:22px;padding:0 6px;border-radius:11px;background:var(--green);color:#fff;font-size:.75rem;font-weight:800;display:flex;align-items:center;justify-content:center}.chat-conversation{display:flex;flex-direction:column;min-height:calc(100dvh - 120px)}.chat-live{width:10px;height:10px;border-radius:50%;background:var(--green);flex-shrink:0;-webkit-margin-start:auto;margin-inline-start:auto}.chat-live.is-off{background:var(--red)}.chat-messages{flex:1 1 auto;gap:6px;padding:8px 2px;overflow-y:auto;max-height:calc(100dvh - 260px);min-height:200px}.chat-bubble,.chat-messages{display:flex;flex-direction:column}.chat-bubble{align-self:flex-start;max-width:82%;min-width:0;padding:7px 10px;border-radius:14px 14px 14px 4px;background:var(--surface-alt);color:var(--text);gap:3px}.chat-bubble.is-mine{align-self:flex-end;border-radius:14px 14px 4px 14px;background:var(--green-bg)}.chat-by{font-size:.72rem;color:var(--brand)}.chat-text{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:.9rem;line-height:1.45}.chat-meta{color:var(--text-muted);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.chat-image{padding:0;border:0;background:none;cursor:zoom-in}.chat-image img{display:block;max-width:100%;max-height:240px;border-radius:10px}.chat-device{align-self:flex-start;padding:5px 9px;border:1px solid var(--brand);border-radius:10px;background:var(--surface);color:var(--brand);font:inherit;font-size:.82rem;font-weight:700;cursor:pointer;max-width:100%;overflow-wrap:anywhere;text-align:start}.chat-attached{display:flex;flex-wrap:wrap;gap:6px;padding:4px 0}.chat-attached-item{display:inline-flex;align-items:center;gap:4px;padding:3px 6px;border-radius:10px;background:var(--surface-alt);font-size:.8rem;max-width:100%}.chat-attached-item img{width:40px;height:40px;object-fit:cover;border-radius:6px}.chat-compose{position:-webkit-sticky;position:sticky;bottom:calc(76px + env(safe-area-inset-bottom, 0px));display:flex;gap:6px;padding:8px 0;background:var(--bg)}.chat-tool{flex-shrink:0;width:38px;height:38px;border:1px solid var(--border);border-radius:50%;font-size:1.05rem;cursor:pointer}.chat-input,.chat-tool{background:var(--surface)}.chat-input{flex:1 1 auto;min-width:0;min-height:38px;max-height:120px;padding:8px 10px;border:1px solid var(--border);border-radius:18px;color:var(--text);font:inherit;font-size:.9rem;resize:none}.chat-send{flex-shrink:0;width:40px;height:40px;border:0;border-radius:50%;background:var(--green);color:#fff;font-size:1.1rem;cursor:pointer}.chat-send:disabled{opacity:.45;cursor:default}.chat-picker{max-height:55vh;overflow-y:auto;margin-top:8px}.chat-call{flex-shrink:0;width:38px;height:38px;-webkit-margin-start:auto;margin-inline-start:auto;border:1px solid var(--green);border-radius:50%;background:var(--green-bg);font-size:1.05rem;cursor:pointer}.chat-call+.chat-live{-webkit-margin-start:6px;margin-inline-start:6px}.chat-voice{display:flex;flex-direction:column;gap:2px;min-width:0}.chat-audio{width:min(240px,62vw);max-width:100%;height:36px}.chat-call-line{font-weight:700}.chat-mic{font-size:1.05rem}.chat-recording{flex:1 1 auto;display:flex;align-items:center;gap:8px;min-width:0;padding:0 4px}.chat-recording-dot{width:10px;height:10px;border-radius:50%;background:var(--red);animation:team-line-pulse 1.2s ease-in-out infinite;flex-shrink:0}.chat-recording-time{flex:1 1 auto;min-width:0;font-size:.9rem;font-weight:700;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.call-card{position:fixed;top:calc(env(safe-area-inset-top, 0px) + 8px);left:10px;right:10px;max-width:440px;margin:0 auto;z-index:400;flex-direction:column;padding:14px 14px 12px;border:1px solid var(--border);border-radius:20px;background:var(--surface);color:var(--text);box-shadow:0 14px 36px rgb(0 0 0/.3);animation:call-drop .22s ease-out}.call-card,.call-top{display:flex;gap:12px}.call-top{align-items:center;min-width:0}.call-avatar{flex-shrink:0;width:48px;height:48px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--green-bg);color:var(--green);font-size:1.4rem;font-weight:800}.call-incoming .call-avatar,.call-outgoing .call-avatar{animation:call-ring 1.4s ease-in-out infinite}.call-who{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:2px}.call-peer{font-size:1.05rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.call-status{color:var(--text-muted);font-size:.88rem;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.call-diag{color:var(--text-muted);font-size:.75rem;line-height:1.35;overflow-wrap:anywhere}.call-fold{flex-shrink:0;width:36px;height:36px;border:1px solid var(--border);border-radius:50%;background:var(--surface-alt);color:var(--text);font:inherit;font-size:1.1rem;cursor:pointer}.call-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.call-btn{flex:1 1;min-width:0;padding:10px 8px;border:1px solid var(--border);border-radius:999px;background:var(--surface-alt);color:var(--text);font:inherit;font-size:.88rem;font-weight:800;white-space:nowrap;cursor:pointer}.call-btn:disabled{opacity:.45;cursor:default}.call-btn.is-on{border-color:var(--green);background:var(--green-bg);color:var(--green)}.call-btn-accept{border-color:var(--green);background:var(--green);color:#fff}.call-btn-decline{border-color:var(--red);background:var(--red);color:#fff}.call-rec-dot{color:var(--red);font-weight:800}.call-bar{position:fixed;top:0;left:0;right:0;z-index:400;display:flex;align-items:stretch;padding-top:env(safe-area-inset-top,0);background:var(--green);color:#fff;box-shadow:0 2px 10px rgb(0 0 0/.25)}.call-bar-main{flex:1 1 auto;min-width:0;padding:9px 14px;border:0;background:transparent;color:inherit;font:inherit;font-size:.9rem;font-weight:800;text-align:start;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;cursor:pointer}.call-bar-end{flex-shrink:0;width:46px;border:0;background:var(--red);color:#fff;font:inherit;font-size:1rem;font-weight:800;cursor:pointer}@keyframes call-ring{0%,to{box-shadow:0 0 0 0 color-mix(in srgb,var(--green) 45%,transparent)}50%{box-shadow:0 0 0 12px color-mix(in srgb,var(--green) 0%,transparent)}}@keyframes call-drop{0%{transform:translateY(-16px);opacity:0}to{transform:none;opacity:1}}@media (prefers-reduced-motion:reduce){.call-card,.call-incoming .call-avatar,.call-outgoing .call-avatar,.chat-recording-dot{animation:none}}.chat-list-members{font-size:.8rem}.chat-list-waiting{opacity:.92}.chat-list-waiting .chat-list-bottom{flex-wrap:wrap;gap:6px}.chat-list{gap:0}.chat-list-item{gap:12px;border:0;border-bottom:1px solid var(--border);border-radius:0;background:transparent;padding:12px 4px}.chat-avatar,.chat-list-item{display:flex;align-items:center}.chat-avatar{flex-shrink:0;width:48px;height:48px;border-radius:50%;justify-content:center;background:var(--green-bg);color:var(--green);font-size:1.3rem;font-weight:800}.chat-avatar-sm{width:38px;height:38px;font-size:1.05rem}.chat-list-body{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:3px}.chat-list-bottom,.chat-list-top{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}.chat-list-title{font-weight:700;font-size:.98rem;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-list-time{flex-shrink:0;color:var(--text-muted);font-size:.72rem}.chat-list-time.is-unread{color:var(--green);font-weight:700}.chat-list-last{flex:1 1 auto;min-width:0;color:var(--text-muted);font-size:.84rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-badge{position:static;flex-shrink:0}.chat-ticks{color:var(--wa-meta);-webkit-margin-end:3px;margin-inline-end:3px;letter-spacing:-2px}.chat-ticks.is-read{color:var(--wa-read)}.chat-conversation{gap:0;padding-top:0}.chat-head{position:-webkit-sticky;position:sticky;top:env(safe-area-inset-top,0);z-index:20;display:flex;align-items:center;gap:10px;margin:0 -16px;padding:10px 16px;background:var(--surface);border-bottom:1px solid var(--border)}.chat-back{flex-shrink:0;border:0;background:none;color:var(--text);font-size:1.3rem;text-decoration:none;cursor:pointer;padding:4px}.chat-head-text{flex:1 1 auto;min-width:0;display:flex;flex-direction:column}.chat-head-text strong{font-size:1rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-head-text small{color:var(--green);font-size:.72rem}.chat-head-text small.is-off{color:var(--red)}.chat-call{-webkit-margin-start:0;margin-inline-start:0}.chat-wallpaper{margin:0 -16px;padding:10px 12px;background-color:var(--wa-bg);background-image:radial-gradient(var(--wa-dot) 1.2px,transparent 1.3px);background-size:18px 18px;max-height:calc(100dvh - 230px);min-height:calc(100dvh - 230px);gap:2px}.chat-row-wrap{display:flex;flex-direction:column}.chat-day{align-self:center;margin:8px 0;padding:4px 12px;color:var(--wa-meta);font-size:.74rem;box-shadow:0 1px 1px rgb(0 0 0/.12)}.chat-bubble,.chat-day{border-radius:8px;background:var(--wa-other)}.chat-bubble{position:relative;max-width:80%;margin:1px 6px;padding:5px 8px 4px;color:var(--wa-text);box-shadow:0 1px 1px rgb(0 0 0/.13);touch-action:pan-y;-moz-user-select:none;user-select:none;-webkit-user-select:none;transition:transform .12s ease-out,background-color .4s}.chat-bubble.is-mine{background:var(--wa-mine);border-radius:8px}.chat-bubble:before{content:"";position:absolute;top:0;width:0;height:0;border-top:8px solid var(--wa-other)}.chat-bubble:not(.is-mine):before{right:-7px;border-left:8px solid transparent}.chat-bubble.is-mine:before{left:-7px;border-top-color:var(--wa-mine);border-right:8px solid transparent}.chat-bubble.is-flash{background-color:color-mix(in srgb,var(--wa-read) 30%,var(--wa-other))}.chat-bubble.is-deleted{opacity:.75}.chat-text{font-size:.93rem;color:var(--wa-text)}.chat-text-deleted{font-style:italic;color:var(--wa-meta)}.chat-meta{align-self:flex-end;color:var(--wa-meta);font-size:.66rem;display:inline-flex;gap:2px;align-items:center}.chat-forwarded{color:var(--wa-meta);font-size:.72rem;font-style:italic}.chat-quote{display:flex;flex-direction:column;gap:1px;width:100%;padding:5px 8px;border:0;-webkit-border-start:4px solid var(--green);border-inline-start:4px solid var(--green);border-radius:6px;background:rgb(0 0 0/.07);color:var(--wa-text);font:inherit;text-align:start;cursor:pointer;min-width:0}.chat-quote strong{font-size:.76rem}.chat-quote span{font-size:.8rem;color:var(--wa-meta);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-quote-static{cursor:default;flex:1 1 auto}.chat-reply-bar{display:flex;align-items:center;gap:6px;width:100%;min-width:0}.chat-image img{max-height:280px;border-radius:6px}.chat-note{margin:4px 0;text-align:center;color:var(--text-muted);font-size:.8rem}.chat-compose{margin:0 -16px;padding:6px 8px;background:var(--wa-bg);bottom:calc(var(--bottom-nav-height, 72px) + env(safe-area-inset-bottom, 0px));align-items:flex-end}.chat-field{flex:1 1 auto;min-width:0;display:flex;align-items:flex-end;gap:2px;padding:4px 6px;border-radius:24px;background:var(--wa-other)}.chat-field .chat-input{border:0;background:transparent;padding:6px;min-height:34px;color:var(--wa-text)}.chat-field-tool{flex-shrink:0;width:34px;height:34px;border:0;border-radius:50%;background:transparent;font-size:1.05rem;cursor:pointer;opacity:.85}.chat-send{width:46px;height:46px;background:var(--wa-accent)}.msg-item-bad .msg-item-label{color:var(--red)}.img-editor{position:fixed;inset:0;z-index:450;display:flex;flex-direction:column;gap:6px;padding:calc(env(safe-area-inset-top, 0px) + 8px) 12px calc(env(safe-area-inset-bottom, 0px) + 10px);background:#000;color:#fff}.img-editor-bar{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.img-editor-gap{flex:1 1 auto}.img-tool{min-width:40px;height:40px;padding:0 10px;border:0;border-radius:20px;background:rgb(255 255 255/.14);color:#fff;font:inherit;font-size:1rem;font-weight:700;cursor:pointer}.img-tool:disabled{opacity:.35}.img-tool-on{background:var(--wa-accent)}.img-colors{display:flex;gap:8px;justify-content:center}.img-color{width:28px;height:28px;border-radius:50%;border:2px solid rgb(255 255 255/.5);cursor:pointer}.img-color.is-on{border-color:#fff;transform:scale(1.18)}.img-text-row .msg-input{background:rgb(255 255 255/.12);color:#fff;border-color:rgb(255 255 255/.25)}.img-stage{flex:1 1 auto;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden}.img-frame{position:relative;display:inline-block;max-width:100%;max-height:100%;line-height:0}.img-canvas{display:block;max-width:100%;max-height:calc(100dvh - 260px);touch-action:none}.img-canvas.is-drawing{cursor:crosshair}.img-crop-layer{inset:0}.img-crop,.img-crop-layer{position:absolute;touch-action:none}.img-crop{border:2px solid #fff;box-shadow:0 0 0 9999px rgb(0 0 0/.55);cursor:move}.img-crop-handle{position:absolute;width:22px;height:22px;border:3px solid #fff;background:rgb(0 0 0/.3);touch-action:none}.img-crop-tl{left:-11px;top:-11px}.img-crop-tr{right:-11px;top:-11px}.img-crop-bl{left:-11px;bottom:-11px}.img-crop-br{right:-11px;bottom:-11px}.img-error{margin:0;text-align:center;color:#ff8a80;font-size:.82rem}.img-strip{display:flex;gap:6px;overflow-x:auto;padding:2px}.img-thumb{position:relative;flex-shrink:0;width:52px;height:52px;padding:0;border:2px solid transparent;border-radius:8px;background:#222;overflow:hidden;cursor:pointer;color:#fff;font-size:1.4rem}.img-thumb img{width:100%;height:100%;object-fit:cover}.img-thumb.is-on{border-color:var(--wa-accent)}.img-thumb-remove{position:absolute;top:0;right:0;width:18px;height:18px;border-radius:50%;background:rgb(0 0 0/.7);font-size:.7rem;line-height:18px;text-align:center}.img-send-row{display:flex;gap:8px;align-items:center}.img-caption{flex:1 1 auto;min-width:0;height:44px;padding:0 14px;border:0;border-radius:22px;background:rgb(255 255 255/.14);color:#fff;font:inherit;font-size:.92rem}html.chat-open .bottom-nav,html.chat-open .home-fab{display:none!important}html.chat-open body{padding-bottom:0}html.chat-open .chat-compose{bottom:env(safe-area-inset-bottom,0)}html.chat-open .chat-wallpaper{min-height:calc(100dvh - 140px);max-height:calc(100dvh - 140px)}.img-canvas{min-width:min(100%,280px);width:auto;height:auto;object-fit:contain}html.chat-open .chat-conversation{position:fixed;inset:0;z-index:60;display:flex;flex-direction:column;margin:0;padding:env(safe-area-inset-top,0) 0 env(safe-area-inset-bottom,0);background:var(--wa-bg);min-height:0}html.chat-open .chat-head{position:static;margin:0}html.chat-open .chat-wallpaper{flex:1 1 auto;min-height:0;max-height:none;margin:0}html.chat-open .chat-compose{position:static;margin:0}html.chat-open .chat-attached,html.chat-open .chat-note{margin:0;padding:4px 10px;background:var(--wa-bg)}.rep-table-email{display:block;margin-top:2px;color:var(--text-muted);font-size:.7rem;font-weight:400;overflow-wrap:anywhere;text-align:start}.rep-table-photo{white-space:nowrap}.rep-row-photo{margin:8px 0}.rep-row-photo-btn{display:block;width:100%;padding:0;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-alt);overflow:hidden;cursor:zoom-in}.rep-row-photo-btn img{display:block;width:100%;max-height:360px;object-fit:contain}.chat-list-members{color:var(--text-muted);font-size:.72rem;font-weight:400}.chat-list-waiting{opacity:.85;cursor:default}.call-rec-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}.call-rec-item{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding:10px 0;border-bottom:1px solid var(--border)}.call-rec-head{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1 1 140px}.call-rec-head small{color:var(--text-muted);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.rep-stuck-note{margin:calc(var(--safe-top) + 8px) 12px 0;padding:10px 12px;border:1px solid var(--red);border-radius:12px;background:var(--red-bg);color:var(--red);font-size:.85rem;font-weight:700;line-height:1.5}.chat-file{display:flex;align-items:center;gap:10px;width:min(260px,66vw);max-width:100%;padding:8px 10px;border:1px solid var(--border);border-radius:10px;background:color-mix(in srgb,var(--surface) 70%,transparent);color:inherit;font:inherit;text-align:start;cursor:pointer}.chat-file-icon{flex-shrink:0;font-size:1.8rem}.chat-file-text{display:flex;flex-direction:column;gap:2px;min-width:0}.chat-file-text strong{font-size:.85rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-file-text small{color:var(--wa-meta);font-size:.72rem}.chat-image-wait{display:flex;align-items:center;justify-content:center;width:180px;max-width:100%;aspect-ratio:4/3;font-size:1.6rem;opacity:.5}.chat-viewer-save{position:absolute;bottom:calc(env(safe-area-inset-bottom, 0px) + 24px);left:50%;transform:translateX(-50%);padding:10px 18px;border:0;border-radius:999px;background:var(--green);color:#fff;font:inherit;font-weight:800;cursor:pointer}.call-server-steps{margin:0;-webkit-padding-start:20px;padding-inline-start:20px;display:flex;flex-direction:column;gap:4px}.call-server-input{width:100%;font-family:ui-monospace,monospace;font-size:.78rem;overflow-wrap:anywhere}.call-server-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.call-server-bad{color:var(--red)}.op-card{display:flex;flex-direction:column;gap:6px;min-width:min(260px,68vw);max-width:100%;padding:10px;border:1px solid var(--border);-webkit-border-start:4px solid var(--yellow);border-inline-start:4px solid var(--yellow);border-radius:10px;background:color-mix(in srgb,var(--surface) 82%,transparent);color:var(--wa-text)}.op-card-good{border-inline-start-color:var(--green)}.op-card-bad{border-inline-start-color:var(--red)}.op-card-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px;flex-wrap:wrap}.op-card-head small{color:var(--wa-meta);font-size:.75rem;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.op-card-what{margin:0;font-weight:700;font-size:.9rem;overflow-wrap:anywhere}.op-card-account,.op-card-device{margin:0;color:var(--wa-meta);font-size:.78rem;overflow-wrap:anywhere}.op-card-row{display:grid;grid-template-columns:1fr 1.15fr 1fr auto;align-items:center;grid-gap:6px;gap:6px;padding:6px;border-radius:8px;background:color-mix(in srgb,var(--surface-alt) 70%,transparent)}.op-card-cell{display:flex;flex-direction:column;align-items:center;gap:1px;min-width:0;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;font-size:.85rem;font-weight:700}.op-card-cell small{color:var(--wa-meta);font-weight:400;font-size:.68rem}.op-card-amount{font-size:.98rem}.op-card-amount.is-plus{color:var(--green)}.op-card-amount.is-minus{color:var(--red)}.op-card-code{color:var(--wa-meta);font-size:.72rem;white-space:nowrap}.op-card-status{margin:0;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:.82rem;font-weight:700}.op-card-status.is-good{color:var(--green)}.op-card-status.is-bad{color:var(--red);overflow-wrap:anywhere}.op-card-status.is-waiting{color:var(--yellow)}.op-card-actions{display:flex;gap:8px}.op-card-btn{flex:1 1;padding:8px;border-radius:999px;border:1px solid var(--border);background:var(--surface-alt);color:var(--text);font:inherit;font-weight:800;cursor:pointer}.op-card-btn.is-good{border-color:var(--green);color:var(--green)}.op-card-btn.is-bad{border-color:var(--red);color:var(--red)}.op-flag-note{margin:0;color:var(--red);font-weight:700;overflow-wrap:anywhere}.chat-tools{display:flex;flex-direction:column;gap:8px;margin-bottom:8px}.chat-search{width:100%}.chat-filters{display:flex;gap:6px;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}.chat-filters::-webkit-scrollbar{display:none}.chat-filter{flex-shrink:0;padding:6px 12px;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--text-muted);font:inherit;font-size:.82rem;font-weight:700;cursor:pointer}.chat-filter.is-on{border-color:var(--wa-accent);background:color-mix(in srgb,var(--wa-accent) 18%,transparent);color:var(--wa-accent)}.chat-list-marks{flex-shrink:0;font-size:.78rem}.chat-badge.is-muted{background:var(--text-muted)}.assistant-text,.assistant-ticket{white-space:pre-wrap}.assistant-ticket{margin:0;padding:8px 10px;border:1px solid var(--border);border-radius:8px;background:var(--surface-alt);overflow-wrap:anywhere;font-size:.9rem}.party-move-deleted{border-inline-start-color:var(--gray);background:var(--surface-alt)}.party-move-deleted .party-move-title{color:var(--text-muted)}.party-move-deleted .party-move-mid strong{color:var(--text-muted);text-decoration:line-through}.rep-table-deleted{color:var(--text-muted)}.rep-table-deleted bdi{text-decoration:line-through}.currency-rate-wrong{display:block;margin-top:4px;padding:6px 8px;border-radius:8px;background:var(--red-bg);color:var(--red);font-size:.8rem;font-weight:700;line-height:1.5}.pending-device-actions:has(.pending-device-delete){grid-template-columns:2fr 1fr 1fr}.pending-device-delete{color:var(--red)}.search-hidden-matches{display:flex;flex-direction:column;gap:8px;margin:8px 0}.search-hidden-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border:1px dashed var(--border);border-radius:12px;background:var(--surface-alt)}.search-hidden-text{display:flex;flex-direction:column;gap:2px;min-width:0;font-size:.86rem;overflow-wrap:anywhere}.search-hidden-text small{color:var(--text-muted)}.search-hidden-row .dialog-secondary{flex:none;min-height:40px}.rep-double-banner{width:100%;margin-bottom:8px;padding:10px 12px;border:1px solid var(--yellow);border-radius:12px;background:var(--yellow-bg);color:var(--yellow);font:inherit;font-weight:800;text-align:start;cursor:pointer}.rep-double-list{display:flex;flex-direction:column;gap:12px}.rep-double-group{display:flex;flex-direction:column;gap:6px}.wa-suggest-badge{position:fixed;z-index:94;left:50%;bottom:calc(var(--bottom-nav-height) + var(--safe-bottom) + 66px);transform:translateX(-50%);max-width:calc(100% - 170px);padding:8px 12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border:2px solid var(--green);border-radius:999px;background:var(--surface);color:var(--text);font:inherit;font-size:.8rem;font-weight:800;box-shadow:0 6px 18px rgb(0 0 0/.25);cursor:pointer}.wa-suggest-list{display:grid;grid-gap:10px;gap:10px;margin:0;padding:0;list-style:none}.wa-suggest{display:grid;grid-gap:6px;gap:6px;padding:10px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-2,var(--surface))}.wa-suggest-who{margin:0;font-size:.82rem;color:var(--text-muted)}.wa-suggest-email{margin:0;font-weight:800;overflow-wrap:anywhere}.wa-suggest-actions{display:grid;grid-template-columns:1fr auto;grid-gap:8px;gap:8px;align-items:center}