@import"https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;700&family=Manrope:wght@400;500;600;700&display=swap";:root,[data-theme=light-gray]{--bg-start: #edf0f3;--bg-end: #f8f9fb;--surface: #ffffff;--surface-elevated: #f3f4f6;--surface-line: #d1d5db;--top-dark: #12161c;--text-main: #1f2937;--text-contrast: #f8fafc;--text-muted: #6b7280;--accent: #4b5563;--accent-strong: #374151;--ok-bg: #f3f4f6;--ok-border: #d1d5db;--error-bg: #fff1f2;--error-border: #ffc6ce;--app-bg: linear-gradient(150deg, #f7f7f8 0%, #f2f3f5 55%, #eceef1 100%);--sidebar-bg: #23272f;--sidebar-text: #d1d5db;--sidebar-active-bg: #3a404b;--sidebar-active-text: #ffffff}[data-theme=light-azure]{--bg-start: #eaf3ff;--bg-end: #f8fbff;--surface: #ffffff;--surface-elevated: #f1f6fd;--surface-line: #cfdced;--top-dark: #12161c;--text-main: #1f2d3d;--text-contrast: #f8fafc;--text-muted: #5f7389;--accent: #4a6b8c;--accent-strong: #385776;--ok-bg: #edf4ff;--ok-border: #c6d8f0;--error-bg: #fff1f2;--error-border: #ffc6ce;--app-bg: linear-gradient(150deg, #f4f9ff 0%, #edf4fd 55%, #e6eef9 100%);--sidebar-bg: #1e2f44;--sidebar-text: #d5e3f4;--sidebar-active-bg: #324a66;--sidebar-active-text: #ffffff}[data-theme=light-stone]{--bg-start: #f4f1ed;--bg-end: #fbfaf8;--surface: #ffffff;--surface-elevated: #f7f3ef;--surface-line: #d7d1ca;--top-dark: #12161c;--text-main: #2f2a25;--text-contrast: #f8fafc;--text-muted: #756c61;--accent: #6b5f54;--accent-strong: #574a3e;--ok-bg: #f4f1ed;--ok-border: #d7d1ca;--error-bg: #fff1f2;--error-border: #ffc6ce;--app-bg: linear-gradient(150deg, #faf8f5 0%, #f5f2ee 55%, #efebe5 100%);--sidebar-bg: #2f2924;--sidebar-text: #ddd2c7;--sidebar-active-bg: #4a4037;--sidebar-active-text: #ffffff}[data-theme=light-slate]{--bg-start: #edf1f4;--bg-end: #f8fafb;--surface: #ffffff;--surface-elevated: #f3f6f8;--surface-line: #cfd8df;--top-dark: #12161c;--text-main: #1f2933;--text-contrast: #f8fafc;--text-muted: #5f6c78;--accent: #4f5f6e;--accent-strong: #3e4c59;--ok-bg: #edf1f4;--ok-border: #cfd8df;--error-bg: #fff1f2;--error-border: #ffc6ce;--app-bg: linear-gradient(150deg, #f6f8fa 0%, #f0f3f6 55%, #e9edf1 100%);--sidebar-bg: #202a33;--sidebar-text: #d2dbe3;--sidebar-active-bg: #33424f;--sidebar-active-text: #ffffff}[data-theme=light-mint]{--bg-start: #edf5f2;--bg-end: #f8fbfa;--surface: #ffffff;--surface-elevated: #f1f7f4;--surface-line: #cfe1d9;--top-dark: #12161c;--text-main: #1f2f2a;--text-contrast: #f8fafc;--text-muted: #5c746c;--accent: #4f6d64;--accent-strong: #3f5952;--ok-bg: #edf5f2;--ok-border: #cfe1d9;--error-bg: #fff1f2;--error-border: #ffc6ce;--app-bg: linear-gradient(150deg, #f6faf8 0%, #eef5f2 55%, #e7f0ec 100%);--sidebar-bg: #1f2f2a;--sidebar-text: #d0e0da;--sidebar-active-bg: #355148;--sidebar-active-text: #ffffff}[data-theme=light-sand]{--bg-start: #f5f1e8;--bg-end: #fcfaf6;--surface: #ffffff;--surface-elevated: #f8f4ec;--surface-line: #ddd3c2;--top-dark: #12161c;--text-main: #332a20;--text-contrast: #f8fafc;--text-muted: #786857;--accent: #75614b;--accent-strong: #5f4d3a;--ok-bg: #f5f1e8;--ok-border: #ddd3c2;--error-bg: #fff1f2;--error-border: #ffc6ce;--app-bg: linear-gradient(150deg, #fbf8f2 0%, #f4efe5 55%, #ece5d8 100%);--sidebar-bg: #2e261f;--sidebar-text: #e0d4c5;--sidebar-active-bg: #4a3b2f;--sidebar-active-text: #ffffff}[data-theme=light-blue]{--bg-start: #e5ebf2;--bg-end: #f3f6fa;--surface: #ffffff;--surface-elevated: #eef2f6;--surface-line: #cad4df;--top-dark: #12161c;--text-main: #18304f;--text-contrast: #f8fafc;--text-muted: #5c7597;--accent: #2f6fce;--accent-strong: #2458a6;--ok-bg: #e9f2ff;--ok-border: #b9d0f5;--error-bg: #fff1f2;--error-border: #ffc6ce;--app-bg: linear-gradient(150deg, #f2f6fa 0%, #e7edf4 56%, #edf2f8 100%);--sidebar-bg: #112949;--sidebar-text: #d5e6ff;--sidebar-active-bg: #1e4474;--sidebar-active-text: #ffffff}[data-theme=light-green]{--bg-start: #e5ebf2;--bg-end: #f3f6fa;--surface: #ffffff;--surface-elevated: #eef2f6;--surface-line: #cad4df;--top-dark: #12161c;--text-main: #1d3527;--text-contrast: #f8fafc;--text-muted: #5e7b67;--accent: #2f8f4f;--accent-strong: #256f3e;--ok-bg: #e6f8eb;--ok-border: #b5e2c2;--error-bg: #fff1f2;--error-border: #ffc6ce;--app-bg: linear-gradient(150deg, #f2f6fa 0%, #e7edf4 56%, #edf2f8 100%);--sidebar-bg: #173724;--sidebar-text: #d2ead9;--sidebar-active-bg: #26563a;--sidebar-active-text: #ffffff}[data-theme=light-red]{--bg-start: #e5ebf2;--bg-end: #f3f6fa;--surface: #ffffff;--surface-elevated: #eef2f6;--surface-line: #cad4df;--top-dark: #12161c;--text-main: #3a3134;--text-contrast: #f8fafc;--text-muted: #6b6568;--accent: #ba3d3d;--accent-strong: #8f2e2e;--ok-bg: #edf1f5;--ok-border: #c8d2de;--error-bg: #fdecee;--error-border: #eab7be;--app-bg: linear-gradient(150deg, #f2f6fa 0%, #e7edf4 56%, #edf2f8 100%);--sidebar-bg: #3f1b20;--sidebar-text: #f2d7da;--sidebar-active-bg: #652b32;--sidebar-active-text: #ffffff}[data-theme=light-red] .dashboard-content:before{background:radial-gradient(760px 440px at 108% -12%,color-mix(in srgb,var(--surface-line) 28%,transparent),transparent 68%),radial-gradient(600px 330px at -8% 102%,color-mix(in srgb,var(--surface-line) 24%,transparent),transparent 66%),radial-gradient(360px 220px at 48% 14%,color-mix(in srgb,var(--surface-line) 14%,transparent),transparent 74%),linear-gradient(180deg,color-mix(in srgb,var(--surface-line) 10%,transparent),transparent 52%)}[data-theme=light-red] .dashboard-content:after{background-image:linear-gradient(to right,color-mix(in srgb,var(--surface-line) 34%,transparent) 1px,transparent 1px),linear-gradient(to bottom,color-mix(in srgb,var(--surface-line) 34%,transparent) 1px,transparent 1px),linear-gradient(135deg,color-mix(in srgb,var(--surface-line) 20%,transparent) 1px,transparent 1px)}[data-theme=light-blue] .dashboard-content:before{background:radial-gradient(760px 440px at 108% -12%,color-mix(in srgb,#cad4df 28%,transparent),transparent 68%),radial-gradient(600px 330px at -8% 102%,color-mix(in srgb,#cad4df 24%,transparent),transparent 66%),radial-gradient(360px 220px at 48% 14%,color-mix(in srgb,#cad4df 14%,transparent),transparent 74%),linear-gradient(180deg,color-mix(in srgb,#cad4df 10%,transparent),transparent 52%)}[data-theme=light-blue] .dashboard-content:after{background-image:linear-gradient(to right,color-mix(in srgb,#cad4df 34%,transparent) 1px,transparent 1px),linear-gradient(to bottom,color-mix(in srgb,#cad4df 34%,transparent) 1px,transparent 1px),linear-gradient(135deg,color-mix(in srgb,#cad4df 20%,transparent) 1px,transparent 1px)}[data-theme=light-green] .dashboard-content:before{background:radial-gradient(760px 440px at 108% -12%,color-mix(in srgb,#cad4df 28%,transparent),transparent 68%),radial-gradient(600px 330px at -8% 102%,color-mix(in srgb,#cad4df 24%,transparent),transparent 66%),radial-gradient(360px 220px at 48% 14%,color-mix(in srgb,#cad4df 14%,transparent),transparent 74%),linear-gradient(180deg,color-mix(in srgb,#cad4df 10%,transparent),transparent 52%)}[data-theme=light-green] .dashboard-content:after{background-image:linear-gradient(to right,color-mix(in srgb,#cad4df 34%,transparent) 1px,transparent 1px),linear-gradient(to bottom,color-mix(in srgb,#cad4df 34%,transparent) 1px,transparent 1px),linear-gradient(135deg,color-mix(in srgb,#cad4df 20%,transparent) 1px,transparent 1px)}[data-theme=light-red] .customers-table tbody tr:hover{background:color-mix(in srgb,#8ea1b8 14%,transparent)}[data-theme=light-red] .customers-table__row--selected,[data-theme=light-red] .customers-table tr.customers-table__row--selected{background:color-mix(in srgb,#8ea1b8 22%,transparent)}[data-theme=light-red] .customers-table__row--selected:before,[data-theme=light-red] .customers-table tr.customers-table__row--selected:before{background:color-mix(in srgb,#ba3d3d 78%,#ffffff)}[data-theme=dark]{--bg-start: #121619;--bg-end: #26313a;--surface: #101723;--surface-elevated: #161f2d;--surface-line: #293549;--top-dark: #0b0f14;--text-main: #e2e8f0;--text-contrast: #f8fafc;--text-muted: #9fb0c9;--accent: #37a0b4;--accent-strong: #2a7f90;--ok-bg: #1a2a46;--ok-border: #34598e;--error-bg: #3a1a22;--error-border: #8f3f50;--app-bg: linear-gradient(160deg, #0f172a 0%, #1e293b 60%, #111827 100%);--sidebar-bg: #070c16;--sidebar-text: #beceea;--sidebar-active-bg: #1b2c46;--sidebar-active-text: #ffffff}[data-theme=dark-graphite]{--bg-start: #0f1115;--bg-end: #1b1f27;--surface: #171b22;--surface-elevated: #202631;--surface-line: #343d4a;--top-dark: #0a0d12;--text-main: #dde4ee;--text-contrast: #f8fafc;--text-muted: #9ca8bb;--accent: #5a6474;--accent-strong: #464f5d;--ok-bg: #242a35;--ok-border: #3c4656;--error-bg: #3a1a22;--error-border: #8f3f50;--app-bg: linear-gradient(160deg, #0c1017 0%, #151b24 60%, #0f141d 100%);--sidebar-bg: #0a0e14;--sidebar-text: #c9d2df;--sidebar-active-bg: #253141;--sidebar-active-text: #ffffff}[data-theme=m-power]{--bg-start: #081226;--bg-end: #142645;--surface: #0d1a30;--surface-elevated: #142743;--surface-line: #3d5f8b;--top-dark: #070d16;--text-main: #ecf4ff;--text-contrast: #f8fafc;--text-muted: #a9bee0;--accent: #35a4ff;--accent-strong: #ea375f;--ok-bg: #18355c;--ok-border: #3e77be;--error-bg: #4b1e33;--error-border: #ba4b6c;--app-bg: linear-gradient(155deg, #081327 0%, #12305a 54%, #0d1f3a 100%);--sidebar-bg: #061126;--sidebar-text: #dcedff;--sidebar-active-bg: #25559a;--sidebar-active-text: #ffffff}[data-theme=m-power] .primary-btn{background:linear-gradient(132deg,#2ca4ff,#2a7be0 46%,#d8345c);border-color:color-mix(in srgb,#d8345c 58%,#2ca4ff);color:#f8fbff}[data-theme=m-power] .primary-btn:hover{background:linear-gradient(132deg,#49b3ff,#3c89e7 46%,#e7466f)}[data-theme=m-power] .dashboard-titlebar{background:linear-gradient(112deg,#59c7ff,#11284f 52%,#c6001e)}[data-theme=m-power] .dashboard-nav__item--active{background:linear-gradient(120deg,#1f4f8e,#246bbd 55%,#d8345c);color:#fff}*{box-sizing:border-box}*{scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--accent) 68%,transparent) color-mix(in srgb,var(--surface-elevated) 74%,transparent)}*::-webkit-scrollbar{width:12px;height:12px}*::-webkit-scrollbar-track{background:color-mix(in srgb,var(--surface-elevated) 78%,transparent);border-radius:999px}*::-webkit-scrollbar-thumb{background:linear-gradient(180deg,color-mix(in srgb,var(--accent) 78%,#ffffff),color-mix(in srgb,var(--accent) 54%,#0d1d3a));border-radius:999px;border:2px solid color-mix(in srgb,var(--surface-elevated) 78%,transparent)}*::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg,color-mix(in srgb,var(--accent) 88%,#ffffff),color-mix(in srgb,var(--accent) 64%,#0d1d3a))}*::-webkit-scrollbar-thumb:active{background:linear-gradient(180deg,color-mix(in srgb,var(--accent-strong) 84%,#ffffff),color-mix(in srgb,var(--accent-strong) 62%,#0d1d3a))}*::-webkit-scrollbar-corner{background:transparent}html{font-size:90%;height:100%;overflow:hidden}body{margin:0;min-height:100%;height:100%;overflow:hidden;color:var(--text-main);font-family:Manrope,Segoe UI,sans-serif;background:radial-gradient(circle at 8% 10%,#9ca3af1f 0%,transparent 26%),linear-gradient(145deg,var(--bg-start),var(--bg-end))}#root{height:100%;overflow:hidden}.login-page{min-height:100vh;display:grid;place-items:center;padding:1.5rem;position:relative;overflow:hidden;background:radial-gradient(circle at 12% 18%,#3f78ff33 0%,transparent 42%),radial-gradient(circle at 88% 76%,#18b7c433 0%,transparent 40%),linear-gradient(140deg,#04070f,#0a1531 55%,#111c2f)}.login-card{width:min(980px,100%);border-radius:18px;border:1px solid color-mix(in srgb,var(--surface-line) 85%,transparent);overflow:clip;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:linear-gradient(145deg,#0f1729f7,#111a2fef);box-shadow:0 28px 60px #00000024;display:grid;grid-template-columns:1.05fr .95fr}.login-card--futuristic{position:relative;z-index:2}.login-ambient-orb{position:absolute;border-radius:50%;filter:blur(6px);opacity:.55;pointer-events:none;animation:login-orb-float 8s ease-in-out infinite}.login-ambient-orb--one{width:220px;height:220px;top:8%;left:7%;background:radial-gradient(circle,#5f8dff,#5f8dff11 72%)}.login-ambient-orb--two{width:260px;height:260px;right:4%;bottom:6%;animation-delay:-2.5s;background:radial-gradient(circle,#13becd,#13becd11 72%)}.login-showcase{padding:2.3rem 2rem;background:linear-gradient(160deg,#0a1223dd,#13213a8a),radial-gradient(circle at 90% 8%,#ffffff1e 0%,transparent 48%);border-right:1px solid #ffffff14;color:#e2ebff;display:flex;flex-direction:column;justify-content:flex-end;min-height:360px;gap:1rem}.login-showcase .brand-logo{justify-content:flex-start}.login-showcase__visual{position:relative;margin-top:.8rem;border:1px solid #7ea2e733;border-radius:14px;min-height:160px;overflow:hidden;cursor:crosshair;background:linear-gradient(transparent 95%,#8eb0ec2a 95%),linear-gradient(90deg,transparent 95%,#8eb0ec21 95%);background-size:24px 24px,24px 24px}.login-showcase__visual:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,transparent 0%,#5ea4ff20 45%,#5ea4ff4d 50%,#5ea4ff20 55%,transparent 100%);animation:login-scan 4.2s linear infinite}.login-showcase__visual:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(circle at 70% 25%,#8ebdff2e 0%,transparent 36%)}.login-showcase__pulse{position:absolute;left:24px;top:24px;width:10px;height:10px;border-radius:50%;background:#59d6ff;box-shadow:0 0 #59d6ff66;animation:login-pulse 2.6s ease-out infinite}.login-showcase__visual--tracking .login-showcase__pulse{opacity:.2}.login-showcase__trail{position:absolute;width:10px;height:10px;border-radius:50%;transform:translate(-50%,-50%);background:var(--trail-color, #58c4ff);box-shadow:0 0 12px color-mix(in srgb,var(--trail-color, #58c4ff) 80%,transparent);pointer-events:none;animation:login-trail-fade .43s ease-out forwards}.login-showcase__cursor{position:absolute;width:12px;height:12px;border-radius:50%;transform:translate(-50%,-50%);background:#76d1ff;box-shadow:0 0 0 8px #76d1ff1f,0 0 16px #76d1ff66;pointer-events:none}.login-showcase__spark{position:absolute;height:2px;border-radius:999px;background:linear-gradient(90deg,transparent,#8bd0ff,transparent);opacity:.8}.login-showcase__spark--one{left:46px;right:56px;top:28px;animation:login-spark 3.8s ease-in-out infinite}.login-showcase__spark--two{left:58px;right:72px;top:58px;animation:login-spark 3.8s ease-in-out infinite -1.2s}.login-showcase__status{margin-top:auto;display:flex;flex-wrap:wrap;gap:.5rem;justify-content:flex-end}.login-showcase__badge{border:1px solid #8ba6e245;border-radius:999px;padding:.34rem .68rem;font-size:.81rem;color:#d5e6ff;background:#8fb2ff14}.login-form-panel{display:flex;flex-direction:column;gap:.62rem;padding:2rem 1.7rem;background:linear-gradient(165deg,#f4f7ffed,#e8eef9eb);color:#132a4e;min-height:360px}.login-form-panel__body{flex:1 1 auto;display:flex;flex-direction:column;justify-content:center;gap:.62rem}.login-form-panel__head h2{margin:0;font-family:Rajdhani,Segoe UI,sans-serif;font-size:1.4rem}.login-form-panel__head p{margin:.22rem 0 0;font-size:.86rem;color:#6b7a95}.login-form-panel__head{position:relative}.login-form-panel__head--with-back h2,.login-form-panel__head--with-back p{padding-left:2.3rem}.login-form-panel__back-btn{position:absolute;left:0;top:.05rem;width:1.95rem;height:1.95rem;min-width:1.95rem;min-height:1.95rem;border-radius:9px;background:transparent;border-color:transparent;color:#1f3558}.login-form-panel__back-btn:hover:not(:disabled){background:color-mix(in srgb,#ffffff 72%,#cad7ec 28%);border-color:transparent}.login-form-panel label{display:grid;gap:.3rem}.login-form-panel label span{font-size:.9rem;color:#4c6386}.login-form-panel input{background:#eef3fb!important;border-color:#b8c8e2!important;color:#12294e!important}.login-form-panel input::placeholder{color:#6b7a95}.login-form-panel input:focus{outline:2px solid #8eb6ff;border-color:#5f88cf}.login-form-panel input:-webkit-autofill,.login-form-panel input:-webkit-autofill:hover,.login-form-panel input:-webkit-autofill:focus{-webkit-text-fill-color:#12294e;box-shadow:0 0 0 1000px #eef3fb inset;transition:background-color 9999s ease-in-out 0s}.login-forgot-link{justify-self:end;text-align:right;margin-top:-.05rem;padding:0;border:0;background:transparent;color:#31527f;font:inherit;font-size:.84rem;font-weight:700;text-decoration:underline;text-underline-offset:.14rem;cursor:pointer}.login-forgot-link:hover:not(:disabled){color:#1f3f66}.login-forgot-link:disabled{opacity:.65;cursor:default}.login-form-panel .primary-btn{background:linear-gradient(145deg,#4f6f9a,#355274);border-color:#2c4563;color:#fff;padding:.48rem 1rem}.login-form-panel .primary-btn:hover:not(:disabled){filter:brightness(1.05)}.login-header{display:flex;align-items:center;justify-content:flex-end;background:linear-gradient(160deg,#0f1114,#1f2328);color:var(--text-contrast);padding:.72rem 1.1rem}.eyebrow{margin:0;color:#cbd5e1;letter-spacing:.06em;text-transform:uppercase;font-size:.78rem}.login-header h1{margin:0;font-size:clamp(1.06rem,2.2vw,1.7rem);font-family:Rajdhani,Segoe UI,sans-serif}.brand-mark{font-family:Rajdhani,Segoe UI,sans-serif;letter-spacing:.12em;font-weight:700;font-size:1.25rem;opacity:.92}.login-grid{display:grid;grid-template-columns:290px 1fr;gap:1rem;padding:1rem;background:color-mix(in srgb,var(--surface-elevated) 88%,transparent)}.login-grid--single{grid-template-columns:minmax(300px,500px);justify-content:center;padding:1rem .9rem 1.1rem}@keyframes login-orb-float{0%,to{transform:translateZ(0) scale(1)}50%{transform:translate3d(0,-12px,0) scale(1.03)}}@keyframes login-scan{0%{transform:translate(-120%)}to{transform:translate(120%)}}@keyframes login-pulse{0%{box-shadow:0 0 #59d6ff66}70%{box-shadow:0 0 0 16px #59d6ff00}to{box-shadow:0 0 #59d6ff00}}@keyframes login-spark{0%,to{opacity:.35;transform:translate(0)}50%{opacity:.95;transform:translate(8px)}}.snake-game{position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;display:flex;flex-direction:column;background:#0a1223ee;border-radius:13px}.snake-game__hud{display:flex;align-items:center;gap:.7rem;padding:.4rem .65rem;font-family:Rajdhani,Segoe UI,monospace;font-size:.85rem;color:#d5e6ff}.snake-game__score{font-weight:700;font-size:.95rem}.snake-game__highscore{color:#ffd630;font-weight:600}.snake-game__close{margin-left:auto;background:none;border:1px solid #ffffff30;border-radius:6px;color:#b8ccec;font-size:.8rem;padding:.15rem .45rem;cursor:pointer;transition:background .15s}.snake-game__close:hover{background:#ffffff18;color:#fff}.snake-game__canvas{display:block;margin:0 auto;border:1px solid #7ea2e744;border-radius:4px}.snake-game__overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;background:#0a1223cc;border-radius:13px;z-index:6}.snake-game__gameover{display:flex;flex-direction:column;align-items:center;gap:.35rem;padding:1.2rem 1.6rem;background:#13213af0;border:1px solid #7ea2e744;border-radius:12px;color:#d5e6ff;text-align:center;font-family:Rajdhani,Segoe UI,sans-serif}.snake-game__gameover-title{font-size:1.3rem;font-weight:700;color:#e7223d}.snake-game__gameover-score{font-size:1.05rem;font-weight:600}.snake-game__gameover-new{font-size:.95rem;color:#ffd630;font-weight:600}.snake-game__gameover-hint{font-size:.78rem;color:#8ba6e2;margin-top:.1rem}.panel{background:var(--surface);border:1px solid var(--surface-line);border-radius:14px;padding:1rem}.panel h2{margin:0 0 .8rem;font-size:1rem;font-family:Rajdhani,Segoe UI,sans-serif}.panel--profiles ul{margin:0;padding:0;list-style:none;display:grid;gap:.45rem}.profile-btn{width:100%;border:1px solid transparent;background:transparent;color:var(--text-main);border-radius:9px;text-align:left;padding:.55rem .65rem;font-size:.94rem;cursor:pointer;transition:.2s}.profile-btn:hover{background:color-mix(in srgb,var(--accent) 13%,var(--surface))}.profile-btn--active{background:color-mix(in srgb,var(--accent) 22%,var(--surface));border-color:color-mix(in srgb,var(--accent) 35%,var(--surface-line))}.panel--form{display:grid;gap:.75rem}.panel--form label{display:grid;gap:.3rem}.panel--form span{font-size:.92rem;color:var(--text-muted)}.panel--form input,.login-form-panel input,.customers-search input{width:100%;border:1px solid var(--surface-line);background:var(--surface-elevated);color:var(--text-main);border-radius:10px;padding:.64rem .72rem;font:inherit}.panel--form input:focus,.login-form-panel input:focus,.customers-search input:focus{outline:2px solid color-mix(in srgb,var(--accent) 40%,#ffffff);border-color:var(--accent)}.action-row{display:flex;gap:.6rem;justify-content:flex-end;margin-top:.2rem}.login-form-panel__actions{margin-top:auto;padding-top:.32rem}input[type=checkbox],input[type=radio]{accent-color:var(--accent)}input:not([type=checkbox]):not([type=radio]):focus,input:not([type=checkbox]):not([type=radio]):focus-visible,select:focus,select:focus-visible,textarea:focus,textarea:focus-visible{outline:none;border-color:color-mix(in srgb,var(--accent) 72%,var(--surface-line));box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 22%,transparent)}@keyframes login-trail-fade{0%{opacity:.9;transform:translate(-50%,-50%) scale(1)}to{opacity:0;transform:translate(-50%,-50%) scale(.25)}}.login-form-panel__actions .primary-btn,.login-form-panel__actions .secondary-btn{width:10.6rem;min-width:10.6rem;max-width:10.6rem;height:2.35rem;min-height:2.35rem;padding:.44rem .9rem;border-radius:11px;font-size:.92rem;line-height:1.1;flex:0 0 10.6rem}.login-form-panel__actions--mfa{gap:.45rem;margin-top:auto;padding-top:.32rem;align-items:center}.login-form-panel__actions--mfa .login-mfa-btn,.login-form-panel__actions--mfa .primary-btn,.login-form-panel__actions--mfa .secondary-btn{width:10.6rem;min-width:10.6rem;max-width:10.6rem;height:2.35rem;min-height:2.35rem;padding:.44rem .9rem;border-radius:11px;font-size:.92rem;line-height:1.1;flex:0 0 10.6rem}.login-mfa-meta{margin:-.1rem 0 .1rem;font-size:.82rem;color:#334155}.login-mfa-meta strong{color:#0f172a}.login-form-panel .status-toast{padding:.5rem .62rem}.login-form-panel .status-toast__content strong{margin-bottom:.02rem}.primary-btn,.secondary-btn,.icon-btn{border-radius:11px;border:1px solid transparent;font:inherit;font-weight:600;padding:.62rem 1rem;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:.45rem;white-space:nowrap;line-height:1;overflow:hidden;text-overflow:ellipsis}.primary-btn{background:linear-gradient(140deg,var(--accent),var(--accent-strong));border-color:color-mix(in srgb,var(--accent-strong) 70%,#00000010);color:#fff}.primary-btn:disabled,.secondary-btn:disabled,.icon-btn:disabled{opacity:.72;cursor:default}.secondary-btn,.icon-btn{background:var(--surface-elevated);border-color:var(--surface-line);color:var(--text-main)}.icon-btn{width:2.2rem;height:2.2rem;padding:0}.icon-btn--plain{border-color:transparent;background:transparent;box-shadow:none}.icon-btn--plain:hover:not(:disabled){background:color-mix(in srgb,var(--accent) 14%,transparent);border-color:transparent}.icon-btn--mobile{display:none}.login-form-panel .login-form-panel__back-btn{background:transparent;border-color:transparent;color:#1f3558}.status-toast{display:flex;align-items:flex-start;gap:.6rem;padding:.65rem;border-radius:12px;border:1px solid}.status-toast__icon{width:1.7rem;height:1.7rem;min-width:1.7rem;min-height:1.7rem;flex:0 0 1.7rem;border-radius:999px;display:grid;place-items:center;line-height:1;font-weight:700;background:#fffa}.status-toast__content strong{display:block;margin-bottom:.1rem}.status-toast__content p{margin:0;font-size:.9rem}.status-toast--info{background:#eaf3ff;border-color:#9ec2f2;color:#0f3f77}.status-toast--info .status-toast__icon{background:#cfe3ff;color:#0f4f95}.status-toast--info .status-toast__content strong,.status-toast--info .status-toast__content p{color:#0f3f77}.status-toast--error{background:#5a1832;border-color:#e65f86;color:#ffe8f0}.status-toast--error .status-toast__icon{background:#ffd8e5;color:#7a0f2f}.status-toast--error .status-toast__content strong,.status-toast--error .status-toast__content p{color:#ffe8f0}.message-center-stack{position:fixed;top:calc(var(--titlebar-height, 48px) + 14px);right:14px;z-index:2100;display:grid;gap:.5rem;width:min(420px,calc(100vw - 1.2rem));pointer-events:none}.message-center-toast{pointer-events:auto;position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);gap:.7rem;align-items:start;border-radius:14px;border:1px solid color-mix(in srgb,var(--surface-line) 72%,transparent);background:color-mix(in srgb,var(--surface-elevated) 82%,transparent);box-shadow:0 18px 34px #0f172a30;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);padding:.76rem .78rem;animation:message-center-slide-in .28s cubic-bezier(.2,.8,.2,1);transform-origin:bottom right;will-change:transform,opacity,filter}.message-center-toast[tabindex="0"]{cursor:pointer}.message-center-toast.is-leaving{animation:message-center-slide-out .26s cubic-bezier(.4,0,1,1) forwards}.message-center-toast__icon{display:inline-flex;align-items:center;justify-content:center;width:1.72rem;height:1.72rem;border-radius:10px;border:0;background:color-mix(in srgb,var(--surface-elevated) 88%,transparent);margin-top:.06rem}.message-center-toast__content{min-width:0}.message-center-toast__content strong{display:block;margin:0;font-family:Space Grotesk,Segoe UI,sans-serif;font-size:.98rem;line-height:1.12;color:var(--text-main);font-weight:650}.message-center-toast__content p{margin:.24rem 0 0;font-size:.93rem;line-height:1.32;color:var(--text-soft);white-space:pre-line}.message-center-toast__detail{margin:.18rem 0 0;font-size:.91rem;line-height:1.3;color:var(--text-main);white-space:pre-line}.message-center-toast__meta{margin-top:.42rem;display:inline-flex;align-items:center;gap:.38rem;color:var(--text-main);font-size:.97rem;line-height:1.25}.message-center-toast__meta svg{color:var(--text-muted);flex:0 0 auto}.message-center-toast__footer{margin-top:.5rem;color:var(--text-muted);font-size:.8rem;font-weight:650;line-height:1.2}.message-center-toast__close{position:absolute;top:.42rem;right:.42rem;border:0;background:transparent;color:inherit;opacity:.56;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;width:1.9rem;height:1.9rem;border-radius:8px}.message-center-toast__close:hover{opacity:1;background:color-mix(in srgb,var(--surface-line) 30%,transparent)}.message-center-toast--info{border-color:color-mix(in srgb,#3b82f6 48%,var(--surface-line))}.message-center-toast--info .message-center-toast__icon{color:#1d4ed8}.message-center-toast--warning{border-color:color-mix(in srgb,#f59e0b 52%,var(--surface-line))}.message-center-toast--warning .message-center-toast__icon{color:#b45309}.message-center-toast--error{border-color:color-mix(in srgb,#ef4444 56%,var(--surface-line))}.message-center-toast--error .message-center-toast__icon{color:#dc2626}.message-center-toast--success{border-color:color-mix(in srgb,#22c55e 52%,var(--surface-line))}.message-center-toast--success .message-center-toast__icon{color:#15803d}.message-center-toast--tone-visit-new .message-center-toast__icon{color:#be7a12;background:#ffebcde6}.message-center-toast--tone-visit-updated .message-center-toast__icon{color:#2c67c7;background:#dae8ffe6}.message-center-toast--tone-estimate-accepted .message-center-toast__icon{color:#1f8d4f;background:#d6f7e2e6}.message-center-toast--tone-estimate-rejected .message-center-toast__icon{color:#cd3434;background:#ffe1e1e6}.message-center-toast--tone-document .message-center-toast__icon{color:#52627a;background:#e2eaf4f2}.message-center-toast--tone-improvement-comment .message-center-toast__icon{color:#5b21b6;background:color-mix(in srgb,#7c3aed 16%,transparent)}.message-center-toast--tone-improvement-comment{border-left:3px solid #7c3aed}.message-center-toast--tone-improvement-status-new,.message-center-toast--tone-improvement-status-in-progress,.message-center-toast--tone-improvement-status-waiting,.message-center-toast--tone-improvement-status-reopened,.message-center-toast--tone-improvement-status-completed,.message-center-toast--tone-improvement-status-rejected,.message-center-toast--tone-improvement-status{border-left:3px solid #f59e0b}.message-center-toast--tone-improvement-status-new{border-left-color:#0ea5e9}.message-center-toast--tone-improvement-status-in-progress{border-left-color:#2563eb}.message-center-toast--tone-improvement-status-waiting{border-left-color:#f59e0b}.message-center-toast--tone-improvement-status-reopened{border-left-color:#d97706}.message-center-toast--tone-improvement-status-completed{border-left-color:#16a34a}.message-center-toast--tone-improvement-status-rejected{border-left-color:#dc2626}.message-center-toast--tone-improvement-status .message-center-toast__icon{color:#92400e;background:color-mix(in srgb,#f59e0b 16%,transparent)}.message-center-toast--tone-improvement-status-new .message-center-toast__icon{background:color-mix(in srgb,#0ea5e9 16%,transparent);color:#0369a1}.message-center-toast--tone-improvement-status-in-progress .message-center-toast__icon{background:color-mix(in srgb,#2563eb 16%,transparent);color:#1e40af}.message-center-toast--tone-improvement-status-waiting .message-center-toast__icon{background:color-mix(in srgb,#f59e0b 16%,transparent);color:#b45309}.message-center-toast--tone-improvement-status-reopened .message-center-toast__icon{background:color-mix(in srgb,#d97706 16%,transparent);color:#92400e}.message-center-toast--tone-improvement-status-completed .message-center-toast__icon{background:color-mix(in srgb,#16a34a 16%,transparent);color:#166534}.message-center-toast--tone-improvement-status-rejected .message-center-toast__icon{background:color-mix(in srgb,#dc2626 16%,transparent);color:#991b1b}.message-center-toast__content>.improvement-status{justify-self:start;margin-top:.42rem;font-size:.74rem;font-weight:700;line-height:1}.message-center-confirm-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1400;display:grid;place-items:center;background:#05080f78;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);padding:1rem}.message-center-confirm{width:min(520px,calc(100vw - 1rem));border-radius:16px;border:1px solid var(--surface-line);background:var(--surface);box-shadow:0 28px 48px #0206174a;overflow:hidden}.message-center-confirm__head{display:flex;align-items:center;gap:.5rem;padding:.58rem .9rem;border-bottom:1px solid color-mix(in srgb,var(--surface-line) 76%,transparent);background:color-mix(in srgb,var(--surface-elevated) 86%,transparent)}.message-center-confirm__head h3{margin:0;font-size:1.02rem;line-height:1.15;font-weight:700}.message-center-confirm__body{display:grid;grid-template-columns:auto 1fr;align-items:start;column-gap:.72rem;padding:.95rem 1rem .9rem}.message-center-confirm__body-icon{display:inline-flex;align-items:center;justify-content:center;margin-top:.05rem}.message-center-confirm__body p{margin:0;white-space:pre-line;font-size:.92rem;line-height:1.34}.message-center-confirm__footer{display:flex;justify-content:flex-end;gap:.44rem;padding:.5rem .95rem .7rem;border-top:1px solid color-mix(in srgb,var(--surface-line) 76%,transparent);background:color-mix(in srgb,var(--surface-elevated) 58%,transparent)}.message-center-confirm--error .message-center-confirm__body-icon{color:#dc2626}.message-center-confirm--warning .message-center-confirm__body-icon{color:#b45309}.message-center-confirm--info .message-center-confirm__body-icon{color:#1d4ed8}.message-center-confirm--success .message-center-confirm__body-icon{color:#15803d}[data-theme=dark] .message-center-toast,[data-theme=dark-graphite] .message-center-toast,[data-theme=m-power] .message-center-toast{background:color-mix(in srgb,#0f172a 88%,var(--surface) 12%);border-color:color-mix(in srgb,var(--surface-line) 78%,transparent)}[data-theme=dark] .message-center-confirm__head,[data-theme=dark-graphite] .message-center-confirm__head,[data-theme=m-power] .message-center-confirm__head{background:color-mix(in srgb,#0f172a 72%,var(--surface-elevated) 28%)}@keyframes message-center-slide-in{0%{opacity:0;transform:translate(30px) translateY(4px) scale(.96);filter:blur(1px)}to{opacity:1;transform:translate(0);filter:blur(0)}}@keyframes message-center-slide-out{0%{opacity:1;transform:translate(0) translateY(0) scale(1);filter:blur(0)}to{opacity:0;transform:translate(34px) translateY(2px) scale(.97);filter:blur(1px)}}.login-footer{display:flex;align-items:center;justify-content:flex-end;gap:1rem;padding:.9rem 1rem 1rem;background:color-mix(in srgb,var(--surface-elevated) 85%,transparent)}.muted{color:var(--text-muted);font-size:.9rem;margin:0}.dashboard-shell{min-height:100vh;height:100vh;display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto 1fr;background:var(--app-bg);color:var(--text-main);overflow:hidden}.dashboard-titlebar{grid-column:1 / -1;grid-row:1;position:sticky;top:0;z-index:35;display:flex;justify-content:space-between;align-items:center;gap:.55rem;padding:.45rem .8rem;border-bottom:1px solid #00000040;background:linear-gradient(160deg,#0f1114,#1f2328);color:#f8fafc}.dashboard-titlebar__left,.dashboard-titlebar__right{display:flex;align-items:center;gap:.5rem}.dashboard-titlebar__right{position:relative}.titlebar-mobile-actions{display:inline-flex;align-items:center;gap:.4rem}.titlebar-mobile-action{min-width:40px;width:40px;padding:0;justify-content:center}.titlebar-mobile-action--open{background:#ffffff2a}.titlebar-global-search{position:relative;width:min(480px,38vw);min-width:280px}.titlebar-global-search__box{display:flex;align-items:center;gap:.45rem;height:36px;padding:0 .62rem;border-radius:10px;border:1px solid #ffffff33;background:#ffffff14;color:#dbe7ff;font-family:inherit;box-shadow:none}.titlebar-global-search__box:focus-within{border-color:#fff5;background:#ffffff1c;box-shadow:none}.titlebar-global-search__box svg{flex:0 0 auto;color:#d1d5db}.titlebar-global-search__box input{flex:1 1 auto;border:0!important;background:transparent;color:#f8fafc;outline:0!important;font-size:.85rem;font-family:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;box-shadow:none!important}.titlebar-global-search__box input:focus,.titlebar-global-search__box input:focus-visible,.titlebar-global-search__box input:active{border:0!important;outline:0!important;box-shadow:none!important;background:transparent}.titlebar-global-search__box input::placeholder{color:#cbd5e1}.titlebar-global-search__box input::-webkit-search-decoration,.titlebar-global-search__box input::-webkit-search-cancel-button,.titlebar-global-search__box input::-webkit-search-results-button,.titlebar-global-search__box input::-webkit-search-results-decoration{-webkit-appearance:none}.titlebar-global-search__spinner{width:14px;height:14px;border-radius:50%;border:2px solid #ffffff4a;border-top-color:#ffffffd0;animation:dashboard-spinner-rotate .7s linear infinite;flex:0 0 auto}.titlebar-global-search__clear{width:20px;height:20px;border:none;border-radius:999px;padding:0;display:inline-flex;align-items:center;justify-content:center;background:#fff2;color:#e2e8f0;cursor:pointer;flex:0 0 auto}.titlebar-global-search__clear:hover{background:#ffffff38;color:#fff}.titlebar-global-search__menu{position:absolute;top:calc(100% + 8px);left:0;width:100%;max-height:min(70vh,620px);overflow:auto;border:1px solid color-mix(in srgb,var(--surface-line) 72%,transparent);border-radius:14px;background:#fff;box-shadow:0 24px 54px #0000003d;padding:.6rem;display:grid;gap:.55rem;font-family:inherit}.titlebar-global-search__status{margin:0;padding:.3rem .35rem;color:var(--text-muted);font-size:.84rem}.titlebar-global-search__status--error{color:#b91c1c}.titlebar-search-empty-state{min-height:210px;display:grid;place-items:center;align-content:center;gap:.55rem;padding:1.25rem 1rem;text-align:center}.titlebar-search-empty-state__icon{width:52px;height:52px;border-radius:999px;display:inline-grid;place-items:center;color:color-mix(in srgb,var(--accent, #3b82f6) 68%,#2d3f59 32%);background:color-mix(in srgb,var(--accent, #3b82f6) 10%,transparent)}.titlebar-search-empty-state strong{color:var(--text-main);font-size:1rem}.titlebar-search-empty-state p{margin:0;max-width:420px;color:var(--text-muted);font-size:.85rem}.titlebar-search-recent-list{display:flex;flex-wrap:wrap;justify-content:center;gap:.35rem;margin-top:.2rem}.titlebar-search-recent-chip{border:1px solid color-mix(in srgb,var(--surface-line) 72%,transparent);border-radius:999px;background:color-mix(in srgb,var(--surface-elevated) 68%,transparent);color:var(--text-main);font-family:inherit;font-size:.76rem;line-height:1.2;padding:.25rem .58rem;cursor:pointer;display:inline-flex;align-items:center;gap:.32rem}.titlebar-search-recent-chip:hover{border-color:color-mix(in srgb,var(--accent, #3b82f6) 55%,transparent);background:color-mix(in srgb,var(--accent, #3b82f6) 12%,transparent)}.titlebar-search-empty-state--mobile{min-height:100%;height:100%}.titlebar-global-search__section{display:grid;gap:.3rem}.titlebar-global-search__section h4{margin:0;padding:.2rem .35rem;font-size:.78rem;font-weight:800;letter-spacing:.03em;text-transform:uppercase;color:var(--text-muted)}.titlebar-global-search__item{display:flex;align-items:center;gap:.5rem;text-align:left;width:100%;border:1px solid transparent;border-radius:10px;background:#f8fafc;padding:.45rem .55rem;cursor:pointer;font-family:inherit}.titlebar-global-search__item:hover{border-color:color-mix(in srgb,var(--accent, #3b82f6) 55%,#0000);background:#eff6ff}.titlebar-global-search__item strong{font-size:.85rem;color:#0f172a}.titlebar-global-search__item span{font-size:.76rem;color:#64748b}.titlebar-global-search__item-icon{width:24px;height:24px;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;background:#e2e8f0;color:#334155;flex:0 0 auto}.titlebar-global-search__item-content{display:grid;gap:.14rem;min-width:0}[data-theme=dark] .titlebar-global-search__menu,[data-theme=dark-graphite] .titlebar-global-search__menu,[data-theme=m-power] .titlebar-global-search__menu{background:#161b22;border-color:#2b3440}[data-theme=dark] .titlebar-global-search__section h4,[data-theme=dark-graphite] .titlebar-global-search__section h4,[data-theme=m-power] .titlebar-global-search__section h4{color:#9fb0c8}[data-theme=dark] .titlebar-global-search__item,[data-theme=dark-graphite] .titlebar-global-search__item,[data-theme=m-power] .titlebar-global-search__item{background:#202833}[data-theme=dark] .titlebar-global-search__item:hover,[data-theme=dark-graphite] .titlebar-global-search__item:hover,[data-theme=m-power] .titlebar-global-search__item:hover{background:#263243;border-color:#3b82f6}[data-theme=dark] .titlebar-global-search__item strong,[data-theme=dark-graphite] .titlebar-global-search__item strong,[data-theme=m-power] .titlebar-global-search__item strong{color:#e5edf8}[data-theme=dark] .titlebar-global-search__item span,[data-theme=dark-graphite] .titlebar-global-search__item span,[data-theme=m-power] .titlebar-global-search__item span{color:#9fb0c8}[data-theme=dark] .titlebar-global-search__item-icon,[data-theme=dark-graphite] .titlebar-global-search__item-icon,[data-theme=m-power] .titlebar-global-search__item-icon{background:#2a3544;color:#b9cae3}[data-theme=dark] .titlebar-global-search__status,[data-theme=dark-graphite] .titlebar-global-search__status,[data-theme=m-power] .titlebar-global-search__status{color:#9fb0c8}.dashboard-titlebar__left{min-width:0;gap:.75rem}.dashboard-titlebar__left h1{display:inline-flex;align-items:center;gap:.45rem}.dashboard-titlebar__spinner{width:15px;height:15px;border-radius:50%;border:2.5px solid color-mix(in srgb,var(--text-muted) 25%,transparent);border-top-color:var(--accent, #3b82f6);animation:dashboard-spinner-rotate .75s linear infinite;flex:0 0 auto}.dashboard-titlebar__session-refresh{display:inline-flex;align-items:center;min-height:1.34rem;padding:0 .5rem;border-radius:999px;border:1px solid #ffffff38;background:#ffffff1a;color:#dbe7ff;font-size:.72rem;font-weight:700;white-space:nowrap}.env-badge{display:inline-flex;align-items:center;justify-content:center;min-width:3.4rem;height:1.6rem;padding:0 .5rem;border-radius:999px;border:1px solid #f59e0b70;background:#f59e0b1f;color:#fde68a;font-size:.75rem;font-weight:700;letter-spacing:.06em}.titlebar-user{margin:0;color:#d1d5db;font-size:.84rem;white-space:nowrap}.icon-btn--titlebar{background:#ffffff14;border-color:#ffffff2e;color:#f8fafc}.icon-btn--titlebar:hover{background:#ffffff26}.dashboard-titlebar .theme-picker--titlebar{border-color:#fff3;background:#ffffff14}.dashboard-titlebar .theme-picker--titlebar svg{color:#d1d5db}.dashboard-titlebar .theme-select--titlebar{background:#ffffff08;color:#f8fafc;color-scheme:dark}.dashboard-titlebar .theme-select--titlebar option{background:#111827;color:#e5e7eb}.secondary-btn--titlebar{background:#ffffff14;border-color:#fff3;color:#f8fafc;min-height:36px;height:36px;padding:0 .72rem;align-items:center;overflow:visible}.secondary-btn--titlebar:hover{background:#ffffff24}.titlebar-profile,.titlebar-notifications{position:relative}.titlebar-notifications-trigger{position:relative;min-width:42px;height:36px;padding:0 .56rem}.titlebar-notifications-trigger--open{background:#ffffff2a}.titlebar-notifications__count{position:absolute;top:-5px;right:-5px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;border:1px solid #1f2937;background:#ef4444;color:#fff;font-size:.65rem;font-weight:800;line-height:16px;text-align:center}[data-theme=m-power] .titlebar-notifications__count{background:#35a4ff}.titlebar-notifications-menu{position:absolute;top:calc(100% + 8px);right:0;width:min(436px,92vw);max-height:min(72vh,680px);border:1px solid color-mix(in srgb,var(--surface-line) 72%,transparent);border-radius:16px;background:#fff;box-shadow:0 24px 54px #0000003d;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);padding:.78rem;display:grid;grid-template-rows:auto minmax(0,1fr);gap:.72rem;z-index:40}.mobile-titlebar-panel{position:fixed;top:var(--titlebar-height, 48px);left:0;right:0;bottom:0;z-index:36;background:color-mix(in srgb,var(--surface) 98%,transparent);border-top:1px solid color-mix(in srgb,var(--surface-line) 60%,transparent)}.mobile-titlebar-panel__content{height:100%;display:grid;grid-template-rows:auto minmax(0,1fr);gap:.7rem;padding:.65rem .7rem .8rem}.mobile-titlebar-search__box{display:flex;align-items:center;gap:.45rem;min-height:40px;border:1px solid color-mix(in srgb,var(--surface-line) 84%,transparent);border-radius:10px;padding:0 .62rem;background:color-mix(in srgb,var(--surface-elevated) 70%,var(--surface))}.mobile-titlebar-search__box input{min-width:0;flex:1 1 auto;border:0!important;background:transparent;color:var(--text-main);font:inherit;outline:0!important;box-shadow:none!important;-webkit-appearance:none;-moz-appearance:none;appearance:none}.mobile-titlebar-search__box input:focus,.mobile-titlebar-search__box input:focus-visible,.mobile-titlebar-search__box input:active{border:0!important;outline:0!important;box-shadow:none!important;background:transparent}.mobile-titlebar-search__box input::-webkit-search-decoration,.mobile-titlebar-search__box input::-webkit-search-cancel-button,.mobile-titlebar-search__box input::-webkit-search-results-button,.mobile-titlebar-search__box input::-webkit-search-results-decoration{-webkit-appearance:none;display:none}.mobile-titlebar-search__clear{width:16px;height:16px;border:0;border-radius:999px;background:color-mix(in srgb,var(--surface-line) 44%,transparent);color:var(--text-main);display:inline-flex;align-items:center;justify-content:center;padding:0}.mobile-titlebar-search__box .titlebar-global-search__spinner{border-color:color-mix(in srgb,var(--surface-line) 70%,transparent);border-top-color:var(--accent, #3b82f6)}.mobile-titlebar-search__results{min-height:0;overflow:auto;display:grid;gap:.55rem;align-content:start;justify-items:stretch;padding-right:.2rem}.mobile-titlebar-search__results--empty{display:flex;align-items:stretch}.mobile-titlebar-search__results>.titlebar-search-empty-state--mobile:only-child{align-self:stretch;height:100%;flex:1 1 auto;min-height:100%}.mobile-titlebar-search__results .titlebar-global-search__section{align-content:start}.mobile-titlebar-search__results .titlebar-global-search__item{min-height:64px;align-self:start}.titlebar-notifications-menu__head{display:flex;align-items:center;justify-content:space-between;gap:.55rem}.titlebar-notifications-menu__head strong{color:var(--text-main);font-size:1.05rem;font-weight:800}.titlebar-notifications-menu__mark-all{min-height:2.2rem;padding:.35rem .65rem;font-size:.78rem;border-radius:10px;background:transparent;box-shadow:none}.titlebar-notifications-menu__list{display:grid;gap:.65rem;overflow:auto;padding-right:.28rem}.titlebar-notifications-menu__empty{margin:.15rem 0 .2rem;color:var(--text-muted);font-size:.84rem}.titlebar-notifications-empty-state{min-height:220px;display:grid;place-items:center;align-content:center;gap:.55rem;padding:1.2rem 1rem;text-align:center}.titlebar-notifications-empty-state__icon{width:52px;height:52px;border-radius:999px;display:inline-grid;place-items:center;color:color-mix(in srgb,var(--accent, #3b82f6) 64%,#2d3f59 36%);background:color-mix(in srgb,var(--accent, #3b82f6) 10%,transparent)}.titlebar-notifications-empty-state strong{color:var(--text-main);font-size:1rem}.titlebar-notifications-empty-state p{margin:0;color:var(--text-muted);font-size:.85rem}.titlebar-notifications-item{position:relative;border:1px solid color-mix(in srgb,var(--surface-line) 74%,transparent);border-radius:14px;background:#fff;padding:.72rem .74rem .68rem;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:.55rem;cursor:default;transition:transform .14s ease,border-color .14s ease,box-shadow .14s ease,background .14s ease}.titlebar-notifications-item[role=button]{cursor:pointer}.titlebar-notifications-item:hover{transform:translateY(-1px);border-color:color-mix(in srgb,var(--accent) 38%,var(--surface-line));box-shadow:0 14px 30px #00000020;background:color-mix(in srgb,var(--surface-elevated) 95%,transparent)}.titlebar-notifications-item--unread{border-color:color-mix(in srgb,var(--accent, #3b82f6) 52%,var(--surface-line));background:#fff}.titlebar-notifications-item--info{border-left:3px solid rgba(59,130,246,.78)}.titlebar-notifications-item--success{border-left:3px solid rgba(16,185,129,.8)}.titlebar-notifications-item--warning{border-left:3px solid rgba(245,158,11,.86)}.titlebar-notifications-item--error{border-left:3px solid rgba(244,63,94,.86)}.titlebar-notifications-item--visit-new{border-left-color:#f59e0b}.titlebar-notifications-item--visit-updated{border-left-color:#3b82f6}.titlebar-notifications-item--estimate-accepted{border-left-color:#22c55e}.titlebar-notifications-item--estimate-rejected,.titlebar-notifications-item--visit-cancelled{border-left-color:#ef4444}.titlebar-notifications-item--improvement-comment{border-left-color:#7c3aed}.titlebar-notifications-item--improvement-status-new{border-left-color:#0ea5e9}.titlebar-notifications-item--improvement-status-in-progress{border-left-color:#2563eb}.titlebar-notifications-item--improvement-status-waiting{border-left-color:#f59e0b}.titlebar-notifications-item--improvement-status-reopened{border-left-color:#d97706}.titlebar-notifications-item--improvement-status-completed{border-left-color:#16a34a}.titlebar-notifications-item--improvement-status-rejected{border-left-color:#dc2626}.titlebar-notifications-item--document{border-left-color:#64748b}.titlebar-notifications-item--visit-new .titlebar-notifications-item__icon{background:color-mix(in srgb,#f59e0b 18%,transparent);color:#c26d07}.titlebar-notifications-item--visit-updated .titlebar-notifications-item__icon{background:color-mix(in srgb,#3b82f6 18%,transparent);color:#275fd0}.titlebar-notifications-item--estimate-accepted .titlebar-notifications-item__icon{background:color-mix(in srgb,#22c55e 18%,transparent);color:#12984a}.titlebar-notifications-item--estimate-rejected .titlebar-notifications-item__icon,.titlebar-notifications-item--visit-cancelled .titlebar-notifications-item__icon{background:color-mix(in srgb,#ef4444 18%,transparent);color:#cd3434}.titlebar-notifications-item--improvement-comment .titlebar-notifications-item__icon{background:color-mix(in srgb,#7c3aed 16%,transparent);color:#5b21b6}.titlebar-notifications-item--improvement-status-new .titlebar-notifications-item__icon{background:color-mix(in srgb,#0ea5e9 16%,transparent);color:#0369a1}.titlebar-notifications-item--improvement-status-in-progress .titlebar-notifications-item__icon{background:color-mix(in srgb,#2563eb 16%,transparent);color:#1e40af}.titlebar-notifications-item--improvement-status-waiting .titlebar-notifications-item__icon{background:color-mix(in srgb,#f59e0b 16%,transparent);color:#b45309}.titlebar-notifications-item--improvement-status-reopened .titlebar-notifications-item__icon{background:color-mix(in srgb,#d97706 16%,transparent);color:#92400e}.titlebar-notifications-item--improvement-status-completed .titlebar-notifications-item__icon{background:color-mix(in srgb,#16a34a 16%,transparent);color:#166534}.titlebar-notifications-item--improvement-status-rejected .titlebar-notifications-item__icon{background:color-mix(in srgb,#dc2626 16%,transparent);color:#991b1b}.titlebar-notifications-item--document .titlebar-notifications-item__icon{background:#e2eaf4f2;color:#52627a}.titlebar-notifications-item__icon{width:2rem;height:2rem;border-radius:11px;display:inline-flex;align-items:center;justify-content:center;background:color-mix(in srgb,var(--accent) 14%,transparent);color:color-mix(in srgb,var(--accent-strong) 75%,#172033);margin-top:.08rem}.titlebar-notifications-item__content{min-width:0;min-height:0;overflow:auto;display:grid;gap:.3rem;padding-right:3.9rem;padding-bottom:.45rem}.titlebar-notifications-item__title{margin:0;color:var(--text-main);font-size:.94rem;font-weight:800}.titlebar-notifications-item__message{margin:0;color:var(--text-main);font-size:.84rem;line-height:1.36;display:grid;gap:.3rem}.titlebar-notifications-item__message strong{font-weight:700}.titlebar-notifications-item__message span:not(.improvement-status):not(.titlebar-notifications-item__truncate){color:var(--text-muted);font-size:.76rem;font-weight:500}.titlebar-notifications-item__message .improvement-status{justify-self:start;font-size:.74rem;font-weight:700;line-height:1}.titlebar-notifications-item__message em{color:color-mix(in srgb,var(--text-main) 84%,#4f6a8d);font-size:.91rem;font-style:normal;display:inline-flex;align-items:center;gap:.38rem;max-width:100%;min-width:0}.titlebar-notifications-item__message em svg{flex:0 0 auto}.titlebar-notifications-item__truncate{display:block;min-width:0;font-size:inherit;line-height:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.titlebar-notifications-item--improvement-comment,.titlebar-notifications-item--improvement-status-new,.titlebar-notifications-item--improvement-status-in-progress,.titlebar-notifications-item--improvement-status-waiting,.titlebar-notifications-item--improvement-status-reopened,.titlebar-notifications-item--improvement-status-completed,.titlebar-notifications-item--improvement-status-rejected{min-height:108px;height:108px;max-height:108px;overflow:hidden}.titlebar-notifications-item--improvement-comment .titlebar-notifications-item__content,.titlebar-notifications-item--improvement-status-new .titlebar-notifications-item__content,.titlebar-notifications-item--improvement-status-in-progress .titlebar-notifications-item__content,.titlebar-notifications-item--improvement-status-waiting .titlebar-notifications-item__content,.titlebar-notifications-item--improvement-status-reopened .titlebar-notifications-item__content,.titlebar-notifications-item--improvement-status-completed .titlebar-notifications-item__content,.titlebar-notifications-item--improvement-status-rejected .titlebar-notifications-item__content{overflow:hidden;padding-bottom:2rem}.titlebar-notifications-item--improvement-comment .titlebar-notifications-item__message em,.titlebar-notifications-item--improvement-status-new .titlebar-notifications-item__message em,.titlebar-notifications-item--improvement-status-in-progress .titlebar-notifications-item__message em,.titlebar-notifications-item--improvement-status-waiting .titlebar-notifications-item__message em,.titlebar-notifications-item--improvement-status-reopened .titlebar-notifications-item__message em,.titlebar-notifications-item--improvement-status-completed .titlebar-notifications-item__message em,.titlebar-notifications-item--improvement-status-rejected .titlebar-notifications-item__message em{max-width:100%}.titlebar-notifications-item__meta{display:flex;align-items:center;justify-content:flex-start;gap:.6rem;margin-top:.2rem}.titlebar-notifications-item__meta>span{display:inline-flex;align-items:center;gap:.28rem;color:var(--text-muted);font-size:.74rem;white-space:nowrap}.titlebar-notifications-item__open{position:absolute;right:.62rem;bottom:.7rem;min-height:1.85rem;border:1px solid color-mix(in srgb,var(--surface-line) 74%,transparent);border-radius:9px;background:transparent;color:var(--text-main);font-family:inherit;font-size:.76rem;font-weight:650;display:inline-flex;align-items:center;gap:.28rem;padding:0 .58rem}.titlebar-notifications-item__open:hover{border-color:color-mix(in srgb,var(--accent) 42%,var(--surface-line));background:transparent}.titlebar-notifications-item__remove{position:absolute;top:.4rem;right:.62rem;width:24px;height:24px;padding:0;color:var(--text-main);background:transparent;border-color:transparent;box-shadow:none;opacity:.45;transition:opacity .12s ease,background .12s ease}.titlebar-notifications-item__remove:hover{background:transparent;border-color:transparent;opacity:1}[data-theme=dark] .titlebar-notifications-menu,[data-theme=dark-graphite] .titlebar-notifications-menu,[data-theme=m-power] .titlebar-notifications-menu{background:#0d1422c9;border-color:#fff3;box-shadow:0 26px 56px #00000073}[data-theme=dark] .titlebar-notifications-item,[data-theme=dark-graphite] .titlebar-notifications-item,[data-theme=m-power] .titlebar-notifications-item{border-color:#ffffff2a;background:#ffffff0f}[data-theme=dark] .titlebar-notifications-item--unread,[data-theme=dark-graphite] .titlebar-notifications-item--unread,[data-theme=m-power] .titlebar-notifications-item--unread{border-color:#60a5fa66;background:#60a5fa1a}[data-theme=dark] .titlebar-notifications-menu__head strong,[data-theme=dark-graphite] .titlebar-notifications-menu__head strong,[data-theme=m-power] .titlebar-notifications-menu__head strong,[data-theme=dark] .titlebar-notifications-item__title,[data-theme=dark-graphite] .titlebar-notifications-item__title,[data-theme=m-power] .titlebar-notifications-item__title{color:#f8fafc}[data-theme=dark] .titlebar-notifications-item__message,[data-theme=dark-graphite] .titlebar-notifications-item__message,[data-theme=m-power] .titlebar-notifications-item__message{color:#e9eef7}[data-theme=dark] .titlebar-notifications-item__remove,[data-theme=dark-graphite] .titlebar-notifications-item__remove,[data-theme=m-power] .titlebar-notifications-item__remove{color:#f8fafc;background:transparent;border-color:transparent}.titlebar-profile-trigger{min-width:44px;height:36px;padding:0 .62rem}.titlebar-profile-trigger--open{background:#ffffff2a}.titlebar-profile-menu{position:absolute;top:calc(100% + 8px);right:0;width:min(300px,84vw);border:1px solid #ffffff2e;border-radius:12px;background:#10151ddc;box-shadow:0 14px 32px #0000005c;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);padding:.65rem;display:grid;gap:.6rem;z-index:40}.titlebar-profile-menu__user{margin:0;font-size:.9rem;font-weight:700;color:#f8fafc}.titlebar-profile-menu__theme{display:grid;gap:.3rem}.titlebar-profile-menu__theme span{display:inline-flex;align-items:center;gap:.35rem;font-size:.8rem;color:#d1d5db}.titlebar-profile-menu__theme select{border:1px solid #ffffff38;border-radius:9px;background:#ffffff14;color:#f8fafc;color-scheme:light;font:inherit;font-size:.88rem;padding:.45rem .5rem}.titlebar-profile-menu__theme select option{background:#f8fafc;color:#1f2937}.titlebar-profile-menu__logout{justify-content:center}.titlebar-profile-menu__scale{display:grid;gap:.3rem}.titlebar-profile-menu__scale>span{font-size:.8rem;color:#d1d5db}.titlebar-profile-menu__scale-controls{display:inline-flex;align-items:center;gap:.4rem}.titlebar-profile-menu__scale-controls .secondary-btn--titlebar{min-width:32px;padding:.28rem .5rem}.titlebar-profile-menu__scale-controls strong{min-width:54px;text-align:center;font-size:.88rem;color:#f8fafc}.theme-picker--sidebar{border-color:#ffffff2b;background:#ffffff12}.theme-picker--sidebar svg{color:#d1d5db}.theme-select--sidebar{background:#ffffff08;color:#f8fafc;color-scheme:light}.theme-select--sidebar option{background:#f8fafc;color:#1f2937}.secondary-btn--sidebar{background:#ffffff14;border-color:#ffffff30;color:#f8fafc}.dashboard-sidebar{grid-column:1;grid-row:2;position:relative;display:grid;grid-template-rows:minmax(0,1fr) auto;z-index:12;height:100%;min-height:100%;overflow:hidden;background:radial-gradient(circle at 12% 8%,#ffffff14 0%,transparent 32%),linear-gradient(186deg,color-mix(in srgb,var(--sidebar-bg) 94%,#ffffff08),color-mix(in srgb,var(--sidebar-bg) 92%,#0f1115) 52%,color-mix(in srgb,var(--sidebar-bg) 86%,#070a0f));color:var(--sidebar-text);padding:1rem .7rem;border-right:1px solid #ffffff1f;box-shadow:10px 0 20px #0000001f,22px 0 44px #0000002e;transition:width .24s ease,padding .24s ease,transform .2s ease;will-change:width,padding,transform}.dashboard-sidebar--compact{width:60px;padding:1rem .45rem}.dashboard-sidebar--expanded{width:248px}.dashboard-sidebar__top{display:flex;align-items:center;justify-content:flex-end;padding:.2rem .4rem 1.1rem}.dashboard-brand{font-family:Rajdhani,Segoe UI,sans-serif;font-weight:700;letter-spacing:.14em;margin:0}.dashboard-nav{display:grid;gap:.4rem;align-content:start;min-height:0;overflow-y:auto;overflow-x:hidden}.dashboard-sidebar__bottom{padding-top:.5rem;background:transparent}.dashboard-cash-launcher{width:100%;border-color:color-mix(in srgb,#facc15 44%,transparent);background:color-mix(in srgb,#facc15 18%,transparent)}.dashboard-cash-launcher:hover{background:color-mix(in srgb,#facc15 28%,transparent)}.dashboard-sidebar--compact .dashboard-cash-launcher{justify-content:center;padding:.7rem .55rem}.dashboard-sidebar--compact .dashboard-cash-launcher span{max-width:0;opacity:0;transform:translate(-4px)}.dashboard-nav__group{display:grid;gap:.24rem;position:relative}.sidebar-mobile-tools{display:none}.dashboard-nav__item{border:1px solid transparent;background:transparent;color:var(--sidebar-text);border-radius:12px;position:relative;padding:.7rem .8rem;text-align:left;cursor:pointer;display:inline-flex;align-items:center;gap:.65rem;font:inherit;transition:padding .22s ease,background-color .2s ease,color .2s ease}.dashboard-nav__parent{width:100%}.dashboard-nav__parent-chevron{margin-left:auto;opacity:.8;transition:transform .2s ease}.dashboard-sidebar--compact .dashboard-nav__parent-chevron{display:none}.dashboard-sidebar--compact .dashboard-nav__item{justify-content:center;padding:.7rem .55rem;gap:0}.dashboard-nav__item span:not(.dashboard-nav__badge){display:inline-block;white-space:nowrap;overflow:hidden;max-width:140px;opacity:1;transform:translate(0);transition:max-width .24s ease,opacity .16s ease,transform .24s ease}.dashboard-sidebar--compact .dashboard-nav__item span:not(.dashboard-nav__badge){max-width:0;opacity:0;transform:translate(-4px)}.dashboard-nav__badge{margin-left:auto;min-width:1.2rem;height:1.2rem;padding:0 .34rem;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;font-size:.68rem;font-weight:700;line-height:1;color:#fff;background:color-mix(in srgb,#ef4444 86%,#ffffff);box-shadow:0 4px 10px #0000002e}.dashboard-sidebar--compact .dashboard-nav__badge{position:absolute;top:.18rem;right:.18rem;margin-left:0;min-width:1rem;height:1rem;padding:0 .22rem;font-size:.62rem}.dashboard-nav__item:hover{background:#ffffff17}.dashboard-nav__item--active{background:var(--sidebar-active-bg);color:var(--sidebar-active-text)}.dashboard-nav__item--cash{margin-top:.55rem;border-color:color-mix(in srgb,#facc15 36%,transparent);background:color-mix(in srgb,#facc15 14%,transparent)}.dashboard-nav__item--cash:hover{background:color-mix(in srgb,#facc15 24%,transparent)}.dashboard-nav__item--cash.dashboard-nav__item--active{background:linear-gradient(135deg,color-mix(in srgb,#facc15 34%,var(--sidebar-active-bg)),var(--sidebar-active-bg))}.dashboard-nav__submenu{display:none;gap:.24rem;padding:0;position:relative;z-index:18;opacity:0;transform:translate(-8px) scale(.98);transform-origin:left center;transition:opacity .16s ease,transform .16s ease}.dashboard-nav__group--submenu-open .dashboard-nav__submenu{display:grid;opacity:1;transform:translate(0) scale(1)}.dashboard-nav__submenu-item{border:1px solid transparent;background:transparent;color:var(--sidebar-text);border-radius:10px;padding:.44rem .55rem;text-align:left;cursor:pointer;font:inherit;font-size:.84rem;display:inline-flex;align-items:center;gap:.42rem;white-space:nowrap;transition:background-color .2s ease,color .2s ease}.dashboard-nav__submenu-item:hover{background:color-mix(in srgb,var(--sidebar-active-bg) 56%,transparent)}.dashboard-nav__submenu-item--active{background:var(--sidebar-active-bg);color:var(--sidebar-active-text)}@media (min-width: 1001px){.dashboard-sidebar,.dashboard-nav{overflow:visible}.dashboard-nav__submenu{left:100%;top:0;position:absolute;min-width:230px;padding:.42rem;border-radius:12px;border:1px solid color-mix(in srgb,var(--surface-line) 38%,transparent);background:color-mix(in srgb,var(--sidebar-bg) 92%,#0f141d);box-shadow:0 14px 26px #00000040}}@media (max-width: 1000px){.dashboard-nav__item span:not(.dashboard-nav__badge){white-space:nowrap;overflow:visible;max-width:none}.dashboard-nav__submenu{padding:0 .1rem .1rem 2.05rem}.dashboard-nav__group--submenu-open .dashboard-nav__submenu{display:grid;opacity:1;transform:translate(0) scale(1)}}.dashboard-main{grid-column:2;grid-row:2;display:grid;grid-template-rows:auto 1fr;min-width:0;min-height:0;overflow:hidden}.dashboard-topbar{position:relative;z-index:3;display:flex;justify-content:flex-start;gap:1rem;padding:.75rem 1rem .55rem;border-bottom:1px solid color-mix(in srgb,var(--surface-line) 52%,transparent);background:var(--surface)}.dashboard-topbar__left,.dashboard-topbar__actions{display:flex;align-items:center;gap:.65rem}.dashboard-back-btn{width:2rem;height:2rem;min-width:2rem;padding:0;border:0;background:transparent;border-radius:999px;color:var(--text-muted);display:inline-flex;align-items:center;justify-content:center}.dashboard-back-btn:hover:not(:disabled){background:color-mix(in srgb,var(--accent) 14%,transparent);color:var(--text-main)}.dashboard-back-btn:focus-visible{outline:none;box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 28%,transparent)}.theme-picker{display:inline-flex;align-items:center;gap:.45rem;border:1px solid var(--surface-line);background:var(--surface-elevated);border-radius:11px;padding:.4rem .5rem}.theme-picker svg{color:var(--text-muted)}.theme-select{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background:var(--surface-elevated);color:var(--text-main);font:inherit;font-weight:600;line-height:1.2;border-radius:8px;padding:.25rem .2rem .25rem .5rem;cursor:pointer}.theme-select:focus{outline:none}.theme-select option{background:var(--surface);color:var(--text-main)}[data-theme=dark] .theme-select,[data-theme=dark-graphite] .theme-select{background:#1b2433;color:#e5e7eb}[data-theme=dark] .theme-select option,[data-theme=dark-graphite] .theme-select option{background:#111827;color:#e5e7eb}[data-theme=dark] .theme-select--sidebar option,[data-theme=dark-graphite] .theme-select--sidebar option{background:#f8fafc;color:#1f2937}.dashboard-topbar h1{margin:0;font-size:1.45rem;font-family:Rajdhani,Segoe UI,sans-serif;display:inline-flex;align-items:center;gap:.5rem}.dashboard-content{padding:.8rem 1.2rem 1.2rem}.dashboard-content{position:relative;isolation:isolate;overflow:auto;min-height:0}.dashboard-content:before{content:"";position:fixed;top:0;right:0;bottom:0;left:0;z-index:0;pointer-events:none;background:radial-gradient(760px 440px at 108% -12%,color-mix(in srgb,var(--accent) 24%,transparent),transparent 68%),radial-gradient(600px 330px at -8% 102%,color-mix(in srgb,var(--accent-strong) 20%,transparent),transparent 66%),radial-gradient(360px 220px at 48% 14%,color-mix(in srgb,var(--accent) 11%,transparent),transparent 74%),linear-gradient(180deg,color-mix(in srgb,var(--accent) 8%,transparent),transparent 52%)}.dashboard-content:after{content:"";position:fixed;top:0;right:0;bottom:0;left:0;z-index:0;pointer-events:none;opacity:.48;background-image:linear-gradient(to right,color-mix(in srgb,var(--accent) 16%,transparent) 1px,transparent 1px),linear-gradient(to bottom,color-mix(in srgb,var(--accent) 16%,transparent) 1px,transparent 1px),linear-gradient(135deg,color-mix(in srgb,var(--accent-strong) 10%,transparent) 1px,transparent 1px);background-size:24px 24px,24px 24px,48px 48px;-webkit-mask-image:linear-gradient(180deg,#000000 5%,#00000042 42%,transparent 100%);mask-image:linear-gradient(180deg,#000000 5%,#00000042 42%,transparent 100%)}.dashboard-content>*{position:relative;z-index:1}.settings-placeholder{border:1px solid var(--surface-line);background:color-mix(in srgb,var(--surface) 88%,transparent);border-radius:14px;padding:1rem}.settings-placeholder h2{margin-top:0}.admin-fiscal-shell{width:100%}.admin-fiscal-toolbar{justify-content:flex-start}.admin-fiscal-actions{align-items:center;gap:.5rem}.admin-fiscal-count{display:inline-flex;align-items:center;justify-content:center;min-width:1.9rem;height:1.9rem;border-radius:999px;padding:0 .6rem;background:color-mix(in srgb,var(--accent) 18%,transparent);color:var(--text-main);font-weight:700}.admin-fiscal-form{display:grid;grid-template-columns:1.2fr 1fr 1fr auto;gap:.75rem;align-items:end}.admin-fiscal-form--modal{grid-template-columns:1fr}.admin-fiscal-modal,.visit-pos-modal.admin-fiscal-modal{width:min(560px,calc(100vw - 1.5rem))}.admin-fiscal-form label{display:grid;gap:.35rem;font-size:.82rem;color:var(--text-muted)}.admin-fiscal-form input,.admin-fiscal-form select{min-height:2.3rem;border-radius:10px;border:1px solid var(--surface-line);background:var(--field-bg);color:var(--text-main);font:inherit;font-family:inherit;padding:0 .75rem}.admin-fiscal-token-box{border:1px dashed var(--surface-line);background:color-mix(in srgb,var(--surface) 85%,transparent);border-radius:12px;padding:.8rem;display:grid;gap:.5rem;margin-top:-.15rem}.admin-fiscal-token-box p{margin:.15rem 0 0;color:var(--text-muted);font-size:.82rem}.admin-fiscal-token-box code{display:block;white-space:break-spaces;overflow-wrap:anywhere;border-radius:8px;border:1px solid var(--surface-line);padding:.65rem .7rem;background:color-mix(in srgb,var(--surface) 92%,black 4%)}.admin-document-numbers-modal,.visit-pos-modal.admin-fiscal-modal.admin-document-numbers-modal{width:min(860px,calc(100vw - 1.5rem))}.admin-document-numbers-grid{display:grid;gap:.7rem}.admin-document-numbers-row{display:grid;grid-template-columns:minmax(220px,1fr) 120px 170px 100px;gap:.55rem;align-items:center}.admin-document-numbers-row>span{font-size:.9rem;color:var(--text-main)}.admin-document-numbers-row input,.admin-document-numbers-row select{min-height:2.2rem}.admin-document-numbers-modal select option{color:#0f172a;background:#fff}.customers-shell.admin-users-shell{width:100%;height:calc(100dvh - 164px);min-height:calc(100dvh - 164px);gap:.4rem;grid-template-rows:auto auto minmax(0,1fr);align-items:stretch;overflow:hidden}.admin-users-toolbar{justify-content:flex-start;margin-bottom:0}.admin-users-actions{align-items:center}.admin-users-row{cursor:pointer}.admin-user-right-badge{display:inline-flex;align-items:center;justify-content:center;min-height:24px;padding:.12rem .56rem;border-radius:999px;border:1px solid color-mix(in srgb,var(--accent) 42%,var(--surface-line));background:color-mix(in srgb,var(--accent) 14%,var(--surface-elevated));color:color-mix(in srgb,var(--accent-strong) 82%,var(--text-main));font-size:.78rem;font-weight:700;line-height:1}.admin-user-right-badge--worker{border-color:color-mix(in srgb,#64748b 44%,var(--surface-line));background:color-mix(in srgb,#64748b 18%,var(--surface-elevated));color:color-mix(in srgb,#334155 84%,var(--text-main))}.admin-user-right-badge--manager{border-color:color-mix(in srgb,#f59e0b 50%,var(--surface-line));background:color-mix(in srgb,#f59e0b 18%,var(--surface-elevated));color:color-mix(in srgb,#b45309 86%,var(--text-main))}.admin-user-right-badge--admin{border-color:color-mix(in srgb,#8b5cf6 52%,var(--surface-line));background:color-mix(in srgb,#8b5cf6 18%,var(--surface-elevated));color:color-mix(in srgb,#6d28d9 86%,var(--text-main))}[data-theme=dark] .admin-user-right-badge--worker,[data-theme=dark-graphite] .admin-user-right-badge--worker,[data-theme=m-power] .admin-user-right-badge--worker{border-color:#94a3b8c2;background:#3341554f;color:#e2e8f0}[data-theme=dark] .admin-user-right-badge--manager,[data-theme=dark-graphite] .admin-user-right-badge--manager,[data-theme=m-power] .admin-user-right-badge--manager{border-color:#facc15bf;background:#a1620733;color:#fde68a}[data-theme=dark] .admin-user-right-badge--admin,[data-theme=dark-graphite] .admin-user-right-badge--admin,[data-theme=m-power] .admin-user-right-badge--admin{border-color:#c4b5fdc8;background:#6d28d93b;color:#e9d5ff}[data-theme=dark] .admin-users-shell .documents-flag-badge--yes,[data-theme=dark-graphite] .admin-users-shell .documents-flag-badge--yes,[data-theme=m-power] .admin-users-shell .documents-flag-badge--yes,[data-theme=dark] .admin-fiscal-shell .documents-flag-badge--yes,[data-theme=dark-graphite] .admin-fiscal-shell .documents-flag-badge--yes,[data-theme=m-power] .admin-fiscal-shell .documents-flag-badge--yes{border-color:#4ade80bf;background:#16653433;color:#bbf7d0}[data-theme=dark] .admin-users-shell .documents-flag-badge--no,[data-theme=dark-graphite] .admin-users-shell .documents-flag-badge--no,[data-theme=m-power] .admin-users-shell .documents-flag-badge--no,[data-theme=dark] .admin-fiscal-shell .documents-flag-badge--no,[data-theme=dark-graphite] .admin-fiscal-shell .documents-flag-badge--no,[data-theme=m-power] .admin-fiscal-shell .documents-flag-badge--no{border-color:#94a3b8bc;background:#33415546;color:#e2e8f0}.admin-users-layout{grid-row:3;width:75%;max-width:100%;margin-inline:auto;margin-top:0;min-height:0;height:100%;max-height:none;display:grid;gap:0;overflow:hidden}.admin-users-shell>.documents-action-message{grid-row:2}.admin-users-message-bar{grid-row:2;width:75%;max-width:100%;margin-inline:auto;display:flex;align-items:center;gap:.45rem}.admin-users-message-bar .documents-action-message{margin:0;flex:1 1 auto}.admin-users-copy-password-btn{min-height:2.1rem;white-space:nowrap}.admin-users-shell .admin-password-change-badge--required{border-color:color-mix(in srgb,#d67f21 56%,var(--surface-line));background:color-mix(in srgb,#f5a623 24%,var(--surface-elevated));color:color-mix(in srgb,#6a3908 84%,var(--text-main))}.admin-users-shell .admin-password-change-badge--ok{border-color:color-mix(in srgb,#3578d6 52%,var(--surface-line));background:color-mix(in srgb,#4c8ef0 21%,var(--surface-elevated));color:color-mix(in srgb,#163f79 84%,var(--text-main))}[data-theme=dark] .admin-users-shell .admin-password-change-badge--required,[data-theme=dark-graphite] .admin-users-shell .admin-password-change-badge--required,[data-theme=m-power] .admin-users-shell .admin-password-change-badge--required{border-color:color-mix(in srgb,#f0a24a 62%,var(--surface-line));background:color-mix(in srgb,#f0a24a 28%,var(--surface-elevated));color:color-mix(in srgb,#ffd8a5 88%,var(--text-main))}[data-theme=dark] .admin-users-shell .admin-password-change-badge--ok,[data-theme=dark-graphite] .admin-users-shell .admin-password-change-badge--ok,[data-theme=m-power] .admin-users-shell .admin-password-change-badge--ok{border-color:color-mix(in srgb,#68a9ff 56%,var(--surface-line));background:color-mix(in srgb,#68a9ff 22%,var(--surface-elevated));color:color-mix(in srgb,#d7e9ff 88%,var(--text-main))}.admin-users-layout .customers-table-wrap{width:100%;min-height:0;overflow:auto;margin:0;border:1px solid var(--surface-line);border-radius:12px;background:color-mix(in srgb,var(--surface) 90%,transparent)}.admin-users-top,.admin-users-bottom{height:100%;min-height:0;margin:0}.admin-users-bottom__head{padding:.42rem .55rem .2rem}.admin-users-bottom__head strong{font-size:.86rem}.admin-users-top{border-bottom-left-radius:0;border-bottom-right-radius:0}.admin-users-bottom{border-top-left-radius:0;border-top-right-radius:0}.admin-users-splitter{border-radius:0;border:0}.admin-users-form{gap:.55rem}.admin-users-form .admin-users-form__row{display:grid;grid-template-columns:112px minmax(0,1fr);gap:.5rem;align-items:center}.admin-users-form .admin-users-form__row>span{font-size:.84rem;color:var(--text-muted)}.admin-users-form .admin-users-form__row input,.admin-users-form .admin-users-form__row select{min-height:2.2rem;border-radius:10px;border:1px solid var(--surface-line);background:var(--surface-elevated);color:var(--text-main);padding:0 .7rem}.admin-users-form .admin-users-form__row--textarea{align-items:start}.admin-users-form .admin-users-form__row--textarea>span{padding-top:.5rem}.admin-users-form .admin-users-form__row textarea{border-radius:10px;border:1px solid var(--surface-line);background:var(--surface-elevated);color:var(--text-main);font:inherit;padding:.5rem .7rem;resize:vertical;min-height:5rem}.admin-notifications-wrap{padding:1rem 1.5rem}.admin-notifications-form{width:min(560px,100%)}.admin-notifications-form .admin-users-form__row{grid-template-columns:76px minmax(0,1fr);gap:.4rem}.admin-notifications-modal .admin-notifications-wrap{padding:.5rem .3rem}.admin-notifications-modal .admin-notifications-form{width:100%}.admin-notifications-preview-label{font-size:.84rem;color:var(--text-muted)}.admin-notifications-preview-value{font-size:.9rem;color:var(--text-main);font-weight:500}.admin-fiscal-form label.visit-invoice-flag{display:inline-flex;align-items:center;gap:.4rem}.admin-fiscal-form label.visit-invoice-flag input[type=checkbox]{min-height:0;width:16px;height:16px;padding:0;border:0;border-radius:0;background:transparent}@media (max-width: 1180px){.admin-fiscal-form{grid-template-columns:1fr 1fr}}@media (max-width: 760px){.admin-fiscal-form{grid-template-columns:1fr}.admin-document-numbers-row{grid-template-columns:1fr;gap:.35rem}.admin-users-form .admin-users-form__row{grid-template-columns:1fr;gap:.22rem;align-items:stretch}.admin-users-message-bar{width:100%;flex-direction:column;align-items:stretch}.admin-users-copy-password-btn{width:100%}}.customers-shell{display:grid;gap:.85rem}.cash-register-shell{width:min(82%,1240px);margin-inline:auto}.cash-register-modal-overlay{z-index:64}.cash-register-modal{width:min(1220px,calc(100vw - 1.5rem))!important;max-width:min(1220px,calc(100vw - 1.5rem))!important;max-height:calc(100vh - 5rem);overflow:auto;border-radius:14px}.cash-register-modal .visit-pos-modal__head{justify-content:space-between}.cash-register-modal .visit-pos-modal__head.modal-header-modern{padding:.56rem .88rem}.cash-register-modal .visit-pos-modal__head h4{text-align:left}.cash-register-card{display:grid;gap:.7rem;border:0;background:transparent;padding:0}.cash-register-page-head h2{margin:0;font-size:1.12rem}.cash-register-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:.9rem;align-items:start}.cash-register-table-wrap{border:1px solid color-mix(in srgb,var(--surface-line) 88%,transparent);border-radius:12px;background:color-mix(in srgb,var(--surface) 94%,transparent);height:100%;min-height:0;max-height:none;overflow-y:auto;overflow-x:hidden}.cash-register-table-wrap--modal{max-height:clamp(340px,62vh,620px)}.cash-register-table{width:100%;min-width:0!important;table-layout:fixed}.cash-register-table th:nth-child(1),.cash-register-table td:nth-child(1){width:8px;min-width:8px;max-width:8px;padding:0;text-align:left}.cash-register-table th:nth-child(2),.cash-register-table td:nth-child(2){width:70%;min-width:180px;white-space:normal;word-break:break-word}.cash-register-table th:nth-child(3),.cash-register-table td:nth-child(3){width:30%;min-width:100px;text-align:right;white-space:nowrap}.cash-register-marker-cell{position:relative;padding:0!important}.cash-register-marker{position:absolute;left:4px;top:.34rem;bottom:.34rem;width:4px;border-radius:8px;background:transparent}.cash-register-marker--company{background:#5f27cd}.cash-register-row--external td{background:color-mix(in srgb,#fbc531 22%,transparent)}.cash-register-panel{border:1px solid var(--surface-line);border-radius:12px;background:color-mix(in srgb,var(--surface) 92%,transparent);padding:.7rem;display:grid;gap:.55rem;align-self:start}.cash-register-panel h4{margin:0}.cash-register-panel__head{display:flex;align-items:center;justify-content:space-between;gap:.6rem}.cash-register-company-box{display:inline-flex;align-items:center;gap:.45rem;flex-wrap:nowrap;border:1px solid color-mix(in srgb,var(--surface-line) 86%,transparent);border-radius:10px;background:color-mix(in srgb,var(--surface-elevated) 70%,transparent);padding:.32rem .55rem;font-size:.84rem;color:var(--text-muted);font-weight:700;line-height:1;white-space:nowrap}.cash-register-panel label.cash-register-company-box{display:inline-flex;grid-template-columns:none;gap:.45rem}.cash-register-company-box input{margin:0;flex:0 0 auto}.cash-register-panel label{display:grid;gap:.3rem}.cash-register-panel label span{font-size:.84rem;color:var(--text-muted);font-weight:700}.cash-register-panel textarea,.cash-register-panel select,.cash-register-panel input:not([type=checkbox]){width:100%;border:1px solid var(--surface-line);border-radius:10px;background:var(--surface-elevated);color:var(--text-main);padding:.52rem .62rem;font:inherit}.cash-register-panel select{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding-right:2rem;background-image:linear-gradient(45deg,transparent 50%,color-mix(in srgb,var(--text-muted) 80%,#ffffff) 50%),linear-gradient(135deg,color-mix(in srgb,var(--text-muted) 80%,#ffffff) 50%,transparent 50%);background-position:calc(100% - 14px) calc(50% - 2px),calc(100% - 9px) calc(50% - 2px);background-size:5px 5px,5px 5px;background-repeat:no-repeat}.cash-register-panel textarea{min-height:90px;resize:vertical}.cash-register-amount-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.45rem;align-items:center}.cash-register-amount-row .primary-btn{min-height:2.2rem;min-width:78px;padding-inline:.85rem;white-space:nowrap}.cash-register-endofday{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.45rem;align-items:end}.cash-register-endofday .secondary-btn{min-height:2.2rem;min-width:78px;padding-inline:.85rem}.cash-register-totals{margin-top:.35rem;border-top:1px solid color-mix(in srgb,var(--surface-line) 72%,transparent);padding:.62rem .55rem .5rem;border-radius:10px;background:linear-gradient(180deg,color-mix(in srgb,var(--surface-elevated) 72%,transparent),color-mix(in srgb,var(--surface) 88%,transparent));display:grid;gap:.34rem}.cash-register-totals p{margin:0;display:flex;align-items:baseline;justify-content:space-between;gap:.8rem}.cash-register-totals p span{color:var(--text-muted);font-size:.83rem;font-weight:700}.cash-register-totals p strong{font-size:.98rem;font-weight:800;color:var(--text-main)}.employee-cash-shell{width:min(92%,1480px)}.employee-cash-layout{grid-template-columns:minmax(0,1fr) 360px}.employee-cash-table th:nth-child(2),.employee-cash-table td:nth-child(2){width:70%;padding-left:1.18rem}.employee-cash-table th:nth-child(3),.employee-cash-table td:nth-child(3){width:14%;text-align:right}.employee-cash-table th:nth-child(4),.employee-cash-table td:nth-child(4){width:18%;text-align:left;white-space:nowrap}.employee-cash-table .cash-register-marker{left:6px;top:.52rem;bottom:.52rem;width:3px;min-height:0;height:auto;margin:0;border-radius:999px;background:transparent}.employee-cash-table .cash-register-marker--company{background:#6f42c1}.employee-cash-panel{gap:.62rem}.employee-cash-empty{text-align:center!important;padding:1.2rem .8rem!important}.employee-cash-loading-cell{padding:0!important}.employee-cash-loading{min-height:88px;display:grid;place-items:center}.employee-cash-loading__spinner{width:1.45rem;height:1.45rem;border-radius:999px;border:2px solid color-mix(in srgb,var(--accent) 26%,transparent);border-top-color:var(--accent);animation:dashboard-spinner-rotate .8s linear infinite}.employee-cash-date-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:.35rem;align-items:center}.employee-cash-date-row .secondary-btn{min-height:2rem;min-width:2rem;padding:0 .5rem}.payments-register-filter{display:inline-flex;align-items:center;gap:.45rem;font-size:.88rem;color:var(--text-main)}.payments-register-filter input[type=checkbox]{margin:0}.payments-register-table th:nth-child(1),.payments-register-table td:nth-child(1),.payments-register-table th:nth-child(2),.payments-register-table td:nth-child(2){width:4%;text-align:center}.payments-register-table th:nth-child(3),.payments-register-table td:nth-child(3),.payments-register-table th:nth-child(4),.payments-register-table td:nth-child(4){width:8%;text-align:right;white-space:nowrap}.payments-register-table th:nth-child(5),.payments-register-table td:nth-child(5){width:18%}.payments-register-table th:nth-child(6),.payments-register-table td:nth-child(6){width:13%}.payments-register-table th:nth-child(7),.payments-register-table td:nth-child(7){width:14%}.payments-register-table th:nth-child(8),.payments-register-table td:nth-child(8){width:15%;white-space:nowrap}.payments-register-table th:nth-child(9),.payments-register-table td:nth-child(9){width:16%}.payments-register-row--openable{cursor:pointer}.cash-force-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:90;background:color-mix(in srgb,#0b1221 58%,transparent);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:grid;place-items:center;padding:.75rem}.cash-force-modal{width:min(460px,calc(100vw - 1rem));border-radius:12px;border:1px solid var(--surface-line);background:var(--surface);box-shadow:0 18px 42px #0f172a47;overflow:hidden}.cash-force-modal__head{padding:.78rem .9rem;border-bottom:1px solid var(--surface-line);background:linear-gradient(90deg,color-mix(in srgb,var(--accent) 14%,transparent),transparent 44%),linear-gradient(180deg,color-mix(in srgb,var(--surface-elevated) 86%,transparent),color-mix(in srgb,var(--surface) 95%,transparent))}.cash-force-modal__head h4{margin:0;color:var(--accent-strong);font-size:1rem;font-weight:700}.cash-force-modal__body{padding:.92rem;display:grid;gap:.58rem}.cash-force-modal__body label{display:grid;gap:.45rem}.cash-force-modal__body label span{font-size:1.02rem;font-weight:600;color:var(--text-main)}.cash-force-modal__amount-row{display:inline-flex;width:fit-content;gap:.45rem;align-items:center}.cash-force-modal__amount-row input{width:210px;border:1px solid var(--surface-line);border-radius:8px;background:var(--surface-elevated);color:var(--text-main);padding:.42rem .52rem;font-size:1.05rem}.cash-force-modal__amount-row strong{font-size:1.05rem;color:var(--text-main)}.cash-force-modal__actions{display:flex;justify-content:flex-end;gap:.5rem;padding:.78rem .92rem .88rem;border-top:1px solid var(--surface-line)}.cash-force-modal__error{margin:0}.customers-shell>.customers-toolbar{width:75%;margin-inline:auto;display:flex;justify-content:flex-start;align-items:center;gap:.8rem}.customers-actions{display:flex;align-items:center;gap:.6rem}.customers-toolbar .primary-btn,.customers-toolbar .secondary-btn{white-space:nowrap}.customers-btn-search svg{width:1.32rem;height:1.32rem;min-width:1.32rem;min-height:1.32rem;flex:0 0 auto;stroke-width:2.35}.customers-search{display:flex;gap:.55rem;width:min(680px,100%);margin-left:auto;align-items:center}.customers-search-extra{display:inline-flex;align-items:center;gap:.4rem;font-size:.84rem;color:var(--text-dim);white-space:nowrap}.customers-search-extra input[type=checkbox]{margin:0}.customers-search>input{flex:1 1 auto;min-width:0}.customers-search .list-search-input{position:relative;flex:1 1 auto;min-width:0}.customers-search .list-search-input>input{width:100%}.list-search-input__menu{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:14;border:1px solid color-mix(in srgb,var(--surface-line) 82%,transparent);border-radius:12px;background:color-mix(in srgb,var(--surface) 96%,transparent);box-shadow:0 16px 34px #0000002e;padding:.28rem;display:grid;gap:.18rem}.list-search-input__item{border:0;background:transparent;color:var(--text-main);text-align:left;font:inherit;font-family:inherit;font-size:.88rem;padding:.44rem .55rem;border-radius:8px;cursor:pointer;display:inline-flex;align-items:center;gap:.36rem}.list-search-input__item:hover{background:color-mix(in srgb,var(--accent) 12%,var(--surface-elevated))}.customers-search .customers-btn-search{flex:0 0 auto}.customers-shell>.customers-table-wrap{width:75%;max-width:100%;margin-inline:auto;overflow:auto;border:1px solid var(--surface-line);border-radius:12px;background:color-mix(in srgb,var(--surface) 90%,transparent)}.customer-editor-card .customers-table-wrap,.visit-lines-card .customers-table-wrap,.visit-summary-table-wrap,.visit-invoice-left .customers-table-wrap{overflow:hidden;border:1px solid var(--surface-line);border-radius:12px;background:color-mix(in srgb,var(--surface) 90%,transparent)}.customer-editor-card .customers-table tbody tr:last-child td,.visit-lines-card .customers-table tbody tr:last-child td,.visit-summary-table-wrap .customers-table tbody tr:last-child td,.visit-invoice-left .customers-table tbody tr:last-child td{border-bottom:0}.customers-table{width:100%;border-collapse:collapse;min-width:760px}.customers-table th,.customers-table td{padding:.7rem;border-bottom:1px solid color-mix(in srgb,var(--surface-line) 80%,transparent);text-align:left;font-size:.93rem}.customers-table th:first-child,.customers-table td:first-child{width:42px;text-align:center}.customers-shell .customers-table th:first-child,.customers-shell .customers-table td:first-child{width:auto;text-align:left}.customers-table thead{background:color-mix(in srgb,var(--accent) 7%,var(--surface))}.customers-table tbody tr:hover{background:color-mix(in srgb,var(--accent) 8%,transparent)}.customers-error{margin:0;padding:.65rem .8rem;border-radius:10px;color:#fee2e2;border:1px solid #ef4444;background:#7f1d1d66}.customers-shell>.customers-pagination{width:75%;margin-inline:auto;display:flex;align-items:center;justify-content:flex-end;gap:.65rem}.customers-page-size{display:inline-flex;align-items:center;gap:.4rem;color:var(--text-muted);font-size:.88rem}.customers-page-size select{border:1px solid var(--surface-line);border-radius:8px;background:var(--surface-elevated);color:var(--text-main);font:inherit;padding:.3rem .42rem;min-width:72px}.customers-btn-edit{white-space:nowrap}.warehouse-table th:nth-child(1),.warehouse-table td:nth-child(1){width:160px}.warehouse-table th:nth-child(2),.warehouse-table td:nth-child(2){width:120px}.warehouse-table th:nth-child(3),.warehouse-table td:nth-child(3){min-width:380px}.warehouse-table th:nth-child(4),.warehouse-table td:nth-child(4),.warehouse-table th:nth-child(5),.warehouse-table td:nth-child(5),.warehouse-table th:nth-child(6),.warehouse-table td:nth-child(6),.warehouse-table th:nth-child(7),.warehouse-table td:nth-child(7),.warehouse-table th:nth-child(8),.warehouse-table td:nth-child(8){width:126px;white-space:nowrap}.warehouse-table th:nth-child(9),.warehouse-table td:nth-child(9){min-width:360px}.warehouse-table th{white-space:nowrap;font-size:.93rem}.warehouse-table td{font-size:.93rem}.cars-table th,.cars-table td{font-size:.93rem;white-space:nowrap}.cars-table th:first-child,.cars-table td:first-child{width:auto;text-align:left}.cars-table th:nth-child(1),.cars-table td:nth-child(1){min-width:180px}.cars-table th:nth-child(2),.cars-table td:nth-child(2){min-width:220px}.cars-table th:nth-child(3),.cars-table td:nth-child(3){min-width:145px}.cars-table th:nth-child(9),.cars-table td:nth-child(9),.visits-table th:nth-child(8),.visits-table td:nth-child(8){width:112px;min-width:112px;text-align:right}.visits-table th,.visits-table td{font-size:.93rem;white-space:nowrap}.visits-table th:first-child,.visits-table td:first-child{width:auto;text-align:left;min-width:118px}.visits-table th:nth-child(2),.visits-table td:nth-child(2),.visits-table th:nth-child(3),.visits-table td:nth-child(3){min-width:120px}.visits-table th:nth-child(4),.visits-table td:nth-child(4){min-width:220px}.visits-table th:nth-child(5),.visits-table td:nth-child(5){min-width:280px}.customers-row-actions{display:inline-flex;align-items:center;justify-content:flex-end;gap:.2rem}.visits-comment-btn{position:relative;color:var(--accent)}.visits-comment-tooltip{position:absolute;right:calc(100% + 9px);top:50%;transform:translate(6px,-50%) scale(.98);z-index:30;width:min(280px,42vw);padding:.48rem .58rem;border-radius:10px;border:1px solid color-mix(in srgb,var(--accent) 42%,var(--surface-line));box-shadow:0 16px 36px #0000005c,0 0 0 1px color-mix(in srgb,var(--surface) 70%,transparent),0 0 18px color-mix(in srgb,var(--accent) 18%,transparent);background:linear-gradient(180deg,color-mix(in srgb,var(--surface-elevated) 96%,#ffffff 4%),color-mix(in srgb,var(--surface) 94%,#000000 6%));color:var(--text-main);text-align:left;white-space:normal;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .16s ease,transform .2s ease,visibility .16s ease}.visits-comment-tooltip:before{content:"";position:absolute;right:-6px;top:50%;width:10px;height:10px;border-right:1px solid color-mix(in srgb,var(--accent) 42%,var(--surface-line));border-bottom:1px solid color-mix(in srgb,var(--accent) 42%,var(--surface-line));background:color-mix(in srgb,var(--surface-elevated) 96%,#ffffff 4%);transform:translateY(-50%) rotate(-45deg)}[data-theme=dark] .visits-comment-tooltip,[data-theme=dark-graphite] .visits-comment-tooltip,[data-theme=m-power] .visits-comment-tooltip{border-color:color-mix(in srgb,var(--accent) 68%,#ffffff 12%);background:linear-gradient(180deg,color-mix(in srgb,var(--surface-elevated) 76%,#1e3a5f 24%),color-mix(in srgb,var(--surface) 72%,#020617 28%));box-shadow:0 18px 38px #00000094,0 0 0 1px #ffffff14,0 0 22px color-mix(in srgb,var(--accent) 30%,transparent)}[data-theme=dark] .visits-comment-tooltip:before,[data-theme=dark-graphite] .visits-comment-tooltip:before,[data-theme=m-power] .visits-comment-tooltip:before{border-color:color-mix(in srgb,var(--accent) 68%,#ffffff 12%);background:color-mix(in srgb,var(--surface-elevated) 76%,#1e3a5f 24%)}.visits-comment-tooltip strong{display:block;font-family:Wix Madefor Text,Segoe UI,sans-serif;font-size:.78rem;font-weight:700;color:var(--text-main)}.visits-comment-tooltip span{display:block;margin-top:.14rem;font-family:Wix Madefor Text,Segoe UI,sans-serif;font-size:.79rem;font-weight:700;color:var(--text-muted)}.visits-comment-tooltip p{margin:.22rem 0 0;font-family:Wix Madefor Text,Segoe UI,sans-serif;font-size:.76rem;line-height:1.3;color:var(--text-main);white-space:pre-wrap}.visits-comment-btn:hover .visits-comment-tooltip,.visits-comment-btn:focus-visible .visits-comment-tooltip{opacity:1;visibility:visible;transform:translateY(-50%) scale(1)}[data-theme=light-gray] .visits-row--settled td:first-child,[data-theme=light-azure] .visits-row--settled td:first-child,[data-theme=light-stone] .visits-row--settled td:first-child,[data-theme=light-slate] .visits-row--settled td:first-child,[data-theme=light-mint] .visits-row--settled td:first-child,[data-theme=light-sand] .visits-row--settled td:first-child,[data-theme=light-blue] .visits-row--settled td:first-child,[data-theme=light-green] .visits-row--settled td:first-child,[data-theme=light-red] .visits-row--settled td:first-child,[data-theme=dark] .visits-row--settled td:first-child,[data-theme=dark-graphite] .visits-row--settled td:first-child,[data-theme=m-power] .visits-row--settled td:first-child,[data-theme=light-gray] .visits-row--unsettled td:first-child,[data-theme=light-azure] .visits-row--unsettled td:first-child,[data-theme=light-stone] .visits-row--unsettled td:first-child,[data-theme=light-slate] .visits-row--unsettled td:first-child,[data-theme=light-mint] .visits-row--unsettled td:first-child,[data-theme=light-sand] .visits-row--unsettled td:first-child,[data-theme=light-blue] .visits-row--unsettled td:first-child,[data-theme=light-green] .visits-row--unsettled td:first-child,[data-theme=light-red] .visits-row--unsettled td:first-child,[data-theme=dark] .visits-row--unsettled td:first-child,[data-theme=dark-graphite] .visits-row--unsettled td:first-child,[data-theme=m-power] .visits-row--unsettled td:first-child{position:relative}.visits-row--settled td:first-child:before{content:"";position:absolute;left:.34rem;top:.5rem;bottom:.5rem;width:3px;border-radius:6px;background:#22c55e}.visits-row--unsettled td:first-child:before{content:"";position:absolute;left:.34rem;top:.5rem;bottom:.5rem;width:3px;border-radius:6px;background:#f59e0b}.visits-row--ghost td:first-child{position:relative}.visits-row--ghost td:first-child:before{content:"";position:absolute;left:.34rem;top:.5rem;bottom:.5rem;width:3px;border-radius:6px;background:#7c3aed}.visits-row--settled td:first-child,.visits-row--unsettled td:first-child,.visits-row--ghost td:first-child{padding-left:1.05rem}.warehouse-row td:first-child{position:relative;padding-left:1.05rem}.warehouse-row td:first-child:before{content:"";position:absolute;left:.34rem;top:.5rem;bottom:.5rem;width:3px;border-radius:6px;background:#22c55e}.warehouse-row--warning td{background:color-mix(in srgb,#facc15 26%,var(--surface))}.warehouse-row--danger td{background:color-mix(in srgb,#ef4444 23%,var(--surface));color:color-mix(in srgb,var(--text-main) 88%,#1a1a1a)}.warehouse-row--warning td:first-child:before,.warehouse-row--danger td:first-child:before{display:none}[data-theme=dark] .warehouse-row--warning td,[data-theme=dark-graphite] .warehouse-row--warning td{background:color-mix(in srgb,#facc15 20%,#101723)}[data-theme=dark] .warehouse-row--danger td,[data-theme=dark-graphite] .warehouse-row--danger td{background:color-mix(in srgb,#ef4444 22%,#101723);color:#fee2e2}.warehouse-profile-ordered{display:inline-flex;align-items:center;gap:.45rem;min-height:40px}.warehouse-profile-ordered span{font-size:.86rem;color:var(--text-muted)}.warehouse-facts-grid dd{font-weight:700}.warehouse-deliveries-table{min-width:760px;table-layout:fixed}.warehouse-deliveries-table th:first-child,.warehouse-deliveries-table td:first-child{width:48%}.warehouse-deliveries-table th:nth-child(2),.warehouse-deliveries-table td:nth-child(2){width:12%}.warehouse-deliveries-table th:nth-child(3),.warehouse-deliveries-table td:nth-child(3),.warehouse-deliveries-table th:nth-child(4),.warehouse-deliveries-table td:nth-child(4),.warehouse-deliveries-table th:nth-child(5),.warehouse-deliveries-table td:nth-child(5),.warehouse-deliveries-table th:nth-child(6),.warehouse-deliveries-table td:nth-child(6){width:10%;white-space:nowrap}.warehouse-deliveries-table .customers-table__row{cursor:default}.warehouse-history-row{position:relative}.warehouse-history-row td:first-child{position:relative;padding-left:1rem}.warehouse-history-row td:first-child:before{content:"";position:absolute;left:.34rem;top:.5rem;bottom:.5rem;width:3px;border-radius:6px}.warehouse-history-row--supply td:first-child:before{background:#7c3aed}.warehouse-history-row--visit td:first-child:before{background:#22c55e}.warehouse-movement-row{position:relative}.warehouse-movement-row td:first-child{position:relative;padding-left:1rem}.warehouse-movement-row td:first-child:after{content:"";position:absolute;left:.34rem;top:.5rem;bottom:.5rem;width:3px;border-radius:6px;display:none}.warehouse-movement-row--openable{cursor:pointer}.warehouse-movement-row--supply td:first-child:after{display:block;background:#7c3aed}.warehouse-movement-row--visit td:first-child:after{display:block;background:#22c55e}.warehouse-movement-row--quick td:first-child:after{display:block;background:#f59e0b}.warehouse-deliveries-head{min-height:1.55rem;margin-bottom:.2rem;justify-content:space-between;align-items:center}.warehouse-deliveries-head h4{margin-right:auto;text-align:left}.warehouse-deliveries-shell{height:calc(100dvh - 164px);min-height:calc(100dvh - 164px);grid-template-rows:auto 1fr auto;align-items:stretch;overflow:hidden}.warehouse-delivery-details-shell{height:auto;min-height:auto;grid-template-rows:none;align-items:stretch;overflow:visible}.warehouse-delivery-details-root{width:min(1280px,100%);margin-inline:auto;display:grid;gap:.75rem}.warehouse-delivery-details-groupbox{width:100%;max-width:100%;margin-inline:0;padding:.7rem}.warehouse-delivery-details-groupbox--table{border-bottom:0}.warehouse-delivery-details-shell>.customers-toolbar{display:none}.warehouse-delivery-details-groupbox>.warehouse-new-supply-modal__section,.warehouse-delivery-details-groupbox>.warehouse-new-supply-modal__actions,.warehouse-delivery-details-groupbox>.customers-error{width:100%;max-width:100%;margin-inline:0}.warehouse-delivery-details-groupbox>.warehouse-new-supply-modal__section{border-bottom:0;padding:0}.warehouse-delivery-details-groupbox>.warehouse-new-supply-modal__actions{border-top:0;background:transparent}.warehouse-delivery-details-actions{width:100%;padding:0 .7rem;border-top:0;background:transparent}.warehouse-delivery-details-table-head{display:flex;align-items:center;justify-content:space-between;gap:.6rem;margin-bottom:.45rem}.warehouse-delivery-details-table-head h3{margin:0}.warehouse-delivery-details-groupbox .warehouse-new-supply-table-wrap{overflow:auto!important}.warehouse-delivery-details-groupbox .warehouse-new-supply-table-actions{margin-bottom:.45rem}.warehouse-delivery-details-root>.warehouse-delivery-details-actions{border-top:0!important;background:transparent!important}.warehouse-deliveries-actions{display:inline-flex;align-items:center;gap:.55rem}.warehouse-deliveries-layout{width:75%;margin-inline:auto;margin-top:.45rem;min-height:0;height:100%;max-height:none;display:grid;grid-template-rows:minmax(240px,1fr) 8px 140px;gap:0;overflow:hidden}.warehouse-deliveries-layout .customers-table-wrap{min-height:0;overflow:auto;border:1px solid var(--surface-line);border-radius:12px;background:color-mix(in srgb,var(--surface) 90%,transparent)}.warehouse-deliveries-top,.warehouse-deliveries-bottom{margin:0;height:100%;min-height:0}.warehouse-deliveries-top{border-bottom-left-radius:0;border-bottom-right-radius:0;overflow:auto}.warehouse-deliveries-bottom{border-top-left-radius:0;border-top-right-radius:0;overflow:auto}.warehouse-deliveries-shell>.customers-pagination{margin-top:.55rem;margin-bottom:.45rem}.warehouse-deliveries-splitter{border:0;padding:0;margin:0;width:100%;cursor:ns-resize;position:relative;display:block;background:linear-gradient(90deg,transparent 0%,color-mix(in srgb,var(--accent) 26%,transparent) 12%,color-mix(in srgb,var(--accent) 44%,transparent) 50%,color-mix(in srgb,var(--accent) 26%,transparent) 88%,transparent 100%)}.warehouse-deliveries-splitter:before{content:"";position:absolute;left:50%;top:50%;width:74px;height:4px;border-radius:999px;background:color-mix(in srgb,var(--accent) 66%,var(--surface-line));box-shadow:0 -5px color-mix(in srgb,var(--accent) 52%,transparent),0 5px color-mix(in srgb,var(--accent) 52%,transparent);transform:translate(-50%,-50%);opacity:.8}.warehouse-deliveries-splitter:hover{background:linear-gradient(90deg,transparent 0%,color-mix(in srgb,var(--accent) 36%,transparent) 12%,color-mix(in srgb,var(--accent) 58%,transparent) 50%,color-mix(in srgb,var(--accent) 36%,transparent) 88%,transparent 100%)}.warehouse-deliveries-splitter:hover:before{opacity:1;width:88px}.warehouse-supplies-table th:nth-child(1),.warehouse-supplies-table td:nth-child(1){width:28%}.warehouse-supplies-table th:nth-child(2),.warehouse-supplies-table td:nth-child(2){width:48%}.warehouse-supplies-table th:nth-child(3),.warehouse-supplies-table td:nth-child(3){width:24%;white-space:nowrap}.warehouse-deliveries-bottom__head{display:flex;align-items:center;justify-content:space-between;gap:.55rem;padding:.42rem .5rem .2rem}.warehouse-deliveries-items-table th:nth-child(1),.warehouse-deliveries-items-table td:nth-child(1){width:15%}.warehouse-deliveries-items-table th:nth-child(2),.warehouse-deliveries-items-table td:nth-child(2){width:33%}.warehouse-deliveries-items-table th:nth-child(3),.warehouse-deliveries-items-table td:nth-child(3),.warehouse-deliveries-items-table th:nth-child(4),.warehouse-deliveries-items-table td:nth-child(4){width:7%;text-align:center}.warehouse-deliveries-items-table th:nth-child(5),.warehouse-deliveries-items-table td:nth-child(5),.warehouse-deliveries-items-table th:nth-child(6),.warehouse-deliveries-items-table td:nth-child(6),.warehouse-deliveries-items-table th:nth-child(7),.warehouse-deliveries-items-table td:nth-child(7),.warehouse-deliveries-items-table th:nth-child(8),.warehouse-deliveries-items-table td:nth-child(8){width:9.5%;white-space:nowrap}.warehouse-deliveries-items-table td input[type=checkbox]{pointer-events:none}.warehouse-deliveries-items-table__unit-gross{background:color-mix(in srgb,#facc15 22%,var(--surface-elevated))}.visit-pos-modal.warehouse-new-modal{width:min(500px,90vw);padding:.72rem .76rem;overflow:hidden}.warehouse-new-grid{gap:.34rem;max-width:452px}.warehouse-new-grid label{grid-template-columns:86px minmax(0,1fr);gap:.42rem}.warehouse-new-grid .warehouse-new-short input{width:168px;max-width:100%;justify-self:start}.warehouse-original-input--new{width:100%;border:1px solid var(--surface-line);border-radius:8px;background:var(--surface-elevated);color:var(--text-main);font:inherit;padding:.44rem .55rem;min-height:78px;resize:vertical}.warehouse-new-ordered{margin-left:auto;min-height:auto}.visit-pos-modal.warehouse-export-modal{width:min(620px,92vw);padding:.76rem .82rem;overflow:hidden}.warehouse-export-modal__body{display:grid;gap:.55rem;padding:.2rem .05rem}.warehouse-export-modal__body h5{margin:0;font-size:1.05rem}.warehouse-export-modal__columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.28rem .75rem;max-height:330px;overflow:auto;padding:.52rem .58rem;border:1px solid color-mix(in srgb,var(--surface-line) 78%,transparent);border-radius:10px;background:color-mix(in srgb,var(--surface-elevated) 94%,transparent)}.warehouse-export-modal__column-option{display:inline-flex;align-items:center;gap:.44rem;min-height:1.78rem;font-size:.9rem}.warehouse-export-modal__stock-toggle{display:inline-flex;align-items:center;gap:.44rem;font-size:.9rem}.warehouse-form-grid{gap:.52rem}.warehouse-editor-card h3{margin-bottom:.55rem}.warehouse-form-columns{display:grid;grid-template-columns:1fr 1fr;gap:.8rem}.warehouse-header-ordered{display:inline-flex;align-items:center;gap:.48rem;padding:.35rem .55rem;border:1px solid var(--surface-line);border-radius:10px;background:color-mix(in srgb,var(--surface) 90%,transparent)}.warehouse-header-ordered span{font-size:.86rem;color:var(--text-main)}.warehouse-original-label{grid-template-columns:90px 1fr;align-items:start!important}.warehouse-name-input,.warehouse-original-input{border:1px solid var(--surface-line);border-radius:8px;background:var(--surface-elevated);color:var(--text-main);font:inherit;padding:.5rem .56rem;min-height:98px;resize:vertical}@media (max-width: 1000px){.warehouse-export-modal__columns{grid-template-columns:1fr;max-height:42vh}}.customer-details-shell{display:grid;gap:.75rem;width:min(1100px,100%);margin:0 auto}.customer-details-shell--visit{width:min(1320px,100%)}.customer-details-shell--car{width:min(1220px,100%)}.customer-details-shell--portal{width:clamp(980px,68vw,1320px);max-width:calc(100% - 2rem);margin:0 auto}.visit-islands-shell{width:min(1420px,100%);margin:0 auto;display:grid;gap:.65rem}.visit-lock-banner{display:flex;align-items:center;justify-content:space-between;gap:.7rem;flex-wrap:wrap;border:1px solid color-mix(in srgb,#d9534f 35%,var(--surface-line));border-left:4px solid #d9534f;border-radius:12px;padding:.55rem .75rem;background:color-mix(in srgb,#d9534f 9%,var(--surface));color:var(--text-main);font-size:.92rem}.visit-lock-banner .secondary-btn{padding:.34rem .72rem;font-size:.82rem;min-height:0}.visit-ghost-banner{display:inline-flex;align-items:center;gap:.45rem;width:fit-content;padding:.36rem .75rem;border-radius:10px;border:1px solid color-mix(in srgb,#b88900 36%,var(--surface-line));background:color-mix(in srgb,#ffe08a 38%,var(--surface));color:color-mix(in srgb,#8a5a00 80%,var(--text-main));font-size:.86rem;font-weight:700}.visit-islands-shell--locked .visit-island input,.visit-islands-shell--locked .visit-island select,.visit-islands-shell--locked .visit-island textarea,.visit-islands-shell--locked .visit-island button{pointer-events:none;opacity:.68}.visit-islands-shell--locked .visit-island--tabs .customer-editor-tab[data-visit-tab=positions],.visit-islands-shell--locked .visit-island--tabs .customer-editor-tab[data-visit-tab=intake],.visit-islands-shell--locked .visit-island--tabs .customer-editor-tab[data-visit-tab=settlement]{pointer-events:auto;opacity:1}.visit-islands-shell--locked .visit-island{position:relative}.visit-island{border:1px solid var(--surface-line);border-radius:14px;background:color-mix(in srgb,var(--surface) 94%,transparent);box-shadow:0 12px 28px #0000000f;padding:.75rem .85rem}.visit-island--header{align-items:center}.visit-island--form{padding:.7rem .8rem}.visit-island--tabs{margin:0}.visit-new-badge{display:inline-flex;align-items:center;gap:.45rem;width:fit-content;padding:.38rem .8rem;border-radius:999px;border:1px solid color-mix(in srgb,#2f6fce 45%,var(--surface-line));background:color-mix(in srgb,#2f6fce 14%,var(--surface));color:color-mix(in srgb,#1d4d93 84%,var(--text-main));font-weight:700;font-size:.84rem;letter-spacing:.01em}.visit-new-badge svg{flex:0 0 auto}.visit-island--content{padding:.72rem}.customer-details-status{display:grid;gap:.7rem;justify-items:flex-start}.customers-table__row{cursor:pointer}.customers-table__row--selected{background:color-mix(in srgb,var(--accent) 14%,transparent)}.customer-editor{border:1px solid var(--surface-line);border-radius:14px;padding:.95rem;background:color-mix(in srgb,var(--surface) 96%,transparent);box-shadow:0 20px 34px #00000014;display:grid;gap:.75rem}.customer-editor--portal{border:0;border-radius:0;padding:0;background:transparent;box-shadow:none}.customer-editor__header{display:grid;grid-template-columns:1fr auto;gap:.75rem;align-items:start}.customer-editor__header h2{margin:0;font-family:Rajdhani,Segoe UI,sans-serif;font-size:1.7rem}.customer-editor__header-tools{position:relative;display:inline-flex;align-items:center;gap:.4rem}.customer-comment-trigger{padding:.42rem .7rem;font-size:.84rem}.customer-comment-trigger--active{background:color-mix(in srgb,var(--accent) 15%,var(--surface-elevated));border-color:color-mix(in srgb,var(--accent) 35%,var(--surface-line))}.customer-editor__comment{display:grid;gap:.32rem}.customer-editor__comment-popover{position:absolute;top:calc(100% + .45rem);right:0;z-index:5;width:min(360px,72vw);border:1px solid var(--surface-line);border-radius:12px;background:color-mix(in srgb,var(--surface) 96%,transparent);box-shadow:0 16px 30px #0000001c;padding:.58rem}.customer-editor__comment span{font-size:.82rem;color:var(--text-muted)}.customer-editor__comment textarea{min-height:92px;resize:vertical;border:1px solid var(--surface-line);border-radius:10px;background:color-mix(in srgb,#f7e7b4 78%,var(--surface));color:var(--text-main);font:inherit;padding:.52rem .6rem}.customer-editor__top-grid{display:grid;grid-template-columns:.95fr 1.15fr;gap:.75rem}.car-profile-title{display:grid;gap:.2rem}.car-profile-header{position:relative;padding-right:260px}.car-profile-header-right{position:absolute;top:.1rem;right:0;display:inline-flex;align-items:center;gap:.5rem}.car-profile-header-service-book{display:inline-flex;align-items:center;gap:.48rem;padding:.35rem .55rem;font-size:.82rem;color:var(--text-muted);white-space:nowrap}.car-profile-header-service-book input[type=checkbox]{width:15px;height:15px;min-width:15px;accent-color:var(--accent)}.car-profile-owner-badge{display:inline-flex;align-items:center;gap:.3rem;padding:.26rem .5rem;border-radius:999px;border:1px solid color-mix(in srgb,var(--accent) 34%,var(--surface-line));background:color-mix(in srgb,var(--accent) 10%,var(--surface-elevated));font:inherit;font-size:.78rem;font-weight:550;color:var(--text-main);max-width:240px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.car-profile-owner-badge--clickable{cursor:pointer;transition:border-color .16s ease,background .16s ease,color .16s ease}.car-profile-owner-badge--clickable:hover{border-color:color-mix(in srgb,var(--accent) 54%,var(--surface-line));background:color-mix(in srgb,var(--accent) 18%,var(--surface-elevated))}.car-profile-owner-badge--clickable:focus-visible{outline:2px solid color-mix(in srgb,var(--accent) 64%,#ffffff);outline-offset:2px}.customer-editor-comment-box{min-width:min(340px,100%);max-width:430px;border:1px solid var(--surface-line);border-radius:12px;background:color-mix(in srgb,#f7e7b4 74%,var(--surface));padding:.5rem .62rem;display:grid;gap:.2rem}.customer-editor-comment-box h4{margin:0;font-size:.9rem;font-family:Rajdhani,Segoe UI,sans-serif}.customer-editor-comment-box p{margin:0;white-space:pre-wrap;min-height:3.5rem;font-size:.88rem}.car-profile-layout{display:grid;grid-template-columns:minmax(300px,.68fr) minmax(0,1.32fr);gap:.75rem;align-items:stretch}.car-profile-layout>.car-profile-card{height:100%}.car-profile-card{display:grid;gap:.52rem}.car-profile-card--details{grid-template-rows:auto auto minmax(0,1fr)}.car-profile-field-list{display:grid;gap:.38rem}.car-profile-field{display:grid;grid-template-columns:minmax(118px,170px) minmax(0,1fr);align-items:center;gap:.45rem}.car-profile-field span{font-size:.85rem;color:var(--text-muted);display:inline-flex;align-items:center;gap:.28rem}.car-profile-field strong{font-size:.9rem;min-height:2rem;display:inline-flex;align-items:center;padding:.38rem .5rem;border-radius:8px;border:1px solid color-mix(in srgb,var(--surface-line) 80%,transparent);background:var(--surface-elevated);font-weight:500;color:var(--text-main)}.car-profile-field input{width:100%;min-height:2rem;padding:.38rem .5rem;border-radius:8px;border:1px solid color-mix(in srgb,var(--surface-line) 80%,transparent);background:var(--surface-elevated);color:var(--text-main);font:inherit}.car-profile-field--inline{grid-template-columns:1fr;gap:.28rem}.car-profile-field--checkbox{grid-template-columns:1fr;display:inline-flex;align-items:center;gap:.5rem;margin-top:.2rem}.car-profile-field--checkbox input[type=checkbox]{width:16px;height:16px;min-width:16px;accent-color:var(--accent)}.car-profile-history-layout{display:grid;grid-template-rows:minmax(0,1fr) 8px 180px;height:clamp(360px,52vh,450px);min-height:360px;max-height:450px;overflow:hidden}.car-profile-history-layout .customers-table-wrap{margin:0}.customer-editor-card .customers-table-wrap.car-profile-history-top,.customer-editor-card .customers-table-wrap.car-profile-history-bottom{min-height:0;overflow-x:auto;overflow-y:auto}.car-profile-history-bottom td{white-space:normal}.car-profile-activities-table th:first-child,.car-profile-activities-table td:first-child{width:58px;min-width:58px;text-align:center;white-space:nowrap;border-right:1px solid color-mix(in srgb,var(--line) 70%,#5d7596 30%)}.car-profile-activities-table th:nth-child(2),.car-profile-activities-table td:nth-child(2){text-align:left}.car-profile-visits-table th,.car-profile-visits-table td,.car-profile-activities-table th,.car-profile-activities-table td{font-size:.86rem}.car-profile-visits-table th,.car-profile-visits-table td{padding-left:.55rem;padding-right:.55rem}.car-profile-activity-row--estimate td{background:color-mix(in srgb,#7c3aed 13%,var(--surface))}@media (min-width: 761px){.car-profile-activity-row--estimate td:first-child,.car-profile-activity-row--standard td:first-child{position:relative}.car-profile-activity-row--estimate td:first-child:after,.car-profile-activity-row--standard td:first-child:after{content:"";position:absolute;left:2px;top:4px;bottom:4px;width:3px;border-radius:3px;pointer-events:none}.car-profile-activity-row--estimate td:first-child:after{background:color-mix(in srgb,#7c3aed 82%,#ffffff)}.car-profile-activity-row--standard td:first-child:after{background:color-mix(in srgb,#22c55e 80%,#ffffff)}}.car-profile-standard-activity{display:flex;align-items:baseline;gap:.45rem;min-width:0}.car-profile-standard-activity strong{color:var(--text-main);font-weight:800;white-space:nowrap}.car-profile-standard-activity span{color:var(--text-muted)}.car-profile-visits-table th:first-child,.car-profile-visits-table td:first-child{width:115px;min-width:115px;max-width:115px;text-align:left;white-space:nowrap}.car-profile-visits-table th:nth-child(2),.car-profile-visits-table td:nth-child(2){width:95px;min-width:95px;max-width:95px;text-align:left;white-space:nowrap}.car-profile-tires-table th:first-child,.car-profile-tires-table td:first-child{width:150px;min-width:150px;white-space:nowrap}.car-profile-tires-table tr.car-profile-tire-row--open td:first-child{border-left:4px solid #5fba7d}.car-profile-tires-table tr.car-profile-tire-row--mid td:first-child{border-left:4px solid #5f27cd}.car-profile-tires-table tr.car-profile-tire-row--late td:first-child{border-left:4px solid #e70707}.customer-editor-card .customers-table-wrap.car-profile-tires-wrap{max-height:280px;overflow-x:auto;overflow-y:auto}.car-profile-bottom-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,320px);gap:.75rem;align-items:start}.wheel-storage-modal{--modal-pad-x: .9rem;--modal-pad-y: .9rem;width:min(1040px,calc(100vw - 1.5rem));max-height:calc(100vh - 2rem);overflow:auto;border:1px solid var(--surface-line);border-radius:14px;background:var(--surface);box-shadow:0 20px 42px #0000003a;padding:.9rem;display:grid;gap:.75rem}.wheel-storage-modal--page{width:min(75%,1360px);max-width:100%;margin-inline:auto;max-height:none;box-shadow:none}.wheel-storage-modal__header{display:flex;align-items:center;justify-content:space-between;gap:.7rem;padding:0}.wheel-storage-modal__header h3{margin:0;font-size:.98rem;font-weight:700;color:var(--text-main)}.wheel-storage-modal__section{border:1px solid var(--surface-line);border-radius:10px;padding:.6rem;display:grid;gap:.55rem}.wheel-storage-modal__section h4{margin:0;font-size:.92rem}.wheel-storage-modal__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem .8rem}.wheel-storage-modal__basic-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem 1rem;align-items:start}.wheel-storage-modal__basic-col{display:grid;gap:.6rem;align-content:start}.wheel-storage-modal__grid label,.wheel-storage-modal__notes{display:grid;gap:.3rem}.wheel-storage-modal__field{width:300px}.wheel-storage-modal__field--left{justify-self:start}.wheel-storage-modal__field--right{justify-self:end}.wheel-storage-modal__grid label span,.wheel-storage-modal__basic-columns label span,.wheel-storage-modal__notes span,.wheel-storage-modal__radio-group>span{font-size:.82rem;color:var(--text-muted);font-weight:700}.wheel-storage-modal__grid input,.wheel-storage-modal__grid select,.wheel-storage-modal__basic-columns input,.wheel-storage-modal__basic-columns select,.wheel-storage-modal__notes textarea,.wheel-storage-modal__table input:not([type=checkbox]){width:min(100%,300px);border:1px solid var(--surface-line);border-radius:8px;background:var(--surface-elevated);color:var(--text-main);padding:.38rem .5rem;font:inherit;font-size:.86rem}.wheel-storage-modal__notes textarea{min-height:68px;resize:vertical;width:100%}.wheel-storage-modal__radio-group{display:grid;grid-template-columns:120px 88px 88px;align-items:center;gap:.22rem .65rem}.wheel-storage-modal__radio-group--compact{width:min(100%,300px)}.wheel-storage-modal__radio-stack{width:min(100%,300px);display:grid;gap:1rem;align-self:start;margin-top:.1rem;justify-self:start}.wheel-storage-modal__radio-group label{display:grid;grid-template-columns:14px auto;align-items:center;gap:.24rem;color:var(--text-main);font-size:.78rem}.wheel-storage-modal__radio-group input[type=radio]{margin:0;align-self:center;justify-self:center}.wheel-storage-modal__basic-col .wheel-storage-modal__field{margin:0}.wheel-storage-modal__basic-col .wheel-storage-modal__field span{display:block}.wheel-storage-modal .customers-table-wrap.wheel-storage-modal__table-wrap{width:100%;max-height:none;border:1px solid color-mix(in srgb,var(--surface-line) 86%,transparent);border-radius:10px;overflow-x:visible!important;overflow-y:visible!important;background:color-mix(in srgb,var(--surface) 96%,transparent)}.wheel-storage-modal__table-wrap .customers-table{margin:0}.wheel-storage-modal__table{width:100%;table-layout:auto}.wheel-storage-modal__table th,.wheel-storage-modal__table td{font-size:.82rem}.wheel-storage-modal__table th{font-size:.8rem;white-space:nowrap}.wheel-storage-modal__table th:nth-child(1),.wheel-storage-modal__table td:nth-child(1){width:44px}.wheel-storage-modal__table th:nth-child(2),.wheel-storage-modal__table td:nth-child(2){width:162px}.wheel-storage-modal__table th:nth-child(3),.wheel-storage-modal__table td:nth-child(3){width:88px}.wheel-storage-modal__table th:nth-child(4),.wheel-storage-modal__table td:nth-child(4){width:96px}.wheel-storage-modal__table th:nth-child(5),.wheel-storage-modal__table td:nth-child(5){width:62px}.wheel-storage-modal__table th:nth-child(6),.wheel-storage-modal__table td:nth-child(6){width:86px}.wheel-storage-modal__table th:nth-child(7),.wheel-storage-modal__table td:nth-child(7){width:84px}.wheel-storage-modal__table th:nth-child(8),.wheel-storage-modal__table td:nth-child(8){width:84px}.wheel-storage-modal__table th:nth-child(9),.wheel-storage-modal__table td:nth-child(9){width:150px}.wheel-storage-modal__table td{vertical-align:middle}.wheel-storage-modal__table td:first-child{white-space:nowrap;font-weight:700}.wheel-storage-modal__table td input[type=checkbox]{display:block;margin-inline:auto}.wheel-storage-modal__cell-input{width:100%!important;border:1px solid transparent!important;background:transparent!important;border-radius:6px!important;padding:.22rem .28rem!important}.wheel-storage-modal__cell-input:focus{border-color:color-mix(in srgb,var(--accent) 45%,transparent)!important;background:color-mix(in srgb,var(--surface-elevated) 85%,transparent)!important;outline:none!important;box-shadow:none!important}.wheel-storage-modal__cell-input--invalid{border-color:color-mix(in srgb,#c84a5a 72%,var(--line) 28%)!important;background:color-mix(in srgb,#ffd9df 28%,var(--surface) 72%)!important}.wheel-storage-modal__cell-input--invalid:focus{border-color:color-mix(in srgb,#c84a5a 88%,var(--line) 12%)!important;background:color-mix(in srgb,#ffd9df 40%,var(--surface) 60%)!important}.wheel-storage-modal__brand-cell{position:relative;min-width:116px}.wheel-storage-modal__brand-toggle{position:absolute;right:.26rem;top:50%;width:1rem;height:1rem;transform:translateY(-50%);border:0;padding:0;background:transparent;cursor:pointer}.wheel-storage-modal__brand-toggle:before{content:"";display:block;margin:.16rem auto 0;width:.42rem;height:.42rem;border-right:2px solid color-mix(in srgb,var(--text-muted) 72%,transparent);border-bottom:2px solid color-mix(in srgb,var(--text-muted) 72%,transparent);transform:rotate(45deg);transition:transform .18s ease,margin-top .18s ease}.wheel-storage-modal__brand-cell.is-open .wheel-storage-modal__brand-toggle:before{transform:rotate(-135deg);margin-top:.32rem}.wheel-storage-modal__brand-input{width:100%!important;min-width:0;padding-right:1.15rem!important;cursor:text}.wheel-storage-modal__brand-lookup{z-index:30;width:min(220px,56vw);max-height:180px;overflow-y:auto;background:color-mix(in srgb,var(--surface-elevated) 95%,#fff 5%);border:1px solid color-mix(in srgb,var(--line-strong) 45%,transparent);border-radius:10px;box-shadow:0 8px 20px #141f3229;padding:.2rem}.wheel-storage-modal__brand-lookup-portal{z-index:9999}.wheel-storage-modal__brand-option{width:100%;border:0;background:transparent;color:var(--text-strong);text-align:left;font:inherit;font-size:.82rem;padding:.34rem .5rem;border-radius:8px;cursor:pointer}.wheel-storage-modal__brand-option:hover,.wheel-storage-modal__brand-option.is-active,.wheel-storage-modal__brand-option:focus-visible{background:color-mix(in srgb,var(--accent) 16%,transparent);outline:none}.wheel-storage-modal__error{margin:0}.wheel-storage-modal__actions{display:flex;justify-content:flex-end;gap:.5rem}.wheel-storage-modal__actions .secondary-btn,.wheel-storage-modal__actions .primary-btn{min-height:2rem;padding:.34rem .7rem;font-size:.82rem;border-radius:9px}.car-profile-tires-table tbody tr{cursor:pointer}.car-profile-section-head{display:flex;align-items:center;justify-content:space-between;gap:.45rem;margin:0 0 .25rem;min-height:0}.car-profile-section-head h3{margin:0}.car-profile-section-head__actions{display:inline-flex;align-items:center;flex-wrap:wrap;gap:.42rem}.car-profile-mini-btn{padding:.34rem .56rem;font-size:.8rem;border-radius:9px}.car-profile-comment-panel{display:grid;grid-template-rows:auto minmax(0,1fr)}.car-profile-comment-panel textarea{width:100%;min-height:230px;border:1px solid var(--surface-line);border-radius:10px;background:var(--surface-elevated);color:var(--text-main);font:inherit;padding:.52rem .6rem;resize:none}.car-profile-inline-comment{display:grid;grid-template-rows:auto minmax(0,1fr);gap:.28rem;min-height:180px}.car-profile-inline-comment span{font-size:.85rem;color:var(--text-muted)}.car-profile-inline-comment textarea{width:100%;min-height:140px;height:100%;border:1px solid var(--surface-line);border-radius:10px;background:var(--surface-elevated);color:var(--text-main);font:inherit;padding:.52rem .6rem;resize:none}.customer-editor-card{border:1px solid var(--surface-line);border-radius:12px;padding:.7rem;background:color-mix(in srgb,var(--surface) 92%,transparent)}.customer-editor-card h3,.customer-editor-card h4{margin:0 0 .45rem;font-size:.98rem;line-height:1.2;font-family:Rajdhani,Segoe UI,sans-serif}.customer-editor-section-head{display:flex;align-items:center;justify-content:flex-start;gap:.45rem;min-height:1.7rem;margin-bottom:.25rem}.customer-editor-section-head h3,.customer-editor-section-head h4{margin:0}.customer-editor-mini-actions{display:inline-flex;align-items:center;gap:.35rem;margin-left:auto}.customer-editor-mini-actions .secondary-btn{padding:.36rem .52rem;font-size:.8rem;border-radius:9px}.customer-editor-form-grid{display:grid;gap:.45rem}.customer-editor-form-grid label{display:grid;grid-template-columns:90px 1fr;gap:.5rem;align-items:center}.customer-editor-form-grid span{font-size:.86rem;color:var(--text-muted)}.customer-editor-form-grid input{border:1px solid var(--surface-line);border-radius:8px;background:var(--surface-elevated);color:var(--text-main);font:inherit;padding:.44rem .55rem}.customer-editor-table{width:100%;border-collapse:collapse;font-size:.92rem}.customer-editor-table th,.customer-editor-table td{border:1px solid color-mix(in srgb,var(--surface-line) 80%,transparent);padding:.36rem .42rem;text-align:left}.customer-editor-table th{background:color-mix(in srgb,var(--accent) 8%,var(--surface));font-weight:700}.customer-visit-details-table{table-layout:fixed}.customer-visit-details-table th:last-child,.customer-visit-details-table td:last-child{width:7.5rem;white-space:nowrap}.customer-visit-details-row--estimate td{background:color-mix(in srgb,#7c3aed 13%,var(--surface))}.customer-visit-standard-activity{display:inline-flex;align-items:baseline;gap:.45rem;min-width:0}.customer-visit-standard-activity strong{color:var(--text-main);font-weight:800;white-space:nowrap}.customer-visit-standard-activity span{color:var(--text-muted)}.customer-visits-table{table-layout:fixed}.customer-visits-table th:first-child,.customer-visits-table td:first-child{width:7.5rem;white-space:nowrap}.customer-visits-table th:nth-child(2),.customer-visits-table td:nth-child(2){width:auto}.customer-visits-table th:last-child,.customer-visits-table td:last-child{width:6.5rem;white-space:nowrap}.customer-editor-card--tabs{padding-top:.7rem;display:grid;grid-template-rows:auto}.warehouse-deliveries-card{padding-top:.32rem}.warehouse-deliveries-card .customer-editor-section-head{min-height:1.55rem;margin-bottom:.22rem;align-items:center;justify-content:flex-start}.warehouse-deliveries-card .customer-editor-section-head .muted{margin-left:auto}.customer-editor-card--tabs-visits{grid-template-rows:auto}.customer-editor-tab-panel{overflow:visible;min-height:0;padding-right:.2rem}.customer-editor-card--tabs-visits .customer-editor-tab-panel{overflow:visible}.customer-editor-tabs{display:flex;flex-wrap:wrap;gap:.35rem}.customer-editor-tabs--outside{margin:0 0 .1rem}.customer-editor-tab{border:1px solid var(--surface-line);border-radius:9px;background:var(--surface-elevated);color:var(--text-main);font:inherit;font-size:.86rem;padding:.34rem .56rem;display:inline-flex;align-items:center;gap:.35rem;cursor:pointer}.customer-editor-tab--active{background:color-mix(in srgb,var(--accent) 20%,var(--surface));border-color:color-mix(in srgb,var(--accent) 35%,var(--surface-line))}.customer-editor-tab:disabled{cursor:not-allowed;opacity:1;color:color-mix(in srgb,var(--text-muted) 88%,#8b94a7);background:color-mix(in srgb,var(--surface) 82%,#d3dae6);border-color:color-mix(in srgb,var(--surface-line) 75%,#c7cfdd);box-shadow:none}.customer-editor-tab:disabled svg{color:color-mix(in srgb,var(--text-muted) 86%,#8b94a7)}.customer-editor-visits-grid{display:grid;grid-template-columns:1fr 1.3fr;gap:.55rem}.customer-editor-visits-headline{display:grid;grid-template-columns:1fr auto;align-items:center;gap:.5rem;min-height:1.8rem;margin-bottom:.28rem}.customer-editor-visits-headline h4{margin:0}.customer-editor-visits-headline strong{font-size:.9rem;line-height:1.2;white-space:nowrap}.customer-editor-mobile-note{display:flex;align-items:center;gap:.45rem;padding:.55rem;border:1px dashed var(--surface-line);border-radius:10px;color:var(--text-muted)}.customer-portal-open-btn{position:relative;padding:.42rem .7rem;min-height:2rem;font-size:.84rem;font-weight:700;border-color:color-mix(in srgb,var(--accent) 34%,var(--surface-line));background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 14%,var(--surface-elevated)),color-mix(in srgb,#ffffff 18%,var(--surface-elevated)));box-shadow:0 8px 16px color-mix(in srgb,var(--accent) 14%,transparent)}.customer-portal-open-btn:hover:not(:disabled){background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 20%,var(--surface-elevated)),color-mix(in srgb,#ffffff 24%,var(--surface-elevated)));border-color:color-mix(in srgb,var(--accent) 42%,var(--surface-line))}.customer-portal-open-btn:active:not(:disabled){transform:translateY(1px);box-shadow:0 4px 10px color-mix(in srgb,var(--accent) 14%,transparent)}.customer-portal-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1400;display:grid;place-items:center;padding:1rem;background:color-mix(in srgb,#07101e 48%,transparent);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.customer-portal-page{margin-top:0}.customer-portal-page-shell{border:0;background:transparent;box-shadow:none;padding:0;position:relative}.customer-portal-page-shell:before{content:"";position:absolute;inset:-12px -14px auto;height:210px;pointer-events:none;z-index:0;background:radial-gradient(circle at 10% 30%,color-mix(in srgb,#2f6fce 16%,transparent),transparent 44%),radial-gradient(circle at 88% 18%,color-mix(in srgb,#2f8f63 12%,transparent),transparent 42%),radial-gradient(circle at 52% 0%,color-mix(in srgb,var(--accent) 14%,transparent),transparent 46%);filter:blur(10px);opacity:.8}.customer-portal-page-shell>*{position:relative;z-index:1}.customer-portal-modal{position:relative;width:min(1180px,96vw);height:min(840px,94vh);min-height:min(720px,94vh);max-height:min(880px,94vh);display:grid;grid-template-rows:auto minmax(0,1fr);border:1px solid color-mix(in srgb,var(--surface-line) 88%,transparent);border-radius:12px;background:color-mix(in srgb,var(--surface) 98%,#ffffff);box-shadow:0 24px 60px #00000038;overflow:hidden}.customer-portal-modal--page{width:100%;height:auto;min-height:0;max-height:none;border-radius:16px;box-shadow:0 10px 28px #00000014}.customer-portal-modal--page .customer-portal-modal__head{padding:1rem 1.1rem}.customer-portal-modal--page .customer-portal-modal__body{padding:1.1rem}.customer-portal-page .customer-portal-modal--page{border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible}.customer-portal-page .customer-portal-modal--page .customer-portal-modal__body{padding:0;background:transparent;display:block;grid-template-rows:none;overflow:visible;min-height:0;height:auto}.customer-portal-page .customer-portal-modal--page .customer-portal-modal__body:before{display:none}.customer-portal-modal__head{display:grid;grid-template-columns:minmax(0,1fr) minmax(16rem,31rem) auto auto;gap:.65rem;align-items:center;padding:.85rem 1rem;border-bottom:1px solid color-mix(in srgb,var(--surface-line) 78%,transparent);background:color-mix(in srgb,var(--surface-elevated) 72%,#ffffff)}.customer-portal-modal__head h3{margin:0;font-family:inherit;font-size:1rem;font-weight:700;line-height:1.2;color:var(--text-main)}.customer-portal-title-tools{min-width:0;display:flex;align-items:center;justify-content:flex-end;gap:.45rem}.customer-portal-title-tools:empty{visibility:hidden}.customer-portal-title-vehicle-picker{min-width:0;width:100%;display:grid}.customer-portal-title-vehicle-picker select{width:100%;min-width:0;height:2.25rem;min-height:2.25rem;padding-top:0;padding-right:2rem;padding-bottom:0;padding-left:.7rem;border:1px solid var(--surface-line);border-radius:8px;background:var(--surface-raised);color:var(--text-main);font:inherit;font-size:.88rem;line-height:1.2}.customer-portal-title-tools .customer-portal-refresh--compact{border:0;background:transparent;box-shadow:none}.customer-portal-title-tools .customer-portal-refresh--compact:hover{background:color-mix(in srgb,var(--accent) 10%,transparent)}.customer-portal-modal__close{width:2.25rem;height:2.25rem;padding:0;border:0;border-radius:8px;background:transparent;box-shadow:none;color:var(--text-main);cursor:pointer;display:inline-flex;align-items:center;justify-content:center}.customer-portal-modal__close:hover{background:color-mix(in srgb,var(--accent) 10%,transparent);color:var(--accent-strong)}.customer-portal-modal__body{position:relative;min-height:0;display:grid;grid-template-rows:minmax(0,1fr) auto;overflow:hidden;padding:.9rem 1rem 1rem;background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 7%,transparent),transparent 30%),linear-gradient(315deg,color-mix(in srgb,#2f8f63 6%,transparent),transparent 38%),radial-gradient(circle at 18% 18%,color-mix(in srgb,var(--accent) 8%,transparent),transparent 26rem),linear-gradient(180deg,color-mix(in srgb,var(--surface-elevated) 46%,#ffffff),color-mix(in srgb,var(--surface) 98%,#ffffff))}.customer-portal-modal__body:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;opacity:.42;background-image:linear-gradient(color-mix(in srgb,var(--surface-line) 55%,transparent) 1px,transparent 1px),linear-gradient(90deg,color-mix(in srgb,var(--surface-line) 55%,transparent) 1px,transparent 1px);background-size:32px 32px;-webkit-mask-image:linear-gradient(180deg,transparent 0%,transparent 22%,#000 62%,#000 100%);mask-image:linear-gradient(180deg,transparent 0%,transparent 22%,#000 62%,#000 100%)}.customer-editor-mobile-panel{display:grid;gap:.75rem}.customer-editor-mobile-header,.customer-editor-mobile-empty,.customer-editor-mobile-summary,.customer-editor-mobile-actions{display:flex;align-items:center;gap:.7rem}.customer-editor-mobile-header{justify-content:space-between}.customer-editor-mobile-header h4{margin:.1rem 0 0}.customer-editor-mobile-eyebrow,.customer-editor-mobile-status,.customer-editor-mobile-summary span,.customer-editor-mobile-grid dt{color:var(--text-muted);font-size:.78rem}.customer-editor-mobile-empty,.customer-editor-mobile-account{border:1px solid var(--surface-line);border-radius:8px;padding:.85rem}.customer-editor-mobile-empty{justify-content:space-between}.customer-editor-mobile-empty p{margin:.15rem 0 0;color:var(--text-muted)}.customer-editor-mobile-account{display:grid;gap:.75rem;background:linear-gradient(180deg,color-mix(in srgb,var(--surface-elevated) 76%,#ffffff),color-mix(in srgb,var(--surface) 96%,#ffffff));box-shadow:inset 3px 0 color-mix(in srgb,var(--accent) 42%,transparent)}.customer-editor-mobile-summary{align-items:flex-start}.customer-editor-mobile-summary strong{font-size:.96rem}.customer-editor-mobile-summary div{display:grid;gap:.15rem}.customer-editor-mobile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem;margin:0}.customer-editor-mobile-grid div{min-width:0}.customer-editor-mobile-grid dt{margin-bottom:.15rem}.customer-editor-mobile-grid dd{margin:0;overflow-wrap:anywhere}.customer-editor-mobile-actions{flex-wrap:wrap}.customer-portal-activation-card{--activation-accent: var(--accent);position:relative;display:grid;align-content:start;align-self:start;gap:.9rem;width:100%;min-height:0;border:1px solid color-mix(in srgb,var(--activation-accent) 24%,var(--surface-line));border-radius:10px;padding:.95rem 1rem 1rem 1.15rem;background:linear-gradient(90deg,color-mix(in srgb,var(--activation-accent) 7%,transparent),transparent 38%),linear-gradient(180deg,color-mix(in srgb,var(--surface-elevated) 72%,#ffffff),color-mix(in srgb,var(--surface) 98%,#ffffff));box-shadow:inset 5px 0 0 var(--activation-accent),0 8px 20px #0000000d;overflow:hidden}.customer-portal-activation-card--active{--activation-accent: #22b45b}.customer-portal-activation-card--pending{--activation-accent: #f59f0a}.customer-portal-activation-card--blocked{--activation-accent: #c2413d}.customer-portal-activation-card--neutral{--activation-accent: var(--accent)}.customer-portal-activation-empty{--activation-accent: #d48a18;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:.75rem;align-items:center;width:100%;min-height:0;align-self:start;border:1px solid color-mix(in srgb,var(--activation-accent) 24%,var(--surface-line));border-radius:10px;padding:.95rem 1rem 1rem 1.15rem;background:linear-gradient(90deg,color-mix(in srgb,var(--activation-accent) 7%,transparent),transparent 38%),linear-gradient(180deg,color-mix(in srgb,var(--surface-elevated) 72%,#ffffff),color-mix(in srgb,var(--surface) 98%,#ffffff));box-shadow:inset 5px 0 0 var(--activation-accent),0 8px 20px #0000000d}.customer-portal-activation-empty p{margin:.18rem 0 0;color:var(--text-muted)}.customer-portal-activation-card__top,.customer-portal-activation-card__identity,.customer-portal-activation-card__actions{display:flex;align-items:center;gap:.65rem}.customer-portal-activation-card__top{justify-content:space-between;gap:1rem}.customer-portal-activation-card__identity{min-width:0;align-items:flex-start}.customer-portal-activation-card__identity div{display:grid;gap:.18rem;min-width:0}.customer-portal-activation-card__identity strong{font-size:1rem;line-height:1.15;overflow-wrap:anywhere}.customer-portal-activation-card__identity span:not(.customer-portal-activation-card__icon){color:var(--text-muted);font-size:.8rem;overflow-wrap:anywhere}.customer-portal-activation-card__icon{width:2rem;height:2rem;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;color:var(--activation-accent);background:color-mix(in srgb,var(--activation-accent) 12%,#ffffff);border:1px solid color-mix(in srgb,var(--activation-accent) 28%,transparent)}.customer-portal-status-badge{display:inline-flex;align-items:center;justify-content:center;min-height:1.55rem;border-radius:999px;padding:.18rem .62rem;font-size:.78rem;font-weight:800;white-space:nowrap}.customer-portal-status-badge--active{color:#0b6a2f;background:color-mix(in srgb,#22b45b 24%,#ffffff);border:1px solid color-mix(in srgb,#22b45b 44%,transparent)}.customer-portal-status-badge--pending{color:#8b5300;background:color-mix(in srgb,#f59f0a 24%,#ffffff);border:1px solid color-mix(in srgb,#f59f0a 44%,transparent)}.customer-portal-status-badge--blocked{color:#8f231f;background:color-mix(in srgb,#d94b45 18%,#ffffff);border:1px solid color-mix(in srgb,#d94b45 36%,transparent)}.customer-portal-status-badge--neutral{color:var(--text-main);background:color-mix(in srgb,var(--surface-line) 42%,#ffffff);border:1px solid color-mix(in srgb,var(--surface-line) 70%,transparent)}.customer-portal-activation-card__meta{display:grid;grid-template-columns:minmax(18rem,1.5fr) repeat(3,minmax(9rem,1fr));gap:.6rem;margin:0}.customer-portal-activation-card__meta div{min-width:0;border:1px solid color-mix(in srgb,var(--surface-line) 64%,transparent);border-radius:8px;padding:.55rem .6rem;background:color-mix(in srgb,var(--surface) 84%,#ffffff)}.customer-portal-activation-card__meta dt{margin:0 0 .16rem;color:var(--text-muted);font-size:.76rem;font-weight:600}.customer-portal-activation-card__meta dd{margin:0;color:var(--text-main);font-size:.9rem;overflow-wrap:anywhere}.customer-portal-activation-card__actions{flex-wrap:wrap;gap:.55rem;padding-top:.7rem;border-top:1px solid color-mix(in srgb,var(--surface-line) 70%,transparent)}.customer-portal-activation-card__actions .secondary-btn{min-height:2.25rem}.customer-portal-workspace{position:relative;z-index:1;display:grid;grid-template-rows:auto minmax(0,1fr);align-items:stretch;gap:.85rem;min-height:0;height:100%}.customer-portal-page .customer-portal-workspace{grid-template-rows:auto;height:auto}.customer-portal-page .customer-portal-loading-state{min-height:max(320px,calc(100dvh - 260px))}.customer-portal-loading-state--page{position:fixed;left:50%;top:52%;transform:translate(-50%,-50%);min-height:0;width:min(560px,calc(100vw - 2rem));margin:0;padding:1.05rem 1.2rem;border:1px solid color-mix(in srgb,var(--surface-line) 76%,transparent);border-radius:14px;background:color-mix(in srgb,var(--surface-elevated) 94%,#ffffff);box-shadow:0 16px 34px #00000014;z-index:20;pointer-events:none}.customer-portal-page .customer-portal-section{overflow:visible;align-self:start;height:auto;min-height:0}.customer-portal-page .customer-portal-modal--page{display:block;grid-template-rows:none}.customer-portal-page .customer-portal-media-list,.customer-portal-page .customer-portal-appointment-list,.customer-portal-page .customer-portal-estimate-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem;align-content:start;overflow:visible}.customer-portal-page .customer-portal-media-list>span,.customer-portal-page .customer-portal-appointment-list>p,.customer-portal-page .customer-portal-estimate-list>p{grid-column:1 / -1}.customer-portal-page .customer-portal-media-item,.customer-portal-page .customer-portal-appointment-card,.customer-portal-page .customer-portal-estimate-card{height:100%}@media (max-width: 1500px){.customer-portal-page .customer-portal-media-list,.customer-portal-page .customer-portal-appointment-list,.customer-portal-page .customer-portal-estimate-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 980px){.customer-portal-page .customer-portal-media-list,.customer-portal-page .customer-portal-appointment-list,.customer-portal-page .customer-portal-estimate-list{grid-template-columns:1fr}}.customer-portal-workspace>:not(.customer-portal-subtabs){min-height:0}.customer-portal-page-toolbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:4.4rem;padding:.72rem .86rem;border:1px solid color-mix(in srgb,var(--surface-line) 74%,transparent);border-radius:10px;background:none;background-color:var(--surface);-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:0 10px 26px color-mix(in srgb,#1a3d72 8%,transparent)}.customer-portal-page-toolbar__identity{min-width:0;display:grid;gap:.05rem}.customer-portal-page-toolbar__identity-main{display:inline-flex;align-items:center;gap:.62rem;min-width:0}.customer-portal-page-toolbar__identity-main>div{display:grid;gap:.08rem}.customer-portal-page-toolbar__identity-icon{width:2.7rem;height:2.7rem;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;color:#2563c9;background:color-mix(in srgb,#2563c9 15%,#ffffff);border:0;box-shadow:0 6px 14px color-mix(in srgb,#2563c9 18%,transparent);flex:0 0 auto}.customer-portal-page-toolbar__identity strong{font-size:1.12rem;line-height:1.2}.customer-portal-page-toolbar__identity span{color:var(--text-muted);font-size:.8rem}.customer-portal-page-toolbar__actions{display:flex;align-items:center;gap:.58rem}.customer-portal-page-toolbar__actions .customer-portal-refresh{width:2.45rem;min-width:2.45rem;height:2.45rem;padding:0;justify-content:center}.customer-portal-chat-fab{position:fixed;right:1.45rem;bottom:1.2rem;z-index:1350;width:3.2rem;height:3.2rem;border:1px solid color-mix(in srgb,var(--accent, #2563c9) 40%,#ffffff);border-radius:999px;display:inline-flex;align-items:center;justify-content:center;color:#fff;background:linear-gradient(145deg,color-mix(in srgb,var(--accent, #2563c9) 88%,#ffffff),color-mix(in srgb,var(--accent-strong, #1f3f78) 84%,#ffffff));box-shadow:0 12px 28px color-mix(in srgb,var(--accent, #2563c9) 38%,transparent);transition:transform .15s ease,box-shadow .15s ease}.customer-portal-chat-fab:hover{transform:translateY(-1px) scale(1.02);box-shadow:0 16px 30px color-mix(in srgb,var(--accent, #2563c9) 44%,transparent)}.customer-portal-loading-state{min-height:clamp(16rem,42vh,30rem);display:grid;align-content:center;justify-items:center;gap:.55rem;color:var(--text-main);text-align:center}.customer-portal-loading-state__spinner{width:3.1rem;height:3.1rem;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;color:var(--accent);background:color-mix(in srgb,var(--accent) 10%,var(--surface-elevated));border:1px solid color-mix(in srgb,var(--accent) 24%,var(--surface-line));box-shadow:0 10px 24px color-mix(in srgb,var(--accent) 10%,transparent)}.customer-portal-loading-state__spinner svg{animation:customer-portal-loading-spin .9s linear infinite}.customer-portal-loading-state strong{font-size:1rem}.customer-portal-loading-state p{max-width:28rem;margin:0;color:var(--text-muted);font-size:.86rem}@keyframes customer-portal-loading-spin{to{transform:rotate(360deg)}}.customer-portal-commandbar{display:grid;grid-template-columns:minmax(16rem,360px) auto;gap:.65rem;align-items:end;padding:.65rem;border:1px solid color-mix(in srgb,var(--surface-line) 82%,transparent);border-radius:10px;background:color-mix(in srgb,var(--surface-elevated) 74%,transparent)}.customer-portal-vehicle-picker{display:grid;gap:.28rem}.customer-portal-vehicle-picker span{color:var(--text-muted);font-size:.78rem;font-weight:600}.customer-portal-vehicle-picker--compact{width:clamp(20rem,42vw,34rem);gap:0}.customer-portal-vehicle-picker--compact select{height:2.25rem;min-height:2.25rem;padding-top:0;padding-right:2rem;padding-bottom:0;line-height:1.2}.customer-portal-title-vehicle-picker__field{position:relative}.customer-portal-title-vehicle-picker__icon{position:absolute;left:.72rem;top:50%;transform:translateY(-50%);display:inline-flex;align-items:center;justify-content:center;color:color-mix(in srgb,#2563c9 68%,var(--text-muted));pointer-events:none}.customer-portal-title-vehicle-picker__field select{padding-left:2.15rem;min-width:16.5rem;height:2.45rem;min-height:2.45rem;border-radius:8px}.customer-portal-refresh{justify-self:end}.customer-portal-refresh--compact{width:2.25rem;min-width:2.25rem;height:2.25rem;min-height:2.25rem;padding:0;justify-content:center}.customer-portal-subtabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-self:start;gap:1rem;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.customer-portal-subtab{min-width:0;min-height:4.9rem;border:0;border-radius:8px;background:color-mix(in srgb,var(--surface) 96%,transparent);color:var(--text-muted);font:inherit;font-size:1rem;font-weight:700;padding:.86rem 1.05rem;display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto auto;align-items:center;justify-content:start;column-gap:1rem;row-gap:.1rem;cursor:pointer;transition:transform .16s ease,background .16s ease,border-color .16s ease,box-shadow .16s ease;box-shadow:0 10px 22px color-mix(in srgb,#1a3d72 6%,transparent)}.customer-portal-subtab:hover:not(:disabled){transform:translateY(-1px);background:color-mix(in srgb,var(--portal-tab-accent, var(--accent)) 7%,var(--surface))}.customer-portal-subtab svg{grid-column:1;grid-row:1 / span 2;width:3.25rem;height:3.25rem;padding:.82rem;border-radius:999px;border:0;background:color-mix(in srgb,var(--portal-tab-accent, var(--accent)) 12%,#ffffff);color:color-mix(in srgb,var(--portal-tab-accent, var(--accent)) 78%,var(--text-main));flex:0 0 auto}.customer-portal-subtab__text{grid-column:2;grid-row:1;min-width:0;color:var(--text-muted);line-height:1.1;align-self:end;justify-self:start;text-align:left}.customer-portal-subtab--activation .customer-portal-subtab__text{grid-row:1 / span 2;align-self:center}.customer-portal-subtab__count{grid-column:2;grid-row:2;display:block;margin-left:0;color:color-mix(in srgb,var(--portal-tab-accent, var(--accent)) 88%,var(--text-main));font-size:1.46rem;font-weight:800;line-height:1;align-self:start;justify-self:start;text-align:left}.customer-portal-subtab__text+.customer-portal-subtab__count{margin-top:.18rem}.customer-portal-subtab--active{background:color-mix(in srgb,var(--portal-tab-accent, var(--accent)) 9%,var(--surface-elevated));color:var(--text-main);box-shadow:inset 0 3px color-mix(in srgb,var(--portal-tab-accent, var(--accent)) 82%,transparent),0 10px 22px color-mix(in srgb,var(--portal-tab-accent, var(--accent)) 9%,transparent)}.customer-portal-subtab--active svg{color:#fff;background:color-mix(in srgb,var(--portal-tab-accent, var(--accent)) 76%,#ffffff);border-color:color-mix(in srgb,var(--portal-tab-accent, var(--accent)) 68%,transparent)}.customer-portal-subtab:disabled{cursor:not-allowed;opacity:.62;color:var(--text-muted);background:transparent;box-shadow:none}.customer-portal-subtabs--loading .customer-portal-subtab:disabled{opacity:1;background:color-mix(in srgb,var(--surface) 96%,transparent);box-shadow:0 10px 22px color-mix(in srgb,#1a3d72 6%,transparent)}.customer-portal-subtabs--no-account .customer-portal-subtab:disabled{opacity:1;background:color-mix(in srgb,var(--surface) 96%,transparent);box-shadow:0 10px 22px color-mix(in srgb,#1a3d72 6%,transparent)}.customer-portal-subtab--activation{--portal-tab-accent: #2563c9}.customer-portal-subtab--services{--portal-tab-accent: #22b45b}.customer-portal-subtab--appointments{--portal-tab-accent: #f59f0a}.customer-portal-subtab--media{--portal-tab-accent: #7c3aed}.customer-portal-subtab--estimates{--portal-tab-accent: #2563c9}.customer-portal-toolbar,.customer-portal-row-actions{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap}.customer-portal-toolbar{justify-content:space-between}.customer-portal-toolbar label,.customer-portal-form label,.customer-portal-field{display:grid;gap:.25rem;color:var(--text-muted);font-size:.78rem}.customer-portal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;align-items:start}.customer-portal-section{display:grid;align-content:start;gap:.65rem;min-width:0;min-height:0;overflow:auto;border:1px solid color-mix(in srgb,var(--surface-line) 78%,transparent);border-radius:10px;padding:.7rem;background:color-mix(in srgb,var(--surface) 96%,#ffffff);box-shadow:0 12px 26px color-mix(in srgb,var(--accent) 8%,transparent)}.customer-portal-section--single{max-width:980px}.customer-portal-service-panel{width:100%;max-width:none;grid-template-rows:auto minmax(0,1fr);align-content:stretch;gap:.75rem;min-height:0;padding:.85rem}.customer-portal-media-panel{width:100%;max-width:none;gap:.75rem;padding:.85rem}.customer-portal-estimate-panel{width:100%;max-width:none;grid-template-rows:auto minmax(0,1fr);align-content:stretch;gap:.75rem;min-height:0;padding:.85rem}.customer-portal-service-panel__header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.75rem;align-items:center}.customer-portal-service-panel__tools{display:flex;align-items:end;justify-content:flex-end;gap:.5rem;min-width:0}.customer-portal-service-panel__header h4{margin:0;font-size:.96rem;line-height:1.2}.customer-portal-service-panel__header span{display:block;margin-top:.18rem;color:var(--text-muted);font-size:.78rem}.customer-portal-service-toolbar{display:grid;grid-template-columns:minmax(16rem,380px) minmax(0,1fr);gap:.65rem;align-items:end;padding:.65rem;border:1px solid color-mix(in srgb,var(--surface-line) 62%,transparent);border-radius:10px;background:color-mix(in srgb,var(--surface-elevated) 56%,transparent)}.customer-portal-services-actions{display:flex;align-items:center;justify-content:flex-end;gap:.55rem;flex-wrap:wrap}.customer-portal-services-actions .secondary-btn{min-height:2.15rem;padding:.48rem .72rem;border-radius:9px;font-size:.84rem}.customer-portal-services-board{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;align-items:stretch;min-height:0}.customer-portal-service-column{min-width:0;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);gap:.55rem;border:1px solid color-mix(in srgb,var(--surface-line) 74%,transparent);border-radius:10px;padding:.65rem;background:color-mix(in srgb,var(--surface-elevated) 28%,transparent)}.customer-portal-service-column__head{display:flex;align-items:center;justify-content:space-between;gap:.7rem}.customer-portal-service-column__head span{min-width:1.55rem;height:1.35rem;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:color-mix(in srgb,var(--surface-line) 62%,transparent);color:var(--text-main);font-size:.76rem;font-weight:800}.customer-portal-service-column--completed .customer-portal-service-column__head span{color:#0b6a2f;background:color-mix(in srgb,#22b45b 18%,#ffffff)}.customer-portal-service-column--upcoming .customer-portal-service-column__head span{color:#8b5300;background:color-mix(in srgb,#f59f0a 18%,#ffffff)}.customer-portal-service-card-list{display:grid;align-content:start;gap:.55rem;min-height:0;overflow:auto}.customer-portal-service-card-list>p{margin:0;color:var(--text-muted);font-size:.85rem}.customer-portal-service-card{--service-card-accent: var(--accent);position:relative;overflow:hidden;display:grid;gap:.65rem;border:1px solid color-mix(in srgb,var(--surface-line) 82%,transparent);border-radius:10px;padding:.7rem .7rem .7rem .85rem;background:color-mix(in srgb,var(--surface) 94%,#ffffff);box-shadow:inset 4px 0 0 var(--service-card-accent);transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.customer-portal-service-card:after{content:none}.customer-portal-service-card:before{content:"";position:absolute;top:0;right:0;bottom:0;width:38%;pointer-events:none;background:repeating-linear-gradient(-35deg,color-mix(in srgb,var(--service-card-accent) 10%,transparent) 0 1px,transparent 1px 8px);opacity:.22;-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 28%,#000 72%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0%,#000 28%,#000 72%,transparent 100%)}.customer-portal-service-card:hover{transform:translateY(-1px);border-color:color-mix(in srgb,var(--service-card-accent) 36%,var(--surface-line));box-shadow:inset 4px 0 0 var(--service-card-accent),0 12px 24px #0b162610}.customer-portal-service-card--completed{--service-card-accent: #22b45b}.customer-portal-service-card--upcoming{--service-card-accent: #2563c9}.customer-portal-service-card--soon{--service-card-accent: #f59f0a}.customer-portal-service-card--overdue{--service-card-accent: #c2413d}.customer-portal-service-card__title,.customer-portal-service-card__actions{display:flex;align-items:center;gap:.65rem}.customer-portal-service-card__title{justify-content:space-between;min-width:0}.customer-portal-service-card__actions{justify-content:space-between}.customer-portal-service-card__title strong{min-width:0;font-size:.98rem;line-height:1.2;overflow-wrap:anywhere}.customer-portal-service-badge{min-height:1.45rem;border-radius:999px;padding:.16rem .55rem;display:inline-flex;align-items:center;color:color-mix(in srgb,var(--service-card-accent, var(--accent)) 70%,var(--text-main));background:color-mix(in srgb,var(--service-card-accent, var(--accent)) 14%,var(--surface-elevated));border:1px solid color-mix(in srgb,var(--service-card-accent, var(--accent)) 30%,transparent);font-size:.75rem;font-weight:800}.customer-portal-service-card__metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0}.customer-portal-service-card--upcoming .customer-portal-service-card__metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.customer-portal-service-card__metrics div{min-width:0;border:0;border-radius:0;padding:.2rem .8rem .2rem 0;background:transparent;display:inline-flex;align-items:center;gap:.48rem}.customer-portal-service-card__metrics div+div{border-left:1px solid color-mix(in srgb,var(--surface-line) 74%,transparent);padding-left:.8rem}.customer-portal-service-card__metrics svg{color:color-mix(in srgb,var(--service-card-accent, var(--accent)) 58%,var(--text-muted));flex:0 0 auto}.customer-portal-service-card__metrics span,.customer-portal-service-card__actions>span{display:block;color:var(--text-muted);font-size:.75rem}.customer-portal-service-card__metrics span{min-width:0}.customer-portal-service-card__metrics em{display:block;color:var(--text-muted);font-size:.74rem;font-style:normal;line-height:1.1}.customer-portal-service-card__metrics strong{display:block;margin-top:.14rem;font-size:.86rem;overflow-wrap:anywhere}.customer-portal-service-card__actions .link-btn{display:inline-flex;align-items:center;gap:.35rem;padding:.16rem .25rem;font-size:.82rem;text-decoration:none}.customer-portal-service-card__actions .customer-portal-table-action+.customer-portal-table-action{margin-left:.25rem}.customer-portal-service-progress{height:.45rem;border-radius:999px;overflow:hidden;background:color-mix(in srgb,var(--surface-line) 60%,transparent)}.customer-portal-service-progress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,color-mix(in srgb,var(--service-card-accent, var(--accent)) 66%,#ffffff),var(--service-card-accent, var(--accent)))}.customer-portal-service-dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1600;display:grid;place-items:center;padding:1rem;background:color-mix(in srgb,#07101e 44%,transparent);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.customer-portal-service-dialog{--modal-pad-x: .9rem;--modal-pad-y: .9rem;width:min(620px,96%);max-height:calc(100% - 2rem);overflow:auto;display:grid;gap:.8rem;border:1px solid color-mix(in srgb,var(--surface-line) 86%,transparent);border-radius:12px;padding:.9rem;background:color-mix(in srgb,var(--surface) 98%,#ffffff);box-shadow:0 18px 42px #00000024}.customer-portal-service-dialog header,.customer-portal-service-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.customer-portal-service-dialog header{margin:calc(var(--modal-pad-y) * -1) calc(var(--modal-pad-x) * -1) 0;padding:.78rem .92rem;border-bottom:1px solid var(--surface-line);background:linear-gradient(90deg,color-mix(in srgb,var(--accent) 14%,transparent),transparent 44%),linear-gradient(180deg,color-mix(in srgb,var(--surface-elevated) 86%,transparent),color-mix(in srgb,var(--surface) 95%,transparent));border-top-left-radius:inherit;border-top-right-radius:inherit}.customer-portal-service-dialog h4{margin:0;font-size:1.06rem;font-weight:700}.customer-portal-service-dialog header span{display:block;margin-top:.16rem;color:var(--text-muted);font-size:.8rem}.customer-portal-service-dialog__form{grid-template-columns:repeat(2,minmax(0,1fr));padding:.7rem;border:1px solid color-mix(in srgb,var(--surface-line) 62%,transparent);border-radius:10px;background:transparent}.customer-portal-service-dialog__form--completed{grid-template-columns:minmax(0,1.2fr) minmax(9rem,.8fr) minmax(8rem,.7fr)}.customer-portal-service-dialog__form input{height:2.25rem;min-height:2.25rem;padding-top:0;padding-bottom:0;background:var(--surface-elevated)}.customer-portal-form{display:grid;gap:.5rem}.customer-portal-form--services{gap:.6rem;align-items:end;padding:.7rem;border:1px solid color-mix(in srgb,var(--surface-line) 62%,transparent);border-radius:10px;background:transparent}.customer-portal-form--services-completed{grid-template-columns:minmax(16rem,1.6fr) minmax(10rem,.8fr) minmax(9rem,.7fr) minmax(8rem,auto)}.customer-portal-form--services-upcoming{grid-template-columns:minmax(16rem,1.5fr) minmax(9.5rem,.75fr) minmax(9.5rem,.75fr) minmax(8rem,.65fr) minmax(8rem,auto)}.customer-portal-form--media{grid-template-columns:minmax(14rem,.9fr) minmax(22rem,1.55fr) minmax(9rem,auto);gap:.65rem;align-items:end;padding:.7rem;border:1px solid color-mix(in srgb,var(--surface-line) 62%,transparent);border-radius:10px;background:transparent}.customer-portal-form--estimate{grid-template-columns:minmax(16rem,1.2fr) minmax(10rem,.55fr) minmax(10rem,auto);gap:.65rem;align-items:end;padding:.7rem;border:1px solid color-mix(in srgb,var(--surface-line) 62%,transparent);border-radius:10px;background:transparent}.customer-portal-form--services button{min-width:8rem;justify-content:center;height:2.25rem;min-height:2.25rem}.customer-portal-media-submit{height:2.25rem;min-height:2.25rem;justify-content:center;align-self:end}.customer-portal-media-actions{display:flex;align-items:center;justify-content:flex-end;gap:.55rem;flex-wrap:wrap}.customer-portal-media-actions .secondary-btn{min-height:2.15rem;padding:.48rem .72rem;border-radius:9px;font-size:.84rem}.customer-portal-estimate-submit{height:2.25rem;min-height:2.25rem;justify-content:center;align-self:end}.customer-portal-media-description,.customer-portal-estimate-summary,.customer-portal-estimate-lines{grid-column:1 / -1}.customer-portal-form>.secondary-btn{justify-content:center}.customer-portal-form input,.customer-portal-form select,.customer-portal-form textarea,.customer-portal-toolbar select,.customer-portal-vehicle-picker select,.customer-portal-request input,.customer-portal-request select,.customer-portal-request textarea{width:100%;min-width:0;border:1px solid var(--surface-line);border-radius:8px;padding:.5rem .6rem;font:inherit;font-size:.88rem;line-height:1.25;background:var(--surface-raised);color:var(--text-main)}.customer-portal-form input::placeholder,.customer-portal-form textarea::placeholder,.customer-portal-request input::placeholder,.customer-portal-request textarea::placeholder{color:color-mix(in srgb,var(--text-muted) 78%,transparent)}.customer-portal-form--services input,.customer-portal-form--services select,.customer-portal-form--services textarea{height:2.25rem;min-height:2.25rem;padding-top:0;padding-bottom:0;line-height:1.2;background:var(--surface-elevated)}.customer-portal-form--media input,.customer-portal-form--media textarea,.customer-portal-form--estimate input,.customer-portal-form--estimate textarea{background:var(--surface-elevated)}.customer-portal-form--media input,.customer-portal-form--estimate input{height:2.25rem;min-height:2.25rem;padding-top:0;padding-bottom:0;line-height:1.2}.customer-portal-services-table{table-layout:fixed}.customer-portal-services-table__col-title{width:56%}.customer-portal-services-table__col-date{width:16%}.customer-portal-services-table__col-mileage{width:14%}.customer-portal-services-table__col-actions{width:9rem}.customer-portal-services-table--upcoming .customer-portal-services-table__col-title{width:46%}.customer-portal-services-table--upcoming .customer-portal-services-table__col-date{width:15%}.customer-portal-services-table--upcoming .customer-portal-services-table__col-mileage{width:12%}.customer-portal-services-table__actions{white-space:nowrap;vertical-align:middle}.customer-portal-table-action{width:1.9rem;height:1.9rem;border-color:transparent;background:transparent;box-shadow:none;border-radius:8px;color:color-mix(in srgb,var(--accent) 82%,var(--text-main))}.customer-portal-table-action--danger{color:#a43b37}.customer-portal-services-table__actions .customer-portal-table-action+.customer-portal-table-action{margin-left:.35rem}.customer-portal-table-action:hover:not(:disabled){background:color-mix(in srgb,var(--accent) 12%,var(--surface-elevated));border-color:transparent}.customer-portal-table-action--danger:hover:not(:disabled){background:color-mix(in srgb,#d94b45 12%,var(--surface-elevated));border-color:transparent}.customer-portal-form textarea,.customer-portal-request textarea{min-height:4.2rem;resize:vertical}.customer-portal-media-description textarea{min-height:4.6rem}.customer-portal-estimate-summary textarea{min-height:4.2rem}.customer-portal-estimate-lines{display:grid;gap:.55rem;border:1px dashed color-mix(in srgb,var(--surface-line) 78%,transparent);border-radius:10px;padding:.65rem;background:color-mix(in srgb,var(--surface-elevated) 34%,transparent)}.customer-portal-estimate-lines__head{display:flex;align-items:center;justify-content:space-between;gap:.7rem}.customer-portal-estimate-lines__head .link-btn{display:inline-flex;align-items:center;gap:.35rem;text-decoration:none}.customer-portal-estimate-line{display:grid;grid-template-columns:minmax(12rem,1.15fr) minmax(16rem,1.6fr) minmax(7rem,.5fr) auto;gap:.45rem;align-items:center}.customer-portal-estimate-line--optional{grid-template-columns:minmax(12rem,1.1fr) minmax(14rem,1.45fr) minmax(7rem,.45fr) auto auto}.customer-portal-estimate-line .customer-portal-table-action{justify-self:end}.customer-portal-list,.customer-portal-compact-list,.customer-portal-media-list{display:grid;gap:.55rem}.customer-portal-media-list>div{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto 1fr auto;gap:.72rem 1rem;align-items:start;border:1px solid var(--surface-line);border-radius:12px;padding:1.05rem 1.1rem 1rem 1.25rem;background:var(--surface)}.customer-portal-media-item{box-shadow:inset 4px 0 0 var(--media-card-accent, var(--accent))}.customer-portal-page .customer-portal-media-list{grid-template-columns:repeat(3,minmax(0,1fr))}.customer-portal-media-item--viewed{--media-card-accent: #22b45b}.customer-portal-media-item--new{--media-card-accent: #f59f0a}.customer-portal-media-item__icon{grid-column:1;grid-row:1 / span 3;align-self:center;width:3.75rem;height:3.75rem;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;color:var(--media-card-accent, var(--accent));background:color-mix(in srgb,var(--media-card-accent, var(--accent)) 14%,#ffffff)}.customer-portal-media-item__copy{grid-column:2;grid-row:1 / span 2;min-width:0;display:grid;gap:.46rem;align-content:center}.customer-portal-media-item__title{display:block;align-items:center;min-width:0}.customer-portal-media-item__title strong{min-width:0;font-size:1.04rem;line-height:1.22;overflow-wrap:anywhere}.customer-portal-media-item__url{color:var(--text-muted);font-size:.8rem;white-space:normal;overflow-wrap:anywhere}.customer-portal-media-item__description{color:var(--text-main);font-size:.83rem;line-height:1.45;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.customer-portal-media-badge{position:absolute;top:.85rem;right:1rem;min-height:1.45rem;border-radius:999px;padding:.16rem .55rem;display:inline-flex;align-items:center;gap:.34rem;border:1px solid color-mix(in srgb,var(--media-card-accent, var(--accent)) 30%,transparent);justify-content:center;align-self:center;line-height:1;white-space:nowrap;font-size:.75rem;font-weight:800}.customer-portal-media-badge--viewed{color:color-mix(in srgb,#22b45b 70%,var(--text-main));background:color-mix(in srgb,#22b45b 14%,var(--surface-elevated));border-color:color-mix(in srgb,#22b45b 30%,transparent)}.customer-portal-media-item__title{padding-right:7.4rem}.customer-portal-media-badge--new{color:color-mix(in srgb,#f59f0a 70%,var(--text-main));background:color-mix(in srgb,#f59f0a 14%,var(--surface-elevated));border-color:color-mix(in srgb,#f59f0a 30%,transparent)}.customer-portal-media-list span:not(.customer-portal-media-badge):not(.customer-portal-media-item__icon){color:var(--text-muted);font-size:.82rem;line-height:1.2;overflow-wrap:anywhere}.customer-portal-media-list__actions{grid-column:2;grid-row:3;display:inline-flex;align-items:center;gap:.65rem;justify-self:end;align-self:end;white-space:nowrap}.customer-portal-media-open-link{min-height:2.05rem;padding:.38rem .68rem;gap:.36rem;text-decoration:none;font-weight:800;font-size:.83rem}.customer-portal-media-list__actions .customer-portal-table-action+.customer-portal-table-action{margin-left:0}@media (max-width: 980px){.customer-portal-page .customer-portal-media-list{grid-template-columns:1fr}}@media (max-width: 1500px) and (min-width: 1181px){.customer-portal-page .customer-portal-media-list{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width: 1180px) and (min-width: 981px){.customer-portal-page .customer-portal-media-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 680px){.customer-portal-media-list>div{grid-template-columns:1fr}.customer-portal-media-item__icon,.customer-portal-media-item__copy,.customer-portal-media-badge,.customer-portal-media-list__actions{grid-column:1}.customer-portal-media-item__icon{grid-row:1;justify-self:start}.customer-portal-media-badge{position:static;grid-row:2;justify-self:start}.customer-portal-media-item__copy{grid-row:3}.customer-portal-media-item__title{padding-right:0}.customer-portal-media-list__actions{grid-row:4;justify-self:stretch;flex-wrap:wrap}.customer-portal-media-open-link{flex:1 1 10rem;justify-content:center}}.customer-portal-media-dialog__form{grid-template-columns:minmax(12rem,.9fr) minmax(16rem,1.35fr);padding:.7rem;border:1px solid color-mix(in srgb,var(--surface-line) 62%,transparent);border-radius:10px;background:transparent}.customer-portal-media-dialog__form input,.customer-portal-media-dialog__form textarea{background:var(--surface-elevated)}.customer-portal-media-dialog__form input{height:2.25rem;min-height:2.25rem;padding-top:0;padding-bottom:0}.customer-portal-estimate-list{display:grid;gap:.55rem}.customer-portal-estimate-list>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.7rem;align-items:center;border:1px solid var(--surface-line);border-radius:8px;padding:.55rem .65rem;background:color-mix(in srgb,var(--surface-elevated) 52%,transparent)}.customer-portal-estimate-list>div>div:first-child{min-width:0;display:grid;gap:.18rem}.customer-portal-estimate-list span:not(.customer-portal-estimate-badge){color:var(--text-muted);font-size:.82rem;overflow-wrap:anywhere}.customer-portal-estimate-list__actions{white-space:nowrap}.customer-portal-estimate-list__actions .customer-portal-table-action+.customer-portal-table-action{margin-left:.35rem}.customer-portal-request,.customer-portal-compact-list>div{display:grid;gap:.45rem;border:1px solid var(--surface-line);border-radius:8px;padding:.65rem;background:color-mix(in srgb,var(--surface-elevated) 68%,transparent)}.customer-portal-request{grid-template-columns:minmax(13rem,1.1fr) minmax(9rem,.65fr) minmax(11rem,.75fr);align-items:start}.customer-portal-request textarea,.customer-portal-request .customer-portal-row-actions{grid-column:1 / -1}.customer-portal-request>div:first-child,.customer-portal-compact-list>div{min-width:0}.customer-portal-request span,.customer-portal-compact-list span{color:var(--text-muted);font-size:.82rem;overflow-wrap:anywhere}.customer-portal-lines{display:grid;gap:.4rem;border:1px dashed var(--surface-line);border-radius:8px;padding:.65rem;background:color-mix(in srgb,var(--surface-elevated) 50%,transparent)}.customer-portal-lines>div{display:grid;grid-template-columns:minmax(8rem,1fr) minmax(8rem,1fr) minmax(5.5rem,.45fr) auto auto;gap:.4rem;align-items:center}.customer-portal-checkbox{display:inline-flex;grid-auto-flow:column;align-items:center;gap:.35rem}.customer-portal-checkbox input{width:auto}@media (max-width: 980px){.customer-portal-modal-backdrop{padding:.6rem}.customer-portal-modal{width:min(760px,98vw);max-height:96vh}.customer-portal-modal__head{grid-template-columns:minmax(0,1fr) auto auto}.customer-portal-title-tools:not(:empty){grid-column:1 / -1;grid-row:2;justify-content:stretch}.customer-portal-title-vehicle-picker{width:100%}.customer-portal-modal__head .customer-editor-mobile-status{justify-self:end}.customer-portal-commandbar,.customer-portal-service-toolbar{grid-template-columns:1fr}.customer-portal-refresh{justify-self:stretch}.customer-portal-refresh--compact{justify-self:end}.customer-portal-grid,.customer-portal-services-board,.customer-portal-form--services,.customer-portal-form--media,.customer-portal-form--estimate,.customer-portal-service-dialog__form,.customer-portal-service-dialog__form--completed,.customer-portal-media-dialog__form,.customer-portal-estimate-line,.customer-portal-estimate-line--optional{grid-template-columns:1fr}.customer-portal-subtabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}.customer-portal-page-toolbar{align-items:stretch;flex-direction:column}.customer-portal-page-toolbar__actions{justify-content:stretch}.customer-portal-title-vehicle-picker,.customer-portal-title-vehicle-picker__field,.customer-portal-title-vehicle-picker__field select{width:100%;min-width:0}.customer-portal-section--single{max-width:none}.customer-portal-activation-card__meta{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-portal-activation-empty{grid-template-columns:auto minmax(0,1fr)}.customer-portal-activation-empty .primary-btn{grid-column:1 / -1;justify-self:start}.customer-portal-request,.customer-portal-lines>div{grid-template-columns:1fr}}@media (max-width: 560px){.customer-portal-modal-backdrop{padding:0}.customer-portal-modal{width:100vw;max-height:100vh;min-height:100vh;border-radius:0}.customer-portal-modal__head,.customer-portal-modal__body{padding-left:.65rem;padding-right:.65rem}.customer-portal-commandbar,.customer-portal-section,.customer-portal-form--services,.customer-portal-form--media,.customer-portal-form--estimate,.customer-portal-service-dialog__form{padding:.55rem}.customer-portal-subtabs{grid-template-columns:1fr}.customer-portal-subtab{justify-content:flex-start}.customer-portal-subtab__count{margin-left:auto}.customer-portal-activation-card__top{align-items:flex-start;flex-direction:column}.customer-portal-service-panel__header{grid-template-columns:1fr}.customer-portal-services-actions,.customer-portal-media-actions{justify-content:flex-start}.customer-portal-service-panel__tools{justify-content:stretch}.customer-portal-vehicle-picker--compact{width:100%}.customer-portal-service-toolbar,.customer-portal-service-panel,.customer-portal-media-panel,.customer-portal-estimate-panel{padding:.6rem}.customer-portal-media-list>div,.customer-portal-estimate-list>div{grid-template-columns:1fr}.customer-portal-media-item__title{align-items:flex-start;flex-direction:column}.customer-portal-media-list__actions,.customer-portal-estimate-list__actions{justify-self:end}.customer-portal-estimate-lines__head{align-items:flex-start;flex-direction:column}.customer-portal-service-card__metrics,.customer-portal-service-card--upcoming .customer-portal-service-card__metrics{grid-template-columns:1fr}.customer-portal-service-card__metrics div+div{border-left:0;border-top:1px solid color-mix(in srgb,var(--surface-line) 74%,transparent);padding-left:0;padding-top:.55rem;margin-top:.35rem}.customer-portal-service-card__actions{align-items:flex-start;flex-direction:column}.customer-portal-service-card__actions>div{align-self:flex-end}.customer-portal-activation-card__meta{grid-template-columns:1fr}.customer-portal-activation-card__actions .secondary-btn{width:100%;justify-content:center}.customer-portal-activation-empty{grid-template-columns:1fr;justify-items:start}.customer-portal-activation-empty .primary-btn{width:100%;justify-content:center}}.link-btn{border:0;background:transparent;color:var(--accent);font:inherit;font-weight:600;padding:.2rem .35rem;cursor:pointer}.link-btn:hover{text-decoration:underline}.portal-requests-empty{display:flex;align-items:center;gap:.45rem;color:var(--text-muted)}.portal-requests-shell .customers-table tbody tr{cursor:pointer}.portal-requests-badge{width:fit-content;max-width:100%;display:inline-flex;align-items:center;justify-content:center;padding:.2rem .55rem;border-radius:999px;border:1px solid rgba(141,183,255,.2);background:#ffffff0d;color:var(--text-soft);font-size:.76rem;font-weight:700;white-space:nowrap}.portal-requests-shell .toolbar-menu-btn{display:none}.portal-requests-badge--new{border-color:#f59f0a57;background:#f59f0a24;color:#ffd9a3}.portal-requests-badge--confirmed{border-color:#38cc9657;background:#38cc9624;color:#c8f9e6}.portal-requests-badge--completed{border-color:#5191ec6b;background:#5191ec2e;color:#d8e8ff}.portal-requests-badge--cancelled{border-color:#ff787857;background:#ff787824;color:#ffd6d6}.portal-requests-badge--urgent{border-color:#e8604b66;background:#e8604b29;color:#ffd9cf}.portal-requests-badge--normal{border-color:#4b89e266;background:#4b89e229;color:#d6e8ff}.portal-requests-badge--can-wait{border-color:#32ae7866;background:#32ae7829;color:#d3fae9}[data-theme^=light-] .portal-requests-badge{border-color:#3a58803d;background:#ffffffdb;color:#2b425f}[data-theme^=light-] .portal-requests-badge--new{border-color:#c777136b;background:#ffe8cdf5;color:#8b4f08}[data-theme^=light-] .portal-requests-badge--confirmed{border-color:#1d8e5d6b;background:#d7f7e9f5;color:#166241}[data-theme^=light-] .portal-requests-badge--completed{border-color:#2766ba70;background:#d7e6fffa;color:#1d4a86}[data-theme^=light-] .portal-requests-badge--cancelled{border-color:#c43e3e6b;background:#ffe1e1f5;color:#8a2c2c}[data-theme^=light-] .portal-requests-badge--urgent{border-color:#c54f2d73;background:#ffe6ddfa;color:#8c3517}[data-theme^=light-] .portal-requests-badge--normal{border-color:#2766ba70;background:#d7e6fffa;color:#1d4a86}[data-theme^=light-] .portal-requests-badge--can-wait{border-color:#1b855473;background:#d6f6e6fa;color:#145c3d}.customer-editor-companies-grid{display:grid;grid-template-columns:1fr 1.15fr;gap:.7rem;align-items:start}.customer-editor-companies-actions{display:flex;flex-wrap:wrap;gap:.45rem;margin-bottom:.65rem}.customer-editor-companies-actions .secondary-btn{padding:.45rem .68rem;font-size:.82rem}.customer-editor-card--company-form,.customer-editor-card--company-list{margin:0}.customer-editor-card--company-list h4{margin-bottom:.45rem}.customer-editor-card--company-list{border:0;background:transparent;padding:0}.customer-car-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1200;background:color-mix(in srgb,#07101e 52%,transparent);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:grid;place-items:center;padding:1rem}.customer-car-modal{--modal-pad-x: .76rem;--modal-pad-y: .72rem;width:min(760px,96vw);position:relative;border:1px solid var(--surface-line);border-radius:14px;background:color-mix(in srgb,var(--surface) 98%,#ffffff);box-shadow:0 20px 42px #00000035;padding:.72rem .76rem .76rem;display:grid;gap:.52rem;overflow:hidden}.customer-car-modal__head{padding:0}.customer-car-modal__head h3{margin:0;font-family:inherit;font-size:1rem;font-weight:700;line-height:1.2;color:var(--text-main)}.customer-car-modal__loader{display:inline-flex;align-items:center;justify-content:center;margin-left:auto;width:1.15rem;height:1.15rem}.customer-car-modal__loader-dot{width:1rem;height:1rem;border-radius:999px;border:2px solid color-mix(in srgb,var(--surface-line) 82%,transparent);border-top-color:color-mix(in srgb,var(--accent) 84%,#0f4f9a);animation:customer-car-modal-spin .8s linear infinite}@keyframes customer-car-modal-spin{to{transform:rotate(360deg)}}.customer-car-modal__owner{display:inline-flex;align-items:center;gap:.4rem;margin-left:auto;padding:.28rem .5rem;border-radius:999px;border:1px solid color-mix(in srgb,var(--surface-line) 76%,transparent);background:color-mix(in srgb,var(--surface-elevated) 94%,transparent);font-size:.84rem;color:var(--text-muted);max-width:min(46%,320px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.customer-car-modal__body{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:.56rem;align-items:stretch}.customer-car-modal__fieldset{border:1px solid color-mix(in srgb,var(--surface-line) 84%,transparent);border-radius:10px;padding:.5rem .52rem .52rem;margin:0;display:grid;gap:.34rem}.customer-car-modal__fieldset legend{padding:0 .26rem;font-size:.86rem;color:var(--text-main)}.customer-car-modal__fieldset label{display:grid;grid-template-columns:112px 1fr;gap:.45rem;align-items:center}.customer-car-modal__row input,.customer-car-modal__row select{width:100%}.customer-car-modal__row--narrow input{width:min(290px,100%)}.customer-car-modal__row--tiny input{width:min(150px,100%)}.customer-car-modal__row--medium input{width:min(250px,100%)}.customer-car-modal__fieldset span,.customer-car-modal__comment-panel span{font-size:.84rem;color:var(--text-main)}.customer-car-modal__fieldset input,.customer-car-modal__fieldset select,.customer-car-modal__comment-panel textarea{border:1px solid var(--surface-line);border-radius:8px;background:var(--surface-elevated);color:var(--text-main);font:inherit}.customer-car-modal__fieldset input{padding:.34rem .46rem}.customer-car-modal__fieldset select{padding:.32rem .4rem}.customer-car-modal__comment-panel{border:0;border-radius:0;padding:.1rem 0 0;background:transparent;display:grid}.customer-car-modal__comment-panel label{display:grid;gap:.32rem}.customer-car-modal__comment-panel textarea{min-height:254px;resize:none;padding:.44rem .52rem}.customer-car-modal__service-book{display:inline-flex;align-items:center;gap:.4rem;font-size:.88rem}.customer-car-modal__footer{display:flex;align-items:center;justify-content:space-between;gap:.6rem}.customer-car-modal__actions{display:flex;justify-content:flex-end;gap:.45rem;padding-top:0}.customer-car-modal__error{margin:0}.customer-editor__actions{display:grid;grid-template-columns:1fr auto;gap:.6rem;align-items:center}.customer-editor__actions-right{display:flex;flex-wrap:wrap;gap:.45rem}.customer-editor__actions-right{justify-content:flex-end}.customer-save-status{align-self:center;font-size:.82rem}.visit-header-badges{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:.45rem}.visit-header-badges span{display:inline-flex;align-items:center;gap:.32rem;font-size:.82rem;border:1px solid var(--surface-line);border-radius:999px;padding:.28rem .54rem;background:var(--surface-elevated);color:var(--text-muted)}.visit-island--header{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:.6rem}.visit-header-left{min-width:0;margin-right:auto}.visit-header-left h2{margin:0;font-family:Rajdhani,Segoe UI,sans-serif;font-size:1.65rem}.visit-header-id{color:var(--text-muted);font-weight:500}.visit-header-meta{display:flex;flex-wrap:wrap;gap:.35rem;margin-top:.2rem}.visit-header-context{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.42rem .6rem;margin-top:.42rem;align-items:center}.visit-header-context__item{display:inline-flex;align-items:center;gap:.28rem;min-height:2.02rem;padding:.26rem .56rem;border:1px solid var(--surface-line);border-radius:999px;background:color-mix(in srgb,var(--surface-elevated) 88%,transparent);font:inherit;font-size:.78rem;font-weight:550;line-height:1;color:var(--text-main)}.visit-header-context__item--link{cursor:pointer;transition:border-color .16s ease,background .16s ease,color .16s ease}.visit-header-context__item--link:hover{border-color:color-mix(in srgb,var(--accent) 40%,var(--surface-line));background:color-mix(in srgb,var(--accent) 12%,var(--surface-elevated))}.visit-header-context__item--link:focus-visible{outline:2px solid color-mix(in srgb,var(--accent) 64%,#ffffff);outline-offset:2px}.visit-header-context__item strong{color:var(--text-muted);font-weight:550}.visit-badge{display:inline-flex;align-items:center;gap:.28rem;font-size:.78rem;border:1px solid var(--surface-line);border-radius:999px;padding:.22rem .52rem;background:var(--surface-elevated);color:var(--text-muted)}.visit-badge--accent{background:color-mix(in srgb,var(--accent) 12%,var(--surface-elevated));border-color:color-mix(in srgb,var(--accent) 30%,var(--surface-line));color:var(--accent-strong);font-weight:600}.visit-header-right{display:flex;gap:.55rem;align-items:stretch}.visit-header-issuer{display:inline-flex;align-items:center;gap:.38rem;padding:0;border:0;background:transparent;min-height:2.35rem}.visit-header-issuer__label{font-size:.78rem;color:var(--text-muted);font-weight:600;line-height:1;white-space:nowrap}.visit-header-issuer select{border:1px solid var(--surface-line);background:var(--surface-base);border-radius:999px;height:1.8rem;padding:0 1.55rem 0 .58rem;color:var(--text-main);font-size:.82rem;font-weight:600;line-height:1;cursor:pointer}.visit-header-sum{display:flex;flex-direction:column;align-items:flex-end;padding:.35rem .65rem;border:1px solid var(--surface-line);border-radius:10px;background:var(--surface-elevated);min-width:120px}.visit-header-sum--primary{background:var(--accent-strong);border-color:var(--accent-strong)}.visit-header-sum--primary .visit-header-sum__label{color:#fffa}.visit-header-sum--primary .visit-header-sum__value{color:#fff}.visit-header-sum__label{font-size:.72rem;color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em}.visit-header-sum__value{font-family:Rajdhani,Segoe UI,sans-serif;font-size:1.28rem;font-weight:700;color:var(--text-main);line-height:1.2}.visit-island--info{display:grid;gap:.6rem}.visit-info-grid{display:grid;grid-template-columns:repeat(3,minmax(200px,1fr));gap:.5rem .65rem}.visit-info-field{display:grid;gap:.2rem}.visit-info-label{font-size:.78rem;color:var(--text-muted);display:inline-flex;align-items:center;gap:.25rem}.visit-info-value{font-size:.94rem;font-weight:600;color:var(--text-main);padding:.38rem .52rem;background:var(--surface-elevated);border:1px solid var(--surface-line);border-radius:8px;min-height:2.1rem;display:flex;align-items:center}.visit-info-value--car{justify-content:flex-end;gap:.4rem}.visit-info-car-btn{background:none;border:1px solid var(--surface-line);border-radius:6px;padding:.18rem .42rem;font-size:.74rem;color:var(--accent-strong);cursor:pointer;white-space:nowrap;transition:background .15s}.visit-info-car-btn:hover{background:color-mix(in srgb,var(--accent) 10%,transparent)}.visit-info-value--vin{gap:.35rem;font-family:Consolas,Courier New,monospace;font-size:.88rem;letter-spacing:.03em}.visit-info-value--vin code{flex:1;font:inherit}.visit-info-copy-btn{background:none;border:1px solid var(--surface-line);border-radius:6px;padding:.18rem .32rem;cursor:pointer;color:var(--text-muted);display:inline-flex;align-items:center;transition:background .15s,color .15s}.visit-info-copy-btn:hover{background:color-mix(in srgb,var(--accent) 10%,transparent);color:var(--accent-strong)}.visit-info-field--editable input,.visit-info-field--editable select{border:1px solid var(--surface-line);border-radius:8px;background:var(--surface-elevated);color:var(--text-main);font:inherit;padding:.42rem .52rem}.visit-info-comment-area{display:grid;gap:.35rem;justify-items:start}.visit-info-comment-box{width:100%;border:1px solid var(--surface-line);border-radius:10px;background:var(--surface-elevated);color:var(--text-main);font:inherit;padding:.52rem .62rem;resize:vertical;min-height:70px}.visit-comment-drawer-tab{position:fixed;right:0;top:46%;transform:translateY(-50%);z-index:34;border:1px solid var(--surface-line);border-right:none;border-radius:12px 0 0 12px;background:color-mix(in srgb,var(--surface) 88%,transparent);color:var(--text-main);font:inherit;font-size:.82rem;font-weight:600;padding:.52rem .62rem;display:inline-flex;align-items:center;gap:.4rem;cursor:pointer;box-shadow:0 8px 20px #0000002a}.visit-comment-drawer-tab--open{right:330px}.visit-comment-drawer-tab__dot{width:8px;height:8px;border-radius:999px;background:#f97316;box-shadow:0 0 0 2px color-mix(in srgb,var(--surface) 82%,transparent)}.visit-comment-drawer{position:fixed;top:98px;right:0;bottom:0;width:min(340px,90vw);z-index:33;border-left:1px solid var(--surface-line);background:color-mix(in srgb,var(--surface) 95%,#0a1428 5%);box-shadow:-10px 0 28px #00000035;transform:translate(100%);transition:transform .2s ease;display:grid;grid-template-rows:auto 1fr;padding:.78rem;gap:.6rem}.visit-comment-drawer--open{transform:translate(0)}.visit-comment-drawer__head{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.visit-comment-drawer__head h4{margin:0;font-size:.96rem}.visit-comment-drawer__textarea{width:100%;height:100%;border:1px solid var(--surface-line);border-radius:10px;background:var(--surface-elevated);color:var(--text-main);font:inherit;padding:.62rem .66rem;resize:none}.visit-positions-shell{display:grid;gap:.65rem}.visit-std-actions-card{border:1px solid var(--surface-line);border-radius:12px;background:var(--surface-elevated);overflow:visible}.visit-std-actions-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;background:none;border:none;padding:.58rem .72rem;cursor:pointer;color:var(--text-main);font:inherit}.visit-std-actions-toggle h4{margin:0;font-size:.92rem}.visit-std-actions-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 1.2rem;padding:.52rem .72rem .62rem}.visit-std-actions-col{display:grid;gap:.22rem;align-content:start}.vsa-row{display:grid;grid-template-columns:minmax(132px,.72fr) minmax(220px,1.5fr) 68px;gap:.4rem;align-items:center;padding:.3rem .4rem;border-radius:8px;transition:background .12s;font-size:.84rem;position:relative}.vsa-row--menu-open{z-index:24}.vsa-row:hover{background:color-mix(in srgb,var(--accent) 6%,transparent)}.vsa-row--estimate{background:color-mix(in srgb,#a78bfa 18%,transparent);outline:1px solid color-mix(in srgb,#a78bfa 45%,var(--surface-line))}.vsa-row--modified{box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--accent) 44%,transparent);background:color-mix(in srgb,var(--accent) 10%,transparent)}.visit-std-legend{display:flex;align-items:center;gap:.42rem;margin:.95rem .72rem .72rem;color:var(--text-muted);font-size:.8rem}.visit-std-legend__marker{width:10px;height:10px;border-radius:50%;background:color-mix(in srgb,var(--accent) 68%,#ffffff 32%);box-shadow:0 0 0 1px color-mix(in srgb,var(--accent) 42%,transparent)}.vsa-row--warehouse:before{content:"";position:absolute;left:0;top:.18rem;bottom:.18rem;width:3px;border-radius:99px;background:color-mix(in srgb,var(--accent) 82%,#ffffff 18%);box-shadow:0 0 0 1px color-mix(in srgb,var(--accent) 35%,transparent)}.vsa-row__check{display:inline-flex;align-items:center;gap:.35rem;min-width:0;padding-left:.28rem}.vsa-row__title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.vsa-row__details-wrap{position:relative;display:grid;grid-template-columns:1fr auto auto;gap:.28rem;align-items:center}.vsa-row__input{border:1px solid var(--surface-line);border-radius:6px;background:var(--surface);color:var(--text-main);font:inherit;font-size:.82rem;padding:.24rem .36rem}.vsa-row__input:disabled,.vsa-row__price:disabled{opacity:.55;cursor:not-allowed}.vsa-row__price{border:1px solid var(--surface-line);border-radius:6px;background:var(--surface);color:var(--text-main);font:inherit;font-size:.82rem;padding:.24rem .32rem;text-align:right}.vsa-row__action-btn{border:1px solid var(--surface-line);background:var(--surface);color:var(--text-muted);border-radius:6px;width:24px;height:24px;padding:0;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.vsa-row__action-btn:hover{color:var(--text-main);background:color-mix(in srgb,var(--accent) 8%,var(--surface))}.vsa-row__action-btn:disabled{opacity:.5;cursor:not-allowed}.vsa-row__menu{position:absolute;top:calc(100% + 3px);right:26px;z-index:60;min-width:230px;border:1px solid var(--surface-line);background:var(--surface);border-radius:8px;box-shadow:0 10px 24px #00000024;display:grid;overflow:hidden}.vsa-row__menu button{border:0;background:transparent;color:var(--text-main);font:inherit;font-size:.82rem;text-align:left;padding:.46rem .54rem;cursor:pointer}.vsa-row__menu button:hover{background:color-mix(in srgb,var(--accent) 11%,transparent)}.vsa-row__menu-separator,.visit-mobile-std-card__menu-separator{height:1px;background:color-mix(in srgb,var(--surface-line) 72%,transparent);margin:.12rem 0}.visit-pos-entry{border:1px solid var(--surface-line);border-radius:12px;background:var(--surface-elevated);padding:.62rem .72rem;display:grid;gap:.52rem}.visit-pos-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;background:color-mix(in srgb,#0b1221 58%,transparent);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:grid;place-items:center;padding:1rem}@media (min-width: 1001px){.visit-pos-modal-overlay,.cash-force-overlay,.customer-car-modal-backdrop,.new-customer-modal-backdrop{top:3.27rem;bottom:0;left:0;right:0}}.visit-pos-modal{--modal-pad-x: .85rem;--modal-pad-y: .85rem;width:min(760px,100%);border:1px solid var(--surface-line);border-radius:14px;background:color-mix(in srgb,var(--surface) 96%,transparent);box-shadow:0 24px 48px #00000038;padding:.85rem;display:grid;gap:.58rem}.visit-pos-modal__head{display:flex;align-items:center;justify-content:flex-end;gap:.45rem}.visit-pos-modal__head h4{margin:0;font-size:1rem}.modal-header-modern{display:flex;align-items:center;justify-content:space-between;gap:.45rem;margin:calc(var(--modal-pad-y, .75rem) * -1) calc(var(--modal-pad-x, .75rem) * -1) 0;padding:.78rem .92rem;border-bottom:1px solid var(--surface-line);background:linear-gradient(90deg,color-mix(in srgb,var(--accent) 14%,transparent),transparent 44%),linear-gradient(180deg,color-mix(in srgb,var(--surface-elevated) 86%,transparent),color-mix(in srgb,var(--surface) 95%,transparent));border-top-left-radius:inherit;border-top-right-radius:inherit}.warehouse-new-supply-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:110;background:color-mix(in srgb,#0b1221 48%,transparent);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);display:grid;place-items:center;padding:.8rem}.warehouse-new-supply-modal{width:min(1280px,calc(100vw - 1.6rem));max-height:calc(100dvh - 1.8rem);border-radius:14px;border:1px solid var(--surface-line);background:var(--surface);box-shadow:0 28px 58px #0f172a4f;display:grid;grid-template-rows:auto auto auto 1fr auto;overflow:hidden}.warehouse-new-supply-modal__head{padding:.7rem .9rem;border-bottom:1px solid var(--surface-line);background:linear-gradient(90deg,color-mix(in srgb,var(--accent) 10%,transparent),transparent 52%),linear-gradient(180deg,color-mix(in srgb,var(--surface-elevated) 86%,transparent),color-mix(in srgb,var(--surface) 94%,transparent));display:flex;align-items:center;justify-content:space-between;gap:.55rem}.warehouse-new-supply-modal__head h3{margin:0;font-size:1.12rem;color:#111827}[data-theme=dark] .warehouse-new-supply-modal__head h3,[data-theme=dark-graphite] .warehouse-new-supply-modal__head h3,[data-theme=m-power] .warehouse-new-supply-modal__head h3{color:#f8fafc}.warehouse-new-supply-modal__close-btn{border:0;background:transparent;color:#5f738a;width:32px;height:32px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.warehouse-new-supply-modal__close-btn:hover{background:color-mix(in srgb,#dbe6f1 56%,transparent);color:#344a62}.warehouse-new-supply-modal__section{padding:.62rem .9rem;border-bottom:1px solid color-mix(in srgb,var(--surface-line) 75%,transparent);display:grid;gap:.45rem}.warehouse-new-supply-modal__section--meta{grid-template-columns:minmax(280px,1.25fr) minmax(170px,.65fr) minmax(240px,.9fr);gap:.7rem}.warehouse-new-supply-modal__section label{display:grid;gap:.32rem}.warehouse-new-supply-modal__section label span{font-size:.82rem;color:var(--text-muted);font-weight:700}.warehouse-new-supply-modal__section input,.warehouse-new-supply-modal__section select{border:1px solid var(--surface-line);border-radius:9px;background:var(--surface-elevated);color:var(--text-main);padding:.44rem .52rem;font:inherit}.warehouse-new-supply-lookup-list{border:1px solid var(--surface-line);border-radius:10px;background:color-mix(in srgb,var(--surface-elevated) 58%,transparent);min-height:90px;max-height:130px;overflow:auto;padding:.38rem}.warehouse-new-supply-lookup-list ul{margin:0;padding:0;list-style:none;display:grid;gap:.3rem}.warehouse-new-supply-lookup-list li button{width:100%;border:1px solid color-mix(in srgb,var(--surface-line) 78%,transparent);border-radius:8px;background:var(--surface);color:var(--text-main);padding:.38rem .45rem;display:grid;grid-template-columns:140px minmax(0,1fr) 120px;gap:.45rem;text-align:left;cursor:pointer}.warehouse-new-supply-lookup-list li button:hover{border-color:color-mix(in srgb,var(--accent) 35%,var(--surface-line));background:color-mix(in srgb,var(--accent) 8%,var(--surface))}.warehouse-new-supply-lookup-list p{margin:0;padding:.45rem .4rem}.warehouse-new-supply-modal__section--table{min-height:0;overflow:auto}.warehouse-new-supply-table-actions{display:flex;justify-content:flex-end;align-items:center;gap:.5rem}.warehouse-new-supply-add-btn{padding:.34rem .62rem;font-size:.86rem;min-height:30px}.warehouse-new-supply-table-wrap{border:1px solid var(--surface-line)!important;border-radius:12px!important;overflow:hidden!important;background:color-mix(in srgb,var(--surface) 90%,transparent)}.warehouse-new-supply-table-wrap .warehouse-new-supply-table{margin:0}.warehouse-new-supply-table-wrap .warehouse-new-supply-table thead th:first-child{border-top-left-radius:12px}.warehouse-new-supply-table-wrap .warehouse-new-supply-table thead th:last-child{border-top-right-radius:12px}.warehouse-new-supply-table{min-width:1160px}.warehouse-new-supply-table th:nth-child(4),.warehouse-new-supply-table td:nth-child(4),.warehouse-new-supply-table th:nth-child(5),.warehouse-new-supply-table td:nth-child(5){width:72px;text-align:center}.warehouse-new-supply-table th:nth-child(6),.warehouse-new-supply-table td:nth-child(6),.warehouse-new-supply-table th:nth-child(7),.warehouse-new-supply-table td:nth-child(7),.warehouse-new-supply-table th:nth-child(8),.warehouse-new-supply-table td:nth-child(8),.warehouse-new-supply-table th:nth-child(9),.warehouse-new-supply-table td:nth-child(9){width:126px;white-space:nowrap}.warehouse-new-supply-table th:nth-child(10),.warehouse-new-supply-table td:nth-child(10){width:44px;text-align:center}.warehouse-new-supply-table__empty-row td{padding:0!important}.customers-table tbody tr.warehouse-new-supply-table__empty-row:hover,[data-theme=light-red] .customers-table tbody tr.warehouse-new-supply-table__empty-row:hover{background:transparent}.warehouse-new-supply-empty{min-height:250px;display:grid;place-items:center;align-content:center;gap:.65rem;padding:2rem 1rem;text-align:center}.warehouse-new-supply-empty__icon{width:72px;height:72px;border-radius:50%;display:grid;place-items:center;color:color-mix(in srgb,var(--accent) 52%,var(--text-muted) 48%);background:color-mix(in srgb,var(--accent) 7%,var(--surface-elevated) 93%)}.warehouse-new-supply-empty strong{color:var(--text-main);font-size:1.05rem}.warehouse-new-supply-empty p{margin:0;color:var(--text-muted)}.warehouse-new-supply-empty .primary-btn{margin-top:.25rem}.warehouse-new-supply-table td:nth-child(6) input,.warehouse-new-supply-table td:nth-child(7) input{width:100%;min-width:92px}.warehouse-new-supply-remove-btn{color:var(--danger-700)}.warehouse-new-supply-remove-btn:hover{color:var(--danger-800);background:color-mix(in srgb,var(--danger-200) 26%,transparent)}.warehouse-new-supply-modal__actions{display:flex;justify-content:flex-end;gap:.5rem;padding:.72rem .9rem;border-top:1px solid var(--surface-line);background:transparent}.warehouse-new-supply-modal__actions.warehouse-delivery-details-actions{padding:0!important;border-top:0!important;background:transparent!important}.modal-header-modern h3,.modal-header-modern h4{margin:0;font-weight:700;font-size:1.06rem}.visit-pos-modal__actions{border-top:1px solid color-mix(in srgb,var(--surface-line) 80%,transparent);padding-top:.56rem;display:flex;justify-content:flex-end;align-items:center;gap:.5rem}.visit-pos-modal__actions-right{display:inline-flex;gap:.42rem}.quick-doc-modal{width:min(1320px,calc(100vw - 1.6rem));max-height:calc(100vh - 1.8rem);overflow:auto}.quick-doc-modal__head h4{font-size:1.18rem;display:inline-flex;align-items:center;gap:.42rem}.quick-doc-modal__head-spinner{width:13px;height:13px}.quick-doc-modal__sum-badge{margin-left:auto;margin-right:.35rem;display:inline-flex;align-items:center;padding:.26rem .62rem;border-radius:999px;border:1px solid color-mix(in srgb,var(--accent) 44%,var(--surface-line));background:color-mix(in srgb,var(--accent) 14%,var(--surface));font-size:.82rem;font-weight:700;color:var(--text-main)}.quick-doc-modal__selectors{display:grid;grid-template-columns:1fr 1fr;gap:.5rem .8rem;align-items:end}.quick-doc-modal__selectors label{display:grid;gap:.22rem}.quick-doc-modal__selectors span{font-size:.85rem;color:var(--text-muted)}.quick-doc-modal__selectors select{min-height:2rem}.quick-doc-customer-combo{width:100%;min-width:0}.quick-doc-customer-combo .wheel-storage-modal__brand-input{font-size:.92rem}.quick-doc-customer-combo .wheel-storage-modal__brand-toggle{right:.36rem;width:1.12rem;height:1.12rem;display:inline-flex;align-items:center;justify-content:center}.quick-doc-customer-combo .wheel-storage-modal__brand-toggle:before{content:none}.quick-doc-customer-toggle svg{color:color-mix(in srgb,var(--text-main) 96%,#000 4%);opacity:1;transition:transform .18s ease}.quick-doc-customer-combo.is-open .quick-doc-customer-toggle svg{transform:rotate(180deg)}.quick-doc-customer-lookup-portal{z-index:10000}.convert-modal--narrow{width:min(420px,96vw)}.convert-modal__body{display:grid;grid-template-columns:1fr}.convert-modal__loader-inline{margin-left:0}.convert-modal--narrow .modal-header-modern{justify-content:flex-start}.convert-modal__select-wrap{position:relative;width:100%}.convert-modal__select{-moz-appearance:none;appearance:none;-webkit-appearance:none;padding-right:1.75rem!important}.convert-modal__select-arrow{position:absolute;right:.42rem;top:50%;transform:translateY(-50%);pointer-events:none;color:color-mix(in srgb,var(--text-main) 96%,#000 4%)}.quick-doc-modal__select{width:100%;min-height:2rem;border:1px solid var(--surface-line);border-radius:9px;background:var(--surface-elevated);color:var(--text-main);font:inherit;padding:.32rem .45rem}.quick-doc-modal__tabs{margin-top:.2rem}.quick-doc-modal__layout{display:grid;grid-template-columns:minmax(0,1.28fr) minmax(0,1fr);gap:.65rem;align-items:stretch}.quick-doc-modal__left{display:grid;grid-template-rows:auto minmax(230px,1fr) auto;gap:.45rem;min-height:340px}.quick-doc-modal__left .customers-table-wrap{height:100%;min-height:230px}.quick-doc-modal .quick-doc-modal__left{grid-template-rows:auto minmax(230px,1fr) auto;align-content:stretch}.quick-doc-modal .quick-doc-modal__left .customers-table-wrap{height:100%;min-height:230px}.quick-doc-modal__right{min-height:100%}.quick-doc-modal__right .quick-doc-receipt-head{display:flex;align-items:flex-start;justify-content:space-between;gap:.6rem;margin-bottom:.42rem}.quick-doc-modal__right .visit-receipt-methods{margin-bottom:0}.quick-doc-modal__right .visit-receipt-summary{margin-bottom:0;white-space:nowrap}.quick-doc-modal__right .visit-receipt-paid-grid{gap:.26rem}.quick-doc-modal__right .visit-receipt-paid-grid label{display:grid;grid-template-columns:145px minmax(0,1fr);align-items:center;gap:.24rem .5rem}.quick-doc-modal__right .visit-receipt-paid-grid span{margin:0}.quick-doc-modal__right .visit-receipt-paid-grid label>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.35rem}.quick-doc-modal__right .quick-doc-receipt-nip-row{margin-top:.18rem;margin-bottom:0;grid-template-columns:145px minmax(0,1fr)}.quick-doc-modal__right .quick-doc-receipt-nip-row__controls{display:grid;grid-template-columns:auto minmax(140px,1fr);align-items:center;gap:.45rem}@media (max-width: 980px){.quick-doc-modal__right .quick-doc-receipt-head{flex-direction:column;align-items:stretch}.quick-doc-modal__right .visit-receipt-summary{justify-content:flex-start}.quick-doc-modal__right .visit-receipt-paid-grid label,.quick-doc-modal__right .quick-doc-receipt-nip-row{grid-template-columns:1fr}}@media (max-width: 760px){.visit-pos-modal.quick-doc-modal{width:calc(100vw - .75rem);max-height:calc(100dvh - .75rem);padding:.62rem;gap:.48rem}.quick-doc-modal__head{flex-wrap:wrap;align-items:center;gap:.35rem}.quick-doc-modal__head h4{font-size:1rem;line-height:1.14;flex:1 1 auto;min-width:0}.quick-doc-modal__sum-badge{order:3;margin:0;font-size:.8rem;padding:.2rem .55rem}.quick-doc-modal__head .icon-btn{order:2;margin-left:auto;width:2rem;height:2rem}.quick-doc-modal__selectors{grid-template-columns:1fr;gap:.35rem}.quick-doc-modal__tabs{gap:.32rem;flex-wrap:nowrap}.quick-doc-modal__tabs .customer-editor-tab{flex:1 1 0;justify-content:center;min-width:0}.quick-doc-modal__layout{grid-template-columns:1fr;gap:.5rem}.quick-doc-modal .primary-btn,.quick-doc-modal .secondary-btn{width:auto}.quick-doc-modal .visit-invoice-entry__fields{grid-template-columns:1fr 1fr;gap:.34rem}.quick-doc-modal .visit-invoice-entry__zaco{grid-column:1 / -1}.quick-doc-modal .visit-invoice-lines-actions{display:grid;grid-template-columns:1fr 1fr 1fr;gap:.34rem;margin-top:.24rem}.quick-doc-modal .visit-invoice-lines-actions .primary-btn,.quick-doc-modal .visit-invoice-lines-actions .secondary-btn{width:100%;min-width:0;padding-inline:.45rem}.quick-doc-modal__right .visit-receipt-methods{display:grid;grid-template-columns:1fr 1fr;gap:.3rem .55rem}.quick-doc-modal__right .visit-receipt-methods .visit-invoice-flag{display:inline-grid;grid-template-columns:auto 1fr;align-items:center;justify-self:start;justify-items:start;gap:.42rem;margin:0;font-size:.9rem;line-height:1.15;white-space:nowrap}.quick-doc-modal__right .visit-receipt-methods .visit-invoice-flag input[type=checkbox]{margin:0;width:.96rem;height:.96rem;accent-color:color-mix(in srgb,var(--accent) 84%,#3b82f6 16%);flex:0 0 auto}.quick-doc-modal__right .visit-receipt-summary{justify-content:flex-start;flex-wrap:wrap;gap:.35rem .55rem;white-space:normal;font-size:.85rem}.quick-doc-modal__right .visit-receipt-paid-grid label{gap:.16rem}.quick-doc-modal__right .visit-receipt-paid-grid span{font-size:.78rem}.quick-doc-modal__right .visit-receipt-paid-grid label>div{grid-template-columns:minmax(0,1fr) auto;gap:.3rem}.quick-doc-modal__right .visit-receipt-paid-grid label>div .secondary-btn{min-width:4.8rem;padding-inline:.52rem}.quick-doc-modal__right .quick-doc-receipt-nip-row{margin-top:.1rem}.quick-doc-modal__right .quick-doc-receipt-nip-row__controls{grid-template-columns:auto minmax(0,1fr);gap:.34rem}}@media (max-width: 460px){.quick-doc-modal__tabs .customer-editor-tab{font-size:.8rem;padding:.3rem .44rem;gap:.24rem}.quick-doc-modal__tabs .customer-editor-tab svg{width:13px;height:13px}.quick-doc-modal .visit-invoice-entry__fields{grid-template-columns:1fr}.quick-doc-modal .visit-invoice-entry__zaco{grid-column:auto}.quick-doc-modal .visit-invoice-lines-actions,.quick-doc-modal__right .visit-receipt-methods{grid-template-columns:1fr}.quick-doc-modal__right .visit-receipt-methods .visit-invoice-flag{font-size:.88rem}}.quick-doc-modal__warehouse-row{margin-top:.35rem}.quick-doc-warehouse-modal{width:min(1120px,calc(100vw - 2rem));max-height:calc(100dvh - 2rem);display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;overflow:hidden}.visit-pos-modal-overlay.quick-doc-warehouse-overlay{top:0;right:0;bottom:0;left:0;padding:1rem;align-items:center}@media (min-width: 1001px){.visit-pos-modal-overlay.quick-doc-warehouse-overlay{top:0}}.quick-doc-warehouse-modal .visit-warehouse-modal__toolbar{grid-template-columns:minmax(0,1fr) auto}.quick-doc-warehouse-modal .visit-warehouse-modal__split-layout{grid-template-rows:minmax(210px,1fr) 8px minmax(150px,220px);height:min(62vh,620px)}.quick-doc-warehouse-modal .visit-warehouse-modal__top{min-height:0;height:100%;max-height:none;overflow:auto}.quick-doc-warehouse-modal .visit-warehouse-modal__bottom{min-height:0;max-height:none;overflow:auto}.visit-pos-entry h4{margin:0;font-size:.92rem}.visit-pos-entry__head{display:flex;align-items:center;justify-content:flex-end;gap:.45rem}.visit-pos-entry__main-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,260px);gap:.4rem;align-items:end}.visit-pos-entry__meta-grid{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:.4rem .5rem}.visit-pos-entry__warehouse-meta{display:grid;grid-template-columns:repeat(2,minmax(160px,1fr));gap:.4rem .5rem}.visit-pos-entry__main-row label,.visit-pos-entry__meta-grid label,.visit-pos-entry__warehouse-meta label{display:grid;gap:.2rem}.visit-pos-entry__main-row span,.visit-pos-entry__meta-grid span,.visit-pos-entry__warehouse-meta span{font-size:.76rem;color:var(--text-muted)}.visit-pos-entry__main-row input,.visit-pos-entry__main-row select,.visit-pos-entry__meta-grid input,.visit-pos-entry__meta-grid select,.visit-pos-entry__warehouse-meta input{border:1px solid var(--surface-line);border-radius:8px;background:var(--surface);color:var(--text-main);font:inherit;padding:.4rem .48rem;font-size:.88rem}.visit-pos-entry__activity{min-width:0}.visit-pos-entry__netto-check{display:inline-flex!important;flex-direction:row!important;align-items:center;gap:.3rem;align-self:center;white-space:nowrap;margin:0;padding:0}.visit-pos-entry__gross{min-width:0}.visit-pos-entry__gross-input-wrap{display:flex;align-items:center;gap:.5rem}.visit-pos-entry__gross-input-wrap input{min-width:0;flex:1 1 auto}.visit-pos-entry__gross-input-wrap .visit-pos-entry__netto-check span{font-size:.84rem;color:var(--text-muted)}.visit-pos-entry__actions{display:flex;gap:.4rem;justify-content:flex-end}.visit-pos-entry__qty-hint{font-size:.76rem;font-weight:700;color:var(--text-main)}.visit-pos-entry__qty-hint--warn{color:var(--danger-600)}.visit-pos-entry__qty-input--warn{border-color:color-mix(in srgb,var(--danger-600) 60%,var(--surface-line));box-shadow:0 0 0 1px color-mix(in srgb,var(--danger-600) 35%,transparent);background:color-mix(in srgb,var(--danger-100) 16%,var(--surface))}.visit-warehouse-modal-overlay{z-index:56;background:#08101ecc;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);place-items:stretch center;padding-block:clamp(1rem,3vh,2.75rem)}@media (min-width: 1001px){.visit-warehouse-modal-overlay{top:6.32rem;padding-block:clamp(.75rem,2vh,1.25rem)}}.warehouse-deliveries-picker-overlay{z-index:126}.visit-warehouse-modal{width:min(1360px,calc(100vw - 2rem));height:100%;max-height:none;padding:clamp(.58rem,1.15vh,.95rem);gap:clamp(.32rem,.75vh,.52rem);overflow:hidden;grid-template-rows:auto auto minmax(0,auto) minmax(0,1fr) auto}.visit-warehouse-modal__head{justify-content:space-between}.visit-warehouse-modal__head h4{display:inline-flex;align-items:center;gap:.42rem}.visit-warehouse-modal__spinner{width:14px;height:14px;border-radius:999px;border:2px solid color-mix(in srgb,var(--accent) 28%,transparent);border-top-color:var(--accent);animation:dashboard-spinner-rotate .8s linear infinite}.visit-warehouse-modal__toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:.48rem;align-items:end}.visit-warehouse-modal__qty{display:grid;gap:.12rem}.visit-warehouse-modal__qty span{font-size:.74rem;color:var(--text-muted)}.visit-warehouse-modal__qty input{width:86px;height:36px;border:1px solid var(--surface-line);border-radius:10px;background:var(--surface);color:var(--text-main);font:inherit;font-size:.9rem;padding:.44rem .52rem}.visit-warehouse-modal__qty input:focus{outline:none;border-color:color-mix(in srgb,var(--accent) 62%,var(--surface-line));box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 16%,transparent)}.visit-warehouse-modal__search input{width:100%;height:36px;border:1px solid var(--surface-line);border-radius:10px;background:var(--surface);color:var(--text-main);font:inherit;font-size:.92rem;padding:.5rem .62rem;box-shadow:inset 0 1px #ffffff24}.visit-warehouse-modal__search input:focus{outline:none;border-color:color-mix(in srgb,var(--accent) 62%,var(--surface-line));box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 16%,transparent)}.visit-warehouse-modal__toolbar .secondary-btn{height:36px;padding-top:0;padding-bottom:0}.visit-warehouse-modal__status{min-height:0;display:flex;align-items:center}.visit-warehouse-modal__status .customers-error,.visit-warehouse-modal__status .muted{margin:0}.visit-warehouse-modal__split-layout{display:grid;grid-template-rows:minmax(160px,1fr) 8px clamp(118px,180px,30vh);min-height:0;height:auto;gap:0}.visit-warehouse-modal__top,.visit-warehouse-modal__bottom{min-height:0;overflow:auto;margin:0;border:1px solid var(--surface-line);border-radius:12px;background:color-mix(in srgb,var(--surface) 90%,transparent)}.visit-warehouse-modal__top{border-bottom-left-radius:0;border-bottom-right-radius:0}.visit-warehouse-modal__bottom{border-top-left-radius:0;border-top-right-radius:0}.visit-warehouse-modal__bottom-head{display:flex;justify-content:space-between;align-items:center;gap:.5rem;padding:.34rem .56rem .18rem}.visit-warehouse-modal__top-head{display:flex;justify-content:space-between;align-items:center;gap:.55rem;min-height:34px;padding:.34rem .82rem}.visit-warehouse-modal__splitter{border:0;padding:0;margin:0;width:100%;cursor:ns-resize;position:relative;display:block;background:linear-gradient(90deg,transparent 0%,color-mix(in srgb,var(--accent) 26%,transparent) 12%,color-mix(in srgb,var(--accent) 44%,transparent) 50%,color-mix(in srgb,var(--accent) 26%,transparent) 88%,transparent 100%)}.visit-warehouse-modal__splitter:before{content:"";position:absolute;left:50%;top:50%;width:74px;height:4px;border-radius:999px;background:color-mix(in srgb,var(--accent) 66%,var(--surface-line));box-shadow:0 -5px color-mix(in srgb,var(--accent) 52%,transparent),0 5px color-mix(in srgb,var(--accent) 52%,transparent);transform:translate(-50%,-50%);opacity:.8}.visit-warehouse-modal__splitter:hover:before{opacity:1;width:88px}.visit-warehouse-modal__items-table th:nth-child(1),.visit-warehouse-modal__items-table td:nth-child(1){width:96px}.visit-warehouse-modal__items-table th:nth-child(2),.visit-warehouse-modal__items-table td:nth-child(2){width:92px}.visit-warehouse-modal__items-table th:nth-child(3),.visit-warehouse-modal__items-table td:nth-child(3){width:260px}.visit-warehouse-modal__items-table th:nth-child(4),.visit-warehouse-modal__items-table td:nth-child(4){width:116px;white-space:nowrap}.visit-warehouse-modal__items-table th:nth-child(5),.visit-warehouse-modal__items-table td:nth-child(5){width:86px;white-space:nowrap}.visit-warehouse-modal__items-table th:nth-child(6),.visit-warehouse-modal__items-table td:nth-child(6){width:100px;white-space:nowrap}.visit-warehouse-modal__items-table th:nth-child(7),.visit-warehouse-modal__items-table td:nth-child(7){width:88px;white-space:nowrap}.visit-warehouse-modal__items-table th:nth-child(8),.visit-warehouse-modal__items-table td:nth-child(8){width:94px;white-space:nowrap}.visit-warehouse-modal__items-table th:nth-child(9),.visit-warehouse-modal__items-table td:nth-child(9){width:74px;white-space:nowrap}.visit-warehouse-modal__items-table th:nth-child(10),.visit-warehouse-modal__items-table td:nth-child(10){width:98px;white-space:nowrap}.visit-warehouse-modal__items-table th{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.visit-warehouse-modal__items-table{table-layout:fixed}.visit-warehouse-modal__ellipsis{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom}.visit-warehouse-modal__deliveries-table th:first-child,.visit-warehouse-modal__deliveries-table td:first-child{width:36px;text-align:center}.visit-warehouse-modal__deliveries-table th:nth-child(2),.visit-warehouse-modal__deliveries-table td:nth-child(2){width:170px}.visit-warehouse-modal__deliveries-table th:nth-child(3),.visit-warehouse-modal__deliveries-table td:nth-child(3),.visit-warehouse-modal__deliveries-table th:nth-child(4),.visit-warehouse-modal__deliveries-table td:nth-child(4),.visit-warehouse-modal__deliveries-table th:nth-child(5),.visit-warehouse-modal__deliveries-table td:nth-child(5),.visit-warehouse-modal__deliveries-table th:nth-child(6),.visit-warehouse-modal__deliveries-table td:nth-child(6),.visit-warehouse-modal__deliveries-table th:nth-child(7),.visit-warehouse-modal__deliveries-table td:nth-child(7){width:98px;white-space:nowrap}.visit-lines-card{display:grid;gap:.45rem}.visit-lines-head-actions{display:inline-flex;align-items:center;gap:.55rem}.visit-lines-card-head{align-items:center;justify-content:space-between}.visit-lines-card-meta{display:inline-flex;align-items:baseline;gap:.5rem}.visit-lines-card-meta h4{margin:0}.visit-col-group{width:38px;text-align:center}.visit-col-lp{width:52px;text-align:center}.visit-col-koszt{width:50px;text-align:center}.visit-col-num{width:72px;text-align:right}.visit-col-unit{width:52px;text-align:center}.visit-col-actions{width:84px;text-align:right;white-space:nowrap}.visit-lines-table{table-layout:fixed}.visit-lines-table th:nth-child(4),.visit-lines-table td:nth-child(4){width:auto}.visit-row-btn{background:none;border:none;cursor:pointer;color:var(--text-muted);padding:.18rem;border-radius:6px;display:inline-flex;align-items:center;transition:color .15s,background .15s}.visit-line-expand-btn{border:none;background:transparent;color:var(--text-main);border-radius:0;width:22px;height:22px;line-height:1;padding:0;cursor:pointer}.visit-line-row--grouped td{background:color-mix(in srgb,var(--surface-elevated) 76%,transparent)}.visit-line-row__grouped-activity{padding-left:1.2rem!important;color:var(--text-muted)}.visit-line-cell-input{width:100%;min-width:0;border:1px solid transparent;background:transparent;color:inherit;font:inherit;padding:.08rem .2rem;border-radius:6px}.visit-line-cell-value{display:block;min-width:0;padding:.16rem .3rem;line-height:1.2}.visit-line-cell-input:focus{outline:none;border-color:color-mix(in srgb,var(--accent) 45%,var(--surface-line));background:color-mix(in srgb,var(--surface-elevated) 75%,transparent)}.visit-line-cell-input--num{text-align:right}.visit-line-group-price-note{border:1px solid var(--surface-line);border-radius:8px;background:var(--surface);color:var(--text-muted);font-size:.82rem;padding:.42rem .52rem}.visit-lines-empty{text-align:center;color:var(--text-muted);padding:1.6rem 0!important}.visit-lines-empty--rich{padding:0!important}.visit-lines-empty-row:hover{background:transparent!important}.visit-invoice-lines-table--empty tbody .visit-lines-empty-row{height:320px}.visit-lines-empty-state{min-height:100%;height:100%;display:grid;place-items:center;align-content:center;gap:.58rem;padding:1.4rem 1rem;text-align:center}.visit-lines-empty-state__icon{width:54px;height:54px;border-radius:999px;display:inline-grid;place-items:center;color:color-mix(in srgb,var(--accent) 62%,var(--text-muted) 38%);background:color-mix(in srgb,var(--accent) 10%,transparent)}.visit-lines-empty-state strong{color:var(--text-main);font-size:.98rem}.visit-lines-empty-state p{margin:0;color:var(--text-muted);font-size:.84rem}.visit-lines-footer{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:.5rem;padding-top:.35rem}.visit-discount-bar{display:flex;align-items:center;gap:.45rem;flex-wrap:wrap}.visit-discount-toggle{display:inline-flex;align-items:center;gap:.32rem;font-size:.86rem;cursor:pointer}.visit-discount-input{width:80px;border:1px solid var(--surface-line);border-radius:8px;background:var(--surface);color:var(--text-main);font:inherit;padding:.32rem .42rem;font-size:.84rem}.visit-discount-radio{display:inline-flex;align-items:center;gap:.22rem;font-size:.82rem;cursor:pointer}.visit-lines-toolbar{display:flex;gap:.35rem;align-items:center}.visit-lines-warehouse-btn{display:inline-flex;align-items:center;gap:.34rem}.visit-lines-warehouse-btn__label{white-space:nowrap}.visit-icon-btn{padding:.38rem;min-width:auto}.visit-island--footer{display:flex;justify-content:flex-start;gap:.5rem;padding:.6rem .85rem}.visit-top-head{display:flex;align-items:center;justify-content:flex-end;gap:.65rem;margin-bottom:.55rem}.visit-top-head h3{margin:0}.visit-top-head__actions{display:inline-flex;align-items:center;gap:.42rem}.visit-main-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.48rem .56rem}.visit-main-form label{display:grid;gap:.26rem}.visit-main-form span{font-size:.8rem;color:var(--text-muted)}.visit-main-form input,.visit-main-form select{border:1px solid var(--surface-line);border-radius:8px;background:var(--surface-elevated);color:var(--text-main);font:inherit;padding:.42rem .52rem}.visit-main-form__inline{display:grid;grid-template-columns:1fr auto;gap:.4rem;align-items:center}.visit-main-form__company-mode{grid-column:3}.visit-main-form__extra.is-hidden{display:none}.visit-facts-grid{margin:0;display:grid;gap:.42rem}.visit-facts-grid div{display:grid;grid-template-columns:160px 1fr;gap:.5rem;align-items:center}.visit-facts-grid dt{margin:0;font-size:.82rem;color:var(--text-muted);display:inline-flex;align-items:center;gap:.28rem}.visit-facts-grid dd{margin:0;font-weight:600}.visit-inline-btn{margin-left:.48rem;padding:.24rem .46rem;border-radius:8px;font-size:.74rem}.visit-comment-box{margin:0;min-height:82px;padding:.56rem .64rem;border:1px solid var(--surface-line);border-radius:10px;background:var(--surface-elevated);white-space:pre-wrap}.visit-card-grid{display:grid;gap:.55rem}.visit-settlement-layout,.visit-invoice-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(340px,.9fr);gap:.65rem;align-items:start}.visit-summary-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:.6rem;align-items:start}.visit-summary-status{margin-bottom:.42rem;border-radius:8px;border:1px solid #86c06a;background:#a7df8f;color:#11310d;font-weight:700;font-size:.86rem;padding:.35rem .5rem;display:flex;align-items:center;justify-content:flex-start;gap:.45rem}.visit-summary-status__title{display:inline-flex;align-items:center;gap:.34rem}.visit-summary-status__ok-icon{display:inline-flex;align-items:center;justify-content:center;width:1rem;height:1rem;border-radius:999px;border:1px solid #2f9e4f;background:#e7f7eb;color:#1f7a3b}.visit-summary-status--waiting{border-color:#d5b75b;background:#f0df9e;color:#3d2f0a}.visit-summary-status--warning{border-color:#d8a667;background:#f4d3a7;color:#4a2a0b}.visit-summary-status--pending{border-color:#7ca7d4;background:#cfe2f5;color:#143454}.visit-summary-table th,.visit-summary-table td{font-size:.82rem;padding:.42rem .44rem}.visit-summary-table,.visit-summary-table.visit-lines-table{table-layout:auto}.visit-summary-table-wrap{max-height:430px;overflow:auto}.customer-editor-card .customers-table-wrap.visit-summary-table-wrap{max-height:430px;overflow-y:auto;overflow-x:auto}.visit-summary-table th:first-child,.visit-summary-table td:first-child{width:126px;min-width:126px;white-space:nowrap;text-align:left}.visit-summary-status__btn{margin-left:auto;padding:.24rem .5rem;font-size:.76rem;border-radius:8px;background:#fffdf4;border-color:#b59f52;color:#2f2a17}.visit-summary-status__btn:hover:not(:disabled){background:#fff}.visit-summary-status__btn:disabled{opacity:1;color:#8a7a45;background:#f1e7bf}.visit-summary-side{display:grid;gap:.45rem;align-content:start}.visit-summary-add-payment{display:grid;gap:.34rem}.visit-summary-comment{display:grid;gap:.2rem}.visit-summary-comment span{font-size:.78rem;color:var(--text-muted)}.visit-summary-comment input{border:1px solid var(--surface-line);border-radius:8px;background:var(--surface-elevated);color:var(--text-main);font:inherit;padding:.4rem .52rem}.visit-summary-add-payment label{display:grid;gap:.2rem}.visit-summary-add-payment span{font-size:.78rem;color:var(--text-muted)}.visit-summary-add-payment input{border:1px solid var(--surface-line);border-radius:8px;background:var(--surface-elevated);color:var(--text-main);font:inherit;padding:.4rem .52rem}.visit-invoice-left{display:grid;grid-template-rows:minmax(0,1fr);gap:.45rem;height:100%}.visit-invoice-left .customers-table-wrap{height:100%}.visit-invoice-left>.visit-mobile-doc-lines-content{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:.45rem;height:100%;min-width:0}@media (min-width: 761px){.visit-invoice-left>.visit-mobile-doc-lines-content{min-height:390px}}.visit-invoice-entry{display:grid;gap:.35rem;padding-bottom:.4rem;border-bottom:1px solid var(--surface-line)}.visit-invoice-entry__fields{display:grid;grid-template-columns:minmax(160px,1fr) 72px 80px 100px;gap:.4rem;align-items:end}.visit-invoice-entry__fields label{display:grid;gap:.18rem}.visit-invoice-entry__fields span{font-size:.76rem;color:var(--text-muted)}.visit-invoice-entry__fields input,.visit-invoice-entry__fields select{border:1px solid var(--surface-line);border-radius:8px;background:var(--surface-elevated);color:var(--text-main);font:inherit;padding:.38rem .5rem}.visit-invoice-entry__zaco{grid-column:auto}.visit-invoice-entry__short input,.visit-invoice-entry__short select{min-width:0}.visit-invoice-entry__flags{display:flex;flex-wrap:wrap;gap:.55rem 1rem}.visit-invoice-flag{display:inline-flex;align-items:center;gap:.3rem;font-size:.84rem;cursor:pointer;white-space:nowrap}.visit-invoice-lines-table th,.visit-invoice-lines-table td{font-size:.82rem;padding:.42rem .44rem}.visit-invoice-lines-table{table-layout:fixed;width:100%;min-width:100%}.visit-invoice-lines-table th:first-child,.visit-invoice-lines-table td:first-child{width:52px;min-width:52px;text-align:center}.visit-invoice-lines-table th:nth-child(2),.visit-invoice-lines-table td:nth-child(2){width:auto;min-width:260px;white-space:normal;overflow-wrap:anywhere}.visit-invoice-lines-table th:nth-child(3),.visit-invoice-lines-table td:nth-child(3),.visit-invoice-lines-table th:nth-child(4),.visit-invoice-lines-table td:nth-child(4),.visit-invoice-lines-table th:nth-child(5),.visit-invoice-lines-table td:nth-child(5),.visit-invoice-lines-table th:nth-child(6),.visit-invoice-lines-table td:nth-child(6),.visit-invoice-lines-table th:nth-child(7),.visit-invoice-lines-table td:nth-child(7){text-align:center}.visit-invoice-lines-table th:nth-child(3),.visit-invoice-lines-table td:nth-child(3){width:64px;min-width:64px}.visit-invoice-lines-table th:nth-child(4),.visit-invoice-lines-table td:nth-child(4){width:84px;min-width:84px}.visit-invoice-lines-table th:nth-child(5),.visit-invoice-lines-table td:nth-child(5){width:56px;min-width:56px}.visit-invoice-lines-table th:nth-child(6),.visit-invoice-lines-table td:nth-child(6){width:84px;min-width:84px}.visit-invoice-lines-table th:nth-child(7),.visit-invoice-lines-table td:nth-child(7){width:48px;min-width:48px}.visit-invoice-lines-actions{margin-top:.42rem;display:flex;flex-wrap:wrap;gap:.38rem}.visit-invoice-lines-actions .primary-btn,.visit-invoice-lines-actions .secondary-btn{padding:.42rem .78rem;border-radius:10px;font-size:.88rem}.visit-invoice-right h4{margin:0 0 .5rem}.visit-invoice-right{min-width:0}.visit-inv-form{display:grid;gap:.42rem;min-width:0}.visit-inv-form__row{display:grid;grid-template-columns:120px 1fr;gap:.4rem;align-items:center;min-width:0}.visit-inv-form__row>*{min-width:0}.visit-inv-form__label{font-size:.82rem;color:var(--text-muted);white-space:nowrap}.visit-inv-form input,.visit-inv-form select,.visit-inv-form textarea{border:1px solid var(--surface-line);border-radius:8px;background:var(--surface-elevated);color:var(--text-main);font:inherit;padding:.4rem .52rem;width:100%;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis}.visit-inv-form__number-combo{display:grid;grid-template-columns:62px 1fr 68px;gap:.28rem}.visit-inv-form__number-combo>*{min-width:0}.visit-inv-form__nr,.visit-inv-form__year{text-align:center}.visit-inv-form__reg-row{display:flex;align-items:center;gap:.52rem}.visit-inv-form__reg-row input[type=text]{flex:0 0 auto;width:140px}.visit-inv-form__notes{resize:vertical;min-height:48px}@media (min-width: 761px){.visit-invoice-right--estimate .visit-inv-form__notes{min-height:118px}}.visit-inv-form__actions{display:flex;gap:.42rem;justify-content:flex-end;padding-top:.32rem}.action-status{display:flex;align-items:center;gap:.45rem;margin-top:.35rem;padding:.5rem .6rem;border:1px solid var(--surface-line);border-radius:10px;background:var(--surface-elevated);font-size:.82rem;color:var(--text-main)}.action-status--loading{border-color:color-mix(in srgb,var(--surface-line) 68%,var(--accent-strong) 32%)}.action-status--success{border-color:color-mix(in srgb,#2e9f4f 42%,var(--surface-line) 58%);color:color-mix(in srgb,#1f6e36 68%,var(--text-main) 32%)}.action-status--error{border-color:color-mix(in srgb,#d14747 42%,var(--surface-line) 58%);color:color-mix(in srgb,#8f2424 76%,var(--text-main) 24%)}.action-status__spinner{width:14px;height:14px;border-radius:50%;border:2px solid color-mix(in srgb,var(--surface-line) 68%,transparent);border-top-color:var(--accent-strong);animation:dashboard-spinner-rotate .8s linear infinite;flex:0 0 auto}.visit-inv-form__save-bar{display:flex;flex-wrap:wrap;gap:.5rem .75rem;justify-content:flex-end;padding:.45rem .5rem;margin-top:.18rem;border:1px solid var(--surface-line);border-radius:8px;background:var(--surface-elevated)}.visit-receipt-methods{display:flex;flex-wrap:wrap;gap:.42rem .7rem;margin-bottom:.4rem}.visit-invoice-right--receipt{display:grid;align-self:start;position:sticky;top:.65rem;width:100%;min-height:500px}.visit-invoice-layout--receipt{align-items:start}.visit-invoice-layout--receipt .visit-invoice-left .customers-table-wrap{min-height:320px}.visit-invoice-right--receipt .visit-inv-form{display:flex;flex-direction:column;gap:0}.visit-receipt-head{display:flex;align-items:center;justify-content:space-between;gap:.7rem;margin-bottom:.2rem}.visit-receipt-head h4{margin:0}.visit-invoice-right--receipt .visit-receipt-methods{display:flex;flex-direction:row;justify-content:center;gap:1.1rem;margin-top:.3rem;margin-bottom:1.15rem;padding:.28rem .7rem;border:1px solid color-mix(in srgb,var(--surface-line) 78%,transparent);border-radius:8px;background:color-mix(in srgb,var(--surface-elevated) 72%,transparent)}.visit-invoice-right--receipt .visit-receipt-methods .visit-invoice-flag{min-height:1.14rem;font-size:.84rem;line-height:1.1}.visit-invoice-right--receipt .visit-receipt-paid-grid{align-content:start}.visit-invoice-right--receipt .visit-receipt-nip-row{margin-top:.55rem;margin-bottom:0;padding-top:.58rem;border-top:1px solid color-mix(in srgb,var(--surface-line) 70%,transparent)}.visit-invoice-right--receipt .visit-inv-form__actions{margin-top:auto;align-self:end}.visit-receipt-summary{display:flex;justify-content:flex-end;align-items:center;gap:.45rem;margin-bottom:0;flex-wrap:wrap}.visit-receipt-badge{display:inline-flex;align-items:center;gap:.35rem;min-height:2rem;padding:.24rem .58rem;border-radius:999px;border:1px solid color-mix(in srgb,var(--accent) 26%,var(--surface-line) 74%);background:color-mix(in srgb,var(--accent) 10%,var(--surface) 90%)}.visit-receipt-badge__label{font-size:.74rem;font-weight:700;color:var(--text-muted);text-transform:uppercase;letter-spacing:.02em}.visit-receipt-badge strong{font-size:.96rem;color:var(--text-main)}.visit-receipt-paid-grid{display:grid;gap:.35rem}.visit-receipt-paid-grid label{display:grid;gap:.2rem}.visit-receipt-paid-grid span{font-size:.8rem;color:var(--text-muted)}.visit-receipt-paid-grid label>div{display:grid;grid-template-columns:1fr auto;gap:.35rem}.visit-receipt-paid-grid input{border:1px solid var(--surface-line);border-radius:8px;background:var(--surface-elevated);color:var(--text-main);font:inherit;padding:.4rem .5rem}.visit-receipt-nip-row{display:grid;grid-template-columns:auto 1fr;gap:.42rem;align-items:center;margin-top:.9rem;margin-bottom:.4rem}.visit-receipt-nip-row input{border:1px solid var(--surface-line);border-radius:8px;background:var(--surface-elevated);color:var(--text-main);font:inherit;padding:.4rem .5rem}.visit-fields-grid{display:grid;grid-template-columns:1fr 1fr;gap:.45rem .52rem}.visit-fields-grid label{display:grid;gap:.25rem}.visit-fields-grid span{font-size:.8rem;color:var(--text-muted)}.visit-fields-grid input{border:1px solid var(--surface-line);border-radius:8px;background:var(--surface-elevated);color:var(--text-main);font:inherit;padding:.42rem .52rem}.visit-fields-grid__full{grid-column:1 / -1}.visit-panel-actions{grid-column:1 / -1;display:flex;justify-content:flex-end;flex-wrap:wrap;gap:.42rem;margin-top:.24rem}.visit-release-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:.6rem}.visit-release-list{display:grid;gap:.5rem}.visit-release-list label{display:inline-flex;align-items:center;gap:.42rem;font-size:.88rem}.visit-release-row{display:grid;grid-template-columns:minmax(300px,1fr) 110px 110px 150px;align-items:center;gap:.4rem;border-bottom:1px dashed var(--surface-line-soft);padding-bottom:.38rem}.visit-release-row>span{font-size:.88rem;font-weight:500;color:var(--text-main)}.visit-release-row__placeholder{display:block;width:100%}.visit-release-btn{min-width:180px}.visit-release-actions{display:flex;justify-content:center;padding-top:.55rem}.visit-intake-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(320px,.95fr);gap:.6rem;align-items:stretch}.visit-intake-list{min-height:216px;border:1px solid var(--surface-line);border-radius:10px;background:var(--surface-elevated);margin:0;padding:.3rem .35rem;list-style:none;display:grid;align-content:start;gap:.24rem}.visit-intake-list--empty{padding:0;place-items:stretch;align-content:stretch}.visit-intake-add{display:grid;grid-template-columns:1fr auto;gap:.35rem;margin-bottom:.4rem}.visit-intake-add input{border:1px solid var(--surface-line);border-radius:8px;background:var(--surface-elevated);color:var(--text-main);font:inherit;padding:.38rem .5rem}.visit-intake-add-btn{padding:0;width:2.15rem;min-width:2.15rem;height:2.15rem}.visit-intake-item{display:flex;align-items:center;justify-content:flex-end;gap:.35rem;border:1px solid color-mix(in srgb,var(--surface-line) 80%,transparent);background:color-mix(in srgb,var(--surface) 86%,transparent);border-radius:7px;padding:.26rem .36rem;font-size:.84rem}.visit-intake-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.visit-intake-empty{color:var(--text-muted);font-size:.82rem;padding:.25rem .3rem}.visit-intake-empty-state{min-height:214px;display:grid;place-items:center;align-content:center;gap:.56rem;padding:1.25rem 1rem;text-align:center}.visit-intake-empty-state__icon{width:52px;height:52px;border-radius:999px;display:inline-grid;place-items:center;color:color-mix(in srgb,var(--accent) 62%,var(--text-muted) 38%);background:color-mix(in srgb,var(--accent) 10%,transparent)}.visit-intake-empty-state strong{color:var(--text-main);font-size:.98rem}.visit-intake-empty-state p{margin:0;color:var(--text-muted);font-size:.84rem}.visit-intake-consents{display:grid;gap:.42rem;height:100%}.visit-intake-consents__layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:.6rem;align-items:stretch;height:100%}.visit-intake-consents__checks{border:1px solid color-mix(in srgb,var(--surface-line) 76%,transparent);border-radius:10px;background:color-mix(in srgb,var(--surface) 90%,transparent);padding:.52rem .56rem;display:grid;gap:.42rem}.visit-intake-consents__checks{align-content:start}.visit-intake-consents__side{display:grid;grid-template-rows:minmax(0,1fr) auto auto;gap:.42rem;min-height:100%}.visit-intake-consents label.visit-intake-consents__notes{display:grid;grid-template-rows:auto minmax(0,1fr);gap:.24rem;min-height:100%;align-items:stretch}.visit-intake-consents__notes textarea{border:1px solid var(--surface-line);border-radius:8px;background:var(--surface-elevated);color:var(--text-main);font:inherit;padding:.4rem .52rem;resize:none;width:100%;min-height:100%}.visit-intake-consents__actions{display:grid;grid-template-columns:1fr;gap:.42rem}.visit-intake-consents__actions .secondary-btn{width:100%;min-width:0;justify-content:center;display:inline-flex;align-items:center;gap:.4rem}.visit-intake-consents label{display:inline-flex;align-items:center;gap:.4rem;font-size:.86rem}.visit-intake-consents label:has(input[type=text]){display:grid;gap:.24rem}.visit-intake-consents label.visit-intake-consents__guardian{display:grid;gap:.24rem;align-items:stretch}.visit-intake-consents-card{display:grid;grid-template-rows:auto minmax(0,1fr)}.visit-intake-consents input[type=text],.visit-intake-consents select{border:1px solid var(--surface-line);border-radius:8px;background:var(--surface-elevated);color:var(--text-main);font:inherit;padding:.4rem .52rem}.visit-panel-actions--start{justify-content:flex-start}.visit-lines-table th svg{vertical-align:middle;margin-right:.18rem}.visit-lines-table{min-width:0;table-layout:fixed}.visit-line-row--estimate td{background:color-mix(in srgb,#a78bfa 18%,transparent)}.visit-line-row--pending-delete td{opacity:.58;text-decoration:line-through;background:color-mix(in srgb,#f43f5e 10%,transparent)}.visit-line-row--new td{background:color-mix(in srgb,#22c55e 12%,transparent)}.visit-lines-pending-note{margin:.38rem 0 .18rem;font-size:.82rem}.customer-editor-consent{display:inline-flex;align-items:center;gap:.45rem;font-size:.86rem;color:var(--text-muted)}.toolbar-menu-btn{display:none;border:1px solid var(--surface-line);background:color-mix(in srgb,var(--surface-elevated) 95%,transparent);color:var(--text-main);border-radius:10px;min-height:40px;min-width:40px;padding:.42rem;align-items:center;justify-content:center;gap:0;font:inherit;cursor:pointer}.dashboard-overlay{display:none}@media (max-width: 1000px){html,body,#root{width:100%;max-width:100dvw;overflow-x:hidden}.dashboard-shell{grid-template-columns:1fr;grid-template-rows:auto 1fr;overflow-x:clip;max-width:100dvw;width:100%}.dashboard-sidebar{position:fixed;top:0;right:0;bottom:0;left:0;width:100vw;height:100dvh;min-height:100dvh;display:flex;flex-direction:column;transform:none;opacity:0;pointer-events:none;transition:opacity .2s ease;z-index:50;padding:1.1rem .85rem calc(.75rem + env(safe-area-inset-bottom));overflow:hidden}.dashboard-main{grid-column:1;overflow-x:hidden;min-width:0;max-width:100dvw;width:100%}.dashboard-content{min-width:0;max-width:100dvw;width:100%;overflow-x:hidden;box-sizing:border-box}.dashboard-sidebar--compact,.dashboard-sidebar--expanded{width:100dvw;padding:1.1rem .85rem calc(.75rem + env(safe-area-inset-bottom))}.dashboard-nav{flex:1 1 auto;min-height:0;overflow-y:auto}.dashboard-sidebar__bottom{margin-top:auto}.dashboard-sidebar--compact .dashboard-nav__item{justify-content:flex-start;padding:.72rem .8rem;gap:.65rem}.dashboard-sidebar--compact .dashboard-nav__item span:not(.dashboard-nav__badge){max-width:140px;opacity:1;transform:translate(0)}.dashboard-sidebar--open{opacity:1;pointer-events:auto}.icon-btn--mobile{display:inline-flex}.dashboard-overlay{display:block;position:fixed;top:0;right:0;bottom:0;left:0;border:0;background:#00000080;z-index:45}.mobile-nav-bar{position:fixed;left:50%;right:auto;bottom:.8rem;z-index:46;display:flex;align-items:center;justify-content:center;padding:0;transform:translate(-50%)}.mobile-nav-bar__menu{border:1px solid var(--surface-line);background:color-mix(in srgb,var(--surface-elevated) 95%,transparent);color:var(--text-main);border-radius:10px;min-height:40px;min-width:40px;padding:.42rem;display:inline-flex;align-items:center;justify-content:center;gap:0;font:inherit;box-shadow:0 4px 12px #00000024}.dashboard-shell--mobile-list .dashboard-content{padding-bottom:6.6rem}.dashboard-shell--mobile-list .customers-toolbar{position:fixed;left:50%;right:auto;bottom:.8rem;z-index:47;width:fit-content;max-width:calc(100vw - 1.6rem);margin:0;background:color-mix(in srgb,var(--surface) 94%,transparent);border:1px solid color-mix(in srgb,var(--surface-line) 75%,transparent);border-radius:14px;padding:.3rem;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:.42rem;transform:translate(-50%);overflow-x:auto;box-shadow:0 10px 22px #00000030;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.dashboard-shell--mobile-list .customers-actions{display:inline-grid;grid-auto-flow:column;grid-auto-columns:40px;align-items:center;gap:.34rem;flex:0 0 auto}.dashboard-shell--mobile-list .customers-actions .customers-count,.dashboard-shell--mobile-list .customers-toolbar .customers-search{display:none}.dashboard-shell--mobile-list .customers-toolbar .secondary-btn,.dashboard-shell--mobile-list .customers-toolbar .primary-btn{min-height:40px;min-width:40px;width:40px;padding:.42rem;font-size:0;white-space:nowrap;gap:0;justify-content:center;border-radius:10px}.dashboard-shell--mobile-list .customers-toolbar .secondary-btn svg,.dashboard-shell--mobile-list .customers-toolbar .primary-btn svg{width:18px;height:18px}.dashboard-shell--mobile-list .documents-menu-trigger{min-width:40px;justify-content:center;padding-inline:.4rem}.dashboard-shell--mobile-list .documents-menu-trigger svg:last-child{display:none}.dashboard-shell--menu-open .mobile-nav-bar,.dashboard-shell--menu-open .customers-toolbar{opacity:0;pointer-events:none}}.mobile-search-launcher{display:none;min-width:40px;min-height:40px;width:40px;padding:.42rem;border-radius:10px;font-size:0;flex:0 0 auto}.mobile-search-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:70}.mobile-search-modal__backdrop{position:absolute;top:0;right:0;bottom:0;left:0;border:0;background:#0000008f}.mobile-search-modal__panel{position:absolute;left:.8rem;right:.8rem;bottom:5.25rem;display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:.45rem;align-items:center;padding:.55rem;border-radius:14px;border:1px solid color-mix(in srgb,var(--surface-line) 78%,transparent);background:color-mix(in srgb,var(--surface) 96%,transparent);box-shadow:0 10px 24px #00000038}.mobile-search-modal__panel input{border:1px solid var(--surface-line);border-radius:10px;background:var(--surface-elevated);color:var(--text-main);font:inherit;min-height:40px;padding:.5rem .62rem}.mobile-search-modal__submit,.mobile-search-modal__close{min-width:40px;min-height:40px;padding:.45rem;display:inline-flex;align-items:center;justify-content:center;font-size:0}@media (max-width: 1000px){.dashboard-shell--mobile-list .mobile-search-launcher,.dashboard-shell--mobile-list .toolbar-menu-btn{display:inline-flex}.dashboard-shell--mobile-list .customers-toolbar{display:flex;flex-direction:row;align-items:center;justify-content:center;width:fit-content}.dashboard-shell--mobile-list .customers-actions{display:inline-grid;grid-auto-flow:column;grid-auto-columns:40px;gap:.34rem}.dashboard-shell--mobile-list .customers-toolbar .secondary-btn,.dashboard-shell--mobile-list .customers-toolbar .primary-btn,.dashboard-shell--mobile-list .mobile-search-launcher{width:40px;min-width:40px;min-height:40px;padding:.42rem;font-size:0}.dashboard-shell--mobile-list .customers-toolbar .customers-count,.dashboard-shell--mobile-list .customers-toolbar .customers-search{display:none}.dashboard-shell--mobile-list .customers-btn-new,.dashboard-shell--mobile-list .customers-btn-delete,.dashboard-shell--mobile-list .customers-btn-edit{grid-area:auto;font-size:0;padding:.42rem}}@media (max-width: 900px){.customers-pagination,.customers-toolbar,.customers-table-wrap{width:100%}.customers-shell>.customers-toolbar,.customers-shell>.customers-table-wrap,.customers-shell>.customers-pagination{width:100%;max-width:100%;margin-inline:0}.login-grid{grid-template-columns:1fr}.login-footer,.customers-toolbar{flex-direction:column;align-items:stretch}.customers-actions{justify-content:flex-end}.customers-search{width:100%;margin-left:0}.warehouse-form-columns{grid-template-columns:1fr}}@media (max-width: 760px){.dashboard-shell,.dashboard-main,.dashboard-content,.customers-shell{width:100%;max-width:100vw;min-width:0;box-sizing:border-box}.dashboard-content{padding:.8rem .7rem 1.2rem}.customers-shell{width:100%;min-width:0}.customers-shell>.customers-table-wrap{width:100%;max-width:100%;min-width:0;box-sizing:border-box;margin-inline:0}.dashboard-titlebar{display:flex;justify-content:space-between;gap:.6rem;padding:.42rem .62rem .5rem}.dashboard-titlebar__left{min-width:0;position:relative;justify-content:flex-start;gap:.7rem}.dashboard-titlebar__left .env-badge{position:static;transform:none}.dashboard-titlebar__right{display:inline-flex;align-items:center;gap:.35rem}.dashboard-titlebar__right>.secondary-btn:not(.titlebar-mobile-action),.dashboard-titlebar__right>.titlebar-profile,.dashboard-titlebar__right>.titlebar-customer-chat{display:none}.dashboard-titlebar__right>.titlebar-notifications .titlebar-notifications-trigger{min-width:40px;width:40px;height:36px;padding:0;justify-content:center}.dashboard-titlebar__right>.titlebar-notifications .titlebar-notifications-menu{position:fixed;top:var(--titlebar-height, 48px);right:0;left:0;bottom:0;width:auto;max-height:none;border-radius:0;border:0;border-top:1px solid color-mix(in srgb,var(--surface-line) 68%,transparent);box-shadow:none;padding:.65rem .7rem .8rem;background:color-mix(in srgb,var(--surface) 98%,transparent);z-index:36}.dashboard-titlebar__right>.titlebar-notifications .titlebar-notifications-menu__list{min-height:0;padding-right:.2rem;display:flex;flex-direction:column;gap:.65rem;align-items:stretch}.dashboard-titlebar__right>.titlebar-notifications .titlebar-notifications-item{width:100%;max-width:100%;flex:0 0 auto}.dashboard-titlebar__right>.titlebar-notifications .titlebar-notifications-item--improvement-comment,.dashboard-titlebar__right>.titlebar-notifications .titlebar-notifications-item--improvement-status-new,.dashboard-titlebar__right>.titlebar-notifications .titlebar-notifications-item--improvement-status-in-progress,.dashboard-titlebar__right>.titlebar-notifications .titlebar-notifications-item--improvement-status-waiting,.dashboard-titlebar__right>.titlebar-notifications .titlebar-notifications-item--improvement-status-reopened,.dashboard-titlebar__right>.titlebar-notifications .titlebar-notifications-item--improvement-status-completed,.dashboard-titlebar__right>.titlebar-notifications .titlebar-notifications-item--improvement-status-rejected{min-height:108px;height:108px;max-height:108px;overflow:hidden}.dashboard-titlebar__right>.titlebar-notifications .titlebar-notifications-item__open{display:none}.dashboard-titlebar__right>.titlebar-notifications .titlebar-notifications-item__content{padding-right:.8rem;padding-bottom:.2rem}.dashboard-titlebar__right>.titlebar-notifications .titlebar-notifications-item__title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-clamp:2;overflow:hidden;text-overflow:ellipsis}.dashboard-titlebar__right>.titlebar-notifications .titlebar-notifications-item__message em{display:inline-flex;align-items:center;gap:.34rem;min-width:0;max-width:100%}.dashboard-titlebar__right>.titlebar-notifications .titlebar-notifications-item__message em .titlebar-notifications-item__truncate{flex:1 1 auto;min-width:0}.dashboard-titlebar__right>.titlebar-notifications .titlebar-notifications-item--improvement-comment .titlebar-notifications-item__content,.dashboard-titlebar__right>.titlebar-notifications .titlebar-notifications-item--improvement-status-new .titlebar-notifications-item__content,.dashboard-titlebar__right>.titlebar-notifications .titlebar-notifications-item--improvement-status-in-progress .titlebar-notifications-item__content,.dashboard-titlebar__right>.titlebar-notifications .titlebar-notifications-item--improvement-status-waiting .titlebar-notifications-item__content,.dashboard-titlebar__right>.titlebar-notifications .titlebar-notifications-item--improvement-status-reopened .titlebar-notifications-item__content,.dashboard-titlebar__right>.titlebar-notifications .titlebar-notifications-item--improvement-status-completed .titlebar-notifications-item__content,.dashboard-titlebar__right>.titlebar-notifications .titlebar-notifications-item--improvement-status-rejected .titlebar-notifications-item__content{padding-bottom:.2rem}.dashboard-titlebar__right>.titlebar-notifications .titlebar-notifications-menu__mark-all{width:auto;min-width:0;min-height:1.8rem;padding:.16rem .5rem;font-size:.72rem;border-radius:8px;flex:0 0 auto}.sidebar-mobile-tools{display:grid;gap:.45rem;margin-top:auto;margin-left:-.85rem;margin-right:-.85rem;padding:.65rem .85rem 0;border-top:1px solid #ffffff1f}.sidebar-mobile-tools .titlebar-user{font-size:.82rem}.theme-picker--sidebar,.theme-select--sidebar{width:100%}.secondary-btn--sidebar{width:100%;justify-content:center}.customers-toolbar{display:grid;grid-template-columns:1fr;gap:.6rem}.customers-actions{display:grid;grid-template-columns:1fr 1fr;grid-template-areas:"new delete" "edit edit" "count count";gap:.45rem;align-items:stretch}.customers-btn-new{grid-area:new;font-size:.9rem;padding:.52rem .7rem}.customers-btn-delete{grid-area:delete;font-size:.9rem;padding:.52rem .7rem}.customers-count{grid-area:count;justify-self:end;margin-top:.1rem;font-size:.84rem}.customers-btn-edit{grid-area:edit;font-size:.9rem;padding:.52rem .7rem}.customers-search{width:100%;margin-left:0}.customers-btn-search{font-size:.92rem;padding:.52rem .7rem}.customers-table{min-width:0}.customers-table th,.customers-table td{padding:.52rem .4rem;font-size:.86rem}.customers-table th:first-child,.customers-table td:first-child{width:34px}.customers-shell .customers-table th:first-child,.customers-shell .customers-table td:first-child{width:auto}.customer-editor__header{grid-template-columns:1fr}.customer-editor__header-tools{justify-self:start}.car-profile-header{padding-right:0}.car-profile-header-right{position:static;max-width:100%;justify-self:start;flex-wrap:wrap}.car-profile-owner-badge{max-width:100%;justify-self:start}.customer-editor-comment-box{min-width:0;max-width:100%}.customer-editor__comment-popover{left:0;right:auto;width:min(420px,calc(100vw - 3.2rem))}.customer-editor__top-grid,.car-profile-layout,.car-profile-bottom-layout,.customer-editor-visits-grid,.customer-editor-companies-grid,.visit-summary-layout,.visit-invoice-layout,.visit-settlement-layout,.visit-release-grid,.visit-intake-layout,.visit-intake-consents__layout,.visit-intake-consents__actions{grid-template-columns:1fr}.visit-release-row{grid-template-columns:1fr;align-items:start}.customer-editor__actions{grid-template-columns:1fr;align-items:stretch}.customer-editor__actions-right{justify-content:stretch}.customer-editor-section-head{flex-wrap:wrap;align-items:flex-start}.customer-car-modal{width:min(700px,96vw)}.customer-car-modal__body{grid-template-columns:1fr}.customer-car-modal__comment-panel textarea{min-height:180px}.visit-lines-card-head{justify-content:flex-start;gap:.45rem}.visit-lines-card-meta{flex-wrap:wrap;gap:.3rem .5rem}.customer-editor-visits-headline{flex-wrap:wrap;align-items:flex-start}.customer-details-shell{width:100%;margin:0}.customer-editor-card--tabs{grid-template-rows:auto}.customer-editor-tab-panel{overflow:visible;padding-right:0}.visit-facts-grid div{grid-template-columns:1fr;gap:.2rem}.visit-header-badges{justify-content:flex-start}.visit-header-right{flex-direction:column;width:100%}.visit-header-sum{align-items:flex-start}.visit-header-issuer{max-width:100%}.visit-info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.visit-std-actions-grid{grid-template-columns:1fr}.vsa-row{grid-template-columns:minmax(108px,1fr) minmax(0,1fr) 62px;gap:.32rem;align-items:center}.vsa-row__details-wrap{grid-template-columns:minmax(0,1fr) auto auto;gap:.24rem;min-width:0}.vsa-row__input{min-width:0;padding:.2rem .3rem}.vsa-row__price{width:62px;min-width:62px;justify-self:end;padding:.2rem .28rem}.visit-pos-entry__main-row,.visit-pos-entry__meta-grid,.visit-pos-entry__warehouse-meta{grid-template-columns:1fr}.visit-pos-entry__activity{min-width:0}.warehouse-deliveries-picker-overlay{z-index:126}.visit-warehouse-modal{width:min(96vw,1360px);max-height:92vh}.visit-warehouse-modal__split-layout{grid-template-rows:minmax(180px,1fr) 8px 160px!important;height:min(70vh,620px)}.visit-warehouse-modal__splitter{display:none}.visit-fields-grid{grid-template-columns:1fr}.visit-invoice-entry__fields{grid-template-columns:1fr 1fr}.visit-inv-form__row{grid-template-columns:1fr;gap:.2rem}.visit-inv-form__number-combo{grid-template-columns:1fr}.visit-inv-form__reg-row{flex-wrap:wrap}.visit-receipt-nip-row{grid-template-columns:1fr}.visit-invoice-right--receipt{position:static;width:100%;min-height:unset}.visit-receipt-head{flex-wrap:wrap;gap:.4rem}.visit-receipt-summary{flex-wrap:wrap;justify-content:flex-start}.visit-invoice-right--receipt .visit-receipt-methods{flex-wrap:wrap;justify-content:flex-start;gap:.5rem}.visit-invoice-right--receipt .visit-inv-form__actions{flex-wrap:wrap;gap:.4rem}.visit-invoice-right--receipt .visit-inv-form__actions button{flex:1 1 auto;min-width:0}.visit-lines-empty-state{text-align:center}.visit-header-context{flex-direction:column;align-items:flex-start}.visit-main-form{grid-template-columns:1fr}.visit-main-form__company-mode{grid-column:auto}}@media (max-width: 860px){.login-card{grid-template-columns:1fr;width:min(620px,100%)}.login-showcase{border-right:0;border-bottom:1px solid #ffffff14;padding:1.3rem 1.2rem;min-height:180px}.login-logo img{width:230px;height:52px}.login-showcase__visual{min-height:120px}.login-form-panel{padding:1.2rem}.visit-info-grid{grid-template-columns:1fr}.visit-comment-drawer-tab{top:auto;bottom:22px;transform:none}.visit-comment-drawer-tab--open{right:min(90vw,340px)}}@media (max-width: 560px){.customer-car-modal{padding:.7rem}.customer-car-modal__head h3{font-size:1rem}.customer-car-modal__owner{position:static;max-width:100%}.customer-car-modal__footer{flex-direction:column;align-items:stretch}.customer-car-modal__actions{justify-content:flex-end}.customer-car-modal__fieldset label{grid-template-columns:1fr;gap:.2rem;align-items:start}.customer-car-modal__row--narrow input,.customer-car-modal__row--tiny input,.customer-car-modal__row--medium input{width:100%}.car-profile-field{grid-template-columns:1fr;gap:.2rem}.car-profile-history-layout{grid-template-rows:auto auto!important;gap:.5rem;height:auto;max-height:none;min-height:0}.car-profile-history-layout .customers-table-wrap{max-height:none}.car-profile-comment-panel textarea{min-height:160px}.car-profile-field--checkbox{align-items:flex-start}.login-page{min-height:100dvh;padding:.8rem;display:flex;align-items:center;justify-content:center}.login-card{border-radius:14px;margin:0 auto}.login-showcase{padding:1rem}.login-showcase .login-logo{margin-inline:auto}.login-logo img{width:200px;height:44px}.login-showcase__visual{min-height:96px}.action-row,.customers-search{flex-direction:column}.login-form-panel__actions{flex-direction:row;justify-content:flex-end}.login-form-panel__actions .primary-btn,.login-form-panel__actions .secondary-btn{width:10.6rem;min-width:10.6rem;max-width:10.6rem}.primary-btn,.secondary-btn{width:100%}.dashboard-titlebar .theme-picker{flex:1}.customers-toolbar .primary-btn,.customers-toolbar .secondary-btn{width:auto}.dashboard-topbar{flex-direction:column;align-items:stretch}.dashboard-topbar__actions{justify-content:flex-end}.dashboard-topbar .secondary-btn{width:auto}.theme-picker{flex:1}.customers-pagination{justify-content:flex-end}}@media (max-width: 520px){.customers-col-email{display:none}}@media (max-width: 430px){.customers-col-phone,.customers-col-portal{display:none}}.customers-col-portal{width:120px;min-width:120px;text-align:right;vertical-align:middle}.brand-logo{display:inline-flex;align-items:center;justify-content:center}.brand-logo img{display:block;border:0}.login-logo img{width:280px;height:62px}.dashboard-logo img{width:130px;height:32px;margin:0 0 0 5px}.documents-shell{display:grid;gap:1rem}.documents-toolbar{display:grid;gap:.9rem;padding:1rem 1.1rem;background:linear-gradient(180deg,#f1f6fdf5,#e7eff9f5);border:1px solid rgba(124,151,182,.26);border-radius:20px;box-shadow:0 18px 40px #24395614}.documents-toolbar__actions{display:flex;flex-wrap:wrap;gap:.65rem}.documents-toolbar__meta{display:flex;gap:1rem;align-items:end;justify-content:flex-end;flex-wrap:wrap}.documents-toolbar__date{display:grid;gap:.35rem;min-width:220px;color:var(--text-muted, #52637a);font-size:.9rem}.documents-toolbar__date input{min-height:42px;padding:.65rem .8rem;border-radius:12px;border:1px solid rgba(117,140,169,.35);background:#fffffff2}.documents-search{min-width:min(100%,460px)}.documents-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.9fr);gap:1rem;align-items:start}.documents-table-wrap{min-height:620px}.documents-infinite-sentinel,.customers-infinite-sentinel{width:100%;height:1px}.new-customer-shell{width:min(82%,1300px);margin:0 auto}.new-customer-card{border:1px solid var(--surface-line);border-radius:14px;background:color-mix(in srgb,var(--surface) 92%,var(--surface-elevated) 8%);padding:1rem;display:grid;gap:1rem}.new-customer-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:.95rem 1rem}.new-customer-grid label{grid-column:span 2}.new-customer-grid label:nth-child(4),.new-customer-grid label:nth-child(5){grid-column:span 3}.new-customer-grid label{display:grid;gap:.3rem}.new-customer-grid span{font-size:.84rem;font-weight:700;color:var(--text-muted)}.new-customer-grid input{width:100%;border:1px solid var(--surface-line);border-radius:10px;background:var(--surface-elevated);color:var(--text-main);padding:.52rem .62rem;font:inherit;font-size:.95rem;transition:border-color .14s ease,box-shadow .14s ease,background-color .14s ease}.new-customer-grid input:focus-visible{outline:none;border-color:color-mix(in srgb,var(--accent) 56%,var(--surface-line) 44%);box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 20%,transparent)}.new-customer-companies{display:grid;gap:.6rem}.new-customer-companies__table-wrap{overflow:hidden;border:1px solid var(--surface-line);border-radius:12px;background:color-mix(in srgb,var(--surface) 90%,transparent)}.new-customer-companies__head{display:flex;align-items:center;justify-content:space-between;gap:.6rem}.new-customer-companies__head h3{margin:0;font-size:1rem}.new-customer-companies-table th:last-child,.new-customer-companies-table td:last-child{text-align:center}.new-customer-companies-table th:first-child,.new-customer-companies-table td:first-child{text-align:left}.new-customer-companies-table{table-layout:fixed;min-width:0}.new-customer-companies-table th,.new-customer-companies-table td{vertical-align:middle}.new-customer-companies-table td{white-space:normal;overflow-wrap:anywhere}.new-customer-companies-table__col--name{width:27%}.new-customer-companies-table__col--street{width:14%}.new-customer-companies-table__col--house,.new-customer-companies-table__col--apartment{width:8%}.new-customer-companies-table__col--postal{width:11%}.new-customer-companies-table__col--city{width:14%}.new-customer-companies-table__col--nip,.new-customer-companies-table__col--actions{width:10%}.new-customer-companies-table__actions{display:inline-flex;align-items:center;justify-content:center;gap:.45rem}.new-customer-companies-table__icon-btn{width:22px;height:22px;border:0;border-radius:6px;padding:0;display:inline-grid;place-items:center;color:var(--text-muted);background:transparent;cursor:pointer;transition:color .14s ease,background-color .14s ease}.new-customer-companies-table__icon-btn:hover,.new-customer-companies-table__icon-btn:focus-visible{color:var(--text-main);background:color-mix(in srgb,var(--accent) 8%,transparent);outline:none}.new-customer-companies-table__empty-row td{padding:0}.customer-details-shell .customer-editor-card--company-list-table .new-customer-companies__head .secondary-btn,.new-customer-shell .new-customer-companies__head .secondary-btn{min-height:30px;padding:.32rem .58rem;font-size:.82rem}.customer-details-shell .customer-editor-card--company-list-table .customer-editor-companies-table-wrap{margin-top:.5rem}.customer-details-shell .customer-editor-companies-table th,.customer-details-shell .customer-editor-companies-table td{border-left:0;border-right:0}.customers-table tbody tr.new-customer-companies-table__empty-row:hover,[data-theme=light-red] .customers-table tbody tr.new-customer-companies-table__empty-row:hover{background:transparent}.new-customer-companies-empty{min-height:245px;display:grid;place-items:center;align-content:center;gap:.65rem;padding:2rem 1rem;text-align:center}.new-customer-companies-empty__icon{width:72px;height:72px;border-radius:50%;display:grid;place-items:center;color:color-mix(in srgb,var(--accent) 52%,var(--text-muted) 48%);background:color-mix(in srgb,var(--accent) 7%,var(--surface-elevated) 93%)}.new-customer-companies-empty strong{color:var(--text-main);font-size:1.05rem}.new-customer-companies-empty p{margin:0;color:var(--text-muted)}.new-customer-companies-empty .primary-btn{margin-top:.25rem}.new-customer-actions{display:flex;justify-content:flex-end;gap:.55rem}.new-customer-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:color-mix(in srgb,#081326 74%,transparent);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:45;display:grid;place-items:center;padding:1rem}.new-customer-modal{width:min(620px,calc(100vw - 2rem));border:1px solid var(--surface-line);border-radius:14px;background:color-mix(in srgb,var(--surface) 94%,var(--surface-elevated) 6%);box-shadow:0 26px 56px color-mix(in srgb,#07162b 34%,transparent);padding:.95rem;display:grid;gap:.85rem;overflow:hidden}.new-customer-modal__head{display:flex;align-items:center;justify-content:space-between;margin:-.95rem -.95rem 0;padding:.82rem .95rem;border-bottom:1px solid color-mix(in srgb,var(--surface-line) 78%,transparent);background:linear-gradient(90deg,color-mix(in srgb,var(--surface-elevated) 94%,transparent),color-mix(in srgb,var(--surface) 96%,transparent))}.new-customer-modal__head h4{margin:0;display:inline-flex;align-items:center;gap:.45rem;font-family:Manrope,Segoe UI,sans-serif;font-size:1.06rem;font-weight:700;letter-spacing:0}.new-customer-modal__form{display:grid;gap:.52rem;padding:.1rem 0}.new-customer-modal__form label{display:grid;grid-template-columns:116px minmax(0,1fr);gap:.48rem;align-items:center}.new-customer-modal__form span{font-size:.84rem;color:var(--text-main)}.new-customer-modal__form input{width:100%;border:1px solid var(--surface-line);border-radius:10px;background:var(--surface-elevated);color:var(--text-main);padding:.48rem .56rem;font:inherit;font-size:.94rem}.new-customer-modal__form input:focus-visible{outline:none;border-color:color-mix(in srgb,var(--accent) 56%,var(--surface-line) 44%);box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 20%,transparent)}.new-customer-modal__lookup-control{display:grid;grid-template-columns:minmax(0,1fr) 38px;gap:.4rem;align-items:center}.new-customer-modal__lookup-btn{width:38px;height:38px;border:1px solid color-mix(in srgb,var(--accent) 42%,var(--surface-line) 58%);border-radius:10px;background:color-mix(in srgb,var(--accent) 12%,var(--surface-elevated) 88%);color:var(--accent);display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.new-customer-modal__lookup-btn:hover:not(:disabled),.new-customer-modal__lookup-btn:focus-visible{background:color-mix(in srgb,var(--accent) 18%,var(--surface-elevated) 82%);border-color:color-mix(in srgb,var(--accent) 62%,var(--surface-line) 38%);outline:none}.new-customer-modal__lookup-btn:disabled{cursor:wait;opacity:.72}.new-customer-modal__lookup-spinner{animation:dashboard-spinner-rotate .9s linear infinite}.new-customer-modal__lookup-status{margin:-.15rem 0 .1rem 116px;color:var(--text-muted);font-size:.84rem}.new-customer-modal__actions{display:flex;justify-content:flex-end;gap:.55rem}.documents-table td,.documents-table th,.documents-table thead th{vertical-align:middle}.documents-col--select{width:40px}.documents-col--number{width:160px}.documents-col--date{width:128px}.documents-col--type{width:190px}.documents-col--gross{width:132px}.documents-col--ksef-status{width:138px}.documents-col--ksef-mode{width:118px}.documents-col--actions{width:88px}.customers-shell .documents-table th:first-child,.customers-shell .documents-table td:first-child{width:34px;min-width:34px;max-width:34px;text-align:center}.documents-table tbody .customers-table__row td:first-child{position:relative}.documents-table tbody .customers-table__row td:first-child:before{content:"";position:absolute;left:4px;top:.34rem;bottom:.34rem;width:4px;border-radius:8px;background:var(--documents-type-accent, color-mix(in srgb, var(--surface-line) 60%, transparent));pointer-events:none}.documents-row--invoice{--documents-type-accent: #4f87c2}.documents-row--correction{--documents-type-accent: #f2994a}.documents-row--statement{--documents-type-accent: #8b6fb8}.documents-row--estimate{--documents-type-accent: #27ae60}.documents-row--receipt{--documents-type-accent: #8aa1b5}.documents-table__select-col{width:40px;min-width:40px;max-width:40px;text-align:center;vertical-align:middle!important;padding-left:.24rem!important;padding-right:.24rem!important}.documents-table__select-col input[type=checkbox]{margin:auto;display:block}.documents-table tbody td.documents-table__select-col{border-bottom:1px solid color-mix(in srgb,var(--surface-line) 80%,transparent)}.documents-table__actions-col{width:140px;min-width:140px;text-align:right}.documents-row-actions{display:inline-flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:.22rem}.documents-row-action-btn{background:none;border:none;cursor:pointer;color:var(--text-muted);padding:.18rem;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;transition:color .15s,background .15s}.documents-row-action-btn:hover:not(:disabled){color:var(--text-main);background:color-mix(in srgb,var(--accent) 14%,transparent)}.documents-row-action-btn:disabled{opacity:.58;cursor:not-allowed}.documents-table__main{font-weight:600}.documents-table__sub{margin-top:.2rem;color:#6b7a90;font-size:.82rem}@media (max-width: 760px){.documents-row-actions{justify-content:flex-start}.documents-table__actions-col{width:auto;min-width:0;text-align:left}.documents-table td[data-label=Numer] strong{white-space:nowrap}}.documents-sidebar{display:grid;gap:1rem}.documents-card{padding:1rem 1.1rem;background:linear-gradient(180deg,#fffffffa,#f6f9fcfa);border:1px solid rgba(125,145,170,.22);border-radius:18px;box-shadow:0 14px 34px #283a5214}.documents-card h3{margin:0 0 .9rem;font-size:1rem;color:#102f57}.documents-details-grid{display:grid;gap:.8rem;margin:0}.documents-details-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.documents-details-grid div{display:grid;grid-template-columns:132px minmax(0,1fr);gap:.8rem;align-items:start}.documents-details-grid dt{color:#697b91;font-size:.9rem}.documents-details-grid dd{margin:0;font-weight:600;white-space:pre-wrap;font-size:.92rem}.documents-details-grid__multiline{white-space:pre-wrap}.documents-ksef-grid{display:grid;gap:.8rem;align-content:start}.documents-ksef-grid label{display:grid;gap:.35rem;color:#697b91;font-size:.9rem}.documents-ksef-grid input{min-height:40px;padding:.65rem .8rem;border-radius:12px;border:1px solid var(--surface-line);background:var(--surface-elevated);color:var(--text-main);font-family:Rajdhani,Segoe UI,sans-serif;font-size:1.04rem;font-weight:600;letter-spacing:.03em}.documents-ksef-status{min-height:40px;display:flex;align-items:center}.documents-ksef-head{display:flex;align-items:center;gap:.5rem;margin-bottom:.15rem}.documents-ksef-head h2{margin:0;order:1}.documents-ksef-head .documents-ksef-pill{order:3}.documents-ksef-topbar{display:flex;align-items:center;justify-content:flex-end;gap:.5rem;margin-bottom:.22rem}.documents-ksef-pill{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:.2rem .65rem;border-radius:999px;color:#fff;font-size:.82rem;font-weight:700;background:#64748b}.documents-ksef-pill--accepted{background:#4caf50}.documents-ksef-pill--pending-send{background:#dc2626;box-shadow:0 0 #dc262680;animation:documents-ksef-pulse 1.25s ease-in-out infinite;transform-origin:center}.documents-ksef-cell{display:inline-flex;align-items:center;gap:.38rem;flex-wrap:wrap}@keyframes documents-ksef-pulse{0%{transform:scale(1);box-shadow:0 0 #dc262670}45%{transform:scale(1.06)}70%{box-shadow:0 0 0 8px #dc262600}to{transform:scale(1);box-shadow:0 0 #dc262600}}@media (prefers-reduced-motion: reduce){.documents-ksef-pill--pending-send{animation:none}}.documents-ksef-mode-pill{display:inline-flex;align-items:center;justify-content:center;min-height:22px;padding:.08rem .48rem;border-radius:999px;border:1px solid transparent;font-size:.72rem;font-weight:700;line-height:1;letter-spacing:.01em}.documents-ksef-mode-pill--online{background:color-mix(in srgb,#3b82f6 14%,#ffffff);border-color:color-mix(in srgb,#3b82f6 42%,#ffffff);color:color-mix(in srgb,#1d4ed8 86%,#0f172a)}.documents-ksef-mode-pill--offline{background:color-mix(in srgb,#f59e0b 18%,#ffffff);border-color:color-mix(in srgb,#f59e0b 44%,#ffffff);color:color-mix(in srgb,#b45309 86%,#111827)}.documents-ksef-mode-pill--other{background:color-mix(in srgb,#64748b 12%,#ffffff);border-color:color-mix(in srgb,#64748b 36%,#ffffff);color:#334155}.documents-ksef-error{margin:0;padding:.8rem .9rem;border-radius:12px;background:#cb3d3d1a;color:#8f2424;font-size:.88rem}.documents-action-message{margin:.8rem 0 0;padding:.86rem .96rem;border-radius:14px;border:1px solid color-mix(in srgb,var(--surface-line) 68%,transparent);background:color-mix(in srgb,var(--surface-elevated) 82%,transparent);box-shadow:0 10px 22px #0f172a1c;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);color:color-mix(in srgb,var(--text-main) 88%,#1a4d85)}.documents-toolbar-flat{gap:.8rem}.documents-actions-flat{row-gap:.65rem;column-gap:.55rem;flex-wrap:wrap}.documents-search-flat{margin-left:auto}.documents-action-btn{min-height:38px;min-width:128px}.documents-action-btn.documents-action-btn--disabled{opacity:1;background:#e7ebf1!important;border-color:#c6d0df!important;color:#8a97aa!important;filter:grayscale(.15);cursor:not-allowed}[data-theme=dark] .documents-action-btn.documents-action-btn--disabled,[data-theme=dark-graphite] .documents-action-btn.documents-action-btn--disabled{background:#364051!important;border-color:#4b5668!important;color:#98a5ba!important}.documents-duplicate-modal{--modal-pad-x: .9rem;--modal-pad-y: .9rem;width:min(520px,calc(100vw - 1.5rem));gap:.62rem}.documents-duplicate-modal__body{display:grid;gap:.52rem;padding-top:.1rem}.documents-duplicate-modal__body label{display:grid;gap:.38rem;color:var(--text-muted);font-size:.88rem;font-weight:600}.documents-duplicate-modal__body input{min-height:2.65rem;padding:.62rem .78rem;border-radius:12px;border:1px solid var(--surface-line);background:var(--field-bg);color:var(--text-main);font:inherit;font-family:inherit}.documents-preview-shell{width:min(980px,100%);margin:0 auto;display:grid;gap:.8rem}.documents-preview-groupbox{border:1px solid var(--surface-line);background:color-mix(in srgb,var(--surface) 90%,transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--surface-line) 40%,transparent);display:grid;gap:.9rem;padding:.95rem}.documents-preview-groupbox__top{display:flex;justify-content:space-between;align-items:flex-start;gap:.6rem}.documents-preview-groupbox__head{display:grid;gap:.14rem}.documents-preview-groupbox__head h3{margin:0;font-size:1.15rem;line-height:1.15;font-family:Rajdhani,Segoe UI,sans-serif;font-weight:700}.documents-preview-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:.24rem}.documents-preview-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:.85rem;align-items:start}.documents-preview-card{display:grid;gap:.7rem;padding:1rem 1.08rem;align-content:start}.documents-preview-card--full{padding-top:.88rem}.documents-preview-card--ksef{align-content:start}.documents-ksef-actions{display:flex;flex-wrap:wrap;gap:.38rem}.documents-ksef-actions--inline{order:2;margin-left:auto;justify-content:flex-end;align-items:center}.documents-preview-card h2{margin:0 0 .35rem;font-size:1.12rem;line-height:1.15;font-family:Rajdhani,Segoe UI,sans-serif;font-weight:700}.documents-upo-link{text-decoration:none;width:fit-content}.documents-upo-btn{min-height:28px;padding:.22rem .5rem;border-radius:8px;display:inline-flex;align-items:center;gap:.28rem;font-size:.78rem;line-height:1;text-decoration:none}.documents-upo-btn svg{width:.88rem;height:.88rem}.documents-lines-wrap{min-height:0;max-height:360px;overflow:auto;-webkit-overflow-scrolling:touch}.documents-lines-table th,.documents-lines-table td{white-space:nowrap}.documents-lines-table th:nth-child(2),.documents-lines-table td:nth-child(2){white-space:normal}@media (min-width: 761px){.documents-lines-table{table-layout:auto}.documents-lines-table th:nth-child(1),.documents-lines-table td:nth-child(1){width:46px}.documents-lines-table th:nth-child(3),.documents-lines-table td:nth-child(3){width:72px}.documents-lines-table th:nth-child(4),.documents-lines-table td:nth-child(4){width:68px}.documents-lines-table th:nth-child(5),.documents-lines-table td:nth-child(5){width:96px}.documents-lines-table th:nth-child(6),.documents-lines-table td:nth-child(6){width:72px}.documents-lines-table th:nth-child(7),.documents-lines-table td:nth-child(7){width:108px}}.documents-preview-correction-lines{display:grid;gap:.75rem}.documents-preview-card--details .documents-details-grid div{grid-template-columns:128px minmax(0,1fr);gap:.62rem;align-items:center}.documents-preview-card--details .documents-details-grid__multiline{white-space:pre-line}.documents-preview-card--ksef .documents-ksef-grid{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:.8rem}.documents-preview-card--ksef .documents-ksef-error{grid-column:1 / -1}.documents-flag-badge{display:inline-flex;align-items:center;justify-content:center;min-height:24px;padding:.12rem .56rem;border-radius:999px;border:1px solid transparent;font-size:.78rem;font-weight:700;line-height:1}.documents-flag-badge--yes{background:color-mix(in srgb,#22c55e 18%,var(--surface-elevated));border-color:color-mix(in srgb,#22c55e 46%,var(--surface-line));color:color-mix(in srgb,#15803d 82%,var(--text-main))}.documents-flag-badge--no{background:color-mix(in srgb,#64748b 18%,var(--surface-elevated));border-color:color-mix(in srgb,#64748b 44%,var(--surface-line));color:color-mix(in srgb,#334155 84%,var(--text-main))}.documents-type-badge{display:inline-flex;align-items:center;justify-content:center;min-height:24px;padding:.14rem .62rem;border-radius:999px;border:1px solid transparent;font-size:.78rem;font-weight:700;line-height:1}.documents-type-badge--invoice{background:color-mix(in srgb,#4f87c2 16%,var(--surface-elevated));border-color:color-mix(in srgb,#4f87c2 50%,var(--surface-line));color:color-mix(in srgb,#2e5f95 86%,var(--text-main))}.documents-type-badge--correction{background:color-mix(in srgb,#f2994a 18%,var(--surface-elevated));border-color:color-mix(in srgb,#f2994a 52%,var(--surface-line));color:color-mix(in srgb,#b05f1b 84%,var(--text-main))}.documents-type-badge--statement{background:color-mix(in srgb,#8b6fb8 17%,var(--surface-elevated));border-color:color-mix(in srgb,#8b6fb8 52%,var(--surface-line));color:color-mix(in srgb,#5f4588 86%,var(--text-main))}.documents-type-badge--estimate{background:color-mix(in srgb,#27ae60 18%,var(--surface-elevated));border-color:color-mix(in srgb,#27ae60 54%,var(--surface-line));color:color-mix(in srgb,#147a41 86%,var(--text-main))}.documents-type-badge--receipt{background:color-mix(in srgb,#8aa1b5 19%,var(--surface-elevated));border-color:color-mix(in srgb,#8aa1b5 54%,var(--surface-line));color:color-mix(in srgb,#4e6277 86%,var(--text-main))}.documents-info-badge{display:inline-flex;align-items:center;justify-content:center;min-height:24px;padding:.14rem .62rem;border-radius:999px;border:1px solid transparent;font-size:.78rem;font-weight:700;line-height:1;white-space:nowrap}.documents-info-badge--empty{background:color-mix(in srgb,#94a3b8 16%,var(--surface-elevated));border-color:color-mix(in srgb,#94a3b8 48%,var(--surface-line));color:color-mix(in srgb,#475569 85%,var(--text-main))}.documents-info-badge--number{background:color-mix(in srgb,#3b82f6 16%,var(--surface-elevated));border-color:color-mix(in srgb,#3b82f6 50%,var(--surface-line));color:color-mix(in srgb,#1d4ed8 86%,var(--text-main))}.documents-info-badge--date{background:color-mix(in srgb,#6366f1 15%,var(--surface-elevated));border-color:color-mix(in srgb,#6366f1 50%,var(--surface-line));color:color-mix(in srgb,#4338ca 86%,var(--text-main))}.documents-info-badge--registration{background:color-mix(in srgb,#0ea5e9 16%,var(--surface-elevated));border-color:color-mix(in srgb,#0ea5e9 52%,var(--surface-line));color:color-mix(in srgb,#0369a1 86%,var(--text-main));font-family:Rajdhani,Segoe UI,sans-serif;letter-spacing:.02em}.documents-info-badge--payment-cash{background:color-mix(in srgb,#22c55e 18%,var(--surface-elevated));border-color:color-mix(in srgb,#22c55e 52%,var(--surface-line));color:color-mix(in srgb,#15803d 86%,var(--text-main))}.documents-info-badge--payment-transfer{background:color-mix(in srgb,#0ea5e9 17%,var(--surface-elevated));border-color:color-mix(in srgb,#0ea5e9 52%,var(--surface-line));color:color-mix(in srgb,#0369a1 86%,var(--text-main))}.documents-info-badge--payment-card{background:color-mix(in srgb,#8b5cf6 17%,var(--surface-elevated));border-color:color-mix(in srgb,#8b5cf6 52%,var(--surface-line));color:color-mix(in srgb,#6d28d9 86%,var(--text-main))}.documents-info-badge--payment-blik{background:color-mix(in srgb,#ef4444 17%,var(--surface-elevated));border-color:color-mix(in srgb,#ef4444 52%,var(--surface-line));color:color-mix(in srgb,#b91c1c 86%,var(--text-main))}.documents-info-badge--payment-other{background:color-mix(in srgb,#64748b 17%,var(--surface-elevated));border-color:color-mix(in srgb,#64748b 50%,var(--surface-line));color:color-mix(in srgb,#334155 86%,var(--text-main))}.documents-info-badge--issuer-a{background:color-mix(in srgb,#f59e0b 18%,var(--surface-elevated));border-color:color-mix(in srgb,#f59e0b 52%,var(--surface-line));color:color-mix(in srgb,#b45309 86%,var(--text-main))}.documents-info-badge--issuer-b{background:color-mix(in srgb,#14b8a6 18%,var(--surface-elevated));border-color:color-mix(in srgb,#14b8a6 52%,var(--surface-line));color:color-mix(in srgb,#0f766e 86%,var(--text-main))}.documents-info-badge--issuer-c{background:color-mix(in srgb,#f97316 18%,var(--surface-elevated));border-color:color-mix(in srgb,#f97316 52%,var(--surface-line));color:color-mix(in srgb,#c2410c 86%,var(--text-main))}.documents-info-badge--issuer-d{background:color-mix(in srgb,#22c55e 18%,var(--surface-elevated));border-color:color-mix(in srgb,#22c55e 52%,var(--surface-line));color:color-mix(in srgb,#15803d 86%,var(--text-main))}.documents-info-badge--issuer-e{background:color-mix(in srgb,#06b6d4 18%,var(--surface-elevated));border-color:color-mix(in srgb,#06b6d4 52%,var(--surface-line));color:color-mix(in srgb,#0e7490 86%,var(--text-main))}[data-theme=dark] .documents-preview-shell .documents-flag-badge,[data-theme=dark-graphite] .documents-preview-shell .documents-flag-badge,[data-theme=m-power] .documents-preview-shell .documents-flag-badge,[data-theme=dark] .documents-preview-shell .documents-type-badge,[data-theme=dark-graphite] .documents-preview-shell .documents-type-badge,[data-theme=m-power] .documents-preview-shell .documents-type-badge,[data-theme=dark] .documents-preview-shell .documents-info-badge,[data-theme=dark-graphite] .documents-preview-shell .documents-info-badge,[data-theme=m-power] .documents-preview-shell .documents-info-badge{color:#cbd5e1}[data-theme=dark] .documents-preview-shell .documents-flag-badge--yes,[data-theme=dark-graphite] .documents-preview-shell .documents-flag-badge--yes,[data-theme=m-power] .documents-preview-shell .documents-flag-badge--yes{border-color:#4ade80bf;background:#1665343d;color:#bbf7d0}[data-theme=dark] .documents-preview-shell .documents-flag-badge--no,[data-theme=dark-graphite] .documents-preview-shell .documents-flag-badge--no,[data-theme=m-power] .documents-preview-shell .documents-flag-badge--no{border-color:#94a3b8bf;background:#33415559;color:#cbd5e1}[data-theme=dark] .documents-preview-shell .documents-type-badge--invoice,[data-theme=dark-graphite] .documents-preview-shell .documents-type-badge--invoice,[data-theme=m-power] .documents-preview-shell .documents-type-badge--invoice,[data-theme=dark] .documents-preview-shell .documents-info-badge--number,[data-theme=dark-graphite] .documents-preview-shell .documents-info-badge--number,[data-theme=m-power] .documents-preview-shell .documents-info-badge--number{border-color:#60a5fccc;background:#1d4ed847;color:#bfdbfe}[data-theme=dark] .documents-preview-shell .documents-info-badge--date,[data-theme=dark-graphite] .documents-preview-shell .documents-info-badge--date,[data-theme=m-power] .documents-preview-shell .documents-info-badge--date{border-color:#818cf8cc;background:#4338ca4d;color:#c7d2fe}[data-theme=dark] .documents-preview-shell .documents-info-badge--registration,[data-theme=dark-graphite] .documents-preview-shell .documents-info-badge--registration,[data-theme=m-power] .documents-preview-shell .documents-info-badge--registration{border-color:#38bdf8cf;background:#07598552;color:#bae6fd}[data-theme=dark] .documents-preview-shell .documents-type-badge--correction,[data-theme=dark-graphite] .documents-preview-shell .documents-type-badge--correction,[data-theme=m-power] .documents-preview-shell .documents-type-badge--correction{border-color:#fdba74cc;background:#9a341255;color:#fed7aa}[data-theme=dark] .documents-preview-shell .documents-type-badge--statement,[data-theme=dark-graphite] .documents-preview-shell .documents-type-badge--statement,[data-theme=m-power] .documents-preview-shell .documents-type-badge--statement{border-color:#c4b5fdcc;background:#5b21b655;color:#ddd6fe}[data-theme=dark] .documents-preview-shell .documents-type-badge--estimate,[data-theme=dark-graphite] .documents-preview-shell .documents-type-badge--estimate,[data-theme=m-power] .documents-preview-shell .documents-type-badge--estimate{border-color:#4ade80cc;background:#16653445;color:#bbf7d0}[data-theme=dark] .documents-preview-shell .documents-type-badge--receipt,[data-theme=dark-graphite] .documents-preview-shell .documents-type-badge--receipt,[data-theme=m-power] .documents-preview-shell .documents-type-badge--receipt,[data-theme=dark] .documents-preview-shell .documents-info-badge--empty,[data-theme=dark-graphite] .documents-preview-shell .documents-info-badge--empty,[data-theme=m-power] .documents-preview-shell .documents-info-badge--empty,[data-theme=dark] .documents-preview-shell .documents-info-badge--payment-other,[data-theme=dark-graphite] .documents-preview-shell .documents-info-badge--payment-other,[data-theme=m-power] .documents-preview-shell .documents-info-badge--payment-other{border-color:#94a3b8bf;background:#33415559;color:#cbd5e1}[data-theme=dark] .documents-preview-shell .documents-info-badge--payment-cash,[data-theme=dark-graphite] .documents-preview-shell .documents-info-badge--payment-cash,[data-theme=m-power] .documents-preview-shell .documents-info-badge--payment-cash{border-color:#4ade80cc;background:#16653445;color:#bbf7d0}[data-theme=dark] .documents-preview-shell .documents-info-badge--payment-transfer,[data-theme=dark-graphite] .documents-preview-shell .documents-info-badge--payment-transfer,[data-theme=m-power] .documents-preview-shell .documents-info-badge--payment-transfer{border-color:#38bdf8cc;background:#07598552;color:#bae6fd}[data-theme=dark] .documents-preview-shell .documents-info-badge--payment-card,[data-theme=dark-graphite] .documents-preview-shell .documents-info-badge--payment-card,[data-theme=m-power] .documents-preview-shell .documents-info-badge--payment-card{border-color:#c4b5fdcc;background:#5b21b657;color:#ddd6fe}[data-theme=dark] .documents-preview-shell .documents-info-badge--payment-blik,[data-theme=dark-graphite] .documents-preview-shell .documents-info-badge--payment-blik,[data-theme=m-power] .documents-preview-shell .documents-info-badge--payment-blik{border-color:#fca5a5cc;background:#991b1b4d;color:#fecaca}[data-theme=dark] .documents-preview-shell .documents-info-badge--issuer-a,[data-theme=dark-graphite] .documents-preview-shell .documents-info-badge--issuer-a,[data-theme=m-power] .documents-preview-shell .documents-info-badge--issuer-a{border-color:#fcd34dcc;background:#92400e52;color:#fde68a}[data-theme=dark] .documents-preview-shell .documents-info-badge--issuer-b,[data-theme=dark-graphite] .documents-preview-shell .documents-info-badge--issuer-b,[data-theme=m-power] .documents-preview-shell .documents-info-badge--issuer-b{border-color:#5eead4cc;background:#134e4a52;color:#99f6e4}[data-theme=dark] .documents-preview-shell .documents-info-badge--issuer-c,[data-theme=dark-graphite] .documents-preview-shell .documents-info-badge--issuer-c,[data-theme=m-power] .documents-preview-shell .documents-info-badge--issuer-c{border-color:#fdba74cc;background:#9a341255;color:#fed7aa}[data-theme=dark] .documents-preview-shell .documents-info-badge--issuer-d,[data-theme=dark-graphite] .documents-preview-shell .documents-info-badge--issuer-d,[data-theme=m-power] .documents-preview-shell .documents-info-badge--issuer-d{border-color:#4ade80cc;background:#16653445;color:#bbf7d0}[data-theme=dark] .documents-preview-shell .documents-info-badge--issuer-e,[data-theme=dark-graphite] .documents-preview-shell .documents-info-badge--issuer-e,[data-theme=m-power] .documents-preview-shell .documents-info-badge--issuer-e{border-color:#67e8f9cc;background:#155e7550;color:#a5f3fc}@media (max-width: 1180px){.documents-layout,.documents-preview-layout,.documents-details-columns,.documents-preview-card--ksef .documents-ksef-grid{grid-template-columns:1fr}}@media (max-width: 720px){.documents-action-group,.documents-menu-trigger,.documents-action-btn--preview{width:100%}.documents-dropdown{min-width:100%}.documents-toolbar__actions,.documents-actions-flat{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.documents-details-grid div{grid-template-columns:1fr;gap:.2rem}.documents-preview-shell .customers-table-wrap,.documents-lines-wrap{overflow:auto;-webkit-overflow-scrolling:touch}.documents-preview-actions{flex-wrap:wrap;justify-content:flex-end}}.documents-upo-btn:disabled{opacity:.5;cursor:not-allowed}.documents-action-group{position:relative}.documents-menu-trigger{min-width:138px;justify-content:space-between}.documents-dropdown{position:absolute;top:calc(100% + 6px);left:0;z-index:35;min-width:220px;display:grid;gap:.2rem;padding:.35rem;border-radius:10px;border:1px solid var(--surface-line);background:var(--surface);box-shadow:0 10px 24px #0000001f}.documents-type-filter-th{position:relative;white-space:nowrap;vertical-align:middle}.documents-type-filter-th>span{display:inline-block;vertical-align:middle}.documents-type-filter-btn{margin-left:.28rem;border:0;background:transparent;color:var(--text-muted);position:relative;width:18px;height:18px;padding:0;border-radius:0;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;vertical-align:middle}.documents-type-filter-btn:hover{color:var(--text-main)}.documents-type-filter-btn--active{color:var(--accent-strong);background:transparent}.documents-type-filter-count{position:absolute;top:-5px;right:-6px;min-width:14px;height:14px;padding:0 3px;border-radius:999px;background:color-mix(in srgb,var(--accent) 80%,#ffffff);color:#fff;font-size:.64rem;line-height:14px;font-weight:700;text-align:center;pointer-events:none}.documents-dropdown--type-filter{left:0;min-width:240px}.documents-dropdown__item{border:1px solid transparent;background:transparent;color:var(--text-main);border-radius:8px;font:inherit;font-size:.86rem;padding:.45rem .52rem;display:inline-flex;align-items:center;gap:.42rem;cursor:pointer;text-align:left}.documents-dropdown__item:hover:not(:disabled){background:color-mix(in srgb,var(--accent) 14%,var(--surface))}.documents-dropdown__item:disabled{opacity:.56;cursor:not-allowed}.documents-dropdown__item--checkbox{justify-content:flex-start;cursor:pointer;-webkit-user-select:none;user-select:none}.documents-dropdown__item--checkbox input[type=checkbox]{margin:0;width:16px;height:16px;flex:0 0 auto}.documents-dropdown__item--checkbox span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.documents-action-btn--preview{min-width:118px}.documents-correction-toolbar-title{display:flex;flex-direction:column;gap:2px}.documents-correction-toolbar-title strong{font-size:.95rem}.documents-correction-toolbar-title span{color:var(--text-muted);font-size:.78rem}.documents-correction-shell{max-width:1260px;margin-inline:auto}.documents-correction-groupbox{border:1px solid var(--surface-line);background:color-mix(in srgb,var(--surface) 90%,transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--surface-line) 40%,transparent)}.documents-correction-groupbox__head{display:grid;gap:.15rem;margin-bottom:.5rem}.documents-correction-groupbox__head h3{margin:0;font-size:1.4rem;line-height:1.2}.documents-correction-groupbox__head p{margin:0;color:var(--text-muted);font-size:.86rem}.documents-correction-layout{width:100%;margin:0;align-items:stretch}.documents-correction-entry-fields{grid-template-columns:minmax(160px,1fr) 72px 84px 104px 40px}.documents-correction-left{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto minmax(0,.75fr);gap:.45rem;align-content:stretch;height:100%;min-height:0}.documents-correction-left .customers-table-wrap{height:100%}.documents-correction-table-wrap{overflow:auto}.documents-correction-table-wrap table{height:auto;width:100%}.documents-correction-table-wrap--after{min-height:170px}.documents-correction-table-wrap--before{min-height:120px}.documents-correction-add-row{margin-top:0;justify-content:flex-end;align-items:center}.documents-correction-add-row .primary-btn,.documents-correction-add-row .secondary-btn{align-self:center;height:auto}.documents-correction-add-inline{align-self:end;min-width:36px;width:36px;height:32px;padding:0;display:inline-flex;align-items:center;justify-content:center}.documents-correction-table th,.documents-correction-table td{font-size:.82rem;padding:.42rem .44rem}.documents-correction-table{table-layout:fixed}.documents-correction-table tbody td{vertical-align:middle}.documents-correction-table th:nth-child(1),.documents-correction-table td:nth-child(1){width:30px;min-width:30px;text-align:center;padding-left:.2rem;padding-right:.2rem}.customers-shell .documents-correction-table th:first-child,.customers-shell .documents-correction-table td:first-child{width:30px;min-width:30px;max-width:30px;text-align:center;padding-left:.2rem;padding-right:.2rem}.documents-correction-table th:nth-child(2),.documents-correction-table td:nth-child(2){width:auto;min-width:170px;text-align:left;padding-left:.24rem;white-space:normal;overflow-wrap:anywhere}.customers-shell .documents-correction-table th:nth-child(2),.customers-shell .documents-correction-table td:nth-child(2){text-align:left}.documents-correction-table th:nth-child(3),.documents-correction-table td:nth-child(3){width:66px;min-width:66px;text-align:center}.documents-correction-table th:nth-child(4),.documents-correction-table td:nth-child(4){width:58px;min-width:58px;text-align:center}.documents-correction-table th:nth-child(5),.documents-correction-table td:nth-child(5){width:86px;min-width:86px;text-align:center}.documents-correction-table th:nth-child(6),.documents-correction-table td:nth-child(6){width:56px;min-width:56px;text-align:center}.documents-correction-table th:nth-child(7),.documents-correction-table td:nth-child(7){width:86px;min-width:86px;text-align:center}.documents-correction-table th:nth-child(8),.documents-correction-table td:nth-child(8){width:48px;min-width:48px;text-align:center}.documents-correction-table__input,.documents-correction-table__select{width:100%;min-width:0;border:1px solid var(--surface-line);border-radius:8px;background:color-mix(in srgb,var(--surface-elevated) 82%,var(--surface) 18%);color:var(--text-main);font:inherit;font-size:.8rem;line-height:1.2;padding:.24rem .34rem}.documents-correction-table__select{padding-right:1.2rem}.documents-correction-table__cell-display{width:100%;min-width:0;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--text-main);font:inherit;font-size:.82rem;line-height:1.2;text-align:left;padding:.24rem .26rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:text}.documents-correction-table__cell-display:hover{border-color:color-mix(in srgb,var(--surface-line) 76%,transparent);background:color-mix(in srgb,var(--surface-elevated) 64%,transparent)}.documents-correction-table__cell-display--center{text-align:center}.documents-correction-table__cell-static{display:block;width:100%;padding:.24rem .26rem;line-height:1.2}.documents-correction-table__cell-static--center{text-align:center}.documents-correction-table--before th:nth-child(7),.documents-correction-table--before td:nth-child(7){width:86px;min-width:86px;text-align:center}.documents-correction-save-bar{flex-wrap:nowrap;gap:.5rem;overflow-x:auto;justify-content:flex-start}.documents-correction-save-bar .visit-invoice-flag{white-space:nowrap;font-size:.82rem;gap:.24rem}@media (max-width: 1320px){.documents-correction-shell,.documents-correction-layout{max-width:100%}.documents-correction-left{height:auto;grid-template-rows:auto auto minmax(160px,auto) auto minmax(120px,auto)}}@media (max-width: 760px){.customers-table{min-width:0;border-collapse:separate;border-spacing:0;max-width:100%;table-layout:fixed}.customers-table thead{display:none}.customers-table,.customers-table tbody,.customers-table tr,.customers-table td{display:block;width:100%;max-width:100%;min-width:0!important}.customers-table th:first-child,.customers-table td:first-child{width:100%;text-align:left}.customers-table tbody{display:grid;gap:.55rem;padding:.35rem .2rem;min-width:0}.customers-table tr{position:relative;border:1px solid color-mix(in srgb,var(--surface-line) 88%,transparent);border-radius:10px;background:color-mix(in srgb,var(--surface) 94%,transparent);padding:.42rem .55rem;min-width:0;box-shadow:0 4px 10px #00000010}.customers-table tr.customers-table__row--selected,.customers-table tr.visits-row--settled,.customers-table tr.visits-row--unsettled,.customers-table tr.visits-row--ghost,.customers-table tr.car-profile-tire-row--open,.customers-table tr.car-profile-tire-row--mid,.customers-table tr.car-profile-tire-row--late,.customers-table tr.warehouse-row--warning,.customers-table tr.warehouse-row--danger,.customers-table tr.car-profile-activity-row--estimate,.customers-table tr.car-profile-activity-row--standard{padding-left:.78rem}.customers-table tr.customers-table__row--selected:before,.customers-table tr.visits-row--settled:before,.customers-table tr.visits-row--unsettled:before,.customers-table tr.visits-row--ghost:before,.customers-table tr.car-profile-tire-row--open:before,.customers-table tr.car-profile-tire-row--mid:before,.customers-table tr.car-profile-tire-row--late:before,.customers-table tr.warehouse-row--warning:before,.customers-table tr.warehouse-row--danger:before,.customers-table tr.car-profile-activity-row--estimate:before,.customers-table tr.car-profile-activity-row--standard:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;border-radius:10px 0 0 10px}.customers-table td{border:0;border-bottom:1px dashed color-mix(in srgb,var(--surface-line) 62%,transparent);padding:.34rem 0;display:grid;grid-template-columns:minmax(0,104px) minmax(0,1fr);gap:.45rem;align-items:baseline;min-width:0;text-align:left;font-size:.84rem}.customers-table td>*{min-width:0;max-width:100%}.customers-table td.customers-actions-cell{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:.45rem;overflow:visible!important}.customers-table td.customers-actions-cell:before{display:block!important;flex:0 0 88px;min-width:88px;text-align:left!important}.customers-table td.customers-actions-cell .customers-row-actions{display:inline-flex!important;flex:0 0 auto!important;min-width:0;margin-left:0;justify-content:flex-start;gap:.28rem;white-space:nowrap!important;overflow:visible!important}.customers-table td.customers-actions-cell .documents-row-action-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:28px;min-width:28px;height:28px;padding:.18rem;border-radius:6px;flex:0 0 auto!important;color:var(--text-muted)!important;opacity:1;visibility:visible!important;background:none!important;border:none!important}.customers-table td.customers-actions-cell .documents-row-action-btn svg{display:block!important;width:15px!important;height:15px!important;stroke:currentColor!important;opacity:1!important;visibility:visible!important;flex:0 0 auto}.customers-table td:last-child{border-bottom:0}.customers-table__row--selected{outline:2px solid color-mix(in srgb,var(--accent) 52%,transparent);outline-offset:-1px}.customers-table__row--selected:before{background:color-mix(in srgb,var(--accent-strong) 82%,#ffffff)}.documents-table tbody tr.customers-table__row{padding-left:.78rem}.documents-table tbody tr.customers-table__row:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;border-radius:10px 0 0 10px;background:var(--documents-type-accent, color-mix(in srgb, var(--surface-line) 60%, transparent))}.documents-table tbody .customers-table__row td:first-child:before{display:none}.customers-table .visits-row--unsettled td,.customers-table .visits-row--settled td,.customers-table .warehouse-row--warning td,.customers-table .warehouse-row--danger td{background:transparent}.visits-row--settled{border-color:color-mix(in srgb,#22c55e 52%,var(--surface-line));box-shadow:0 0 0 1px color-mix(in srgb,#22c55e 32%,transparent),0 4px 12px #00000012}.visits-row--settled:before{background:#22c55e}.visits-row--unsettled{border-color:color-mix(in srgb,#facc15 58%,var(--surface-line));box-shadow:0 0 0 1px color-mix(in srgb,#facc15 38%,transparent),0 4px 12px #00000012}.visits-row--unsettled:before{background:#facc15}.warehouse-row td:first-child:before{display:none}.warehouse-row td:first-child{position:static!important;padding-left:0!important}.warehouse-row td:first-child:before{content:attr(data-label)!important;position:static!important;left:auto!important;top:auto!important;bottom:auto!important;width:auto!important;border-radius:0!important;background:none!important;display:block!important}.visits-row--settled td:first-child,.visits-row--unsettled td:first-child,.visits-row--ghost td:first-child{position:static!important;padding-left:0!important}.visits-row--settled td:first-child:before,.visits-row--unsettled td:first-child:before,.visits-row--ghost td:first-child:before{content:attr(data-label)!important;position:static!important;left:auto!important;top:auto!important;bottom:auto!important;width:auto!important;border-radius:0!important;background:none!important;display:block!important}.car-profile-tires-table tr.car-profile-tire-row--open td:first-child,.car-profile-tires-table tr.car-profile-tire-row--mid td:first-child,.car-profile-tires-table tr.car-profile-tire-row--late td:first-child{border-left:0}.visits-row--ghost{border-color:color-mix(in srgb,#7c3aed 45%,var(--surface-line))}.visits-row--ghost:before{background:#7c3aed}.car-profile-tire-row--open:before{background:#5fba7d}.car-profile-tire-row--mid:before{background:#5f27cd}.car-profile-tire-row--late:before{background:#e70707}.car-profile-activity-row--estimate:before{background:color-mix(in srgb,#7c3aed 90%,#ffffff)}.car-profile-activity-row--standard:before{background:color-mix(in srgb,#22c55e 82%,#ffffff)}.warehouse-row--warning{border-color:color-mix(in srgb,#f59e0b 52%,var(--surface-line));box-shadow:0 0 0 1px color-mix(in srgb,#f59e0b 34%,transparent),0 4px 12px #00000012}.warehouse-row--warning:before{background:#f59e0b}.warehouse-row--danger{border-color:color-mix(in srgb,#ef4444 54%,var(--surface-line));box-shadow:0 0 0 1px color-mix(in srgb,#ef4444 36%,transparent),0 4px 12px #00000014}.warehouse-row--danger:before{background:#ef4444}.customers-table td:before{content:attr(data-label);color:var(--text-muted);font-size:.76rem;font-weight:600;min-width:0}.portal-requests-shell .customers-table td{grid-template-columns:minmax(0,6.4rem) minmax(0,1fr);align-items:center}.portal-requests-shell .customers-table td>.portal-requests-badge{justify-self:start}.portal-requests-shell .portal-requests-badge{width:fit-content;min-width:0;max-width:100%;padding-inline:.58rem;white-space:normal;text-align:left}.wheel-storage-modal .wheel-storage-modal__table td{grid-template-columns:minmax(0,112px) minmax(0,1fr)!important;gap:.28rem!important;align-items:center!important;padding:.22rem 0!important;min-height:0;line-height:1.2}.wheel-storage-modal .wheel-storage-modal__table td:before{font-size:.74rem}.wheel-storage-modal .wheel-storage-modal__table td[data-label=Koło]{font-weight:700}.wheel-storage-modal .wheel-storage-modal__table td>*{line-height:1.2;min-height:0}.wheel-storage-modal .wheel-storage-modal__table .wheel-storage-modal__cell-input{min-height:1.5rem;padding:.14rem .28rem!important;border:1px solid color-mix(in srgb,var(--surface-line) 74%,transparent)!important;background:color-mix(in srgb,var(--surface-elevated) 84%,transparent)!important}.wheel-storage-modal .wheel-storage-modal__table td input[type=checkbox]{justify-self:start;margin:0}.documents-table__main,.documents-table__sub,.documents-ksef-pill{max-width:100%}.documents-ksef-pill{width:fit-content}.customers-table td input[type=checkbox]{justify-self:start}.customers-table tr.visit-line-row--new{background:color-mix(in srgb,#22c55e 12%,transparent)}.visit-line-row--new td{background:transparent}.customers-table tr.visit-line-row--estimate{background:color-mix(in srgb,#a78bfa 18%,transparent)}.visit-line-row--estimate td{background:transparent}.customers-table tr.visit-line-row--pending-delete{background:color-mix(in srgb,#f43f5e 10%,transparent)}.visit-line-row--pending-delete td{background:transparent;opacity:.64}.visit-line-row--estimate{padding-left:.78rem;border-color:color-mix(in srgb,#a78bfa 52%,var(--surface-line))}.visit-line-row--estimate:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;border-radius:10px 0 0 10px;background:#a78bfa}}@media (max-width: 1000px){.dashboard-shell--mobile-list .customers-toolbar{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:.42rem!important;width:fit-content!important;max-width:calc(100vw - 1.6rem)!important;margin:0!important;left:50%!important;right:auto!important;bottom:.8rem!important;transform:translate(-50%)!important;padding:.3rem!important;position:fixed!important;z-index:47!important;transition:transform .24s ease,opacity .2s ease!important}.dashboard-shell--mobile-list .customers-actions{display:inline-grid!important;grid-auto-flow:column!important;grid-auto-columns:40px!important;grid-template-columns:none!important;grid-template-areas:none!important;gap:.34rem!important;align-items:center!important;justify-content:start!important;flex:0 0 auto!important}.dashboard-shell--mobile-list .toolbar-menu-btn{display:inline-flex!important}.dashboard-shell--mobile-list .customers-btn-new,.dashboard-shell--mobile-list .customers-btn-delete,.dashboard-shell--mobile-list .customers-btn-edit,.dashboard-shell--mobile-list .customers-toolbar .secondary-btn,.dashboard-shell--mobile-list .customers-toolbar .primary-btn,.dashboard-shell--mobile-list .mobile-search-launcher,.dashboard-shell--mobile-list .toolbar-menu-btn{width:40px!important;min-width:40px!important;min-height:40px!important;padding:.42rem!important;font-size:0!important;grid-area:auto!important}.dashboard-shell--mobile-list .customers-count,.dashboard-shell--mobile-list .customers-search{display:none!important}.dashboard-shell--mobile-list .documents-menu-trigger,.dashboard-shell--mobile-list .documents-action-btn--preview,.dashboard-shell--mobile-list .documents-action-btn{width:40px!important;min-width:40px!important;max-width:40px!important;padding-inline:0!important;justify-content:center!important}.dashboard-shell--mobile-list .documents-menu-trigger svg:last-child{display:none!important}.mobile-nav-bar{left:50%!important;transform:translate(-50%)!important;bottom:.8rem!important;z-index:48!important;transition:transform .24s ease,opacity .2s ease!important}.mobile-nav-bar__menu{width:40px!important;min-width:40px!important;min-height:40px!important}.dashboard-shell--mobile-tools-hidden .customers-toolbar,.dashboard-shell--mobile-tools-hidden .mobile-nav-bar,.dashboard-shell--mobile-tools-hidden .visit-mobile-quick-actions,body.improvements-modal-open .dashboard-shell--mobile-list .customers-toolbar,body.improvements-modal-open .mobile-nav-bar,body.improvements-modal-open .visit-mobile-quick-actions{transform:translate(-50%,140%)!important;opacity:0!important;pointer-events:none!important}}@media (max-width: 760px){.documents-preview-groupbox__top{display:grid;grid-template-columns:1fr;align-items:start;gap:.5rem}.documents-preview-actions{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.38rem;justify-content:stretch}.documents-preview-actions .documents-upo-btn{width:100%;min-height:2.2rem;justify-content:center;font-size:.84rem}.documents-ksef-head{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"title status" "actions actions";gap:.45rem;align-items:center}.documents-ksef-actions--inline{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.38rem;justify-items:stretch;align-items:center;grid-area:actions}.documents-ksef-head .documents-ksef-pill{grid-area:status;justify-self:end}.documents-ksef-actions--inline .documents-upo-btn{width:100%;min-height:2.2rem;justify-content:center;font-size:.84rem}.documents-preview-shell .documents-lines-table tbody tr:last-child td,.documents-preview-shell .documents-lines-table td:last-child{border-bottom:1px dashed color-mix(in srgb,var(--surface-line) 62%,transparent)!important}.customer-details-shell,.customer-details-shell--visit,.visit-islands-shell,.visit-island,.visit-island--content,.customer-editor,.customer-editor-card,.customer-editor-tab-panel,.customers-table-wrap,.customers-table,.customers-table tbody,.customers-table tr,.customers-table td{min-width:0!important;max-width:100%!important;box-sizing:border-box}.customers-table tr{overflow:hidden}.customers-table td{grid-template-columns:minmax(0,88px) minmax(0,1fr)!important;overflow:hidden}.customers-table td:before{min-width:0!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-fiscal-shell .customers-table td.admin-fiscal-cell-actions .documents-row-action-btn{justify-self:start}.admin-fiscal-shell .customers-table td{grid-template-columns:minmax(0,116px) minmax(0,1fr)!important}.admin-fiscal-shell .documents-flag-badge{min-height:20px;width:84px;padding:.06rem .42rem;font-size:.72rem;justify-content:center;white-space:nowrap}.admin-users-shell .customers-table td{grid-template-columns:minmax(0,116px) minmax(0,1fr)!important}.admin-users-shell .documents-flag-badge,.admin-users-shell .admin-user-right-badge{min-height:20px;padding:.06rem .42rem;font-size:.72rem;justify-content:center;white-space:nowrap}.admin-users-shell .customers-table td .documents-flag-badge,.admin-users-shell .customers-table td .admin-user-right-badge{width:fit-content;min-width:0;justify-self:start}.customers-table td,.customers-table td *,.visits-table td,.visits-table td *{white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important}.customer-editor-visits-headline strong,.visit-header-badges,.visit-header-right,.visit-header-sum{min-width:0!important;max-width:100%!important;white-space:normal!important}.car-profile-activities-table tr.car-profile-activity-row--estimate{background:color-mix(in srgb,#7c3aed 18%,var(--surface))!important;border-color:color-mix(in srgb,#7c3aed 34%,var(--surface-line))!important}.car-profile-activities-table tr.car-profile-activity-row--estimate td{background:transparent!important}.car-profile-activities-table tr.car-profile-activity-row--estimate.car-profile-activity-row--standard{background:color-mix(in srgb,#7c3aed 18%,var(--surface))!important;border-color:color-mix(in srgb,#7c3aed 34%,var(--surface-line))!important}.car-profile-activities-table tr.car-profile-activity-row--standard{border-color:color-mix(in srgb,var(--surface-line) 88%,transparent)!important;background:var(--surface)!important}.car-profile-activities-table tr.car-profile-activity-row--standard td{border-right:0!important;border-left:0!important;border-top:0!important;background:transparent!important}.car-profile-activities-table .car-profile-standard-activity{flex-wrap:wrap}}@media (max-width: 760px){.customers-shell,.customers-shell>.customers-table-wrap,.customers-table-wrap{width:100%!important;max-width:100%!important;min-width:0!important;margin-inline:0!important;box-sizing:border-box!important}.customers-shell{overflow-x:hidden!important}.customers-shell>.customers-table-wrap,.customers-table-wrap{overflow-x:hidden!important}}@media (max-width: 760px){.customers-shell>.customers-table-wrap.documents-table-wrap,.documents-table-wrap{width:100%!important;max-width:100%!important;min-width:0!important;margin-inline:0!important;overflow-x:hidden!important;box-sizing:border-box!important}.documents-table,.documents-table tbody,.documents-table tr,.documents-table td{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}.documents-table td{grid-template-columns:minmax(0,82px) minmax(0,1fr)!important}.documents-table td[data-label=Numer] strong{white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important}.documents-table td.documents-table__select-col[data-label=Zaznacz]{grid-template-columns:1fr!important;justify-items:start!important;padding-top:.2rem!important;padding-bottom:.2rem!important}.documents-table td.documents-table__select-col[data-label=Zaznacz]:before{display:none!important}.documents-table td.documents-table__select-col[data-label=Zaznacz] input[type=checkbox]{margin:0!important;justify-self:start!important}.documents-table td[data-label=Firma] .documents-table__sub{display:none!important}.documents-table td>*,.documents-table__main,.documents-table__sub,.documents-ksef-pill{min-width:0!important;max-width:100%!important;overflow-wrap:anywhere!important;word-break:break-word!important}}@media (max-width: 760px){.warehouse-table td,.warehouse-table td:nth-child(n){width:100%!important;min-width:0!important;max-width:100%!important}.warehouse-table td>*{overflow-wrap:break-word!important;word-break:normal!important}.warehouse-supplies-table td,.warehouse-supplies-table td:nth-child(n){width:100%!important;min-width:0!important;max-width:100%!important;grid-template-columns:minmax(0,106px) minmax(0,1fr)!important;align-items:start!important}.warehouse-supplies-table td:before{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.warehouse-supplies-table td,.warehouse-supplies-table td *{white-space:normal!important;overflow-wrap:break-word!important;word-break:normal!important}.warehouse-deliveries-table th,.warehouse-deliveries-table td,.warehouse-deliveries-table th:nth-child(n),.warehouse-deliveries-table td:nth-child(n){width:100%!important;min-width:0!important;max-width:100%!important}.warehouse-deliveries-table td{grid-template-columns:minmax(0,92px) minmax(0,1fr)!important;align-items:start!important;overflow:visible!important}.warehouse-deliveries-table td:before{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.warehouse-history-row{padding-left:.78rem!important}.warehouse-history-row:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;border-radius:10px 0 0 10px}.warehouse-history-row--supply:before{background:#7c3aed}.warehouse-history-row--visit:before{background:#22c55e}.warehouse-history-row td:first-child{padding-left:0!important}.warehouse-history-row td:first-child:before{display:none!important}.warehouse-history-row td:first-child:before{content:attr(data-label)!important;position:static!important;left:auto!important;top:auto!important;bottom:auto!important;width:auto!important;border-radius:0!important;background:none!important;display:block!important}.warehouse-history-row td,.warehouse-history-row--visit td{background:transparent!important}.warehouse-movement-row{padding-left:.78rem!important}.warehouse-movement-row:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;border-radius:10px 0 0 10px;display:none}.warehouse-movement-row--supply:before{display:block;background:#7c3aed}.warehouse-movement-row--visit:before{display:block;background:#22c55e}.warehouse-movement-row--quick:before{display:block;background:#f59e0b}.warehouse-movement-row td:first-child{padding-left:0!important}.warehouse-movement-row td:first-child:after{display:none!important}}.improvements-table th:nth-child(1),.improvements-table td:nth-child(1){width:68px}.improvements-table th:nth-child(2),.improvements-table td:nth-child(2){min-width:260px}.improvements-table th:nth-child(3),.improvements-table td:nth-child(3),.improvements-table th:nth-child(4),.improvements-table td:nth-child(4),.improvements-table th:nth-child(5),.improvements-table td:nth-child(5){width:130px}.improvements-table tr.improvements-row--completed td:first-child{position:relative;padding-left:1.05rem}.improvements-table tr.improvements-row--completed td:first-child:before{content:"";position:absolute;left:.34rem;top:.5rem;bottom:.5rem;width:3px;border-radius:6px;background:#5fba7d}.improvements-sort-btn{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background:transparent;color:inherit;font:inherit;font-weight:inherit;padding:0;cursor:pointer}.improvement-status,.improvement-priority,.improvement-kind{display:inline-flex;align-items:center;padding:.16rem .52rem;border-radius:999px;font-size:.74rem;font-weight:700;border:1px solid transparent;white-space:nowrap}.improvement-kind--improvement{background:#22d3ee24;border-color:#06b6d48a;color:#0e7490}.improvement-kind--bug{background:#f8717140;border-color:#ef44449a;color:#991b1b}.improvement-kind--feature{background:#a78bfa2b;border-color:#8b5cf68a;color:#6d28d9}.improvement-kind--question{background:#facc1528;border-color:#eab30880;color:#854d0e}.improvement-priority--1{background:#60a5fa22;border-color:#60a5fa66;color:#1d4ed8}.improvement-priority--2{background:#facc1524;border-color:#eab30866;color:#854d0e}.improvement-priority--3{background:#fb923c2a;border-color:#f9731680;color:#9a3412}.improvement-priority--4{background:#f8717140;border-color:#ef44449a;color:#991b1b}.improvement-status--new{background:#60a5fa22;border-color:#60a5fa66;color:#1d4ed8}.improvement-status--in-progress{background:#22d3ee24;border-color:#06b6d48a;color:#0e7490}.improvement-status--waiting{background:#facc1528;border-color:#eab30880;color:#854d0e}.improvement-status--reopened{background:#a78bfa2b;border-color:#8b5cf68a;color:#6d28d9}.improvement-status--completed{background:#4ade8026;border-color:#22c55e7a;color:#166534}.improvement-status--rejected{background:#f8717140;border-color:#ef444498;color:#991b1b}[data-theme=dark] .improvement-kind--improvement,[data-theme=dark-graphite] .improvement-kind--improvement,[data-theme=m-power] .improvement-kind--improvement{background:#0891b22b;border-color:#22d3eea8;color:#67e8f9}[data-theme=dark] .improvement-kind--bug,[data-theme=dark-graphite] .improvement-kind--bug,[data-theme=m-power] .improvement-kind--bug{background:#b91c1c2f;border-color:#f87171bb;color:#fecaca}[data-theme=dark] .improvement-kind--feature,[data-theme=dark-graphite] .improvement-kind--feature,[data-theme=m-power] .improvement-kind--feature{background:#6d28d933;border-color:#a78bfac4;color:#ddd6fe}[data-theme=dark] .improvement-kind--question,[data-theme=dark-graphite] .improvement-kind--question,[data-theme=m-power] .improvement-kind--question{background:#a162072e;border-color:#facc15bf;color:#fde68a}[data-theme=dark] .improvement-priority--1,[data-theme=dark-graphite] .improvement-priority--1,[data-theme=m-power] .improvement-priority--1{background:#1d4ed833;border-color:#60a5fabb;color:#bfdbfe}[data-theme=dark] .improvement-priority--2,[data-theme=dark-graphite] .improvement-priority--2,[data-theme=m-power] .improvement-priority--2{background:#a162072d;border-color:#facc15b8;color:#fde68a}[data-theme=dark] .improvement-priority--3,[data-theme=dark-graphite] .improvement-priority--3,[data-theme=m-power] .improvement-priority--3{background:#c2410c33;border-color:#fb923cbc;color:#fed7aa}[data-theme=dark] .improvement-priority--4,[data-theme=dark-graphite] .improvement-priority--4,[data-theme=m-power] .improvement-priority--4{background:#b91c1c33;border-color:#f87171bf;color:#fecaca}[data-theme=dark] .improvement-status--new,[data-theme=dark-graphite] .improvement-status--new,[data-theme=m-power] .improvement-status--new{background:#1d4ed835;border-color:#60a5fabe;color:#bfdbfe}[data-theme=dark] .improvement-status--in-progress,[data-theme=dark-graphite] .improvement-status--in-progress,[data-theme=m-power] .improvement-status--in-progress{background:#0891b22e;border-color:#22d3eead;color:#67e8f9}[data-theme=dark] .improvement-status--waiting,[data-theme=dark-graphite] .improvement-status--waiting,[data-theme=m-power] .improvement-status--waiting{background:#a162072f;border-color:#facc15c0;color:#fde68a}[data-theme=dark] .improvement-status--reopened,[data-theme=dark-graphite] .improvement-status--reopened,[data-theme=m-power] .improvement-status--reopened{background:#6d28d935;border-color:#a78bfac4;color:#ddd6fe}[data-theme=dark] .improvement-status--completed,[data-theme=dark-graphite] .improvement-status--completed,[data-theme=m-power] .improvement-status--completed{background:#16653430;border-color:#4ade80ba;color:#bbf7d0}[data-theme=dark] .improvement-status--rejected,[data-theme=dark-graphite] .improvement-status--rejected,[data-theme=m-power] .improvement-status--rejected{background:#b91c1c33;border-color:#f87171bf;color:#fecaca}.improvements-modal{width:min(860px,calc(100vw - 2.2rem))}.improvements-modal-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.55rem}.improvements-modal-grid__wide{grid-column:1 / -1}.improvements-modal-grid select,.improvements-modal-grid input,.improvements-modal-grid textarea,.improvements-comment-grid textarea{border:1px solid var(--surface-line);border-radius:10px;background:var(--surface-elevated);color:var(--text-main);font:inherit;width:100%;box-sizing:border-box;padding:.46rem .54rem}.improvements-modal-grid label,.improvements-comment-grid label{display:grid;gap:.24rem}.improvements-modal-grid label span,.improvements-comment-grid label span{font-size:.8rem;color:var(--text-muted)}.improvements-comment-modal{width:min(640px,calc(100vw - 2.2rem))}.improvements-comment-grid{display:grid;gap:.6rem}.improvements-comment-checkbox{display:inline-flex!important;align-items:center;gap:.45rem}@media (max-width: 760px){.improvements-modal-grid{grid-template-columns:1fr}}.improvements-table th:nth-child(7),.improvements-table td:nth-child(7),.improvements-table th:nth-child(8),.improvements-table td:nth-child(8){min-width:130px}.improvements-modal{width:min(980px,calc(100vw - 2rem))}.improvements-details-shell{display:flex;justify-content:center}.improvements-details-groupbox{width:min(75%,1180px);margin-inline:auto}.improvements-details-page{width:100%}.improvements-modal-content{display:grid;gap:.48rem}.improvements-details-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:1rem;padding-bottom:.42rem}.improvements-details-head__actions{display:inline-flex;align-items:center;gap:.4rem;padding-top:.24rem;flex-wrap:wrap;justify-content:flex-end}.improvements-details-head h4{padding-top:0;margin:0}.improvements-task-chip,.improvements-reporter-chip{display:inline-flex;align-items:center;justify-content:center;min-height:2rem;border:1px solid color-mix(in srgb,var(--surface-line) 66%,transparent);border-radius:999px;background:color-mix(in srgb,var(--surface) 88%,transparent);font-size:.78rem;line-height:1.1;white-space:nowrap}.improvements-task-chip{padding:.18rem .68rem;color:var(--text-main);font-weight:600}.improvements-reporter-chip{max-width:22rem;padding:.18rem .62rem;font-weight:500;color:var(--text-muted);overflow:hidden;text-overflow:ellipsis}.improvements-header-icon-btn{width:2rem;min-width:2rem;min-height:2rem;padding:0;font-size:0}.improvements-hidden-file-input{display:none}.improvements-blocks-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.72rem;align-items:stretch}.improvements-field{display:grid;gap:.26rem}.improvements-field--with-separator{margin-top:.28rem;border-top:1px solid color-mix(in srgb,var(--surface-line) 78%,transparent);padding-top:.64rem}.improvements-field--with-bottom-separator{border-bottom:1px solid color-mix(in srgb,var(--surface-line) 78%,transparent);padding-bottom:.42rem}.improvements-field>span{font-size:.82rem;color:var(--text-muted)}.improvements-field-label-row{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.improvements-field-label-row>span{font-size:.82rem;color:var(--text-muted)}.improvements-field input,.improvements-field select,.improvements-field textarea,.improvements-attachment-upload input,.improvements-comment-input textarea{border:1px solid var(--surface-line);border-radius:10px;background:var(--surface-elevated);color:var(--text-main);font:inherit;width:100%;box-sizing:border-box;padding:.48rem .56rem}.improvements-field textarea,.improvements-comment-input textarea,.improvements-comment-edit textarea{resize:vertical}.improvements-field--title input{font-weight:700}.improvements-title-field{gap:0}.improvements-title-view{position:relative;width:100%;min-height:2rem;border:1px solid transparent;border-radius:10px;background:transparent;color:var(--text-main);padding:.24rem 2.25rem .36rem 0;box-sizing:border-box;text-align:left;font:inherit;font-weight:700;line-height:1.25;cursor:text;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}.improvements-title-view:hover,.improvements-title-view:focus-visible{border-color:color-mix(in srgb,var(--accent) 50%,var(--surface-line));background:color-mix(in srgb,var(--surface-elevated) 76%,transparent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 10%,transparent);outline:none}.improvements-title-view>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.improvements-title-view>svg{position:absolute;right:.7rem;top:50%;color:var(--accent);opacity:0;transform:translateY(calc(-50% + 2px));transition:opacity .16s ease,transform .16s ease}.improvements-title-view:hover>svg,.improvements-title-view:focus-visible>svg{opacity:1;transform:translateY(-50%)}.improvements-title-editor--mobile{display:none}.improvements-description-field{gap:0;margin-top:0}.improvements-description-view{position:relative;display:block;width:100%;min-height:8.5rem;border:1px solid transparent;border-radius:10px;background:transparent;color:var(--text-main);padding:0 2.3rem .48rem .08rem;box-sizing:border-box;text-align:left;white-space:pre-wrap;vertical-align:top;font:inherit;line-height:1.45;cursor:text;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}.improvements-description-view>span{display:block}.improvements-description-view:hover,.improvements-description-view:focus-visible{border-color:color-mix(in srgb,var(--accent) 50%,var(--surface-line));background:color-mix(in srgb,var(--surface-elevated) 76%,transparent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 10%,transparent);outline:none}.improvements-description-view>svg{position:absolute;right:.72rem;top:.72rem;color:var(--accent);opacity:0;transform:translateY(2px);transition:opacity .16s ease,transform .16s ease}.improvements-description-view:hover>svg,.improvements-description-view:focus-visible>svg{opacity:1;transform:translateY(0)}.improvements-description-editor--mobile{display:none}.improvements-description-editor{min-height:8.5rem;padding-top:.36rem}.improvements-priority-picker,.improvements-status-picker,.improvements-kind-picker{display:flex;flex-wrap:wrap;gap:.45rem}.improvements-kind-btn{border-radius:999px;border:1px solid transparent;font:inherit;font-size:.76rem;font-weight:700;padding:.3rem .62rem;display:inline-flex;align-items:center;gap:.28rem;cursor:pointer;opacity:.62;transition:transform .14s ease,box-shadow .14s ease,border-color .14s ease,filter .14s ease,opacity .14s ease}.improvements-kind-btn--active{opacity:1;transform:translateY(-1px);border-color:currentColor;box-shadow:0 0 0 2px color-mix(in srgb,currentColor 36%,transparent),0 6px 12px color-mix(in srgb,#000 18%,transparent),inset 0 0 0 1px color-mix(in srgb,currentColor 24%,transparent);filter:saturate(1.08)}.improvements-priority-btn,.improvements-status-btn{border-radius:999px;border:1px solid transparent;font:inherit;font-size:.76rem;font-weight:700;padding:.3rem .62rem;display:inline-flex;align-items:center;gap:.28rem;cursor:pointer;opacity:.62;transition:transform .14s ease,box-shadow .14s ease,border-color .14s ease,filter .14s ease,opacity .14s ease}.improvements-priority-btn.improvement-priority--1{background:#60a5fa22;border-color:#60a5fa66;color:#1d4ed8}.improvements-priority-btn.improvement-priority--2{background:#facc1524;border-color:#eab30866;color:#854d0e}.improvements-priority-btn.improvement-priority--3{background:#fb923c2a;border-color:#f9731680;color:#9a3412}.improvements-priority-btn.improvement-priority--4{background:#f8717140;border-color:#ef44449a;color:#991b1b}[data-theme=dark] .improvements-priority-btn.improvement-priority--1,[data-theme=dark-graphite] .improvements-priority-btn.improvement-priority--1,[data-theme=m-power] .improvements-priority-btn.improvement-priority--1{background:#1d4ed833;border-color:#60a5fabb;color:#bfdbfe}[data-theme=dark] .improvements-priority-btn.improvement-priority--2,[data-theme=dark-graphite] .improvements-priority-btn.improvement-priority--2,[data-theme=m-power] .improvements-priority-btn.improvement-priority--2{background:#a162072d;border-color:#facc15b8;color:#fde68a}[data-theme=dark] .improvements-priority-btn.improvement-priority--3,[data-theme=dark-graphite] .improvements-priority-btn.improvement-priority--3,[data-theme=m-power] .improvements-priority-btn.improvement-priority--3{background:#c2410c33;border-color:#fb923cbc;color:#fed7aa}[data-theme=dark] .improvements-priority-btn.improvement-priority--4,[data-theme=dark-graphite] .improvements-priority-btn.improvement-priority--4,[data-theme=m-power] .improvements-priority-btn.improvement-priority--4{background:#b91c1c33;border-color:#f87171bf;color:#fecaca}.improvements-priority-btn--active,.improvements-status-btn--active{opacity:1;transform:translateY(-1px);border-color:currentColor;box-shadow:0 0 0 2px color-mix(in srgb,currentColor 36%,transparent),0 6px 12px color-mix(in srgb,#000 18%,transparent),inset 0 0 0 1px color-mix(in srgb,currentColor 24%,transparent);filter:saturate(1.08)}[data-theme=dark] .improvements-kind-btn--active,[data-theme=dark-graphite] .improvements-kind-btn--active,[data-theme=m-power] .improvements-kind-btn--active,[data-theme=dark] .improvements-priority-btn--active,[data-theme=dark-graphite] .improvements-priority-btn--active,[data-theme=m-power] .improvements-priority-btn--active,[data-theme=dark] .improvements-status-btn--active,[data-theme=dark-graphite] .improvements-status-btn--active,[data-theme=m-power] .improvements-status-btn--active{box-shadow:0 0 0 2px color-mix(in srgb,currentColor 56%,transparent),0 8px 14px color-mix(in srgb,#000 36%,transparent),inset 0 0 0 1px color-mix(in srgb,currentColor 30%,transparent)}.improvements-block{border:1px solid color-mix(in srgb,var(--surface-line) 74%,transparent);border-radius:10px;background:color-mix(in srgb,var(--surface) 78%,transparent);padding:.56rem;display:grid;height:100%;align-content:start;gap:.5rem}.improvements-block--description{align-content:start}.improvements-block--comments{grid-template-rows:auto minmax(0,1fr)}.improvements-block>header h5{margin:0;display:inline-flex;align-items:center;gap:.35rem;font-size:.88rem}.improvements-attachments-strip{display:grid;gap:.48rem;border:1px solid color-mix(in srgb,var(--surface-line) 68%,transparent);border-radius:10px;background:color-mix(in srgb,var(--surface) 74%,transparent);padding:.54rem}.improvements-attachments-strip>header h5{margin:0;display:inline-flex;align-items:center;gap:.35rem;font-size:.88rem}.improvements-attachments-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:.52rem}.improvements-attachment-tile{display:grid;grid-template-columns:3.2rem minmax(0,1fr) auto;align-items:center;gap:.5rem;min-width:0;border:1px solid color-mix(in srgb,var(--surface-line) 58%,transparent);border-radius:9px;background:color-mix(in srgb,var(--surface-elevated) 68%,transparent);padding:.42rem}.improvements-attachment-preview{width:3.2rem;height:3.2rem;border:1px solid color-mix(in srgb,var(--surface-line) 72%,transparent);border-radius:8px;background:color-mix(in srgb,var(--surface) 88%,transparent);color:var(--text-muted);display:inline-flex;align-items:center;justify-content:center;overflow:hidden;padding:0;cursor:pointer}.improvements-attachment-preview img{width:100%;height:100%;object-fit:cover}.improvements-attachment-tile__body{min-width:0;display:grid;gap:.12rem}.improvements-attachment-tile__body strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.82rem}.improvements-attachment-tile__body span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.7rem;color:var(--text-muted)}.improvements-attachments-list,.improvements-comments-list{display:grid;gap:.38rem;max-height:220px;overflow:auto;padding-right:.12rem}.improvements-block--comments .improvements-comments-list{align-content:start;max-height:none;min-height:3rem}.improvements-attachment-card,.improvements-comment-card{border:1px solid color-mix(in srgb,var(--surface-line) 58%,transparent);border-radius:9px;padding:.44rem .5rem}.improvements-attachment-card{display:flex;align-items:center;justify-content:space-between;gap:.55rem}.improvements-attachment-meta{display:flex;align-items:flex-start;gap:.42rem;min-width:0}.improvements-attachment-meta strong{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.82rem}.improvements-attachment-actions{display:inline-flex;align-items:center;gap:.38rem}.improvements-icon-btn{width:1.85rem;min-width:1.85rem;min-height:1.85rem;padding:0;font-size:0}.improvements-attachment-card p{margin:.15rem 0 0;font-size:.76rem;color:var(--text-muted)}.improvements-comment-card header{display:flex;align-items:center;justify-content:space-between;gap:.45rem;margin-bottom:.22rem;font-size:.74rem}.improvements-comment-meta{display:inline-flex;align-items:center;gap:.5rem;min-width:0}.improvements-comment-meta>span{color:var(--text-muted);font-size:.7rem;white-space:nowrap}.improvements-comment-author{display:inline-flex;align-items:center;gap:.42rem}.improvements-comment-avatar{width:1.45rem;height:1.45rem;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;color:#fff;font-size:.62rem;font-weight:800;letter-spacing:.02em;box-shadow:inset 0 0 0 1px #ffffff3b;-webkit-user-select:none;user-select:none}.improvements-comment-actions{display:inline-flex;align-items:center;gap:.35rem}.improvements-comment-card p{margin:0;white-space:pre-wrap;font-size:.82rem;line-height:1.38;background:transparent}.improvements-comment-mention{display:inline-flex;align-items:center;margin:0 .1rem;padding:.06rem .4rem;border-radius:999px;background:color-mix(in srgb,var(--accent) 16%,var(--surface));border:1px solid color-mix(in srgb,var(--accent) 42%,var(--surface-line));color:color-mix(in srgb,var(--accent-strong) 78%,var(--text-main));font-size:.76rem;font-weight:700;line-height:1.2;letter-spacing:.01em;white-space:nowrap}.improvements-comment-edit{display:grid;gap:.42rem}.improvements-comment-edit textarea{border:1px solid var(--surface-line);border-radius:10px;background:var(--surface-elevated);color:var(--text-main);font:inherit;width:100%;box-sizing:border-box;padding:.48rem .56rem}.improvements-comment-edit-actions{display:flex;justify-content:flex-end;gap:.4rem}.improvements-comment-input{position:relative;display:block;align-self:end;margin-top:auto}.improvements-mention-menu{position:absolute;left:.35rem;right:.35rem;bottom:calc(100% + .35rem);z-index:8;display:grid;gap:.18rem;max-height:13rem;overflow:auto;padding:.28rem;border:1px solid color-mix(in srgb,var(--accent) 34%,var(--surface-line));border-radius:12px;background:color-mix(in srgb,var(--surface) 92%,var(--surface-elevated));box-shadow:0 16px 34px color-mix(in srgb,#000 20%,transparent);font-family:Manrope,Segoe UI,sans-serif}.improvements-mention-option{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.55rem;border:0;border-radius:9px;background:transparent;color:var(--text-main);padding:.42rem .5rem;text-align:left;cursor:pointer;font-family:Manrope,Segoe UI,sans-serif}.improvements-mention-option:hover,.improvements-mention-option--active{background:color-mix(in srgb,var(--accent) 16%,transparent)}.improvements-mention-option__avatar{width:1.5rem;height:1.5rem;font-size:.6rem}.improvements-mention-option__name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.82rem;font-weight:700;line-height:1.2}.improvements-mention-option__login{color:var(--text-muted);font-size:.73rem;font-weight:500;letter-spacing:.01em;font-style:normal}.improvements-comment-input textarea{min-height:4rem;padding-right:2.75rem;padding-bottom:2.25rem;font-size:.86rem}.improvements-comment-submit-btn{position:absolute;right:.42rem;bottom:.42rem;width:2rem;min-width:2rem;min-height:2rem;padding:0;border-radius:9px;z-index:2;font-size:0}.improvements-comment-submit-btn:disabled{cursor:default}@media (max-width: 760px){.improvements-details-groupbox{width:100%}.improvements-modal{width:min(980px,calc(100vw - 1.2rem));max-height:calc(100dvh - 1.2rem);overflow-y:auto}.improvements-blocks-grid{grid-template-columns:1fr}.improvements-details-head{grid-template-columns:1fr;gap:.35rem}.improvements-details-head__actions{justify-content:space-between;padding-top:0}.improvements-reporter-chip{max-width:calc(100vw - 8rem)}.improvements-details-head h4{order:-1;padding-top:0}.improvements-attachments-tiles{grid-template-columns:1fr}.improvements-description-view,.improvements-description-view>svg{display:none}.improvements-title-view,.improvements-title-view>svg{display:none}.improvements-title-editor--mobile,.improvements-description-editor--mobile{display:block}.improvements-comment-card p{font-size:.86rem}.improvements-table tr,.improvements-table td{overflow:visible!important}.improvements-table tr.improvements-row--completed{padding-left:.78rem}.improvements-table tr.improvements-row--completed:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;border-radius:10px 0 0 10px;background:#5fba7d}.improvements-table td{grid-template-columns:minmax(0,56px) minmax(0,1fr)!important}.improvements-table tr.improvements-row--completed td:first-child{position:static!important;padding-left:0!important}.improvements-table tr.improvements-row--completed td:first-child:before{content:attr(data-label)!important;position:static!important;left:auto!important;top:auto!important;bottom:auto!important;width:auto!important;border-radius:0!important;background:none!important;display:block!important}.improvements-table td:nth-child(3),.improvements-table td:nth-child(4),.improvements-table td:nth-child(5){display:grid!important;width:100%!important;max-width:100%!important;box-sizing:border-box;grid-template-columns:minmax(0,56px) minmax(0,1fr)!important;gap:.45rem;align-items:center;position:relative;isolation:isolate;border-bottom:0!important;padding-bottom:.5rem!important}.improvements-table td:nth-child(3):after,.improvements-table td:nth-child(4):after,.improvements-table td:nth-child(5):after{content:"";position:absolute;left:0;right:0;bottom:0;border-bottom:1px dashed color-mix(in srgb,var(--surface-line) 62%,transparent);z-index:3;pointer-events:none}.improvements-table td .improvement-kind,.improvements-table td .improvement-priority,.improvements-table td .improvement-status{display:inline-flex!important;flex-wrap:nowrap!important;width:fit-content;max-width:none;white-space:nowrap!important;overflow-wrap:normal!important;word-break:keep-all!important;line-height:1.15}.improvements-table td .improvement-status{font-size:.68rem;padding-inline:.4rem}.improvements-priority-picker,.improvements-kind-picker{display:grid;grid-template-columns:1fr 1fr}.improvements-attachment-card{display:grid;gap:.42rem}.improvements-attachment-actions{justify-content:flex-end}}.dashboard-home{width:min(82%,1220px);margin-inline:auto;display:grid;gap:.9rem;padding:.65rem;border-radius:0;background:transparent;border:0}.dashboard-home__header{display:flex;justify-content:space-between;align-items:center;gap:.8rem}.dashboard-home__header h2{margin:0;font-size:1.2rem}.dashboard-home__header p{margin:.25rem 0 0;color:var(--text-muted)}.dashboard-home__edit{min-width:140px}.dashboard-home__edit--active{border-color:color-mix(in srgb,var(--accent) 55%,transparent);background:color-mix(in srgb,var(--accent) 10%,transparent)}.dashboard-widgets-grid{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:.75rem;align-items:stretch}.dashboard-widgets-grid--edit{position:relative;background-image:linear-gradient(to right,color-mix(in srgb,var(--surface-line) 18%,transparent) 1px,transparent 1px),linear-gradient(to bottom,color-mix(in srgb,var(--surface-line) 16%,transparent) 1px,transparent 1px);background-size:calc((100% - 6.75rem)*.1 + .75rem) 100px;border-radius:12px;padding:.2rem}.dashboard-widget{--dashboard-accent: var(--accent);grid-template-rows:auto 1fr;align-content:start;border:1px solid color-mix(in srgb,var(--surface-line) 70%,var(--dashboard-accent) 30%);border-radius:14px;background:var(--surface-elevated);padding:.75rem;box-shadow:0 10px 20px #0e1c311f;display:grid;gap:.65rem;position:relative;overflow:hidden;transition:box-shadow .16s ease,border-color .16s ease}.dashboard-widget-preview{border:2px dashed color-mix(in srgb,var(--accent) 68%,transparent);border-radius:14px;background:color-mix(in srgb,var(--accent) 12%,transparent);pointer-events:none;z-index:1}.dashboard-widget--active{box-shadow:0 0 0 2px color-mix(in srgb,var(--dashboard-accent) 55%,transparent),0 12px 24px #0e1c3129;z-index:2}.dashboard-widget--editable{cursor:grab}.dashboard-widget--editable:hover{box-shadow:0 0 0 1px color-mix(in srgb,var(--dashboard-accent) 48%,transparent),0 14px 26px #0e1c312e}.dashboard-widget--editable:active{cursor:grabbing}.dashboard-widget:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:var(--dashboard-accent-bar, color-mix(in srgb, var(--dashboard-accent) 78%, transparent))}[data-theme=m-power] .dashboard-widget{border-color:color-mix(in srgb,#55c2ff 44%,#d12b4f 56%);box-shadow:0 12px 26px #06142d59,inset 0 0 0 1px #5daeff2e}[data-theme=m-power] .dashboard-widget:before{width:5px;background:var(--dashboard-accent-bar, color-mix(in srgb, var(--dashboard-accent) 82%, transparent));box-shadow:0 0 10px color-mix(in srgb,var(--dashboard-accent) 36%,transparent)}.dashboard-widget--recentVisits{--dashboard-accent: color-mix(in srgb, var(--accent) 85%, #16a34a 15%)}.dashboard-widget--ksefPending{--dashboard-accent: var(--accent)}.dashboard-widget--visitsChart{--dashboard-accent: color-mix(in srgb, var(--accent) 85%, #0ea5e9 15%)}.dashboard-widget--calendar{--dashboard-accent: color-mix(in srgb, var(--accent) 85%, #8b5cf6 15%)}.dashboard-widget--sm{grid-column:span 4}.dashboard-widget--md{grid-column:span 6}.dashboard-widget--lg{grid-column:span 8}.dashboard-widget--full{grid-column:1 / -1}.dashboard-widget__header{display:flex;justify-content:space-between;align-items:center;gap:.5rem}.dashboard-widget__header>div:first-child{display:inline-flex;align-items:center;gap:.35rem}.dashboard-widget__header h3{margin:0;font-size:.96rem}.dashboard-widget__tools{display:inline-flex;align-items:center;gap:.35rem}.dashboard-widget-date-chip{display:inline-flex;align-items:center;justify-content:center;min-height:1.75rem;padding:0 .48rem;border-radius:8px;border:1px solid color-mix(in srgb,var(--surface-line) 70%,transparent);background:color-mix(in srgb,var(--surface-elevated) 72%,transparent);color:var(--text-muted);font-size:.75rem;font-weight:700;line-height:1;white-space:nowrap}.dashboard-widget__palette{display:inline-flex;align-items:center;gap:.2rem;padding:.12rem .16rem;border:1px solid color-mix(in srgb,var(--surface-line) 70%,transparent);border-radius:999px;background:color-mix(in srgb,var(--surface) 86%,transparent)}.dashboard-widget__swatch{width:.8rem;height:.8rem;border-radius:999px;border:1px solid color-mix(in srgb,var(--surface-line) 55%,transparent);background:var(--swatch-bg, var(--accent));padding:0;cursor:pointer;transition:transform .14s ease,box-shadow .14s ease}.dashboard-widget__swatch:hover{transform:scale(1.08)}.dashboard-widget__swatch--active{box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 52%,transparent)}.dashboard-widget__drag-btn{padding-inline:.55rem;min-height:1.95rem;font-size:.78rem}.dashboard-widget__center-drag{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:2.1rem;height:2.1rem;border-radius:10px;border:1px solid color-mix(in srgb,var(--surface-line) 70%,transparent);background:color-mix(in srgb,var(--surface) 88%,transparent);color:var(--text-muted);display:inline-flex;align-items:center;justify-content:center;opacity:.68;z-index:3;transition:opacity .16s ease,color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease}.dashboard-widget--editable:hover .dashboard-widget__center-drag,.dashboard-widget__center-drag:focus-visible{opacity:1;color:var(--dashboard-accent);border-color:color-mix(in srgb,var(--dashboard-accent) 54%,transparent);box-shadow:0 0 0 2px color-mix(in srgb,var(--dashboard-accent) 20%,transparent);transform:translate(-50%,-50%) scale(1.03)}.dashboard-widget__resize-handle{position:absolute;right:.35rem;bottom:.35rem;width:1rem;height:1rem;border:0;background:transparent;cursor:nwse-resize}.dashboard-widget__resize-handle:before{content:"";position:absolute;right:0;bottom:0;width:.8rem;height:.8rem;border-right:2px solid color-mix(in srgb,var(--dashboard-accent) 75%,transparent);border-bottom:2px solid color-mix(in srgb,var(--dashboard-accent) 75%,transparent);opacity:.9}.dashboard-widget__placeholder{margin:0;color:var(--text-muted)}.dashboard-widget__placeholder--error{color:#c93a3a}.dashboard-widget__loading{width:100%;flex:1 1 auto;min-height:120px;height:100%;display:grid;place-items:center}.dashboard-widget__spinner{width:2rem;height:2rem;border-radius:999px;border:3px solid color-mix(in srgb,var(--surface-line) 78%,transparent);border-top-color:color-mix(in srgb,var(--dashboard-accent) 86%,transparent);animation:dashboard-spinner-rotate .9s linear infinite}@keyframes dashboard-spinner-rotate{to{transform:rotate(360deg)}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.dashboard-widget__content{min-height:0}.dashboard-cash-widget{display:grid;grid-template-rows:auto minmax(0,1fr);gap:.45rem;min-height:0;height:100%}.dashboard-cash-widget__top{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:.4rem}.dashboard-cash-widget__label{display:grid;gap:.28rem}.dashboard-cash-widget__label span{font-size:.8rem;color:var(--text-muted);font-weight:700}.dashboard-cash-widget__label select,.dashboard-cash-widget__label input[type=date]{width:100%;border:1px solid var(--surface-line);border-radius:9px;background:var(--surface-elevated);color:var(--text-main);padding:.32rem .48rem;font:inherit;font-size:.84rem;line-height:1.2}.dashboard-cash-widget__stats{display:grid;gap:.25rem;padding:.05rem 0;min-height:0}.dashboard-cash-widget__stats p{margin:0;display:flex;align-items:baseline;justify-content:space-between;gap:.55rem}.dashboard-cash-widget__stats p span{color:var(--text-muted);font-size:.79rem;font-weight:700}.dashboard-cash-widget__stats p strong{font-size:.86rem}.dashboard-cash-widget__tabs{display:inline-flex;gap:.3rem;justify-self:end;align-self:end;margin-bottom:.14rem}.dashboard-cash-widget__tab{border:1px solid color-mix(in srgb,var(--surface-line) 78%,transparent);background:color-mix(in srgb,var(--surface-elevated) 88%,transparent);color:var(--text-main);border-radius:999px;padding:.24rem .58rem;font:inherit;font-size:.76rem;font-weight:700;cursor:pointer}.dashboard-cash-widget__tab--active{border-color:color-mix(in srgb,var(--dashboard-accent) 62%,var(--surface-line));background:color-mix(in srgb,var(--dashboard-accent) 18%,transparent);color:color-mix(in srgb,var(--dashboard-accent) 74%,var(--text-main))}.dashboard-cash-widget__entries{min-height:0;display:flex;flex-direction:column}.dashboard-cash-widget__entries-list{margin:0;padding:0;list-style:none;display:grid;gap:.28rem;min-height:0;height:100%;overflow:auto}.dashboard-cash-widget__entry{position:relative;border:1px solid color-mix(in srgb,var(--surface-line) 70%,transparent);border-radius:8px;padding:.34rem .42rem;display:flex;align-items:center;justify-content:space-between;gap:.55rem;background:transparent}.dashboard-cash-widget__entry--external{background:color-mix(in srgb,#fbc531 22%,transparent)}.dashboard-cash-widget__entry--company:before{content:"";position:absolute;left:2px;top:.24rem;bottom:.24rem;width:3px;border-radius:999px;background:#5f27cd}.dashboard-cash-widget__entry--company{padding-left:.58rem}.dashboard-cash-widget__entry-main{display:grid;gap:.04rem;min-width:0}.dashboard-cash-widget__entry-main strong{font-size:.79rem;line-height:1.2}.dashboard-cash-widget__entry-main span{font-size:.73rem;color:var(--text-muted)}.dashboard-cash-widget__entry-amount{font-size:.82rem;white-space:nowrap}.dashboard-cash-widget__loading{min-height:80px;display:grid;place-items:center}@media (max-width: 620px){.dashboard-cash-widget__top{grid-template-columns:1fr}.dashboard-cash-widget__tabs{justify-self:start}}.dashboard-widget-date-input-hidden{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.dashboard-recent-visits{margin:0;padding:0;list-style:none;display:grid;gap:.45rem}.dashboard-recent-visits__item{padding:0}.dashboard-recent-visits__item-btn{width:100%;border:1px solid var(--surface-line);border-radius:10px;padding:.48rem .56rem;display:grid;gap:.15rem;text-align:left;background:transparent;color:inherit;font:inherit;cursor:pointer;transition:border-color .15s ease,background-color .15s ease,transform .15s ease}.dashboard-recent-visits__item-btn:hover{border-color:color-mix(in srgb,var(--dashboard-accent) 42%,var(--surface-line));background:color-mix(in srgb,var(--dashboard-accent) 8%,var(--surface))}.dashboard-recent-visits__item-btn:active{transform:translateY(1px)}.dashboard-recent-visits__item-btn:focus-visible{outline:none;box-shadow:0 0 0 2px color-mix(in srgb,var(--dashboard-accent) 28%,transparent)}.dashboard-recent-visits__item-btn>div{display:flex;justify-content:space-between;gap:.4rem}.dashboard-recent-visits__item-btn p{margin:0;font-size:.85rem;color:var(--text-muted)}.dashboard-recent-visits__item-btn span{font-size:.82rem}.dashboard-ksef-card{min-height:148px;display:grid;align-content:center;justify-items:center;gap:.35rem;padding-top:0}.dashboard-widget--ksefPending .dashboard-widget__content{display:grid;align-content:center}.dashboard-widget--visitsChart .dashboard-widget__content{display:flex;min-height:0}.dashboard-ksef-card strong{font-size:2rem;line-height:1;color:var(--dashboard-accent)}.dashboard-ksef-card--alert strong{color:#c6001e}[data-theme=m-power] .dashboard-ksef-card--alert strong{color:#ff2747;text-shadow:0 0 18px #ff27473d}.dashboard-ksef-card svg{color:var(--dashboard-accent)}.dashboard-ksef-card span{color:var(--text-muted);font-size:.9rem}.dashboard-ksef-card__cta{margin-top:.28rem;border-color:color-mix(in srgb,#dc2626 42%,var(--surface-line))!important;background:color-mix(in srgb,#dc2626 12%,var(--surface))!important;color:color-mix(in srgb,#991b1b 82%,var(--text-main))!important;font-weight:800;min-height:2rem;padding:.34rem .72rem!important;box-shadow:0 8px 16px color-mix(in srgb,#dc2626 18%,transparent)}.dashboard-ksef-card__cta:hover{background:color-mix(in srgb,#dc2626 16%,var(--surface))!important}.dashboard-ksef-card__cta .dashboard-widget-action-btn__label{overflow:visible;text-overflow:clip}.dashboard-chart-wrap{min-height:0;height:100%;flex:1 1 auto;display:grid;grid-template-columns:30px minmax(0,1fr) 30px;gap:.45rem;align-items:stretch}.dashboard-chart-axis{grid-column:1;display:grid;grid-template-rows:repeat(5,1fr);align-items:center;justify-items:end;font-size:.72rem;color:var(--text-muted);padding-bottom:.95rem;min-height:0;height:100%}.dashboard-chart{grid-column:2;min-height:0;height:100%;position:relative;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));align-items:end;gap:.45rem;padding:.2rem .15rem .15rem}.dashboard-chart:after{content:"";position:absolute;top:.2rem;right:.15rem;bottom:1.05rem;left:.15rem;pointer-events:none;background-image:linear-gradient(to right,color-mix(in srgb,var(--surface-line) 64%,transparent) 1px,transparent 1px);background-size:calc(100% / 12) 100%;opacity:.58}.dashboard-chart__grid-line{position:absolute;left:0;right:0;border-top:1px dashed color-mix(in srgb,var(--surface-line) 82%,transparent);pointer-events:none}.dashboard-chart__bar-wrap{z-index:1;height:100%;display:grid;grid-template-rows:1fr auto;align-items:end;justify-items:center;gap:.28rem}.dashboard-chart__bar{width:72%;height:var(--bar-height, 8%);border-radius:10px 10px 6px 6px;background:linear-gradient(180deg,color-mix(in srgb,var(--accent) 75%,white 0%),color-mix(in srgb,var(--accent) 48%,#0d1d3a 52%));transform-origin:center bottom;animation:dashboard-bar-grow .58s cubic-bezier(.2,.85,.3,1) both;animation-delay:var(--bar-delay, 0ms)}.dashboard-chart__bar-wrap span{font-size:.72rem;color:var(--text-muted);white-space:nowrap}.dashboard-chart--compact .dashboard-chart__bar-wrap span{font-size:.68rem}@keyframes dashboard-bar-grow{0%{transform:scaleY(.06);opacity:.35}to{transform:scaleY(1);opacity:1}}.dashboard-calendar-placeholder{min-height:130px;display:grid;place-content:center;justify-items:center;gap:.35rem;color:var(--text-muted)}.dashboard-home__footer{display:inline-flex;align-items:center;gap:.45rem;color:var(--text-muted);font-size:.86rem}.dashboard-home__header-tools{display:inline-flex;align-items:center;gap:.5rem}.dashboard-home__manage{min-width:148px}.dashboard-widget-list{display:grid;gap:.45rem;align-content:start;min-height:0}.dashboard-widget-list__item{border:1px solid var(--surface-line);border-radius:10px;padding:.45rem .55rem;display:grid;gap:.15rem;text-align:left;color:var(--text-main);background:color-mix(in srgb,var(--surface-elevated) 78%,transparent)}.dashboard-widget-list__item>div{display:flex;align-items:center;justify-content:space-between;gap:.4rem}.dashboard-widget-list__item p{margin:0;font-size:.84rem;color:var(--text-muted);font-family:Manrope,Segoe UI,sans-serif;font-weight:500}.dashboard-widget-list__item span{font-size:.8rem;color:var(--text-muted);font-family:Manrope,Segoe UI,sans-serif;font-weight:600}.dashboard-widget-list__item strong{font-family:Manrope,Segoe UI,sans-serif;font-size:1rem;font-weight:700}.dashboard-widget--todayVisits .dashboard-widget-list__item{position:relative;padding-left:.82rem}.dashboard-widget--todayVisits .dashboard-widget-list__item:after{content:"";position:absolute;left:.18rem;top:.44rem;bottom:.44rem;width:4px;border-radius:999px;background:#ef4444;opacity:.92}.dashboard-widget--todayVisits .dashboard-widget-list__item--ordered:after{background:#f59e0b}.dashboard-widget--todayVisits .dashboard-widget-list__item--not-ordered:after{background:#ef4444}.dashboard-widget-list--calendar{min-height:0}.dashboard-widget--todayVisits .dashboard-widget__content{min-height:0;height:100%;overflow-y:auto;overflow-x:hidden;width:calc(100% + .5rem);padding-right:.2rem;margin-right:-.2rem;scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--accent) 64%,transparent) color-mix(in srgb,var(--surface-elevated) 70%,transparent)}.dashboard-widget-list__actions{display:grid;grid-template-columns:1fr 1fr;gap:.4rem}.dashboard-widget-list__actions .secondary-btn{justify-content:center;padding-inline:.45rem;min-height:2rem;font-size:.8rem}.dashboard-widget-action-btn{min-width:0}.dashboard-widget-action-btn__label{min-width:0;overflow:hidden;text-overflow:ellipsis}.dashboard-calendar-item{border:1px solid color-mix(in srgb,var(--surface-line) 80%,transparent);border-radius:10px;background:color-mix(in srgb,var(--surface-elevated) 74%,transparent);text-align:left;color:var(--text-main);display:grid;grid-template-columns:8px 1fr;gap:.5rem;align-items:stretch;padding:.42rem}.dashboard-calendar-item__color{border-radius:999px;min-height:100%}.dashboard-calendar-item div{display:grid;gap:.12rem}.dashboard-calendar-item strong{font-size:.8rem;font-family:Manrope,Segoe UI,sans-serif;font-weight:700}.dashboard-calendar-item p{margin:0;font-size:.84rem;line-height:1.15;font-family:Manrope,Segoe UI,sans-serif;font-weight:600}.dashboard-widgets-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;display:grid;place-items:center}.dashboard-widgets-modal__backdrop{position:absolute;top:0;right:0;bottom:0;left:0;border:0;background:#060f1bb8}.dashboard-widgets-modal__panel{position:relative;z-index:1;width:min(920px,calc(100vw - 2.2rem));max-height:calc(100vh - 2.2rem);overflow:auto;border:1px solid var(--surface-line);border-radius:14px;background:color-mix(in srgb,var(--surface) 95%,transparent);box-shadow:0 22px 44px #00000035;padding:.9rem;display:grid;gap:.75rem}.dashboard-widgets-modal__header{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.dashboard-widgets-modal__header h3{margin:0;font-size:1rem}.dashboard-widgets-modal__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem}.dashboard-widgets-modal__tile{border:1px solid color-mix(in srgb,var(--surface-line) 76%,transparent);border-radius:12px;padding:.65rem;display:grid;gap:.45rem;background:color-mix(in srgb,var(--surface-elevated) 75%,transparent)}.dashboard-widgets-modal__tile>div:first-child{display:inline-flex;align-items:center;gap:.35rem}.dashboard-widgets-modal__tile p{margin:0;color:var(--text-muted);font-size:.84rem;min-height:2.2em}.dashboard-widgets-modal__tile .primary-btn,.dashboard-widgets-modal__tile .secondary-btn{justify-content:center}@media (max-width: 1000px){.admin-users-shell{height:calc(100dvh - 164px);min-height:calc(100dvh - 164px);grid-template-rows:auto auto minmax(0,1fr);overflow:hidden}.admin-users-layout{width:100%;min-height:0;grid-template-rows:auto!important;height:100%;gap:.42rem}.admin-users-splitter{display:none}.admin-users-bottom,.admin-users-bottom__head{display:none!important}.admin-users-top{border-radius:14px;max-height:none;height:100%;overflow:auto}.warehouse-deliveries-shell{height:auto;min-height:auto;grid-template-rows:auto;overflow:visible}.dashboard-home__header-tools{width:100%;justify-content:flex-end}.dashboard-widgets-modal__grid{grid-template-columns:1fr}.dashboard-widget-list__actions{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-widget-action-btn{width:2.2rem;min-width:2.2rem;max-width:2.2rem;min-height:2.2rem;padding:0;justify-self:center;gap:0}.dashboard-widget-action-btn__label{display:none}.dashboard-ksef-card__cta{width:auto;min-width:0;max-width:none;padding:.34rem .6rem!important;justify-self:center;gap:.35rem}.dashboard-ksef-card__cta .dashboard-widget-action-btn__label{display:inline}.warehouse-deliveries-layout{width:100%;min-height:0;grid-template-rows:auto auto;gap:.42rem;overflow:visible}.warehouse-deliveries-splitter{display:none}.warehouse-deliveries-top,.warehouse-deliveries-bottom{border-radius:14px;max-height:44vh;overflow:auto}.warehouse-deliveries-layout{grid-template-rows:auto!important}.warehouse-deliveries-bottom{display:none!important}.warehouse-deliveries-top{max-height:none}.warehouse-deliveries-shell .warehouse-deliveries-layout .customers-table-wrap,.warehouse-deliveries-shell .warehouse-deliveries-top{overflow:visible!important}.warehouse-deliveries-shell .warehouse-deliveries-top{height:auto;min-height:0}}@media (max-width: 1000px){.dashboard-home{width:100%;padding-top:.15rem;gap:.6rem}.dashboard-home__header{display:none}.dashboard-widget,.dashboard-widget--sm,.dashboard-widget--md,.dashboard-widget--lg,.dashboard-widget--full{grid-column:1 / -1;grid-row:auto!important}.dashboard-widgets-grid,.dashboard-widgets-grid--edit{grid-template-columns:1fr!important;grid-template-rows:none!important;background-image:none;padding:0}.dashboard-chart{min-height:0;height:100%;gap:.3rem}.dashboard-chart-wrap{min-height:0;height:100%;grid-template-columns:24px minmax(0,1fr) 24px}.dashboard-chart__bar-wrap span{font-size:.62rem;line-height:1;letter-spacing:.01em}}.calendar-shell{display:grid;gap:.9rem}.calendar-toolbar{width:75%;margin-inline:auto;display:flex;align-items:center;justify-content:space-between;gap:.6rem}.calendar-toolbar__left{display:flex;align-items:center;gap:.55rem}.calendar-toolbar__left strong{text-transform:capitalize;color:var(--text-main);min-width:180px}.calendar-layout{width:75%;margin-inline:auto;display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:.8rem}.calendar-grid-wrap,.calendar-day-panel,.calendar-entry-groupbox{border:1px solid var(--surface-line);border-radius:14px;background:color-mix(in srgb,var(--surface) 92%,transparent);box-shadow:0 10px 22px #00000012}.calendar-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:.4rem;padding:.7rem .8rem .3rem}.calendar-weekdays span{text-align:center;font-size:.8rem;color:var(--text-muted);font-weight:700}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:.4rem;padding:.1rem .8rem .8rem}.calendar-cell{border:1px solid color-mix(in srgb,var(--surface-line) 78%,transparent);border-radius:12px;padding:.45rem;min-height:108px;background:color-mix(in srgb,var(--surface-elevated) 64%,transparent);text-align:left;display:grid;align-content:start;gap:.32rem}.calendar-cell--empty{background:radial-gradient(circle at 82% 16%,color-mix(in srgb,var(--accent) 8%,transparent) 0%,transparent 34%),repeating-linear-gradient(-45deg,color-mix(in srgb,var(--surface-line) 18%,transparent) 0,color-mix(in srgb,var(--surface-line) 18%,transparent) 1px,transparent 1px,transparent 10px),color-mix(in srgb,var(--surface-elevated) 68%,transparent)}.calendar-cell--out{opacity:.48}.calendar-cell--selected{border-color:color-mix(in srgb,var(--accent) 64%,#ffffff22);box-shadow:0 0 0 1px color-mix(in srgb,var(--accent) 26%,transparent)}.calendar-cell--annotated{box-shadow:0 0 0 1px color-mix(in srgb,#d12b4f 24%,transparent),inset 0 0 0 1px color-mix(in srgb,#d12b4f 14%,transparent)}.calendar-cell--day-off{border-color:color-mix(in srgb,#d12b4f 62%,var(--surface-line));background:radial-gradient(circle at 84% 20%,color-mix(in srgb,#d12b4f 14%,transparent) 0%,transparent 38%),repeating-linear-gradient(-45deg,color-mix(in srgb,#d12b4f 14%,transparent) 0,color-mix(in srgb,#d12b4f 14%,transparent) 1px,transparent 1px,transparent 10px),color-mix(in srgb,#d12b4f 8%,var(--surface-elevated))}.calendar-cell__head{display:flex;align-items:center;justify-content:space-between;gap:.35rem}.calendar-cell__head span{display:inline-flex;align-items:center;gap:.28rem;font-weight:800;color:var(--text-main)}.calendar-cell__annotation-dot{width:.46rem;height:.46rem;border-radius:999px;background:#d12b4f;box-shadow:0 0 0 3px color-mix(in srgb,#d12b4f 22%,transparent)}.calendar-cell__head small{font-size:.72rem;color:var(--text-muted)}.calendar-cell__entries{display:grid;gap:.24rem}.calendar-cell__day-off-label{justify-self:start;display:inline-flex;align-items:center;border:1px solid color-mix(in srgb,#d12b4f 58%,transparent);border-radius:999px;padding:.1rem .45rem;font-size:.69rem;font-weight:700;letter-spacing:.01em;color:#d12b4f;background:color-mix(in srgb,#d12b4f 15%,transparent)}.calendar-cell__entry{border-left:3px solid var(--accent);border-radius:8px;padding:.2rem .3rem;background:color-mix(in srgb,var(--surface-elevated) 70%,transparent);display:grid;gap:.08rem;color:var(--text-main)}.calendar-cell__entry strong{font-size:.72rem;font-family:Manrope,Segoe UI,sans-serif;font-weight:700;line-height:1.05}.calendar-cell__entry span{font-size:.74rem;font-family:Manrope,Segoe UI,sans-serif;font-weight:600;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.calendar-day-panel{position:relative;overflow:visible;padding:.8rem;display:grid;grid-template-rows:auto auto 1fr;gap:.65rem}.calendar-day-panel:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;pointer-events:none;opacity:.88;background:radial-gradient(circle at 80% 88%,color-mix(in srgb,var(--accent) 12%,transparent) 0%,transparent 40%),radial-gradient(circle at 24% 100%,color-mix(in srgb,var(--accent) 8%,transparent) 0%,transparent 32%),linear-gradient(180deg,transparent 0%,transparent 52%,color-mix(in srgb,var(--surface-line) 9%,transparent) 76%,color-mix(in srgb,var(--surface-line) 17%,transparent) 100%),repeating-linear-gradient(-45deg,color-mix(in srgb,var(--surface-line) 8%,transparent) 0,color-mix(in srgb,var(--surface-line) 8%,transparent) 1px,transparent 1px,transparent 100%)}.calendar-day-panel>*{position:relative;z-index:1}.calendar-day-panel--empty{background:linear-gradient(180deg,color-mix(in srgb,var(--accent) 4%,transparent) 0%,transparent 56%),repeating-linear-gradient(0deg,color-mix(in srgb,var(--surface-line) 14%,transparent) 0,color-mix(in srgb,var(--surface-line) 14%,transparent) 1px,transparent 1px,transparent 14px)}.calendar-day-panel header{position:relative;z-index:6;display:flex;align-items:center;justify-content:space-between;gap:.45rem}.calendar-day-panel__header{display:grid!important;grid-template-columns:1fr;gap:.52rem;align-items:start!important}.calendar-day-panel__actions{display:inline-flex;align-items:center;justify-content:space-between;width:100%;gap:.5rem}.calendar-day-add{position:relative;z-index:8}.calendar-day-add__trigger{min-width:7.15rem;min-height:2.15rem;font-size:.84rem;font-weight:700}.calendar-day-add__menu{position:absolute;right:0;top:calc(100% + .35rem);z-index:30;min-width:11.4rem;border:1px solid color-mix(in srgb,var(--surface-line) 80%,transparent);border-radius:10px;padding:.26rem;background:color-mix(in srgb,var(--surface) 94%,transparent);box-shadow:0 12px 24px #00000024;display:grid;gap:.2rem;animation:calendar-day-add-menu-in .16s ease;transform-origin:top right}.calendar-day-add__menu button{border:1px solid transparent;border-radius:8px;background:transparent;color:var(--text-main);font:inherit;font-size:.86rem;font-weight:600;text-align:left;padding:.45rem .5rem;display:inline-flex;align-items:center;gap:.38rem}.calendar-day-add__menu button:hover{border-color:color-mix(in srgb,var(--surface-line) 78%,transparent);background:color-mix(in srgb,var(--surface-elevated) 76%,transparent)}.calendar-day-off-toggle{display:inline-flex;align-items:center;gap:.35rem;border:1px solid color-mix(in srgb,var(--surface-line) 75%,transparent);border-radius:10px;padding:.38rem .56rem;background:color-mix(in srgb,var(--surface-elevated) 72%,transparent);color:var(--text-main);font-size:.84rem;font-weight:700;white-space:nowrap;min-height:2.27rem}.calendar-day-off-toggle input{margin:0}@keyframes calendar-day-add-menu-in{0%{opacity:0;transform:translateY(-6px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.calendar-day-panel h3{margin:0;font-size:.98rem}.calendar-day-panel__info,.calendar-loading,.calendar-error,.calendar-mobile-hint{margin:0;color:var(--text-muted)}.calendar-error{width:75%;margin-inline:auto;color:#c93a3a}.calendar-day-list{position:relative;z-index:1;display:grid;gap:.5rem;align-content:start;grid-auto-rows:max-content;min-height:0}.calendar-day-list:has(.calendar-day-item:hover),.calendar-day-list:has(.calendar-day-item:focus-visible){z-index:5}.calendar-annotation-drawer{position:absolute;left:.7rem;right:.7rem;bottom:.7rem;z-index:3;border:1px solid color-mix(in srgb,var(--surface-line) 82%,transparent);border-radius:12px;background:color-mix(in srgb,var(--surface) 94%,transparent);box-shadow:0 10px 18px #00000018;overflow:hidden;display:grid;grid-template-rows:auto auto 1fr}.calendar-annotation-drawer__splitter{border:0;background:color-mix(in srgb,var(--surface-elevated) 72%,transparent);width:100%;padding:.34rem 0;cursor:ns-resize;display:grid;place-items:center}.calendar-annotation-drawer__splitter span{width:54px;height:5px;border-radius:999px;background:color-mix(in srgb,var(--surface-line) 82%,transparent)}.calendar-annotation-drawer__head{display:flex;align-items:center;justify-content:space-between;gap:.45rem;padding:0 .62rem .46rem}.calendar-annotation-drawer__head strong{font-size:.84rem}.calendar-annotation-drawer__edit-btn{width:1.85rem;height:1.85rem;border:0;border-radius:999px;background:transparent;color:var(--text-muted);font:inherit;padding:0;display:inline-grid;place-items:center}.calendar-annotation-drawer__edit-btn:hover,.calendar-annotation-drawer__edit-btn:focus-visible{color:var(--text-main);background:color-mix(in srgb,var(--surface-elevated) 58%,transparent);outline:none}.calendar-annotation-drawer p{margin:0;padding:0 .62rem .62rem;overflow:auto;white-space:pre-wrap;line-height:1.4;color:var(--text-main);font-size:.86rem}.calendar-annotation-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:90;background:#0d1524a8;display:grid;place-items:center}.calendar-annotation-modal__panel{--modal-pad-x: .8rem;--modal-pad-y: .8rem;width:min(560px,calc(100vw - 2rem));border:1px solid color-mix(in srgb,var(--surface-line) 82%,transparent);border-radius:14px;background:color-mix(in srgb,var(--surface) 96%,transparent);box-shadow:0 20px 42px #0000003a;display:grid;gap:.7rem;padding:.8rem;overflow:hidden}.calendar-annotation-modal__panel header{display:flex;align-items:center;justify-content:space-between;gap:.6rem}.calendar-annotation-modal__panel header strong{font-size:.94rem}.calendar-annotation-modal__panel textarea{width:100%;border:1px solid var(--surface-line);border-radius:10px;background:var(--surface-elevated);color:var(--text-main);padding:.62rem .7rem;font:inherit;resize:vertical;min-height:180px}.calendar-annotation-modal__panel footer{display:flex;justify-content:flex-end;gap:.5rem}.calendar-day-item{position:relative;width:100%;border:1px solid color-mix(in srgb,var(--surface-line) 78%,transparent);border-radius:10px;background:color-mix(in srgb,var(--surface-elevated) 72%,transparent);display:grid;grid-template-columns:8px 1fr;gap:.55rem;padding:.48rem;text-align:left;color:var(--text-main)}.calendar-day-item__color{border-radius:999px;min-height:100%}.calendar-day-item__content{display:grid;gap:.24rem}.calendar-day-item__title{display:block;min-width:0}.calendar-day-item__title span{font-family:Manrope,Segoe UI,sans-serif;font-size:.92rem;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.calendar-day-item__time{display:inline-flex;align-items:center;gap:.28rem;color:var(--text-muted)}.calendar-day-item__time strong{font-family:Manrope,Segoe UI,sans-serif;font-size:.82rem;font-weight:700;letter-spacing:.01em}.calendar-entry-shell{width:min(1080px,75%);margin-inline:auto;color:var(--text-main)}.calendar-entry-groupbox{padding:1rem;display:grid;gap:.85rem}.calendar-entry-grid{display:grid;gap:.8rem}.calendar-entry-row{display:grid;gap:.7rem}.calendar-entry-row--three{grid-template-columns:1fr 1fr 1.8fr}.calendar-date-time-stack{display:grid;gap:.7rem}.calendar-entry-row--two{grid-template-columns:1fr 1fr}.calendar-entry-two-col{display:grid;grid-template-columns:1fr 1fr;gap:.7rem;align-items:stretch}.calendar-entry-col{display:grid;gap:.7rem;align-content:start}.calendar-field{display:grid;gap:.3rem;min-width:0}.calendar-field span{font-size:.83rem;color:var(--text-muted);font-weight:700}.calendar-field input,.calendar-field select,.calendar-field textarea{width:100%;border:1px solid var(--surface-line);border-radius:10px;background:var(--surface-elevated);color:var(--text-main);padding:.52rem .62rem;font:inherit;font-size:.95rem}.calendar-copy-field{display:grid;grid-template-columns:1fr auto;gap:.4rem}.calendar-combo-field{position:relative;display:block}.calendar-combo-field input{padding-right:4.65rem}.calendar-combo-dropdown{margin-top:.35rem;border:1px solid color-mix(in srgb,var(--surface-line) 82%,transparent);border-radius:10px;background:color-mix(in srgb,var(--surface) 92%,transparent);max-height:220px;overflow:auto;padding:.2rem;display:grid;gap:.2rem}.calendar-combo-option{border:1px solid transparent;border-radius:8px;background:transparent;color:var(--text-main);text-align:left;padding:.42rem .5rem;display:grid;gap:.08rem;font-family:Manrope,Segoe UI,sans-serif;line-height:1.2}.calendar-combo-option strong{font-size:.92rem;font-weight:600;color:var(--text-main)}.calendar-combo-option small{font-size:.8rem;font-weight:500;color:var(--text-muted)}.calendar-combo-option:hover,.calendar-combo-option--active{border-color:color-mix(in srgb,var(--accent) 35%,transparent);background:color-mix(in srgb,var(--surface-elevated) 75%,transparent)}.calendar-combo-empty{padding:.5rem;color:var(--text-muted);font-size:.85rem}.calendar-input-actions{position:absolute;right:.35rem;top:50%;transform:translateY(-50%);display:inline-flex;align-items:center;gap:.28rem}.calendar-search-icon-btn{width:1.8rem;min-width:1.8rem;min-height:1.8rem;border-radius:8px;border:1px solid color-mix(in srgb,var(--surface-line) 78%,transparent);background:color-mix(in srgb,var(--surface) 85%,transparent);color:var(--text-main);display:inline-flex;align-items:center;justify-content:center;padding:0}.calendar-copy-field input{padding-right:.5rem}.calendar-copy-field--in-input{position:relative;display:block}.calendar-copy-field--in-input input{padding-right:2.25rem}.calendar-copy-field--in-input .calendar-search-icon-btn{position:absolute;right:.35rem;top:50%;transform:translateY(-50%)}.calendar-category-group{display:grid;grid-template-columns:repeat(2,minmax(140px,1fr));gap:.38rem .45rem;max-width:440px}.calendar-category-chip{border:1px solid;border-radius:999px;padding:.26rem .6rem;background:color-mix(in srgb,var(--calendar-category-color, currentColor) 14%,var(--surface-elevated) 86%);display:inline-flex;align-items:center;gap:.35rem;justify-content:flex-start;width:100%;min-height:2rem;font-family:Manrope,Segoe UI,sans-serif;font-size:.88rem;font-weight:700;letter-spacing:.01em;white-space:nowrap;transition:transform .14s ease,background-color .16s ease,box-shadow .16s ease,border-color .16s ease}.calendar-category-chip__dot{width:.52rem;height:.52rem;border-radius:999px;flex:0 0 auto;display:none}.calendar-category-chip:hover{transform:translateY(-1px);background:color-mix(in srgb,var(--calendar-category-color, currentColor) 20%,var(--surface-elevated) 80%);box-shadow:0 8px 16px #00000014}.calendar-category-chip:active{transform:translateY(0)}.calendar-category-chip--active{background:color-mix(in srgb,var(--calendar-category-color, currentColor) 26%,var(--surface-elevated) 74%);box-shadow:0 0 0 1px currentColor inset,0 8px 18px #00000012}.calendar-category-chip__tick{margin-left:auto;width:1.18rem;height:1.18rem;display:inline-flex;align-items:center;justify-content:center;background:transparent;color:var(--calendar-category-color, currentColor);box-shadow:none;flex:0 0 auto}.calendar-category-chip__tick svg{display:block;stroke:currentColor}[data-theme=dark] .calendar-category-chip,[data-theme=dark-graphite] .calendar-category-chip,[data-theme=m-power] .calendar-category-chip{background:color-mix(in srgb,var(--calendar-category-color, currentColor) 22%,var(--surface-elevated) 78%);box-shadow:0 1px #00000030 inset}[data-theme=dark] .calendar-category-chip:hover,[data-theme=dark-graphite] .calendar-category-chip:hover,[data-theme=m-power] .calendar-category-chip:hover{background:color-mix(in srgb,var(--calendar-category-color, currentColor) 30%,var(--surface-elevated) 70%);box-shadow:0 8px 18px #0000004a}[data-theme=dark] .calendar-category-chip--active,[data-theme=dark-graphite] .calendar-category-chip--active,[data-theme=m-power] .calendar-category-chip--active{background:color-mix(in srgb,var(--calendar-category-color, currentColor) 38%,var(--surface-elevated) 62%);box-shadow:0 0 0 1px currentColor inset,0 10px 20px #00000052}.calendar-field--inline-actions .secondary-btn{justify-content:center}.calendar-profile-btn{min-height:2rem;padding:.38rem .7rem;font-size:.86rem}.calendar-description{min-height:220px;resize:vertical}.calendar-entry-col--comment .calendar-field{height:100%}.calendar-description--aligned{min-height:158px;height:100%;max-height:100%}.calendar-description--full{min-height:170px}.calendar-car-comment-display{resize:none;cursor:default}.calendar-entry-actions{display:flex;align-items:center;justify-content:space-between;gap:.6rem}.calendar-entry-actions__left,.calendar-entry-actions__right{display:flex;align-items:center;gap:.5rem}@media (max-width: 1000px){.cash-register-shell{width:100%}.cash-register-layout{grid-template-columns:1fr}.cash-register-table-wrap{min-height:340px;max-height:none}.cash-register-table-wrap--modal{max-height:min(52vh,460px)}.wheel-storage-modal{width:calc(100vw - 1rem);max-height:calc(100vh - 1rem);padding:.7rem}.wheel-storage-modal--page{width:100%}.wheel-storage-modal__grid,.wheel-storage-modal__basic-columns{grid-template-columns:1fr}.wheel-storage-modal__field,.wheel-storage-modal__field--left,.wheel-storage-modal__field--right{justify-self:start;width:100%}.wheel-storage-modal__radio-stack{margin-top:0;justify-self:start}.wheel-storage-modal__actions{flex-direction:column}.calendar-toolbar,.calendar-layout,.calendar-entry-shell{width:100%}.calendar-toolbar{flex-wrap:wrap;align-items:center;gap:.45rem}.calendar-toolbar__left{min-width:0;width:100%;justify-content:space-between;gap:.35rem}.calendar-toolbar__left strong{min-width:0;flex:1 1 auto;text-align:center}.calendar-toolbar__left .secondary-btn{width:2.3rem;min-width:2.3rem;min-height:2.3rem;padding:.38rem;flex:0 0 auto}.calendar-toolbar>.primary-btn{margin-left:auto;white-space:nowrap}.calendar-layout{grid-template-columns:1fr}.calendar-day-panel__actions{width:100%;justify-content:space-between}.calendar-day-add__menu{min-width:10.4rem}.calendar-annotation-drawer{position:static;left:auto;right:auto;bottom:auto;margin-top:.55rem;height:auto!important;min-height:0;max-height:none;box-shadow:none}.calendar-annotation-drawer__splitter{display:none}.calendar-annotation-drawer p{max-height:180px}.calendar-grid{gap:.28rem;padding:.1rem .45rem .5rem}.calendar-cell{min-height:84px;padding:.32rem}.calendar-cell__entry span{display:none}.calendar-entry-row--three,.calendar-entry-row--two,.calendar-entry-two-col{grid-template-columns:1fr}.calendar-category-group{grid-template-columns:1fr 1fr;max-width:none}.calendar-entry-actions{flex-direction:column;align-items:stretch}.calendar-entry-actions__left,.calendar-entry-actions__right{display:grid;grid-template-columns:1fr 1fr}}@media (max-width: 560px){.calendar-toolbar{gap:.32rem}.calendar-toolbar__left{gap:.24rem}.calendar-toolbar__left .secondary-btn{width:2rem;min-width:2rem;min-height:2rem;padding:.32rem;border-radius:9px;flex:0 0 auto}.calendar-toolbar__left .secondary-btn svg{width:14px;height:14px}.calendar-toolbar__left strong{font-size:1.02rem}.calendar-toolbar>.primary-btn{min-width:2.45rem;padding-inline:.55rem}.calendar-toolbar__new-label{display:none}.calendar-weekdays{gap:.26rem;padding:.6rem .46rem .22rem}.calendar-weekdays span{font-size:.74rem}.calendar-grid{gap:.22rem;padding:.08rem .42rem .45rem}.calendar-cell{min-height:82px;padding:.26rem;gap:.2rem}.calendar-cell__head{gap:.2rem;min-width:0}.calendar-cell__head span{font-size:1.1rem}.calendar-cell__head small{font-size:.64rem;line-height:1;flex:0 0 auto}.calendar-cell__entries{gap:.16rem;min-width:0}.calendar-cell__day-off-label{justify-self:stretch;width:100%;text-align:center;white-space:normal;line-height:1.05;font-size:.58rem;padding:.08rem .2rem;border-radius:8px}.calendar-cell__entry strong{display:block;font-size:.66rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}.dashboard-widget--todayVisits .dashboard-widget__content::-webkit-scrollbar{width:10px}.dashboard-widget--todayVisits .dashboard-widget__content::-webkit-scrollbar-track{background:color-mix(in srgb,var(--surface-elevated) 72%,transparent);border-radius:999px}.dashboard-widget--todayVisits .dashboard-widget__content::-webkit-scrollbar-thumb{background:linear-gradient(180deg,color-mix(in srgb,var(--accent) 72%,#ffffff 0%),color-mix(in srgb,var(--accent) 48%,#0d1d3a 52%));border-radius:999px;border:2px solid color-mix(in srgb,var(--surface-elevated) 72%,transparent)}.dashboard-widget--todayVisits .dashboard-widget__content::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg,color-mix(in srgb,var(--accent) 84%,#ffffff 0%),color-mix(in srgb,var(--accent) 58%,#0d1d3a 42%))}@media (max-width: 1200px){.new-customer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.new-customer-grid label,.new-customer-grid label:nth-child(4),.new-customer-grid label:nth-child(5){grid-column:span 1}}@media (max-width: 760px){.new-customer-shell{width:100%}.new-customer-card{padding:.75rem}.new-customer-grid{grid-template-columns:1fr}.new-customer-grid label,.new-customer-grid label:nth-child(4),.new-customer-grid label:nth-child(5){grid-column:1}.new-customer-companies__head{flex-direction:column;align-items:stretch}.new-customer-companies-empty{min-height:260px;width:100%;text-align:center}.new-customer-companies-table__empty-row,.new-customer-companies-table__empty-row td{display:block!important;width:100%!important;padding:0!important;border:none!important;background:transparent!important}.new-customer-companies-table__empty-row td:before{display:none!important}.new-customer-modal__form{padding:.1rem 0}.new-customer-modal__form label{grid-template-columns:1fr;gap:.28rem;align-items:start}}@media (max-width: 1000px){.warehouse-delivery-details-groupbox{width:100%;max-width:100%;margin-inline:0}}@media (max-width: 760px){.wheel-storage-modal .wheel-storage-modal__table tr{overflow:visible!important}.wheel-storage-modal .wheel-storage-modal__table td{grid-template-columns:80px minmax(0,1fr)!important;gap:.38rem!important;align-items:baseline!important;overflow:visible!important;padding:.28rem 0!important}.wheel-storage-modal .wheel-storage-modal__table td:before{font-size:.76rem!important;white-space:nowrap!important;text-overflow:ellipsis!important;overflow:hidden!important}.wheel-storage-modal .wheel-storage-modal__table td,.wheel-storage-modal .wheel-storage-modal__table td *{word-break:normal!important;overflow-wrap:normal!important;white-space:normal!important}.wheel-storage-modal .wheel-storage-modal__table .wheel-storage-modal__cell-value{display:block;min-width:0;width:100%;line-height:1.2;white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important;-webkit-hyphens:none!important;hyphens:none!important}.wheel-storage-modal .wheel-storage-modal__table td[data-label=Marka] .wheel-storage-modal__cell-value{white-space:nowrap!important;overflow:visible;text-overflow:clip}.wheel-storage-modal .wheel-storage-modal__table td input[type=checkbox]{justify-self:start!important}.wheel-storage-modal .wheel-storage-modal__table .wheel-storage-modal__cell-input{min-height:1.65rem!important;width:100%!important}}@media (max-width: 760px){.visit-lines-card .visit-lines-card-head{display:grid!important;grid-template-columns:1fr;gap:.3rem;align-items:start!important}.visit-lines-card .visit-lines-card-meta{order:1;display:inline-flex;align-items:baseline;gap:.28rem;flex-wrap:wrap}.visit-lines-card .visit-lines-card-meta .muted{margin-left:auto;text-align:right}.visit-lines-card .visit-lines-head-actions{order:2;width:100%}.visit-lines-card .visit-lines-head-actions .secondary-btn{min-height:2rem;padding-inline:.62rem}.visit-lines-card .visit-lines-table tr{overflow:visible!important}.visit-lines-card .visit-lines-table td{grid-template-columns:80px minmax(0,1fr)!important;gap:.38rem!important;padding:.26rem 0!important;align-items:center!important}.visit-lines-card .visit-lines-table td:before{font-size:.74rem!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.visit-lines-card .visit-lines-table td,.visit-lines-card .visit-lines-table td *{word-break:normal!important;overflow-wrap:normal!important;white-space:normal!important;text-align:left!important}.visit-lines-card .visit-lines-table td .visit-line-cell-input{min-height:1.62rem!important;padding:.16rem .3rem!important}.visit-lines-card .visit-lines-table .visit-col-num,.visit-lines-card .visit-lines-table .visit-line-cell-input--num{text-align:left!important}.visit-lines-card .visit-lines-table td[data-label="Koszt."] input[type=checkbox]{justify-self:start!important;margin:0}.visit-lines-card .visit-lines-table .visit-col-actions{width:auto!important;display:inline-flex!important;justify-content:flex-start!important;align-items:center!important;gap:.2rem!important;white-space:nowrap!important}.visit-lines-card .visit-lines-table .visit-col-actions .visit-row-btn{padding:.16rem!important;border-radius:8px}.visit-lines-card .visit-lines-table .visit-col-group .visit-line-expand-btn{width:1.45rem;height:1.45rem;border-radius:7px;background:color-mix(in srgb,var(--surface-elevated) 80%,transparent)}.visit-lines-toolbar{gap:.24rem}.visit-lines-warehouse-btn{min-width:2rem;min-height:2rem;height:2rem;padding-inline:.44rem;gap:0}.visit-lines-warehouse-btn__label{display:none}.visit-lines-toolbar .visit-icon-btn{min-width:2rem;min-height:2rem;width:2rem;height:2rem;padding:.34rem}}@media (max-width: 760px){.visit-invoice-left .visit-invoice-lines-table tr{overflow:visible!important}.visit-invoice-left .visit-invoice-lines-table .visit-lines-empty-row,.visit-invoice-left .visit-invoice-lines-table .visit-lines-empty-row td{display:block!important;width:100%!important;padding:0!important;border:none!important}.visit-invoice-left .visit-invoice-lines-table .visit-lines-empty-row td:before{display:none!important}.visit-invoice-left .visit-invoice-lines-table td:nth-child(1),.visit-invoice-left .visit-invoice-lines-table td:nth-child(2),.visit-invoice-left .visit-invoice-lines-table td:nth-child(3),.visit-invoice-left .visit-invoice-lines-table td:nth-child(4),.visit-invoice-left .visit-invoice-lines-table td:nth-child(5),.visit-invoice-left .visit-invoice-lines-table td:nth-child(6),.visit-invoice-left .visit-invoice-lines-table td:nth-child(7){width:auto!important;min-width:0!important;max-width:none!important}.visit-invoice-left .visit-invoice-lines-table td{grid-template-columns:80px minmax(0,1fr)!important;gap:.38rem!important;padding:.26rem 0!important;align-items:center!important}.visit-invoice-left .visit-invoice-lines-table td:before{font-size:.74rem!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.visit-invoice-left .visit-invoice-lines-table td,.visit-invoice-left .visit-invoice-lines-table td *{word-break:normal!important;overflow-wrap:normal!important;white-space:normal!important;text-align:left!important}.visit-invoice-left .visit-invoice-lines-table .visit-col-num{text-align:left!important}.visit-invoice-left .visit-invoice-lines-table .visit-col-actions{width:auto!important;display:inline-flex!important;justify-content:flex-start!important;align-items:center!important;gap:.2rem!important;white-space:nowrap!important}.visit-invoice-left .visit-invoice-lines-table .visit-col-actions .visit-row-btn{padding:.16rem!important;border-radius:8px}}@media (max-width: 760px){.warehouse-delivery-details-shell .warehouse-new-supply-table th,.warehouse-delivery-details-shell .warehouse-new-supply-table td,.warehouse-delivery-details-shell .warehouse-new-supply-table th:nth-child(n),.warehouse-delivery-details-shell .warehouse-new-supply-table td:nth-child(n){width:100%!important;min-width:0!important;max-width:100%!important}.warehouse-delivery-details-shell .warehouse-new-supply-modal__section--meta{grid-template-columns:1fr!important;gap:.45rem!important}.warehouse-delivery-details-shell .warehouse-delivery-details-table-head{flex-wrap:wrap;align-items:center;gap:.4rem}.warehouse-delivery-details-shell .warehouse-delivery-details-table-head .warehouse-new-supply-add-btn{margin-left:auto}.warehouse-delivery-details-shell .warehouse-delivery-details-groupbox .warehouse-new-supply-table-wrap{overflow:hidden!important}.warehouse-delivery-details-shell .warehouse-new-supply-table tr{overflow:visible!important}.warehouse-delivery-details-shell .warehouse-new-supply-table td{grid-template-columns:minmax(0,110px) minmax(0,1fr)!important;gap:.38rem!important;align-items:start!important;padding:.28rem 0!important;overflow:visible!important}.warehouse-delivery-details-shell .warehouse-new-supply-table td:before{font-size:.74rem!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.warehouse-delivery-details-shell .warehouse-new-supply-table td,.warehouse-delivery-details-shell .warehouse-new-supply-table td *{white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important;text-align:left!important}.warehouse-delivery-details-shell .warehouse-new-supply-table td>*{min-width:0!important;max-width:100%!important;overflow:visible!important}.warehouse-delivery-details-shell .warehouse-new-supply-table td input{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;min-height:1.72rem!important;padding:.16rem .42rem!important;border:1px solid var(--surface-line)!important;border-radius:9px!important;background:var(--surface-elevated)!important;color:var(--text-main)!important}.warehouse-delivery-details-shell .warehouse-new-supply-table td:nth-child(4) input[type=checkbox],.warehouse-delivery-details-shell .warehouse-new-supply-table td:nth-child(5) input[type=checkbox]{justify-self:start!important;width:auto!important}.warehouse-delivery-details-shell .warehouse-new-supply-table td:nth-child(6),.warehouse-delivery-details-shell .warehouse-new-supply-table td:nth-child(7),.warehouse-delivery-details-shell .warehouse-new-supply-table td:nth-child(8),.warehouse-delivery-details-shell .warehouse-new-supply-table td:nth-child(9){font-variant-numeric:tabular-nums}.warehouse-delivery-details-shell .warehouse-new-supply-table td:nth-child(10){grid-template-columns:1fr!important;padding-top:.2rem!important;padding-bottom:.1rem!important}.warehouse-delivery-details-shell .warehouse-new-supply-table td:nth-child(10):before{display:none!important}.warehouse-delivery-details-shell .warehouse-new-supply-table td:nth-child(10) .visit-row-btn{justify-self:start}}@media (max-width: 760px){.employee-cash-table td,.employee-cash-table td:nth-child(n){width:100%!important;min-width:0!important;max-width:100%!important}.employee-cash-table td{grid-template-columns:minmax(0,110px) minmax(0,1fr)!important;align-items:start!important}.employee-cash-table th:nth-child(2),.employee-cash-table td:nth-child(2),.employee-cash-table th:nth-child(3),.employee-cash-table td:nth-child(3),.employee-cash-table th:nth-child(4),.employee-cash-table td:nth-child(4){width:100%!important;min-width:0!important;max-width:100%!important;white-space:normal!important}.employee-cash-table td[data-label="Za co"]{padding-left:0!important}.employee-cash-table td[data-label=Typ]{display:none!important}.employee-cash-table td[data-label=Kwota],.employee-cash-table td[data-label="Data zmiany"]{font-variant-numeric:tabular-nums;text-align:left!important}}@media (max-width: 760px){.employee-cash-table tr{padding-left:.78rem!important;padding-top:.26rem!important;padding-bottom:.36rem!important}.employee-cash-table tr.cash-register-row--external{background:color-mix(in srgb,#fbc531 22%,transparent)!important}.employee-cash-table tr.cash-register-row--external td{background:transparent!important}.employee-cash-table tr:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;border-radius:10px 0 0 10px;background:#22c55e}.employee-cash-table tr.cash-register-row--company:before{background:#5f27cd}.employee-cash-table tr.cash-register-row--external:before{background:#f59e0b}.employee-cash-table tr.cash-register-row--company.cash-register-row--external:before{background:#5f27cd}.employee-cash-table td[data-label=Typ],.employee-cash-table .cash-register-marker-cell,.employee-cash-table .cash-register-marker{display:none!important}}@media (max-width: 760px){.employee-cash-table tr:not(.cash-register-row):before{display:none!important}.employee-cash-table tr:not(.cash-register-row){padding-left:.55rem!important}}@media (max-width: 760px){.cash-register-table td,.cash-register-table td:nth-child(n){width:100%!important;min-width:0!important;max-width:100%!important;text-align:left!important}.cash-register-table td{grid-template-columns:minmax(0,110px) minmax(0,1fr)!important;align-items:start!important}.cash-register-table td[data-label=Typ]{display:none!important}.cash-register-table tr.cash-register-row{padding-left:.78rem!important;padding-top:.26rem!important;padding-bottom:.36rem!important}.cash-register-table tr.cash-register-row--external{background:color-mix(in srgb,#fbc531 22%,transparent)!important}.cash-register-table tr.cash-register-row--external td{background:transparent!important}.cash-register-table tr.cash-register-row:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;border-radius:10px 0 0 10px;display:none}.cash-register-table tr.cash-register-row--company:before{display:block;background:#5f27cd}.cash-register-table tr.cash-register-row--external:before{display:block;background:#f59e0b}.cash-register-table tr.cash-register-row--company.cash-register-row--external:before{display:block;background:#5f27cd}.cash-register-table .cash-register-marker-cell,.cash-register-table .cash-register-marker{display:none!important}.cash-register-table td[data-label=Kwota],.cash-register-table td[data-label=Kwota] *{white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;font-variant-numeric:tabular-nums}}.payments-register-filter-bar{width:75%;max-width:100%;margin-inline:auto;display:flex;align-items:center;justify-content:space-between;gap:.55rem;margin-top:.2rem;margin-bottom:.45rem}.payments-register-toolbar__filter{display:flex;align-items:center;gap:.75rem;min-width:0;flex:1 1 auto}.payments-register-toolbar__filter .payments-register-filter{min-width:0;white-space:nowrap}.payments-register-toolbar__filter .customers-count{margin:0;white-space:nowrap}@media (min-width: 761px){.payments-register-filter-bar{display:none}}@media (max-width: 760px){.payments-register-toolbar__filter{display:none}.payments-register-filter-bar{width:100%;margin:.18rem 0 .4rem}.payments-register-filter{width:100%;min-width:0;padding:.36rem .45rem;border:1px solid color-mix(in srgb,var(--surface-line) 86%,transparent);border-radius:10px;background:color-mix(in srgb,var(--surface) 92%,transparent);font-size:.82rem}.payments-register-filter span{display:inline-block;min-width:0;white-space:normal;overflow-wrap:anywhere;word-break:break-word}.payments-register-table th,.payments-register-table td,.payments-register-table th:nth-child(n),.payments-register-table td:nth-child(n){width:100%!important;min-width:0!important;max-width:100%!important;white-space:normal!important;text-align:left!important}.payments-register-table td{grid-template-columns:minmax(0,112px) minmax(0,1fr)!important;align-items:start!important;gap:.38rem!important}.payments-register-table td,.payments-register-table td *{white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important}.payments-register-table td[data-label=Zweryfikowano],.payments-register-table td[data-label=Spółka]{grid-template-columns:minmax(0,112px) auto!important}.payments-register-table td[data-label=Zweryfikowano] input[type=checkbox],.payments-register-table td[data-label=Spółka] input[type=checkbox]{justify-self:start!important;margin:0}.payments-register-table td[data-label=Kwota],.payments-register-table td[data-label="S.K.B."],.payments-register-table td[data-label=Data]{font-variant-numeric:tabular-nums}}.payments-register-filter-bar .customers-count{margin:0;white-space:nowrap}@media (max-width: 760px){.payments-register-filter-bar{flex-direction:column;align-items:stretch}.payments-register-filter-bar .customers-count{align-self:flex-end;font-size:.8rem}}@media (max-width: 760px){.improvements-details-shell,.improvements-details-groupbox,.improvements-details-page,.improvements-modal-content,.improvements-blocks-grid,.improvements-field,.improvements-kind-picker,.improvements-status-picker,.improvements-priority-picker{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}.improvements-details-groupbox{width:100%!important;margin-inline:0!important}.improvements-modal,.improvements-details-page{width:100%!important;max-width:100%!important;overflow-x:hidden!important;box-sizing:border-box!important}.improvements-kind-picker,.improvements-status-picker,.improvements-priority-picker{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:.36rem!important}.improvements-kind-btn,.improvements-status-btn,.improvements-priority-btn{width:100%!important;min-width:0!important;max-width:100%!important;justify-content:flex-start!important}.improvements-kind-btn,.improvements-status-btn,.improvements-priority-btn,.improvements-kind-btn *,.improvements-status-btn *,.improvements-priority-btn *{white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important}.improvements-field input,.improvements-field textarea,.improvements-field select,.improvements-comment-input textarea,.improvements-file-input{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}}@media (max-width: 760px){.improvements-details-shell .improvements-modal{max-height:none!important;overflow:visible!important}.improvements-details-shell .improvements-details-groupbox,.improvements-details-shell .improvements-details-page{overflow:visible!important}}@media (max-width: 760px){.dashboard-shell--mobile-list .warehouse-deliveries-shell{height:auto!important;min-height:0!important;overflow:visible!important}.dashboard-shell--mobile-list .warehouse-deliveries-shell .warehouse-deliveries-layout{height:auto!important;max-height:none!important;overflow:visible!important;grid-template-rows:auto!important}.dashboard-shell--mobile-list .warehouse-deliveries-shell .warehouse-deliveries-layout .customers-table-wrap,.dashboard-shell--mobile-list .warehouse-deliveries-shell .warehouse-deliveries-top{height:auto!important;max-height:none!important;overflow:visible!important}.dashboard-shell--mobile-list .warehouse-deliveries-shell .warehouse-deliveries-bottom,.dashboard-shell--mobile-list .warehouse-deliveries-shell .warehouse-deliveries-splitter{display:none!important}}@media (max-width: 760px){.dashboard-shell--mobile-list .admin-users-shell{height:auto!important;min-height:0!important;overflow:visible!important}.dashboard-shell--mobile-list .admin-users-shell .admin-users-layout{width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;grid-template-rows:auto!important}.dashboard-shell--mobile-list .admin-users-shell .admin-users-layout .customers-table-wrap,.dashboard-shell--mobile-list .admin-users-shell .admin-users-top{width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important}.dashboard-shell--mobile-list .admin-users-shell .admin-users-bottom,.dashboard-shell--mobile-list .admin-users-shell .admin-users-bottom__head,.dashboard-shell--mobile-list .admin-users-shell .admin-users-splitter{display:none!important}}@media (max-width: 760px){.warehouse-deliveries-table td[data-label]{position:relative;isolation:isolate;border-bottom:0!important;padding-bottom:.42rem!important}.warehouse-deliveries-table td[data-label]:after{content:"";position:absolute;left:0;right:0;bottom:0;border-bottom:1px dashed color-mix(in srgb,var(--surface-line) 62%,transparent);pointer-events:none;z-index:2}.visit-lines-card .visit-lines-table td[data-label],.visit-summary-table-wrap .visit-summary-table td[data-label],.visit-invoice-left .visit-invoice-lines-table td[data-label],.quick-doc-modal .visit-invoice-lines-table td[data-label]{position:relative;isolation:isolate;border-bottom:0!important;padding-bottom:.42rem!important}.car-profile-visits-table td[data-label],.car-profile-activities-table td[data-label]{position:relative;isolation:isolate;width:100%!important;min-width:0!important;max-width:100%!important;border-bottom:0!important;padding-bottom:.42rem!important}.car-profile-visits-table td[data-label]:after{content:"";position:absolute;left:0;right:0;bottom:0;border-bottom:1px dashed color-mix(in srgb,var(--surface-line) 62%,transparent);pointer-events:none;z-index:2}.car-profile-activities-table td[data-label]:after{content:"";position:absolute;left:0;right:0;bottom:0;border-bottom:1px dashed color-mix(in srgb,var(--surface-line) 62%,transparent);pointer-events:none;z-index:2}.visit-lines-card .visit-lines-table td[data-label]:after,.visit-summary-table-wrap .visit-summary-table td[data-label]:after,.visit-invoice-left .visit-invoice-lines-table td[data-label]:after,.quick-doc-modal .visit-invoice-lines-table td[data-label]:after{content:"";position:absolute;left:0;right:0;bottom:0;border-bottom:1px dashed color-mix(in srgb,var(--surface-line) 62%,transparent);pointer-events:none;z-index:2}}@media (max-width: 760px){.customer-visit-details-row--estimate,.customer-visit-details-row--estimate.customer-visit-details-row--standard{background:color-mix(in srgb,#7c3aed 18%,var(--surface))!important;border-color:color-mix(in srgb,#7c3aed 34%,var(--surface-line))!important}.customer-visit-details-row--estimate td{background:transparent!important}.customer-visit-details-row--standard{background:var(--surface)!important}.customer-visit-details-row--standard td{background:transparent!important}.customer-details-shell .customer-editor-table tr.customer-visit-details-row--standard{position:relative;padding-left:.78rem}.customer-details-shell .customer-editor-table tr.customer-visit-details-row--standard:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;border-radius:10px 0 0 10px;background:color-mix(in srgb,#22c55e 82%,#ffffff)}.customer-details-shell .customer-editor-table .customer-visit-standard-activity{display:inline-flex;align-items:baseline;gap:.35rem;flex-wrap:nowrap;min-width:0}.customer-details-shell .customer-editor-table .customer-visit-standard-activity strong,.customer-details-shell .customer-editor-table .customer-visit-standard-activity span{white-space:nowrap}.customer-details-shell .customer-editor-table .customer-visit-standard-activity span{overflow:hidden;text-overflow:ellipsis}.customer-details-shell .customer-editor-table{min-width:0!important;border-collapse:separate;border-spacing:0;table-layout:fixed;width:100%!important;max-width:100%!important}.customer-details-shell .customer-editor-table thead{display:none}.customer-details-shell .customer-editor-table,.customer-details-shell .customer-editor-table tbody,.customer-details-shell .customer-editor-table tr,.customer-details-shell .customer-editor-table td{display:block;width:100%;max-width:100%;min-width:0!important;box-sizing:border-box}.customer-details-shell .customer-editor-table tbody{display:grid;gap:.55rem;padding:.35rem .2rem}.customer-details-shell .customer-editor-table tr{border:1px solid color-mix(in srgb,var(--surface-line) 88%,transparent);border-radius:10px;background:color-mix(in srgb,var(--surface) 94%,transparent);padding:.42rem .55rem;box-shadow:0 4px 10px #00000010}.customer-details-shell .customer-editor-table td{border:0;border-bottom:1px dashed color-mix(in srgb,var(--surface-line) 62%,transparent);padding:.34rem 0;display:grid;grid-template-columns:minmax(0,104px) minmax(0,1fr);gap:.45rem;align-items:baseline;text-align:left;font-size:.84rem}.customer-details-shell .customer-editor-table td:before{content:attr(data-label);color:var(--text-muted);font-size:.76rem;font-weight:600;min-width:0}.customer-details-shell .customer-editor-table td:last-child{border-bottom:0}.customer-details-shell .customer-editor-table td[colspan]{grid-template-columns:1fr}.customer-details-shell .customer-editor-table td[colspan]:before{display:none}}.customer-portal-section--single{max-width:none;width:100%}.customer-portal-list{display:grid;gap:.85rem}.appt-card{border:1px solid var(--surface-line);border-radius:14px;overflow:hidden;background:var(--surface)}.appt-card__header{padding:.9rem 1.1rem .85rem;background:var(--surface-elevated);border-bottom:1px solid var(--surface-line);display:grid;gap:.42rem}.appt-card__vehicle{font-weight:700;font-size:.95rem;letter-spacing:.01em}.appt-card__badges{display:flex;flex-wrap:wrap;gap:.3rem}.appt-card__badge{display:inline-flex;align-items:center;padding:.12rem .55rem;border-radius:999px;background:var(--surface);border:1px solid var(--surface-line);font-size:.76rem;color:var(--text-muted);white-space:nowrap}.appt-card__badge--date{font-variant-numeric:tabular-nums;font-weight:500;color:var(--text-main)}.calendar-day-item__tooltip{position:absolute;left:0;top:calc(100% + 8px);transform:translateY(-6px) scale(.98);z-index:20;width:min(320px,62vw);padding:.6rem .72rem;border-radius:10px;border:1px solid color-mix(in srgb,var(--surface-line) 70%,transparent);box-shadow:0 14px 34px #08182e38;background:color-mix(in srgb,var(--surface-elevated) 94%,#0d1c30 6%);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .16s ease,transform .2s ease,visibility .16s ease}.calendar-day-item__tooltip:before{content:"";position:absolute;left:16px;top:-6px;width:10px;height:10px;border-left:1px solid color-mix(in srgb,var(--surface-line) 70%,transparent);border-bottom:1px solid color-mix(in srgb,var(--surface-line) 70%,transparent);background:color-mix(in srgb,var(--surface-elevated) 94%,#0d1c30 6%);transform:rotate(135deg)}.calendar-day-item__tooltip strong{display:block;font-family:Wix Madefor Text,Segoe UI,sans-serif;font-size:.88rem;font-weight:700;color:var(--text-main)}.calendar-day-item__tooltip span{display:block;margin-top:.14rem;font-family:Wix Madefor Text,Segoe UI,sans-serif;font-size:.79rem;font-weight:700;color:var(--text-muted)}.calendar-day-item__tooltip p{margin:.3rem 0 0;font-family:Wix Madefor Text,Segoe UI,sans-serif;font-size:.82rem;line-height:1.35;color:var(--text-main);white-space:pre-wrap}.calendar-day-item:hover .calendar-day-item__tooltip,.calendar-day-item:focus-visible .calendar-day-item__tooltip{opacity:1;visibility:visible;transform:translateY(0) scale(1)}.appt-card__info{display:grid;gap:.18rem;font-size:.82rem;color:var(--text-muted);line-height:1.5;padding-top:.1rem}.appt-card__info strong{color:var(--text-main);font-weight:600}.appt-card__body{padding:.9rem 1.1rem;display:grid;gap:.7rem}.appt-card__row{display:grid;grid-template-columns:1fr 1fr;gap:.7rem;align-items:end}.appt-card__field{display:grid;gap:.24rem}.appt-card__label{font-size:.78rem;color:var(--text-muted);font-weight:500}.appt-card__field input,.appt-card__field select,.appt-card__field textarea{border:1px solid var(--surface-line);border-radius:8px;background:var(--surface-elevated);color:var(--text-main);font:inherit;font-size:.88rem;padding:.44rem .6rem;transition:border-color .15s,box-shadow .15s}.appt-card__field input:focus,.appt-card__field select:focus,.appt-card__field textarea:focus{outline:none;border-color:var(--accent)}.appt-card__field textarea{resize:vertical;min-height:70px}.appt-card__field--hint{opacity:.6}.appt-card__hint-text{font-size:.82rem;color:var(--text-muted);font-style:italic;padding:.44rem 0}.appt-card__footer{padding:.65rem 1.1rem;border-top:1px solid var(--surface-line);display:flex;gap:.5rem}@media (max-width: 680px){.appt-card__row{grid-template-columns:1fr}}.customer-portal-appointments-panel{grid-template-rows:auto minmax(0,1fr);align-content:stretch;min-height:0;padding:.85rem}.customer-portal-appointment-list{min-height:0;display:grid;align-content:start;gap:.7rem;overflow:auto}.customer-portal-appointment-list>p{margin:0;color:var(--text-muted);font-size:.85rem}.customer-portal-appointment-card{--appointment-card-accent: var(--accent);position:relative;overflow:hidden;display:grid;grid-template-rows:auto auto auto 1fr;align-content:start;gap:.68rem;border:1px solid color-mix(in srgb,var(--appointment-card-accent) 22%,var(--surface-line));border-radius:12px;padding:.82rem .86rem .82rem 1rem;background:color-mix(in srgb,var(--surface) 96%,#ffffff);box-shadow:inset 4px 0 0 var(--appointment-card-accent),0 8px 18px #0b162606;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.customer-portal-appointment-card:after{content:none}.customer-portal-appointment-card:before{content:"";position:absolute;top:0;right:0;bottom:0;width:38%;pointer-events:none;background:repeating-linear-gradient(-35deg,color-mix(in srgb,var(--appointment-card-accent) 10%,transparent) 0 1px,transparent 1px 8px);opacity:.2;-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 28%,#000 72%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0%,#000 28%,#000 72%,transparent 100%)}.customer-portal-appointment-card:hover{transform:translateY(-1px);border-color:color-mix(in srgb,var(--appointment-card-accent) 34%,var(--surface-line));box-shadow:inset 4px 0 0 var(--appointment-card-accent),0 14px 28px #0b162610}.customer-portal-appointment-card--new{--appointment-card-accent: #f59f0a}.customer-portal-appointment-card--pending{--appointment-card-accent: #2563c9}.customer-portal-appointment-card--confirmed{--appointment-card-accent: #22b45b}.customer-portal-appointment-card--completed{--appointment-card-accent: #2563c9}.customer-portal-appointment-card--cancelled{--appointment-card-accent: #c2413d}.customer-portal-appointment-card__top,.customer-portal-appointment-card__actions{display:flex;align-items:center;justify-content:space-between;gap:.7rem}.customer-portal-appointment-card__title{min-width:0;display:grid;gap:.16rem}.customer-portal-appointment-card__title strong{font-size:1rem;line-height:1.15;overflow-wrap:anywhere}.customer-portal-appointment-card__title span,.customer-portal-appointment-card__actions>span{color:var(--text-muted);font-size:.78rem;line-height:1.25}.customer-portal-appointment-badge,.customer-portal-appointment-card__badges span{display:inline-flex;align-items:center;justify-content:center;min-height:1.42rem;border-radius:999px;padding:.08rem .5rem;line-height:1;white-space:nowrap;font-size:.75rem;font-weight:800}.customer-portal-appointment-badge{color:color-mix(in srgb,var(--appointment-card-accent) 70%,var(--text-main));background:color-mix(in srgb,var(--appointment-card-accent) 14%,var(--surface-elevated));border:1px solid color-mix(in srgb,var(--appointment-card-accent) 32%,transparent)}.customer-portal-appointment-card__badges{display:flex;flex-wrap:wrap;gap:.35rem}.customer-portal-appointment-card__badges span{color:var(--text-muted);background:color-mix(in srgb,var(--surface-elevated) 70%,transparent);border:1px solid color-mix(in srgb,var(--surface-line) 74%,transparent);font-weight:700}.customer-portal-appointment-card__details{display:grid;grid-template-columns:1fr;gap:0;align-self:start;border-top:1px solid color-mix(in srgb,var(--surface-line) 72%,transparent);border-bottom:1px solid color-mix(in srgb,var(--surface-line) 72%,transparent)}.customer-portal-appointment-card__details div{min-width:0;padding:.62rem 0;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:.62rem}.customer-portal-appointment-card__details div+div{border-top:1px solid color-mix(in srgb,var(--surface-line) 72%,transparent)}.customer-portal-appointment-card__details svg{margin-top:.08rem;color:color-mix(in srgb,var(--appointment-card-accent) 58%,var(--text-muted));flex:0 0 auto}.customer-portal-appointment-card__details span{min-width:0}.customer-portal-appointment-card__details em{display:block;color:var(--text-muted);font-size:.78rem;font-style:normal;line-height:1.2}.customer-portal-appointment-card__details strong{display:block;margin-top:.18rem;font-size:.88rem;font-weight:700;line-height:1.28;overflow-wrap:anywhere}.customer-portal-appointment-card__actions .secondary-btn{min-height:2.05rem;padding:.42rem .68rem;border-radius:9px;font-size:.83rem}.customer-portal-appointment-card__actions{align-self:end;margin-top:auto}.customer-portal-appointment-card__actions .customer-portal-table-action+.customer-portal-table-action{margin-left:.25rem}.customer-portal-appointment-dialog{width:min(720px,96%)}.customer-portal-appointment-dialog__form{grid-template-columns:repeat(2,minmax(0,1fr));padding:.7rem;border:1px solid color-mix(in srgb,var(--surface-line) 62%,transparent);border-radius:10px;background:transparent}.customer-portal-appointment-dialog__response{grid-column:1 / -1}.customer-portal-appointment-dialog__form input,.customer-portal-appointment-dialog__form select,.customer-portal-appointment-dialog__form textarea{background:var(--surface-elevated)}.customer-portal-estimate-workbench{display:grid;gap:1rem}.customer-portal-estimate-block{position:relative;display:grid;gap:.85rem;padding:.95rem 1rem 1rem;border:1px solid color-mix(in srgb,var(--surface-line) 88%,transparent);border-radius:14px;background:color-mix(in srgb,var(--surface) 98%,#ffffff);box-shadow:0 10px 24px #0b162608;overflow:hidden}.customer-portal-estimate-block:before{content:none}.customer-portal-estimate-block--list:before{content:none}.customer-portal-estimate-block__head{display:flex;align-items:start;justify-content:space-between;gap:.8rem;padding:0 0 .4rem .1rem;border-bottom:1px solid color-mix(in srgb,var(--surface-line) 62%,transparent)}.customer-portal-estimate-block__title{display:grid;gap:.18rem}.customer-portal-estimate-block__title strong{display:block;font-size:1rem;line-height:1.2;color:var(--text-main)}.customer-portal-estimate-block__title span{display:block;color:var(--text-muted);font-size:.8rem;line-height:1.35}.customer-portal-estimate-block .customer-portal-form--estimate{border-color:color-mix(in srgb,var(--surface-line) 76%,transparent);background:transparent}.customer-portal-estimate-block .customer-portal-estimate-lines{gap:.72rem;border:1px solid color-mix(in srgb,var(--surface-line) 80%,transparent);border-radius:12px;padding:.85rem;background:transparent;box-shadow:none}.customer-portal-estimate-block .customer-portal-estimate-lines--required{border-color:color-mix(in srgb,#8fb3db 54%,var(--surface-line));background:linear-gradient(180deg,#f4f8fd,#f9fbfe)}.customer-portal-estimate-block .customer-portal-estimate-lines--optional{border-color:color-mix(in srgb,#c6b7d9 52%,var(--surface-line));background:linear-gradient(180deg,#faf8fd,#f7f7fb)}.customer-portal-estimate-block .customer-portal-estimate-lines__head{align-items:start;padding-bottom:.38rem;border-bottom:1px solid color-mix(in srgb,var(--surface-line) 54%,transparent)}.customer-portal-estimate-lines__title{display:grid;gap:.12rem}.customer-portal-estimate-lines__title strong{display:block;font-size:.95rem;line-height:1.2}.customer-portal-estimate-lines__title span{display:block;color:var(--text-muted);font-size:.78rem;line-height:1.35}.customer-portal-estimate-block .customer-portal-estimate-line{padding:.5rem .55rem;border:1px solid color-mix(in srgb,var(--surface-line) 62%,transparent);border-radius:10px;background:#ffffffd9}.customer-portal-estimate-block--list .customer-portal-estimate-list{gap:.78rem}.customer-portal-estimate-block--list .customer-portal-estimate-list>div{position:relative;border:1px solid color-mix(in srgb,var(--surface-line) 80%,transparent);border-radius:12px;padding:.85rem .9rem .85rem 1rem;background:linear-gradient(180deg,#f7faff,#fdfefe);box-shadow:0 8px 18px #0b162605;overflow:hidden}.customer-portal-estimate-block--list .customer-portal-estimate-list>div:before{content:none}.customer-portal-estimate-list__summary{min-width:0;display:grid;gap:.28rem}.customer-portal-estimate-list__summary strong{display:block;font-size:.95rem;line-height:1.2}.customer-portal-estimate-list__meta{display:flex;align-items:center;flex-wrap:wrap;gap:.45rem;color:var(--text-muted);font-size:.83rem}.customer-portal-estimate-badge{display:inline-flex;align-items:center;justify-content:center;min-height:1.45rem;padding:.16rem .55rem;border-radius:999px;border:1px solid color-mix(in srgb,var(--estimate-card-accent, var(--accent)) 30%,transparent);background:color-mix(in srgb,var(--estimate-card-accent, var(--accent)) 14%,var(--surface-elevated));color:color-mix(in srgb,var(--estimate-card-accent, var(--accent)) 70%,var(--text-main));line-height:1;white-space:nowrap;font-size:.75rem;font-weight:800;letter-spacing:0}.customer-portal-estimate-board{min-height:0;display:grid}.customer-portal-estimate-column{grid-template-rows:auto minmax(0,1fr)}.customer-portal-estimate-list{align-content:start;overflow:auto}.customer-portal-estimate-list>p,.customer-portal-estimate-empty{margin:0;color:var(--text-muted);font-size:.85rem}.customer-portal-estimate-card{--estimate-card-accent: var(--accent);position:relative;overflow:hidden;display:grid;gap:.7rem;border:1px solid color-mix(in srgb,var(--estimate-card-accent) 22%,var(--surface-line));border-radius:12px;padding:.8rem .85rem .8rem 1rem;background:color-mix(in srgb,var(--surface) 96%,#ffffff);box-shadow:inset 4px 0 0 var(--estimate-card-accent),0 8px 18px #0b162606;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.customer-portal-estimate-card:after{content:none}.customer-portal-estimate-card:before{content:"";position:absolute;top:0;right:0;bottom:0;width:38%;pointer-events:none;background:repeating-linear-gradient(-35deg,color-mix(in srgb,var(--estimate-card-accent) 10%,transparent) 0 1px,transparent 1px 8px);opacity:.21;-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 28%,#000 72%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0%,#000 28%,#000 72%,transparent 100%)}.customer-portal-estimate-card:hover{transform:translateY(-1px);border-color:color-mix(in srgb,var(--estimate-card-accent) 34%,var(--surface-line));box-shadow:inset 4px 0 0 var(--estimate-card-accent),0 14px 28px #0b162610}.customer-portal-estimate-card--accepted{--estimate-card-accent: #22b45b}.customer-portal-estimate-card--pending{--estimate-card-accent: #f59f0a}.customer-portal-estimate-card--rejected,.customer-portal-estimate-card--expired{--estimate-card-accent: #c2413d}.customer-portal-estimate-card--draft{--estimate-card-accent: #2563c9}.customer-portal-estimate-card__top,.customer-portal-estimate-card__actions{display:flex;align-items:center;justify-content:space-between;gap:.7rem}.customer-portal-estimate-card__title{min-width:0;display:grid;gap:.18rem}.customer-portal-estimate-card__title strong{font-size:1rem;line-height:1.15;overflow-wrap:anywhere}.customer-portal-estimate-card__title span,.customer-portal-estimate-card__actions>span{color:var(--text-muted);font-size:.8rem;line-height:1.25;overflow-wrap:anywhere}.customer-portal-estimate-card__metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0}.customer-portal-estimate-card__metrics div{min-width:0;padding:.54rem .65rem;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.5rem}.customer-portal-estimate-card__metrics div:nth-child(odd){padding-left:0;border-right:1px solid color-mix(in srgb,var(--surface-line) 76%,transparent)}.customer-portal-estimate-card__metrics div:nth-child(2n){padding-right:0}.customer-portal-estimate-card__metrics div:nth-child(n+3){border-top:1px solid color-mix(in srgb,var(--surface-line) 76%,transparent)}.customer-portal-estimate-card__metrics svg{color:color-mix(in srgb,var(--estimate-card-accent, var(--accent)) 58%,var(--text-muted));flex:0 0 auto}.customer-portal-estimate-card__metrics span{display:block;min-width:0}.customer-portal-estimate-card__metrics em{display:block;color:var(--text-muted);font-size:.74rem;font-style:normal;line-height:1.1}.customer-portal-estimate-card__metrics strong{display:block;margin-top:.16rem;font-size:.88rem;overflow-wrap:anywhere}.customer-portal-page .customer-portal-estimate-card__metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-portal-page .customer-portal-estimate-card__metrics>div:nth-child(1){grid-column:1;grid-row:1}.customer-portal-page .customer-portal-estimate-card__metrics>div:nth-child(2){grid-column:2;grid-row:1}.customer-portal-page .customer-portal-estimate-card__metrics>div:nth-child(3){grid-column:1;grid-row:2}.customer-portal-page .customer-portal-estimate-card__metrics>div:nth-child(4){grid-column:2;grid-row:2}.customer-portal-estimate-card__actions .customer-portal-table-action+.customer-portal-table-action{margin-left:.25rem}.customer-portal-estimate-dialog{width:min(860px,96%)}.customer-portal-estimate-preview-dialog{width:min(960px,96%)}.customer-portal-estimate-preview-dialog header{margin:calc(var(--modal-pad-y) * -1) calc(var(--modal-pad-x) * -1) 0;padding:.78rem .92rem;border-bottom:1px solid var(--surface-line);background:linear-gradient(90deg,color-mix(in srgb,var(--accent) 14%,transparent),transparent 44%),linear-gradient(180deg,color-mix(in srgb,var(--surface-elevated) 86%,transparent),color-mix(in srgb,var(--surface) 95%,transparent));border-top-left-radius:inherit;border-top-right-radius:inherit}.customer-portal-estimate-preview-dialog footer{display:none}.customer-portal-estimate-preview{display:grid;gap:1.05rem}.customer-portal-estimate-preview__summary{margin:0;color:var(--text-muted)}.customer-portal-estimate-preview__columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;align-items:stretch}.customer-portal-estimate-preview__block{--estimate-preview-accent: #2563c9;border:1px solid color-mix(in srgb,var(--estimate-preview-accent) 20%,var(--surface-line));border-radius:12px;padding:.72rem;background:color-mix(in srgb,var(--estimate-preview-accent) 4%,var(--surface));display:grid;gap:.9rem;align-self:stretch;align-content:start;align-items:start}.customer-portal-estimate-preview__block--required{--estimate-preview-accent: #2563c9}.customer-portal-estimate-preview__block--optional{--estimate-preview-accent: #22b45b;background:color-mix(in srgb,#22b45b 1.5%,var(--surface))}.customer-portal-estimate-preview__block-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.5rem;width:100%}.customer-portal-estimate-preview__block-icon{width:2.2rem;height:2.2rem;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;color:color-mix(in srgb,var(--estimate-preview-accent) 84%,var(--text-main));background:color-mix(in srgb,var(--estimate-preview-accent) 12%,#ffffff)}.customer-portal-estimate-preview__block h5{margin:0;font-size:.9rem;line-height:1.15}.customer-portal-estimate-preview__count-badge{min-height:1.35rem;border-radius:999px;padding:.08rem .48rem;display:inline-flex;align-items:center;justify-content:center;color:color-mix(in srgb,var(--estimate-preview-accent) 84%,var(--text-main));background:color-mix(in srgb,var(--estimate-preview-accent) 12%,#ffffff);font-weight:800;font-size:.72rem;white-space:nowrap}.customer-portal-estimate-preview__block>p{margin:0;color:var(--text-muted);font-size:.84rem}.customer-portal-estimate-preview__item{--estimate-preview-accent: var(--accent);border:1px solid color-mix(in srgb,var(--estimate-preview-accent) 24%,var(--surface-line));border-radius:12px;padding:.7rem .76rem .7rem .84rem;background:color-mix(in srgb,var(--estimate-preview-accent) 4%,var(--surface-elevated));display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.78rem;position:relative;width:100%;box-shadow:inset 4px 0 0 var(--estimate-preview-accent)}.customer-portal-estimate-preview__item--required{--estimate-preview-accent: #2563c9}.customer-portal-estimate-preview__item--selected{--estimate-preview-accent: #22b45b;background:color-mix(in srgb,#22b45b 8%,var(--surface-elevated))}.customer-portal-estimate-preview__item--optional{--estimate-preview-accent: #f59f0a}.customer-portal-estimate-preview__item-icon{width:2.8rem;height:2.8rem;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;color:color-mix(in srgb,var(--estimate-preview-accent) 86%,var(--text-main));background:color-mix(in srgb,var(--estimate-preview-accent) 10%,#ffffff)}.customer-portal-estimate-preview__item--required .customer-portal-estimate-preview__item-icon{background:color-mix(in srgb,var(--estimate-preview-accent) 18%,#ffffff)}.customer-portal-estimate-preview__item--selected .customer-portal-estimate-preview__item-icon{color:#0b8f3f;background:color-mix(in srgb,#22b45b 22%,#ffffff);box-shadow:0 0 0 1px color-mix(in srgb,#22b45b 18%,transparent)}.customer-portal-estimate-preview__item-copy{display:grid;gap:.28rem;min-width:0}.customer-portal-estimate-preview__item-copy strong{display:block;line-height:1.2;font-size:.92rem}.customer-portal-estimate-preview__item-copy span{display:block;color:var(--text-muted);font-size:.76rem}.customer-portal-estimate-preview__meta{display:grid;justify-items:end;gap:.35rem;min-width:max-content}.customer-portal-estimate-preview__meta strong{font-size:1rem}.customer-portal-estimate-preview__badge{border-radius:999px;border:0;background:color-mix(in srgb,var(--surface-elevated) 90%,transparent);color:var(--text-main);font-size:.68rem;font-weight:800;letter-spacing:0;padding:.16rem .62rem;line-height:1;white-space:nowrap}.customer-portal-estimate-preview__badge--required{background:color-mix(in srgb,#2563c9 15%,var(--surface-elevated));color:#1d4f9f}.customer-portal-estimate-preview__badge--selected{background:color-mix(in srgb,#22b45b 18%,var(--surface-elevated));color:#0b6a2f}.customer-portal-estimate-preview__footer-bar{margin:0 calc(var(--modal-pad-x) * -1) calc(var(--modal-pad-y) * -1);padding:.9rem var(--modal-pad-x);border-top:1px solid color-mix(in srgb,var(--surface-line) 72%,transparent);display:flex;align-items:center;justify-content:space-between;gap:.9rem;background:color-mix(in srgb,var(--surface) 97%,#ffffff);border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.customer-portal-estimate-preview__footer-bar>.secondary-btn{min-width:7.2rem}.customer-portal-estimate-preview__summary-bar{display:inline-flex;align-items:center;gap:1.25rem}.customer-portal-estimate-preview__summary-item+.customer-portal-estimate-preview__summary-item{position:relative;padding-left:1.25rem}.customer-portal-estimate-preview__summary-item+.customer-portal-estimate-preview__summary-item:before{content:"";position:absolute;left:0;top:.3rem;bottom:.3rem;width:1px;background:color-mix(in srgb,var(--surface-line) 78%,transparent)}.customer-portal-estimate-preview__summary-item{--estimate-preview-summary-accent: #2563c9;display:inline-flex;align-items:center;gap:.62rem;min-width:0}.customer-portal-estimate-preview__summary-item--selected{--estimate-preview-summary-accent: #22b45b}.customer-portal-estimate-preview__summary-icon{width:2.45rem;height:2.45rem;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;color:color-mix(in srgb,var(--estimate-preview-summary-accent) 84%,var(--text-main));background:color-mix(in srgb,var(--estimate-preview-summary-accent) 12%,#ffffff);flex:0 0 auto}.customer-portal-estimate-preview__summary-item div{display:grid;gap:.14rem}.customer-portal-estimate-preview__summary-item span{color:var(--text-muted);font-size:.86rem}.customer-portal-estimate-preview__summary-item strong{font-size:1.08rem;line-height:1.1}.customer-portal-estimate-preview__selected-badge{min-height:1.55rem;border-radius:999px;padding:.16rem .58rem;color:#0b6a2f;background:color-mix(in srgb,#22b45b 16%,#ffffff);font-weight:800}.customer-portal-estimate-dialog__form{grid-template-columns:minmax(0,1.25fr) minmax(12rem,.75fr);padding:.7rem;border:1px solid color-mix(in srgb,var(--surface-line) 62%,transparent);border-radius:10px;background:transparent}.customer-portal-estimate-dialog__form input,.customer-portal-estimate-dialog__form textarea{background:var(--surface-elevated)}@media (max-width: 560px){.customer-portal-estimate-card__top,.customer-portal-estimate-card__actions{align-items:flex-start;flex-direction:column}.customer-portal-estimate-card__metrics{grid-template-columns:1fr}.customer-portal-estimate-card__metrics div,.customer-portal-estimate-card__metrics div:nth-child(odd),.customer-portal-estimate-card__metrics div:nth-child(2n){border-right:0;padding-left:0;padding-right:0}.customer-portal-estimate-card__metrics div+div{border-top:1px solid color-mix(in srgb,var(--surface-line) 76%,transparent)}.customer-portal-appointment-card__top,.customer-portal-appointment-card__actions{align-items:flex-start;flex-direction:column}.customer-portal-appointment-card__details,.customer-portal-appointment-dialog__form,.customer-portal-estimate-dialog__form,.customer-portal-estimate-preview__columns{grid-template-columns:1fr}.customer-portal-estimate-preview__item{grid-template-columns:auto minmax(0,1fr)}.customer-portal-estimate-preview__meta{grid-column:1 / -1;justify-items:start}.customer-portal-estimate-preview__footer-bar,.customer-portal-estimate-preview__summary-bar{align-items:stretch;flex-direction:column}.customer-portal-estimate-preview__summary-item+.customer-portal-estimate-preview__summary-item{padding-left:0;padding-top:.75rem}.customer-portal-estimate-preview__summary-item+.customer-portal-estimate-preview__summary-item:before{top:0;right:0;bottom:auto;width:auto;height:1px}.customer-portal-estimate-block{padding:.75rem}.customer-portal-estimate-block__head{padding-left:0}.customer-portal-estimate-block .customer-portal-estimate-lines{padding:.7rem}}[data-theme=dark] .customer-portal-modal,[data-theme=dark-graphite] .customer-portal-modal,[data-theme=m-power] .customer-portal-modal{border-color:color-mix(in srgb,var(--accent) 32%,var(--surface-line));background:color-mix(in srgb,var(--surface) 94%,#07101e);box-shadow:0 24px 70px #00000078}[data-theme=dark] .customer-portal-page .customer-portal-modal.customer-portal-modal--page,[data-theme=dark-graphite] .customer-portal-page .customer-portal-modal.customer-portal-modal--page,[data-theme=m-power] .customer-portal-page .customer-portal-modal.customer-portal-modal--page{border-color:transparent!important;background:transparent!important;box-shadow:none!important}[data-theme=dark] .customer-portal-modal__head,[data-theme=dark-graphite] .customer-portal-modal__head,[data-theme=m-power] .customer-portal-modal__head{border-bottom-color:color-mix(in srgb,var(--accent) 24%,var(--surface-line));background:color-mix(in srgb,var(--surface-elevated) 72%,#0b1626)}[data-theme=dark] .customer-portal-modal__body,[data-theme=dark-graphite] .customer-portal-modal__body,[data-theme=m-power] .customer-portal-modal__body{background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 10%,transparent),transparent 34%),linear-gradient(315deg,color-mix(in srgb,#1f9d62 8%,transparent),transparent 48%),radial-gradient(circle at 16% 14%,color-mix(in srgb,var(--accent) 12%,transparent),transparent 27rem),linear-gradient(180deg,color-mix(in srgb,var(--surface-elevated) 62%,#0b1626),color-mix(in srgb,var(--surface) 94%,#06101d))}[data-theme=dark] .customer-portal-modal__body:before,[data-theme=dark-graphite] .customer-portal-modal__body:before,[data-theme=m-power] .customer-portal-modal__body:before{opacity:.32;background-image:linear-gradient(color-mix(in srgb,var(--accent) 22%,transparent) 1px,transparent 1px),linear-gradient(90deg,color-mix(in srgb,var(--accent) 22%,transparent) 1px,transparent 1px)}[data-theme=dark] .customer-portal-page .customer-portal-modal--page .customer-portal-modal__body,[data-theme=dark-graphite] .customer-portal-page .customer-portal-modal--page .customer-portal-modal__body,[data-theme=m-power] .customer-portal-page .customer-portal-modal--page .customer-portal-modal__body{background:transparent!important}[data-theme=dark] .customer-portal-page .customer-portal-modal--page .customer-portal-modal__body:before,[data-theme=dark-graphite] .customer-portal-page .customer-portal-modal--page .customer-portal-modal__body:before,[data-theme=m-power] .customer-portal-page .customer-portal-modal--page .customer-portal-modal__body:before{display:none!important}[data-theme=dark] .customer-portal-page .customer-editor-mobile-panel.customer-portal-modal__body,[data-theme=dark-graphite] .customer-portal-page .customer-editor-mobile-panel.customer-portal-modal__body,[data-theme=m-power] .customer-portal-page .customer-editor-mobile-panel.customer-portal-modal__body{background:transparent!important}[data-theme=dark] .customer-portal-subtabs,[data-theme=dark-graphite] .customer-portal-subtabs,[data-theme=m-power] .customer-portal-subtabs,[data-theme=dark] .customer-portal-section,[data-theme=dark-graphite] .customer-portal-section,[data-theme=m-power] .customer-portal-section,[data-theme=dark] .customer-portal-service-column,[data-theme=dark-graphite] .customer-portal-service-column,[data-theme=m-power] .customer-portal-service-column{border-color:color-mix(in srgb,var(--accent) 26%,var(--surface-line));background:color-mix(in srgb,var(--surface) 84%,#0a1626)}[data-theme=dark] .customer-portal-subtabs,[data-theme=dark-graphite] .customer-portal-subtabs,[data-theme=m-power] .customer-portal-subtabs{border-color:transparent;background:transparent}[data-theme=dark] .customer-portal-subtab--active,[data-theme=dark-graphite] .customer-portal-subtab--active,[data-theme=m-power] .customer-portal-subtab--active{background:color-mix(in srgb,var(--accent) 24%,var(--surface-elevated));border-color:color-mix(in srgb,var(--accent) 62%,var(--surface-line))}[data-theme=dark] .customer-portal-activation-card,[data-theme=dark-graphite] .customer-portal-activation-card,[data-theme=m-power] .customer-portal-activation-card,[data-theme=dark] .customer-portal-activation-empty,[data-theme=dark-graphite] .customer-portal-activation-empty,[data-theme=m-power] .customer-portal-activation-empty{background:linear-gradient(90deg,color-mix(in srgb,var(--activation-accent) 12%,transparent),transparent 40%),linear-gradient(180deg,color-mix(in srgb,var(--surface-elevated) 72%,#0b1626),color-mix(in srgb,var(--surface) 92%,#06101d))}[data-theme=dark] .customer-portal-activation-card__meta div,[data-theme=dark-graphite] .customer-portal-activation-card__meta div,[data-theme=m-power] .customer-portal-activation-card__meta div,[data-theme=dark] .customer-portal-appointment-card__details,[data-theme=dark-graphite] .customer-portal-appointment-card__details,[data-theme=m-power] .customer-portal-appointment-card__details{border-color:color-mix(in srgb,var(--accent) 22%,var(--surface-line))}[data-theme=dark] .customer-portal-service-card,[data-theme=dark-graphite] .customer-portal-service-card,[data-theme=m-power] .customer-portal-service-card,[data-theme=dark] .customer-portal-estimate-card,[data-theme=dark-graphite] .customer-portal-estimate-card,[data-theme=m-power] .customer-portal-estimate-card,[data-theme=dark] .customer-portal-appointment-card,[data-theme=dark-graphite] .customer-portal-appointment-card,[data-theme=m-power] .customer-portal-appointment-card,[data-theme=dark] .customer-portal-media-list>div,[data-theme=dark-graphite] .customer-portal-media-list>div,[data-theme=m-power] .customer-portal-media-list>div{background:color-mix(in srgb,var(--surface) 90%,#07101e)}[data-theme=dark] .customer-portal-title-vehicle-picker select,[data-theme=dark-graphite] .customer-portal-title-vehicle-picker select,[data-theme=m-power] .customer-portal-title-vehicle-picker select,[data-theme=dark] .customer-portal-form input,[data-theme=dark] .customer-portal-form select,[data-theme=dark] .customer-portal-form textarea,[data-theme=dark-graphite] .customer-portal-form input,[data-theme=dark-graphite] .customer-portal-form select,[data-theme=dark-graphite] .customer-portal-form textarea,[data-theme=m-power] .customer-portal-form input,[data-theme=m-power] .customer-portal-form select,[data-theme=m-power] .customer-portal-form textarea{border-color:color-mix(in srgb,var(--accent) 34%,var(--surface-line));background:color-mix(in srgb,var(--surface-elevated) 84%,#07101e)}.titlebar-customer-chat{position:relative}.titlebar-chat-trigger{position:relative;min-width:42px;height:36px;padding:0 .56rem}.titlebar-chat-trigger--open{background:#ffffff2a}.titlebar-chat-trigger__count{position:absolute;top:-5px;right:-5px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;border:1px solid #1f2937;background:#ef4444;color:#fff;font-size:.65rem;font-weight:800;line-height:16px;text-align:center}.customer-chat-menu{position:absolute;top:calc(100% + 8px);right:0;width:min(480px,92vw);max-height:min(70vh,600px);border:1px solid var(--surface-line);border-radius:12px;background:color-mix(in srgb,var(--surface) 97%,#ffffff 3%);box-shadow:0 14px 32px #0003;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);padding:.7rem;display:grid;grid-template-rows:auto auto auto minmax(0,1fr);gap:.6rem;font-family:Manrope,Segoe UI,sans-serif;z-index:42}.customer-chat-menu__head{display:flex;align-items:center;justify-content:space-between;gap:.6rem}.customer-chat-menu__head strong{color:var(--text-main);font-size:.94rem}.customer-chat-menu__head span{color:var(--text-muted);font-size:.76rem;font-weight:700}.customer-chat-search{min-height:36px;border:1px solid color-mix(in srgb,var(--surface-line) 88%,transparent);border-radius:10px;background:color-mix(in srgb,var(--surface-elevated) 62%,var(--surface));color:var(--text-muted);display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.45rem;padding:0 .65rem}.customer-chat-search input{min-width:0;border:0;outline:none;background:transparent;color:var(--text-main);font:inherit;font-size:.84rem}.customer-chat-filters{display:flex;align-items:center;gap:.45rem;overflow-x:auto;padding-bottom:.1rem}.customer-chat-filter{border:1px solid color-mix(in srgb,var(--surface-line) 90%,transparent);border-radius:999px;background:color-mix(in srgb,var(--surface-elevated) 78%,transparent);color:var(--text-main);cursor:pointer;font-family:Manrope,Segoe UI,sans-serif;font-size:.76rem;font-weight:700;min-height:30px;padding:0 .62rem;display:inline-flex;align-items:center;gap:.35rem;white-space:nowrap}.customer-chat-filter span{min-width:18px;height:18px;border-radius:999px;background:color-mix(in srgb,var(--surface-line) 72%,transparent);display:inline-flex;align-items:center;justify-content:center;color:var(--text-main);font-size:.68rem}.customer-chat-filter--active{border-color:color-mix(in srgb,var(--accent) 68%,transparent);background:var(--accent);color:#fff}.customer-chat-filter--active span{background:#ffffff2f;color:#fff}.customer-chat-list{display:grid;gap:.45rem;overflow-y:auto;padding-right:.18rem}.customer-chat-tile{width:100%;min-width:0;border:1px solid color-mix(in srgb,var(--surface-line) 90%,transparent);border-radius:11px;background:color-mix(in srgb,var(--surface-elevated) 78%,transparent);color:var(--text-main);cursor:pointer;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:.68rem;align-items:center;padding:.55rem .62rem;text-align:left;font-family:Manrope,Segoe UI,sans-serif}.customer-chat-tile--unread{border-color:color-mix(in srgb,var(--accent) 48%,var(--surface-line));background:color-mix(in srgb,var(--accent) 11%,var(--surface-elevated))}.customer-chat-avatar{position:relative;width:42px;height:42px;border-radius:50%;flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(145deg,var(--chat-avatar-start, #a7dcf6),var(--chat-avatar-end, #d5f0ff));color:var(--chat-avatar-text, #1f3558);font-size:.86rem;font-weight:800;box-shadow:inset 0 0 0 1px #ffffff7c}.customer-chat-avatar--compact{width:28px;height:28px;font-size:.68rem}.customer-chat-presence{position:absolute;right:0;bottom:1px;width:11px;height:11px;border:2px solid var(--surface);border-radius:50%;background:#9ca3af}.customer-chat-presence--online{background:#22c55e}.customer-chat-presence--away{background:#f59e0b}.customer-chat-presence--offline{background:#64748b}.customer-chat-tile__content{min-width:0;display:grid;gap:.08rem}.customer-chat-tile__top{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.5rem;align-items:center}.customer-chat-tile__top strong{min-width:0;overflow:hidden;color:var(--text-main);font-size:.82rem;text-overflow:ellipsis;white-space:nowrap}.customer-chat-tile__top time{color:var(--text-muted);font-size:.68rem;font-weight:700;white-space:nowrap}.customer-chat-tile__context,.customer-chat-tile__message{min-width:0;overflow:hidden;color:var(--text-muted);font-size:.74rem;line-height:1.22;text-overflow:ellipsis;white-space:nowrap}.customer-chat-tile__context{color:color-mix(in srgb,var(--text-main) 76%,var(--text-muted));font-weight:700}.customer-chat-unread{min-width:21px;height:21px;border-radius:999px;background:var(--accent);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:.7rem;font-weight:800;line-height:1;white-space:nowrap}.customer-chat-empty{margin:0;padding:.75rem;color:var(--text-muted);font-size:.84rem;text-align:center}.customer-chat-toasts{position:fixed;top:5.3rem;right:1.2rem;z-index:44;width:min(340px,calc(100vw - 2.4rem));display:grid;gap:.55rem;pointer-events:none}.customer-chat-toast{min-width:0;border:1px solid color-mix(in srgb,var(--accent) 42%,var(--surface-line));border-radius:12px;background:color-mix(in srgb,var(--surface) 96%,#ffffff 4%);color:var(--text-main);box-shadow:0 16px 34px #00000030;cursor:pointer;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.7rem;padding:.72rem .78rem;text-align:left;font-family:Manrope,Segoe UI,sans-serif;pointer-events:auto;animation:customer-chat-toast-in .18s ease-out}.customer-chat-toast>span{min-width:0;display:grid;gap:.16rem}.customer-chat-toast>svg:first-child{width:34px;height:34px;border-radius:999px;background:color-mix(in srgb,var(--accent) 14%,var(--surface-elevated));color:var(--accent);padding:.5rem}.customer-chat-toast strong,.customer-chat-toast small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-chat-toast strong{font-size:.84rem;font-weight:850}.customer-chat-toast small{color:var(--text-muted);font-size:.74rem;font-weight:650}.customer-chat-toast>svg:last-child{color:var(--text-muted)}@keyframes customer-chat-toast-in{0%{transform:translate(18px);opacity:0}to{transform:translate(0);opacity:1}}.customer-chat-dock{position:fixed;right:1.2rem;bottom:1.1rem;z-index:35;display:flex;flex-direction:row-reverse;align-items:flex-end;gap:.8rem;max-width:calc(100vw - 2.4rem);pointer-events:none}.customer-chat-windows{display:flex;flex-direction:row-reverse;align-items:flex-end;gap:.8rem;min-width:0;pointer-events:none}.customer-chat-window{width:clamp(320px,31vw,420px);height:min(540px,72vh);border:1px solid color-mix(in srgb,var(--surface-line) 86%,transparent);border-radius:13px;background:color-mix(in srgb,var(--surface) 97%,#ffffff 3%);box-shadow:0 18px 38px #0000002f;color:var(--text-main);display:grid;grid-template-rows:auto minmax(0,1fr) auto;font-family:Manrope,Segoe UI,sans-serif;overflow:hidden;pointer-events:auto}.customer-chat-window__head{min-width:0;border-bottom:1px solid color-mix(in srgb,var(--surface-line) 78%,transparent);display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:.65rem;align-items:center;padding:.75rem}.customer-chat-window__title{min-width:0;display:grid;gap:.12rem}.customer-chat-window__title strong,.customer-chat-window__title span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-chat-window__title strong{color:var(--text-main);font-size:.92rem}.customer-chat-window__title span{color:var(--text-muted);font-size:.76rem;font-weight:700}.customer-chat-window__actions{display:inline-flex;align-items:center;gap:.1rem}.customer-chat-window__actions .icon-btn{width:28px;height:28px;color:var(--text-main)}.customer-chat-window__body{min-height:0;overflow-y:auto;overflow-x:hidden;padding:.95rem .75rem;display:flex;flex-direction:column;gap:.62rem;background:var(--surface)}.customer-chat-message-row{width:min(82%,340px);max-width:82%;display:grid;grid-template-columns:28px minmax(0,1fr);align-items:end;gap:.42rem}.customer-chat-message-row--inbound{align-self:flex-start}.customer-chat-message-row--inbound .customer-chat-message{min-width:0}.customer-chat-message-row--typing{align-items:center}.customer-chat-message-row--outbound{width:min(74%,320px);max-width:74%;align-self:flex-end;display:flex;flex-direction:column;align-items:flex-end;gap:.18rem}.customer-chat-message-row--outbound .customer-chat-message{min-width:56px}.customer-chat-message-avatar-spacer{width:28px;height:28px}.customer-chat-message{width:fit-content;max-width:100%;border:1px solid color-mix(in srgb,var(--surface-line) 80%,transparent);border-radius:13px;padding:.55rem .62rem .45rem;display:grid;gap:.22rem;box-shadow:0 4px 12px #00000010}.customer-chat-message p{margin:0;color:var(--text-main);font-size:.84rem;line-height:1.34;white-space:pre-wrap;overflow-wrap:anywhere}.customer-chat-message-sender{display:block;color:var(--text-muted);font-size:.7rem;font-weight:750;line-height:1.15;letter-spacing:.01em;margin-bottom:.1rem;text-align:left}.customer-chat-image-message,.customer-chat-file-message{border:0;background:transparent;color:inherit;cursor:pointer;font:inherit;padding:0}.customer-chat-image-message{display:block;overflow:hidden;border-radius:10px;max-width:240px}.customer-chat-image-message img{display:block;width:100%;max-height:260px;object-fit:cover}.customer-chat-image-message span{display:block;padding:.65rem;color:var(--text-muted);font-size:.78rem}.customer-chat-file-message{min-width:min(220px,100%);display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.5rem;text-align:left}.customer-chat-file-message>span{min-width:0;display:grid;gap:.08rem}.customer-chat-file-message strong,.customer-chat-file-message small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-chat-file-message strong{color:var(--text-main);font-size:.82rem}.customer-chat-file-message small{color:var(--text-muted);font-size:.7rem}.customer-chat-message time{display:inline-flex;align-items:center;justify-content:flex-end;gap:.16rem;color:var(--text-muted);font-size:.72rem;line-height:1}.customer-chat-message--inbound{border-top-left-radius:5px;background:color-mix(in srgb,var(--surface-elevated) 86%,var(--surface))}.customer-chat-message--outbound{border-color:color-mix(in srgb,var(--accent) 24%,var(--surface-line));border-top-right-radius:5px;background:color-mix(in srgb,var(--accent) 13%,#f8fbff)}[data-theme=dark] .customer-chat-message--outbound,[data-theme=dark-graphite] .customer-chat-message--outbound,[data-theme=m-power] .customer-chat-message--outbound{border-color:color-mix(in srgb,var(--accent) 34%,#1e3a8a);background:color-mix(in srgb,var(--accent) 20%,#0f172a)}[data-theme=dark] .customer-chat-message--outbound p,[data-theme=dark-graphite] .customer-chat-message--outbound p,[data-theme=m-power] .customer-chat-message--outbound p,[data-theme=dark] .customer-chat-message--outbound .customer-chat-file-message strong,[data-theme=dark-graphite] .customer-chat-message--outbound .customer-chat-file-message strong,[data-theme=m-power] .customer-chat-message--outbound .customer-chat-file-message strong{color:#e6efff}[data-theme=dark] .customer-chat-message--outbound time,[data-theme=dark-graphite] .customer-chat-message--outbound time,[data-theme=m-power] .customer-chat-message--outbound time,[data-theme=dark] .customer-chat-message--outbound .customer-chat-file-message small,[data-theme=dark-graphite] .customer-chat-message--outbound .customer-chat-file-message small,[data-theme=m-power] .customer-chat-message--outbound .customer-chat-file-message small{color:#b6c7e7}.customer-chat-message-status{display:inline-flex;align-items:center;justify-content:flex-end;gap:.22rem;align-self:flex-end;min-height:16px;max-width:100%;padding-right:.12rem;color:var(--text-muted);font-size:.7rem;font-weight:750;line-height:1;white-space:nowrap}.customer-chat-message-status svg{flex:0 0 auto}.customer-chat-message-status--sent{color:color-mix(in srgb,var(--text-muted) 86%,transparent)}.customer-chat-message-status--read{color:color-mix(in srgb,var(--accent) 72%,var(--text-main))}[data-theme=dark] .customer-chat-message-status--read{color:color-mix(in srgb,var(--accent) 52%,#ffffff)}.customer-chat-typing{width:58px;min-height:34px;border:1px solid color-mix(in srgb,var(--surface-line) 80%,transparent);border-radius:5px 13px 13px;background:color-mix(in srgb,var(--surface-elevated) 86%,var(--surface));box-shadow:0 4px 12px #00000010;display:inline-flex;align-items:center;justify-content:center;gap:.26rem}.customer-chat-typing span{width:6px;height:6px;border-radius:999px;background:color-mix(in srgb,var(--text-muted) 84%,transparent);animation:customer-chat-typing-dot 1.05s ease-in-out infinite}.customer-chat-typing span:nth-child(2){animation-delay:.14s}.customer-chat-typing span:nth-child(3){animation-delay:.28s}@keyframes customer-chat-typing-dot{0%,70%,to{transform:translateY(0);opacity:.45}35%{transform:translateY(-4px);opacity:1}}.customer-chat-composer{border-top:1px solid color-mix(in srgb,var(--surface-line) 78%,transparent);display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;grid-template-areas:"attachment attachment attachment attachment" "clip input emoji send";gap:.34rem;align-items:center;padding:.56rem .62rem;background:color-mix(in srgb,var(--surface) 96%,transparent)}.customer-chat-file-input{display:none}.customer-chat-pending-attachment{grid-area:attachment;display:inline-flex;align-items:center;gap:.42rem;width:fit-content;max-width:100%;border:1px solid color-mix(in srgb,var(--surface-line) 86%,transparent);border-radius:9px;background:color-mix(in srgb,var(--surface-elevated) 72%,var(--surface));color:var(--text-soft);padding:.26rem .42rem;font-size:.74rem}.customer-chat-pending-attachment span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-chat-pending-attachment button{border:0;background:transparent;color:var(--text-muted);display:inline-grid;place-items:center;cursor:pointer}.customer-chat-pending-attachment button:hover{color:var(--text-main)}.customer-chat-emoji{grid-area:emoji;position:relative;display:inline-flex}.customer-chat-emoji-menu{position:absolute;right:0;bottom:calc(100% + 8px);width:184px;border:1px solid var(--surface-line);border-radius:10px;background:color-mix(in srgb,var(--surface) 98%,#ffffff 2%);box-shadow:0 14px 26px #0000002e;display:grid;grid-template-columns:repeat(5,1fr);gap:.2rem;padding:.42rem;z-index:4}.customer-chat-emoji-menu button{width:30px;height:30px;border:0;border-radius:8px;background:transparent;cursor:pointer;font-size:1rem}.customer-chat-emoji-menu button:hover{background:color-mix(in srgb,var(--accent) 12%,transparent)}.customer-chat-composer .icon-btn{grid-area:clip;width:32px;height:32px;color:var(--text-muted)}.customer-chat-composer input{grid-area:input;min-width:0;height:36px;border:1px solid color-mix(in srgb,var(--surface-line) 88%,transparent);border-radius:10px;background:color-mix(in srgb,var(--surface-elevated) 62%,var(--surface));color:var(--text-main);font:inherit;font-size:.84rem;padding:0 .72rem}.customer-chat-send{grid-area:send;min-height:36px;height:36px;padding:0 .78rem;border-radius:10px;font-size:.82rem}.customer-chat-lightbox{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;background:#020617cc;display:grid;place-items:center;padding:2rem}.customer-chat-lightbox img{max-width:min(96vw,1180px);max-height:92vh;object-fit:contain;border-radius:12px;box-shadow:0 22px 60px #00000070}.customer-chat-lightbox__close{position:fixed;top:1.2rem;right:1.2rem;width:38px;height:38px;border:1px solid #ffffff45;border-radius:999px;background:#0f172acc;color:#fff;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}.customer-chat-minimized{display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:.55rem;width:auto;max-width:calc(100vw - 2.4rem);overflow-x:auto;overflow-y:hidden;padding-bottom:.1rem;font-family:Manrope,Segoe UI,sans-serif;pointer-events:auto}.customer-chat-chip{width:clamp(136px,11vw,190px);min-width:0;flex:0 1 clamp(136px,11vw,190px);height:40px;border:1px solid color-mix(in srgb,var(--accent) 52%,var(--surface-line));border-radius:10px;background:color-mix(in srgb,var(--surface) 94%,transparent);color:var(--text-main);cursor:pointer;font-family:Manrope,Segoe UI,sans-serif;display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:.5rem;padding:.3rem .5rem;box-shadow:0 10px 22px #0000002b}.customer-chat-chip>span:not(.customer-chat-avatar){min-width:0;overflow:hidden;font-size:.8rem;font-weight:800;line-height:1.05;text-overflow:ellipsis;white-space:nowrap}.customer-chat-chip strong{min-width:20px;height:20px;border-radius:999px;background:var(--accent);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:.68rem;line-height:1;white-space:nowrap}.service-chat-page{display:grid;grid-template-columns:minmax(260px,330px) minmax(0,1fr) minmax(240px,320px);gap:1rem;min-height:calc(100dvh - 9rem);height:calc(100dvh - 9rem);color:var(--text-main);font-family:Manrope,Segoe UI,sans-serif}.service-chat-sidebar,.service-chat-thread,.service-chat-details{min-height:0;border:1px solid color-mix(in srgb,var(--surface-line) 86%,transparent);border-radius:16px;background:color-mix(in srgb,var(--surface) 94%,transparent);box-shadow:0 18px 42px color-mix(in srgb,#0f172a 12%,transparent);overflow:hidden}.service-chat-sidebar,.service-chat-details{display:flex;flex-direction:column}.service-chat-search{display:flex;align-items:center;gap:.55rem;margin:.86rem;border:1px solid color-mix(in srgb,var(--surface-line) 86%,transparent);border-radius:12px;background:color-mix(in srgb,var(--surface-elevated) 72%,var(--surface));color:var(--text-muted);padding:0 .72rem}.service-chat-search input{min-width:0;width:100%;height:38px;border:0;outline:0;background:transparent;color:var(--text-main);font:inherit;font-size:.88rem}.service-chat-conversations{min-height:0;height:100%;overflow:auto;display:flex;flex-direction:column;padding:0 .62rem .8rem}.service-chat-panel-empty{min-height:0;flex:1 1 auto;display:grid;place-content:center;text-align:center}.service-chat-conversation{width:100%;border:0;border-radius:14px;background:transparent;color:var(--text-main);font-family:Manrope,Segoe UI,sans-serif;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:.72rem;align-items:center;padding:.72rem;text-align:left;cursor:pointer}.service-chat-conversation:hover,.service-chat-conversation--active{background:color-mix(in srgb,var(--accent) 13%,transparent)}.service-chat-avatar{position:relative;width:52px;height:52px;border-radius:50%;background:linear-gradient(145deg,var(--chat-avatar-start, #a7dcf6),var(--chat-avatar-end, #d5f0ff));color:var(--chat-avatar-text, #1f3558);display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;font-size:.96rem;font-weight:800;box-shadow:inset 0 0 0 1px #ffffff7c}.service-chat-avatar--large{width:52px;height:52px}.service-chat-avatar--compact{width:34px;height:34px;font-size:.76rem}.service-chat-presence{position:absolute;right:1px;bottom:1px;width:14px;height:14px;border:2px solid color-mix(in srgb,var(--chat-avatar-end, #d5f0ff) 88%,#ffffff);border-radius:999px;background:#94a3b8}.service-chat-presence--online{background:#22c55e}.service-chat-presence--away{background:#f59e0b}.service-chat-conversation__body,.service-chat-conversation__top,.service-chat-file-message span,.service-chat-file-list span,.service-chat-pending{min-width:0}.service-chat-conversation__body{display:grid;gap:.18rem}.service-chat-conversation__top{display:flex;align-items:baseline;justify-content:space-between;gap:.6rem}.service-chat-conversation__top strong,.service-chat-conversation__preview,.service-chat-conversation__context{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.service-chat-conversation__top strong{font-size:.9rem}.service-chat-conversation__top time,.service-chat-message time,.service-chat-file-list small{color:var(--text-muted);font-size:.72rem}.service-chat-conversation__context,.service-chat-conversation__preview{color:var(--text-soft);font-size:.78rem}.service-chat-unread{min-width:22px;height:22px;border-radius:999px;background:var(--accent);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:.72rem;font-weight:900}.service-chat-thread{display:flex;flex-direction:column;background:radial-gradient(circle at 18% 8%,color-mix(in srgb,var(--accent) 13%,transparent),transparent 28%),color-mix(in srgb,var(--surface) 94%,transparent)}.service-chat-thread__head,.service-chat-details header{display:flex;align-items:center;gap:.72rem;border-bottom:1px solid color-mix(in srgb,var(--surface-line) 82%,transparent);padding:.86rem 1rem;background:color-mix(in srgb,var(--surface) 96%,transparent)}.service-chat-thread__head h3{margin:0;font-size:1rem}.service-chat-thread__head p{margin:.16rem 0 0;color:var(--text-muted);font-size:.82rem}.service-chat-mobile-nav,.service-chat-mobile-info{display:none}.service-chat-thread__body{min-height:0;flex:1 1 auto;overflow:auto;display:flex;flex-direction:column;gap:.65rem;padding:1rem}.service-chat-message-row{width:min(82%,680px);max-width:82%;display:grid;grid-template-columns:34px minmax(0,1fr);align-items:end;gap:.42rem;justify-content:start}.service-chat-message-row--outbound{width:min(74%,640px);max-width:74%;align-self:flex-end;display:flex;justify-content:flex-end}.service-chat-message-avatar-spacer{width:34px;height:34px}.service-chat-message{width:fit-content;max-width:100%;border:1px solid color-mix(in srgb,var(--surface-line) 70%,transparent);border-radius:16px 16px 16px 5px;background:color-mix(in srgb,var(--surface-elevated) 78%,var(--surface));color:var(--text-main);padding:.62rem .72rem .48rem;box-shadow:0 10px 24px color-mix(in srgb,#0f172a 9%,transparent)}.service-chat-message--outbound{border-radius:16px 16px 5px;border-color:color-mix(in srgb,var(--accent) 24%,var(--surface-line));background:color-mix(in srgb,var(--accent) 13%,#f8fbff);color:var(--text-main)}.service-chat-message p{margin:0 0 .32rem;white-space:pre-wrap;overflow-wrap:anywhere}.service-chat-message-sender{display:block;color:var(--text-muted);font-size:.71rem;font-weight:750;line-height:1.15;letter-spacing:.01em;margin-bottom:.2rem;text-align:left}.service-chat-message--outbound time{color:var(--text-muted)}[data-theme=dark] .service-chat-message--outbound,[data-theme=dark-graphite] .service-chat-message--outbound,[data-theme=m-power] .service-chat-message--outbound{border-color:color-mix(in srgb,var(--accent) 34%,#1e3a8a);background:color-mix(in srgb,var(--accent) 20%,#0f172a)}[data-theme=dark] .service-chat-message--outbound,[data-theme=dark-graphite] .service-chat-message--outbound,[data-theme=m-power] .service-chat-message--outbound,[data-theme=dark] .service-chat-message--outbound p,[data-theme=dark-graphite] .service-chat-message--outbound p,[data-theme=m-power] .service-chat-message--outbound p,[data-theme=dark] .service-chat-message--outbound .service-chat-file-message strong,[data-theme=dark-graphite] .service-chat-message--outbound .service-chat-file-message strong,[data-theme=m-power] .service-chat-message--outbound .service-chat-file-message strong{color:#e6efff}[data-theme=dark] .service-chat-message--outbound time,[data-theme=dark-graphite] .service-chat-message--outbound time,[data-theme=m-power] .service-chat-message--outbound time,[data-theme=dark] .service-chat-message--outbound .service-chat-file-message small,[data-theme=dark-graphite] .service-chat-message--outbound .service-chat-file-message small,[data-theme=m-power] .service-chat-message--outbound .service-chat-file-message small{color:#b6c7e7}.service-chat-typing{margin:0;width:fit-content;border:1px solid color-mix(in srgb,var(--surface-line) 74%,transparent);border-radius:15px;background:color-mix(in srgb,var(--surface-elevated) 72%,var(--surface));display:inline-flex;align-items:center;gap:.38rem;padding:.62rem .86rem}.service-chat-typing span{width:7px;height:7px;border-radius:999px;background:#64748b;box-shadow:0 0 0 1px #ffffff80;animation:customer-chat-typing-dot 1.05s ease-in-out infinite}[data-theme=dark] .service-chat-typing span,[data-theme=dark-graphite] .service-chat-typing span,[data-theme=m-power] .service-chat-typing span{background:#cbd5e1;box-shadow:0 0 0 1px #0f172a66}.service-chat-typing span:nth-child(2){animation-delay:.14s}.service-chat-typing span:nth-child(3){animation-delay:.28s}.service-chat-image-message,.service-chat-file-message,.service-chat-file-list button,.service-chat-image-grid button{border:0;background:transparent;color:inherit;cursor:pointer;font-family:Manrope,Segoe UI,sans-serif}.service-chat-image-message{display:block;max-width:360px;padding:0;overflow:hidden;border-radius:12px}.service-chat-image-message img{display:block;max-width:100%;max-height:280px;object-fit:cover}.service-chat-file-message{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.58rem;width:min(360px,100%);border-radius:12px;background:color-mix(in srgb,#ffffff 16%,transparent);padding:.55rem}.service-chat-file-message strong,.service-chat-file-list strong,.service-chat-pending span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.service-chat-file-message strong,.service-chat-file-message small,.service-chat-file-list strong,.service-chat-file-list small,.service-chat-conversation__top strong,.service-chat-conversation__top time,.service-chat-conversation__context,.service-chat-conversation__preview{font-family:Manrope,Segoe UI,sans-serif}.service-chat-composer{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"clip input send";grid-template-rows:auto;gap:.52rem;align-items:center;border-top:1px solid color-mix(in srgb,var(--surface-line) 82%,transparent);padding:.78rem;background:color-mix(in srgb,var(--surface) 96%,transparent)}.service-chat-message-row--inbound .service-chat-message{justify-self:start}.service-chat-composer:has(.service-chat-pending){grid-template-areas:"pending pending pending" "clip input send";grid-template-rows:auto auto}.service-chat-file-input{display:none}.service-chat-composer__icon{grid-area:clip;height:40px;width:40px}.service-chat-pending{grid-area:pending;width:fit-content;max-width:100%;display:inline-grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.4rem;border:1px solid color-mix(in srgb,var(--surface-line) 80%,transparent);border-radius:10px;background:color-mix(in srgb,var(--surface-elevated) 72%,var(--surface));padding:.34rem .46rem;color:var(--text-soft);font-size:.78rem}.service-chat-pending button{border:0;background:transparent;color:var(--text-muted);cursor:pointer}.service-chat-composer textarea{grid-area:input;min-width:0;min-height:40px;max-height:116px;resize:vertical;border:1px solid color-mix(in srgb,var(--surface-line) 84%,transparent);border-radius:12px;background:color-mix(in srgb,var(--surface-elevated) 72%,var(--surface));color:var(--text-main);font:inherit;padding:.62rem .72rem}.service-chat-send{grid-area:send;min-width:44px;height:40px;padding:0 .8rem}.service-chat-placeholder,.service-chat-empty{color:var(--text-muted);text-align:center}.service-chat-placeholder{min-height:100%;display:grid;place-content:center;gap:.4rem;padding:1rem}.service-chat-placeholder p,.service-chat-placeholder span,.service-chat-empty{margin:0}.service-chat-history-loading,.customer-chat-history-loading{margin:0;text-align:center;color:var(--text-muted);font-size:.74rem;font-weight:700;padding:.25rem 0 .1rem}.service-chat-details{padding-bottom:.86rem}.service-chat-info{display:grid;gap:.7rem;margin:0;padding:.9rem 1rem}.service-chat-info div{display:grid;gap:.18rem}.service-chat-info dt,.service-chat-attachments h4{margin:0;color:var(--text-muted);font-size:.74rem;font-weight:900;text-transform:uppercase;letter-spacing:.04em}.service-chat-info dd{margin:0;overflow-wrap:anywhere}.service-chat-status-badge{width:fit-content;max-width:100%;border-radius:999px;display:inline-flex;align-items:center;font:inherit;line-height:1.2}.service-chat-info-link{width:100%;border:1px solid color-mix(in srgb,var(--surface-line) 76%,transparent);border-radius:11px;background:color-mix(in srgb,var(--surface-elevated) 54%,var(--surface));color:var(--text-main);cursor:pointer;display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"icon title" "icon subtitle";column-gap:.72rem;gap:.08rem;font:inherit;padding:.5rem .58rem;text-align:left}.service-chat-info-link:hover{border-color:color-mix(in srgb,var(--accent) 34%,var(--surface-line));background:color-mix(in srgb,var(--accent) 5%,var(--surface-elevated))}.service-chat-info-link strong,.service-chat-info-subtitle{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.service-chat-info-link strong{grid-area:title;color:var(--text-main);font-size:.88rem;font-weight:850;padding-left:.18rem}.service-chat-info-subtitle{grid-area:subtitle;color:var(--text-muted);font-size:.76rem;font-weight:740;padding-left:.18rem}.service-chat-item-icon{grid-area:icon;width:24px;height:24px;border-radius:999px;border:1px solid color-mix(in srgb,var(--accent) 30%,var(--surface-line));background:color-mix(in srgb,var(--accent) 10%,var(--surface));color:color-mix(in srgb,var(--accent-strong) 82%,var(--text-main));display:grid;place-items:center;align-self:center;line-height:0}.service-chat-car-list .service-chat-item-icon{grid-row:1 / span 2;justify-self:center;align-self:center;margin-block:auto}.service-chat-item-icon svg{display:block}.service-chat-car-list .service-chat-item-icon svg{transform:translateY(1px)}.service-chat-status-badge{padding:.28rem .58rem;border:1px solid color-mix(in srgb,var(--surface-line) 68%,transparent);font-size:.78rem;font-weight:900}.service-chat-status-badge--online{border-color:color-mix(in srgb,#22c55e 54%,var(--surface-line));background:color-mix(in srgb,#22c55e 13%,var(--surface));color:color-mix(in srgb,#15803d 78%,var(--text-main))}.service-chat-status-badge--away{border-color:color-mix(in srgb,#f59e0b 54%,var(--surface-line));background:color-mix(in srgb,#f59e0b 14%,var(--surface));color:color-mix(in srgb,#92400e 78%,var(--text-main))}.service-chat-status-badge--offline{border-color:color-mix(in srgb,#94a3b8 54%,var(--surface-line));background:color-mix(in srgb,#94a3b8 12%,var(--surface));color:color-mix(in srgb,#475569 78%,var(--text-main))}.service-chat-car-list{display:grid;gap:.42rem}.service-chat-car-list>button,.service-chat-car-list>span{min-width:0;border:1px solid color-mix(in srgb,var(--surface-line) 78%,transparent);border-radius:11px;background:color-mix(in srgb,var(--surface-elevated) 68%,var(--surface));color:var(--text-main);display:grid;gap:.08rem;padding:.5rem .58rem;text-align:left}.service-chat-car-list button{position:relative;cursor:pointer;font:inherit;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"icon name registration" "icon hint registration";column-gap:.5rem;row-gap:.04rem;align-items:center}.service-chat-car-list button:hover{border-color:color-mix(in srgb,var(--accent) 48%,var(--surface-line));background:color-mix(in srgb,var(--accent) 8%,var(--surface-elevated));transform:translate(1px)}.service-chat-car-tag{grid-area:registration;width:fit-content;border:0;border-radius:7px;background:color-mix(in srgb,var(--accent) 12%,transparent);color:var(--accent-strong);display:inline-flex;padding:.12rem .34rem;font-size:.68rem;font-weight:900;line-height:1.15}.service-chat-car-list strong{grid-area:name;min-width:0;overflow:hidden;color:var(--text-main);font-size:.84rem;text-overflow:ellipsis;white-space:nowrap;align-self:end;justify-self:start}.service-chat-car-list small{grid-area:hint;color:var(--text-muted);font-size:.72rem;font-weight:750;line-height:1.15;align-self:start;justify-self:start}.service-chat-car-list--readonly span{color:var(--text-soft);font-size:.82rem;font-weight:760}.service-chat-attachments{min-height:0;overflow:auto;display:grid;gap:.75rem;padding:0 1rem .4rem}.service-chat-attachments p{margin:0;color:var(--text-muted);font-size:.82rem;text-align:left}.service-chat-image-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.42rem}.service-chat-image-grid button{aspect-ratio:1;border-radius:10px;background:color-mix(in srgb,var(--surface-elevated) 72%,var(--surface));overflow:hidden;color:var(--text-muted);display:grid;place-items:center}.service-chat-image-grid img{width:100%;height:100%;object-fit:cover}.service-chat-file-list{display:grid;gap:.45rem}.service-chat-file-list button{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.52rem;align-items:center;border-radius:11px;background:color-mix(in srgb,var(--surface-elevated) 74%,var(--surface));color:var(--text-main);padding:.55rem;text-align:left}.service-chat-lightbox{position:fixed;top:0;right:0;bottom:0;left:0;z-index:90;display:grid;place-items:center;background:#020617d9;padding:2rem}.service-chat-lightbox button{position:fixed;top:1.1rem;right:1.1rem;width:40px;height:40px;border:1px solid #ffffff40;border-radius:999px;background:#0f172acc;color:#fff;cursor:pointer}.service-chat-lightbox img{max-width:min(96vw,1180px);max-height:92vh;border-radius:14px;object-fit:contain;box-shadow:0 24px 70px #00000082}@media (max-width: 1280px){.service-chat-page{grid-template-columns:minmax(240px,300px) minmax(0,1fr);height:auto;min-height:calc(100dvh - 9rem)}.service-chat-details{grid-column:1 / -1;min-height:220px}}@media (max-width: 820px){.dashboard-shell--mobile-chat{overflow:hidden;overscroll-behavior-y:none}.dashboard-shell--mobile-chat .dashboard-main{grid-template-rows:1fr;overflow:hidden}.dashboard-shell--mobile-chat-focus .dashboard-topbar{display:none}.dashboard-shell--mobile-chat .dashboard-content{padding:0;overflow:hidden}.service-chat-page{grid-template-columns:minmax(0,1fr);gap:0;height:calc(100dvh - 8rem);min-height:calc(100dvh - 8rem);max-height:calc(100dvh - 8rem);overflow:hidden}.dashboard-shell--mobile-chat .service-chat-page{height:calc(var(--service-chat-visual-height, 100dvh) - var(--titlebar-height, 48px));min-height:calc(var(--service-chat-visual-height, 100dvh) - var(--titlebar-height, 48px));max-height:calc(var(--service-chat-visual-height, 100dvh) - var(--titlebar-height, 48px))}.service-chat-sidebar,.service-chat-thread,.service-chat-details{display:none;border-radius:14px;height:100%;min-height:0;max-height:100%;overflow:hidden}.service-chat-page--list .service-chat-sidebar{border:0;border-radius:0;box-shadow:none;background:var(--surface);overflow:hidden}.service-chat-page--list .service-chat-search{position:sticky;top:0;z-index:3;margin:0;padding:.68rem .78rem;border:0;border-radius:0;background:var(--surface)}.service-chat-page--list .service-chat-search input{border:1px solid color-mix(in srgb,var(--surface-line) 84%,transparent);border-radius:12px;background:color-mix(in srgb,var(--surface-elevated) 72%,var(--surface));padding:0 .72rem;height:40px}.service-chat-page--list .service-chat-conversations{background:var(--surface);padding:0 .62rem .8rem}.dashboard-shell--mobile-chat-focus .service-chat-thread,.dashboard-shell--mobile-chat-focus .service-chat-details{border-radius:0;border-left:0;border-right:0}.service-chat-page--list .service-chat-sidebar,.service-chat-page--thread .service-chat-thread,.service-chat-page--details .service-chat-details{display:flex}.service-chat-thread{min-height:0}.service-chat-details{grid-column:auto}.service-chat-conversations,.service-chat-thread__body,.service-chat-attachments{overscroll-behavior:contain;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y}.service-chat-page,.service-chat-sidebar,.service-chat-thread,.service-chat-details{touch-action:pan-x}.service-chat-thread__head{display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;padding:.7rem .78rem}.service-chat-thread__head>div{min-width:0}.service-chat-thread__head h3{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.service-chat-thread__head p{display:none}.service-chat-details header{padding:.7rem .78rem}.service-chat-mobile-nav,.service-chat-mobile-info{width:38px;height:38px;border:0;border-radius:999px;background:transparent;color:var(--text-main);cursor:pointer;display:inline-grid;place-items:center;line-height:0}.service-chat-mobile-nav:hover,.service-chat-mobile-info:hover{background:color-mix(in srgb,var(--accent) 9%,transparent)}.service-chat-mobile-info{justify-self:end;font-weight:900}.service-chat-avatar--large{width:40px;height:40px;font-size:.8rem}.service-chat-thread__body{padding:.82rem}.service-chat-message-row,.service-chat-message-row--outbound{width:100%;max-width:100%}.service-chat-message-row--inbound .service-chat-message{width:max-content;max-width:min(82%,28rem)}.service-chat-message-row--outbound .service-chat-message{max-width:min(82%,28rem)}.service-chat-composer{padding:0 .64rem;align-items:center;min-height:66px;height:66px}.service-chat-composer textarea{resize:none;min-height:40px;height:40px;line-height:1.25;padding-top:.58rem;padding-bottom:.58rem;margin:0;align-self:center}.service-chat-composer__icon,.service-chat-send{align-self:center;margin:0}}@media (max-width: 1080px){.customer-chat-dock{left:0;right:0;bottom:0;max-width:none;width:100%;display:block}.customer-chat-windows{display:block}.customer-chat-window{width:100%;height:min(78dvh,660px);border-right:0;border-bottom:0;border-left:0;border-radius:18px 18px 0 0}.customer-chat-windows .customer-chat-window:not(:last-child){display:none}.customer-chat-minimized{max-width:none;width:100%;padding-left:.75rem;padding-right:.75rem}}.visit-mobile-card,.visit-mobile-lines-list,.visit-mobile-doc-line-list,.visit-mobile-action-bar,.visit-mobile-quick-actions,.visit-mobile-settlement-hub,.visit-mobile-doc-lines-toggle,.visit-tab-label--short,.visit-mobile-sheet-backdrop{display:none}.visit-mobile-doc-lines-content{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:.45rem;min-height:0}.visit-islands-shell--mobile .visit-invoice-left{grid-template-rows:auto minmax(0,1fr)}@media (max-width: 760px){.visit-islands-shell--mobile{gap:.55rem;padding-bottom:5.8rem}.visit-islands-shell--mobile .visit-island--header,.visit-islands-shell--mobile .visit-island--info,.visit-islands-shell--mobile .visit-island--footer,.visit-islands-shell--mobile .visit-std-actions-card--desktop,.visit-islands-shell--mobile .visit-lines-table-wrap--desktop,.visit-islands-shell--mobile .visit-comment-drawer-tab{display:none!important}.visit-islands-shell--mobile.visit-islands-shell--locked .visit-mobile-card input,.visit-islands-shell--mobile.visit-islands-shell--locked .visit-mobile-card select,.visit-islands-shell--mobile.visit-islands-shell--locked .visit-mobile-card textarea,.visit-islands-shell--mobile.visit-islands-shell--locked .visit-mobile-card button,.visit-islands-shell--mobile.visit-islands-shell--locked .visit-mobile-line-card button,.visit-islands-shell--mobile.visit-islands-shell--locked .visit-mobile-action-bar button:not(.visit-mobile-action-bar__icon),.visit-islands-shell--mobile.visit-islands-shell--locked .visit-mobile-quick-actions button{pointer-events:none;opacity:.68}.visit-islands-shell--mobile .visit-mobile-card{display:grid;gap:.62rem;border:1px solid color-mix(in srgb,var(--surface-line) 88%,transparent);border-radius:14px;background:color-mix(in srgb,var(--surface) 96%,transparent);box-shadow:0 10px 22px #00000012;padding:.72rem}.visit-mobile-kicker{color:var(--text-muted);font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.visit-mobile-hero__top{display:flex;align-items:flex-start;justify-content:space-between;gap:.65rem}.visit-mobile-hero h3,.visit-mobile-section-head h4{margin:0;color:var(--text-main);font-size:1rem}.visit-mobile-hero p{margin:.12rem 0 0;color:var(--text-muted);font-size:.84rem}.visit-mobile-issuer{display:grid;gap:.18rem;min-width:82px}.visit-mobile-issuer span{color:var(--text-muted);font-size:.72rem;font-weight:700}.visit-mobile-issuer select,.visit-mobile-details input,.visit-mobile-details select,.visit-mobile-std-card input,.visit-mobile-sheet input{width:100%;min-width:0;min-height:2rem;border:1px solid var(--surface-line);border-radius:9px;background:var(--surface-elevated);color:var(--text-main);font:inherit;padding:.3rem .44rem;font-size:.9rem}.visit-mobile-chips{display:flex;gap:.34rem;overflow-x:auto;padding-bottom:.12rem}.visit-mobile-chips span,.visit-mobile-chips button,.visit-mobile-pill{flex:0 0 auto;display:inline-flex;align-items:center;gap:.28rem;border:1px solid color-mix(in srgb,var(--surface-line) 82%,transparent);border-radius:999px;background:var(--surface-elevated);color:var(--text-main);font:inherit;font-size:.76rem;font-weight:650;padding:.28rem .5rem;white-space:nowrap}.visit-mobile-chips button:disabled{opacity:.72}.visit-mobile-sums{display:grid;grid-template-columns:1fr 1fr;gap:.45rem}.visit-mobile-sums>div{display:grid;gap:.08rem;border:1px solid var(--surface-line);border-radius:12px;background:var(--surface-elevated);padding:.48rem .58rem}.visit-mobile-sums span{color:var(--text-muted);font-size:.68rem;font-weight:700;text-transform:uppercase}.visit-mobile-sums strong{color:var(--text-main);font-family:Rajdhani,Segoe UI,sans-serif;font-size:1.18rem;line-height:1}.visit-mobile-sums__primary{background:var(--accent-strong)!important;border-color:var(--accent-strong)!important}.visit-mobile-sums__primary span,.visit-mobile-sums__primary strong{color:#fff}.visit-mobile-details-toggle,.visit-mobile-line-card__expand{width:100%;display:flex;align-items:center;justify-content:space-between;border:0;border-radius:10px;background:color-mix(in srgb,var(--accent) 9%,var(--surface-elevated));color:var(--text-main);font:inherit;font-size:.82rem;font-weight:780;padding:.46rem .58rem}.visit-mobile-details-toggle__hint{margin-left:auto;margin-right:.15rem;font-size:.68rem;font-weight:650;color:var(--text-soft)}.visit-mobile-line-card__expand{min-height:2rem;border-radius:10px;background:color-mix(in srgb,var(--surface-elevated) 70%,transparent);color:color-mix(in srgb,var(--text-main) 82%,var(--text-muted));font-size:.78rem;font-weight:720;padding:.38rem .54rem}.visit-mobile-line-card__expand svg{width:13px;height:13px;color:var(--text-muted)}.visit-mobile-details{display:grid;grid-template-columns:1fr;gap:.48rem}.visit-mobile-details-wrap{overflow:hidden;max-height:620px;opacity:1;transform:translateY(0);transition:max-height .22s ease,opacity .18s ease,transform .18s ease,margin-top .18s ease;margin-top:.36rem}.visit-mobile-details-wrap--collapsed{max-height:0;opacity:0;transform:translateY(-4px);margin-top:0;pointer-events:none}.visit-mobile-details label,.visit-mobile-std-card label,.visit-mobile-sheet label{display:grid;gap:.2rem;color:var(--text-muted);font-size:.76rem;font-weight:700}.visit-islands-shell--mobile .visit-island--tabs{position:sticky;top:calc(var(--titlebar-height, 48px) + .35rem);z-index:25;padding:.34rem;background:color-mix(in srgb,var(--surface) 94%,transparent);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.visit-islands-shell--mobile .visit-island--tabs .customer-editor-tab{flex:1 1 0;min-width:0;justify-content:center;padding:.42rem .34rem;font-size:.78rem}.visit-tab-label--full{display:none}.visit-tab-label--short{display:inline}.visit-islands-shell--mobile .visit-island--content{padding:0;border:0;background:transparent;box-shadow:none}.visit-islands-shell--mobile .visit-lines-card-head{display:none!important}.visit-mobile-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:.7rem}.visit-mobile-launcher__grid{display:grid;grid-template-columns:1fr 1fr;gap:.46rem}.visit-mobile-launcher__tile{min-width:0;min-height:102px;display:grid;grid-template-rows:auto auto auto;justify-items:start;align-content:center;gap:.28rem;border:1px solid color-mix(in srgb,var(--surface-line) 80%,transparent);border-radius:12px;background:color-mix(in srgb,var(--surface-elevated) 82%,transparent);color:var(--text-main);font:inherit;text-align:left;padding:.56rem}.visit-mobile-launcher__tile strong{font-size:.88rem;line-height:1.2}.visit-mobile-launcher__tile span{color:var(--text-muted);font-size:.72rem;line-height:1.2}.visit-mobile-launcher__tile.is-active{border-color:color-mix(in srgb,var(--accent) 52%,var(--surface-line));background:color-mix(in srgb,var(--accent) 10%,var(--surface-elevated));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--accent) 30%,transparent)}.visit-mobile-launcher__tile:disabled{opacity:.6}.visit-mobile-section-nav{display:flex!important;align-items:center;justify-content:space-between;gap:.55rem;padding-block:.5rem}.visit-mobile-section-nav strong{font-size:.95rem;color:var(--text-main)}.visit-mobile-section-nav__back{border:1px solid color-mix(in srgb,var(--surface-line) 78%,transparent);border-radius:10px;background:var(--surface-elevated);color:var(--text-main);font:inherit;font-size:.82rem;font-weight:700;display:inline-flex;align-items:center;gap:.34rem;padding:.36rem .52rem}.visit-mobile-section-head>span{border-radius:999px;background:color-mix(in srgb,var(--accent) 10%,var(--surface-elevated));color:var(--accent-strong);font-size:.78rem;font-weight:800;padding:.25rem .48rem}.visit-mobile-filter{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.28rem;padding:.22rem;border-radius:12px;background:color-mix(in srgb,var(--surface-elevated) 80%,transparent)}.visit-mobile-filter button{min-width:0;border:0;border-radius:9px;background:transparent;color:var(--text-muted);font:inherit;font-size:.75rem;font-weight:750;padding:.44rem .25rem}.visit-mobile-filter button.is-active{background:var(--accent-strong);color:#fff;box-shadow:0 6px 14px color-mix(in srgb,var(--accent-strong) 24%,transparent)}.visit-mobile-std-list,.visit-mobile-lines-list{display:grid;gap:.38rem}.visit-mobile-std-card,.visit-mobile-line-card{border:1px solid color-mix(in srgb,var(--surface-line) 86%,transparent);border-radius:11px;background:color-mix(in srgb,var(--surface) 96%,transparent);box-shadow:0 6px 14px #0000000f;padding:.48rem .5rem}.visit-mobile-line-card{display:grid;gap:.46rem;border-radius:14px;padding:.62rem}.visit-mobile-std-card--checked,.visit-mobile-line-card--selected{border-color:color-mix(in srgb,var(--accent) 46%,var(--surface-line));background:color-mix(in srgb,var(--accent) 7%,var(--surface))}.visit-mobile-std-card--estimate,.visit-mobile-line-card--estimate{border-color:color-mix(in srgb,#8b5cf6 48%,var(--surface-line));background:linear-gradient(90deg,color-mix(in srgb,#8b5cf6 15%,transparent),transparent 34%),color-mix(in srgb,#8b5cf6 8%,var(--surface))}.visit-mobile-std-card--modified,.visit-mobile-line-card--new{box-shadow:inset 4px 0 color-mix(in srgb,var(--accent) 72%,#ffffff 28%),0 6px 14px #0000000f}.visit-mobile-line-card--pending-delete,.visit-mobile-subline--pending-delete{opacity:.58;filter:grayscale(.35)}.visit-mobile-std-card__head,.visit-mobile-line-card__head,.visit-mobile-line-card__actions,.visit-mobile-sheet header,.visit-mobile-sheet footer{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.visit-mobile-std-card__head{align-items:center}.visit-mobile-std-card__check{display:flex!important;grid-template-columns:none!important;flex-direction:row;align-items:center;gap:.72rem;min-width:0;color:var(--text-main)!important;font-size:.88rem!important;line-height:1.2}.visit-mobile-std-card__check input[type=checkbox]{width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;margin:0!important;padding:0!important;flex:0 0 18px!important;accent-color:var(--accent-strong)}.visit-mobile-std-card__check span{min-width:0;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;word-break:break-word;line-height:1.2;font-weight:700}.visit-mobile-line-card__head strong{min-width:0;white-space:normal;overflow:visible;text-overflow:clip}.visit-mobile-icon-btn{flex:0 0 auto;width:34px;height:34px;border:1px solid color-mix(in srgb,var(--surface-line) 78%,transparent);border-radius:10px;background:var(--surface-elevated);color:var(--text-main);display:inline-grid;place-items:center;padding:0}.visit-mobile-std-card__head .visit-mobile-icon-btn{border:0;background:transparent;box-shadow:none;color:color-mix(in srgb,var(--text-main) 80%,var(--text-muted))}.visit-mobile-std-card__summary,.visit-mobile-line-card__meta{display:flex;align-items:center;gap:.24rem;flex-wrap:wrap;margin-top:.28rem;color:var(--text-muted);font-size:.72rem}.visit-mobile-std-card__summary{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:.32rem;align-items:center;margin-top:.42rem;padding-top:.42rem;border-top:1px solid color-mix(in srgb,var(--surface-line) 55%,transparent)}.visit-mobile-std-card__summary-text{min-width:0;overflow:hidden;color:color-mix(in srgb,var(--text-muted) 86%,var(--text-main));line-height:1.22;text-overflow:ellipsis;white-space:nowrap}.visit-mobile-std-card__summary-price{color:var(--accent-strong);font-family:Rajdhani,Segoe UI,sans-serif;font-size:.88rem;line-height:1;white-space:nowrap}.visit-mobile-std-card__body{display:grid;gap:.48rem;margin-top:.55rem}.visit-mobile-std-card__actions{display:grid;grid-template-columns:1fr 1fr;gap:.42rem;margin-top:.04rem}.visit-mobile-std-card__action-btn{min-width:0;min-height:2.35rem;display:inline-flex;align-items:center;justify-content:center;gap:.42rem;border:1px solid color-mix(in srgb,var(--surface-line) 70%,transparent);border-radius:12px;background:color-mix(in srgb,var(--surface-elevated) 82%,transparent);color:color-mix(in srgb,var(--text-main) 88%,var(--text-muted));font:inherit;font-size:.84rem;font-weight:760;padding:.52rem .7rem;box-shadow:inset 0 1px #ffffff52}.visit-mobile-std-card__action-btn svg{color:color-mix(in srgb,var(--accent-strong) 78%,var(--text-main))}.visit-mobile-std-card__action-btn--active{border-color:color-mix(in srgb,var(--accent-strong) 48%,var(--surface-line));background:color-mix(in srgb,var(--accent) 15%,var(--surface-elevated));color:var(--accent-strong)}.visit-mobile-std-card__action-btn:disabled{opacity:.58}.visit-mobile-std-card__actions button{min-width:0}.visit-mobile-std-card__menu{display:grid;overflow:hidden;border:1px solid color-mix(in srgb,var(--surface-line) 78%,transparent);border-radius:12px;background:color-mix(in srgb,var(--surface-elevated) 88%,transparent);box-shadow:0 8px 18px #00000014}.visit-mobile-std-card__menu button{border:0;border-bottom:1px solid color-mix(in srgb,var(--surface-line) 68%,transparent);background:transparent;color:var(--text-main);font:inherit;text-align:left;padding:.54rem .62rem}.visit-mobile-std-card__menu button:last-child{border-bottom:0}.visit-mobile-empty{margin:0;color:var(--text-muted);font-size:.84rem}.visit-mobile-empty--boxed{place-items:center;text-align:center;border:1px dashed color-mix(in srgb,var(--surface-line) 80%,transparent);border-radius:12px;padding:1.2rem .8rem;background:color-mix(in srgb,var(--surface-elevated) 70%,transparent)}.visit-mobile-line-card__index{flex:0 0 auto;width:1.58rem;height:1.58rem;border-radius:9px;display:inline-grid;place-items:center;background:color-mix(in srgb,var(--accent) 13%,var(--surface-elevated));color:var(--accent-strong);font-size:.72rem;font-weight:800}.visit-mobile-line-card__title-wrap{flex:1 1 auto;min-width:0;display:grid;gap:.14rem}.visit-mobile-line-card__title{font-size:.84rem;font-weight:780;line-height:1.22;letter-spacing:0}.visit-mobile-line-card__qty{color:var(--text-muted);font-size:.7rem;font-weight:650;line-height:1.15}.visit-mobile-line-card__head span,.visit-mobile-line-card__money span,.visit-mobile-subline span{color:var(--text-muted);font-size:.71rem}.visit-mobile-line-card__money{display:grid;justify-items:end;flex:0 0 auto;min-width:82px;gap:.06rem;padding-left:.4rem}.visit-mobile-line-card__gross{color:var(--text-main);font-size:1.06rem;font-weight:820;line-height:1;letter-spacing:0}.visit-mobile-line-card__gross-label{text-transform:lowercase;font-size:.66rem!important;line-height:1}.visit-mobile-line-card__actions{justify-content:space-between;flex-wrap:nowrap;margin-top:0;gap:.5rem;padding-top:.36rem;border-top:1px solid color-mix(in srgb,var(--surface-line) 54%,transparent)}.visit-mobile-line-card__estimate{margin-right:auto;display:inline-flex!important;flex-direction:row;align-items:center;gap:.34rem;width:fit-content;min-height:30px;border:1px solid color-mix(in srgb,var(--surface-line) 62%,transparent);border-radius:999px;background:color-mix(in srgb,var(--surface-elevated) 72%,transparent);color:var(--text-muted)!important;font-size:.7rem!important;font-weight:720;padding:.22rem .48rem}.visit-mobile-line-card__estimate input[type=checkbox]{width:14px;height:14px;margin:0;accent-color:var(--accent-strong)}.visit-mobile-line-card__action-stack{display:inline-flex;align-items:center;justify-content:flex-end;gap:.18rem;min-height:30px;border-radius:999px;background:color-mix(in srgb,var(--surface-elevated) 58%,transparent);padding:.08rem}.visit-mobile-line-card .visit-mobile-icon-btn{width:28px;height:28px;border-radius:999px;border:0;background:transparent;box-shadow:none;color:color-mix(in srgb,var(--text-main) 78%,var(--text-muted))}.visit-mobile-line-card .visit-mobile-icon-btn svg{width:13.5px;height:13.5px}.visit-mobile-line-card .visit-mobile-icon-btn:active,.visit-mobile-std-card .visit-mobile-icon-btn:active{background:color-mix(in srgb,var(--surface-line) 25%,transparent)}.visit-mobile-subline-list{display:grid;gap:.38rem;margin-top:.48rem}.visit-mobile-subline{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:.28rem;border:1px solid color-mix(in srgb,var(--surface-line) 58%,transparent);border-radius:12px;background:color-mix(in srgb,var(--surface-elevated) 70%,transparent);padding:.44rem .5rem}.visit-mobile-subline>div{display:grid;gap:.08rem;min-width:0}.visit-mobile-sheet-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:62;display:grid;place-items:end stretch;background:#07101d80}.visit-mobile-sheet{display:grid;gap:.62rem;border:1px solid color-mix(in srgb,var(--surface-line) 86%,transparent);border-bottom:0;border-radius:18px 18px 0 0;background:color-mix(in srgb,var(--surface) 98%,transparent);box-shadow:0 -16px 34px #00000038;padding:.82rem;padding-bottom:max(1rem,env(safe-area-inset-bottom))}.visit-mobile-sheet h4{margin:0}.visit-mobile-sheet__grid{display:grid;grid-template-columns:.75fr 1fr 1fr;gap:.42rem}.visit-mobile-action-bar{position:fixed;left:.65rem;right:.65rem;bottom:4.3rem;z-index:44;display:grid;grid-template-columns:42px minmax(0,1fr) minmax(0,1fr) minmax(72px,.75fr);gap:.38rem;align-items:center;border:1px solid color-mix(in srgb,var(--surface-line) 78%,transparent);border-radius:14px;background:color-mix(in srgb,var(--surface) 94%,transparent);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:0 14px 34px #0000002c;padding:.38rem}.visit-mobile-action-bar .primary-btn,.visit-mobile-action-bar .secondary-btn{min-width:0;min-height:2.35rem;justify-content:center;padding-inline:.45rem;font-size:.82rem}.visit-mobile-action-bar__icon{position:relative;width:42px;height:38px;border:1px solid var(--surface-line);border-radius:11px;background:var(--surface-elevated);color:var(--text-main);display:inline-grid;place-items:center}.visit-mobile-action-bar__dot{position:absolute;top:7px;right:8px;width:8px;height:8px;border-radius:999px;background:#f97316}.visit-mobile-action-bar__save{white-space:nowrap}.visit-mobile-quick-actions{position:fixed;left:50%;bottom:.8rem;z-index:49;display:grid;grid-template-columns:repeat(4,40px);align-items:center;gap:.34rem;padding:.3rem;border:1px solid color-mix(in srgb,var(--surface-line) 75%,transparent);border-radius:14px;background:color-mix(in srgb,var(--surface) 94%,transparent);box-shadow:0 10px 22px #00000030;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);transform:translate(-50%)}.visit-mobile-quick-actions:before{content:"";width:40px;height:40px}.visit-mobile-quick-actions__btn{position:relative;width:40px;min-width:40px;height:40px;min-height:40px;border:1px solid var(--surface-line);border-radius:10px;background:color-mix(in srgb,var(--surface-elevated) 95%,transparent);color:var(--text-main);display:inline-flex;align-items:center;justify-content:center;gap:0;padding:.42rem;font:inherit;box-shadow:none}.visit-mobile-quick-actions__btn:disabled{opacity:.62}.visit-mobile-quick-actions__btn--active,.visit-mobile-quick-actions__btn--cta{border-color:color-mix(in srgb,var(--accent-strong) 62%,var(--surface-line));background:color-mix(in srgb,var(--accent-strong) 86%,#1d4e89);color:#fff}.visit-mobile-quick-actions__dot{position:absolute;top:8px;right:8px;width:8px;height:8px;border-radius:999px;background:#f97316}.dashboard-shell:has(.visit-islands-shell--mobile) .mobile-nav-bar{left:calc(50% - 68px)!important;bottom:calc(.8rem + .36rem)!important;height:40px!important;z-index:50!important}.dashboard-shell:has(.visit-islands-shell--mobile) .mobile-nav-bar__menu{height:40px!important;box-shadow:none!important}.dashboard-shell--menu-open:has(.visit-islands-shell--mobile) .visit-mobile-quick-actions{transform:translate(-50%,140%)!important;opacity:0!important;pointer-events:none!important}.visit-islands-shell--mobile .visit-comment-drawer{top:auto;left:0;right:0;bottom:0;width:auto;height:min(62dvh,520px);z-index:63;border-left:0;border-top:1px solid var(--surface-line);border-radius:18px 18px 0 0;transform:translateY(100%)}.visit-islands-shell--mobile .visit-comment-drawer--open{transform:translateY(0)}.visit-islands-shell--mobile .visit-comment-drawer__textarea{min-height:0}.visit-islands-shell--mobile .visit-intake-layout,.visit-islands-shell--mobile .visit-release-grid,.visit-islands-shell--mobile .visit-card-grid,.visit-islands-shell--mobile .visit-settlement-layout{gap:.55rem}.visit-islands-shell--mobile .visit-settlement-tabs--desktop{display:none!important}.visit-islands-shell--mobile .visit-mobile-settlement-hub{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.46rem}.visit-mobile-settlement-tile{min-width:0;min-height:102px;display:grid;grid-template-rows:auto auto auto;align-content:center;justify-items:start;gap:.28rem;border:1px solid color-mix(in srgb,var(--surface-line) 80%,transparent);border-radius:12px;background:color-mix(in srgb,var(--surface-elevated) 82%,transparent);color:var(--text-main);font:inherit;text-align:left;padding:.56rem;box-shadow:none}.visit-mobile-settlement-tile svg{color:currentColor}.visit-mobile-settlement-tile strong{font-size:.88rem;line-height:1.2}.visit-mobile-settlement-tile span{color:var(--text-muted);font-size:.72rem;line-height:1.2}.visit-mobile-settlement-tile.is-active{border-color:color-mix(in srgb,var(--accent) 52%,var(--surface-line));background:color-mix(in srgb,var(--accent) 10%,var(--surface-elevated));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--accent) 30%,transparent)}.visit-islands-shell--settlement-picker .visit-mobile-settlement-tile.is-active{border-color:color-mix(in srgb,var(--surface-line) 80%,transparent);background:color-mix(in srgb,var(--surface-elevated) 82%,transparent);box-shadow:none}.visit-mobile-settlement-tile:disabled{opacity:.52}.visit-islands-shell--settlement-picker .visit-card-grid>:not(.visit-mobile-settlement-hub):not(.visit-settlement-tabs--desktop){display:none!important}.visit-mobile-settlement-back{width:fit-content;display:inline-flex;align-items:center;gap:.34rem;border:1px solid color-mix(in srgb,var(--surface-line) 78%,transparent);border-radius:10px;background:var(--surface-elevated);color:var(--text-main);font:inherit;font-size:.82rem;font-weight:760;padding:.38rem .56rem}.visit-islands-shell--mobile .visit-invoice-layout,.visit-islands-shell--mobile .visit-settlement-layout,.visit-islands-shell--mobile .visit-summary-layout{display:grid;grid-template-columns:1fr;gap:.55rem}.visit-islands-shell--mobile .visit-invoice-left,.visit-islands-shell--mobile .visit-invoice-right,.visit-islands-shell--mobile .visit-summary-side{min-width:0}.visit-islands-shell--mobile .visit-invoice-entry__fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(74px,.5fr) minmax(0,1fr);gap:.36rem}.visit-islands-shell--mobile .visit-invoice-entry__zaco{grid-column:1 / -1}.visit-islands-shell--mobile .visit-invoice-entry__fields label{display:grid;gap:.16rem;min-width:0;font-size:.72rem}.visit-islands-shell--mobile .visit-invoice-entry__fields input,.visit-islands-shell--mobile .visit-invoice-entry__fields select{min-width:0;min-height:2.18rem;font-size:.84rem}.visit-islands-shell--mobile .visit-inv-form__number-combo{grid-template-columns:minmax(54px,.62fr) minmax(0,1fr) minmax(64px,.72fr);gap:.3rem;align-items:center}.visit-islands-shell--mobile .visit-inv-form__nr,.visit-islands-shell--mobile .visit-inv-form__year{font-size:.9rem;text-align:center}.visit-islands-shell--mobile .visit-mobile-doc-lines-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;gap:.5rem;border:0;border-radius:10px;background:color-mix(in srgb,var(--accent) 8%,var(--surface-elevated));color:var(--text-main);font:inherit;font-size:.82rem;font-weight:780;padding:.46rem .58rem}.visit-islands-shell--mobile .visit-mobile-doc-lines-toggle__hint{margin-left:auto;margin-right:.15rem;font-size:.68rem;font-weight:650;color:var(--text-soft)}.visit-islands-shell--mobile .visit-mobile-doc-lines-content{display:grid;grid-template-rows:auto auto auto;overflow:hidden;max-height:2800px;opacity:1;transform:translateY(0);transition:max-height .22s ease,opacity .18s ease,transform .18s ease,margin-top .18s ease;margin-top:.35rem}.visit-invoice-left--lines-collapsed .visit-mobile-doc-lines-content{max-height:0;opacity:0;transform:translateY(-4px);margin-top:0;pointer-events:none}.visit-islands-shell--mobile .visit-invoice-lines-actions{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:.36rem}.visit-islands-shell--mobile .visit-invoice-lines-actions .primary-btn,.visit-islands-shell--mobile .visit-invoice-lines-actions .secondary-btn{min-width:0;min-height:2.1rem;justify-content:center;padding-inline:.5rem;font-size:.76rem}.visit-islands-shell--mobile .visit-invoice-lines-actions .secondary-btn:first-child{padding-inline:.42rem;font-size:.72rem}.visit-islands-shell--mobile .visit-invoice-left .customers-table-wrap{border:0;background:transparent;box-shadow:none;height:auto;min-height:0}.visit-islands-shell--mobile .visit-invoice-lines-table thead{display:none}.visit-islands-shell--mobile .visit-invoice-lines-table,.visit-islands-shell--mobile .visit-invoice-lines-table tbody{display:grid;gap:.38rem;min-width:0}.visit-islands-shell--mobile .visit-invoice-lines-table:not(.visit-invoice-lines-table--empty){display:none!important}.visit-islands-shell--mobile .visit-mobile-doc-line-list{display:grid;gap:.42rem}.visit-mobile-doc-line-card{display:grid;grid-template-columns:1.45rem minmax(0,1fr) auto;grid-template-areas:"index main gross" "index main gross" "actions actions actions";gap:.1rem .46rem;align-items:start;border:1px solid color-mix(in srgb,var(--surface-line) 80%,transparent);border-radius:13px;background:color-mix(in srgb,var(--surface) 96%,transparent);box-shadow:0 6px 14px #0000000d;padding:.5rem .55rem .42rem}.visit-mobile-doc-line-card__index{grid-area:index;width:1.45rem;height:1.45rem;border-radius:8px;display:inline-grid;place-items:center;background:color-mix(in srgb,var(--accent) 12%,var(--surface-elevated));color:var(--accent-strong);font-size:.72rem;font-weight:800;line-height:1;text-align:center}.visit-mobile-doc-line-card__main{grid-area:main;display:grid;gap:.08rem;min-width:0}.visit-mobile-doc-line-card__main strong{color:var(--text-main);font-size:.86rem;font-weight:780;line-height:1.18}.visit-mobile-doc-line-card__main span{color:var(--text-muted);font-size:.76rem;font-weight:650;line-height:1.15}.visit-mobile-doc-line-card__gross{grid-area:gross;display:grid;justify-items:end;align-self:start;padding-top:.12rem;line-height:1.02;text-align:right}.visit-mobile-doc-line-card__gross strong{color:var(--text-main);font-size:.98rem;font-weight:820}.visit-mobile-doc-line-card__gross span{margin-top:.06rem;color:var(--text-muted);font-size:.66rem;font-weight:700}.visit-mobile-doc-line-card__actions{grid-area:actions;display:inline-flex;align-items:center;justify-content:flex-end;margin-top:.38rem;padding-top:.34rem;border-top:1px solid color-mix(in srgb,var(--surface-line) 62%,transparent)}.visit-mobile-doc-line-card__actions .visit-row-btn{width:28px;min-width:28px;height:28px;min-height:28px;border:0;border-radius:999px;background:transparent;box-shadow:none;color:color-mix(in srgb,var(--text-main) 78%,var(--text-muted));padding:.12rem}.visit-mobile-doc-line-card__actions .visit-row-btn svg{width:13.5px;height:13.5px}.visit-islands-shell--mobile .visit-invoice-lines-table--empty tbody,.visit-islands-shell--mobile .visit-invoice-lines-table--empty .visit-lines-empty-row{display:block!important;width:100%!important;min-height:0!important;height:auto!important;overflow:visible!important}.visit-islands-shell--mobile .visit-invoice-lines-table--empty .visit-lines-empty-row td{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;min-height:0!important;padding:0!important;border:0!important;overflow:visible!important}.visit-islands-shell--mobile .visit-invoice-lines-table--empty .visit-lines-empty-row td:before,.visit-islands-shell--mobile .visit-invoice-lines-table--empty .visit-lines-empty-row td:after{display:none!important;content:none!important}.visit-islands-shell--mobile .visit-lines-empty-state{display:grid!important;place-items:center!important;align-content:center!important;gap:.5rem!important;min-height:138px;height:auto;width:100%;overflow:visible;border:1px dashed color-mix(in srgb,var(--surface-line) 76%,transparent);border-radius:14px;background:color-mix(in srgb,var(--surface) 88%,transparent);padding:1rem .85rem;text-align:center}.visit-islands-shell--mobile .visit-lines-empty-state__icon{width:42px;height:42px}.visit-islands-shell--mobile .visit-invoice-left .visit-invoice-lines-table tbody tr:not(.visit-lines-empty-row){display:grid!important;grid-template-columns:1.45rem minmax(0,1fr) auto;grid-template-areas:"lp item gross" "lp qty gross" "footer footer footer";gap:.1rem .46rem;align-items:start;border:1px solid color-mix(in srgb,var(--surface-line) 80%,transparent);border-radius:13px;background:color-mix(in srgb,var(--surface) 96%,transparent);box-shadow:0 6px 14px #0000000d;padding:.5rem .55rem .42rem}.visit-islands-shell--mobile .visit-invoice-left .visit-invoice-lines-table tbody tr:not(.visit-lines-empty-row)>td{display:block!important;border:0!important;padding:0!important;min-width:0!important;max-width:100%!important;width:auto!important}.visit-islands-shell--mobile .visit-invoice-left .visit-invoice-lines-table tbody tr:not(.visit-lines-empty-row)>td:before,.visit-islands-shell--mobile .visit-invoice-left .visit-invoice-lines-table tbody tr:not(.visit-lines-empty-row)>td:after{display:none!important;content:none!important}.visit-islands-shell--mobile .visit-invoice-left .visit-invoice-lines-table tbody tr:not(.visit-lines-empty-row)>td.visit-col-lp{grid-area:lp;width:1.45rem!important;height:1.45rem;min-width:1.45rem!important;min-height:1.45rem;border-radius:8px!important;display:inline-grid!important;place-items:center;align-self:start;background:color-mix(in srgb,var(--accent) 12%,var(--surface-elevated));color:var(--accent-strong);font-size:.72rem;font-weight:800;line-height:1!important;text-align:center!important;font-size:0!important}.visit-islands-shell--mobile .visit-invoice-left .visit-invoice-lines-table tbody tr:not(.visit-lines-empty-row)>td.visit-col-lp:before{content:attr(data-value)!important;display:block!important;color:var(--accent-strong);font-size:.72rem;font-weight:800;line-height:1!important;text-align:center!important}.visit-islands-shell--mobile .visit-invoice-left .visit-invoice-lines-table tbody tr:not(.visit-lines-empty-row)>td[data-label=Pozycja]{grid-area:item;min-width:0;color:var(--text-main);font-size:.86rem;font-weight:780;line-height:1.18}.visit-islands-shell--mobile .visit-invoice-left .visit-invoice-lines-table tbody tr:not(.visit-lines-empty-row)>td[data-label=Ilość]{grid-area:qty;display:inline-flex!important;align-items:center;width:fit-content!important;color:var(--text-muted);font-size:0!important;font-weight:650;line-height:1.15}.visit-islands-shell--mobile .visit-invoice-left .visit-invoice-lines-table tbody tr:not(.visit-lines-empty-row)>td[data-label=Ilość]:before{content:attr(data-value)!important;display:inline!important;color:var(--text-muted);font-size:.76rem;font-weight:650}.visit-islands-shell--mobile .visit-invoice-left .visit-invoice-lines-table tbody tr:not(.visit-lines-empty-row)>td[data-label=Ilość]:after{content:" Szt."!important;display:inline!important;color:var(--text-muted);font-size:.76rem;font-weight:650}.visit-islands-shell--mobile .visit-invoice-left .visit-invoice-lines-table tbody tr:not(.visit-lines-empty-row)>td[data-label=Netto],.visit-islands-shell--mobile .visit-invoice-left .visit-invoice-lines-table tbody tr:not(.visit-lines-empty-row)>td[data-label=VAT]{display:none!important}.visit-islands-shell--mobile .visit-invoice-left .visit-invoice-lines-table tbody tr:not(.visit-lines-empty-row)>td[data-label=Brutto]{grid-area:gross;justify-self:end;display:grid!important;justify-items:end;align-self:start;padding-top:.12rem!important;line-height:1.02;color:var(--text-main);font-size:.98rem;font-weight:820;text-align:right!important}.visit-islands-shell--mobile .visit-invoice-left .visit-invoice-lines-table tbody tr:not(.visit-lines-empty-row)>td[data-label=Brutto]:after{content:"brutto";display:block!important;margin-top:.06rem;color:var(--text-muted);font-size:.66rem;font-weight:700;text-transform:lowercase}.visit-islands-shell--mobile .visit-invoice-left .visit-invoice-lines-table tbody tr:not(.visit-lines-empty-row)>td.visit-col-actions{grid-area:footer;justify-self:stretch;align-self:center;display:inline-flex!important;align-items:center;justify-content:flex-end!important;width:100%!important;margin-top:.38rem;padding-top:.34rem!important;border-top:1px solid color-mix(in srgb,var(--surface-line) 62%,transparent)!important}.visit-islands-shell--mobile .visit-invoice-left .visit-invoice-lines-table tbody tr:not(.visit-lines-empty-row)>td.visit-col-actions .visit-row-btn{border:0;background:transparent;min-width:28px;min-height:28px;width:28px;height:28px;border-radius:999px;padding:.12rem;color:color-mix(in srgb,var(--text-main) 78%,var(--text-muted));box-shadow:none}.visit-islands-shell--mobile .visit-invoice-left .visit-invoice-lines-table tbody tr:not(.visit-lines-empty-row)>td.visit-col-actions .visit-row-btn svg{width:13.5px;height:13.5px}.visit-islands-shell--mobile .visit-invoice-lines-table--empty .visit-lines-empty-row td:nth-child(1){display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;min-height:0!important;border-radius:0!important;background:transparent!important;color:inherit!important;font-size:inherit!important;font-weight:inherit!important}.visit-islands-shell--mobile .visit-invoice-lines-table--empty .visit-lines-empty-row .visit-lines-empty-state strong,.visit-islands-shell--mobile .visit-invoice-lines-table--empty .visit-lines-empty-row .visit-lines-empty-state p{max-width:220px;white-space:normal!important;overflow:visible!important;overflow-wrap:normal!important;word-break:normal!important;text-align:center!important}.visit-islands-shell--mobile .customer-editor-card{border-radius:12px;padding:.72rem}.visit-islands-shell--mobile .visit-release-row{border:1px solid color-mix(in srgb,var(--surface-line) 76%,transparent);border-radius:12px;background:color-mix(in srgb,var(--surface-elevated) 72%,transparent);padding:.62rem;gap:.46rem}}
