@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-ease:initial}}}@layer theme{:root,:host{--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--font-weight-extrabold:800;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--shadow-sm:0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;--shadow-md:0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;--shadow-lg:0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;--ease-in-out:cubic-bezier(.4, 0, .2, 1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-family-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.isolate{isolation:isolate}.\!container{width:100%!important}@media(min-width:40rem){.\!container{max-width:40rem!important}}@media(min-width:48rem){.\!container{max-width:48rem!important}}@media(min-width:64rem){.\!container{max-width:64rem!important}}@media(min-width:80rem){.\!container{max-width:80rem!important}}@media(min-width:96rem){.\!container{max-width:96rem!important}}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.table{display:table}.shrink-0{flex-shrink:0}.transform{transform:var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, )}.resize{resize:both}.rounded{border-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.text-isp-muted{color:var(--color-text-muted)}.text-isp-primary{color:var(--color-primary)}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.ring{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, )}.filter{filter:var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, )}.filter\!{filter:var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, )!important}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}:root{color-scheme:dark;font-family:var(--font-family-sans);--font-family-sans: Inter, "Segoe UI", Arial, sans-serif;--font-size-2xs: .625rem;--font-size-xs: .75rem;--font-size-sm: .875rem;--font-size-md: 1rem;--font-size-lg: 1.125rem;--font-size-xl: 1.25rem;--font-size-2xl: 1.5rem;--font-size-3xl: 1.875rem;--font-weight-regular: 400;--font-weight-medium: 500;--font-weight-semibold: 600;--font-weight-bold: 700;--font-weight-extrabold: 800;--line-height-tight: 1.2;--line-height-normal: 1.5;--line-height-relaxed: 1.65;--space-0: 0;--space-1: .25rem;--space-2: .5rem;--space-3: .75rem;--space-4: 1rem;--space-5: 1.25rem;--space-6: 1.5rem;--space-8: 2rem;--space-10: 2.5rem;--space-12: 3rem;--radius-xs: .25rem;--radius-sm: .375rem;--radius-md: .5rem;--radius-lg: .75rem;--radius-xl: 1rem;--radius-2xl: 1.25rem;--radius-full: 9999px;--border-width-thin: 1px;--border-width-strong: 2px;--shadow-sm: 0 1px 2px rgb(0 0 0 / .22);--shadow-md: 0 6px 18px rgb(0 0 0 / .24);--shadow-lg: 0 18px 48px rgb(0 0 0 / .32);--focus-ring-width: 3px;--focus-ring-offset: 2px;--focus-ring-color: color-mix(in srgb, var(--color-primary) 55%, transparent);--transition-fast: .12s ease;--transition-normal: .18s ease;--transition-slow: .24s ease;--layout-sidebar-width: 16rem;--layout-sidebar-collapsed-width: 4.5rem;--layout-topbar-height: 4.5rem;--layout-content-max-width: 85rem;--layout-content-gutter: 2.25rem;--layout-app-min-width: 47.5rem;--layout-modal-z-index: 7;--color-background: #0B1120;--color-surface: #111C2F;--color-surface-elevated: #17243A;--color-surface-subtle: #17243A;--color-primary: #3B82F6;--color-primary-hover: #2563EB;--color-border: #26364D;--color-text-primary: #E5E7EB;--color-text-secondary: #CBD5E1;--color-text-muted: #94A3B8;--color-success: #22C55E;--color-warning: #F59E0B;--color-danger: #EF4444;--color-info: #38BDF8;--color-overlay: rgb(3 7 18 / .72);--shadow-primary: 0 5px 14px rgb(37 99 235 / .24)}:where([data-theme]){color-scheme:dark;--bg: var(--color-background);--surface: var(--color-surface);--surface2: var(--color-surface-elevated);--surface-subtle: var(--color-surface-subtle);--text: var(--color-text-primary);--muted: var(--color-text-muted);--line: var(--color-border);--accent: var(--color-primary);--accent-soft: color-mix(in srgb, var(--color-primary) 16%, var(--color-surface))}:where([data-theme=light]){color-scheme:light;--color-background: #F5F7FB;--color-surface: #FFFFFF;--color-surface-elevated: #F8F9FC;--color-surface-subtle: #F2F4F8;--color-primary: #3B82F6;--color-primary-hover: #2563EB;--color-border: #E6EAF1;--color-text-primary: #172235;--color-text-secondary: #475569;--color-text-muted: #64748B;--color-success: #15803D;--color-warning: #B45309;--color-danger: #B91C1C;--color-info: #0369A1;--color-overlay: rgb(15 23 42 / .32);--shadow-sm: 0 1px 2px rgb(29 43 70 / .08);--shadow-md: 0 6px 18px rgb(29 43 70 / .12);--shadow-lg: 0 18px 48px rgb(29 43 70 / .2);--shadow-primary: 0 5px 14px rgb(37 99 235 / .2)}@media print{:where([data-theme]){color-scheme:light;--color-background: #FFFFFF !important;--color-surface: #FFFFFF !important;--color-surface-elevated: #FFFFFF !important;--color-surface-subtle: #F4F6F8 !important;--color-border: #D1D5DB !important;--color-text-primary: #111827 !important;--color-text-secondary: #374151 !important;--color-text-muted: #4B5563 !important;--color-primary: #1D4ED8 !important}}:root{font-family:var(--font-family-sans);color:var(--color-text-primary);background:var(--color-background);font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:var(--layout-app-min-width);min-height:100vh}button,input{font:inherit}button{cursor:pointer}.app-shell{min-height:100vh;display:flex;background:var(--bg);color:var(--text)}.sidebar{width:248px;position:fixed;inset:0 auto 0 0;background:var(--surface);border-right:1px solid var(--line);display:flex;flex-direction:column;padding:26px 16px 16px;z-index:2}.side-brand{display:flex;align-items:center;gap:11px;padding:0 7px 37px}.brand-mark{width:43px;height:43px;border-radius:14px;background:linear-gradient(145deg,#5379f5,#3956d8);display:grid;place-items:center;color:#fff;font:800 24px Inter,Segoe UI,sans-serif;box-shadow:0 7px 15px #4567e933}.brand-mark.small{width:37px;height:37px;border-radius:12px;font-size:20px}.side-brand strong{display:block;font:800 16px Inter,Segoe UI,sans-serif;letter-spacing:-.4px}.side-brand span{display:block;margin-top:3px;color:var(--muted);font-size:9px;letter-spacing:1.5px;font-weight:700}.nav-caption,.eyebrow{font-size:10px;letter-spacing:1.45px;font-weight:700;color:#94a1b4}.nav-caption{padding:0 12px 10px}.nav-item{height:43px;border:0;background:transparent;border-radius:9px;color:#68778d;text-align:left;display:flex;align-items:center;gap:12px;padding:0 12px;margin:2px 0;font-weight:600;font-size:13px}.nav-item>span{font-size:17px;width:18px;text-align:center}.nav-item.selected{background:var(--accent-soft);color:var(--accent)}.nav-item i{margin-left:auto;font-size:8px;font-style:normal;color:#a6b0c0;font-weight:500}.nav-item:disabled{cursor:default;opacity:.65}.sidebar-bottom{margin-top:auto}.offline{font-size:8px;letter-spacing:.65px;color:#8b98ab;padding:13px 7px;border-bottom:1px solid var(--line)}.offline span,.status-dot{color:#28b67a}.offline b{margin:0 4px;color:#c2cad5}.profile{display:flex;align-items:center;padding:14px 5px 3px;gap:10px}.avatar{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#e9edff;color:#4263eb;font-weight:700}.profile-name{flex:1;min-width:0}.profile-name b,.profile-name span{display:block;font-size:11px}.profile-name span{color:var(--muted);font-size:10px;margin-top:3px}.icon-button{border:0;background:transparent;color:var(--muted);font-size:18px}.main-area{margin-left:248px;width:calc(100% - 248px)}.topbar{height:69px;background:var(--surface);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px}.crumb{font-size:12px;color:var(--muted)}.crumb span{padding:0 9px;color:#bdc5d1}.crumb b{color:var(--text);font-weight:600}.top-actions{display:flex;align-items:center;gap:10px}.today{color:var(--muted);font-size:11px}.theme-button{background:var(--surface);border:1px solid var(--line);border-radius:8px;height:34px;padding:0 11px;color:var(--text);font-size:11px;font-weight:600}.theme-button span{font-size:15px;margin-right:7px;vertical-align:-1px}.content{max-width:1300px;margin:auto;padding:36px 40px 22px}.welcome-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.welcome-row .eyebrow{margin:0 0 8px}.welcome-row h1{font:700 25px Inter,Segoe UI,sans-serif;margin:0;letter-spacing:-.7px}.muted{color:var(--muted)}.welcome-row .muted{font-size:12px;margin:8px 0 0}.date-chip{background:var(--surface);border:1px solid var(--line);padding:10px 14px;border-radius:8px;color:#66748a;font-size:11px}.phase-banner{display:flex;align-items:center;gap:14px;background:linear-gradient(100deg,#edf2ff,#f4f6ff);border:1px solid #e1e8ff;padding:15px 17px;border-radius:11px;color:#283d76;margin-bottom:31px}.app-shell[data-theme=dark] .phase-banner{background:#222e4b;border-color:#303e61;color:#d8e1ff}.banner-icon{width:32px;height:32px;border-radius:9px;background:#dce5ff;display:grid;place-items:center;color:#4263eb}.phase-banner b{font-size:12px}.phase-banner p{font-size:10px;margin:4px 0 0;color:#7483a1}.phase-tag{margin-left:auto;background:#fff;color:#536fd9;border-radius:5px;padding:6px 8px;font-size:8px;letter-spacing:1px;font-weight:700}.section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.section-title h2{font:700 15px Inter,Segoe UI,sans-serif;margin:0}.section-title p,.panel-head p{font-size:10px;color:var(--muted);margin:5px 0 0}.period-pill{border:1px solid var(--line);border-radius:6px;padding:7px 10px;color:var(--muted);font-size:10px;background:var(--surface)}.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.metric-card{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:15px 15px 12px;position:relative;overflow:hidden}.metric-head{display:flex;align-items:center;justify-content:space-between;color:#78869a;font-size:10px;font-weight:600}.metric-icon{height:27px;width:27px;border-radius:8px;display:grid;place-items:center;color:#5371e7;background:#eef1ff}.icon-1{color:#20a77b;background:#e9f8f2}.icon-2{color:#de9c3a;background:#fff5e6}.icon-3{color:#8a62d2;background:#f4edff}.metric-card>strong{display:block;font:700 25px Inter,Segoe UI,sans-serif;margin-top:10px;letter-spacing:-.5px}.metric-card>small{display:block;margin-top:3px;color:#a0aaba;font-size:9px}.metric-line{position:absolute;height:2px;left:0;bottom:0;width:36%;background:#5a78ef;opacity:.52}.lower-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:14px;margin-top:18px}.panel{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:17px 18px}.panel-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.panel-head h3{font:700 13px Inter,Segoe UI,sans-serif;margin:0}.complete-badge{font-size:9px;background:#eef8f3;color:#20976d;padding:6px 8px;border-radius:5px}.check-row{display:flex;align-items:center;gap:10px;padding:10px 0;border-top:1px solid var(--line)}.check-row>span{width:22px;height:22px;border-radius:50%;border:1px solid #dfe5ed;display:grid;place-items:center;color:#8693a7;font-size:10px}.check-row.done>span{background:#e7f7ef;border-color:#d7f1e4;color:#1ca572}.check-row div{flex:1}.check-row b,.check-row small{display:block;font-size:10px}.check-row small{font-size:9px;color:var(--muted);margin-top:3px}.check-row em{font-size:9px;color:#8c99ab;font-style:normal}.check-row.done em{color:#1ca572}.muted-row{opacity:.63}.system-panel{padding-bottom:14px}.status-dot{font-size:13px}.system-row{display:flex;justify-content:space-between;padding:10px 0;border-top:1px solid var(--line);font-size:10px;color:var(--muted)}.system-row b{font-weight:600;color:var(--text)}.privacy-note{background:var(--surface2);padding:10px;border-radius:7px;font-size:9px;color:#71819a;margin-top:6px}footer{text-align:center;color:#aab3c1;font-size:8px;letter-spacing:1px;margin-top:24px}footer span{padding:0 6px}.auth-wrap{min-height:100vh;display:grid;place-items:center;background:radial-gradient(ellipse at 20% 0%,color-mix(in srgb,var(--color-primary) 15%,transparent) 0,transparent 43%),var(--color-background);padding:25px}.auth-card{width:min(100%,410px);background:var(--color-surface);color:var(--color-text-primary);border:1px solid var(--color-border);border-radius:16px;padding:34px;box-shadow:var(--shadow-lg)}.auth-card .brand-mark{margin:0 auto 19px}.auth-card .eyebrow{text-align:center;font-size:9px;margin-bottom:10px;color:#7485c7}.auth-card h1{text-align:center;font:700 22px Inter,Segoe UI,sans-serif;margin:0;letter-spacing:-.6px}.auth-card>.muted{text-align:center;font-size:12px;line-height:1.5;margin:9px 0 24px}.auth-card label{display:block;font-size:10px;color:var(--color-text-secondary);font-weight:700;margin:14px 0}.auth-card input{display:block;width:100%;height:41px;border:1px solid var(--color-border);border-radius:7px;padding:0 11px;margin-top:6px;outline:none;background:var(--color-surface-elevated);color:var(--color-text-primary)}.auth-card input:focus{border-color:var(--color-primary);box-shadow:0 0 0 var(--focus-ring-width) var(--focus-ring-color)}.primary{border:0;background:var(--color-primary);color:#fff;border-radius:7px;height:42px;font-size:11px;font-weight:700;box-shadow:var(--shadow-primary)}.primary:disabled{opacity:.65}.full{width:100%;margin-top:7px}.auth-foot{text-align:center;font-size:9px;color:#9ba6b6;margin:19px 0 0}.error-box{padding:10px;border:1px solid color-mix(in srgb,var(--color-danger) 35%,var(--color-border));background:color-mix(in srgb,var(--color-danger) 10%,var(--color-surface));color:var(--color-danger);border-radius:7px;font-size:10px}.loading-screen{min-height:100vh;display:grid;place-content:center;justify-items:center;gap:14px;background:var(--color-background);color:var(--color-text-muted);font-size:12px}.spinner{width:25px;height:25px;border:2px solid #dbe2f2;border-top-color:#4967e8;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:1050px){.sidebar{width:215px}.main-area{margin-left:215px;width:calc(100% - 215px)}.content{padding:30px 25px}.metric-grid{grid-template-columns:repeat(2,1fr)}}.modal-backdrop{position:fixed;inset:0;background:var(--color-overlay);display:grid;place-items:center;z-index:5;padding:20px}.settings-dialog{width:min(100%,410px);padding:20px;background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:12px;box-shadow:0 20px 70px #15234130}.setting-label{display:block;font-size:11px;font-weight:700;margin-top:22px}.setting-label select{display:block;width:100%;margin-top:8px;padding:10px;border-radius:7px;background:var(--surface);color:var(--text);border:1px solid var(--line)}.setting-help{font-size:10px;color:var(--muted);line-height:1.5;margin:9px 0 16px}.customer-module{width:100%}.customer-page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:23px}.customer-page-heading .eyebrow{display:block;margin-bottom:8px}.customer-page-heading h1,.customer-profile-title h1{font:700 25px Inter,Segoe UI,sans-serif;letter-spacing:-.7px;margin:0;color:var(--text)}.customer-page-heading p{font-size:12px;color:var(--muted);margin:7px 0 0}.customer-page-heading .primary,.customer-profile-heading>.primary{padding:0 15px;white-space:nowrap}.customer-list-panel,.customer-panel{background:var(--surface);border:1px solid var(--line);border-radius:10px;overflow:hidden}.customer-toolbar{display:flex;gap:10px;align-items:center;padding:15px;border-bottom:1px solid var(--line)}.customer-search{height:37px;max-width:460px;flex:1;display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:7px;padding:0 10px;color:var(--muted)}.customer-search>span{font-size:17px}.customer-search input{width:100%;min-width:50px;border:0;outline:0;background:transparent;color:var(--text);font-size:11px}.customer-search kbd{font:10px Inter,Segoe UI,sans-serif;color:#9aa6b7}.customer-filter{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:10px;white-space:nowrap}.customer-filter select{height:35px;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--text);padding:0 9px;font-size:10px}.customer-table-wrap{overflow:auto}.customer-table{border-collapse:collapse;width:100%;min-width:650px}.customer-table th{text-align:left;padding:11px 14px;background:var(--surface2);font-size:9px;letter-spacing:.5px;color:#8996a8;text-transform:uppercase;font-weight:700}.customer-table td{padding:11px 14px;border-top:1px solid var(--line);font-size:11px;color:var(--text);max-width:270px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-table tbody tr:hover{background:var(--surface2)}.customer-name-link{border:0;background:transparent;color:var(--text);text-align:left;padding:0}.customer-name-link b,.customer-name-link small{display:block}.customer-name-link b{font-size:11px}.customer-name-link small{font-size:9px;color:var(--muted);margin-top:3px}.customer-status{display:inline-block;border-radius:20px;padding:4px 8px;font-size:9px;font-weight:700;text-transform:capitalize}.customer-status.active{background:#e9f8f1;color:#16815b}.customer-status.inactive{background:#f0f2f5;color:#758196}.app-shell[data-theme=dark] .customer-status.inactive{background:#293445;color:#b8c2d1}.row-action{border:0;background:transparent;color:#8592a5;font-size:19px}.table-message{text-align:center!important;height:145px;color:var(--muted)!important}.table-message strong,.table-message span{display:block}.table-message strong{color:var(--text);margin-bottom:6px}.table-message span{font-size:10px}.customer-list-footer{min-height:54px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:9px 14px;color:var(--muted);font-size:10px}.customer-list-footer>div{display:flex;align-items:center;gap:10px}.secondary-button{height:31px;padding:0 10px;border:1px solid var(--line);border-radius:6px;color:var(--text);background:var(--surface);font-size:10px}.secondary-button:disabled{opacity:.45;cursor:default}.customer-notice{display:flex;align-items:center;justify-content:space-between;margin:-8px 0 13px;padding:10px 12px;background:#eaf8f1;border:1px solid #d4f0e1;border-radius:7px;color:#21885f;font-size:11px}.customer-notice button{border:0;background:transparent;color:inherit;font-size:16px}.customer-modal-backdrop{position:fixed;inset:0;z-index:7;background:#111a2d70;display:grid;place-items:center;padding:22px}.customer-editor{width:min(850px,100%);max-height:calc(100vh - 44px);overflow:auto;background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:13px;box-shadow:0 22px 80px #11182745;padding:23px}.customer-editor-heading{display:flex;align-items:flex-start;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:15px;margin-bottom:4px}.customer-editor-heading .eyebrow{font-size:9px}.customer-editor-heading h2{font:700 20px Inter,Segoe UI,sans-serif;margin:7px 0 0}.customer-editor-heading p{font-size:10px;color:var(--muted);margin:6px 0 0}.customer-form-grid{display:grid;grid-template-columns:1fr 1fr;column-gap:15px;row-gap:1px}.customer-form-grid>label{display:block;margin:11px 0 4px;color:#637188;font-size:10px;font-weight:700}.customer-form-grid input:not([type=checkbox]),.customer-form-grid textarea{display:block;width:100%;margin-top:6px;min-height:37px;padding:9px 10px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--text);outline:none;font-size:11px}.customer-form-grid textarea{resize:vertical}.customer-form-grid input:focus,.customer-form-grid textarea:focus{border-color:#5976ea;box-shadow:0 0 0 3px #5976ea1a}.customer-form-wide{grid-column:1/-1}.field-optional{color:#98a4b4;font-size:9px;font-weight:400;margin-left:4px}.phone-fieldset{border:0;border-top:1px solid var(--line);padding:11px 0 0;margin:13px 0 0}.phone-fieldset legend{padding:0 8px 0 0;color:#637188;font-size:10px;font-weight:700}.phone-entry{display:flex;align-items:center;gap:8px;max-width:420px;margin:6px 0}.phone-entry input{flex:1!important;margin:0!important}.remove-phone,.add-phone,.reveal-button{border:0;background:transparent;color:#536fda;font-size:10px;font-weight:600;padding:7px 0}.remove-phone{color:#b65050}.add-phone{margin-top:3px}.technical-divider{border-top:1px solid var(--line);margin-top:14px;padding-top:13px;color:#637188;font-size:9px;letter-spacing:1px;font-weight:700}.technical-divider small{display:block;text-transform:none;letter-spacing:0;font-size:9px;font-weight:400;color:var(--muted);margin-top:4px}.customer-form-grid .clear-password{display:flex;align-items:center;gap:8px;color:#7a5260;font-size:10px;font-weight:500}.customer-form-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:17px;border-top:1px solid var(--line);padding-top:14px}.customer-form-actions .primary{padding:0 15px}.customer-profile-page{width:100%}.back-link{border:0;background:transparent;color:#536fda;font-size:11px;font-weight:600;padding:0;margin:0 0 19px}.customer-profile-heading{display:flex;align-items:center;gap:13px;margin-bottom:20px}.customer-profile-avatar{width:46px;height:46px;border-radius:14px;background:#e9edff;color:#4967e8;display:grid;place-items:center;font-size:15px;font-weight:700}.customer-profile-title{flex:1}.customer-profile-title .eyebrow{font-size:9px}.customer-profile-title h1{font-size:22px;margin:4px 0}.customer-profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.customer-panel{padding:17px 18px}.customer-panel-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.customer-panel-heading h2{font:700 13px Inter,Segoe UI,sans-serif;color:var(--text);margin:0}.customer-panel-heading p{font-size:9px;color:var(--muted);margin:5px 0 0}.customer-panel-heading>div>p:first-child{font-size:9px}.detail-pair{min-height:36px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding:8px 0}.detail-pair>span{font-size:10px;color:var(--muted)}.detail-pair>strong{max-width:65%;text-align:right;overflow-wrap:anywhere;color:var(--text);font-size:10px;font-weight:600}.detail-pair .customer-status{font-size:9px}.reveal-button{padding:5px 0}.history-panel{min-height:130px}.customer-empty-history{display:grid;min-height:62px;place-items:center;text-align:center;border-top:1px solid var(--line);padding:12px;color:var(--muted);font-size:10px;line-height:1.5}.customer-profile-meta{margin-top:13px;text-align:right;color:#99a4b4;font-size:9px}.customer-module>.error-box{margin-bottom:13px}@media(max-width:1000px){.customer-toolbar{flex-wrap:wrap}.customer-search{max-width:none;flex-basis:100%}.customer-profile-grid{grid-template-columns:1fr}}@media(max-width:720px){.customer-form-grid{grid-template-columns:1fr}.customer-form-wide{grid-column:auto}.customer-page-heading{align-items:flex-start;gap:10px}.customer-page-heading .primary{padding:0 9px}.customer-list-footer{align-items:flex-start;gap:8px;flex-direction:column}.customer-profile-heading{flex-wrap:wrap}.customer-profile-heading>.primary{margin-left:auto}}.module-tabs{display:flex;gap:17px;border-bottom:1px solid var(--line);margin:-8px 0 17px}.module-tabs button{position:relative;border:0;background:transparent;padding:0 2px 11px;color:var(--muted);font-size:11px;font-weight:600}.module-tabs button.active{color:var(--accent)}.module-tabs button.active:after{content:"";position:absolute;height:2px;left:0;right:0;bottom:-1px;background:var(--accent);border-radius:2px}.module-tabs button span{margin-left:5px;color:#97a3b4;font-size:9px}.expiry-alert-panel{display:flex;align-items:flex-start;gap:12px;padding:14px 16px;margin-bottom:14px;border:1px solid #f0dfbb;border-radius:9px;background:#fff9ec;color:#76551f}.expiry-alert-icon{width:26px;height:26px;flex:none;display:grid;place-items:center;border-radius:50%;background:#ffefcc;color:#b47b1d;font-weight:800}.expiry-alert-panel strong{font-size:11px}.expiry-alert-panel p{font-size:10px;margin:5px 0;color:#94733b}.expiry-alert-chip{display:inline-block;margin:3px 5px 0 0;padding:4px 7px;border-radius:5px;background:#fff2d7;color:#80632f;font-size:9px}.expiry-alert-setting{margin-left:auto;color:#9b814e;font-size:9px;white-space:nowrap}.subscription-status,.payment-status{display:inline-block;border-radius:20px;padding:4px 8px;font-size:9px;font-weight:700;text-transform:capitalize;white-space:nowrap}.subscription-status.active{background:#e9f8f1;color:#16815b}.subscription-status.expired{background:#fff1e5;color:#b46627}.subscription-status.cancelled{background:#f0f2f5;color:#758196}.payment-status.unpaid{background:#fff1e5;color:#b46627}.subscription-table td small{display:block;color:var(--muted);font-size:9px;margin-top:4px}.subscription-table td:first-child b{font-size:10px}.package-list-heading{display:flex;align-items:center;gap:12px;padding:14px 15px;border-bottom:1px solid var(--line)}.package-list-heading>div{flex:1}.package-list-heading h2{font:700 13px Inter,Segoe UI,sans-serif;margin:0;color:var(--text)}.package-list-heading p{font-size:9px;color:var(--muted);margin:5px 0 0}.package-list-heading .primary{padding:0 12px;white-space:nowrap}.include-inactive{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:9px;white-space:nowrap}.include-inactive input{accent-color:#4967e8}.customer-form-grid select{display:block;width:100%;height:37px;margin-top:6px;padding:0 9px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--text);font-size:11px}.customer-picker-label{position:relative}.customer-picker-results{position:absolute;z-index:8;top:calc(100% - 3px);left:0;right:0;max-height:220px;overflow:auto;border:1px solid var(--line);border-radius:7px;background:var(--surface);box-shadow:0 12px 28px #18243821}.customer-picker-results>button{display:block;width:100%;border:0;border-bottom:1px solid var(--line);background:transparent;text-align:left;padding:9px 11px;color:var(--text)}.customer-picker-results>button:hover{background:var(--surface2)}.customer-picker-results>button b,.customer-picker-results>button span{display:block;font-size:10px}.customer-picker-results>button span{margin-top:3px;color:var(--muted);font-size:9px}.customer-picker-message{padding:11px;color:var(--muted);font-size:10px}.error-text{color:#b65050}.selected-customer-mark{display:inline-block;margin-top:6px;color:#21885f;font-size:9px}.term-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface2);padding:12px;margin-top:12px}.term-summary>div span,.term-summary>div strong,.term-summary>div small{display:block}.term-summary>div span{font-size:9px;color:var(--muted)}.term-summary>div strong{font-size:14px;color:var(--text);margin:4px 0}.term-summary>div small{font-size:8px;color:var(--muted);line-height:1.35}.cancel-reason-label{display:block;color:#637188;font-size:10px;font-weight:700;margin-top:14px}.cancel-reason-label textarea{display:block;width:100%;margin-top:7px;padding:9px;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--text);font:inherit;font-size:11px;resize:vertical}.danger-button{height:36px;padding:0 13px;border:0;border-radius:6px;background:#b84d4d;color:#fff;font-size:10px;font-weight:700}.danger-button:disabled{opacity:.6}@media(max-width:800px){.package-list-heading{flex-wrap:wrap}.package-list-heading>div{flex-basis:100%}.expiry-alert-setting{display:none}.term-summary{grid-template-columns:1fr}}.debt-total{margin-left:auto;text-align:right}.debt-total small,.debt-total strong{display:block}.debt-total small{font-size:9px;color:var(--muted)}.debt-total strong{font-size:16px;margin-top:3px;color:var(--text)}.payment-status.paid{background:#e9f8f1;color:#16815b}.payment-dialog{max-width:650px}.payment-dialog .setting-help{display:block;margin:6px 0 0;font-size:9px;font-weight:400}.payment-module .customer-toolbar{min-height:66px}.inventory-tabs{flex-wrap:wrap}.inventory-row-actions{display:flex;gap:5px;flex-wrap:wrap}.inventory-row-actions .secondary-button{padding:0 7px}.inventory-dialog{max-width:780px}.quantity-negative{color:#b65050!important;font-weight:700}.quantity-positive{color:#16815b!important;font-weight:700}.inventory-module .customer-filter select{max-width:210px}.inventory-module{font-size:13px}.inventory-module .customer-page-heading{margin-bottom:19px;align-items:center}.inventory-module .customer-page-heading h1{font-size:22px;letter-spacing:-.4px}.inventory-module .customer-page-heading p{font-size:11px;margin-top:5px}.inventory-module .customer-page-heading .primary{height:36px;padding:0 12px;font-size:10px;box-shadow:none}.inventory-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:-3px 0 23px}.inventory-summary-card{display:flex;align-items:center;gap:11px;min-width:0;padding:12px 13px;border:1px solid var(--line);border-radius:9px;background:var(--surface)}.inventory-summary-mark{display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:9px;background:#edf1ff;color:#4967e8;font-size:11px;font-weight:700}.mark-1{background:#e9f8f1;color:#16815b}.mark-2{background:#fff4e5;color:#b97926}.mark-3{background:#f2edff;color:#7b60c6}.inventory-summary-card div{min-width:0}.inventory-summary-card small,.inventory-summary-card strong,.inventory-summary-card div>span{display:block}.inventory-summary-card small{font-size:9px;color:var(--muted)}.inventory-summary-card strong{margin:2px 0;font-size:17px;line-height:1.1;color:var(--text)}.inventory-summary-card div>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:8px;color:#9aa5b5}.inventory-tabs{gap:19px;margin:0 0 15px}.inventory-tabs button{padding-bottom:9px;font-size:10px}.inventory-module .customer-list-panel{border-radius:9px}.inventory-module .customer-toolbar{min-height:55px;padding:10px 12px}.inventory-module .customer-search{height:33px}.inventory-module .customer-search input{font-size:10px}.inventory-module .customer-filter{font-size:9px}.inventory-module .customer-filter select{height:32px;font-size:9px}.inventory-module .customer-table th{padding:9px 11px;font-size:8px;letter-spacing:.65px}.inventory-module .customer-table td{padding:9px 11px;font-size:10px}.inventory-module .customer-table td b{font-size:10px}.inventory-module .customer-table td small{display:block;margin-top:3px;color:var(--muted);font-size:8px}.inventory-module .secondary-button{height:27px;padding:0 8px;font-size:9px}.inventory-module .customer-list-footer{min-height:43px;padding:7px 12px;font-size:9px}.inventory-dialog{max-width:720px}.inventory-dialog .customer-editor-heading h2{font-size:18px}.inventory-dialog .customer-editor-heading p{font-size:9px}.inventory-dialog .customer-form-grid>label{font-size:9px}.inventory-dialog .customer-form-grid input:not([type=checkbox]),.inventory-dialog .customer-form-grid textarea,.inventory-dialog .customer-form-grid select{min-height:33px;font-size:10px}.inventory-dialog .customer-form-actions{margin-top:12px;padding-top:10px}.inventory-dialog .primary,.inventory-dialog .danger-button{height:34px;font-size:9px}@media(max-width:950px){.inventory-overview{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.inventory-overview{grid-template-columns:1fr}.inventory-module .customer-page-heading{align-items:flex-start}}.procurement-module{font-size:12px}.procurement-module .customer-page-heading{margin-bottom:17px}.procurement-module .customer-page-heading h1{font-size:22px;letter-spacing:-.45px}.procurement-module .customer-page-heading p{font-size:11px}.procurement-actions{display:flex;gap:8px;align-items:center}.procurement-actions .primary,.procurement-actions .secondary-button{height:34px;font-size:10px;box-shadow:none}.procurement-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:0 0 18px}.procurement-summary article{padding:11px 13px;background:var(--surface);border:1px solid var(--line);border-radius:9px;min-width:0}.procurement-summary span,.procurement-summary strong{display:block}.procurement-summary span{font-size:9px;color:var(--muted);margin-bottom:5px}.procurement-summary strong{font-size:16px;color:var(--text);font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.procurement-tabs{gap:17px;margin-bottom:13px}.procurement-tabs button{display:flex;align-items:center;gap:7px;padding-bottom:9px;font-size:10px}.procurement-tabs button span{font-size:8px;color:var(--muted);background:var(--surface2);border-radius:10px;padding:2px 6px}.procurement-module .customer-toolbar{min-height:54px;padding:10px 12px}.procurement-module .customer-search{height:33px}.procurement-module .customer-search input{font-size:10px}.procurement-module .customer-filter{font-size:9px}.procurement-module .customer-filter select{height:32px;font-size:9px}.procurement-table{min-width:810px}.procurement-table th{padding:9px 10px;font-size:8px;letter-spacing:.55px}.procurement-table td{padding:9px 10px;font-size:10px}.procurement-table td>b,.procurement-table td>strong{font-size:10px}.procurement-table td small{display:block;margin-top:3px;font-size:8px;color:var(--muted)}.procurement-table .secondary-button{height:27px;padding:0 8px;font-size:9px;white-space:nowrap}.procurement-module .customer-list-footer{min-height:42px;padding:7px 12px;font-size:9px}.procurement-dialog{max-width:760px}.procurement-dialog .customer-editor-heading h2{font-size:18px}.procurement-dialog .customer-editor-heading p{font-size:9px}.procurement-dialog .customer-form-grid>label,.procurement-notes{font-size:9px}.procurement-dialog input,.procurement-dialog select,.procurement-dialog textarea{font-size:10px}.procurement-dialog .customer-form-grid input:not([type=checkbox]),.procurement-dialog .customer-form-grid textarea,.procurement-dialog .customer-form-grid select{min-height:33px}.procurement-dialog .customer-form-actions{margin-top:12px;padding-top:10px}.procurement-dialog .customer-form-actions button{height:33px;font-size:9px}.purchase-lines-heading{display:flex;align-items:center;justify-content:space-between;margin:17px 0 8px;font-size:11px;color:var(--text)}.purchase-lines-heading .secondary-button{height:28px;font-size:9px}.purchase-line-list{display:grid;gap:8px;max-height:280px;overflow:auto;padding-right:3px}.purchase-line{border:1px solid var(--line);background:var(--surface2);border-radius:8px;padding:10px}.purchase-line-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;font-size:9px;color:var(--muted)}.text-action{border:0;background:none;color:#526de0;font-size:9px}.purchase-line .customer-form-grid{gap:9px}.purchase-line .customer-form-grid label{font-size:8px}.purchase-line .customer-form-grid input,.purchase-line .customer-form-grid select{min-height:30px!important}.purchase-total{display:flex;align-items:center;justify-content:space-between;padding:11px 0;border-bottom:1px solid var(--line);font-size:10px}.purchase-total strong{font-size:15px;color:var(--text)}.procurement-notes{display:block;margin-top:11px}.procurement-notes textarea{display:block;width:100%;margin-top:5px}.currency-policy-note{padding:9px 10px;margin-bottom:12px;border:1px solid #dce5ff;border-radius:7px;background:#f5f7ff;color:#566485;font-size:9px;line-height:1.5}.app-shell[data-theme=dark] .currency-policy-note{background:#202d43;border-color:#334463;color:#b9c8e4}.procurement-notice{display:flex;align-items:center;gap:8px;margin-bottom:10px;padding:9px 11px;border:1px solid #cce9db;border-radius:7px;background:#f0faf5;color:#1d7654;font-size:10px}.procurement-notice .icon-button{margin-left:auto}.procurement-module .error-box .icon-button{float:right}@media(max-width:950px){.procurement-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.procurement-module .customer-page-heading{align-items:flex-start;gap:12px}.procurement-actions{flex-direction:column;align-items:stretch}.procurement-actions button{width:100%}.procurement-summary{grid-template-columns:1fr 1fr}.procurement-tabs{gap:12px;overflow:auto}.procurement-tabs button{white-space:nowrap}}.sales-module{font-size:12px}.sales-module .customer-page-heading{margin-bottom:17px}.sales-module .customer-page-heading h1{font-size:22px;letter-spacing:-.45px}.sales-module .customer-page-heading p{font-size:11px}.sales-module .customer-page-heading .primary{height:34px;font-size:10px;box-shadow:none}.sales-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:0 0 18px}.sales-summary article{padding:11px 13px;background:var(--surface);border:1px solid var(--line);border-radius:9px;min-width:0}.sales-summary article span,.sales-summary article strong,.sales-summary article small{display:block}.sales-summary article span{font-size:9px;color:var(--muted);margin-bottom:5px}.sales-summary article strong{font-size:15px;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sales-summary article small{font-size:8px;color:var(--muted);margin-top:3px}.sales-tabs{gap:17px;margin-bottom:13px}.sales-tabs button{display:flex;align-items:center;gap:7px;padding-bottom:9px;font-size:10px}.sales-tabs button span{font-size:8px;color:var(--muted);background:var(--surface2);border-radius:10px;padding:2px 6px}.sales-module .customer-toolbar{min-height:54px;padding:10px 12px}.sales-module .customer-search{height:33px}.sales-module .customer-search input{font-size:10px}.sales-module .customer-filter{font-size:9px}.sales-module .customer-filter select{height:32px;font-size:9px}.sales-table{min-width:960px}.sales-table th{padding:9px 10px;font-size:8px;letter-spacing:.5px}.sales-table td{padding:9px 10px;font-size:10px}.sales-table td>b{font-size:10px}.sales-table td small{display:block;margin-top:3px;font-size:8px;color:var(--muted)}.sales-module .customer-list-footer{min-height:42px;padding:7px 12px;font-size:9px}.sales-row-actions{display:flex;gap:6px;align-items:center;white-space:nowrap}.sales-row-actions .secondary-button{height:25px;padding:0 7px;font-size:8px}.sales-row-actions .text-action{padding:2px;font-size:9px}.sales-dialog{max-width:780px}.sales-dialog .customer-editor-heading h2{font-size:18px}.sales-dialog .customer-editor-heading p{font-size:9px}.sales-dialog .customer-form-grid>label,.sales-notes{font-size:9px}.sales-dialog input,.sales-dialog select,.sales-dialog textarea{font-size:10px}.sales-dialog .customer-form-grid input:not([type=checkbox]),.sales-dialog .customer-form-grid textarea,.sales-dialog .customer-form-grid select{min-height:32px}.sales-dialog .customer-form-actions{margin-top:12px;padding-top:10px}.sales-dialog .customer-form-actions button{height:33px;font-size:9px}.sales-dialog .purchase-lines-heading{margin-top:15px}.sales-dialog .purchase-line-list{max-height:300px}.sales-dialog .purchase-line{padding:9px}.sales-dialog .purchase-line .customer-form-grid{gap:8px}.sales-dialog .purchase-line .customer-form-grid label{font-size:8px}.sales-dialog .purchase-line .customer-form-grid input,.sales-dialog .purchase-line .customer-form-grid select{min-height:29px!important}.sales-notes{display:block;margin-top:10px}.sales-notes textarea{display:block;width:100%;margin-top:5px}.return-item-list{display:grid;gap:7px;max-height:310px;overflow:auto;margin-top:12px}.return-item{display:grid;grid-template-columns:minmax(0,1fr) 100px 100px;gap:10px;align-items:center;border:1px solid var(--line);border-radius:7px;padding:9px 10px}.return-item>b,.return-item div>b{font-size:10px}.return-item small{display:block;font-size:8px;color:var(--muted);margin-top:3px}.return-item>input{height:30px;width:100%;padding:0 7px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--text)}.restock-check{display:flex;gap:5px;align-items:center;font-size:8px;color:var(--muted)}.restock-check input{width:13px;height:13px}.return-help{font-size:9px;line-height:1.55;color:var(--muted);margin:9px 0 0}.sale-detail-total{display:flex;justify-content:space-between;align-items:center;margin-top:14px;padding-top:12px;border-top:1px solid var(--line);font-size:10px;color:var(--muted)}.sale-detail-total button{height:29px;font-size:9px}@media(max-width:950px){.sales-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.sales-module .customer-page-heading{align-items:flex-start}.sales-summary{grid-template-columns:1fr 1fr}.sales-tabs{gap:12px;overflow:auto}.sales-tabs button{white-space:nowrap}.return-item{grid-template-columns:minmax(0,1fr) 80px}.restock-check{grid-column:1/-1}}.inventory-tabs{display:flex;align-items:center;flex-wrap:nowrap;gap:17px;overflow-x:auto;border-bottom:1px solid var(--line)}.inventory-tabs button{display:flex;align-items:center;gap:7px;flex:none;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:var(--muted);padding:0 2px 9px;font-size:10px;font-weight:600;white-space:nowrap}.inventory-tabs button.active{border-bottom-color:var(--accent);color:var(--accent)}.inventory-tabs button:hover{color:var(--accent)}.inventory-tabs button span{font-size:8px;color:var(--muted);background:var(--surface2);border-radius:10px;padding:2px 6px}.nav-item>span{display:grid;place-items:center;width:18px;height:18px;border-radius:5px;background:var(--surface2);font-size:9px;font-weight:700;line-height:1}.nav-item.selected>span{background:#dfe6ff;color:#3f5fdd}.lock-action{font-size:9px;font-weight:600}.content{padding-top:30px}.customer-page-heading h1,.welcome-row h1{font-size:23px;letter-spacing:-.4px}.metric-card{transition:transform .16s ease,box-shadow .16s ease}.metric-card:hover{transform:translateY(-2px);box-shadow:0 10px 24px #25385f0d}.primary,.secondary-button,.theme-button,.quick-link{transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease}.quick-panel{min-height:218px}.quick-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.quick-link{display:flex;align-items:center;justify-content:space-between;min-height:40px;padding:0 11px;border:1px solid var(--line);border-radius:7px;background:var(--surface2);color:var(--text);font-size:10px;text-align:start}.quick-link b{color:var(--accent);font-size:9px;font-weight:600}.quick-link:hover{border-color:#b9c7ff;background:var(--accent-soft)}.calendar-note{display:block;margin-top:3px;color:var(--muted);font-size:8px;text-align:right}.language-toggle{min-width:60px;border-color:#d6def9;color:var(--accent);font-weight:700}.app-shell:is([data-language=fa],[data-language=ps]){font-family:Tahoma,Segoe UI,Arial,sans-serif;letter-spacing:0}.app-shell:is([data-language=fa],[data-language=ps]) .eyebrow,.app-shell:is([data-language=fa],[data-language=ps]) .nav-caption{letter-spacing:0;font-size:10px}.app-shell:is([data-language=fa],[data-language=ps]) .sidebar{left:auto;right:0}.app-shell:is([data-language=fa],[data-language=ps]) .main-area{margin-left:0;margin-right:248px}.app-shell:is([data-language=fa],[data-language=ps]) .nav-item{text-align:right}.app-shell:is([data-language=fa],[data-language=ps]) .nav-item i{margin-left:0;margin-right:auto}.app-shell:is([data-language=fa],[data-language=ps]) .side-brand{flex-direction:row}.app-shell:is([data-language=fa],[data-language=ps]) .profile{flex-direction:row}.app-shell:is([data-language=fa],[data-language=ps]) .topbar,.app-shell:is([data-language=fa],[data-language=ps]) .content{direction:rtl}.app-shell:is([data-language=fa],[data-language=ps]) .crumb{text-align:right}.app-shell:is([data-language=fa],[data-language=ps]) .today{text-align:right}.app-shell:is([data-language=fa],[data-language=ps]) .calendar-note{text-align:right}.app-shell:is([data-language=fa],[data-language=ps]) .customer-page-heading,.app-shell:is([data-language=fa],[data-language=ps]) .welcome-row,.app-shell:is([data-language=fa],[data-language=ps]) .section-title,.app-shell:is([data-language=fa],[data-language=ps]) .panel-head{direction:rtl}.app-shell:is([data-language=fa],[data-language=ps]) .customer-toolbar,.app-shell:is([data-language=fa],[data-language=ps]) .customer-table-wrap,.app-shell:is([data-language=fa],[data-language=ps]) .customer-list-footer{direction:rtl}.app-shell:is([data-language=fa],[data-language=ps]) .customer-table th,.app-shell:is([data-language=fa],[data-language=ps]) .customer-table td{text-align:right}.app-shell:is([data-language=fa],[data-language=ps]) .customer-search{direction:rtl}.app-shell:is([data-language=fa],[data-language=ps]) .customer-search input,.app-shell:is([data-language=fa],[data-language=ps]) input:not([type=date]):not([type=number]),.app-shell:is([data-language=fa],[data-language=ps]) textarea{text-align:right}.app-shell:is([data-language=fa],[data-language=ps]) input[type=date],.app-shell:is([data-language=fa],[data-language=ps]) input[type=number]{direction:ltr;text-align:right}.app-shell:is([data-language=fa],[data-language=ps]) select{direction:rtl;text-align:right}.app-shell:is([data-language=fa],[data-language=ps]) .customer-form-grid>label,.app-shell:is([data-language=fa],[data-language=ps]) .setting-label{text-align:right}.app-shell:is([data-language=fa],[data-language=ps]) .customer-form-actions,.app-shell:is([data-language=fa],[data-language=ps]) .sales-row-actions{direction:rtl}.app-shell:is([data-language=fa],[data-language=ps]) .sales-dialog,.app-shell:is([data-language=fa],[data-language=ps]) .procurement-dialog,.app-shell:is([data-language=fa],[data-language=ps]) .settings-dialog{direction:rtl;text-align:right}.app-shell:is([data-language=fa],[data-language=ps]) .customer-editor-heading{direction:rtl}.app-shell:is([data-language=fa],[data-language=ps]) .customer-list-footer>div{direction:rtl}.app-shell:is([data-language=fa],[data-language=ps]) .phase-tag{margin-left:0;margin-right:auto}.app-shell:is([data-language=fa],[data-language=ps]) .metric-head,.app-shell:is([data-language=fa],[data-language=ps]) .system-row,.app-shell:is([data-language=fa],[data-language=ps]) .quick-link,.app-shell:is([data-language=fa],[data-language=ps]) .purchase-total{direction:rtl}.app-shell:is([data-language=fa],[data-language=ps]) .metric-line{left:auto;right:0}.app-shell:is([data-language=fa],[data-language=ps]) .customer-profile-meta{text-align:right}.app-shell:is([data-language=fa],[data-language=ps]) .inventory-tabs,.app-shell:is([data-language=fa],[data-language=ps]) .module-tabs{direction:rtl}.app-shell:is([data-language=fa],[data-language=ps]) .inventory-tabs button,.app-shell:is([data-language=fa],[data-language=ps]) .module-tabs button{white-space:nowrap}.app-shell:is([data-language=fa],[data-language=ps]) .top-actions{direction:rtl}.app-shell:is([data-language=fa],[data-language=ps]) .customer-filter{direction:rtl}.app-shell:is([data-language=fa],[data-language=ps]) footer{direction:rtl}@media(max-width:1050px){.app-shell:is([data-language=fa],[data-language=ps]) .main-area{margin-left:0;margin-right:215px}}@media(max-width:600px){.quick-links{grid-template-columns:1fr}.app-shell:is([data-language=fa],[data-language=ps]) .customer-page-heading{direction:rtl}}.payroll-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:20px 0}.payroll-metrics .metric-card{padding:18px 20px;display:flex;flex-direction:column;gap:7px}.payroll-metrics .metric-card>span,.payroll-metrics .metric-card small{color:var(--muted,#71819a);font-size:13px}.payroll-metrics .metric-card strong{font-size:23px;line-height:1.25}.payroll-controls{display:flex;align-items:end;gap:9px;flex-wrap:wrap}.payroll-controls label{min-width:140px}.payroll-controls input{display:block;margin-top:5px}.payroll-dialog{width:min(660px,calc(100vw - 32px));max-height:90vh;overflow:auto}.payroll-dialog>label{display:block;margin:16px 0}.payroll-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 16px;margin-top:16px}.payroll-form-grid label{display:flex;flex-direction:column;gap:6px}.payroll-form-grid input,.payroll-form-grid select,.payroll-form-grid textarea{width:100%}.payroll-wide{grid-column:1/-1}.payroll-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:18px}.payroll-balance-note{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-radius:10px;background:var(--surface-subtle,#f3f5fa);margin:14px 0}.payroll-balance-note strong{font-size:17px}.payroll-module .customer-table td small{display:block;margin-top:4px}.app-shell:is([data-language=fa],[data-language=ps]) .payroll-module,.app-shell:is([data-language=fa],[data-language=ps]) .payroll-dialog{direction:rtl}.app-shell:is([data-language=fa],[data-language=ps]) .payroll-controls{flex-direction:row-reverse}.app-shell:is([data-language=fa],[data-language=ps]) .payroll-actions{justify-content:flex-start}.app-shell:is([data-language=fa],[data-language=ps]) .payroll-form-grid{text-align:right}@media(max-width:1000px){.payroll-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.payroll-metrics{grid-template-columns:1fr 1fr;gap:8px}.payroll-metrics .metric-card{padding:13px}.payroll-metrics .metric-card strong{font-size:18px}.payroll-form-grid{grid-template-columns:1fr}.payroll-wide{grid-column:auto}.payroll-controls{width:100%}.payroll-controls>*{flex:1}}.finance-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0}.finance-metrics .metric-card{padding:18px 20px;display:flex;flex-direction:column;gap:7px}.finance-metrics .metric-card>span,.finance-metrics .metric-card small{color:var(--muted,#71819a);font-size:13px}.finance-metrics .metric-card strong{font-size:22px;line-height:1.25}.finance-datebar{display:flex;align-items:end;gap:12px;margin:18px 0;flex-wrap:wrap}.finance-datebar label{display:grid;gap:5px;color:var(--muted,#71819a);font-size:12px}.finance-datebar input{min-width:155px}.finance-datebar>span{margin:0 auto 8px 0;color:var(--muted,#71819a);font-size:12px}.finance-filters{display:flex;gap:8px}.finance-filters select{min-width:130px}.finance-dialog{width:min(700px,calc(100vw - 32px));max-height:90vh;overflow:auto}.finance-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 16px;margin-top:14px}.finance-form-grid label{display:flex;flex-direction:column;gap:6px}.finance-form-grid input,.finance-form-grid select{width:100%}.finance-wide{grid-column:1/-1}.finance-preview,.finance-balance-card{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:13px 15px;background:var(--surface-subtle,#f3f5fa);border-radius:10px;margin-top:12px}.finance-preview strong,.finance-balance-card strong{font-size:18px}.finance-rate-note,.finance-policy-note{font-size:12px;line-height:1.6;color:var(--muted,#71819a);margin:12px 0 0}.finance-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:18px}.finance-report-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.8fr);gap:16px;margin-top:16px}.finance-breakdown{padding:20px}.finance-report-row{display:flex;justify-content:space-between;gap:12px;padding:12px 2px;border-bottom:1px solid var(--line,#e4e9f1);font-size:14px}.finance-report-row b{white-space:nowrap}.finance-report-row.sub-row{color:var(--muted,#71819a);font-size:13px}.finance-report-row.total-row{font-weight:700}.finance-report-row.net-row{font-size:17px;font-weight:750;border-bottom:0;padding-top:16px}.finance-balance-card{margin:16px 0;display:grid;grid-template-columns:1fr auto}.finance-balance-card small{grid-column:1/-1;color:var(--muted,#71819a)}.finance-negative strong{color:#c2413b}.app-shell:is([data-language=fa],[data-language=ps]) .finance-module,.app-shell:is([data-language=fa],[data-language=ps]) .finance-dialog{direction:rtl}.app-shell:is([data-language=fa],[data-language=ps]) .finance-datebar>span{margin:0 0 8px auto}.app-shell:is([data-language=fa],[data-language=ps]) .finance-actions{justify-content:flex-start}.app-shell:is([data-language=fa],[data-language=ps]) .finance-report-row{direction:rtl}@media(max-width:1000px){.finance-report-grid{grid-template-columns:1fr}}@media(max-width:650px){.finance-metrics{grid-template-columns:1fr 1fr;gap:8px}.finance-metrics .metric-card{padding:12px}.finance-metrics .metric-card strong{font-size:17px}.finance-form-grid{grid-template-columns:1fr}.finance-wide{grid-column:auto}.finance-filters{width:100%}.finance-filters select{flex:1;min-width:0}.finance-datebar input{min-width:0;width:100%}}.report-overview-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-chart-panel{margin:16px 0 20px;padding:18px 20px}.dashboard-chart-panel .panel-head,.reports-module .customer-page-heading{align-items:center}.report-actions{display:flex;gap:8px;flex-wrap:wrap}.report-filterbar{display:flex;align-items:end;gap:12px;padding:14px 16px;background:var(--surface,#fff);border:1px solid var(--line,#e4e9f1);border-radius:12px;margin:18px 0}.report-filterbar label{display:grid;gap:5px;color:var(--muted,#71819a);font-size:12px}.report-filterbar input{min-width:155px}.report-date-label{margin:0 0 8px auto;color:var(--muted,#71819a);font-size:12px}.report-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:15px 0}.report-kpis .metric-card{padding:17px 18px;display:flex;flex-direction:column;gap:6px}.report-kpis .metric-card>span,.report-kpis .metric-card small{font-size:12px;color:var(--muted,#71819a)}.report-kpis .metric-card strong{font-size:21px}.report-count-kpis .metric-card{padding:12px 16px}.report-count-kpis .metric-card strong{font-size:18px}.report-panel{padding:18px 20px;min-width:0}.report-panel .panel-head{margin-bottom:10px}.report-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin:15px 0}.report-line{display:flex;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid var(--line,#e4e9f1);font-size:13px}.report-line b{white-space:nowrap}.report-line.muted-line{color:var(--muted,#71819a)}.report-line.emph-line{font-weight:700}.report-line.net-line{font-weight:750;font-size:16px;border-bottom:0;padding-top:14px}.report-balance{display:flex;justify-content:space-between;align-items:start;gap:12px;padding:14px 0;border-bottom:1px solid var(--line,#e4e9f1);font-size:13px}.report-balance strong{text-align:right}.report-note{font-size:12px;line-height:1.6;color:var(--muted,#71819a);margin-top:15px}.category-row{display:grid;grid-template-columns:1fr auto;gap:6px;padding:8px 0;font-size:13px}.category-track{grid-column:1/-1;height:6px;border-radius:8px;background:var(--surface-subtle,#eef1f7);overflow:hidden}.category-track i{display:block;height:100%;border-radius:inherit;background:var(--accent,#5068e8)}.trend-chart-wrap{padding:5px 0 0}.chart-legend{display:flex;gap:16px;font-size:12px;color:var(--muted,#71819a);margin-bottom:10px}.chart-legend span{display:flex;align-items:center;gap:6px}.chart-legend i{width:9px;height:9px;border-radius:3px;display:inline-block}.legend-revenue,.revenue-bar{background:#5470e6}.legend-expense,.expense-bar{background:#24a47b}.trend-chart{height:175px;display:grid;grid-template-columns:repeat(auto-fit,minmax(38px,1fr));gap:7px;align-items:end;border-bottom:1px solid var(--line,#e4e9f1);padding:0 4px}.trend-month{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:end;gap:7px;min-width:0}.trend-bars{height:calc(100% - 22px);width:100%;display:flex;align-items:end;justify-content:center;gap:3px;border-bottom:1px solid #eef1f6}.trend-bar{display:block;width:min(12px,34%);min-height:2px;border-radius:4px 4px 0 0}.trend-month small{font-size:10px;color:var(--muted,#71819a);padding-bottom:4px}.chart-empty,.report-loading{padding:25px;text-align:center;color:var(--muted,#71819a)}.report-print-heading{display:none}.app-shell:is([data-language=fa],[data-language=ps]) .reports-module,.app-shell:is([data-language=fa],[data-language=ps]) .report-filterbar{direction:rtl}.app-shell:is([data-language=fa],[data-language=ps]) .report-date-label{margin:0 0 8px}.app-shell:is([data-language=fa],[data-language=ps]) .report-line,.app-shell:is([data-language=fa],[data-language=ps]) .report-balance{direction:rtl}.app-shell:is([data-language=fa],[data-language=ps]) .report-actions{flex-direction:row-reverse}@media(max-width:1050px){.report-overview-metrics,.report-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:680px){.report-detail-grid{grid-template-columns:1fr}.report-filterbar{align-items:stretch;flex-wrap:wrap}.report-filterbar label{flex:1;min-width:130px}.report-filterbar input{min-width:0;width:100%}.report-actions{width:100%}.report-actions button{flex:1}.report-kpis .metric-card{padding:12px}.report-kpis .metric-card strong{font-size:17px}.trend-chart{gap:3px}}@media print{body{background:#fff!important;color:#111!important}.sidebar,.topbar,.report-actions,.report-filterbar,.report-module .customer-page-heading,.reports-module .customer-page-heading,.report-module button,.reports-module button,.nav-caption,.customer-toolbar,.customer-list-footer{display:none!important}.main-area{margin:0!important;width:100%!important}.content{padding:0!important;max-width:none!important}.report-print-heading{display:flex;justify-content:space-between;border-bottom:1px solid #aaa;padding:0 0 10px;margin-bottom:14px}.reports-module .panel,.reports-module .metric-card{box-shadow:none!important;border:1px solid #ddd!important;break-inside:avoid}.report-detail-grid{gap:8px}.report-panel{padding:12px}.trend-chart{height:130px}.report-kpis{gap:8px;margin:8px 0}.report-kpis .metric-card strong{font-size:16px}.report-note,.report-line{color:#222!important}}.company-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.8fr);gap:16px;margin-top:16px}.company-form,.company-series-panel{padding:20px}.company-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px}.company-form-grid label{display:flex;flex-direction:column;gap:6px}.company-form-grid input,.company-form-grid textarea{width:100%}.company-wide{grid-column:1/-1}.company-form-actions{display:flex;justify-content:flex-end;margin-top:18px}.number-series-list{max-height:560px;overflow:auto}.number-series-row{display:flex;justify-content:space-between;gap:12px;padding:11px 1px;border-bottom:1px solid var(--line,#e4e9f1);font-size:13px}.number-series-row b{font-variant-numeric:tabular-nums;color:var(--accent,#5068e8)}.numbering-note{font-size:12px;line-height:1.6;color:var(--muted,#71819a);margin-top:14px}.documents-toolbar{display:flex;gap:10px;align-items:center;margin:16px 0}.documents-toolbar .customer-search{flex:1}.documents-toolbar>select{min-width:150px}.documents-toolbar>span{font-size:12px;color:var(--muted,#71819a);white-space:nowrap}.print-preview-backdrop{align-items:flex-start;overflow:auto;padding:24px}.document-preview{width:min(850px,100%);margin:0 auto}.document-preview-toolbar{display:flex;justify-content:flex-end;gap:8px;margin-bottom:12px}.document-print-sheet{background:#fff;color:#1b2433;width:210mm;min-height:297mm;margin:auto;padding:15mm 16mm;box-shadow:0 10px 40px #141e322e;font-family:Arial,Segoe UI,sans-serif;font-size:12px;line-height:1.45}.doc-company-header{display:flex;align-items:center;gap:15px;padding-bottom:16px;border-bottom:2px solid #263858}.doc-company-mark{width:54px;height:54px;border-radius:13px;background:#405be8;color:#fff;display:grid;place-items:center;font-size:15px;font-weight:800;flex:none}.doc-company-details h1{font-size:22px;margin:0 0 4px}.doc-company-details span,.doc-company-details div,.doc-company-details small{display:block;color:#596579;margin-top:2px}.doc-title-row{display:flex;justify-content:space-between;align-items:flex-start;margin:23px 0 18px}.doc-title-row h2{margin:3px 0 0;font-size:20px}.doc-type-label,.doc-number small{color:#71819a;font-size:10px;text-transform:uppercase;letter-spacing:.05em}.doc-number{display:grid;justify-items:end;gap:3px}.doc-number b{font-size:16px;font-variant-numeric:tabular-nums}.doc-party{display:grid;gap:3px;margin-bottom:18px}.doc-party small{color:#71819a;text-transform:uppercase;font-size:10px}.doc-party b{font-size:14px}.doc-party span{color:#596579}.doc-items-table table{width:100%;border-collapse:collapse}.doc-items-table th{background:#f1f4f9;text-align:left;font-size:10px;text-transform:uppercase;color:#526078}.doc-items-table th,.doc-items-table td{padding:9px 8px;border-bottom:1px solid #dfe4ec}.doc-items-table td:nth-child(n+3),.doc-items-table th:nth-child(n+3){text-align:right}.doc-items-table td small{display:block;color:#71819a}.doc-receipt-amount{display:flex;justify-content:space-between;padding:17px;background:#f2f5fa;border-radius:8px}.doc-receipt-amount strong{font-size:18px}.doc-bottom-row{display:grid;grid-template-columns:1fr minmax(210px,.55fr);gap:20px;margin-top:18px}.doc-notes{color:#526078;white-space:pre-wrap}.doc-notes small{display:block;font-weight:700;color:#263858}.doc-totals>div{display:flex;justify-content:space-between;padding:7px 0;border-bottom:1px solid #e0e5ed}.doc-totals .doc-grand-total{font-size:15px;font-weight:800;border-bottom:2px solid #263858}.doc-signatures{display:grid;grid-template-columns:1fr 1fr;gap:60px;margin:48px 5px 24px}.doc-signatures div{display:grid;gap:30px}.doc-signatures span{font-size:10px;color:#596579}.doc-signatures i{border-top:1px solid #9aa5b7}.doc-footer{border-top:1px solid #dfe4ec;padding-top:10px;text-align:center;color:#596579;font-size:11px}.doc-footer small{display:block;margin-top:4px;color:#8a95a6}.app-shell:is([data-language=fa],[data-language=ps]) .documents-module,.app-shell:is([data-language=fa],[data-language=ps]) .company-form,.app-shell:is([data-language=fa],[data-language=ps]) .company-series-panel{direction:rtl}.app-shell:is([data-language=fa],[data-language=ps]) .company-form-actions{justify-content:flex-start}.app-shell:is([data-language=fa],[data-language=ps]) .number-series-row{direction:rtl}.app-shell:is([data-language=fa],[data-language=ps]) .doc-company-details,.app-shell:is([data-language=fa],[data-language=ps]) .doc-party{text-align:right}@media(max-width:900px){.company-layout{grid-template-columns:1fr}}@media(max-width:650px){.company-form-grid{grid-template-columns:1fr}.company-wide{grid-column:auto}.documents-toolbar{flex-wrap:wrap}.documents-toolbar>select{flex:1}.print-preview-backdrop{padding:10px}.document-print-sheet{width:100%;min-height:0;padding:22px 18px}.doc-bottom-row{grid-template-columns:1fr}.doc-title-row{gap:10px}.doc-company-details h1{font-size:18px}}@page{size:A4;margin:0}@media print{html,body,#root,.app-shell,.main-area,.content{width:100%!important;min-height:0!important;margin:0!important;padding:0!important;background:#fff!important;overflow:visible!important}.sidebar,.topbar,.documents-module>.customer-page-heading,.documents-module>.module-tabs,.documents-module>.customer-notice,.documents-module>.error-box,.documents-module>.company-layout,.documents-module>.documents-toolbar,.documents-module>.customer-list-panel,.document-preview-toolbar{display:none!important}.print-preview-backdrop{display:block!important;position:static!important;inset:auto!important;padding:0!important;margin:0!important;background:#fff!important;overflow:visible!important}.document-preview{display:block!important;width:100%!important;margin:0!important}.document-print-sheet{display:block!important;visibility:visible!important;width:210mm!important;height:297mm!important;min-height:297mm!important;margin:0!important;padding:13mm 14mm!important;box-shadow:none!important;overflow:hidden!important;page-break-after:always!important}.document-print-sheet *{visibility:visible!important}.doc-company-header,.doc-items-table th{print-color-adjust:exact;-webkit-print-color-adjust:exact}.doc-footer{position:absolute;bottom:14mm;left:14mm;right:14mm}.doc-signatures{margin-top:38px}}@media print{.document-print-sheet{display:flex!important;flex-direction:column;height:auto!important;min-height:297mm!important;overflow:visible!important;page-break-after:auto!important}.doc-footer{position:static!important;margin-top:auto!important}}@media screen{.app-shell{font-size:12px}.app-shell .sidebar{width:224px;padding:18px 12px 12px}.app-shell .side-brand{padding-bottom:22px}.app-shell .main-area{margin-left:224px;width:calc(100% - 224px)}.app-shell.sidebar-collapsed .sidebar{width:68px}.app-shell.sidebar-collapsed .main-area{margin-left:68px;width:calc(100% - 68px)}.app-shell .topbar{min-height:56px;padding:7px 18px;gap:10px}.app-shell .content{padding:20px 24px}.app-shell .content h1{font-size:21px;line-height:1.25}.app-shell .content h2{font-size:16px;line-height:1.3}.app-shell .content h3{font-size:13px;line-height:1.35}.app-shell .content p{line-height:1.5}.app-shell .content .panel,.app-shell .content .customer-panel,.app-shell .content .customer-list-panel{padding:12px;border-radius:11px}.app-shell .content button:not(.nav-item),.app-shell .topbar button{min-height:31px;border-radius:8px;font-size:10px}.app-shell .content input:not([type=checkbox]):not([type=radio]),.app-shell .content select{min-height:33px;padding:6px 9px;font-size:11px}.app-shell .content textarea{min-height:72px;padding:8px 9px;font-size:11px}.app-shell .content th{font-size:9px;letter-spacing:.025em}.app-shell .content td{font-size:11px}.app-shell .content .metric-grid,.app-shell .content .report-kpis{gap:9px}.app-shell .content .metric-card{padding:12px;border-radius:11px}.app-shell .content .metric-card strong{font-size:19px}.app-shell .content .metric-head{font-size:9px}}@media screen and (max-width:760px){.app-shell .sidebar{width:min(82vw,270px);padding:16px 12px 12px}.app-shell .main-area,.app-shell.sidebar-collapsed .main-area{width:100%;margin-left:0}.app-shell .topbar{min-height:52px;padding:6px 10px;gap:7px}.app-shell .content{padding:14px 12px 18px}.app-shell .content h1{font-size:19px}.app-shell .content h2{font-size:15px}.app-shell .content .panel,.app-shell .content .customer-panel,.app-shell .content .customer-list-panel{padding:10px;border-radius:10px}.app-shell .content button:not(.nav-item){min-height:36px;font-size:11px}.app-shell .content input:not([type=checkbox]):not([type=radio]),.app-shell .content select{min-height:38px;font-size:14px}.app-shell .content textarea{font-size:14px}.app-shell .content .metric-card strong{font-size:17px}}@media screen and (max-width:380px){.app-shell .content{padding-inline:9px}.app-shell .top-actions{gap:4px}.app-shell .content .metric-grid,.app-shell .content .report-kpis{grid-template-columns:minmax(0,1fr)}}@media screen and (max-width:760px){html,body,#root{width:100%!important;min-width:0!important;max-width:100%!important;overflow-x:hidden!important}.app-shell{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;overflow-x:clip}.app-shell>.sidebar{position:fixed!important;inset:0 auto 0 0!important;width:min(82vw,300px)!important;max-width:300px!important;height:100dvh;padding:16px 12px 12px!important;transform:translate(-110%)!important;visibility:hidden;transition:transform .18s ease,visibility .18s ease;z-index:21!important}.app-shell.mobile-nav-open>.sidebar{transform:translate(0)!important;visibility:visible}.app-shell:is([data-language=fa],[data-language=ps])>.sidebar{inset:0 0 0 auto!important;transform:translate(110%)!important;border-right:0!important;border-left:1px solid var(--line)!important}.app-shell:is([data-language=fa],[data-language=ps]).mobile-nav-open>.sidebar{transform:translate(0)!important}.app-shell>.mobile-nav-backdrop{position:fixed;inset:0;display:block;background:#020610a8;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:20!important}.app-shell>.main-area,.app-shell:is([data-language=fa],[data-language=ps])>.main-area{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important}.app-shell .topbar{position:sticky;top:0;z-index:10;width:100%;min-width:0;padding:8px 10px;gap:8px}.app-shell .topbar-leading{flex:1 1 100%;width:100%;min-width:0}.app-shell .top-actions{flex:1 1 100%;width:100%;min-width:0;justify-content:flex-start;flex-wrap:wrap}.app-shell .global-search{flex:1 1 100%;width:100%;min-width:0}.app-shell .content{display:block;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:14px 12px 20px!important;overflow-x:clip}.app-shell .content>*{min-width:0;max-width:100%}.app-shell .sales-module,.app-shell .finance-module,.app-shell .payroll-module,.app-shell .reports-module,.app-shell .inventory-module,.app-shell .purchase-module{width:100%;min-width:0;max-width:100%}.app-shell .sales-module .customer-page-heading{align-items:flex-start;flex-wrap:wrap;gap:9px}.app-shell .sales-module .customer-page-heading>div{min-width:0;max-width:100%}.app-shell .sales-module .customer-page-heading h1{font-size:20px}.app-shell .sales-module .sales-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.app-shell .sales-module .customer-table-wrap,.app-shell .content .customer-table-wrap{width:100%;min-width:0;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}.app-shell .sales-module .sales-table{min-width:760px}.app-shell .module-tabs,.app-shell .inventory-tabs{min-width:0;max-width:100%;overflow-x:auto}.app-shell .overview-kpis,.app-shell .metric-grid,.app-shell .finance-metrics,.app-shell .lower-grid,.app-shell .overview-main-grid{min-width:0}}@media screen and (max-width:380px){.app-shell .content{padding-inline:9px!important}.app-shell .sales-module .sales-summary{grid-template-columns:minmax(0,1fr)}.app-shell .top-actions>.theme-button{flex:1 1 auto}}@media screen and (min-width:761px)and (max-width:1050px){.app-shell>.sidebar{width:68px}.app-shell>.main-area{width:calc(100% - 68px);margin-left:68px}.app-shell:is([data-language=fa],[data-language=ps])>.sidebar{inset:0 0 0 auto}.app-shell:is([data-language=fa],[data-language=ps])>.main-area{width:calc(100% - 68px);margin-right:68px;margin-left:0}.app-shell .content{padding:18px 18px 20px}.app-shell .overview-kpis,.app-shell .metric-grid,.app-shell .finance-metrics,.app-shell .report-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell .topbar{padding-inline:14px}.app-shell .top-actions{gap:5px;flex-wrap:wrap;justify-content:flex-end}}@media screen and (max-width:760px)and (pointer:fine){.app-shell{display:flex!important;overflow-x:hidden!important}.app-shell>.sidebar{position:fixed!important;inset:0 auto 0 0!important;width:68px!important;height:100dvh!important;transform:none!important;visibility:visible!important;padding:16px 7px 10px!important;z-index:12!important}.app-shell.mobile-nav-open>.sidebar{width:min(82vw,300px)!important;padding:16px 12px 12px!important}.app-shell:not(.mobile-nav-open)>.sidebar .side-brand>div:last-child,.app-shell:not(.mobile-nav-open)>.sidebar .nav-caption,.app-shell:not(.mobile-nav-open)>.sidebar .profile-name,.app-shell:not(.mobile-nav-open)>.sidebar .offline{display:none!important}.app-shell:not(.mobile-nav-open)>.sidebar .side-brand,.app-shell:not(.mobile-nav-open)>.sidebar .profile{justify-content:center;padding-inline:0}.app-shell:not(.mobile-nav-open)>.sidebar .nav-item{justify-content:center;gap:0;padding-inline:0;font-size:0}.app-shell:not(.mobile-nav-open)>.sidebar .nav-item>span{flex:none}.app-shell>.mobile-nav-backdrop{display:none!important}.app-shell.mobile-nav-open>.mobile-nav-backdrop{display:block!important}.app-shell>.main-area{display:block!important;width:calc(100% - 68px)!important;min-width:0!important;margin-left:68px!important}.app-shell:is([data-language=fa],[data-language=ps])>.sidebar{inset:0 0 0 auto!important}.app-shell:is([data-language=fa],[data-language=ps])>.main-area{width:calc(100% - 68px)!important;margin-right:68px!important;margin-left:0!important}.app-shell .content{width:100%!important;max-width:100%!important;padding:14px 12px 20px!important}.app-shell .sales-module .sales-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media screen and (min-width:761px){.app-shell.sidebar-collapsed .sidebar .nav-item{justify-content:center;gap:0;padding-inline:0;overflow:hidden;font-size:0!important;white-space:nowrap}.app-shell.sidebar-collapsed .sidebar .nav-item>span{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;font-size:15px}}@media screen and (max-width:760px)and (pointer:fine){.app-shell:not(.mobile-nav-open).sidebar-collapsed .sidebar .nav-item{justify-content:center;gap:0;padding-inline:0;overflow:hidden;font-size:0!important;white-space:nowrap}.app-shell:not(.mobile-nav-open).sidebar-collapsed .sidebar .nav-item>span{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;font-size:15px}}.app-shell:is([data-language=fa],[data-language=ps]) .document-print-sheet{direction:rtl;font-family:Tahoma,Segoe UI,Arial,sans-serif}.app-shell:is([data-language=fa],[data-language=ps]) .doc-items-table th{text-align:right}.app-shell:is([data-language=fa],[data-language=ps]) .doc-items-table td:nth-child(n+3),.app-shell:is([data-language=fa],[data-language=ps]) .doc-items-table th:nth-child(n+3){text-align:left}.security-module .security-backup-panel,.security-module .security-activity-panel{margin:16px 0}.security-module .panel-head>button{flex:none}.security-selected-row{background:#5068e80b}.backup-choice{display:flex;align-items:center;gap:9px;cursor:pointer;font-weight:650}.backup-choice input{accent-color:var(--accent,#5068e8)}.security-restore-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 16px;border-top:1px solid var(--line,#e4e9f1);font-size:12px;color:var(--muted,#71819a)}.audit-status{display:inline-flex;padding:4px 9px;border-radius:20px;background:#e9f7f0;color:#12835b;font-size:11px;font-weight:700}.audit-status.error{background:#fff0ed;color:#c4473e}.security-recovery-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.security-recovery-grid .panel{padding:20px}.security-recovery-grid p{color:var(--muted,#71819a);font-size:13px;line-height:1.6}.security-command{display:block;background:#f2f4f8;border:1px solid var(--line,#e4e9f1);border-radius:8px;padding:11px 13px;color:#263858;overflow-wrap:anywhere;font-size:13px}.app-shell:is([data-language=fa],[data-language=ps]) .security-module{direction:rtl}.app-shell:is([data-language=fa],[data-language=ps]) .security-restore-row{direction:rtl}@media(max-width:850px){.security-recovery-grid{grid-template-columns:1fr}.security-restore-row{align-items:flex-start;flex-direction:column}}.integrity-module .customer-page-heading{align-items:center}.integrity-intro{margin:16px 0;padding:28px;text-align:center}.integrity-intro h3{margin:12px 0 5px}.integrity-intro p{max-width:670px;margin:0 auto;color:var(--muted,#71819a);font-size:13px;line-height:1.6}.integrity-intro .empty-state-icon{display:grid;place-items:center;margin:auto;width:44px;height:44px;border-radius:14px;background:#e9f7f0;color:#16875b;font-size:24px;font-weight:800}.integrity-summary{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:16px 0;padding:17px 20px;border:1px solid #cbe9da;border-radius:12px;background:#f0faf5;color:#17734f}.integrity-summary.has-issues{border-color:#f0d6ae;background:#fff8ec;color:#a96510}.integrity-summary>div{display:grid;gap:4px}.integrity-summary strong{font-size:16px}.integrity-summary span,.integrity-summary small{font-size:12px;opacity:.85}.integrity-results{padding:18px 20px}.integrity-check-list{display:grid}.integrity-check{padding:13px 0;border-top:1px solid var(--line,#e4e9f1)}.integrity-check-heading{display:flex;align-items:center;gap:11px}.integrity-check-heading>div{display:grid;gap:2px;flex:1}.integrity-check-heading>div b{font-size:13px}.integrity-check-heading small{font-size:11px;color:var(--muted,#71819a)}.integrity-check-heading>strong{font-size:12px;color:#16875b}.integrity-check.issue .integrity-check-heading>strong{color:#ba7410}.integrity-indicator{width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:#e8f7ef;color:#16875b;font-size:13px;font-weight:800}.integrity-check.issue .integrity-indicator{background:#fff2d9;color:#af6b0c}.integrity-records{display:flex;gap:6px;flex-wrap:wrap;padding:9px 0 0 35px}.integrity-records span{padding:4px 8px;border-radius:6px;background:var(--surface-subtle,#f2f4f8);font-size:11px;color:var(--muted,#71819a)}.app-shell:is([data-language=fa],[data-language=ps]) .integrity-module{direction:rtl}.app-shell:is([data-language=fa],[data-language=ps]) .integrity-records{padding:9px 35px 0 0}.app-shell:is([data-language=fa],[data-language=ps]) .integrity-summary{direction:rtl}@media(max-width:650px){.integrity-summary{align-items:flex-start;flex-direction:column}.integrity-results{padding:14px}}.sidebar{width:256px;padding:24px 15px 14px;box-shadow:4px 0 20px #1d2b4606}.side-brand{padding-bottom:30px}.nav-item{height:42px;border-radius:10px;transition:background-color .12s ease,color .12s ease}.nav-item:focus-visible,.theme-button:focus-visible,button:focus-visible{outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:var(--focus-ring-offset)}.main-area{margin-left:256px;width:calc(100% - 256px)}.topbar{height:72px;padding:0 34px}.content{max-width:1360px;padding:34px 36px 28px}.welcome-row{margin-bottom:27px}.welcome-row h1,.customer-page-heading h1,.customer-profile-title h1{letter-spacing:-.8px}.metric-card,.panel,.customer-list-panel,.customer-panel{border-radius:13px;box-shadow:0 2px 10px #1b2a4709}.metric-card{padding:17px 18px 14px}.metric-card>strong{font-variant-numeric:tabular-nums;letter-spacing:-.6px}.panel{padding:19px 20px}.customer-toolbar,.report-filterbar{background:var(--surface)}.primary,.secondary-button,.theme-button{transition:transform .12s ease,box-shadow .12s ease,border-color .12s ease}.primary:hover,.secondary-button:hover,.theme-button:hover{box-shadow:0 4px 12px #2334561a}.primary:active,.secondary-button:active,.theme-button:active{transform:translateY(1px)}@media(max-width:1050px){.sidebar{width:220px}.main-area{margin-left:220px;width:calc(100% - 220px)}.content{padding:28px 24px}.topbar{padding:0 24px}}@media(max-width:820px){.sidebar{width:198px;padding-left:11px;padding-right:11px}.main-area{margin-left:198px;width:calc(100% - 198px)}.topbar{padding:0 17px}.content{padding:24px 17px}.today{display:none}.top-actions{gap:7px}}.sidebar-nav{flex:1;min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--line) transparent}.global-search{position:relative;display:flex;align-items:center;gap:7px;width:210px;height:35px;padding:0 10px;border:1px solid var(--line);border-radius:8px;background:var(--surface2);color:var(--muted)}.global-search>span{font-size:18px}.global-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--text);font-size:11px}.global-search-results{position:absolute;z-index:8;top:42px;right:0;width:330px;max-height:420px;overflow:auto;padding:6px;border:1px solid var(--line);border-radius:10px;background:var(--surface);box-shadow:0 14px 38px #11182722}.global-search-results button{display:grid;width:100%;gap:3px;padding:9px;border:0;border-radius:7px;background:transparent;color:var(--text);text-align:left}.global-search-results button:hover{background:var(--surface2)}.global-search-results button small,.global-search-results button span{color:var(--muted);font-size:10px}.global-search-results button b{font-size:12px}.global-search-results p{margin:8px;color:var(--muted);font-size:11px}.report-catalog-panel{margin:16px 0;padding:18px}.report-catalog-panel .report-filterbar{margin:10px 0;padding:12px 0 0;border:0;border-radius:0;background:transparent}.report-catalog-panel .report-filterbar select,.report-catalog-panel .report-filterbar input{min-height:34px;padding:0 8px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--text)}@media(max-width:1050px){.global-search{width:160px}.today{display:none}}@media(max-width:820px){.global-search{width:145px}.top-actions{gap:6px}}.primary:hover{background:var(--color-primary-hover)}body{min-width:0}.app-shell{--shell-sidebar-width:var(--layout-sidebar-width);min-width:0;overflow-x:clip}.app-shell.sidebar-collapsed{--shell-sidebar-width:var(--layout-sidebar-collapsed-width)}.sidebar{width:var(--shell-sidebar-width);padding:var(--space-6) var(--space-3) var(--space-3);transition:width var(--transition-normal);overflow:hidden}.side-brand{min-width:0;gap:var(--space-3);padding:0 var(--space-2) var(--space-6);white-space:nowrap}.side-brand>div:last-child{min-width:0;overflow:hidden}.side-brand strong{color:var(--text);font-size:var(--font-size-sm);font-weight:var(--font-weight-bold);letter-spacing:0}.side-brand span{font-size:var(--font-size-2xs);letter-spacing:.12em}.sidebar-nav{display:flex;flex-direction:column;gap:var(--space-3)}.nav-group{display:grid;gap:2px}.nav-caption{padding:var(--space-2) var(--space-3) var(--space-1);color:var(--muted);font-size:var(--font-size-2xs);letter-spacing:.1em;text-transform:uppercase}.nav-item{position:relative;width:100%;min-width:0;height:40px;margin:0;padding:0 var(--space-3);gap:var(--space-3);border-radius:var(--radius-md);color:var(--text-secondary);font-size:var(--font-size-sm);font-weight:var(--font-weight-medium);white-space:nowrap;transition:background-color var(--transition-fast),color var(--transition-fast),box-shadow var(--transition-fast)}.nav-item>span{flex:0 0 18px;color:var(--text-muted);font-size:var(--font-size-md)}.nav-item:not(.selected):hover{background:var(--surface2);color:var(--text)}.nav-item.selected{background:color-mix(in srgb,var(--color-primary) 15%,var(--surface));color:var(--color-primary);box-shadow:inset 3px 0 0 var(--color-primary)}.nav-item.selected>span{color:var(--color-primary)}.nav-item:focus-visible,.theme-button:focus-visible,.sidebar-toggle:focus-visible,.icon-button:focus-visible,button:focus-visible,input:focus-visible{outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:var(--focus-ring-offset)}.sidebar-bottom{min-width:0}.offline{overflow:hidden;color:var(--text-muted);font-size:var(--font-size-2xs);letter-spacing:.04em;white-space:nowrap}.offline>span{display:inline-block;width:7px;height:7px;margin-right:6px;border-radius:50%;background:var(--color-success)}.profile{min-width:0;gap:var(--space-2)}.avatar{flex:0 0 32px;background:color-mix(in srgb,var(--color-primary) 18%,var(--surface));color:var(--color-primary)}.profile-name b{overflow:hidden;color:var(--text);text-overflow:ellipsis;white-space:nowrap}.icon-button{flex:none;border-radius:var(--radius-sm);padding:var(--space-1);font-size:var(--font-size-xs)}.main-area{min-width:0;width:calc(100% - var(--shell-sidebar-width));margin-left:var(--shell-sidebar-width);transition:width var(--transition-normal),margin-left var(--transition-normal)}.topbar{position:sticky;top:0;z-index:1;min-width:0;min-height:var(--layout-topbar-height);height:auto;padding:var(--space-3) var(--layout-content-gutter);gap:var(--space-4)}.topbar-leading{display:flex;align-items:center;gap:var(--space-4);min-width:0}.crumb{min-width:0;color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.crumb b{color:var(--text)}.sidebar-toggle{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);color:var(--text-secondary);font-size:var(--font-size-md);transition:background-color var(--transition-fast),color var(--transition-fast),border-color var(--transition-fast)}.sidebar-toggle:hover{border-color:var(--color-primary);background:var(--surface2);color:var(--text)}.top-actions{min-width:0;gap:var(--space-2)}.today{white-space:nowrap;color:var(--text-secondary)}.theme-button{flex:none;height:36px;padding:0 var(--space-3);border-radius:var(--radius-md);color:var(--text-secondary);font-size:var(--font-size-xs)}.theme-button:hover{border-color:var(--color-primary);color:var(--text)}.content{width:100%;min-width:0;max-width:var(--layout-content-max-width);padding:var(--space-8) var(--layout-content-gutter) var(--space-6)}.sidebar-collapsed .side-brand{justify-content:center;padding-right:0;padding-left:0}.sidebar-collapsed .side-brand>div:last-child,.sidebar-collapsed .nav-caption,.sidebar-collapsed .profile-name,.sidebar-collapsed .offline{display:none}.sidebar-collapsed .nav-group{gap:var(--space-1)}.sidebar-collapsed .nav-item{justify-content:center;gap:0;padding:0;font-size:0}.sidebar-collapsed .nav-item>span{flex:0 0 auto;font-size:var(--font-size-lg)}.sidebar-collapsed .profile{justify-content:center;flex-wrap:wrap;padding-right:0;padding-left:0}.sidebar-collapsed .icon-button{font-size:0;width:100%;padding:3px}.sidebar-collapsed .icon-button:after{content:"Lock";font-size:var(--font-size-2xs)}@media(max-width:1050px){.topbar,.content{padding-right:var(--space-5);padding-left:var(--space-5)}.global-search{width:150px}}@media(max-width:820px){.topbar{flex-wrap:wrap;gap:var(--space-2)}.topbar-leading{flex:1 1 100%}.top-actions{width:100%;justify-content:flex-end}.content{padding-top:var(--space-6)}.today{display:none}}@media(prefers-reduced-motion:reduce){.sidebar,.main-area,.nav-item,.sidebar-toggle,.theme-button{transition:none}}@media print{.app-shell{display:block;min-height:0;overflow:visible!important}.sidebar,.topbar{display:none!important}.main-area{width:100%!important;margin:0!important}.content{max-width:none!important;padding:0!important}}.overview-dashboard{display:grid;gap:var(--space-5);min-width:0;color:var(--text)}.overview-heading{display:flex;align-items:center;justify-content:space-between;gap:var(--space-5);padding:var(--space-2) 0 var(--space-1)}.overview-heading h1{margin:0;color:var(--text);font-size:clamp(1.45rem,2vw,1.9rem);font-weight:var(--font-weight-semibold);letter-spacing:-.045em;line-height:var(--line-height-tight)}.overview-eyebrow{margin:0 0 var(--space-2);color:var(--color-primary);font-size:var(--font-size-2xs);font-weight:var(--font-weight-bold);letter-spacing:.12em}.overview-subtitle{margin:var(--space-2) 0 0;color:var(--text-muted);font-size:var(--font-size-sm)}.overview-date{display:flex;align-items:center;gap:var(--space-3);flex:none;padding:var(--space-3) var(--space-4);border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-sm)}.overview-date>span{display:grid;place-items:center;width:36px;height:36px;border-radius:var(--radius-md);background:color-mix(in srgb,var(--color-primary) 13%,var(--surface));color:var(--color-primary);font-size:var(--font-size-lg)}.overview-date b,.overview-date small{display:block}.overview-date b{color:var(--text);font-size:var(--font-size-xs);font-weight:var(--font-weight-semibold)}.overview-date small{margin-top:3px;color:var(--text-muted);font-size:var(--font-size-2xs)}.overview-period-row{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);min-height:38px;padding:0 var(--space-1);color:var(--text-muted);font-size:var(--font-size-xs)}.overview-period-row>div{display:flex;align-items:center;gap:var(--space-2)}.overview-period-row b{color:var(--text-secondary);font-weight:var(--font-weight-medium)}.overview-period-row>small{font-size:var(--font-size-2xs)}.overview-period-dot{width:7px;height:7px;border-radius:50%;background:var(--color-primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--color-primary) 14%,transparent)}.overview-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-4)}.overview-kpi{position:relative;display:flex;min-width:0;min-height:136px;flex-direction:column;justify-content:space-between;gap:var(--space-3);padding:var(--space-4) var(--space-5);overflow:hidden;border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-sm);transition:border-color var(--transition-fast),transform var(--transition-fast),box-shadow var(--transition-fast)}.overview-kpi:hover{transform:translateY(-1px);border-color:color-mix(in srgb,var(--color-primary) 38%,var(--line));box-shadow:var(--shadow-md)}.overview-kpi-top{display:flex;align-items:center;justify-content:space-between;gap:var(--space-2);color:var(--text-secondary);font-size:var(--font-size-xs);font-weight:var(--font-weight-medium)}.overview-kpi-icon{display:grid;place-items:center;width:34px;height:34px;flex:none;border:1px solid color-mix(in srgb,var(--color-primary) 18%,var(--line));border-radius:var(--radius-md);background:color-mix(in srgb,var(--color-primary) 10%,var(--surface));color:var(--color-primary);font-size:var(--font-size-md);font-weight:var(--font-weight-semibold)}.overview-kpi-green .overview-kpi-icon{border-color:color-mix(in srgb,var(--color-success) 20%,var(--line));background:color-mix(in srgb,var(--color-success) 10%,var(--surface));color:var(--color-success)}.overview-kpi-amber .overview-kpi-icon{border-color:color-mix(in srgb,var(--color-warning) 22%,var(--line));background:color-mix(in srgb,var(--color-warning) 10%,var(--surface));color:var(--color-warning)}.overview-kpi-cyan .overview-kpi-icon{border-color:color-mix(in srgb,var(--color-info) 20%,var(--line));background:color-mix(in srgb,var(--color-info) 10%,var(--surface));color:var(--color-info)}.overview-kpi-red .overview-kpi-icon{color:var(--color-danger);background:color-mix(in srgb,var(--color-danger) 10%,var(--surface))}.overview-kpi>strong{overflow:hidden;color:var(--text);font-size:clamp(1.45rem,2.2vw,1.9rem);font-weight:var(--font-weight-semibold);letter-spacing:-.045em;text-overflow:ellipsis;white-space:nowrap;font-variant-numeric:tabular-nums}.overview-kpi>strong.overview-kpi-financial{font-size:clamp(1.05rem,1.55vw,1.45rem);letter-spacing:-.035em}.overview-kpi>small{min-height:1.2em;overflow:hidden;color:var(--text-muted);font-size:var(--font-size-2xs);text-overflow:ellipsis;white-space:nowrap}.overview-main-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,1fr);gap:var(--space-4);align-items:stretch}.overview-chart-panel,.overview-operations-panel{min-width:0;padding:var(--space-5);border-color:var(--line);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-sm)}.overview-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);margin-bottom:var(--space-4)}.overview-panel-heading .overview-eyebrow{margin-bottom:var(--space-1)}.overview-panel-heading h2{margin:0;color:var(--text);font-size:var(--font-size-md);font-weight:var(--font-weight-semibold);letter-spacing:-.02em}.overview-panel-heading p:not(.overview-eyebrow){margin:var(--space-1) 0 0;color:var(--text-muted);font-size:var(--font-size-xs)}.overview-panel-heading .secondary-button{height:34px;flex:none;border-radius:var(--radius-md);font-size:var(--font-size-2xs)}.overview-chart-legend{display:flex;align-items:center;gap:var(--space-4);margin-bottom:var(--space-3);color:var(--text-secondary);font-size:var(--font-size-2xs)}.overview-chart-legend span{display:flex;align-items:center;gap:var(--space-2)}.overview-chart-legend i{width:8px;height:8px;border-radius:2px}.dashboard-legend-revenue{background:var(--color-primary)}.dashboard-legend-expenses{background:var(--color-success)}.overview-chart-legend small{margin-left:auto;color:var(--text-muted);font-size:var(--font-size-2xs)}.dashboard-chart{display:grid;grid-template-columns:repeat(12,minmax(34px,1fr));gap:var(--space-2);min-width:480px;height:168px;align-items:stretch;border-bottom:1px solid var(--line);padding:0 var(--space-1)}.dashboard-chart-wrap{min-width:0;overflow-x:auto;scrollbar-width:thin;scrollbar-color:var(--line) transparent}.dashboard-chart-month{display:flex;min-width:0;flex-direction:column;align-items:center;justify-content:flex-end;gap:var(--space-2)}.dashboard-chart-bars{display:flex;width:100%;height:136px;align-items:flex-end;justify-content:center;gap:3px;border-bottom:1px solid color-mix(in srgb,var(--line) 65%,transparent)}.dashboard-chart-bar{display:block;width:min(16px,38%);min-height:0;border-radius:4px 4px 0 0;transition:height var(--transition-normal),opacity var(--transition-fast)}.dashboard-chart-bar-revenue{background:linear-gradient(180deg,color-mix(in srgb,var(--color-primary) 76%,white),var(--color-primary))}.dashboard-chart-bar-expenses{background:linear-gradient(180deg,color-mix(in srgb,var(--color-success) 68%,white),var(--color-success))}.dashboard-chart-month small{padding-bottom:var(--space-2);color:var(--text-muted);font-size:var(--font-size-2xs)}.dashboard-chart-footnote{margin-top:var(--space-3);color:var(--text-muted);font-size:var(--font-size-2xs);line-height:var(--line-height-normal)}.dashboard-chart-empty{display:grid;min-height:190px;place-content:center;justify-items:center;gap:var(--space-2);padding:var(--space-5);border:1px dashed var(--line);border-radius:var(--radius-md);color:var(--text-muted);text-align:center}.dashboard-chart-empty>span{display:grid;place-items:center;width:38px;height:38px;border-radius:var(--radius-md);background:var(--surface2);color:var(--color-primary);font-size:var(--font-size-lg)}.dashboard-chart-empty b{color:var(--text-secondary);font-size:var(--font-size-xs)}.dashboard-chart-empty small{font-size:var(--font-size-2xs)}.overview-operations-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:var(--radius-md);background:var(--surface2);color:var(--text-muted);font-size:var(--font-size-lg)}.overview-operation-row{display:grid;width:100%;grid-template-columns:34px minmax(0,1fr) auto 14px;align-items:center;gap:var(--space-3);padding:var(--space-3) 0;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--text);text-align:left}.overview-operation-row:hover .overview-operation-arrow{color:var(--color-primary);transform:translate(2px)}.overview-operation-row:focus-visible{border-radius:var(--radius-sm)}.overview-operation-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:var(--radius-md);background:color-mix(in srgb,var(--color-primary) 12%,var(--surface));color:var(--color-primary);font-size:var(--font-size-xs);font-weight:var(--font-weight-bold)}.overview-operation-icon.supplier{background:color-mix(in srgb,var(--color-warning) 12%,var(--surface));color:var(--color-warning)}.overview-operation-row>span:nth-child(2){min-width:0}.overview-operation-row b,.overview-operation-row small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.overview-operation-row b{font-size:var(--font-size-xs);font-weight:var(--font-weight-medium)}.overview-operation-row small{margin-top:3px;color:var(--text-muted);font-size:var(--font-size-2xs)}.overview-operation-row>strong{font-size:var(--font-size-sm);font-variant-numeric:tabular-nums}.overview-operation-arrow{color:var(--text-muted);font-size:var(--font-size-lg);transition:color var(--transition-fast),transform var(--transition-fast)}.overview-data-note{display:flex;align-items:flex-start;gap:var(--space-2);margin-top:var(--space-4);padding:var(--space-3);border:1px solid color-mix(in srgb,var(--color-info) 20%,var(--line));border-radius:var(--radius-md);background:color-mix(in srgb,var(--color-info) 5%,var(--surface));color:var(--text-muted)}.overview-data-note>span{display:grid;place-items:center;width:16px;height:16px;flex:none;border-radius:50%;background:color-mix(in srgb,var(--color-info) 16%,var(--surface));color:var(--color-info);font-size:var(--font-size-2xs);font-weight:var(--font-weight-bold)}.overview-data-note p{margin:0;font-size:var(--font-size-2xs);line-height:var(--line-height-normal)}.overview-footer{display:flex;justify-content:space-between;gap:var(--space-3);padding:var(--space-1) var(--space-1) 0;color:var(--text-muted);font-size:var(--font-size-2xs)}.overview-state{display:flex;align-items:flex-start;gap:var(--space-4);padding:var(--space-5);border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface)}.overview-state-error{border-color:color-mix(in srgb,var(--color-danger) 35%,var(--line))}.overview-state-icon{display:grid;place-items:center;width:36px;height:36px;flex:none;border-radius:50%;background:color-mix(in srgb,var(--color-danger) 12%,var(--surface));color:var(--color-danger);font-weight:var(--font-weight-bold)}.overview-state b{color:var(--text);font-size:var(--font-size-sm)}.overview-state p{margin:var(--space-1) 0 var(--space-3);color:var(--text-muted);font-size:var(--font-size-xs)}.overview-state .secondary-button{height:34px}.overview-kpi-skeleton{justify-content:flex-start}.overview-kpi-skeleton>span,.overview-kpi-skeleton>b,.overview-kpi-skeleton>small{display:block;border-radius:var(--radius-sm);background:linear-gradient(90deg,var(--surface2),color-mix(in srgb,var(--surface2) 65%,var(--surface)),var(--surface2));background-size:200% 100%;animation:overview-skeleton 1.3s ease-in-out infinite}.overview-kpi-skeleton>span{width:55%;height:13px}.overview-kpi-skeleton>b{width:72%;height:27px;margin-top:var(--space-3)}.overview-kpi-skeleton>small{width:82%;height:10px;margin-top:auto}@keyframes overview-skeleton{to{background-position:-200% 0}}@media(max-width:1100px){.overview-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-main-grid{grid-template-columns:1fr}}@media(max-width:820px){.overview-dashboard{gap:var(--space-4)}.overview-heading{align-items:flex-start;flex-direction:column}.overview-date{align-self:stretch}.overview-period-row{align-items:flex-start;flex-direction:column}.overview-kpis{gap:var(--space-3)}.overview-kpi{min-height:128px;padding:var(--space-4)}.overview-chart-panel,.overview-operations-panel{padding:var(--space-4)}}@media(max-width:560px){.overview-kpis{grid-template-columns:1fr}.overview-kpi{min-height:118px}.overview-panel-heading{align-items:flex-start;flex-direction:column}.overview-panel-heading .secondary-button{align-self:flex-start}.overview-footer{flex-direction:column}.overview-state{padding:var(--space-4)}}@media(prefers-reduced-motion:reduce){.overview-kpi,.dashboard-chart-bar,.overview-operation-arrow{transition:none}.overview-kpi-skeleton>span,.overview-kpi-skeleton>b,.overview-kpi-skeleton>small{animation:none}}@media print{.overview-dashboard{gap:12px}.overview-kpi,.overview-chart-panel,.overview-operations-panel{box-shadow:none!important;break-inside:avoid}.overview-chart-wrap{overflow:visible}.dashboard-chart{min-width:0}}.overview-chart-legend{display:flex;flex-wrap:wrap;align-items:center;column-gap:var(--space-6);row-gap:var(--space-2)}.overview-chart-legend span{flex:none;white-space:nowrap;color:var(--text-secondary);font-weight:var(--font-weight-medium)}.overview-chart-legend span:first-child i{flex:none;background:var(--color-primary)}.overview-chart-legend span:nth-child(2) i{flex:none;background:var(--color-success)}.overview-chart-legend small{flex:none;margin-left:auto;padding:var(--space-1) var(--space-2);border:1px solid var(--line);border-radius:var(--radius-full);background:var(--surface2);color:var(--text-secondary);font-weight:var(--font-weight-medium);white-space:nowrap}@media(max-width:1100px){.topbar{flex-wrap:wrap;row-gap:var(--space-2)}.topbar-leading{flex:0 1 auto}.top-actions{flex:1 1 400px;flex-wrap:wrap;justify-content:flex-end}.global-search{flex:1 1 180px;min-width:150px}}@media(max-width:820px){.topbar-leading{flex:1 1 100%}.top-actions{flex:1 1 100%;width:100%;justify-content:flex-start}.global-search{flex:1 1 180px;min-width:0}}@media(max-width:560px){.overview-chart-legend small{margin-left:0}}.customer-module{display:grid;gap:var(--space-5);min-width:0;color:var(--text)}.customer-module .customer-page-heading{align-items:center;gap:var(--space-5);margin:0}.customer-module .customer-page-heading .eyebrow{display:block;margin-bottom:var(--space-2);color:var(--color-primary);font-size:var(--font-size-2xs);letter-spacing:.12em}.customer-module .customer-page-heading h1{font-size:clamp(1.45rem,2vw,1.9rem);font-weight:var(--font-weight-semibold);letter-spacing:-.045em;line-height:var(--line-height-tight)}.customer-module .customer-page-heading p{margin-top:var(--space-2);color:var(--text-muted);font-size:var(--font-size-sm)}.customer-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:var(--space-3);flex:none}.customer-header-actions>.primary{display:flex;align-items:center;justify-content:center;gap:var(--space-2);min-height:40px;padding:0 var(--space-4);border-radius:var(--radius-md);font-size:var(--font-size-xs);font-weight:var(--font-weight-semibold);white-space:nowrap}.customer-header-actions>.primary>span{font-size:var(--font-size-lg);line-height:1}.customer-total{display:flex;align-items:center;gap:var(--space-2);min-height:40px;padding:0 var(--space-3);border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);white-space:nowrap}.customer-total-mark{display:grid;place-items:center;width:27px;height:27px;border-radius:var(--radius-sm);background:color-mix(in srgb,var(--color-primary) 12%,var(--surface));color:var(--color-primary);font-size:var(--font-size-md)}.customer-total>span:last-child{display:grid;gap:1px}.customer-total strong{color:var(--text);font-size:var(--font-size-sm);font-variant-numeric:tabular-nums}.customer-total small{color:var(--text-muted);font-size:var(--font-size-2xs)}.customer-module .customer-notice{margin:0;padding:var(--space-3) var(--space-4);border:1px solid color-mix(in srgb,var(--color-success) 32%,var(--line));border-radius:var(--radius-md);background:color-mix(in srgb,var(--color-success) 8%,var(--surface));color:var(--color-success);font-size:var(--font-size-xs)}.customer-module .customer-list-panel{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-sm)}.customer-module .customer-toolbar{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-4);border-bottom:1px solid var(--line);background:var(--surface)}.customer-module .customer-search{height:40px;max-width:none;min-width:180px;flex:1 1 320px;gap:var(--space-2);padding:0 var(--space-3);border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface2);color:var(--text-muted)}.customer-module .customer-search>span{font-size:var(--font-size-lg)}.customer-module .customer-search input{min-width:0;color:var(--text);font-size:var(--font-size-xs)}.customer-module .customer-search input::placeholder{color:var(--text-muted)}.customer-module .customer-search kbd{padding:2px 5px;border:1px solid var(--line);border-radius:var(--radius-xs);background:var(--surface);color:var(--text-muted);font:var(--font-weight-medium) var(--font-size-2xs) var(--font-family-sans)}.customer-module .customer-filter{gap:var(--space-2);color:var(--text-muted);font-size:var(--font-size-xs)}.customer-module .customer-filter select{height:40px;min-width:122px;padding:0 var(--space-3);border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface2);color:var(--text);font-size:var(--font-size-xs)}.customer-module .customer-table-wrap{width:100%;overflow:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;scrollbar-color:var(--line) transparent}.customer-module .customer-table{width:100%;min-width:900px;border-collapse:separate;border-spacing:0}.customer-module .customer-table th{padding:var(--space-3) var(--space-4);border-bottom:1px solid var(--line);background:var(--surface2);color:var(--text-muted);font-size:var(--font-size-2xs);font-weight:var(--font-weight-semibold);letter-spacing:.07em;text-align:left;text-transform:uppercase;white-space:nowrap}.customer-module .customer-table td{max-width:300px;padding:var(--space-3) var(--space-4);border-top:0;border-bottom:1px solid var(--line);color:var(--text-secondary);font-size:var(--font-size-xs);line-height:var(--line-height-normal);vertical-align:middle}.customer-module .customer-table tbody tr:last-child td{border-bottom:0}.customer-module .customer-table tbody tr:not(.customer-skeleton-row):hover{background:color-mix(in srgb,var(--color-primary) 5%,var(--surface))}.customer-module .customer-table th:first-child,.customer-module .customer-table td:first-child{padding-left:var(--space-5)}.customer-module .customer-table th:last-child,.customer-module .customer-table td:last-child{width:48px;padding-right:var(--space-4);text-align:center}.customer-code{display:block;color:var(--color-primary);font-size:var(--font-size-xs);font-weight:var(--font-weight-semibold);font-variant-numeric:tabular-nums;white-space:nowrap}.customer-module .customer-internal-id{display:block;margin-top:3px;color:var(--text-muted);font-size:var(--font-size-2xs)}.customer-module .customer-name-link{color:var(--text);font-size:var(--font-size-xs);font-weight:var(--font-weight-semibold);text-decoration:none;text-underline-offset:3px}.customer-module .customer-name-link:hover{color:var(--color-primary);text-decoration:underline}.customer-module .customer-status{padding:4px 9px;border:1px solid transparent;border-radius:var(--radius-full);font-size:var(--font-size-2xs);font-weight:var(--font-weight-semibold);letter-spacing:.01em}.customer-module .customer-status.active{border-color:color-mix(in srgb,var(--color-success) 22%,var(--line));background:color-mix(in srgb,var(--color-success) 11%,var(--surface));color:var(--color-success)}.customer-module .customer-status.inactive{border-color:var(--line);background:var(--surface2);color:var(--text-secondary)}.customer-unset{color:var(--text-muted);font-style:italic}.customer-module .row-action{width:30px;height:30px;border:1px solid transparent;border-radius:var(--radius-sm);background:transparent;color:var(--text-muted);font-size:var(--font-size-xl);line-height:1}.customer-module .row-action:hover{border-color:var(--line);background:var(--surface2);color:var(--color-primary)}.customer-module .customer-list-footer{min-height:56px;align-items:center;flex-direction:row;gap:var(--space-3);padding:var(--space-3) var(--space-4);border-top:1px solid var(--line);color:var(--text-muted);font-size:var(--font-size-xs)}.customer-module .customer-list-footer>div{gap:var(--space-3)}.customer-module .customer-list-footer .secondary-button{height:32px;padding:0 var(--space-3);border-radius:var(--radius-sm);font-size:var(--font-size-2xs)}.customer-module .customer-list-footer .secondary-button:disabled{cursor:not-allowed;opacity:.45}.customer-module .table-message{height:230px;max-width:none;padding:var(--space-8);color:var(--text-muted);text-align:center;white-space:normal}.customer-module .table-message strong,.customer-module .table-message>span{display:block}.customer-module .table-message strong{margin:var(--space-2) 0;color:var(--text);font-size:var(--font-size-sm)}.customer-module .table-message>span:not(.customer-empty-mark){margin:0 auto;max-width:420px;font-size:var(--font-size-xs);line-height:var(--line-height-relaxed)}.customer-empty-mark{display:grid;place-items:center;width:42px;height:42px;margin:0 auto;border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface2);color:var(--text-muted);font-size:var(--font-size-xl)}.customer-module .table-message .secondary-button{margin-top:var(--space-4);height:36px;padding:0 var(--space-4);border-radius:var(--radius-md);font-size:var(--font-size-xs)}.customer-skeleton-row td{height:54px}.customer-skeleton-line{display:block;width:min(100%,140px);height:12px;border-radius:var(--radius-full);background:linear-gradient(90deg,var(--surface2),color-mix(in srgb,var(--surface2) 60%,var(--surface)),var(--surface2));background-size:200% 100%;animation:customer-skeleton 1.3s ease-in-out infinite}.customer-skeleton-row td:first-child .customer-skeleton-line{width:92px}.customer-skeleton-row td:nth-child(2) .customer-skeleton-line{width:130px}.customer-load-error{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-4);border:1px solid color-mix(in srgb,var(--color-danger) 32%,var(--line));border-radius:var(--radius-md);background:color-mix(in srgb,var(--color-danger) 7%,var(--surface));color:var(--text)}.customer-error-mark{display:grid;place-items:center;width:30px;height:30px;flex:none;border-radius:50%;background:color-mix(in srgb,var(--color-danger) 14%,var(--surface));color:var(--color-danger);font-weight:var(--font-weight-bold)}.customer-load-error>div{display:grid;min-width:0;gap:3px;flex:1}.customer-load-error strong{font-size:var(--font-size-xs)}.customer-load-error small{overflow-wrap:anywhere;color:var(--text-muted);font-size:var(--font-size-2xs)}.customer-load-error .secondary-button{height:34px;flex:none;padding:0 var(--space-3);font-size:var(--font-size-xs)}.customer-module .customer-modal-backdrop{z-index:var(--layout-modal-z-index);padding:var(--space-5);background:var(--color-overlay);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.customer-module .customer-editor{width:min(880px,100%);max-height:calc(100dvh - 40px);padding:var(--space-6);border:1px solid var(--line);border-radius:var(--radius-xl);background:var(--surface);color:var(--text);box-shadow:var(--shadow-lg)}.customer-module .customer-editor-heading{position:sticky;top:calc(-1 * var(--space-6));z-index:1;align-items:flex-start;padding:var(--space-1) 0 var(--space-4);margin:0 0 var(--space-2);background:var(--surface)}.customer-module .customer-editor-heading .eyebrow{color:var(--color-primary);font-size:var(--font-size-2xs)}.customer-module .customer-editor-heading h2{margin-top:var(--space-2);color:var(--text);font-size:var(--font-size-xl);font-weight:var(--font-weight-semibold);letter-spacing:-.025em}.customer-module .customer-editor-heading p{color:var(--text-muted);font-size:var(--font-size-xs)}.customer-module .customer-form-grid{column-gap:var(--space-4);row-gap:var(--space-2)}.customer-module .customer-form-grid>label,.customer-module .phone-fieldset legend{color:var(--text-secondary);font-size:var(--font-size-xs);font-weight:var(--font-weight-medium)}.customer-module .field-required{color:var(--color-danger)}.customer-module .field-optional{margin-left:var(--space-1);color:var(--text-muted);font-size:var(--font-size-2xs);font-weight:var(--font-weight-regular)}.customer-module .customer-form-grid input:not([type=checkbox]),.customer-module .customer-form-grid textarea,.customer-module .customer-form-grid select{min-height:40px;margin-top:var(--space-2);padding:var(--space-2) var(--space-3);border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface2);color:var(--text);font-size:var(--font-size-sm);transition:border-color var(--transition-fast),box-shadow var(--transition-fast)}.customer-module .customer-form-grid textarea{min-height:70px}.customer-module .customer-form-grid input::placeholder,.customer-module .customer-form-grid textarea::placeholder{color:var(--text-muted)}.customer-module .customer-form-grid input:focus,.customer-module .customer-form-grid textarea:focus,.customer-module .customer-form-grid select:focus{border-color:var(--color-primary);box-shadow:0 0 0 var(--focus-ring-width) var(--focus-ring-color);outline:none}.customer-module .phone-fieldset{min-width:0;padding:var(--space-3);border:1px solid var(--line);border-radius:var(--radius-md)}.customer-module .phone-entry{display:flex;align-items:center;gap:var(--space-2);margin-top:var(--space-2)}.customer-module .phone-entry input{flex:1;margin-top:0!important}.customer-module .remove-phone,.customer-module .add-phone{min-height:34px;padding:0 var(--space-3);border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);color:var(--text-secondary);font-size:var(--font-size-xs)}.customer-module .add-phone{margin-top:var(--space-2);color:var(--color-primary)}.customer-module .technical-divider{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);padding-top:var(--space-3);border-top:1px solid var(--line)}.customer-module .technical-divider>span{color:var(--text-secondary);font-size:var(--font-size-2xs);font-weight:var(--font-weight-bold);letter-spacing:.1em}.customer-module .technical-divider small{color:var(--text-muted);font-size:var(--font-size-2xs)}.customer-module .customer-form-actions{position:sticky;bottom:calc(-1 * var(--space-6));z-index:1;margin:var(--space-5) calc(-1 * var(--space-6)) calc(-1 * var(--space-6));padding:var(--space-4) var(--space-6);border-top:1px solid var(--line);background:var(--surface)}.customer-module .customer-form-actions button{min-height:38px;border-radius:var(--radius-md);font-size:var(--font-size-xs)}.customer-module .customer-profile-page{display:grid;gap:var(--space-4);min-width:0}.customer-module .customer-profile-page .back-link{width:max-content;border:0;background:transparent;color:var(--text-secondary);font-size:var(--font-size-xs)}.customer-module .customer-profile-heading{align-items:center;gap:var(--space-4);padding:var(--space-4);border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface)}.customer-module .customer-profile-title .eyebrow{color:var(--color-primary);font-size:var(--font-size-2xs)}.customer-module .customer-profile-title h1{margin:var(--space-1) 0;font-size:var(--font-size-xl);font-weight:var(--font-weight-semibold)}.customer-module .customer-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-4)}.customer-module .customer-panel{min-width:0;padding:var(--space-5);border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-sm)}.customer-module .customer-panel-heading h2{color:var(--text);font-size:var(--font-size-sm);font-weight:var(--font-weight-semibold)}.customer-module .customer-panel-heading p{color:var(--text-muted);font-size:var(--font-size-xs)}.customer-module .detail-pair{display:grid;grid-template-columns:minmax(120px,.8fr) minmax(0,1fr);gap:var(--space-3);padding:var(--space-3) 0;border-top:1px solid var(--line);font-size:var(--font-size-xs)}.customer-module .detail-pair>span{color:var(--text-muted)}.customer-module .detail-pair>strong{overflow-wrap:anywhere;color:var(--text-secondary);font-weight:var(--font-weight-medium);text-align:right}.customer-module .customer-profile-meta{color:var(--text-muted);font-size:var(--font-size-2xs)}@keyframes customer-skeleton{to{background-position:-200% 0}}@media(max-width:900px){.customer-module .customer-profile-grid{grid-template-columns:1fr}.customer-module .customer-page-heading{align-items:flex-start}.customer-module .customer-form-grid{grid-template-columns:1fr}.customer-module .customer-form-wide{grid-column:auto}}@media(max-width:720px){.customer-module .customer-page-heading{flex-direction:column}.customer-header-actions{width:100%;justify-content:space-between}.customer-module .customer-toolbar{align-items:stretch;flex-wrap:wrap}.customer-module .customer-search{flex:1 1 100%;min-width:0}.customer-module .customer-filter{flex:1 1 calc(50% - var(--space-2));justify-content:space-between}.customer-module .customer-filter select{min-width:0;flex:1}.customer-module .customer-list-footer{align-items:stretch;flex-direction:column}.customer-module .customer-list-footer>div{justify-content:space-between}.customer-module .customer-profile-heading>.primary{margin-left:0}.customer-module .customer-profile-grid{grid-template-columns:1fr}.customer-module .customer-form-actions{justify-content:stretch}.customer-module .customer-form-actions button{flex:1}.customer-module .technical-divider{align-items:flex-start;flex-direction:column}}@media(max-width:520px){.customer-module .customer-editor{padding:var(--space-4);max-height:calc(100dvh - 24px)}.customer-module .customer-editor-heading{top:calc(-1 * var(--space-4))}.customer-module .customer-form-actions{bottom:calc(-1 * var(--space-4));margin-right:calc(-1 * var(--space-4));margin-left:calc(-1 * var(--space-4));padding-right:var(--space-4);padding-left:var(--space-4)}.customer-module .customer-load-error{align-items:flex-start;flex-wrap:wrap}.customer-module .customer-load-error .secondary-button{margin-left:calc(30px + var(--space-3))}.customer-module .customer-profile-heading{align-items:flex-start}.customer-module .customer-profile-avatar{width:42px;height:42px;flex:none}.customer-module .detail-pair{grid-template-columns:1fr;gap:var(--space-1)}.customer-module .detail-pair>strong{text-align:left}}@media(max-height:700px){.customer-module .customer-modal-backdrop{align-items:start;padding:12px}.customer-module .customer-editor{max-height:calc(100dvh - 24px)}}@media(prefers-reduced-motion:reduce){.customer-module .customer-skeleton-line{animation:none}.customer-module .customer-form-grid input,.customer-module .customer-form-grid textarea,.customer-module .customer-form-grid select{transition:none}}.sales-item-summary{max-width:240px;white-space:normal;overflow-wrap:anywhere}.sales-item-summary span{display:block;color:var(--text);line-height:1.45}.sales-item-summary small{display:block;margin-top:4px;color:var(--muted)}.payroll-controls{margin-left:auto;align-items:flex-end;gap:10px}.payroll-controls>label{display:flex;flex-direction:column;gap:6px;min-width:0;color:var(--muted);font-size:11px;font-weight:600;line-height:1.2}.payroll-controls input[type=month]{display:block;width:184px;height:38px;min-height:38px;margin:0;padding:0 11px;border:1px solid var(--line);border-radius:8px;background:var(--surface2);color:var(--text);font:500 13px var(--font-family-sans);color-scheme:dark;transition:border-color var(--transition-fast),box-shadow var(--transition-fast)}.app-shell[data-theme=light] .payroll-controls input[type=month]{color-scheme:light}.payroll-controls input[type=month]:focus-visible{outline:none;border-color:var(--color-primary);box-shadow:0 0 0 var(--focus-ring-width) var(--focus-ring-color)}.payroll-controls>.primary,.payroll-controls>.secondary-button{height:38px;min-height:38px;padding:0 13px;border-radius:8px;white-space:nowrap;font-size:11px}@media(max-width:720px){.payroll-controls{width:100%;margin-left:0;justify-content:flex-start}.payroll-controls>label{flex:0 0 auto}.payroll-controls>.primary,.payroll-controls>.secondary-button{flex:0 0 auto}}.app-shell .language-toggle{min-width:92px;height:34px;padding:0 26px 0 10px;border-color:var(--line);background:var(--surface);color:var(--text);font-size:11px;font-weight:600}.app-shell:is([data-language=fa],[data-language=ps]) input[type=month]{direction:ltr;text-align:left}.bill-design-panel{grid-column:1/-1;margin-top:4px;padding:18px;border:1px solid var(--line);border-radius:10px;background:var(--surface-subtle)}.bill-design-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:15px}.bill-design-heading h4{margin:0;font-size:14px;color:var(--text)}.bill-design-heading p,.bill-design-help{margin:5px 0 0;color:var(--muted);font-size:11px;line-height:1.5}.bill-design-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px}.bill-design-fields>label{display:flex;flex-direction:column;gap:5px;min-width:0;color:var(--text);font-size:11px;font-weight:600}.bill-design-fields input:not([type=checkbox]),.bill-design-fields select{width:100%;min-height:36px;padding:7px 9px;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--text);font:inherit}.bill-design-fields input[type=color]{width:72px;min-height:38px;padding:4px}.bill-design-fields .bill-logo-field{grid-column:1/-1}.bill-design-fields input[type=file]{height:auto;min-height:38px;padding:8px}.bill-logo-preview{display:flex;align-items:center;gap:10px}.bill-logo-preview img{width:58px;height:48px;object-fit:contain;padding:4px;background:#fff;border:1px solid var(--line);border-radius:6px}.bill-design-toggle-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 12px;margin-top:14px}.bill-design-toggle{display:flex;align-items:flex-start;gap:8px;min-width:0;color:var(--text);font-size:11px;line-height:1.4}.bill-design-toggle input{flex:none;margin:1px 0 0;accent-color:var(--color-primary)}.bill-label-editor{margin-top:14px;border-top:1px solid var(--line);padding-top:12px}.bill-label-editor summary{cursor:pointer;color:var(--color-primary);font-size:12px;font-weight:650}.bill-label-editor .bill-design-fields{margin-top:12px}.bill-design-help{margin-top:14px}.doc-company-logo{width:auto;height:auto;max-width:100px;max-height:68px;object-fit:contain;flex:none}.doc-company-header{border-bottom-color:var(--doc-accent,#263858)}.doc-company-mark{background:var(--doc-accent,#405be8)}.doc-totals .doc-grand-total{border-bottom-color:var(--doc-accent,#263858)}.document-template-modern .doc-company-header{padding:14px;border:0;border-inline-start:4px solid var(--doc-accent,#3B82F6);border-radius:8px;background:#f3f7ff}.document-template-modern .doc-company-mark{border-radius:9px}.document-template-modern .doc-title-row h2{color:var(--doc-accent,#263858)}.document-template-minimal .doc-company-header{border-bottom:1px solid #dfe4ec}.document-template-minimal .doc-company-mark{background:transparent;color:var(--doc-accent,#263858);border:1px solid var(--doc-accent,#263858);box-shadow:none}.document-template-minimal .doc-title-row{margin-top:16px}.document-template-minimal .doc-receipt-amount{background:transparent;border:1px solid #dfe4ec}@media(max-width:680px){.bill-design-panel{padding:13px}.bill-design-heading{align-items:flex-start;flex-direction:column}.bill-design-heading>button{width:100%}.bill-design-toggle-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bill-design-fields{grid-template-columns:1fr}.bill-design-fields .bill-logo-field{grid-column:auto}}.payroll-dialog{box-sizing:border-box;width:min(720px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:var(--space-6);overflow:auto;background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:var(--radius-xl);box-shadow:var(--shadow-lg)}.payroll-dialog>.panel-head{align-items:flex-start;gap:var(--space-4);padding-bottom:var(--space-4);margin-bottom:var(--space-2);border-bottom:1px solid var(--line)}.payroll-dialog>.panel-head h3{margin:0;color:var(--text);font-size:var(--font-size-lg);font-weight:var(--font-weight-semibold)}.payroll-dialog>.panel-head p{margin:var(--space-1) 0 0;color:var(--text-muted);font-size:var(--font-size-xs);line-height:var(--line-height-normal)}.payroll-dialog .payroll-form-grid,.payroll-dialog>label{color:var(--text-secondary);font-size:var(--font-size-xs);font-weight:var(--font-weight-medium);line-height:var(--line-height-normal)}.payroll-dialog .payroll-form-grid input,.payroll-dialog .payroll-form-grid select,.payroll-dialog .payroll-form-grid textarea,.payroll-dialog>label select{box-sizing:border-box;width:100%;min-width:0;min-height:42px;padding:var(--space-2) var(--space-3);border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface2);color:var(--text);font:var(--font-weight-regular) var(--font-size-sm)/var(--line-height-normal) var(--font-family-sans);color-scheme:inherit;transition:border-color var(--transition-fast),box-shadow var(--transition-fast),background-color var(--transition-fast)}.payroll-dialog .payroll-form-grid input[type=date]{direction:ltr;text-align:start;font-variant-numeric:tabular-nums}.payroll-dialog .payroll-form-grid textarea{min-height:84px;resize:vertical}.payroll-dialog .payroll-form-grid select,.payroll-dialog>label select{cursor:pointer}.payroll-dialog .payroll-form-grid input::placeholder,.payroll-dialog .payroll-form-grid textarea::placeholder{color:var(--text-muted)}.payroll-dialog .payroll-form-grid input:focus-visible,.payroll-dialog .payroll-form-grid select:focus-visible,.payroll-dialog .payroll-form-grid textarea:focus-visible,.payroll-dialog>label select:focus-visible{outline:none;border-color:var(--color-primary);box-shadow:0 0 0 var(--focus-ring-width) var(--focus-ring-color)}.payroll-dialog .payroll-form-grid label:focus-within{color:var(--text)}.payroll-dialog .payroll-actions{gap:var(--space-2);padding-top:var(--space-4);border-top:1px solid var(--line)}.payroll-dialog .payroll-actions button{min-height:40px;padding-inline:var(--space-4);border-radius:var(--radius-md);font-size:var(--font-size-xs);font-weight:var(--font-weight-semibold)}.payroll-dialog .payroll-wide{grid-column:1/-1}@media(max-width:620px){.payroll-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:var(--space-4)}.payroll-dialog .payroll-form-grid{grid-template-columns:1fr}.payroll-dialog .payroll-wide{grid-column:auto}.payroll-dialog .payroll-actions{position:sticky;bottom:calc(-1 * var(--space-4));margin-inline:calc(-1 * var(--space-4));padding:var(--space-3) var(--space-4);background:var(--surface)}}.app-shell:is([data-language=fa],[data-language=ps]){direction:ltr}.app-shell:is([data-language=fa],[data-language=ps])>.sidebar,.app-shell:is([data-language=fa],[data-language=ps])>.main-area{direction:rtl}.app-shell:is([data-language=fa],[data-language=ps])>.main-area{width:calc(100% - var(--shell-sidebar-width));margin-left:0;margin-right:var(--shell-sidebar-width)}.brand-mark.has-logo{padding:4px;background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow-sm)}.brand-mark.has-logo img{display:block;width:100%;height:100%;border-radius:inherit;object-fit:contain}.app-shell[data-role=viewer] .customer-page-heading>.primary,.app-shell[data-role=viewer] .customer-header-actions>.primary,.app-shell[data-role=viewer] .customer-profile-heading>.primary,.app-shell[data-role=viewer] .customer-module .table-message>.secondary-button,.app-shell[data-role=viewer] .inventory-row-actions,.app-shell[data-role=viewer] .procurement-actions,.app-shell[data-role=viewer] .payroll-controls>button,.app-shell[data-role=viewer] .payroll-module tbody td:last-child button,.app-shell[data-role=viewer] .procurement-module tbody td:last-child button,.app-shell[data-role=viewer] .inventory-module tbody td:last-child>button,.app-shell[data-role=viewer] .sales-row-actions button:not(:first-child),.app-shell[data-role=viewer] .payment-module .row-action,.app-shell[data-role=viewer] .payment-module .customer-page-heading>.danger-button,.app-shell[data-role=viewer] .payment-module tbody td:last-child button,.app-shell[data-role=viewer] .payment-module .danger-button{display:none!important}.mobile-nav-backdrop{display:none}@media(max-width:760px){html,body,#root{width:100%;min-width:0;max-width:100%;overflow-x:hidden}.app-shell{display:block;width:100%;min-width:0;max-width:100%;overflow-x:clip}.sidebar{position:fixed;inset:0 auto 0 0;width:min(84vw,300px);max-width:300px;height:100dvh;padding:20px 14px 14px;transform:translate(-105%);transition:transform var(--transition-normal);z-index:12;box-shadow:var(--shadow-lg);border-right:1px solid var(--line)}.app-shell.mobile-nav-open .sidebar{transform:translate(0)}.app-shell.sidebar-collapsed .sidebar{width:min(84vw,300px)}.app-shell.sidebar-collapsed .side-brand>div:last-child,.app-shell.sidebar-collapsed .nav-caption,.app-shell.sidebar-collapsed .profile-name,.app-shell.sidebar-collapsed .offline{display:block}.app-shell.sidebar-collapsed .nav-item{justify-content:flex-start;gap:12px;padding:0 12px;font-size:13px}.app-shell.sidebar-collapsed .nav-item>span{font-size:17px}.app-shell.sidebar-collapsed .icon-button{font-size:var(--font-size-xs);width:auto}.app-shell.sidebar-collapsed .icon-button:after{content:none}.mobile-nav-backdrop{display:block;position:fixed;inset:0;background:var(--color-overlay);border:0;padding:0;z-index:11}.main-area,.app-shell:is([data-language=fa],[data-language=ps])>.main-area{display:block;width:100%;min-width:0;margin:0}.topbar{position:sticky;top:0;z-index:5;display:flex;align-items:flex-start;flex-wrap:wrap;gap:10px;width:100%;min-width:0;padding:10px 12px}.topbar-leading{flex:1 1 100%;width:100%;gap:10px}.sidebar-toggle{flex-basis:40px;width:40px;height:40px}.crumb{flex:1;font-size:12px}.top-actions{display:flex;flex:1 1 100%;width:100%;min-width:0;flex-wrap:wrap;justify-content:flex-start;gap:7px}.global-search{flex:1 1 100%;width:100%;min-width:0}.global-search input{min-width:0;width:100%}.global-search-results{left:0;right:0;width:auto;max-width:100%}.theme-button{min-height:40px;height:40px;padding:0 10px;font-size:11px}.today{display:none}.content{width:100%;min-width:0;max-width:100%;margin:0;padding:18px 12px 24px}.content>*{min-width:0;max-width:100%}.readonly-access-banner{margin:10px 12px 0}.welcome-row,.overview-heading,.section-title,.panel-head{min-width:0;flex-wrap:wrap;gap:12px}.metric-grid,.lower-grid,.overview-kpis,.overview-main-grid,.overview-secondary-grid,.finance-metrics,.payroll-summary-grid{grid-template-columns:1fr;min-width:0}.customer-page-heading{align-items:flex-start;flex-direction:column;gap:14px}.customer-header-actions{width:100%;min-width:0;flex-wrap:wrap}.customer-toolbar{min-width:0;flex-wrap:wrap;gap:9px;padding:12px}.customer-search{flex:1 1 100%;width:100%;max-width:none;min-width:0}.customer-filter,.finance-filters{max-width:100%;flex-wrap:wrap}.customer-filter select,.finance-filters select{max-width:100%;min-width:0}.customer-table-wrap{width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}.customer-table{min-width:640px}.customer-list-footer{min-width:0;flex-wrap:wrap;gap:10px;padding:12px}.module-tabs,.inventory-tabs{width:100%;max-width:100%;overflow-x:auto;flex-wrap:nowrap;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}.module-tabs>button,.inventory-tabs>button{flex:0 0 auto;min-height:42px;white-space:nowrap}.modal-backdrop,.customer-modal-backdrop{position:fixed;inset:0;display:flex;align-items:flex-start;justify-content:center;overflow-y:auto;padding:10px}.settings-dialog,.customer-editor{width:100%;max-width:100%;max-height:calc(100dvh - 20px);overflow-y:auto;padding:16px;border-radius:12px}.customer-form-grid,.finance-form-grid,.payroll-form-grid,.report-filterbar,.security-viewer-form{grid-template-columns:minmax(0,1fr)}.customer-form-wide,.finance-wide,.payroll-wide{grid-column:auto}.customer-form-actions,.finance-actions,.payroll-actions{flex-wrap:wrap;gap:8px}.customer-form-actions button,.finance-actions button,.payroll-actions button{flex:1 1 auto;min-height:42px}.report-filterbar label,.report-filterbar button{min-width:0;width:100%}.report-filterbar input,.report-filterbar select{width:100%;min-width:0}.date-range,.finance-filters,.payroll-controls{width:100%;min-width:0;flex-wrap:wrap}.payroll-controls>label{flex:1 1 100%;min-width:0}.payroll-controls input{max-width:100%;width:100%}.sales-row-actions{flex-wrap:wrap}.company-layout,.doc-bottom-row{grid-template-columns:minmax(0,1fr)}.company-form-grid,.document-print-sheet{max-width:100%}input,select,textarea{max-width:100%;font-size:16px}}@media(max-width:760px)and (min-width:561px){.metric-grid,.overview-kpis,.finance-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.app-shell:is([data-language=fa],[data-language=ps]) .sidebar{inset:0 0 0 auto;transform:translate(105%);border-right:0;border-left:1px solid var(--line)}.app-shell:is([data-language=fa],[data-language=ps]).mobile-nav-open .sidebar{transform:translate(0)}}@media screen{.app-shell{font-size:13px}.app-shell .sidebar{padding:18px 12px 12px}.app-shell .side-brand{gap:9px;padding-bottom:20px}.app-shell .brand-mark.small{width:34px;height:34px;border-radius:10px;font-size:18px}.app-shell .sidebar-nav{gap:10px}.app-shell .nav-caption{padding:6px 10px 3px;font-size:9px}.app-shell .nav-item{height:36px;gap:9px;padding-inline:10px;font-size:12px}.app-shell .nav-item>span{font-size:15px}.app-shell .sidebar-bottom .offline{padding:10px 6px}.app-shell .profile{padding:10px 4px 2px;gap:8px}.app-shell .avatar{width:29px;height:29px;flex-basis:29px}.app-shell .profile-name b{font-size:10px}.app-shell .profile-name span{font-size:9px}.app-shell .main-area{font-size:13px}.app-shell .topbar{min-height:58px;padding:7px 24px;gap:10px}.app-shell .topbar-leading{gap:12px}.app-shell .sidebar-toggle{flex-basis:32px;width:32px;height:32px;font-size:13px}.app-shell .crumb,.app-shell .today{font-size:10px}.app-shell .theme-button{height:31px;padding-inline:9px;font-size:10px}.app-shell .content{padding:24px 28px 18px}.app-shell .customer-page-heading{gap:14px;margin-bottom:16px}.app-shell .customer-page-heading h1,.app-shell .customer-profile-title h1{font-size:21px;letter-spacing:-.45px}.app-shell .customer-page-heading p{font-size:10.5px}.app-shell .primary,.app-shell .danger-button{min-height:34px;height:34px;padding-inline:12px;border-radius:6px;font-size:10px}.app-shell .secondary-button{height:29px;min-height:29px;padding-inline:9px;border-radius:5px;font-size:9.5px}.app-shell .icon-button{font-size:15px}.app-shell .panel,.app-shell .customer-panel{padding:14px}.app-shell .section-title{margin-bottom:11px}.app-shell .section-title h2,.app-shell .panel-head h3{font-size:12px}.app-shell .metric-grid,.app-shell .lower-grid{gap:10px}.app-shell .metric-card{padding:12px 13px 10px;border-radius:9px}.app-shell .metric-card>strong{font-size:21px;margin-top:8px}.app-shell .overview-dashboard{gap:14px}.app-shell .overview-heading h1{font-size:1.55rem}.app-shell .overview-heading p,.app-shell .overview-period-row{font-size:11px}.app-shell .overview-kpi{min-height:108px;padding:13px}.app-shell .overview-kpi-value{font-size:21px}.app-shell .overview-chart-panel,.app-shell .overview-operations-panel{padding:14px}.app-shell .customer-toolbar{gap:8px;padding:11px}.app-shell .customer-search{height:36px;min-height:36px;padding-inline:9px}.app-shell .customer-filter select,.app-shell .finance-filters select{height:34px;min-height:34px;padding-inline:8px;font-size:10px}.app-shell .customer-table th{padding:8px 10px}.app-shell .customer-table td{padding:8px 10px;font-size:10px}.app-shell .customer-table small{font-size:9px}.app-shell .customer-list-footer{min-height:44px;padding:7px 10px;font-size:9.5px}.app-shell .customer-list-footer .secondary-button{height:27px;min-height:27px}.app-shell .customer-modal-backdrop,.app-shell .modal-backdrop{padding:16px}.app-shell .customer-editor{max-height:calc(100dvh - 32px);padding:18px}.app-shell .customer-editor-heading{padding-bottom:10px;margin-bottom:8px}.app-shell .customer-editor-heading h2{font-size:18px}.app-shell .customer-editor-heading p{font-size:10px}.app-shell .customer-form-grid{gap:10px 12px}.app-shell .customer-form-grid>label{font-size:10px}.app-shell .customer-form-grid input:not([type=checkbox]),.app-shell .customer-form-grid textarea,.app-shell .customer-form-grid select,.app-shell .finance-form-grid input,.app-shell .finance-form-grid select,.app-shell .finance-form-grid textarea,.app-shell .payroll-form-grid input,.app-shell .payroll-form-grid select,.app-shell .payroll-form-grid textarea{min-height:36px;padding:7px 9px;font-size:12px}.app-shell .customer-form-grid textarea,.app-shell .payroll-form-grid textarea{min-height:64px}.app-shell .customer-form-actions{padding:10px 18px}.app-shell .customer-form-actions button,.app-shell .payroll-actions button{min-height:34px}.app-shell .sales-summary{gap:7px;margin-bottom:14px}.app-shell .sales-summary article{padding:9px 11px}.app-shell .sales-summary article strong{font-size:16px}.app-shell .module-tabs>button,.app-shell .inventory-tabs>button{min-height:36px;padding:0 10px;font-size:10px}.app-shell .reports-module .report-filterbar{gap:9px;padding:10px}.app-shell .reports-module .report-filterbar input,.app-shell .reports-module .report-filterbar select{min-height:34px;padding:6px 8px;font-size:11px}.app-shell .finance-metrics{gap:10px}.app-shell .settings-dialog{padding:16px}.app-shell .payroll-dialog>.panel-head h3{font-size:16px}.auth-wrap{padding:18px}.auth-card{width:min(100%,390px);padding:28px;border-radius:14px}.auth-card h1{font-size:20px}.auth-card>.muted{font-size:11px;margin:8px 0 20px}.auth-card input{height:38px;font-size:13px}.auth-card .primary{height:36px;font-size:10px}.loading-screen{font-size:11px}}@media screen and (max-width:760px){.app-shell .topbar{padding:8px 10px;gap:8px}.app-shell .topbar-leading{gap:9px}.app-shell .sidebar-toggle{flex-basis:38px;width:38px;height:38px}.app-shell .theme-button{height:36px;min-height:36px;padding-inline:8px;font-size:9.5px}.app-shell .content{padding:15px 10px 18px}.app-shell .customer-page-heading h1,.app-shell .customer-profile-title h1{font-size:19px}.app-shell .customer-page-heading p{font-size:10px}.app-shell .primary,.app-shell .danger-button{height:auto;min-height:38px;padding:7px 11px;font-size:10px}.app-shell .secondary-button{height:auto;min-height:36px;padding:6px 9px;font-size:9.5px}.app-shell .customer-toolbar{gap:7px;padding:9px}.app-shell .customer-search{height:36px;min-height:36px}.app-shell .customer-filter select,.app-shell .finance-filters select{height:34px;min-height:34px}.app-shell .customer-table th{padding:7px 8px;font-size:8px}.app-shell .customer-table td{padding:7px 8px;font-size:9.5px}.app-shell .customer-list-footer{padding:8px;font-size:9px}.app-shell .module-tabs>button,.app-shell .inventory-tabs>button{min-height:36px}.app-shell .customer-modal-backdrop,.app-shell .modal-backdrop{padding:8px}.app-shell .customer-editor,.app-shell .settings-dialog{max-height:calc(100dvh - 16px);padding:14px}.app-shell .customer-form-grid input:not([type=checkbox]),.app-shell .customer-form-grid textarea,.app-shell .customer-form-grid select,.app-shell .finance-form-grid input,.app-shell .finance-form-grid select,.app-shell .finance-form-grid textarea,.app-shell .payroll-form-grid input,.app-shell .payroll-form-grid select,.app-shell .payroll-form-grid textarea{min-height:38px;font-size:14px}.app-shell .customer-form-actions{margin-inline:-14px;padding:9px 14px}.auth-wrap{min-height:100svh;padding:14px}.auth-card{width:100%;max-width:380px;padding:22px;border-radius:13px}.auth-card .brand-mark{width:38px;height:38px;margin-bottom:15px}.auth-card h1{font-size:19px}.auth-card>.muted{font-size:11px;margin:7px 0 17px}.auth-card label{font-size:10px;margin:12px 0}.auth-card input{height:38px;font-size:14px}.auth-card .primary{height:38px;font-size:10px}}@media screen and (max-width:380px){.app-shell .sales-summary{grid-template-columns:1fr}.app-shell .theme-button{padding-inline:6px;font-size:9px}.app-shell .customer-header-actions{gap:7px}}@media screen{.app-shell{--shell-sidebar-width:15rem;min-height:100dvh;background:var(--color-background);font-size:13px}.app-shell .sidebar{background:var(--color-surface);border-color:color-mix(in srgb,var(--color-border) 80%,transparent);box-shadow:8px 0 32px #0000001f}.app-shell .side-brand{gap:10px;padding:0 8px 22px}.app-shell .brand-mark.small{width:36px;height:36px;border-radius:11px}.app-shell .side-brand strong{font-size:14px;letter-spacing:-.25px}.app-shell .side-brand span{margin-top:2px;font-size:8px;letter-spacing:.13em}.app-shell .sidebar-nav{gap:13px}.app-shell .nav-group{gap:3px}.app-shell .nav-caption{padding:5px 10px 4px;font-size:9px;letter-spacing:.13em}.app-shell .nav-item{height:39px;gap:10px;padding:0 9px;border-radius:10px;color:var(--color-text-secondary);font-size:12px;font-weight:550;transition:background-color .14s ease,color .14s ease,transform .14s ease}.app-shell .nav-item>span{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:9px;color:var(--color-text-muted);font-size:15px;transition:background-color .14s ease,color .14s ease}.app-shell .nav-item>span svg{display:block;width:16px;height:16px}.app-shell .nav-item:not(.selected):hover{background:color-mix(in srgb,var(--color-primary) 6%,var(--surface));color:var(--color-text-primary)}.app-shell .nav-item.selected{background:linear-gradient(100deg,color-mix(in srgb,var(--color-primary) 17%,var(--surface)),color-mix(in srgb,var(--color-primary) 7%,var(--surface)));color:var(--color-text-primary);box-shadow:inset 2px 0 0 var(--color-primary)}.app-shell .nav-item.selected>span{background:color-mix(in srgb,var(--color-primary) 18%,var(--surface));color:var(--color-primary)}.app-shell[data-language=fa] .nav-item.selected,.app-shell[data-language=ps] .nav-item.selected{box-shadow:inset -2px 0 0 var(--color-primary)}.app-shell .sidebar-bottom .offline{padding:10px 7px;border-color:var(--line);font-size:8px}.app-shell .profile{padding:11px 6px 3px;gap:9px}.app-shell .avatar{width:31px;height:31px;flex-basis:31px;font-size:12px}.app-shell .profile-name b{font-size:10px}.app-shell .profile-name span{font-size:9px}.app-shell .icon-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;border-radius:8px;padding:7px;color:var(--color-text-muted);font-size:10px}.app-shell .icon-button:hover{background:var(--surface2);color:var(--color-text-primary)}.app-shell.sidebar-collapsed .icon-button{width:30px;height:30px;font-size:0}.app-shell.sidebar-collapsed .icon-button:after{content:none}.app-shell .main-area{min-height:100dvh;background:var(--color-background)}.app-shell .topbar{min-height:62px;padding:8px 24px;gap:14px;background:color-mix(in srgb,var(--color-surface) 94%,var(--color-background));border-color:var(--line);box-shadow:0 1px #ffffff04}.app-shell .topbar-leading{gap:12px}.app-shell .sidebar-toggle{width:34px;height:34px;flex-basis:34px;border-radius:9px;color:var(--color-text-secondary);background:var(--surface2)}.app-shell .sidebar-toggle span{display:grid;place-items:center}.app-shell .crumb{font-size:11px}.app-shell .top-actions{gap:7px}.app-shell .global-search{position:relative;width:min(270px,24vw);min-width:175px;height:34px;display:flex;align-items:center;gap:8px;padding:0 10px;border:1px solid var(--line);border-radius:10px;background:var(--surface2);color:var(--color-text-muted)}.app-shell .global-search>span{display:grid;place-items:center;flex:0 0 16px}.app-shell .global-search>span svg{width:15px;height:15px}.app-shell .global-search input{width:100%;min-width:0;background:transparent;color:var(--text);font-size:11px}.app-shell .global-search input::placeholder{color:var(--color-text-muted)}.app-shell .global-search:focus-within{border-color:color-mix(in srgb,var(--color-primary) 65%,var(--line));box-shadow:0 0 0 3px color-mix(in srgb,var(--color-primary) 13%,transparent)}.app-shell .today{font-size:10px;color:var(--color-text-secondary)}.app-shell .calendar-note{color:var(--color-text-muted)}.app-shell .theme-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;height:33px;padding:0 9px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--color-text-secondary);font-size:10px;font-weight:550;transition:background-color .14s ease,border-color .14s ease,color .14s ease}.app-shell .theme-button:hover{border-color:color-mix(in srgb,var(--color-primary) 50%,var(--line));background:var(--surface2);color:var(--color-text-primary)}.app-shell .theme-button svg{width:14px;height:14px}.app-shell .content{max-width:1480px;padding:25px 30px 24px}.app-shell .customer-page-heading{margin-bottom:18px;gap:18px}.app-shell .customer-page-heading .eyebrow{margin-bottom:5px;color:var(--color-primary);font-size:9px;letter-spacing:.12em}.app-shell .customer-page-heading h1,.app-shell .customer-profile-title h1{font-size:22px;line-height:1.2;letter-spacing:-.5px}.app-shell .customer-page-heading p{margin-top:5px;color:var(--color-text-muted);font-size:11px;line-height:1.45}.app-shell .primary,.app-shell .danger-button{height:34px;min-height:34px;padding:0 12px;border-radius:8px;font-size:10px;font-weight:650;box-shadow:0 3px 10px color-mix(in srgb,var(--color-primary) 14%,transparent)}.app-shell .secondary-button{height:30px;min-height:30px;padding:0 10px;border-radius:8px;background:var(--surface2);font-size:9.5px}.app-shell .panel,.app-shell .customer-panel,.app-shell .customer-list-panel{border-radius:12px;border-color:var(--line);background:var(--surface);box-shadow:0 6px 20px #00000014}.app-shell .panel{padding:15px}.app-shell .panel-head{gap:10px;margin-bottom:12px}.app-shell .panel-head h3,.app-shell .section-title h2{font-size:12px;font-weight:650}.app-shell .panel-head p,.app-shell .section-title p{font-size:10px}.app-shell .customer-module{gap:14px}.app-shell .customer-toolbar{gap:8px;padding:10px;background:color-mix(in srgb,var(--surface) 90%,var(--surface2))}.app-shell .customer-search{height:35px;min-height:35px;border-radius:9px;background:var(--surface2)}.app-shell .customer-filter select,.app-shell .finance-filters select{height:34px;min-height:34px;border-radius:8px}.app-shell .customer-table th{padding:8px 10px;background:var(--surface2);font-size:8px;letter-spacing:.06em}.app-shell .customer-table td{padding:8px 10px;font-size:10px}.app-shell .customer-table tbody tr{transition:background-color .12s ease}.app-shell .customer-table tbody tr:hover{background:color-mix(in srgb,var(--color-primary) 5%,var(--surface))}.app-shell .customer-list-footer{min-height:43px;padding:7px 10px;font-size:9px}.app-shell .module-tabs,.app-shell .inventory-tabs{gap:5px;border-bottom-color:var(--line)}.app-shell .module-tabs>button,.app-shell .inventory-tabs>button{min-height:35px;padding:0 10px;border-radius:8px 8px 0 0;font-size:10px}.app-shell .overview-dashboard{gap:15px}.app-shell .overview-heading{gap:16px;padding:0}.app-shell .overview-heading h1{font-size:24px;letter-spacing:-.55px}.app-shell .overview-subtitle{font-size:11px}.app-shell .overview-date{min-height:58px;padding:10px 12px;border-radius:12px}.app-shell .overview-date>span{width:34px;height:34px;border-radius:9px}.app-shell .overview-date b{font-size:11px}.app-shell .overview-date small{font-size:9px}.app-shell .overview-period-row{padding:9px 11px;border-radius:10px;font-size:10px}.app-shell .overview-kpis{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.app-shell .overview-kpi{min-height:105px;padding:13px;border-radius:12px;background:linear-gradient(145deg,var(--surface),color-mix(in srgb,var(--surface2) 35%,var(--surface)));box-shadow:0 6px 18px #00000014}.app-shell .overview-kpi-top{font-size:10px}.app-shell .overview-kpi-icon{width:30px;height:30px;border-radius:9px;background:color-mix(in srgb,var(--color-primary) 10%,var(--surface))}.app-shell .overview-kpi>strong{margin-top:8px;font-size:19px;letter-spacing:-.35px}.app-shell .overview-kpi>small{margin-top:3px;font-size:9px}.app-shell .overview-main-grid{gap:12px}.app-shell .overview-chart-panel,.app-shell .overview-operations-panel{padding:14px;border-radius:12px}.app-shell .overview-panel-heading h2{font-size:14px}.app-shell .overview-panel-heading p{font-size:10px}.app-shell .overview-operation-row{min-height:54px;padding:7px 8px;border-radius:9px}.app-shell .overview-operation-icon{width:29px;height:29px;border-radius:8px}.app-shell .overview-operation-icon svg{width:15px;height:15px}.app-shell .overview-operation-row b{font-size:10px}.app-shell .overview-operation-row small{font-size:9px}.app-shell .overview-operation-row>strong{font-size:11px}.app-shell .overview-operation-arrow svg{width:14px;height:14px}.app-shell .sales-summary article{padding:9px 11px;border-radius:10px}.app-shell .sales-summary article span,.app-shell .sales-summary article small{font-size:9px}.app-shell .sales-summary article strong{font-size:16px}.app-shell input:not([type=checkbox]):not([type=radio]),.app-shell select,.app-shell textarea{border-radius:8px;font-size:12px}.app-shell .customer-form-grid input:not([type=checkbox]),.app-shell .customer-form-grid textarea,.app-shell .customer-form-grid select,.app-shell .finance-form-grid input,.app-shell .finance-form-grid select,.app-shell .finance-form-grid textarea,.app-shell .payroll-form-grid input,.app-shell .payroll-form-grid select,.app-shell .payroll-form-grid textarea{min-height:36px;padding:7px 9px;font-size:12px}.app-shell .customer-modal-backdrop,.app-shell .modal-backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.app-shell .customer-editor{width:min(820px,100%);max-height:calc(100dvh - 36px);padding:18px;border-radius:14px}.app-shell .settings-dialog{border-radius:12px}.app-shell .error-box,.app-shell .customer-load-error{border-radius:9px}.app-shell .readonly-access-banner{margin:10px 20px 0;border-radius:9px;font-size:10px}.app-shell[data-theme=light] .panel,.app-shell[data-theme=light] .customer-list-panel,.app-shell[data-theme=light] .customer-panel{box-shadow:0 5px 16px #1e30500b}}@media screen and (max-width:760px){.app-shell{--shell-sidebar-width:15rem}.app-shell .topbar{padding:8px 10px;gap:7px}.app-shell .topbar-leading{gap:8px}.app-shell .top-actions{gap:6px}.app-shell .global-search{height:34px;min-width:0;width:100%}.app-shell .theme-button{height:32px;padding:0 7px;font-size:9px}.app-shell .content{padding:16px 11px 22px}.app-shell .customer-page-heading h1,.app-shell .customer-profile-title h1{font-size:20px}.app-shell .overview-heading h1{font-size:21px}.app-shell .overview-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.app-shell .overview-kpi{min-height:96px;padding:10px}.app-shell .overview-kpi>strong{font-size:17px}.app-shell .overview-main-grid{grid-template-columns:minmax(0,1fr)}.app-shell .overview-date{width:100%}.app-shell .sales-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell .customer-toolbar{padding:8px}.app-shell .customer-table-wrap{overflow-x:auto}.app-shell .customer-table{min-width:640px}.app-shell .customer-editor{width:100%;max-width:100%;max-height:calc(100dvh - 16px);padding:14px}.app-shell .customer-form-grid input:not([type=checkbox]),.app-shell .customer-form-grid textarea,.app-shell .customer-form-grid select,.app-shell .finance-form-grid input,.app-shell .finance-form-grid select,.app-shell .finance-form-grid textarea,.app-shell .payroll-form-grid input,.app-shell .payroll-form-grid select,.app-shell .payroll-form-grid textarea{min-height:38px;font-size:14px}.app-shell .customer-form-actions button,.app-shell .finance-actions button,.app-shell .payroll-actions button{min-height:38px}}@media screen and (max-width:380px){.app-shell .sales-summary,.app-shell .overview-kpis{grid-template-columns:minmax(0,1fr)}}.security-viewers-panel{margin:16px 0;padding:20px}.security-viewer-form{display:grid;grid-template-columns:minmax(180px,1fr) minmax(200px,1fr) auto;align-items:end;gap:12px;padding:14px 0}.security-viewer-form label{display:grid;gap:7px;color:var(--text);font-size:12px;font-weight:650}.security-viewer-form input{width:100%;min-width:0;min-height:40px;padding:9px 11px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--text)}.security-viewer-form input:focus{outline:2px solid var(--accent);outline-offset:1px}.security-viewer-note{margin:0 0 14px;color:var(--muted);font-size:11px}.security-viewers-panel .customer-table-wrap{margin-top:6px}.readonly-access-banner{margin:12px 24px 0;padding:10px 14px;border:1px solid color-mix(in srgb,var(--color-info,#38bdf8) 38%,var(--color-border));border-radius:8px;background:color-mix(in srgb,var(--color-info,#38bdf8) 10%,var(--color-surface));color:var(--text);font-size:12px;font-weight:650}.app-shell[data-role=viewer] .top-actions>button[aria-label^="Switch to"]{cursor:pointer}@media(max-width:850px){.security-viewer-form{grid-template-columns:1fr}.readonly-access-banner{margin:10px 16px 0}}
