@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;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:.62rem;align-items:start;border-radius:13px;border:1px solid var(--surface-line);background:color-mix(in srgb,var(--surface-elevated) 96%,#ffffff 4%);box-shadow:0 16px 30px #0f172a26;padding:.7rem .74rem;animation:message-center-slide-in .28s cubic-bezier(.2,.8,.2,1);transform-origin:bottom right;will-change:transform,opacity,filter}.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.45rem;height:1.45rem;margin-top:.06rem}.message-center-toast__content{min-width:0}.message-center-toast__content strong{display:block;margin:0;font-size:.92rem;line-height:1.15}.message-center-toast__content p{margin:.1rem 0 0;font-size:.86rem;line-height:1.28;white-space:pre-line}.message-center-toast__action{margin-top:.45rem;display:inline-flex;align-items:center;gap:.35rem;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-main);border-radius:8px;font-family:inherit;font-size:.82rem;font-weight:700;line-height:1.1;padding:.3rem .6rem;cursor:pointer}.message-center-toast__action:hover{background:color-mix(in srgb,var(--surface-elevated) 92%,transparent)}.message-center-toast__action:disabled{opacity:.6;cursor:default}.message-center-toast__close{border:0;background:transparent;color:inherit;opacity:.72;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;width:1.4rem;height:1.4rem;border-radius:8px}.message-center-toast__close:hover{opacity:1;background:color-mix(in srgb,var(--surface-line) 26%,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-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}.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}.titlebar-notifications-menu{position:absolute;top:calc(100% + 8px);right:0;width:min(460px,90vw);max-height:min(64vh,520px);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:.65rem;display:grid;grid-template-rows:auto minmax(0,1fr);gap:.55rem;z-index:40}.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:.9rem}.titlebar-notifications-menu__mark-all{padding:.3rem .5rem;font-size:.74rem}.titlebar-notifications-menu__list{display:grid;gap:.45rem;overflow:auto;padding-right:.2rem}.titlebar-notifications-menu__empty{margin:.15rem 0 .2rem;color:var(--text-muted);font-size:.84rem}.titlebar-notifications-item{position:relative;border:1px solid color-mix(in srgb,var(--surface-line) 92%,transparent);border-radius:10px;background:color-mix(in srgb,var(--surface-elevated) 86%,transparent);padding:.52rem .58rem;display:grid;gap:.34rem}.titlebar-notifications-item--unread{border-color:color-mix(in srgb,var(--accent, #3b82f6) 50%,var(--surface-line));background:color-mix(in srgb,var(--accent, #3b82f6) 14%,var(--surface-elevated))}.titlebar-notifications-item__title{margin:0;color:var(--text-main);font-size:.82rem;font-weight:700;padding-right:1.45rem}.titlebar-notifications-item__message{margin:0;color:var(--text-main);font-size:.8rem;line-height:1.3;white-space:pre-line;padding-right:1.45rem}.titlebar-notifications-item__actions{display:flex;align-items:center;justify-content:flex-end;gap:.4rem}.titlebar-notifications-item__action{min-height:30px;height:30px;padding:0 .52rem;font-size:.74rem;font-weight:600}.titlebar-notifications-item__remove{position:absolute;top:.34rem;right:.32rem;width:22px;height:22px;padding:0;color:var(--text-main);background:transparent;border-color:transparent;box-shadow:none;opacity:.72}.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:#10151ddc;border-color:#ffffff2e;box-shadow:0 14px 32px #0000005c}[data-theme=dark] .titlebar-notifications-item,[data-theme=dark-graphite] .titlebar-notifications-item,[data-theme=m-power] .titlebar-notifications-item{border-color:#fff2;background:#ffffff0d}[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:#e5e7eb}[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;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{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{max-width:0;opacity:0;transform:translate(-4px)}.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__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-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 .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:84px;min-width:84px;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}[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--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:.4rem;padding:.3rem .52rem;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:240px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.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(320px,.78fr) minmax(0,1.22fr);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-activity-row--estimate td{background:color-mix(in srgb,#7c3aed 16%,var(--surface))}.car-profile-visits-table th:first-child,.car-profile-visits-table td:first-child{width:170px;min-width:170px;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-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-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-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)}.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:.32rem;min-height:2.35rem;padding:.34rem .66rem;border:1px solid var(--surface-line);border-radius:999px;background:color-mix(in srgb,var(--surface-elevated) 88%,transparent);font-size:.9rem;line-height:1;color:var(--text-main)}.visit-header-context__item strong{color:var(--text-muted);font-weight:600}.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(170px,1fr) minmax(180px,1.2fr) 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:180px;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)}.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(260px,1fr) 180px 260px;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 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}.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)}.warehouse-deliveries-picker-overlay{z-index:126}.visit-warehouse-modal{width:min(1360px,100%);padding:.95rem;gap:.52rem}.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:center}.visit-warehouse-modal__qty{display:grid;gap:.2rem}.visit-warehouse-modal__qty span{font-size:.74rem;color:var(--text-muted)}.visit-warehouse-modal__qty input{width:86px;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%;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__status{min-height:.72rem;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(230px,1fr) 8px 180px;min-height:0;height:min(72vh,760px);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:.42rem .56rem .2rem}.visit-warehouse-modal__top-head{display:flex;justify-content:space-between;align-items:center;gap:.55rem;min-height:40px;padding:.44rem .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-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:auto minmax(0,1fr) auto;gap:.45rem;height:100%}.visit-invoice-left .customers-table-wrap{height:100%}.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}.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-receipt-summary{display:flex;justify-content:flex-end;gap:.5rem;margin-bottom:.45rem;font-size:.88rem}.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:.45rem;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-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-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{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:center;gap:.5rem;padding:.42rem .62rem .5rem}.dashboard-titlebar__left{width:100%;position:relative;justify-content:center;gap:.7rem}.dashboard-titlebar__left .env-badge{position:absolute;right:0;top:50%;transform:translateY(-50%)}.dashboard-titlebar__right{display:none}.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-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{display:none}}.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(75%,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(5,minmax(0,1fr));gap:.7rem}.new-customer-grid label,.new-customer-modal__form label{display:grid;gap:.3rem}.new-customer-grid span,.new-customer-modal__form span{font-size:.84rem;font-weight:700;color:var(--text-muted)}.new-customer-grid input,.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:.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,.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-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{width:52px;text-align:center}.new-customer-companies-table{min-width:0}.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}.new-customer-modal__head{display:flex;align-items:center;justify-content:space-between}.new-customer-modal__head h3{margin:0;display:inline-flex;align-items:center;gap:.45rem;font-size:1rem}.new-customer-modal__form{display:grid;gap:.55rem}.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-cell{display:inline-flex;align-items:center;gap:.38rem;flex-wrap:wrap}.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:.9rem 1rem;border-radius:14px;background:#22548c14;color:#17406c}.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{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{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}.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}.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,body.improvements-modal-open .dashboard-shell--mobile-list .customers-toolbar,body.improvements-modal-open .mobile-nav-bar{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}}@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:.72rem}.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:.74rem}.improvements-field>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-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-file-input{border:1px solid var(--surface-line);border-radius:10px;background:var(--surface-elevated);color:var(--text-main);font:inherit;font-size:.92rem;width:100%;padding:.26rem 2.85rem .26rem .3rem}.improvements-file-input::file-selector-button{border:1px solid var(--surface-line);border-radius:9px;background:color-mix(in srgb,var(--surface) 85%,transparent);color:var(--text-main);font:inherit;font-size:.9rem;font-weight:650;padding:.28rem .54rem;margin-right:.56rem;cursor:pointer}.improvements-block{border:1px solid var(--surface-line);border-radius:12px;background:color-mix(in srgb,var(--surface) 92%,transparent);padding:.62rem;display:grid;height:100%;align-content:start;gap:.58rem}.improvements-block>header h5{margin:0;display:inline-flex;align-items:center;gap:.35rem;font-size:.95rem}.improvements-attachment-upload{display:block}.improvements-file-input-wrap{position:relative;width:100%}.improvements-attachments-list,.improvements-comments-list{display:grid;gap:.45rem;max-height:220px;overflow:auto;padding-right:.12rem}.improvements-attachment-card,.improvements-comment-card{border:1px solid color-mix(in srgb,var(--surface-line) 58%,transparent);border-radius:10px;background:color-mix(in srgb,var(--surface) 94%,transparent);padding:.52rem .58rem}.improvements-attachment-card{display:flex;align-items:center;justify-content:space-between;gap:.55rem}.improvements-attachment-meta{display:flex;align-items:flex-start;gap:.45rem}.improvements-attachment-actions{display:inline-flex;align-items:center;gap:.38rem}.improvements-icon-btn{width:2rem;min-width:2rem;min-height:2rem;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:.25rem;font-size:.78rem}.improvements-comment-meta{display:inline-flex;align-items:center;gap:.5rem;min-width:0}.improvements-comment-meta>span{color:var(--text-muted);font-size:.76rem;white-space:nowrap}.improvements-comment-author{display:inline-flex;align-items:center;gap:.42rem}.improvements-comment-avatar{width:1.65rem;height:1.65rem;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;color:#fff;font-size:.67rem;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}.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}.improvements-comment-input textarea{min-height:2.15rem;padding-right:2.75rem}.improvements-comment-submit-btn{position:absolute;right:.42rem;top:50%;transform:translateY(-50%);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-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-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}.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-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{border:1px solid color-mix(in srgb,var(--surface-line) 80%,transparent);border-radius:8px;background:color-mix(in srgb,var(--surface-elevated) 76%,transparent);color:var(--text-main);font:inherit;font-size:.78rem;font-weight:700;padding:.2rem .48rem}.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__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-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__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(3,minmax(0,1fr))}}@media (max-width: 760px){.new-customer-shell{width:100%}.new-customer-card{padding:.75rem}.new-customer-grid{grid-template-columns:1fr}.new-customer-companies__head{flex-direction:column;align-items:stretch}}@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 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}.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-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)}
