:root{--bg: #f4f7fb;--surface: #ffffff;--surface-soft: #f8fafc;--surface-blue: #edf4ff;--border: #dbe5f0;--border-strong: #cbd5e1;--text: #06123d;--muted: #64718c;--primary: #075bf7;--primary-dark: #003b9e;--navy: #061a3d;--navy-dark: #02112b;--navy-soft: rgba(255, 255, 255, .08);--success: #15803d;--warning: #b45309;--danger: #b91c1c;--purple: #7c3aed;--shadow: 0 18px 40px rgba(7, 24, 61, .1);--shadow-soft: 0 8px 22px rgba(7, 24, 61, .06);font-family:Segoe UI,Arial,sans-serif}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:var(--bg);color:var(--text)}body[data-current-route=products],body[data-current-route=labels],body[data-current-route=suppliers],body[data-current-route=stock-orders],body[data-current-route=expiry-returns],body[data-current-route=employees]{height:100vh;overflow:hidden}h1,h2,h3,p{margin:0}p{color:var(--muted);font-size:13px;line-height:1.45}button,input,select{font:inherit}.portal-root{display:flow-root;min-height:100vh}.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;clip-path:inset(50%)!important}.login-view{width:min(1180px,calc(100vw - 32px));margin:30px auto}.login-brand-card,.login-card,.card,.scope-panel,.topbar,.planned-panel,.forbidden-panel,.message-card,.summary-card{background:var(--surface);border:1px solid var(--border);border-radius:14px;box-shadow:var(--shadow-soft)}.login-brand-card{display:flex;align-items:center;gap:16px;padding:20px 22px}.login-card{margin-top:16px;padding:22px}.password-change-view{width:min(560px,calc(100vw - 32px));margin-top:max(30px,8vh)}.password-change-brand{padding:17px 20px}.password-change-brand h1{font-size:24px}.password-change-card{padding:24px}.password-change-heading{align-items:flex-start}.password-change-icon{width:48px;height:48px;border-radius:12px;background:#edf4ff}.password-change-icon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.password-change-notice{margin-top:18px;border:1px solid #cfe0ff;border-radius:10px;background:#f4f8ff;padding:12px 14px}.password-change-notice strong{color:#183153;font-size:13px}.password-change-notice p{margin-top:4px;font-size:12px}.password-change-card .password-change-form{grid-template-columns:1fr;gap:13px;margin-top:18px}.password-change-status{border:1px solid var(--border);border-radius:9px;background:#f8fafc;padding:10px 12px}.password-change-status.error{border-color:#fecaca;background:#fff7f7;color:var(--danger)}.password-change-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:2px}.password-change-actions button{min-width:0;white-space:nowrap}.brand-mark,.section-icon,.summary-icon{display:inline-grid;place-items:center;flex:0 0 auto;width:42px;height:42px;border-radius:10px;background:#eaf2ff;color:var(--primary);font-size:15px;font-weight:800;letter-spacing:0}.brand-mark{background:var(--primary);color:#fff;font-size:18px}.cart-mark{background:#ffd21f;color:var(--navy-dark);box-shadow:0 8px 18px #ffd21f2e}.section-title{display:flex;align-items:center;gap:14px}.section-title.compact{margin-bottom:16px}h1{font-size:28px;line-height:1.1}h2{font-size:22px;line-height:1.2}h3{font-size:15px;line-height:1.25}.app-shell{display:grid;grid-template-columns:270px minmax(0,1fr);min-height:100vh}body[data-sidebar-collapsed=true] .app-shell{grid-template-columns:minmax(0,1fr)}body[data-current-route=products] .app-shell,body[data-current-route=labels] .app-shell,body[data-current-route=suppliers] .app-shell,body[data-current-route=stock-orders] .app-shell,body[data-current-route=expiry-returns] .app-shell,body[data-current-route=employees] .app-shell{height:100vh;min-height:0;overflow:hidden}.sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;gap:18px;padding:20px 14px 18px;border-right:0;background:linear-gradient(180deg,var(--navy) 0%,var(--navy-dark) 100%);color:#fff}.sidebar-brand{display:flex;align-items:center;min-height:66px;margin:0 -5px 2px;overflow:hidden}.sidebar-logo{width:250px;max-width:100%;max-height:62px;object-fit:contain;object-position:left center}.sidebar-brand strong{display:block;color:#fff;font-size:25px;line-height:1.1}.sidebar-brand span:not(.brand-mark),.sidebar-scope span,.session-chip span,.topbar-title span{color:var(--muted);font-size:12px;font-weight:700}.sidebar-brand span:not(.brand-mark),.sidebar-scope span{color:#ffffffad}.sidebar-scope{display:none;gap:4px;padding:12px 14px;border:1px solid rgba(255,255,255,.1);border-radius:12px;background:#ffffff0f}.sidebar-scope strong{overflow:hidden;color:#fff;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.primary-nav{display:flex;flex:1;flex-direction:column;gap:14px;overflow:auto;padding-right:4px}.nav-group{display:grid;gap:6px}.nav-button{width:100%;min-height:44px;display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:8px;border:1px solid transparent;border-radius:9px;background:transparent;color:#ffffffdb;cursor:pointer;padding:9px 10px;text-align:left}.nav-button:hover{border-color:#ffffff24;background:#ffffff14}.nav-button.active{border-color:#4087fffa;background:linear-gradient(135deg,#0c6bff,#075bf7);color:#fff;box-shadow:0 12px 24px #075bf747}.nav-icon{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:8px;background:#ffffff1c;color:#fff;font-size:12px;font-weight:850}.nav-icon svg,.icon-button svg,.global-search svg,.topbar-control-icon svg,.topbar-caret{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.nav-button.active .nav-icon{background:#fff3}.nav-label{font-size:14px;font-weight:750;white-space:normal;overflow-wrap:anywhere}.shell-main{min-width:0;padding:0 16px 14px}body[data-current-route=products] .shell-main,body[data-current-route=labels] .shell-main,body[data-current-route=suppliers] .shell-main,body[data-current-route=stock-orders] .shell-main,body[data-current-route=expiry-returns] .shell-main,body[data-current-route=employees] .shell-main{height:100vh;min-height:0;display:flex;flex-direction:column;overflow:hidden}.topbar{display:flex;align-items:center;gap:16px;min-height:62px;margin:0 -16px 12px;padding:8px 16px;border-top:0;border-right:0;border-left:0;border-radius:0;box-shadow:none}.topbar-title{flex:1 1 220px;min-width:0}.topbar-title h1{margin-top:3px;font-size:24px}.topbar-title p{margin-top:6px}.topbar-actions{display:flex;align-items:center;gap:14px;margin-left:auto}.icon-button{display:inline-grid;place-items:center;width:42px;height:42px;border:1px solid var(--border);border-radius:10px;background:#fff;color:var(--primary-dark);font-weight:850;cursor:pointer}.topbar-menu-button{width:34px;height:42px;border:0;border-radius:0;background:transparent;color:var(--text)}.global-search{flex:1 1 500px;max-width:560px;min-width:300px;display:flex;align-items:center;gap:10px;height:44px;padding:0 14px;border:1px solid var(--border);border-radius:9px;background:#fff}.global-search .topbar-control-icon{display:inline-grid;place-items:center;color:var(--primary);font-size:12px;font-weight:850}.global-search input{width:100%;background:transparent;border:0;outline:0;color:var(--text);font-size:14px}.topbar-filter-chip{position:relative;min-width:174px;height:44px;display:grid;grid-template-columns:22px minmax(0,1fr) 18px;align-items:center;column-gap:10px;padding:0 12px;border:1px solid var(--border);border-radius:9px;background:#fff}.topbar-filter-chip[data-topbar-date-range]{min-width:268px}.topbar-control-icon{display:inline-grid;place-items:center;color:var(--primary-dark)}.topbar-filter-text{display:grid;gap:1px;min-width:0}.topbar-caret{width:16px;height:16px;color:var(--muted)}.topbar-filter-text span{color:var(--muted);font-size:11px;font-weight:800}.topbar-filter-text strong{overflow:hidden;color:var(--text);font-size:13px;text-overflow:ellipsis;white-space:nowrap}.topbar-business-select{position:absolute;inset:0;width:100%;height:100%;border:0;padding:0;margin:0;background:transparent;color:transparent;cursor:pointer;outline:0;opacity:0}.topbar-business-select option{background:#fff;color:var(--text)}.topbar-filter-chip[data-topbar-isletme-selector] .topbar-filter-text,.topbar-filter-chip[data-topbar-isletme-selector] .topbar-control-icon,.topbar-filter-chip[data-topbar-isletme-selector] .topbar-caret{pointer-events:none}.topbar-profile{display:grid;grid-template-columns:42px minmax(120px,auto) 34px;align-items:center;gap:10px;padding-left:14px;border-left:1px solid var(--border)}.topbar-avatar{display:inline-grid;place-items:center;width:42px;height:42px;border:3px solid #fff;border-radius:999px;background:linear-gradient(135deg,#eaf2ff,#c9ddff);color:var(--primary-dark);box-shadow:0 6px 16px #0f172a1a;font-size:12px;font-weight:850}.topbar-profile-text{display:grid;min-width:0;gap:2px}.topbar-profile-text strong{overflow:hidden;max-width:150px;color:var(--text);font-size:14px;font-weight:850;line-height:1.15;text-overflow:ellipsis;white-space:nowrap}.topbar-profile-text span{color:var(--muted);font-size:12px;font-weight:700}.profile-menu-button{display:inline-grid;place-items:center;width:34px;height:34px;padding:0;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--primary-dark);cursor:pointer}.profile-menu-button:hover,.profile-menu-button:focus-visible{border-color:#bfdbfe;background:#eff6ff;color:var(--primary);outline:none}.profile-menu-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.sidebar-user-card{display:grid;grid-template-columns:48px minmax(0,1fr);gap:12px;align-items:center;margin-top:auto;padding:14px;border:1px solid rgba(255,255,255,.1);border-radius:13px;background:#ffffff14}.sidebar-user-card .sidebar-avatar{display:inline-grid;place-items:center;width:48px;height:48px;border:3px solid #fff;border-radius:999px;background:#e5efff;color:var(--primary-dark);font-weight:850}.sidebar-user-card strong,.sidebar-user-card span,.sidebar-user-card small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-user-card strong{color:#fff;font-size:15px}.sidebar-user-card span{margin-top:2px;color:#ffffffb8;font-size:13px}.sidebar-user-card small{margin-top:8px;color:#7ddc9c;font-size:12px;font-weight:800}.scope-panel{display:none;margin-top:16px;padding:18px}.scope-grid,.form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px}.route-content{margin-top:12px}body[data-portal-role=system-admin]{overflow:hidden}body[data-portal-role=system-admin] .app-shell{height:100vh;min-height:0;overflow:hidden}body[data-portal-role=system-admin] .shell-main{display:flex;min-height:0;height:100vh;flex-direction:column;overflow:hidden}body[data-portal-role=system-admin] .global-search,body[data-portal-role=system-admin] .topbar-filter-chip{display:none}body[data-portal-role=system-admin] .topbar{flex:0 0 62px;margin-bottom:0}.admin-topbar-route{min-width:132px;height:42px;display:inline-flex;align-items:center;gap:10px;padding:0 14px;border:1px solid var(--border);border-radius:9px;background:#fff;color:var(--text)}.admin-topbar-route svg{width:19px;height:19px;fill:none;stroke:var(--primary-dark);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.admin-topbar-route strong{font-size:14px;font-weight:850}body[data-portal-role=system-admin] .route-content{flex:1 1 auto;min-height:0;margin-top:14px;overflow:hidden}.admin-dashboard{height:100%;min-height:0;display:grid;grid-template-rows:max-content max-content max-content minmax(210px,.9fr) minmax(210px,1fr);gap:12px;overflow:auto;scrollbar-gutter:stable}.admin-dashboard-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.admin-dashboard-kpi{min-width:0;display:grid;grid-template-columns:58px minmax(0,1fr) 18px;align-items:center;gap:14px;padding:12px 16px;border:1px solid var(--border);border-radius:9px;background:#fff;color:var(--text);box-shadow:var(--shadow);text-align:left}button.admin-dashboard-kpi{cursor:pointer}button.admin-dashboard-kpi:hover{border-color:#b8cff8;box-shadow:0 12px 28px #1e40af1a}.admin-dashboard-kpi.warning{grid-template-columns:58px minmax(0,1fr)}.admin-dashboard-kpi-icon,.admin-dashboard-quick-icon{display:inline-grid;place-items:center;width:58px;height:58px;border-radius:13px}.admin-dashboard-kpi-icon svg,.admin-dashboard-quick-icon svg,.admin-dashboard-chevron{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.admin-dashboard-kpi-icon.blue,.admin-dashboard-quick-icon.blue{color:#075bf7;background:#eaf2ff}.admin-dashboard-kpi-icon.green,.admin-dashboard-quick-icon.green{color:#0aa950;background:#e8f8ef}.admin-dashboard-kpi-icon.purple,.admin-dashboard-quick-icon.purple{color:#6d28d9;background:#f1ebff}.admin-dashboard-kpi-icon.orange{color:#f07800;background:#fff2e2}.admin-dashboard-kpi>span:nth-child(2){min-width:0}.admin-dashboard-kpi small,.admin-dashboard-kpi em{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-dashboard-kpi small{color:var(--text);font-size:12px;font-style:normal;font-weight:800}.admin-dashboard-kpi strong{display:block;margin-top:3px;color:var(--primary);font-size:25px;line-height:1}.admin-dashboard-kpi:nth-child(2) strong{color:#0aa950}.admin-dashboard-kpi:nth-child(3) strong{color:#6d28d9}.admin-dashboard-kpi.warning strong{color:#b45309}.admin-dashboard-kpi em{margin-top:6px;color:var(--muted);font-size:11px;font-style:normal}.admin-dashboard-kpi em b{color:inherit}.admin-dashboard-chevron{width:17px;height:17px;color:#274579}.admin-dashboard-panel{min-height:0;overflow:hidden;border:1px solid var(--border);border-radius:9px;background:#fff;box-shadow:var(--shadow)}.admin-dashboard-panel h2{font-size:14px;font-weight:850}.admin-dashboard-quick-panel{padding:12px 14px}.admin-storage-operations{padding:14px}.admin-storage-operations>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.admin-storage-operations>header p{margin:4px 0 0;color:var(--muted);font-size:12px}.admin-storage-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}.admin-storage-grid>div{min-width:0;padding:10px 12px;border:1px solid var(--border);border-radius:8px;background:#f8fbff}.admin-storage-grid small,.admin-storage-grid strong{display:block}.admin-storage-grid small{color:var(--muted);font-size:11px}.admin-storage-grid strong{margin-top:5px;overflow:hidden;color:var(--text);font-size:13px;text-overflow:ellipsis;white-space:nowrap}@media(max-width:980px){.admin-storage-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.admin-dashboard-quick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:10px}.admin-dashboard-quick-grid>button{min-width:0;height:72px;display:grid;grid-template-columns:50px minmax(0,1fr) 18px;align-items:center;gap:12px;padding:9px 14px;border:1px solid var(--border);border-radius:8px;background:#fff;color:var(--text);text-align:left;cursor:pointer}.admin-dashboard-quick-grid>button:hover{border-color:#b8cff8}.admin-dashboard-quick-icon{width:50px;height:50px}.admin-dashboard-quick-icon svg{width:25px;height:25px}.admin-dashboard-quick-grid strong,.admin-dashboard-quick-grid small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-dashboard-quick-grid strong{font-size:13px}.admin-dashboard-quick-grid small{margin-top:4px;color:var(--muted);font-size:11px}.admin-dashboard-pending-panel,.admin-dashboard-recent-panel{display:flex;flex-direction:column;padding:0 14px 8px}.admin-dashboard-pending-panel>header,.admin-dashboard-recent-header{flex:0 0 40px;display:flex;align-items:center;justify-content:space-between;gap:16px}.admin-dashboard-recent-header{flex-basis:56px;align-items:flex-start;padding-top:9px}.admin-dashboard-recent-header>div{display:flex;align-items:flex-start;gap:24px}.admin-dashboard-recent-header .text-button{margin-top:7px}.admin-dashboard-tabs{display:flex;gap:22px}.admin-dashboard-tabs button{position:relative;height:30px;border:0;background:transparent;color:var(--muted);font-size:12px;font-weight:800;cursor:pointer}.admin-dashboard-tabs button.active{color:var(--primary)}.admin-dashboard-tabs button.active:after{content:"";position:absolute;right:0;bottom:-1px;left:0;height:2px;border-radius:999px;background:var(--primary)}.admin-dashboard-table-scroll{flex:1 1 auto;min-height:0;overflow:auto;border:1px solid #e5ecf7;border-radius:7px}.admin-dashboard-table{width:100%;min-width:940px;border-collapse:collapse;table-layout:fixed}.admin-dashboard-table th,.admin-dashboard-table td{height:37px;padding:7px 10px;border-bottom:1px solid #e8eef7;color:#18315f;font-size:11px;text-align:left;vertical-align:middle}.admin-dashboard-table th{position:sticky;top:0;z-index:1;background:#f8faff;color:var(--text);font-size:10px;font-weight:850}.admin-dashboard-table tbody tr:last-child td{border-bottom:0}.admin-dashboard-table td strong{display:block;overflow:hidden;color:var(--text);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.admin-dashboard-empty{height:78px!important;color:var(--muted)!important;text-align:center!important}.admin-dashboard-count{flex:0 0 22px;padding-top:6px;color:var(--muted);font-size:10px}.admin-type-pill,.admin-setup-pill,.admin-status-pill{display:inline-flex;align-items:center;min-height:20px;padding:2px 8px;border-radius:999px;font-size:10px;font-weight:800;white-space:nowrap}.admin-type-pill.blue{color:#075bf7;background:#eaf2ff}.admin-type-pill.green{color:var(--success);background:#e5f8ed}.admin-setup-pill{color:var(--warning);background:#fff1e5}.admin-setup-pill.complete,.admin-status-pill.active{color:var(--success);background:#e5f8ed}.admin-status-pill.passive{color:#5d6c82;background:#eef2f7}.admin-table-action,.admin-icon-action{min-height:28px;padding:4px 10px;border:1px solid #9bbcff;border-radius:6px;background:#fff;color:var(--primary);font-size:10px;font-weight:800;cursor:pointer}.admin-icon-action{min-width:34px;border-color:var(--border);color:#375485;letter-spacing:1px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;clip-path:inset(50%)}.admin-list-view{position:relative;height:100%;min-height:0;display:grid;grid-template-rows:96px 84px minmax(0,1fr);gap:12px;overflow:hidden}.admin-list-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.admin-list-kpi{min-width:0;display:grid;grid-template-columns:54px minmax(0,1fr);align-items:center;gap:13px;padding:12px 16px;border:1px solid var(--border);border-radius:9px;background:#fff;box-shadow:var(--shadow)}.admin-list-kpi-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:13px}.admin-list-kpi-icon svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.admin-list-kpi.blue .admin-list-kpi-icon{color:#075bf7;background:#eaf2ff}.admin-list-kpi.green .admin-list-kpi-icon{color:#0aa950;background:#e8f8ef}.admin-list-kpi.red .admin-list-kpi-icon{color:#ef3340;background:#fff0f2}.admin-list-kpi.orange .admin-list-kpi-icon{color:#f07800;background:#fff2e2}.admin-list-kpi small,.admin-list-kpi em{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-list-kpi small{color:#182952;font-size:12px;font-weight:850}.admin-list-kpi strong{display:block;margin-top:4px;color:#075bf7;font-size:24px;line-height:1}.admin-list-kpi.green strong{color:#0aa950}.admin-list-kpi.red strong{color:#ef3340}.admin-list-kpi.orange strong{color:#b45309}.admin-list-kpi em{margin-top:6px;color:var(--muted);font-size:11px;font-style:normal}.admin-list-toolbar{min-width:0;display:grid;grid-template-columns:minmax(320px,1.3fr) minmax(170px,.42fr) minmax(190px,.46fr) minmax(20px,1fr) auto auto;align-items:end;gap:14px;padding:12px 16px;border:1px solid var(--border);border-radius:9px;background:#fff;box-shadow:var(--shadow)}.admin-list-toolbar label{position:relative;min-width:0;margin:0;color:#42547b;font-size:10px;font-weight:800}.admin-list-toolbar input,.admin-list-toolbar select{width:100%;height:40px;min-height:40px;margin-top:5px;border-radius:7px;font-size:12px}.admin-list-search{align-self:end}.admin-list-search input{margin-top:0;padding-right:42px}.admin-list-search svg{position:absolute;top:50%;right:13px;width:18px;height:18px;transform:translateY(-50%);fill:none;stroke:#365889;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}.admin-list-toolbar .admin-list-refresh,.admin-list-toolbar .admin-list-create{min-height:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:7px 16px;border-radius:7px;white-space:nowrap}.admin-list-refresh svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.admin-list-create span{font-size:19px;font-weight:500}.admin-list-table-panel{min-width:0;min-height:0;display:grid;grid-template-rows:minmax(0,1fr) 46px;overflow:hidden;border:1px solid var(--border);border-radius:9px;background:#fff;box-shadow:var(--shadow)}.admin-list-table-scroll{min-width:0;min-height:0;overflow:auto;scrollbar-gutter:stable}.admin-list-table{width:100%;min-width:1280px;border-collapse:collapse;table-layout:fixed}.admin-list-table th,.admin-list-table td{height:49px;padding:8px 12px;overflow:hidden;border-bottom:1px solid #e7edf6;color:#1b3562;font-size:11px;text-align:left;text-overflow:ellipsis;vertical-align:middle;white-space:nowrap}.admin-list-table th{position:sticky;top:0;z-index:2;height:40px;background:#f8faff;color:#0d1e44;font-size:10px;font-weight:900}.admin-list-table tbody tr:hover{background:#f7faff}.admin-patron-name-col{width:15%}.admin-patron-user-col{width:12%}.admin-patron-phone-col{width:11%}.admin-patron-count-col{width:10%}.admin-patron-date-col{width:12%}.admin-patron-status-col{width:7%}.admin-patron-actions-col{width:9%}.admin-person-cell{min-width:0;display:inline-flex;align-items:center;gap:10px}.admin-person-cell strong{overflow:hidden;color:#0b1b42;text-overflow:ellipsis;white-space:nowrap}.admin-person-avatar{display:inline-grid;place-items:center;width:30px;height:30px;flex:0 0 30px;border-radius:50%;color:#6d28d9;background:#f1ebff;font-size:10px;font-weight:900}.admin-count-link{color:var(--primary);font-weight:850}.admin-missing-pill{display:inline-flex;min-height:22px;align-items:center;padding:2px 8px;border-radius:999px;color:var(--warning);background:#fff2e6;font-size:10px;font-weight:800}.admin-row-actions{display:inline-flex;align-items:center;gap:7px}.admin-row-actions button{width:32px;height:32px;min-height:32px;display:inline-grid;place-items:center;padding:0;border-radius:7px;color:#234678;background:#fff}.admin-row-actions button:hover{color:var(--primary);background:#eef5ff}.admin-row-actions svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.admin-list-empty{height:120px!important;color:var(--muted)!important;text-align:center!important}.admin-list-footer{min-width:0;display:grid;grid-template-columns:minmax(220px,1fr) auto minmax(220px,1fr);align-items:center;gap:16px;padding:5px 14px;border-top:1px solid #e7edf6}.admin-list-footer p{margin:0;color:var(--muted);font-size:11px}.admin-list-pagination{display:flex;align-items:center;justify-content:center;gap:6px}.admin-list-pagination button{width:32px;height:32px;min-height:32px;padding:0;border-radius:7px;color:#244673;background:#fff;font-size:11px}.admin-list-pagination button.active{border-color:var(--primary);color:#fff;background:var(--primary)}.admin-list-pagination span{color:var(--muted);font-size:12px}.admin-list-page-size{justify-self:end;margin:0}.admin-list-page-size select{width:112px;height:34px;min-height:34px;padding:4px 9px;border-radius:7px;color:#173263;font-size:11px;font-weight:800}.admin-drawer-backdrop{position:fixed;inset:55px 0 0 270px;z-index:70;background:#0f172a57;backdrop-filter:blur(1px)}.admin-drawer{position:fixed;top:55px;right:0;bottom:0;z-index:71;width:min(480px,100vw);display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden;border-left:1px solid var(--border);background:#fff;box-shadow:-18px 0 48px #0f172a2e}.admin-drawer-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:20px 22px 17px;border-bottom:1px solid var(--border)}.admin-drawer-header span{color:var(--primary);font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.admin-drawer-header h2{margin:4px 0 0;color:#071943;font-size:21px;font-weight:900}.admin-drawer-header p{margin:5px 0 0;color:var(--muted);font-size:11px}.admin-drawer-close{flex-shrink:0;width:36px;height:36px;min-height:36px;display:grid;place-items:center;padding:0;border:0;border-radius:8px;background:#f4f7fb;color:#273c66;font-size:24px;line-height:1}.admin-drawer-scroll{min-height:0;overflow-y:auto;scrollbar-gutter:stable;padding:18px 22px 24px}.admin-drawer-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:18px}.admin-drawer-summary>div{min-width:0;padding:11px 12px;border:1px solid #e3eaf5;border-radius:8px;background:#f8faff}.admin-drawer-summary span,.admin-drawer-summary strong{display:block}.admin-drawer-summary span{color:var(--muted);font-size:10px;font-weight:750}.admin-drawer-summary strong{margin-top:5px;overflow:hidden;color:#0a1c46;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.admin-drawer-summary .admin-status-pill{display:inline-flex}.admin-drawer-form,.admin-password-fields{display:grid;gap:13px}.admin-drawer-form label,.admin-password-fields label{margin:0;color:#263a65;font-size:11px;font-weight:800}.admin-drawer-form input,.admin-password-fields input{width:100%;min-height:42px;margin-top:6px;border-radius:8px;font-size:12px}.admin-drawer-form input[readonly]{color:#5d6c82;background:#f1f5f9;cursor:not-allowed}.admin-drawer-form label small{display:block;margin-top:5px;color:var(--muted);font-size:9px;font-weight:650}.admin-drawer-status{margin:0;padding:9px 11px;border-radius:7px;color:#31517e;background:#eef5ff;font-size:11px}.admin-drawer-status.error{color:#b4232d;background:#fff0f2}.admin-drawer-primary-actions{display:grid;grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);gap:10px;margin-top:3px}.admin-drawer-primary-actions button,.admin-drawer-wide-button{min-height:44px;border-radius:8px;font-size:12px}.admin-drawer-lifecycle{display:grid;gap:12px;margin-top:20px;padding-top:18px;border-top:1px solid var(--border)}.admin-drawer-lifecycle h3{margin:0;color:#0b1c44;font-size:14px}.admin-drawer-lifecycle>p{margin:-5px 0 0;color:var(--muted);font-size:10px;line-height:1.45}.success-button{border-color:#0aa950;color:#07803e;background:#ecfdf3}.admin-drawer-wide-button{width:100%}#adminLifecycleView{height:100%;min-height:0;overflow:hidden}#adminLifecycleView>.dashboard-grid,#adminLifecycleView>.content-grid{display:none!important}.admin-business-table,.admin-register-table{min-width:1360px}.admin-business-table th,.admin-business-table td,.admin-register-table th,.admin-register-table td{width:auto}.admin-drawer-form select,.admin-drawer-form textarea{width:100%;margin-top:6px;border:1px solid var(--border);border-radius:8px;background:#fff;color:var(--text);font:inherit}.admin-drawer-form select{min-height:42px;padding:8px 11px}.admin-drawer-form textarea{min-height:84px;resize:vertical;padding:10px 12px}.admin-sensitive-note{margin:0;padding:9px 11px;border-radius:7px;color:#8a4b00;background:#fff7e8;font-size:10px;line-height:1.45}.admin-inline-check{display:flex;align-items:center;gap:8px}.admin-inline-check input{width:17px;height:17px;min-height:17px;margin:0}body[data-current-route=products] .global-search,body[data-current-route=labels] .global-search,body[data-current-route=suppliers] .global-search,body[data-current-route=stock-orders] .global-search,body[data-current-route=expiry-returns] .global-search,body[data-current-route=employees] .global-search,body[data-current-route=products] .topbar-filter-chip[data-topbar-date-range],body[data-current-route=labels] .topbar-filter-chip[data-topbar-date-range],body[data-current-route=suppliers] .topbar-filter-chip[data-topbar-date-range],body[data-current-route=stock-orders] .topbar-filter-chip[data-topbar-date-range],body[data-current-route=expiry-returns] .topbar-filter-chip[data-topbar-date-range],body[data-current-route=employees] .topbar-filter-chip[data-topbar-date-range]{display:none}body[data-current-route=products] #scopePanel,body[data-current-route=labels] #scopePanel,body[data-current-route=suppliers] #scopePanel,body[data-current-route=stock-orders] #scopePanel,body[data-current-route=expiry-returns] #scopePanel,body[data-current-route=employees] #scopePanel{display:none!important}body[data-current-route=products] .topbar,body[data-current-route=labels] .topbar,body[data-current-route=suppliers] .topbar,body[data-current-route=stock-orders] .topbar,body[data-current-route=expiry-returns] .topbar,body[data-current-route=employees] .topbar{flex:0 0 58px;min-height:58px;margin-bottom:10px}body[data-current-route=products] .topbar-actions,body[data-current-route=labels] .topbar-actions,body[data-current-route=suppliers] .topbar-actions,body[data-current-route=stock-orders] .topbar-actions,body[data-current-route=expiry-returns] .topbar-actions,body[data-current-route=employees] .topbar-actions{margin-left:auto}body[data-current-route=dashboard]:not([data-portal-role=system-admin]){height:100vh;overflow:hidden}body[data-current-route=dashboard]:not([data-portal-role=system-admin]) .app-shell{height:100vh;min-height:0;overflow:hidden}body[data-current-route=dashboard]:not([data-portal-role=system-admin]) .shell-main{height:100vh;min-height:0;display:flex;flex-direction:column;overflow:hidden}body[data-current-route=dashboard]:not([data-portal-role=system-admin]) .topbar{flex:0 0 62px;gap:10px;margin-bottom:8px}body[data-current-route=dashboard]:not([data-portal-role=system-admin]) .global-search{order:3;flex:1 1 230px;min-width:190px;max-width:300px}body[data-current-route=dashboard]:not([data-portal-role=system-admin]) .topbar-menu-button{order:1}body[data-current-route=dashboard]:not([data-portal-role=system-admin]) .topbar-filter-chip[data-topbar-isletme-selector]{order:2;flex:0 1 210px;min-width:170px}body[data-current-route=dashboard] .topbar-filter-chip[data-topbar-date-range]{display:none}body[data-current-route=dashboard]:not([data-portal-role=system-admin]) .topbar-actions{order:5;flex:0 0 auto;margin-left:0}body[data-current-route=dashboard]:not([data-portal-role=system-admin]) .route-content{flex:1 1 auto;min-height:0;margin-top:0;overflow:hidden}.dashboard-topbar-controls{display:none}body[data-current-route=dashboard]:not([data-portal-role=system-admin]) .dashboard-topbar-controls{order:4;min-width:0;display:flex;flex:1 1 auto;align-items:center;justify-content:flex-end;gap:10px}.dashboard-period-controls{height:44px;display:grid;grid-template-columns:repeat(3,minmax(82px,1fr));align-items:stretch;overflow:hidden;border:1px solid var(--border);border-radius:9px;background:#fff}.dashboard-period-controls button{min-height:0;min-width:0;display:inline-flex;align-items:center;justify-content:center;border:0;border-right:1px solid var(--border);border-radius:6px;background:#fff;color:#33415f;padding:0 10px;font-size:12px;font-weight:850;white-space:nowrap;cursor:pointer;margin-block:3px}.dashboard-period-controls button:last-child{border-right:0}.dashboard-period-controls button:hover{background:#f5f8ff}.dashboard-period-controls button.active{background:#edf4ff;color:var(--primary);box-shadow:inset 0 0 0 1px var(--primary)}.dashboard-generated-at{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:11px;white-space:nowrap}.dashboard-generated-at strong{color:#33415f;font-size:12px}.dashboard-refresh-button{height:44px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #9fc0ff;border-radius:9px;background:#fff;color:var(--primary);padding:0 13px;font-size:12px;font-weight:850;cursor:pointer}.dashboard-refresh-button:hover{border-color:var(--primary);background:#f5f8ff}.dashboard-refresh-button:disabled{cursor:wait;opacity:.6}.dashboard-refresh-button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}body.supplier-detail-active[data-current-route=suppliers] .topbar-filter-chip[data-topbar-isletme-selector]{display:none}.supplier-detail-topbar-breadcrumb{display:flex;align-items:center;gap:10px;min-width:0;color:#071c4c;font-size:14px;font-weight:900}.supplier-detail-topbar-breadcrumb strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body[data-current-route=products] .route-content,body[data-current-route=labels] .route-content,body[data-current-route=suppliers] .route-content,body[data-current-route=stock-orders] .route-content,body[data-current-route=expiry-returns] .route-content,body[data-current-route=employees] .route-content{flex:1 1 auto;height:auto;min-height:0;margin-top:0;overflow:hidden}body[data-current-route=labels] .route-content{display:flex;flex-direction:column}body[data-current-route=labels] #labelsView{flex:1 1 auto;height:100%;min-height:0}body[data-current-route=suppliers] .route-content{display:flex;flex-direction:column}body[data-current-route=suppliers] #suppliersView{flex:1 1 auto;height:100%;min-height:0}body[data-current-route=employees] .route-content{display:flex;flex-direction:column}body[data-current-route=employees] #employeePermissionsView{flex:1 1 auto;height:100%;min-height:0}.dashboard-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.patron-dashboard{position:relative;height:100%;min-height:0;display:grid;grid-template-rows:94px minmax(174px,1.16fr) minmax(146px,.92fr) 68px minmax(142px,.92fr);gap:10px;overflow:auto;scrollbar-gutter:stable}.dashboard-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.dashboard-kpi-card,.dashboard-chart-card,.dashboard-table-card,.dashboard-alert-card{background:var(--surface);border:1px solid var(--border);border-radius:8px;box-shadow:var(--shadow-soft)}.dashboard-kpi-card{display:flex;gap:13px;align-items:center;min-width:0;min-height:0;padding:12px 15px}.dashboard-kpi-icon{display:grid;place-items:center;flex:0 0 54px;width:54px;height:54px;border-radius:50%;font-weight:800;letter-spacing:.03em}.dashboard-kpi-icon svg,.dashboard-alert-icon svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.dashboard-kpi-icon.blue{color:#075bf7;background:#e7f0ff}.dashboard-kpi-icon.green{color:var(--success);background:#dcfce7}.dashboard-kpi-icon.purple{color:#7c3aed;background:#f0e7ff}.dashboard-kpi-icon.orange{color:var(--warning);background:#fff0df}.kpi-label{display:block;color:var(--muted);font-size:13px;font-weight:700}.dashboard-kpi-card strong{display:block;margin-top:4px;color:#0b5fff;font-size:23px;line-height:1.1;white-space:nowrap}.dashboard-kpi-card.revenue strong{color:var(--success)}.dashboard-kpi-card.profit strong{color:var(--warning)}.dashboard-kpi-card.basket strong{color:#7c3aed}.dashboard-kpi-card p,.dashboard-chart-card p,.dashboard-alert-card p,.dashboard-table-card p{margin-top:6px;color:var(--muted);font-size:12px}.dashboard-visual-grid{display:grid;min-height:0;gap:10px}.dashboard-visual-grid-primary{grid-template-columns:minmax(0,1.15fr) minmax(0,.95fr) minmax(0,1.45fr)}.dashboard-visual-grid-secondary{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.3fr)}.dashboard-chart-card{min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden;padding:10px 12px 8px}.dashboard-chart-card h3,.dashboard-table-card h3{flex:0 0 auto;color:var(--text);font-size:12px;margin-bottom:5px}.dashboard-chart-canvas,.dashboard-payment-chart,.dashboard-business-performance{position:relative;flex:1 1 auto;min-width:0;min-height:0;overflow:hidden}.dashboard-chart-canvas svg,.dashboard-business-performance svg{width:100%;height:100%;display:block;overflow:visible}.dashboard-chart-grid-line{stroke:#e6edf7;stroke-width:1;shape-rendering:crispEdges}.dashboard-chart-axis-line{stroke:#cbd7e7;stroke-width:1;shape-rendering:crispEdges}.dashboard-chart-axis-label{fill:#64718c;font-size:9px;font-weight:650}.dashboard-chart-value-label{fill:#263a60;font-size:9px;font-weight:800}.dashboard-chart-bar{fill:#1767e8}.dashboard-chart-bar.emphasis{fill:#075bf7}.dashboard-empty-state{height:100%;min-height:70px;display:grid;place-items:center;border:1px dashed #d4dfed;border-radius:7px;background:#fafcff;color:var(--muted);padding:10px;font-size:11px;font-weight:700;text-align:center}.dashboard-payment-layout{height:100%;min-height:0;display:grid;grid-template-columns:minmax(92px,.85fr) minmax(124px,1.15fr);align-items:center;gap:10px}.dashboard-payment-donut{position:relative;justify-self:center;width:min(110px,100%);aspect-ratio:1;display:grid;place-items:center;border-radius:50%}.dashboard-payment-donut:after{content:"";position:absolute;inset:24%;border-radius:50%;background:#fff;box-shadow:0 0 0 1px #cbd5e18c}.dashboard-payment-total{position:relative;z-index:1;max-width:62%;color:var(--text);font-size:10px;font-weight:900;line-height:1.2;text-align:center}.dashboard-payment-legend{min-width:0;display:grid;gap:5px}.dashboard-payment-legend-row{min-width:0;display:grid;grid-template-columns:8px minmax(0,1fr) auto;gap:6px;align-items:center;color:#33415f;font-size:10px}.dashboard-payment-legend-row i{width:8px;height:8px;border-radius:50%}.dashboard-payment-legend-row span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dashboard-payment-legend-row strong{color:var(--text);font-size:10px}.dashboard-business-performance{display:grid;align-content:center;gap:6px}.dashboard-business-row{min-width:0;display:grid;grid-template-columns:minmax(70px,.7fr) minmax(110px,2fr) auto;align-items:center;gap:7px;font-size:9px}.dashboard-business-row>span:first-child{overflow:hidden;color:#33415f;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.dashboard-business-row>strong{color:#33415f;font-size:9px;white-space:nowrap}.dashboard-business-bar{height:9px;overflow:hidden;border-radius:2px;background:#edf2f8}.dashboard-business-bar span{display:block;height:100%;min-width:2px;border-radius:inherit;background:#1767e8}.dashboard-alert-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.dashboard-alert-card{min-width:0;min-height:0;display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:9px;align-items:center;padding:7px 10px;color:var(--text);font:inherit;text-align:left;cursor:pointer}.dashboard-alert-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:9px;font-weight:800}.dashboard-alert-icon svg{width:23px;height:23px}.dashboard-alert-copy{min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:6px;align-items:baseline}.dashboard-alert-copy small{grid-column:1 / -1;overflow:hidden;color:#33415f;font-size:11px;font-weight:850;text-overflow:ellipsis;white-space:nowrap}.dashboard-alert-copy strong{color:var(--danger);font-size:16px;line-height:1.05;white-space:nowrap}.dashboard-alert-copy em{overflow:hidden;color:var(--muted);font-size:9px;font-style:normal;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.dashboard-alert-link{color:#183153;font-size:10px;font-weight:850;white-space:nowrap}.dashboard-alert-link b{margin-left:3px;color:var(--primary)}.dashboard-alert-card:hover{border-color:#9fc0ff;box-shadow:0 8px 20px #07183d1a}.dashboard-alert-card:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.dashboard-alert-card.danger{border-color:#fecaca;background:#fff8f8}.dashboard-alert-card.danger .dashboard-alert-icon{color:#dc2626;background:#fee2e2}.dashboard-alert-card.warning{border-color:#fed7aa;background:#fffaf2}.dashboard-alert-card.warning .dashboard-alert-icon{color:var(--warning);background:#ffedd5}.dashboard-alert-card.warning .dashboard-alert-copy strong{color:var(--warning)}.dashboard-alert-card.success{border-color:#cdeed9;background:#f7fff9}.dashboard-alert-card.success .dashboard-alert-icon{color:var(--success);background:#dcfce7}.dashboard-alert-card.success .dashboard-alert-copy strong{color:var(--success)}.dashboard-alert-card.info{border-color:#d7e5fb;background:#f8fbff}.dashboard-alert-card.info .dashboard-alert-icon{color:#075bf7;background:#e7f0ff}.dashboard-alert-card.info .dashboard-alert-copy strong{color:#075bf7}.dashboard-alert-card:disabled{cursor:default;opacity:.72}.dashboard-table-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));min-height:0;gap:10px}.dashboard-table-card{min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden;padding:9px 10px 7px}.dashboard-table-scroll{flex:1 1 auto;min-height:0;overflow:auto;scrollbar-gutter:stable}.dashboard-data-table{width:100%;border-collapse:collapse;table-layout:fixed}.dashboard-data-table th,.dashboard-data-table td{overflow:hidden;border-bottom:1px solid #edf1f6;color:#33415f;padding:4px 6px;font-size:9px;line-height:1.2;text-align:left;text-overflow:ellipsis;white-space:nowrap}.dashboard-data-table th{position:sticky;top:0;z-index:1;background:#fbfcfe;color:#243454;font-weight:850}.dashboard-data-table th:not(:first-child),.dashboard-data-table td:not(:first-child){text-align:right}.dashboard-data-table td:first-child{color:var(--text);font-weight:750}.dashboard-data-table tbody tr:last-child td{border-bottom:0}.dashboard-empty-cell{height:52px;color:var(--muted)!important;font-weight:650!important;text-align:center!important;white-space:normal!important}@media(min-width:769px){.dashboard-table-grid{min-height:220px}.dashboard-data-table:has(tbody td:not([colspan])){min-width:580px}.dashboard-data-table :is(th,td){font-size:12px;line-height:1.4;padding:6px 8px;overflow:visible;white-space:normal;overflow-wrap:anywhere;text-overflow:clip}.dashboard-data-table:has(tbody td:not([colspan])) :is(th,td):first-child{width:42%}.dashboard-data-table small{display:block;font-size:12px;font-weight:400}}.dashboard-value-negative{color:#ef233c!important;font-weight:850}.dashboard-value-positive{color:var(--success)!important;font-weight:850}.empty-note{min-height:42px;padding:11px 13px;border:1px dashed #cbd5e1;border-radius:8px;background:#f8fafc}.dashboard-business-picker-card{width:min(500px,calc(100vw - 40px));overflow:hidden;padding:22px}.dashboard-business-picker-card .modal-close-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.dashboard-business-picker-options{max-height:min(420px,calc(100vh - 180px));display:grid;gap:8px;margin-top:18px;overflow:auto;padding-right:3px}.dashboard-business-picker-option{width:100%;min-height:58px;display:grid;grid-template-columns:38px minmax(0,1fr) 18px;align-items:center;gap:11px;border:1px solid var(--border);border-radius:9px;background:#fff;color:var(--text);padding:9px 11px;text-align:left;cursor:pointer}.dashboard-business-picker-option:hover{border-color:#9fc0ff;background:#f8fbff}.dashboard-business-picker-option-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:9px;background:#edf4ff;color:var(--primary)}.dashboard-business-picker-option-icon svg,.dashboard-business-picker-option>svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.dashboard-business-picker-option-copy{min-width:0;display:grid;gap:3px}.dashboard-business-picker-option-copy strong,.dashboard-business-picker-option-copy span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dashboard-business-picker-option-copy strong{font-size:13px}.dashboard-business-picker-option-copy span{color:var(--muted);font-size:11px}.dashboard-boundary-panel{margin:0}.summary-card{display:flex;align-items:center;gap:14px;padding:18px}.summary-card p{margin-top:5px}.summary-icon{background:#eef6ff}.summary-icon.success{background:#dcfce7;color:var(--success)}.summary-icon.danger{background:#fee2e2;color:var(--danger)}.summary-icon.warning{background:#fff7ed;color:var(--warning)}.summary-icon.support{background:#eef2ff;color:var(--primary)}.management-summary{margin-bottom:16px}.management-summary strong{display:block;margin-top:6px;color:var(--primary);font-size:26px;line-height:1.05}.planned-panel,.forbidden-panel{margin-top:14px;padding:26px}.planned-panel h2,.forbidden-panel h2{margin-top:10px}.planned-panel p,.forbidden-panel p{max-width:720px;margin-top:8px}.planned-badge{display:inline-flex;align-items:center;min-height:26px;border-radius:999px;background:#fff7ed;color:var(--warning);font-size:12px;font-weight:850;padding:4px 10px}.planned-badge.danger{background:#fee2e2;color:var(--danger)}.planned-badge.ready{background:#dcfce7;color:var(--success)}.planned-badge.support{background:#eef2ff;color:var(--primary)}.planned-badge.locked{background:#f1f5f9;color:var(--muted)}.approval-readiness-panel{border:1px solid var(--border);border-radius:12px;background:var(--surface-soft);padding:14px;margin:14px 0}.inline-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.module-registry{margin-top:16px;padding:22px}.module-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:16px}.module-card{border:1px solid var(--border);border-radius:10px;background:var(--surface);padding:14px;min-height:142px}.module-card h3{margin-top:10px;font-size:15px}.module-card p{margin-top:7px;color:var(--muted);font-size:13px;line-height:1.45}.module-card .muted-label{display:block;margin-top:10px}.planned-roadmap-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}.roadmap-card{border:1px solid var(--border);border-radius:10px;background:var(--surface-soft);padding:16px}.roadmap-card h3{margin-top:10px;font-size:15px}.roadmap-card p{margin-top:8px;color:var(--muted);font-size:13px}.policy-matrix-card{margin:16px 0}.terminal-fleet-panel{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 16px}.terminal-trust-panel{margin:14px 0;padding:18px}.content-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(360px,.75fr);gap:16px}.card{padding:22px;min-width:0}.product-list-card,.editor-card{margin-top:0}.patron-products-redesign{display:grid;gap:10px;height:100%;min-height:0}.product-workspace-grid{grid-template-columns:minmax(0,1fr);min-height:0}.product-list-redesign{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr) auto;min-height:0;padding:14px 16px 12px}.product-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0 14px}.patron-products-redesign .product-metrics{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin:0 0 12px}.product-summary-card{min-height:86px;border-radius:8px;background:#fff;box-shadow:0 10px 24px #0f172a0d}.product-summary-card strong{font-size:22px}.product-summary-card small{display:block;margin-top:6px;color:var(--muted);font-size:11px;font-weight:700}.product-summary-card.warning{border-color:#fed7aa;background:#fffaf2}.patron-products-main-redesign .product-editor-redesign,.patron-products-main-redesign #productProfitabilityPanel,.patron-products-main-redesign #productDistributionPanel,.patron-products-main-redesign #productPriceMatrixPanel,.patron-products-main-redesign .product-bulk-panel{display:none}.patron-suppliers-redesign{display:grid;gap:16px}.patron-suppliers-redesign{height:100%;min-height:0;grid-template-rows:auto minmax(0,1fr);gap:12px;overflow:hidden}.supplier-kpi-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.supplier-kpi-card{min-height:104px;align-items:center;gap:18px;border-radius:8px;background:#fff;box-shadow:0 10px 24px #0f172a0b}.supplier-kpi-icon{display:grid;place-items:center;width:68px;height:68px;flex:0 0 68px;border-radius:12px;overflow:hidden}.supplier-kpi-icon svg{width:64px;height:64px;fill:none;stroke:currentColor;stroke-width:2.35;stroke-linecap:round;stroke-linejoin:round}.supplier-kpi-icon.blue{color:#075ff2;background:transparent}.supplier-kpi-card .supplier-kpi-icon img{display:block;width:64px;height:64px;max-width:64px;max-height:64px;object-fit:contain}.supplier-kpi-icon.orange{color:#f07810;background:transparent}.supplier-kpi-icon.purple{color:#7c42ff;background:transparent}.supplier-kpi-icon.green{color:#18bf55;background:linear-gradient(135deg,#e8fbf0,#f4fff8)}.supplier-kpi-icon.green svg{stroke-width:3.4;stroke-linecap:square;stroke-linejoin:miter}.supplier-kpi-icon.red{color:#f11122;background:linear-gradient(135deg,#fff0f1,#fff8f8)}.patron-suppliers-redesign .supplier-layout{grid-template-columns:minmax(0,1fr)}.patron-suppliers-redesign .supplier-layout{height:100%;min-height:0;overflow:hidden}.supplier-table-card,.supplier-detail-card{border-radius:8px;padding:20px}.patron-suppliers-redesign .supplier-table-card{display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-height:0;overflow:hidden}.patron-suppliers-redesign .supplier-detail-card{display:none}.patron-suppliers-redesign .supplier-toolbar{grid-template-columns:minmax(320px,1fr) minmax(150px,auto) minmax(160px,auto) minmax(160px,auto) auto auto;align-items:end}.patron-suppliers-redesign .supplier-table-wrap{min-height:0;overflow:auto}.patron-suppliers-redesign .supplier-table-wrap table{min-width:1040px}.patron-suppliers-redesign .supplier-table-wrap tbody tr{cursor:default}.patron-suppliers-redesign .supplier-list-count{margin:12px 0 0;color:var(--muted);font-size:13px}.supplier-new-button svg,.supplier-modal-card .primary-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.supplier-row-actions{display:inline-flex;align-items:center;justify-content:center;gap:6px;width:100%}.supplier-action-button{border:1px solid transparent;border-radius:8px;color:#075ff2}.supplier-action-button:hover,.supplier-action-button:focus-visible{border-color:#bfdbfe;background:#eff6ff;outline:none}.patron-suppliers-redesign.supplier-detail-mode{grid-template-rows:minmax(0,1fr)}.patron-suppliers-redesign.supplier-detail-mode>.supplier-kpi-grid{display:none}.patron-suppliers-redesign.supplier-detail-mode .supplier-table-card{display:none}.supplier-detail-screen{display:grid;grid-template-rows:auto auto minmax(0,1fr);gap:8px;height:100%;min-height:0;overflow:hidden}.supplier-detail-screen.hidden{display:none}.supplier-invoice-detail-screen{display:grid;grid-template-rows:auto auto minmax(0,1fr);gap:8px;height:100%;min-height:0;overflow:hidden}.supplier-invoice-detail-screen.hidden{display:none}.supplier-invoice-detail-card{border:1px solid var(--border);border-radius:8px;background:#fff}.supplier-invoice-detail-hero{display:grid;grid-template-columns:auto minmax(260px,1fr) auto auto;align-items:center;gap:14px;padding:14px 16px}.supplier-invoice-detail-heading p{margin:0 0 4px;color:#075ff2;font-size:12px;font-weight:850}.supplier-invoice-detail-heading h3{margin:0;color:#071c4c;font-size:24px;line-height:1.05}.supplier-invoice-detail-meta{display:grid;grid-template-columns:repeat(4,minmax(110px,auto));align-items:center;gap:12px}.supplier-invoice-detail-meta span{display:grid;gap:3px;color:#526589;font-size:12px;font-weight:800}.supplier-invoice-detail-meta strong{color:#071c4c;font-size:14px}.supplier-invoice-detail-note{grid-column:2 / -1;margin:0;padding:8px 10px;border:1px solid #d8e4f2;border-radius:8px;background:#f8fbff;color:#33456a;font-size:12px;font-weight:700}.supplier-invoice-detail-summary-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.supplier-invoice-detail-summary-card{display:flex;align-items:center;gap:12px;min-height:72px;border:1px solid var(--border);border-radius:8px;background:#fff;padding:12px 14px}.supplier-invoice-detail-summary-icon{display:inline-grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:12px;background:#eff6ff;color:#075ff2}.supplier-invoice-detail-summary-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.supplier-invoice-detail-summary-icon.quantity{background:#ecfdf5;color:var(--success)}.supplier-invoice-detail-summary-icon.subtotal{background:#fff7ed;color:var(--warning)}.supplier-invoice-detail-summary-icon.vat{background:#f5f3ff;color:#7c3aed}.supplier-invoice-detail-summary-icon.discount{background:#fff7ed;color:#f59e0b}.supplier-invoice-detail-summary-icon.grand-total{background:#eff6ff;color:#075ff2}.supplier-invoice-detail-summary-copy{display:grid;gap:4px;min-width:0}.supplier-invoice-detail-summary-copy span{color:#526589;font-size:12px;font-weight:850}.supplier-invoice-detail-summary-copy strong{color:#071c4c;font-size:20px;line-height:1}.supplier-invoice-detail-summary-card.total .supplier-invoice-detail-summary-copy strong{color:#075ff2}.supplier-invoice-detail-lines{display:grid;grid-template-rows:auto minmax(0,1fr);min-height:0;overflow:hidden}.supplier-invoice-detail-lines-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid var(--border)}.supplier-invoice-detail-lines-header h3{margin:0;color:#071c4c;font-size:16px}.supplier-invoice-detail-lines-header p{margin:0;color:#526589;font-size:12px;font-weight:750}.supplier-invoice-detail-table-wrap{min-height:0;overflow:auto}.supplier-invoice-detail-table-wrap table{min-width:1320px}.supplier-detail-breadcrumb{display:none;align-items:center;gap:10px;color:#0a2352;font-size:13px;font-weight:800;line-height:1;min-height:18px}.text-button{border:0;background:transparent;color:#075ff2;font:inherit;font-weight:800;cursor:pointer;padding:0}.supplier-detail-hero,.supplier-detail-kpi,.supplier-detail-tabs-card{border:1px solid var(--border);border-radius:8px;background:#fff;box-shadow:0 10px 24px #0f172a0a}.supplier-detail-hero{display:grid;grid-template-columns:34px 72px minmax(0,1fr) auto;align-items:center;gap:14px;padding:14px 24px}.supplier-detail-hero-back{display:inline-grid;place-items:center;box-sizing:border-box;width:34px;height:34px;padding:0;border:1px solid var(--border);border-radius:8px;background:#fff;color:#075ff2;cursor:pointer;line-height:1}.supplier-detail-hero-back:hover,.supplier-detail-hero-back:focus-visible{border-color:#bfdbfe;background:#eff6ff;outline:none}.supplier-detail-hero-back svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}.supplier-detail-logo{display:grid;place-items:center;width:64px;height:64px;border-radius:14px;background:linear-gradient(135deg,#eff6ff,#e0f2fe);color:#075ff2;font-weight:900;font-size:21px}.supplier-detail-title h2{margin:0 0 8px;color:#071c4c;font-size:28px;line-height:1.05}.supplier-detail-meta{display:flex;flex-wrap:wrap;gap:0}.supplier-detail-meta span{min-width:132px;padding-right:22px;margin-right:22px;border-right:1px solid var(--border);color:#51627f;font-size:12px;font-weight:700}.supplier-detail-meta span:last-child{border-right:0;margin-right:0}.supplier-detail-meta strong{display:block;margin-top:4px;color:#071c4c;font-size:14px}.supplier-detail-actions{display:flex;align-items:center;gap:12px}.supplier-detail-actions button,.supplier-detail-panel-toolbar button{min-height:44px;border-radius:8px}.supplier-detail-actions svg,.supplier-detail-panel-toolbar svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.supplier-detail-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.supplier-detail-kpi{display:grid;grid-template-columns:56px minmax(0,1fr);align-items:center;gap:12px;min-height:86px;padding:10px 12px}.supplier-detail-kpi h3{margin:0 0 4px;color:#4f5f7b;font-size:12px;font-weight:900}.supplier-detail-kpi strong{display:block;color:#071c4c;font-size:22px;line-height:1.1}.supplier-detail-kpi p{margin:5px 0 0;color:#5e6f8f;font-size:12px;font-weight:600}.supplier-detail-kpi-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:12px;overflow:hidden}.supplier-detail-kpi-icon img,.supplier-detail-kpi-icon svg{width:50px;height:50px;object-fit:contain}.supplier-detail-kpi-icon svg{fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}.supplier-detail-kpi-icon.debt,.supplier-detail-kpi-icon.overdue{color:var(--danger);background:#fff0f1}.supplier-detail-kpi-icon.due{color:#7c42ff;background:#f4edff}.supplier-detail-kpi-icon.month{color:#18bf55;background:#e8fbf0}.supplier-detail-kpi-icon.month svg{stroke-width:3.4;stroke-linecap:square;stroke-linejoin:miter}.supplier-detail-kpi-icon.payment{color:#7c42ff;background:#f3edff}.supplier-detail-kpi-icon.purchase{color:#075ff2;background:#eef5ff}.supplier-detail-body{display:flex;min-height:0;overflow:hidden}.supplier-detail-tabs-card{display:grid;grid-template-rows:auto minmax(0,1fr);flex:1;min-width:0;min-height:0;overflow:hidden}.supplier-detail-tabs{display:flex;align-items:center;gap:22px;min-height:44px;padding:0 18px;border-bottom:1px solid var(--border)}.supplier-detail-tab{position:relative;border:0;background:transparent;color:#0f2760;font:inherit;font-weight:800;cursor:pointer;padding:13px 0 11px}.supplier-detail-tab.active{color:#075ff2}.supplier-detail-tab.active:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;border-radius:999px;background:#075ff2}.supplier-detail-panel{display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-height:0;padding:12px 18px 10px;overflow:hidden}.supplier-detail-panel.hidden{display:none}.supplier-detail-panel-toolbar{display:grid;grid-template-columns:minmax(360px,1fr) 160px 210px;align-items:center;gap:12px;margin-bottom:10px}.supplier-detail-panel-toolbar .input-with-icon{position:relative;display:block}.supplier-detail-panel-toolbar .input-with-icon svg{position:absolute;top:50%;left:auto;right:14px;transform:translateY(-50%);pointer-events:none}.supplier-detail-panel-toolbar .input-with-icon input{width:100%;min-height:46px;padding-left:16px;padding-right:44px}.supplier-detail-panel-toolbar select,.supplier-detail-panel-toolbar input[type=date]{width:100%;min-height:46px}.supplier-detail-table-wrap{min-height:0;overflow:auto}.supplier-detail-table-wrap table{min-width:920px}.supplier-detail-count{margin:0;color:var(--muted);font-size:13px}.supplier-detail-panel-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:10px}.supplier-detail-pager{display:inline-flex;align-items:center;gap:8px}.supplier-detail-pager .pager-current{display:inline-grid;place-items:center;min-width:32px;height:34px;border-radius:8px;background:#075ff2;color:#fff;font-weight:900}.supplier-detail-pager select{min-height:34px;border:1px solid var(--border);border-radius:8px;background:#fff;color:#071c4c;font:inherit;font-weight:800;padding:0 10px}.supplier-detail-overview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.supplier-detail-overview-box{border:1px dashed #cbd5e1;border-radius:8px;padding:16px;color:#4f5f7b;font-size:13px;font-weight:700}.supplier-detail-overview-box strong{display:block;margin-bottom:6px;color:#071c4c;font-size:15px}.supplier-receiving-screen{display:grid;grid-template-rows:minmax(0,1fr);gap:8px;height:100%;min-height:0;overflow:hidden}.supplier-receiving-screen.hidden{display:none}.supplier-receiving-header,.supplier-receiving-card,.supplier-receiving-document,.supplier-receiving-main-card,.supplier-receiving-summary-card{border:1px solid var(--border);border-radius:8px;background:#fff;box-shadow:0 10px 24px #0f172a0a}.supplier-receiving-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:10px 18px}.supplier-receiving-path{margin:0 0 5px;color:#075ff2;font-size:12px;font-weight:900}.supplier-receiving-header h2{margin:0;color:#071c4c;font-size:24px;line-height:1.1}.supplier-receiving-header p+p{margin:4px 0 0;color:#51627f;font-size:12px;font-weight:700}.supplier-receiving-actions{display:flex;align-items:center;gap:10px}.supplier-receiving-actions button,.supplier-receiving-toolbar button,.supplier-receiving-line-form button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;border-radius:8px;line-height:1}.supplier-receiving-actions button svg,.supplier-receiving-toolbar button svg,.supplier-receiving-line-form button svg{flex:0 0 18px;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.supplier-receiving-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:12px;min-height:0;overflow:hidden}.supplier-receiving-left,.supplier-receiving-main{display:grid;grid-template-rows:auto auto minmax(0,1fr);gap:10px;min-height:0;overflow:hidden}.supplier-receiving-document{padding:10px 16px}.supplier-receiving-document-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:10px}.supplier-receiving-document-title{display:flex;align-items:center;gap:10px;min-width:0}.supplier-receiving-document-title h3{margin:0;color:#071c4c;font-size:16px;font-weight:900}.supplier-receiving-document-title p{margin:2px 0 0;color:#075ff2;font-size:12px;font-weight:900;white-space:nowrap}.supplier-receiving-back-button{display:inline-flex;align-items:center;justify-content:center;position:relative;width:38px;height:38px;flex:0 0 38px;border:1px solid var(--border);border-radius:8px;background:#fff;color:#075ff2}.supplier-receiving-back-button:before{content:"";position:absolute;left:12px;top:50%;width:14px;height:2.4px;border-radius:999px;background:currentColor;transform:translateY(-50%)}.supplier-receiving-back-button:after{content:"";position:absolute;left:11px;top:50%;width:9px;height:9px;border-left:2.4px solid currentColor;border-top:2.4px solid currentColor;transform:translateY(-50%) rotate(-45deg)}.supplier-receiving-back-button svg{display:none;width:0;height:0;fill:none;stroke:currentColor;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}.supplier-receiving-back-button svg path{fill:none;stroke:currentColor}.supplier-receiving-document-head .supplier-receiving-actions{flex:0 0 auto}.supplier-receiving-card>h3,.supplier-receiving-document>h3{margin:0 0 8px;color:#071c4c;font-size:15px;font-weight:900}.supplier-receiving-card-title{display:flex;align-items:center;gap:8px;margin:0 0 12px;color:#071c4c;font-size:15px;font-weight:900}.supplier-receiving-card-title svg{width:18px;height:18px;fill:none;stroke:#075ff2;stroke-width:2.2}.supplier-receiving-document-grid,.supplier-receiving-form-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.supplier-receiving-note{display:grid;grid-column:1 / -1;gap:4px;margin-top:8px;color:#41516d;font-size:12px;font-weight:800}.supplier-receiving-document-grid label,.supplier-receiving-form-grid label,.supplier-receiving-line-form label{display:grid;gap:5px;color:#41516d;font-size:12px;font-weight:800}.supplier-receiving-document-grid input,.supplier-receiving-document-grid select,.supplier-receiving-document-grid textarea,.supplier-receiving-form-grid input,.supplier-receiving-form-grid select,.supplier-receiving-form-grid textarea,.supplier-receiving-line-form input,.supplier-receiving-line-form select,.supplier-receiving-toolbar input{width:100%;min-height:36px;border:1px solid var(--border);border-radius:8px;background:#fff;color:#061947;font:inherit;font-weight:700;padding:8px 10px}.supplier-receiving-document-grid textarea,.supplier-receiving-form-grid textarea{min-height:36px;resize:none}.supplier-receiving-main-card,.supplier-receiving-line-editor,.supplier-receiving-lines-card{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;min-height:0;overflow:hidden}.supplier-receiving-lines-card{grid-template-rows:auto minmax(0,1fr)}.supplier-receiving-lines-title{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:42px;padding:0 16px;border-bottom:1px solid var(--border)}.supplier-receiving-lines-title h3{margin:0;color:#071c4c;font-size:15px}.supplier-receiving-lines-title span,.supplier-receiving-debt-note{color:#51627f;font-size:12px;font-weight:800}.supplier-receiving-toolbar{display:grid;grid-template-columns:minmax(240px,1fr) minmax(220px,.75fr) auto;gap:10px;padding:10px 16px;border-bottom:1px solid var(--border)}.supplier-receiving-toolbar .input-with-icon{position:relative}.supplier-receiving-toolbar .input-with-icon svg{position:absolute;top:50%;left:12px;transform:translateY(-50%);pointer-events:none;width:18px;height:18px;fill:none;stroke:#075ff2;stroke-width:2.2}.supplier-receiving-toolbar .input-with-icon input{padding-left:40px}.supplier-receiving-field-help{grid-column:1 / -1;margin:0;font-size:12px;line-height:1.5;color:var(--muted)}.supplier-receiving-line-form{display:grid;grid-template-columns:minmax(150px,1.2fr) 70px 82px 72px 88px 88px 88px 92px 118px 150px minmax(105px,.75fr) 110px;gap:8px;align-items:end;padding:10px 16px;border-bottom:1px solid var(--border)}.supplier-receiving-price-action{display:inline-grid;gap:4px;align-items:center;justify-items:start}.tiny-link-button{min-height:24px;border:1px solid #bfdbfe;border-radius:7px;background:#eff6ff;color:#075ff2;font-size:11px;font-weight:900;padding:3px 7px;cursor:pointer}.supplier-receiving-table-wrap{min-height:0;overflow:auto}.supplier-receiving-table-wrap table{min-width:1540px}.supplier-receiving-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:42px;padding:8px 16px;border-top:1px solid var(--border)}.supplier-receiving-footer span{color:#51627f;font-size:12px;font-weight:800}.supplier-receiving-summary{display:grid;grid-template-rows:auto auto auto;gap:12px;min-height:0;overflow:hidden}.supplier-receiving-summary-card,.supplier-receiving-summary .supplier-receiving-card{padding:14px 16px}.supplier-receiving-note-card{display:grid;gap:8px}.supplier-receiving-note-card textarea{width:100%;min-height:82px;border:1px solid var(--border);border-radius:8px;background:#fff;color:#061947;font:inherit;font-weight:700;line-height:1.35;padding:10px;resize:none}.supplier-receiving-summary-card h3,.supplier-receiving-summary .supplier-receiving-card h3{margin:0 0 12px;color:#071c4c;font-size:16px}.supplier-receiving-summary-card dl,.supplier-receiving-summary .supplier-receiving-card dl{display:grid;gap:9px;margin:0}.supplier-receiving-summary-card div,.supplier-receiving-summary .supplier-receiving-card div{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #e7eef8;padding-bottom:8px}.supplier-receiving-summary-card div:last-child,.supplier-receiving-summary .supplier-receiving-card div:last-child{border-bottom:0;padding-bottom:0}.supplier-receiving-summary-card dt,.supplier-receiving-summary .supplier-receiving-card dt{color:#51627f;font-size:12px;font-weight:800}.supplier-receiving-summary-card dd,.supplier-receiving-summary .supplier-receiving-card dd{margin:0;color:#071c4c;font-size:13px;font-weight:900;text-align:right}.supplier-receiving-debt-amount{display:block;margin-top:8px;color:#075ff2;font-size:26px;text-align:right}.supplier-payment-modal-card{width:min(560px,calc(100vw - 40px));padding:24px}.supplier-modal-card{display:grid;gap:18px;width:min(660px,calc(100vw - 40px));padding:24px}.supplier-modal-form{display:grid;gap:14px}.supplier-modal-form label{display:grid;gap:8px;color:#33456b;font-size:13px;font-weight:800}.supplier-modal-form label em{color:var(--danger);font-style:normal}.supplier-modal-form input{width:100%;min-height:46px;border:1px solid var(--border);border-radius:8px;background:#fff;color:var(--text);font:inherit;font-weight:700;padding:0 14px}.supplier-modal-form input::placeholder{color:#94a3b8;font-weight:600}.supplier-modal-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,.5fr);gap:12px}.supplier-detail-card .planned-panel{padding:16px}.product-table-wrap{border-radius:8px;min-height:0;overflow:hidden}.product-table-wrap table{min-width:1000px}.product-editor-redesign{align-self:start;border-radius:8px;max-width:920px;width:100%;margin:0 auto}.product-editor-redesign .form-grid{display:grid;grid-template-columns:1fr}body.modal-open{overflow:hidden}.product-create-modal{position:fixed;inset:0;z-index:1000;display:none;align-self:stretch;align-items:center;justify-content:center;height:100vh;width:auto;max-width:none;margin:0;border:0;background:transparent;box-shadow:none;overflow:hidden;padding:22px}.product-create-modal.is-open{display:flex}.product-create-backdrop{position:absolute;inset:0;background:#0f172a8a;backdrop-filter:blur(2px)}.product-create-dialog{position:relative;z-index:1;display:grid;grid-template-rows:auto minmax(0,1fr) auto;width:min(760px,calc(100vw - 48px));max-height:calc(100vh - 62px);overflow:hidden;border:1px solid #d6e0ef;border-radius:10px;background:#fff;box-shadow:0 24px 80px #0f172a47}.product-create-modal[data-product-modal-mode=edit] .product-create-dialog{width:min(820px,calc(100vw - 48px))}.product-create-modal[data-product-modal-mode=create] .product-detail-only,.product-create-modal[data-product-modal-mode=edit] .product-create-only,.product-create-modal[data-product-modal-origin=receiving] .product-price-section,.product-create-modal[data-product-modal-origin=receiving] .product-minimum-stock-field,.product-create-modal[data-product-modal-origin=receiving] .product-initial-stock-section{display:none!important}.product-category-create-modal{position:fixed;inset:0;z-index:1120;display:none;align-items:center;justify-content:center;padding:24px}.product-category-create-modal.is-open{display:flex}.product-category-create-backdrop{position:absolute;inset:0;background:#0f172a7a;backdrop-filter:blur(2px)}.product-category-create-dialog{position:relative;width:min(460px,calc(100vw - 48px));border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 24px 80px #0f172a47;padding:20px;max-height:calc(100dvh - 48px);overflow-y:auto}.product-category-create-dialog header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:20px}.product-category-create-dialog h2,.product-category-create-dialog p{margin:0}.product-category-create-dialog p{margin-top:5px;color:var(--muted);font-size:13px}.product-category-create-dialog form,.product-category-create-dialog label{display:grid;gap:10px}.product-category-create-dialog input{width:100%;min-height:42px;border:1px solid var(--line);border-radius:8px;padding:0 12px}.product-category-create-dialog .action-row{justify-content:flex-end;margin-top:8px}.product-create-modal[data-product-modal-mode=edit] .product-basic-section{order:1}.product-create-modal[data-product-modal-mode=edit] .product-price-section{order:2}.product-create-modal[data-product-modal-mode=edit] .product-detail-stock-section{order:3}.product-create-modal[data-product-modal-mode=edit] .product-detail-history-section{order:4}.product-create-modal[data-product-modal-mode=edit] .product-detail-suppliers-section{order:5}.product-create-modal[data-product-modal-mode=edit] .product-create-actions{order:6}.product-create-header{display:flex;align-items:start;justify-content:space-between;gap:20px;padding:20px 22px 12px}.product-create-header h2{margin:0;color:var(--ink);font-size:20px;line-height:1.1}.product-create-header p{margin:6px 0 0;color:var(--muted);font-size:13px;font-weight:650}.product-modal-close{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:0;border:0;color:#30446b;font-size:28px;line-height:1}.product-create-form{display:grid;min-height:0;gap:12px;max-height:calc(100vh - 146px);overflow:auto;padding:0 22px 18px}.product-create-section{gap:12px;border-color:#d9e4f2;border-radius:9px;padding:15px}.product-create-section legend{display:inline-flex;align-items:center;gap:8px;color:#09183f;font-size:14px}.product-create-section legend span{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:999px;background:#1265ff;color:#fff;font-size:12px;font-weight:900}.product-create-grid{display:grid;gap:12px 14px}.product-create-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.product-create-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.product-initial-supplier-host{display:contents}.product-initial-supplier-field small{display:block;margin-top:.35rem;color:var(--muted-text);line-height:1.35}.product-history-change{display:block;margin-top:.2rem;color:var(--muted-text);font-size:.75rem;font-weight:500}.product-price-editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 210px;align-items:stretch;gap:14px}.product-price-input-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:12px 14px}.product-price-metric-stack{display:grid;grid-template-rows:repeat(2,minmax(0,1fr));gap:10px}.product-create-section label{display:grid;gap:7px;color:#314166;font-size:12px;font-weight:800}.product-create-section label em{color:var(--danger);font-style:normal}.product-create-section input,.product-create-section select{min-height:40px;border:1px solid #cfdaea;border-radius:7px;background:#fff;color:#09183f;font-size:14px;font-weight:700}.currency-input{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;border:1px solid #cfdaea;border-radius:7px;background:#fff;overflow:hidden}.currency-input input{border:0;min-height:38px}.currency-input strong{padding-right:12px;color:#58698f;font-size:13px}.product-create-metric{min-height:66px;border:1px solid #dbe7f4;border-radius:8px;background:#f5f9ff;padding:11px 12px}.product-create-metric span{display:block;margin-bottom:8px;color:#30446b;font-size:12px;font-weight:850}.product-create-metric strong{color:#0046bb;font-size:21px;line-height:1}.product-create-metric.success{background:#f0fbf3;border-color:#cfeedd}.product-create-metric.success strong{color:#0a9d47}.product-create-metric.danger strong{color:var(--danger)}.product-create-warning{margin:0;border:1px solid #fed7aa;border-radius:7px;background:#fff7ed;color:#b45309;padding:9px 12px;font-size:12px;font-weight:800}.product-create-actions{justify-content:end;border-top:1px solid #e2e8f0;background:#fff;margin:0;padding:14px 22px}.product-create-actions .primary-button,.product-create-actions .ghost-button{min-width:98px}.product-create-actions #toggleActiveButton{order:2}.product-create-actions #resetFormButton{order:10}.product-create-actions #saveProductButton{order:11}.product-detail-grid{display:grid;gap:12px}.product-detail-grid.stock{grid-template-columns:1fr 1.5fr 1.25fr}.product-detail-card,.product-detail-history-card,.product-detail-supplier-form{border:1px solid #d9e4f2;border-radius:9px;background:#fff;padding:12px}.product-detail-card.muted{background:#f8fbff}.product-detail-card span,.product-detail-card label{display:block;color:#314166;font-size:12px;font-weight:850}.product-detail-card strong{display:block;margin-top:8px;color:#09183f;font-size:24px;line-height:1.1}.product-detail-card small,.product-detail-history-card td,.product-detail-supplier-list p{color:#58698f;font-size:12px;font-weight:700}.stock-stepper{display:grid;grid-template-columns:36px minmax(0,1fr) auto 36px;align-items:center;overflow:hidden;margin:8px 0;border:1px solid #cfdaea;border-radius:7px;background:#fff}.stock-stepper button,.stock-stepper input{min-height:38px;border:0;text-align:center}.stock-stepper button{cursor:pointer;color:#075be8;background:#f6f9ff;font-size:20px;font-weight:900}.product-detail-stock-section .product-detail-card{display:grid;align-content:start;gap:8px}.product-detail-stock-section .primary-button{width:100%;margin-top:2px}.product-detail-stock-section input,.product-detail-stock-section select{width:100%}.stock-stepper strong{padding:0 10px;color:#58698f;font-size:12px}.stock-stepper.disabled{opacity:.72}.product-detail-history-grid,.product-detail-supplier-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product-detail-history-card strong,.product-detail-section-header strong{color:#0a1b46;font-size:14px}.compact-history-table{overflow:hidden;margin-top:10px;border:1px solid #e2e9f4;border-radius:8px}.compact-history-table table{width:100%;border-collapse:collapse}.compact-history-table th,.compact-history-table td{padding:8px 10px;border-bottom:1px solid #e8eef7;color:#0a1b46;font-size:12px;text-align:left}.compact-history-table tr:last-child td{border-bottom:0}.product-detail-section-header{display:flex;align-items:center;justify-content:space-between;gap:10px}.product-detail-supplier-list{min-width:0}.supplier-link-table{max-height:178px;overflow:auto}.product-detail-supplier-form{display:grid;gap:10px}.product-detail-supplier-form label{display:grid;gap:6px;color:#314166;font-size:12px;font-weight:850}.product-detail-supplier-form input,.product-detail-supplier-form select,.product-detail-supplier-form textarea{border:1px solid #cfdaea;border-radius:7px;background:#fff;color:#09183f;font-size:13px;font-weight:700}.product-detail-supplier-form input,.product-detail-supplier-form select{min-height:38px}.product-detail-checkbox-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.product-detail-supplier-actions{justify-content:start;gap:8px}.product-form-section{display:grid;grid-template-columns:1fr;gap:12px;border:1px solid var(--border);border-radius:8px;background:#fff;padding:14px}.product-form-section legend{color:var(--primary);font-size:13px;font-weight:850;padding:0 6px}.product-form-section.product-create-section{gap:12px;border-color:#d9e4f2;border-radius:9px;padding:15px}.product-form-section.product-create-section legend{display:inline-flex;align-items:center;gap:8px;color:#09183f;font-size:14px}.product-readiness-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px}.metric-card{border:1px solid var(--border);border-radius:10px;background:var(--surface-soft);padding:12px}.metric-card span{display:block;color:var(--muted);font-size:12px;font-weight:750}.metric-card strong{display:block;margin-top:5px;color:var(--ink);font-size:18px}.patron-products-main-redesign .product-summary-card{min-height:92px;display:grid;grid-template-columns:58px minmax(0,1fr);align-items:center;gap:14px;padding:14px 16px;border-radius:8px;background:#fff;box-shadow:0 10px 24px #0f172a0b}.patron-products-main-redesign .product-summary-card.warning{border-color:#fed7aa;background:#fffaf2}.patron-products-main-redesign .product-summary-icon{display:inline-grid;place-items:center;width:58px;height:58px;border-radius:12px}.patron-products-main-redesign .product-summary-icon svg{width:31px;height:31px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.patron-products-main-redesign .product-summary-icon.blue{background:#edf4ff;color:#075bf7}.patron-products-main-redesign .product-summary-icon.danger{background:#fff1f2;color:var(--danger)}.patron-products-main-redesign .product-summary-icon.warning,.patron-products-main-redesign .product-summary-icon.amber{background:#fff7ed;color:var(--warning)}.patron-products-main-redesign .product-summary-copy{display:grid;min-width:0;gap:4px}.patron-products-main-redesign .product-summary-title{color:var(--muted);font-size:12px;font-weight:800}.patron-products-main-redesign .product-summary-card strong{margin-top:0;overflow:hidden;color:var(--text);font-size:21px;line-height:1.08;text-overflow:ellipsis;white-space:nowrap}.patron-products-main-redesign .product-summary-card strong.permission-denied{color:var(--muted);font-size:13px}.patron-products-main-redesign .product-summary-card small{margin-top:0;color:var(--muted);font-size:11px;font-weight:700}.patron-layout{grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr)}.membership-layout{grid-template-columns:minmax(0,1.35fr) minmax(340px,.65fr)}.patron-personnel-redesign{display:grid;grid-template-rows:96px minmax(0,1fr);gap:12px;height:100%;min-height:0;min-width:0;overflow:hidden}.patron-personnel-redesign.audit-route-active{grid-template-rows:96px minmax(0,1fr)}.personnel-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;min-width:0}.personnel-kpi-card{min-height:0;height:96px;min-width:0;overflow:hidden;gap:16px;border-radius:9px;padding:14px 18px}.employee-kpi-icon{display:inline-grid;place-items:center;flex:0 0 58px;width:58px;height:58px;border-radius:11px}.employee-kpi-icon svg{width:31px;height:31px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.employee-kpi-icon.blue{background:#edf4ff;color:#075bf7}.employee-kpi-icon.green{background:#eaf9f0;color:#14a84f}.employee-kpi-icon.orange{background:#fff4e9;color:#f07810}.employee-kpi-icon.red{background:#fff0f1;color:#ef233c}.employee-kpi-icon.purple{background:#f2edff;color:#7c3aed}.employee-kpi-copy{display:grid;min-width:0;gap:3px}.employee-kpi-copy h3{overflow:hidden;color:#233557;font-size:13px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.employee-kpi-copy strong{overflow:hidden;color:var(--primary);font-size:24px;line-height:1.05;text-overflow:ellipsis;white-space:nowrap}.employee-kpi-card:nth-child(2) .employee-kpi-copy strong{color:var(--success)}.employee-kpi-card:nth-child(3) .employee-kpi-copy strong{color:var(--warning)}.employee-kpi-card:nth-child(4) .employee-kpi-copy strong{color:var(--danger)}.employee-kpi-copy p{overflow:hidden;font-size:11.5px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.employee-workspace{display:grid;grid-template-rows:50px minmax(0,1fr);min-height:0;min-width:0;overflow:hidden;border-radius:9px;padding:0}.employee-tabs{display:flex;align-items:stretch;gap:14px;min-width:0;border-bottom:1px solid var(--border);padding:0 12px}.employee-tab{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:50px;border:0;border-radius:0;background:transparent;color:#425171;padding:0 16px;font-size:13.5px;font-weight:800}.employee-tab:after{position:absolute;right:10px;bottom:-1px;left:10px;height:2px;border-radius:2px 2px 0 0;background:transparent;content:""}.employee-tab.active{color:var(--primary)}.employee-tab.active:after{background:var(--primary)}.employee-tab svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.employee-directory-panel{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;min-height:0;min-width:0;overflow:hidden}.employee-toolbar{display:grid;grid-template-columns:minmax(300px,1.25fr) minmax(170px,.42fr) minmax(185px,.46fr) minmax(20px,1fr) auto auto;align-items:center;gap:12px;min-width:0;border-bottom:1px solid var(--border);padding:11px 16px 12px}.employee-search-field{position:relative;align-self:end;min-width:0}.employee-search-field input,.employee-filter-field select{min-height:42px;height:42px;border-radius:8px;font-size:12.5px}.employee-search-field input{padding-right:42px}.employee-search-field svg{position:absolute;top:50%;right:13px;width:17px;height:17px;fill:none;stroke:var(--primary);stroke-width:2;stroke-linecap:round;transform:translateY(-50%);pointer-events:none}.employee-filter-field{display:grid;align-self:end;gap:5px;min-width:0}.employee-filter-field>span{overflow:hidden;color:#576780;font-size:11.5px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.employee-toolbar button{align-self:end;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;height:42px;border-radius:8px;padding:8px 15px;white-space:nowrap}.employee-toolbar button svg{flex:0 0 17px;width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.employee-list-state{display:flex;align-items:center;justify-content:center;gap:12px;min-height:58px;border-bottom:1px solid var(--border);background:#f8fbff;padding:9px 16px;text-align:left}.employee-list-state strong{display:block;color:#183153;font-size:13px}.employee-list-state p{margin-top:2px;font-size:12px}.employee-list-state[data-state=empty]{background:#fff}.employee-list-state[data-state=error]{background:#fff7f7}.employee-list-state[data-state=error] strong,.employee-list-state[data-state=error] p{color:var(--danger)}.employee-state-spinner{width:20px;height:20px;border:2px solid #cfe0ff;border-top-color:var(--primary);border-radius:50%;animation:employee-spinner .7s linear infinite}.employee-list-state[data-state=empty] .employee-state-spinner,.employee-list-state[data-state=error] .employee-state-spinner{display:none}@keyframes employee-spinner{to{transform:rotate(360deg)}}.employee-table-wrap{min-height:0;max-width:100%;border:0;border-radius:0;overflow:auto;scrollbar-gutter:stable}.employee-table-wrap table{min-width:1100px;table-layout:fixed}.employee-table-wrap th,.employee-table-wrap td{height:48px;padding:8px 14px;font-size:12.5px;vertical-align:middle}.employee-table-wrap thead th{position:sticky;top:0;z-index:2;height:40px;color:#243654;font-size:11.5px}.employee-table-wrap th:nth-child(1){width:18%}.employee-table-wrap th:nth-child(2){width:16%}.employee-table-wrap th:nth-child(3){width:15%}.employee-table-wrap th:nth-child(4){width:13%}.employee-table-wrap th:nth-child(5){width:16%}.employee-table-wrap th:nth-child(6){width:11%}.employee-table-wrap th:nth-child(7){width:11%;text-align:center}.employee-table-wrap td:last-child{text-align:center}.employee-name-cell{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:10px;min-width:0}.employee-avatar{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#eaf2ff;color:var(--primary);font-size:11px;font-weight:850}.employee-name-copy{min-width:0}.employee-name-copy strong,.employee-name-copy span{display:block;overflow-wrap:anywhere;white-space:normal}.employee-name-copy strong{color:#142546}.employee-name-copy span{margin-top:2px;color:var(--muted);font-size:11.5px}.employee-role-badge,.employee-access-badge,.employee-status-pill{display:inline-flex;align-items:center;justify-content:center;min-height:24px;max-width:100%;border-radius:999px;padding:3px 9px;font-size:12px;font-weight:800;line-height:1.2;overflow-wrap:anywhere;white-space:normal}.employee-role-badge,.employee-access-badge{background:#eaf2ff;color:var(--primary)}.employee-access-badges{display:inline-flex;align-items:center;flex-wrap:wrap;gap:4px}.employee-access-badge.pos{background:#f3e8ff;color:#7c3aed}.employee-access-badge svg{width:14px;height:14px;margin-right:5px;fill:none;stroke:currentColor;stroke-width:2}.employee-status-pill.active{background:#dcfce7;color:var(--success)}.employee-status-pill.inactive{background:#eef2f7;color:#5d6c82}.employee-status-pill.locked{background:#fee2e2;color:var(--danger)}.employee-status-pill.pending{background:#fff7ed;color:var(--warning)}.employee-row-actions{display:inline-flex;align-items:center;justify-content:center;gap:6px}.employee-row-action{display:inline-grid;place-items:center;width:32px;min-width:32px;height:32px;min-height:32px;border-radius:8px;background:#fff;color:#31537d;padding:0}.employee-row-action svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.employee-table-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:48px;border-top:1px solid var(--border);padding:6px 14px}.employee-table-footer p{font-size:12px}.employee-pagination,.employee-page-buttons{display:inline-flex;align-items:center;gap:7px}.employee-page-buttons button,.employee-pagination .pagination-button{width:32px;min-width:32px;height:32px;min-height:32px;border-radius:7px;padding:0}.employee-page-buttons button[aria-current=page],.employee-page-buttons .active{border-color:var(--primary);background:var(--primary);color:#fff}.employee-pagination select{width:auto;min-height:32px;height:32px;border-radius:7px;padding:4px 9px;font-size:12px}.employee-drawer-shell{position:fixed;inset:0;z-index:1000;display:flex;justify-content:flex-end;overflow:hidden}.employee-drawer-backdrop{position:absolute;inset:0;width:100%;height:100%;min-height:0;border:0;border-radius:0;background:#0f172a80;padding:0;cursor:default}.employee-drawer{position:relative;z-index:1;display:flex;flex-direction:column;width:min(640px,calc(100vw - 32px));height:100%;min-height:0;border-left:1px solid var(--border);background:#fff;box-shadow:-22px 0 60px #0f172a33}.employee-drawer-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;flex:0 0 auto;border-bottom:1px solid var(--border);padding:20px 22px 17px}.employee-drawer-eyebrow{display:block;margin-bottom:5px;color:var(--primary);font-size:11px;font-weight:850;letter-spacing:.05em;text-transform:uppercase}.employee-drawer-header h2{color:var(--text);font-size:21px}.employee-drawer-header p{margin-top:5px;max-width:460px}.employee-drawer-close{display:inline-grid;place-items:center;flex:0 0 38px;width:38px;height:38px;min-height:38px;border-radius:9px;background:#fff;padding:0}.employee-drawer-close svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}.employee-drawer-form{display:flex;flex:1 1 auto;flex-direction:column;gap:14px;min-height:0;overflow-y:auto;padding:18px 22px}.employee-form-section{display:grid;gap:14px;flex:0 0 auto;border:1px solid var(--border);border-radius:11px;background:#fff;padding:15px}.employee-form-section-heading{display:flex;align-items:flex-start;gap:10px}.employee-form-section-heading>span{display:inline-grid;place-items:center;flex:0 0 27px;width:27px;height:27px;border-radius:8px;background:#eaf2ff;color:var(--primary);font-size:12px;font-weight:850}.employee-form-section-heading h3{color:#142546;font-size:14px}.employee-form-section-heading p{margin-top:3px;font-size:11.5px}.employee-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.employee-form-grid.one-column{grid-template-columns:1fr}.employee-form-section label{min-width:0}.employee-form-section label em{color:var(--danger);font-style:normal}.employee-form-section input,.employee-form-section select{min-height:42px;height:42px;border-radius:8px}.employee-active-toggle{display:flex;align-items:center;gap:11px;border:1px solid var(--border);border-radius:9px;background:#f8fafc;padding:10px 12px;cursor:default}.employee-active-toggle input{flex:0 0 18px;width:18px;height:18px;min-height:18px;margin:0}.employee-active-toggle input:disabled{opacity:.78;cursor:not-allowed}.employee-active-toggle span,.employee-active-toggle strong,.employee-active-toggle small{display:block}.employee-active-toggle small{margin-top:2px;color:var(--muted);font-weight:600}.employee-web-access-note{display:flex;align-items:center;gap:11px;border:1px solid #cfe0ff;border-radius:9px;background:#f4f8ff;padding:11px 12px}.employee-access-icon{display:inline-grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:9px;background:#e3edff;color:var(--primary)}.employee-access-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2}.employee-web-access-note strong{display:block;color:#183153;font-size:12.5px}.employee-web-access-note p{margin-top:2px;font-size:11.5px}.employee-account-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.employee-account-action-grid button{min-height:40px;border-radius:8px;padding:8px 10px;font-size:12px}.employee-drawer-status{border:1px solid var(--border);border-radius:9px;background:#f8fafc;padding:10px 12px}.employee-drawer-status.error{border-color:#fecaca;background:#fff7f7;color:var(--danger)}.employee-drawer-footer{flex:0 0 auto;display:flex;justify-content:flex-end;gap:10px;margin:0;border-top:1px solid var(--border);background:#fff;padding:14px 22px}.employee-drawer-footer button{min-width:132px;min-height:42px;border-radius:8px}.role-template-list-panel{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;min-width:0;min-height:0;overflow:hidden}.role-template-toolbar{display:grid;grid-template-columns:minmax(320px,.9fr) minmax(180px,.35fr) minmax(20px,1fr) auto auto;align-items:end;gap:12px;min-width:0;border-bottom:1px solid var(--border);padding:11px 16px 12px}.role-template-search-field,.role-assignment-search{position:relative;min-width:0}.role-template-search-field input,.role-template-filter-field select,.role-assignment-search input{min-height:42px;height:42px;border-radius:8px;font-size:12.5px}.role-template-search-field input,.role-assignment-search input{padding-right:42px}.role-template-search-field svg,.role-assignment-search svg{position:absolute;top:50%;right:13px;width:17px;height:17px;fill:none;stroke:var(--primary);stroke-width:2;stroke-linecap:round;transform:translateY(-50%);pointer-events:none}.role-template-filter-field{display:grid;gap:5px;min-width:0}.role-template-filter-field>span{overflow:hidden;color:#576780;font-size:11.5px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.role-template-toolbar button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;height:42px;border-radius:8px;padding:8px 15px;white-space:nowrap}.role-template-toolbar button svg,.role-editor-actions button svg{flex:0 0 17px;width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.role-template-list-state,.role-permission-catalog-status{display:flex;align-items:center;justify-content:center;gap:12px;min-height:58px;border-bottom:1px solid var(--border);background:#f8fbff;padding:9px 16px}.role-template-list-state strong,.role-permission-catalog-status strong{display:block;color:#183153;font-size:13px}.role-template-list-state p,.role-permission-catalog-status p{margin-top:2px;font-size:12px}.role-template-list-state[data-state=empty],.role-permission-catalog-status[data-state=empty]{background:#fff}.role-template-list-state[data-state=error],.role-permission-catalog-status[data-state=error]{background:#fff7f7}.role-template-list-state[data-state=empty] .employee-state-spinner,.role-template-list-state[data-state=error] .employee-state-spinner,.role-permission-catalog-status[data-state=empty] .employee-state-spinner,.role-permission-catalog-status[data-state=error] .employee-state-spinner{display:none}.role-template-list-state[data-state=error] strong,.role-template-list-state[data-state=error] p,.role-permission-catalog-status[data-state=error] strong,.role-permission-catalog-status[data-state=error] p{color:var(--danger)}.role-template-table-wrap{min-width:0;min-height:0;max-width:100%;border:0;border-radius:0;overflow:auto;scrollbar-gutter:stable}.role-template-table-wrap table{min-width:980px;table-layout:fixed}.role-template-table-wrap th,.role-template-table-wrap td{height:50px;padding:8px 14px;font-size:12.5px;vertical-align:middle}.role-template-table-wrap thead th{position:sticky;top:0;z-index:2;height:40px;color:#243654;font-size:11.5px}.role-template-table-wrap th:nth-child(1){width:28%}.role-template-table-wrap th:nth-child(2){width:11%}.role-template-table-wrap th:nth-child(3){width:9%}.role-template-table-wrap th:nth-child(4){width:20%}.role-template-table-wrap th:nth-child(5){width:32%;text-align:center}.role-template-table-wrap td:last-child{text-align:center}.role-template-name-cell{display:grid;min-width:0;gap:3px}.role-template-name-cell strong,.role-template-name-cell span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.role-template-name-cell strong{color:#142546}.role-template-name-cell span{color:var(--muted);font-size:11.5px}.role-status-pill{display:inline-flex;align-items:center;justify-content:center;min-height:24px;border-radius:999px;padding:3px 10px;font-size:12px;font-weight:800;line-height:1;white-space:nowrap}.role-status-pill.active{background:#dcfce7;color:var(--success)}.role-status-pill.inactive{background:#eef2f7;color:#5d6c82}.role-list-actions{display:inline-flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px}.role-list-action{display:inline-flex;align-items:center;justify-content:center;width:auto;min-width:68px;height:32px;min-height:32px;border-radius:8px;background:#fff;color:#31537d;padding:0 10px;font-size:11.5px;font-weight:750;white-space:nowrap}.role-list-action.danger{border-color:#fecaca;color:#dc2626}.role-list-action svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.role-template-table-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:48px;border-top:1px solid var(--border);padding:6px 14px}.role-template-table-footer p{font-size:12px}.role-template-pagination,.role-template-page-buttons{display:inline-flex;align-items:center;gap:7px}.role-template-page-buttons button,.role-template-pagination .pagination-button{width:32px;min-width:32px;height:32px;min-height:32px;border-radius:7px;padding:0}.role-template-page-buttons button[aria-current=page],.role-template-page-buttons .active{border-color:var(--primary);background:var(--primary);color:#fff}.role-template-pagination select{width:auto;min-height:32px;height:32px;border-radius:7px;padding:4px 9px;font-size:12px}.audit-kpi-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;min-width:0}.audit-kpi-card{display:flex;align-items:center;gap:12px;width:100%;min-width:0;min-height:0;height:96px;overflow:hidden;border-radius:9px;background:#fff;padding:12px 14px;text-align:left;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}.audit-kpi-card:hover,.audit-kpi-card.active{border-color:#0b5fff7a;box-shadow:0 8px 22px #0b5fff1a}.audit-kpi-card:hover{transform:translateY(-1px)}.audit-kpi-card .employee-kpi-icon{flex-basis:46px;width:46px;height:46px}.audit-kpi-card .employee-kpi-icon svg{width:24px;height:24px}.audit-kpi-card .employee-kpi-copy{align-content:center}.audit-kpi-title{overflow:hidden;color:#233557;font-size:12px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.audit-kpi-card .employee-kpi-copy strong{color:var(--primary);font-size:22px}.audit-kpi-card:nth-child(2) .employee-kpi-copy strong,.audit-kpi-card:nth-child(3) .employee-kpi-copy strong{color:var(--danger)}.audit-kpi-card:nth-child(4) .employee-kpi-copy strong{color:#7c3aed}.audit-kpi-card:nth-child(5) .employee-kpi-copy strong{color:var(--success)}.audit-kpi-note{overflow:hidden;color:var(--muted);font-size:10.5px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.employee-audit-panel{display:grid;grid-template-rows:auto auto auto minmax(0,1fr) auto;min-width:0;min-height:0;overflow:hidden}.employee-audit-toolbar{grid-row:1;display:grid;grid-template-columns:minmax(240px,1.2fr) minmax(132px,.48fr) minmax(150px,.56fr) minmax(238px,.82fr) minmax(118px,.42fr) minmax(125px,.46fr) minmax(105px,.38fr) 40px;align-items:end;gap:10px;min-width:0;overflow-x:auto;border-bottom:1px solid var(--border);padding:9px 14px 10px;scrollbar-gutter:stable}.employee-audit-search{position:relative;min-width:0}.employee-audit-search input,.employee-audit-filter select,.employee-audit-date-range input{width:100%;min-height:38px;height:38px;border-radius:8px;font-size:11.5px}.employee-audit-search input{padding-right:38px}.employee-audit-search svg{position:absolute;top:50%;right:12px;width:16px;height:16px;fill:none;stroke:var(--primary);stroke-width:2;stroke-linecap:round;transform:translateY(-50%);pointer-events:none}.employee-audit-filter{display:grid;gap:4px;min-width:0}.employee-audit-filter>span,.employee-audit-date-range legend{overflow:hidden;color:#576780;font-size:10.5px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.employee-audit-date-range{display:grid;grid-template-columns:minmax(100px,1fr) auto minmax(100px,1fr);align-items:center;gap:5px;min-width:0;margin:0;border:0;padding:0}.employee-audit-date-range legend{grid-column:1 / -1;margin-bottom:4px;padding:0}.employee-audit-date-range label{min-width:0}.employee-audit-date-range>span{color:var(--muted)}.employee-audit-refresh{display:inline-grid;place-items:center;width:40px;min-width:40px;height:38px;min-height:38px;border-radius:8px;padding:0}.employee-audit-refresh svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.employee-audit-category-strip{grid-row:2;display:flex;align-items:center;gap:7px;min-width:0;overflow-x:auto;border-bottom:1px solid var(--border);background:#fbfdff;padding:8px 14px;scrollbar-gutter:stable}.employee-audit-category-strip button{flex:0 0 auto;min-height:29px;border-radius:999px;background:#fff;color:#465775;padding:5px 10px;font-size:10.5px;font-weight:750;white-space:nowrap}.employee-audit-category-strip button.active{border-color:var(--primary);background:#eaf2ff;color:var(--primary)}.employee-audit-list-state{grid-row:3;min-height:50px;padding-top:6px;padding-bottom:6px}.employee-audit-table-wrap{grid-row:4;min-width:0;min-height:0;max-width:100%;overflow:auto;border:0;border-radius:0;scrollbar-gutter:stable}.employee-audit-table-wrap table{min-width:1500px;table-layout:fixed}.employee-audit-table-wrap th,.employee-audit-table-wrap td{height:50px;padding:7px 11px;font-size:11.5px;vertical-align:middle}.employee-audit-table-wrap thead th{position:sticky;top:0;z-index:2;height:38px;color:#243654;font-size:10.5px}.employee-audit-table-wrap th:nth-child(1){width:135px}.employee-audit-table-wrap th:nth-child(2){width:150px}.employee-audit-table-wrap th:nth-child(3){width:125px}.employee-audit-table-wrap th:nth-child(4){width:235px}.employee-audit-table-wrap th:nth-child(5){width:145px}.employee-audit-table-wrap th:nth-child(6){width:130px}.employee-audit-table-wrap th:nth-child(7),.employee-audit-table-wrap th:nth-child(8),.employee-audit-table-wrap th:nth-child(10){width:112px}.employee-audit-table-wrap th:nth-child(9){width:130px}.employee-audit-table-wrap th:nth-child(11){width:70px;text-align:center}.employee-audit-table-wrap td:last-child{text-align:center}.employee-audit-primary,.employee-audit-secondary{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.employee-audit-primary{color:#142546;font-weight:750}.employee-audit-secondary{margin-top:2px;color:var(--muted);font-size:10px}.employee-audit-badge{display:inline-flex;align-items:center;justify-content:center;min-height:23px;max-width:100%;overflow:hidden;border-radius:999px;background:#eef2f7;color:#526278;padding:3px 8px;font-size:10.5px;font-weight:800;line-height:1;text-overflow:ellipsis;white-space:nowrap}.employee-audit-badge.source{background:#eaf2ff;color:var(--primary)}.employee-audit-badge.result.successful{background:#dcfce7;color:var(--success)}.employee-audit-badge.result.failed,.employee-audit-badge.result.denied{background:#fee2e2;color:var(--danger)}.employee-audit-badge.result.completed_with_approval,.employee-audit-badge.severity.attention{background:#fff7ed;color:var(--warning)}.employee-audit-badge.severity.critical{background:#fee2e2;color:var(--danger)}.employee-audit-badge.severity.information{background:#eaf2ff;color:var(--primary)}.employee-audit-detail-button{margin:0 auto}.employee-audit-table-footer{grid-row:5;min-width:0}.employee-audit-detail-shell{position:fixed;inset:0;z-index:1010;display:flex;justify-content:flex-end;overflow:hidden}.employee-audit-detail-drawer{position:relative;z-index:1;display:grid;grid-template-rows:auto auto minmax(0,1fr);width:min(720px,calc(100vw - 32px));height:100%;min-height:0;overflow:hidden;border-left:1px solid var(--border);background:#fff;box-shadow:-22px 0 60px #0f172a33}.employee-audit-detail-status{grid-row:2;min-height:62px;border-bottom:1px solid var(--border)}.employee-audit-detail-body{grid-row:3;display:grid;align-content:start;gap:13px;min-width:0;min-height:0;overflow-y:auto;padding:16px 20px 24px;scrollbar-gutter:stable}.employee-audit-detail-section{display:grid;gap:11px;min-width:0;border:1px solid var(--border);border-radius:10px;background:#fff;padding:14px}.employee-audit-detail-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.employee-audit-detail-section-title h3{color:#142546;font-size:13px}.employee-audit-masked-badge{border-radius:999px;background:#fff7ed;color:#9a5a00;padding:4px 8px;font-size:10px;font-weight:800;white-space:nowrap}.employee-audit-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0}.employee-audit-detail-grid>div{min-width:0;border-radius:8px;background:#f7f9fc;padding:9px 10px}.employee-audit-detail-grid>div.masked{background:#fff7ed}.employee-audit-detail-grid dt{overflow:hidden;color:#5d6c82;font-size:10px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.employee-audit-detail-grid dd{overflow-wrap:anywhere;margin:4px 0 0;color:#172a49;font-size:12px;font-weight:750;line-height:1.35}.employee-audit-detail-proof{border-radius:8px;background:#eef4ff;padding:10px 12px;color:#40516c;font-size:10.5px}.patron-personnel-redesign.role-editor-active{grid-template-rows:minmax(0,1fr);gap:0}.patron-personnel-redesign.role-editor-active>.personnel-kpi-grid,.patron-personnel-redesign.role-editor-active>.audit-kpi-grid,.patron-personnel-redesign.role-editor-active>.employee-workspace{display:none}.role-template-editor-panel{display:grid;grid-template-rows:auto minmax(0,1fr);min-width:0;min-height:0;height:100%;overflow:hidden}.role-editor-topbar{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;min-width:0;border-bottom:1px solid var(--border);padding:0 4px 13px}.role-editor-heading{min-width:0}.role-editor-breadcrumb{display:flex;align-items:center;gap:8px;min-width:0;margin-bottom:6px;color:#5d6c82;font-size:11.5px}.role-editor-breadcrumb button{min-height:0;border:0;background:transparent;color:var(--primary);padding:0;font-size:inherit;font-weight:750}.role-editor-breadcrumb strong{overflow:hidden;color:#475569;text-overflow:ellipsis;white-space:nowrap}.role-editor-heading h1{color:#10213f;font-size:23px;line-height:1.15}.role-editor-heading>p{margin-top:3px;font-size:12px}.role-editor-actions{display:inline-flex;align-items:center;gap:10px;flex:0 0 auto;padding-top:6px}.role-editor-actions button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:112px;min-height:40px;border-radius:8px;padding:8px 16px;white-space:nowrap}.role-template-editor-form{display:grid;grid-template-rows:auto minmax(0,1fr);gap:12px;min-width:0;min-height:0;overflow:hidden;padding-top:12px}.role-editor-info-card,.role-permissions-card,.role-summary-panel{min-width:0;border:1px solid var(--border);border-radius:10px;background:#fff;box-shadow:0 8px 22px #1c304a0a}.role-editor-info-card{display:grid;grid-template-columns:minmax(210px,.38fr) minmax(0,1fr);align-items:center;gap:20px;min-height:96px;padding:13px 16px}.role-editor-card-heading h2{color:#142546;font-size:15px}.role-editor-card-heading p{margin-top:4px;max-width:300px;font-size:11.5px}.role-editor-info-grid{display:grid;grid-template-columns:minmax(360px,1fr) 250px;align-items:end;gap:18px;min-width:0}.role-template-name-field{min-width:0}.role-template-name-field em{color:var(--danger);font-style:normal}.role-template-name-field input{min-height:42px;height:42px;border-radius:8px;font-size:12.5px}.role-status-fieldset{min-width:0;border:0;padding:0}.role-status-fieldset legend{margin-bottom:7px;color:var(--text);font-size:12px;font-weight:750}.role-status-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));height:42px;overflow:hidden;border:1px solid var(--border);border-radius:8px;background:#fff}.role-status-options label{position:relative;min-width:0;cursor:pointer}.role-status-options label+label{border-left:1px solid var(--border)}.role-status-options input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.role-status-options span{display:flex;align-items:center;justify-content:center;width:100%;height:100%;color:#425171;font-size:12.5px;font-weight:800}.role-status-options input:checked+span{background:var(--primary);color:#fff}.role-status-options input:focus-visible+span{outline:2px solid #93c5fd;outline-offset:-2px}.role-editor-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,340px);gap:12px;height:100%;min-width:0;min-height:0;max-height:100%;overflow:hidden}.role-permissions-card{position:relative;display:block;height:100%;min-height:0;max-height:100%;overflow:hidden}.role-permission-channel-stack{position:absolute;inset:0;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.role-permission-channel{min-width:0}.role-permission-channel+.role-permission-channel{border-top:1px solid var(--border)}.role-permissions-header{display:flex;align-items:center;justify-content:space-between;gap:18px;min-width:0;border-bottom:1px solid var(--border);padding:13px 16px}.role-permissions-title{display:flex;align-items:center;gap:11px;min-width:0}.role-permissions-title>span,.role-summary-heading>span{display:inline-grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:9px;background:#eaf2ff;color:var(--primary)}.role-permission-channel[data-role-permission-channel=pos] .role-permissions-title>span{background:#f3e8ff;color:#7c3aed}.role-permissions-title svg,.role-summary-heading svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.role-permissions-title h2{color:#142546;font-size:15px}.role-permissions-title p{margin-top:2px;font-size:11.5px}.role-master-toggle{display:inline-flex;align-items:center;gap:9px;flex:0 0 auto;color:#425171;font-size:11.5px;font-weight:800;cursor:pointer}.role-master-toggle input{position:absolute;width:1px;height:1px;opacity:0}.role-master-toggle i{position:relative;display:inline-block;width:38px;height:22px;border-radius:999px;background:#cbd5e1;transition:background .16s ease}.role-master-toggle i:after{position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0f172a33;content:"";transition:transform .16s ease}.role-master-toggle input:checked+i{background:var(--success)}.role-master-toggle input:checked+i:after{transform:translate(16px)}.role-master-toggle input:focus-visible+i{outline:2px solid #93c5fd;outline-offset:2px}.role-permission-catalog-status{min-height:52px;padding:8px 16px}.role-permission-module-list{min-width:0;min-height:0;overflow:visible;padding:10px}.role-permission-empty-state{display:grid;place-items:center;min-height:140px;border:1px dashed #cbd5e1;border-radius:9px;background:#f8fafc;padding:18px;text-align:center}.role-permission-empty-state p{max-width:440px;font-size:12px}.role-permission-module{overflow:hidden;border:1px solid var(--border);border-radius:9px;background:#fff}.role-permission-module+.role-permission-module{margin-top:8px}.role-permission-module-header{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;min-height:48px;background:#f8fafc;padding:7px 11px}.role-permission-module-header>div{min-width:0}.role-permission-module-header strong,.role-permission-module-header small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.role-permission-module-header strong{color:#183153;font-size:12.5px}.role-permission-module-header small{margin-top:2px;color:var(--muted);font-size:10.5px}.role-permission-module-toggle{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:0 0 auto;min-height:30px;border-radius:7px;background:#fff;color:#31537d;padding:5px 9px;font-size:11px;font-weight:800}.role-permission-module-toggle svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;transition:transform .16s ease}.role-permission-module-toggle[aria-expanded=true] svg{transform:rotate(180deg)}.role-permission-module-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid var(--border)}.role-permission-option{display:flex;align-items:flex-start;gap:9px;min-width:0;min-height:42px;border-bottom:1px solid #edf1f6;padding:9px 11px;cursor:pointer}.role-permission-option:nth-child(odd){border-right:1px solid #edf1f6}.role-permission-module-copy{cursor:default}.role-permission-option input{flex:0 0 17px;width:17px;height:17px;min-height:17px;margin:1px 0 0;accent-color:var(--success)}.role-permission-option span{display:block;min-width:0}.role-permission-option strong,.role-permission-option small{display:block}.role-permission-option strong{color:#233557;font-size:11.5px}.role-permission-option small{margin-top:2px;color:var(--muted);font-size:10.5px;line-height:1.3}.role-permission-option:has(input:disabled){background:#f8fafc;cursor:not-allowed}.role-summary-panel{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:0 14px 14px}.role-summary-heading{position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:10px;min-height:58px;border-bottom:1px solid var(--border);background:#fff}.role-summary-heading h2{color:#142546;font-size:15px}.role-summary-identity{display:grid;gap:10px;border-bottom:1px solid var(--border);padding:13px 2px}.role-summary-identity>div{display:grid;gap:3px}.role-summary-identity dt{color:var(--muted);font-size:10.5px;font-weight:750}.role-summary-identity dd{overflow-wrap:anywhere;color:#142546;font-size:12px;font-weight:800}.role-summary-state{display:inline-flex;align-items:center;min-height:22px;border-radius:999px;padding:3px 8px;font-size:10.5px;font-weight:850}.role-summary-state.active{background:#dcfce7;color:var(--success)}.role-summary-state.inactive{background:#eef2f7;color:#5d6c82}.role-summary-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;border-bottom:1px solid var(--border);padding:12px 0}.role-summary-metrics article{display:grid;gap:2px;min-width:0;border:1px solid #dce7f5;border-radius:8px;background:#f8fbff;padding:9px 10px}.role-summary-metrics strong{color:var(--primary);font-size:18px;line-height:1}.role-summary-metrics span{overflow:hidden;color:var(--muted);font-size:10px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.role-summary-screens{border-bottom:1px solid var(--border);padding:12px 2px}.role-summary-screens h3,.role-impact-heading h3{color:#233557;font-size:12px}.role-summary-screens ul{display:grid;gap:6px;margin-top:9px;padding:0;list-style:none}.role-summary-screen-item,.role-summary-empty{position:relative;min-width:0;color:#425171;padding-left:17px;font-size:11px;line-height:1.35}.role-summary-screen-item:before{position:absolute;top:1px;left:0;color:var(--success);font-weight:900;content:"✓"}.role-summary-empty{color:var(--muted);padding-left:0}.role-summary-screen-item:before{display:none}.role-summary-screen-item svg{position:absolute;top:2px;left:0;width:12px;height:12px;fill:none;stroke:var(--success);stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.role-impact-summary{margin-top:12px;border:1px solid #cfe0ff;border-radius:9px;background:#f7faff;padding:11px}.role-impact-heading{display:flex;align-items:flex-start;gap:8px}.role-impact-heading>span{display:inline-grid;place-items:center;flex:0 0 26px;width:26px;height:26px;border-radius:7px;background:#eaf2ff;color:var(--primary)}.role-impact-heading svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}.role-impact-heading p{margin-top:2px;font-size:10.5px;line-height:1.35}.role-impact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:10px}.role-impact-grid>div{display:grid;gap:2px;min-width:0;border-radius:7px;background:#fff;padding:7px 8px}.role-impact-grid dt{color:var(--muted);font-size:9.5px;font-weight:700}.role-impact-grid dd{color:#142546;font-size:14px;font-weight:850}.role-editor-status,.role-dialog-status{margin-top:12px;border:1px solid var(--border);border-radius:8px;background:#f8fafc;padding:9px 10px;color:#425171;font-size:11.5px}.role-editor-status.error,.role-dialog-status.error{border-color:#fecaca;background:#fff7f7;color:var(--danger)}.role-dialog-shell,.role-assignment-shell{position:fixed;inset:0;z-index:1020;display:grid;place-items:center;overflow:hidden;padding:18px}.role-dialog-backdrop,.role-assignment-backdrop{position:absolute;inset:0;width:100%;height:100%;min-height:0;border:0;border-radius:0;background:#0f172a85;padding:0;cursor:default}.role-dialog-card{position:relative;z-index:1;width:min(480px,calc(100vw - 36px));max-height:calc(100vh - 36px);overflow-y:auto;border:1px solid var(--border);border-radius:12px;background:#fff;box-shadow:0 24px 70px #0f172a3d}.role-dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;border-bottom:1px solid var(--border);padding:18px 20px 15px}.role-dialog-eyebrow{display:block;margin-bottom:4px;color:var(--primary);font-size:10.5px;font-weight:850;letter-spacing:.05em;text-transform:uppercase}.role-dialog-eyebrow.warning{color:var(--warning)}.role-dialog-header h2{color:#142546;font-size:19px}.role-dialog-header p{margin-top:4px;font-size:11.5px}.role-dialog-close{display:inline-grid;place-items:center;flex:0 0 36px;width:36px;height:36px;min-height:36px;border-radius:8px;background:#fff;padding:0}.role-dialog-close svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}.role-dialog-form{display:grid;gap:13px;padding:17px 20px 0}.role-dialog-form label{min-width:0}.role-dialog-form label em{color:var(--danger);font-style:normal}.role-dialog-form input{min-height:42px;height:42px;border-radius:8px}.role-dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin:0 -20px;border-top:1px solid var(--border);background:#fff;padding:13px 20px}.role-dialog-actions button{min-width:120px;min-height:40px;border-radius:8px}.role-deactivate-card>.role-dialog-actions{margin:0}.role-deactivate-impact{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:16px 20px}.role-deactivate-impact article{display:grid;gap:3px;border:1px solid #fed7aa;border-radius:9px;background:#fff7ed;padding:11px}.role-deactivate-impact span{color:#9a5711;font-size:10.5px;font-weight:750}.role-deactivate-impact strong{color:#c25d0a;font-size:20px}.role-assignment-shell{z-index:1010;display:flex;justify-content:flex-end;padding:0}.role-assignment-drawer{position:relative;z-index:1;display:grid;grid-template-rows:auto minmax(0,1fr) auto;width:min(560px,calc(100vw - 32px));height:100%;min-height:0;border-left:1px solid var(--border);background:#fff;box-shadow:-22px 0 60px #0f172a33}.role-assignment-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;border-bottom:1px solid var(--border);padding:19px 21px 16px}.role-assignment-header h2{color:#142546;font-size:20px}.role-assignment-header p{margin-top:4px;max-width:430px;font-size:11.5px}.role-assignment-body{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:12px;min-width:0;min-height:0;overflow:hidden;padding:16px 20px}.role-assignment-employee-list{min-width:0;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;border:1px solid var(--border);border-radius:9px}.role-assignment-empty-state{display:flex;align-items:center;justify-content:center;gap:10px;min-height:110px;padding:18px}.role-assignment-empty-state p{font-size:12px}.role-assignment-item{display:grid;grid-template-columns:20px 36px minmax(0,1fr) auto;align-items:center;gap:11px;min-height:58px;border-bottom:1px solid #edf1f6;padding:9px 12px;cursor:pointer}.role-assignment-item:last-child{border-bottom:0}.role-assignment-item:hover{background:#f8fbff}.role-assignment-item input{width:18px;height:18px;min-height:18px;margin:0;accent-color:var(--primary)}.role-assignment-copy{display:grid;min-width:0;gap:2px}.role-assignment-copy strong,.role-assignment-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.role-assignment-copy strong{color:#142546;font-size:12px}.role-assignment-copy small{color:var(--muted);font-size:10.5px}.role-assignment-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--border);background:#fff;padding:13px 20px}.role-assignment-footer>p{font-size:11.5px}.role-assignment-footer>p strong{color:var(--primary)}.role-assignment-footer>div{display:inline-flex;align-items:center;gap:9px}.role-assignment-footer button{min-width:112px;min-height:40px;border-radius:8px}@media(prefers-reduced-motion:reduce){.employee-state-spinner,.role-master-toggle i,.role-master-toggle i:after,.role-permission-module-toggle svg{animation:none;transition:none}}.lifecycle-layout{grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr)}.lifecycle-detail-layout{grid-template-columns:minmax(0,1.35fr) minmax(360px,.65fr);margin-top:16px}.patron-detail-card,.membership-detail-card{margin-top:16px}.product-bulk-panel,.product-profitability-panel{margin-top:16px;padding:16px}.profitability-control-row{align-items:end;margin-top:14px}.profitability-control-row .secondary-button{min-height:42px}.profitability-grid{grid-template-columns:repeat(2,minmax(0,1fr))}tr.warning-row{background:#fff7ed}.product-profitability-panel[data-margin-alert=negative]{border-color:#dc262659;background:#fff7f7}.product-profitability-panel[data-margin-alert=healthy]{border-color:#16a34a40}.patron-table-wrap,.membership-table-wrap{min-height:340px}.lifecycle-table-wrap,.register-table-wrap{min-height:260px}.login-grid{align-items:end}.stacked-form{grid-template-columns:1fr}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:12px}label{display:grid;gap:7px;color:#334155;font-size:13px;font-weight:650}input,select{width:100%;min-height:46px;border:1px solid var(--border-strong);border-radius:10px;background:#fff;color:var(--text);padding:10px 12px;outline:none}input:focus,select:focus{border-color:var(--primary);box-shadow:0 0 0 3px #155eef1f}.checkbox-label{align-content:end;grid-template-columns:auto 1fr;min-height:69px}.checkbox-label input{width:20px;min-height:20px;align-self:center}.session-mode-option{align-items:flex-start;gap:8px}.session-mode-option .safe-note{grid-column:2;margin-top:2px}.toolbar{display:grid;grid-template-columns:minmax(240px,1fr) auto auto;gap:10px;margin-bottom:14px}.product-toolbar{grid-template-columns:minmax(220px,1fr) minmax(120px,auto) minmax(110px,auto) minmax(140px,auto) auto auto}.patron-products-main-redesign .product-toolbar{grid-template-columns:minmax(340px,1fr) minmax(132px,auto) minmax(138px,auto) minmax(126px,auto) minmax(136px,auto) minmax(78px,auto) minmax(92px,auto);align-items:center;gap:10px;margin-bottom:10px}.patron-products-main-redesign .product-search-box{position:relative;display:block;min-width:0;color:var(--text)}.patron-products-main-redesign .product-toolbar input,.patron-products-main-redesign .product-toolbar select{height:42px;border-radius:9px}.patron-products-main-redesign .product-search-box input{padding-right:44px}.patron-products-main-redesign .product-search-icon{position:absolute;top:50%;right:14px;display:inline-grid;place-items:center;width:20px;height:20px;color:var(--primary);pointer-events:none;transform:translateY(-50%)}.patron-products-main-redesign .product-search-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.patron-toolbar,.membership-toolbar{grid-template-columns:minmax(240px,1fr) minmax(140px,auto) auto}.lifecycle-toolbar{grid-template-columns:minmax(260px,1fr) auto}button{min-height:46px;border:1px solid var(--border);border-radius:10px;padding:10px 18px;font-weight:750;cursor:pointer}.primary-button{background:var(--primary);border-color:var(--primary);color:#fff}.secondary-button,.ghost-button{background:#fff;color:var(--text)}.warning-button{background:#fff7ed;border-color:#fed7aa;color:var(--warning)}.danger-button{background:#fff5f5;border-color:var(--danger);color:var(--danger)}.table-action-button{min-height:34px;padding:6px 10px;border-radius:8px;font-size:12px}button:hover{border-color:var(--primary)}.primary-button:enabled:hover{background:var(--primary-dark)}button:disabled{background:#e5e7eb;border-color:#e5e7eb;color:#94a3b8;cursor:default}.table-wrap{max-width:100%;min-height:0;border:1px solid var(--border);border-radius:12px;overflow:auto}.patron-products-main-redesign .product-table-wrap{height:100%;min-height:0;overflow-x:auto;overflow-y:auto;scrollbar-gutter:stable}table{width:100%;border-collapse:collapse;font-size:13px}th,td{border-bottom:1px solid var(--border);padding:12px 14px;text-align:left;white-space:nowrap}th{background:var(--surface-soft);color:#475569;font-weight:750}tbody tr{cursor:pointer}tbody tr:hover,tbody tr.selected{background:var(--surface-blue)}.patron-products-main-redesign .product-table-wrap th,.patron-products-main-redesign .product-table-wrap td{height:48px;padding:8px 12px;font-size:12px}.patron-products-main-redesign .product-table-wrap thead th{height:42px;position:sticky;top:0;z-index:1}.patron-products-main-redesign .product-table-wrap tbody tr{cursor:pointer}.patron-products-main-redesign .product-table-wrap input[type=checkbox]{width:16px;height:16px}.patron-products-main-redesign .product-overview-value{display:inline-flex;align-items:baseline;gap:5px}.patron-products-main-redesign .product-overview-value strong{color:var(--text);font-size:12px;font-weight:800}.patron-products-main-redesign .product-overview-value small{color:var(--muted);font-size:10px;font-weight:750}.table-icon-button{min-height:32px;width:34px;height:34px;display:inline-grid;place-items:center;border:0;background:transparent;color:var(--primary-dark);padding:0}.table-icon-button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.product-table-footer{min-height:46px;display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--muted);font-size:12px;padding-top:8px}.product-pagination{display:flex;align-items:center;gap:8px}.product-current-page{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:8px;background:var(--primary);color:#fff;font-size:13px;font-weight:850}.product-pagination select{height:34px;border:1px solid var(--border);border-radius:8px;background:#fff;color:var(--text);font-size:12px;font-weight:760;padding:0 8px}.status-pill{display:inline-flex;align-items:center;min-height:24px;border-radius:999px;font-weight:750;padding:3px 10px}.status-pill.active{background:#dcfce7;color:var(--success)}.status-pill.passive{background:#fee2e2;color:var(--danger)}.status-pill.support{background:#eef2ff;color:var(--primary)}.status-pill.warning{background:#fef3c7;color:#92400e}.status-pill.danger{background:#fee2e2;color:var(--danger)}.positive-text{color:var(--success);font-weight:800}.danger-text{color:var(--danger);font-weight:800}.disabled-section{opacity:.65}.empty-state{border:1px dashed var(--border-strong);border-radius:12px;background:var(--surface-soft);color:var(--muted);padding:18px}.patron-detail-grid,.membership-detail-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.detail-stack,.detail-note,.reset-password-box,.membership-editor-box{border:1px solid var(--border);border-radius:12px;background:var(--surface-soft);padding:14px}.detail-stack{display:grid;gap:6px}.muted-label{color:var(--muted);font-size:12px;font-weight:800}.mono-chip{font-family:Consolas,Courier New,monospace;font-size:13px}.detail-note{grid-column:span 2;color:var(--muted);font-size:13px;line-height:1.45}.reset-password-box{grid-column:span 2;display:grid;grid-template-columns:1fr 1fr;gap:12px}.reset-password-box .action-row{grid-column:1 / -1}.membership-editor-box{grid-column:span 2;display:grid;gap:12px}.membership-danger-row,.membership-note{grid-column:span 4}.field-label{display:block;margin-bottom:8px;color:#334155;font-size:13px;font-weight:750}.checkbox-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.checkbox-grid label{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;min-height:40px;gap:8px;border:1px solid var(--border);border-radius:10px;background:#fff;padding:8px 10px}.checkbox-grid input{width:18px;min-height:18px}.distribution-target-panel{display:grid;gap:12px;margin-top:14px}.price-consistency-panel{display:grid;gap:12px;margin-top:14px;padding:14px;border:1px solid var(--border);border-radius:10px;background:#f8fafc}.result-list{display:grid;gap:8px;margin:0;padding:0}.result-list ul,.result-list.compact{list-style:none}.result-list li{display:flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid var(--border);border-radius:8px;background:#fff;color:var(--text);font-size:13px}.price-consistency-terminal-list li{justify-content:space-between;flex-wrap:wrap}.price-consistency-terminal-list li.ready{border-color:#16a34a3d;background:#f0fdf4}.price-consistency-terminal-list li.warning{border-color:#d9770647;background:#fffbeb}.price-consistency-terminal-list li.support{border-color:#47556933;background:#f8fafc}.product-price-matrix-panel input{min-width:110px}.patron-labels-redesign{display:grid;grid-template-rows:auto auto auto minmax(0,1fr);gap:12px;height:100%;min-height:0;overflow:hidden}.label-products-page{grid-template-rows:auto auto auto minmax(0,1fr);gap:6px;overflow:hidden}.label-kpi-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.label-kpi-card{display:flex;align-items:center;gap:12px;min-height:62px;padding:8px 14px;border:1px solid var(--border);border-radius:12px;background:#fff;box-shadow:0 10px 24px #0f172a0a}.label-kpi-icon{display:grid;place-items:center;width:44px;height:44px;flex:0 0 auto;border-radius:14px;font-weight:800;color:var(--primary);background:#eef6ff;box-shadow:none}.label-kpi-icon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.label-kpi-card.success .label-kpi-icon{color:var(--success);background:#ecfdf3}.label-kpi-card.warning .label-kpi-icon{color:#f59e0b;background:#fff7ed}.label-kpi-card.purple .label-kpi-icon{color:#9333ea;background:#f5f3ff}.label-kpi-card.danger .label-kpi-icon{color:#dc2626;background:#fef2f2}.label-kpi-card h3{margin:0 0 3px;color:#0f1f4a;font-size:13px;font-weight:800}.label-kpi-card strong{display:block;color:#020617;font-size:22px;line-height:1}.label-kpi-card p{margin:3px 0 0;color:var(--muted);font-size:12px;line-height:1.35}.label-command-bar{display:grid;grid-template-columns:minmax(360px,1fr) minmax(220px,.42fr) minmax(220px,.48fr) auto;align-items:end;gap:12px;padding:0;border:0;border-radius:0;background:transparent}.label-command-bar label{margin:0}.label-search-control{align-self:center}.label-search-control input{min-height:44px;height:44px}.label-command-bar select{min-height:38px;height:38px}.label-search-with-icon{position:relative}.label-search-with-icon input{width:100%;padding-right:48px}.inline-search-button{position:absolute;right:8px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:36px;height:36px;border:0;border-radius:8px;color:var(--primary);background:transparent;cursor:pointer}.inline-search-button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.inline-search-button:hover{background:#eef6ff}.label-command-actions{display:flex;justify-content:flex-end;gap:10px}.label-command-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:136px;white-space:nowrap}.label-button-icon{display:inline-grid;width:18px;height:18px;flex:0 0 18px;place-items:center}.label-button-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.label-add-action .label-button-icon{color:var(--primary)}.label-add-action{border-color:var(--primary);color:var(--primary)}.label-add-action:hover{background:#eef6ff}.label-tabs{display:flex;gap:4px;border-bottom:1px solid var(--border);background:#fff;border-radius:12px 12px 0 0;padding:0 16px}.label-tab{min-height:34px;border:0;border-bottom:2px solid transparent;background:transparent;color:#475569;font-weight:800;cursor:pointer;padding:0 18px}.label-tab.active{color:var(--primary);border-bottom-color:var(--primary)}.label-table-card{overflow:hidden;border-radius:0 0 12px 12px;min-height:0;display:grid;grid-template-rows:minmax(0,1fr) auto}.label-table-wrap{min-height:0;overflow:auto}.label-products-table-wrap{height:100%;overflow-x:auto;overflow-y:auto;scrollbar-gutter:stable}.label-table-wrap table{min-width:1180px}.label-products-table-wrap table{min-width:0}.label-products-table-wrap th,.label-products-table-wrap td{box-sizing:border-box;height:auto;padding:2px 10px;font-size:12px;line-height:1.15}.label-products-table-wrap thead th{height:32px;padding-top:5px;padding-bottom:5px;position:sticky;top:0;z-index:1}.label-products-table-wrap input[type=checkbox]{width:16px;height:16px;min-height:16px;margin:0}.label-products-table-wrap .compact-button{min-height:32px;padding:5px 12px;border-radius:8px;font-size:12px}.icon-only-button{display:inline-grid;place-items:center;width:36px;height:36px;padding:0;line-height:0;border:1px solid var(--border);border-radius:10px;color:var(--primary);background:#fff;cursor:pointer}.icon-only-button svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.icon-only-button:hover{background:#eef6ff;border-color:#2563eb57}.table-edit-icon{display:inline-grid;place-items:center;width:28px;height:28px;padding:0;border-color:transparent;background:transparent}.table-edit-icon svg{display:block;width:16px;height:16px}.label-products-table-wrap td:last-child,.label-products-table-wrap th:last-child{text-align:center}.label-products-table-wrap .status-pill{min-height:22px;padding:2px 9px;font-size:12px}.label-table-wrap tbody tr{cursor:pointer}.label-table-wrap tbody tr.selected,.label-table-wrap tbody tr:hover{background:#f8fbff}.label-products-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:32px;padding:4px 0 0;color:#5d6c82;font-size:12px}.label-products-footer p{margin:0}.label-products-pagination{display:flex;align-items:center;gap:8px}.pagination-button,.pagination-current{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:8px;font-size:13px;font-weight:850}.pagination-button{border:1px solid var(--border);color:var(--primary);background:#fff;cursor:pointer}.pagination-button:disabled{color:#94a3b8;background:#e5e7eb;cursor:not-allowed}.pagination-current{background:var(--primary);color:#fff}.label-products-pagination select{height:34px;border:1px solid var(--border);border-radius:8px;background:#fff;color:var(--text);font-size:12px;font-weight:760;padding:0 8px}.modal-overlay{position:fixed;inset:0;z-index:40;display:grid;place-items:center;padding:28px;background:#0f172a6b;backdrop-filter:blur(3px)}.modal-card{position:relative;width:min(760px,calc(100vw - 40px));max-height:calc(100vh - 56px);overflow:auto;border:1px solid rgba(226,232,240,.9);border-radius:14px;background:#fff;box-shadow:0 24px 80px #0f172a42}.modal-header-row{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.modal-header-row h2{margin:0;color:#071943;font-size:20px;font-weight:900}.modal-header-row p{margin:6px 0 0;color:var(--muted);font-size:13px}.logout-confirmation-card{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:14px;width:min(460px,calc(100vw - 40px));overflow:hidden;padding:24px}.logout-confirmation-icon{display:inline-grid;place-items:center;width:48px;height:48px;border-radius:12px;background:#eff6ff;color:var(--primary)}.logout-confirmation-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.logout-confirmation-card h2{margin:0;color:#071943;font-size:20px;font-weight:900}.logout-confirmation-card p{margin:6px 0 0;color:var(--muted);font-size:13px;line-height:1.45}.logout-confirmation-actions{grid-column:1 / -1;display:flex;justify-content:flex-end;gap:10px;margin:4px -24px -24px;border-top:1px solid var(--border);padding:16px 24px;background:#fff}.logout-confirmation-actions button{min-width:112px;min-height:40px}.label-print-result-card{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:16px;width:min(540px,calc(100vw - 40px));overflow:hidden;padding:24px}.label-print-result-card h2{margin:0;color:#071943;font-size:20px;font-weight:900}.label-print-result-card p{margin:6px 0 0;color:var(--muted);font-size:13px;line-height:1.45}.label-print-result-icon{display:grid;place-items:center;width:50px;height:50px;border-radius:13px;color:var(--primary);background:#eaf2ff}.label-print-result-icon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.label-print-result-actions{grid-column:1 / -1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding-top:4px}.label-print-result-actions button{min-width:0;min-height:40px}.label-product-settings-card{display:grid;gap:16px;width:min(680px,calc(100vw - 40px));padding:22px}.label-product-settings-form{display:grid;gap:14px}.label-product-settings-product,.label-product-settings-grid{display:grid;gap:12px}.label-product-settings-product{grid-template-columns:repeat(2,minmax(0,1fr));padding:14px;border:1px solid var(--border);border-radius:12px;background:#f8fafc}.label-product-settings-product span{display:block;color:var(--muted);font-size:12px;font-weight:700}.label-product-settings-product strong{display:block;margin-top:4px;color:var(--text);font-size:14px}.label-product-settings-grid{grid-template-columns:minmax(0,1fr) 160px}.label-product-add-card{display:grid;gap:16px;width:min(660px,calc(100vw - 40px));padding:22px}.label-product-add-card .modal-header-row{align-items:center}#labelProductAddCloseButton{position:relative;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;line-height:0}#labelProductAddCloseButton svg{position:absolute;top:50%;left:50%;display:block;transform:translate(-50%,-50%)}.label-product-add-form{display:grid;gap:10px}.label-product-add-section{display:grid;gap:10px;padding:10px;border:1px solid var(--border);border-radius:10px;background:#fff}.label-product-add-section header{display:flex;align-items:center;gap:8px;color:var(--text);font-size:14px}.label-step-badge{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:7px;color:#0b5cff;background:#eff6ff;border:1px solid #bfdbfe;font-size:12px;font-weight:900}.label-product-add-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}.label-product-add-search-row .secondary-button{min-height:38px;display:inline-flex;align-items:center;gap:8px}.label-product-add-search-row svg{width:17px;height:17px;flex:0 0 17px}.label-product-add-search-row .secondary-button svg path,.label-product-add-search-row .secondary-button svg circle{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.label-product-add-results{display:grid;gap:6px;max-height:118px;overflow:auto}.label-product-add-results p,.label-product-add-empty{margin:0;color:var(--muted);font-size:13px}.label-product-result-button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:42px;border:1px solid var(--border);border-radius:9px;background:#f8fafc;color:var(--text);text-align:left;padding:8px 10px;cursor:pointer}.label-product-result-button:hover,.label-product-result-button:focus-visible{border-color:#93c5fd;background:#eff6ff}.label-product-result-button span{display:grid;gap:3px}.label-product-result-button small{color:var(--muted);font-size:12px}.label-product-add-selected{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:12px;border-radius:10px;background:#f8fafc;border:1px solid var(--border)}.label-product-add-selected span{display:block;color:var(--muted);font-size:11px;font-weight:800}.label-product-add-selected strong{display:block;margin-top:4px;color:var(--text);font-size:13px}.label-product-add-grid{display:grid;grid-template-columns:minmax(0,1fr) 160px;gap:12px}.modal-action-row{display:flex;align-items:center;gap:10px;padding-top:6px}.modal-action-spacer{flex:1 1 auto}.danger-outline-button{min-height:40px;border:1px solid #fecaca;border-radius:10px;color:var(--danger);background:#fff;font-weight:800;padding:0 14px;cursor:pointer}.danger-outline-button:disabled{color:#94a3b8;border-color:var(--border);background:#f8fafc;cursor:not-allowed}.modal-close-button{position:absolute;top:14px;right:14px;display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;border:1px solid var(--border);border-radius:8px;background:#fff;color:#0f1f4a;font-weight:800;cursor:pointer}.modal-close-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}.register-section{margin-top:18px}.terminal-card{display:grid;gap:16px}.terminal-detail-grid{display:grid;gap:12px}.credential-panel{display:grid;gap:12px;border:1px solid #fecaca;border-radius:12px;background:#fff7f7;padding:16px}.credential-grid{display:grid;grid-template-columns:1fr;gap:10px}.safe-note{align-self:center;color:var(--muted);font-size:12px;line-height:1.4}.action-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:4px}.message-card{position:fixed;pointer-events:none;right:18px;bottom:18px;z-index:20;width:min(520px,calc(100vw - 36px));padding:14px 18px;color:#334155}.message-card.success{border-color:#bbf7d0;color:var(--success)}.message-card.error{border-color:#fecaca;color:var(--danger)}.dialog-message-host{min-width:0}.message-card.dialog-inline-message{position:static;width:auto;max-width:100%;max-height:min(120px,20vh);margin-top:8px;padding:8px 12px;overflow:auto;overflow-wrap:anywhere;pointer-events:auto;font-size:13px;line-height:1.45}.hidden{display:none!important}body[data-current-route=stock-orders] .route-content{display:flex;flex-direction:column}body[data-current-route=stock-orders] #stockOrdersView{flex:1 1 auto;height:100%;min-height:0}.stock-orders-page{display:grid;grid-template-rows:94px minmax(0,1fr);gap:12px;overflow:hidden}.stock-order-kpi-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.stock-order-kpi-card{display:flex;align-items:center;gap:18px;min-width:0;padding:13px 20px;border:1px solid var(--border);border-radius:8px;background:#fff;color:var(--text);box-shadow:var(--shadow-soft);cursor:pointer;text-align:left}.stock-order-kpi-card:hover,.stock-order-kpi-card.active{border-color:#8eb9ff;box-shadow:0 8px 24px #075bf71f}.stock-order-kpi-card>span:last-child{display:grid;min-width:0;gap:2px}.stock-order-kpi-card strong,.stock-order-kpi-card small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stock-order-kpi-card strong{font-size:14px}.stock-order-kpi-card b{color:var(--primary);font-size:28px;line-height:1}.stock-order-kpi-card small{color:var(--muted);font-size:12px}.stock-order-kpi-icon{display:inline-grid;place-items:center;flex:0 0 58px;width:58px;height:58px;border-radius:8px;background:#edf4ff;color:var(--primary)}.stock-order-kpi-icon svg,.stock-order-main-tabs svg,.stock-order-refresh-button svg,.stock-order-search svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.stock-order-kpi-card.danger .stock-order-kpi-icon{background:#fff0f1;color:#ef233c}.stock-order-kpi-card.danger b{color:#ef233c}.stock-order-kpi-card.success .stock-order-kpi-icon{background:#eafaf0;color:#0fb957}.stock-order-kpi-card.success b{color:#0aa94e}.stock-order-kpi-card.purple .stock-order-kpi-icon{background:#f3edff;color:#7c3aed}.stock-order-kpi-card.purple b{color:#7c3aed}.stock-order-kpi-grid.order-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}.stock-order-kpi-card.info .stock-order-kpi-icon{background:#edf4ff;color:#075bf7}.stock-order-kpi-card.warning .stock-order-kpi-icon{background:#fff5e8;color:var(--warning)}.stock-order-kpi-card.warning b{color:var(--warning)}.stock-orders-workspace{display:grid;grid-template-rows:52px minmax(0,1fr);min-height:0;overflow:hidden;border:1px solid var(--border);border-radius:8px;background:#fff;box-shadow:var(--shadow-soft)}.stock-order-main-tabs,.stock-order-analysis-tabs,.stock-order-period-tabs{display:flex;align-items:stretch;border-bottom:1px solid var(--border)}.stock-order-main-tabs button,.stock-order-analysis-tabs button,.stock-order-period-tabs button{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:9px;border:0;background:transparent;color:#40516f;font-weight:800;cursor:pointer}.stock-order-main-tabs button{min-width:190px;padding:0 22px;font-size:15px}.stock-order-main-tabs svg{width:21px;height:21px}.stock-order-main-tabs button.active,.stock-order-analysis-tabs button.active,.stock-order-period-tabs button.active{color:var(--primary)}.stock-order-main-tabs button.active:after,.stock-order-analysis-tabs button.active:after{position:absolute;right:12px;bottom:-1px;left:12px;height:3px;border-radius:3px 3px 0 0;background:var(--primary);content:""}.stock-order-analysis-panel{display:grid;grid-template-rows:46px 58px minmax(0,1fr) 48px;min-height:0;overflow:hidden}.stock-order-analysis-tabs{padding-left:8px}.stock-order-analysis-tabs button{min-width:110px;padding:0 14px}.stock-order-filter-row{display:grid;grid-template-columns:minmax(270px,1.7fr) repeat(3,minmax(145px,.8fr)) auto;gap:10px;align-items:center;padding:8px 14px;border-bottom:1px solid var(--border)}.stock-order-filter-row input,.stock-order-filter-row select,.stock-order-refresh-button{width:100%;height:40px;border:1px solid var(--border);border-radius:7px;background:#fff;color:var(--text);padding:0 12px}.stock-order-search{position:relative;display:block}.stock-order-search input{padding-right:42px}.stock-order-search svg{position:absolute;top:50%;right:13px;width:18px;height:18px;color:var(--primary);pointer-events:none;transform:translateY(-50%)}.stock-order-refresh-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;width:auto;min-width:96px;font-weight:800;cursor:pointer}.stock-order-refresh-button svg{width:17px;height:17px}.stock-order-table-panel{display:grid;min-height:0;overflow:hidden}#stockOrderStockPanel{grid-template-rows:minmax(0,1fr)}#stockOrderSalesPanel{grid-template-rows:44px minmax(0,1fr)}.stock-order-period-tabs{display:grid;grid-template-columns:repeat(5,minmax(100px,1fr));min-height:0;padding:6px 14px;border-bottom:1px solid var(--border)}.stock-order-period-tabs button{height:100%;min-height:0;border:1px solid var(--border);border-right:0;background:#fff;padding:0 12px;line-height:1.2}.stock-order-period-tabs button:first-child{border-radius:7px 0 0 7px}.stock-order-period-tabs button:last-child{border-right:1px solid var(--border);border-radius:0 7px 7px 0}.stock-order-period-tabs button.active{border-color:var(--primary);background:var(--primary);color:#fff}.stock-order-table-wrap{min-height:0;overflow:auto;scrollbar-gutter:stable}.stock-order-table-wrap table{width:100%;min-width:1160px;border-collapse:collapse;table-layout:auto}.stock-order-table-wrap.sales-table table{min-width:1500px;table-layout:fixed}.stock-order-table-wrap.sales-table th:nth-child(1),.stock-order-table-wrap.sales-table td:nth-child(1){width:150px}.stock-order-table-wrap.sales-table th:nth-child(2),.stock-order-table-wrap.sales-table td:nth-child(2){width:85px}.stock-order-table-wrap.sales-table th:nth-child(3),.stock-order-table-wrap.sales-table td:nth-child(3){width:90px}.stock-order-table-wrap.sales-table th:nth-child(4),.stock-order-table-wrap.sales-table td:nth-child(4){width:105px}.stock-order-table-wrap.sales-table th:nth-child(5),.stock-order-table-wrap.sales-table td:nth-child(5),.stock-order-table-wrap.sales-table th:nth-child(6),.stock-order-table-wrap.sales-table td:nth-child(6){width:85px}.stock-order-table-wrap.sales-table th:nth-child(7),.stock-order-table-wrap.sales-table td:nth-child(7),.stock-order-table-wrap.sales-table th:nth-child(8),.stock-order-table-wrap.sales-table td:nth-child(8){width:80px}.stock-order-table-wrap.sales-table th:nth-child(9),.stock-order-table-wrap.sales-table td:nth-child(9){width:55px}.stock-order-table-wrap.sales-table th:nth-child(10),.stock-order-table-wrap.sales-table td:nth-child(10){width:75px}.stock-order-table-wrap.sales-table th:nth-child(11),.stock-order-table-wrap.sales-table td:nth-child(11){width:90px}.stock-order-table-wrap.sales-table th:nth-child(12),.stock-order-table-wrap.sales-table td:nth-child(12){width:120px}.stock-order-table-wrap.sales-table th:nth-child(13),.stock-order-table-wrap.sales-table td:nth-child(13){width:110px}.stock-order-table-wrap.sales-table th:nth-child(14),.stock-order-table-wrap.sales-table td:nth-child(14){width:125px}.stock-order-table-wrap.sales-table .stock-order-add-button{width:100%;min-width:108px;padding-inline:8px;white-space:nowrap}.stock-order-table-wrap thead{position:sticky;top:0;z-index:2;background:#f8fafc}.stock-order-table-wrap th,.stock-order-table-wrap td{height:47px;padding:8px 11px;border-bottom:1px solid var(--border);color:#13254d;font-size:12px;text-align:left;white-space:nowrap}.stock-order-table-wrap th{color:#354665;font-size:11px;font-weight:850}.stock-order-table-wrap tbody tr:hover{background:#f4f8ff}.stock-order-status,.stock-order-change,.stock-order-warning{display:inline-flex;align-items:center;justify-content:center;min-height:24px;border-radius:999px;padding:3px 9px;font-size:11px;font-weight:850}.stock-order-status.danger{background:#ffe4e6;color:#be123c}.stock-order-status.warning,.stock-order-warning{background:#fff0dc;color:#9a4a0b}.stock-order-status.success{background:#dcfce7;color:#15803d}.stock-order-status.purple{background:#f1e8ff;color:#7c3aed}.stock-order-status.info{background:#e6efff;color:#075bf7}.stock-order-status.neutral,.stock-order-change.neutral{background:#eef2f7;color:#64718c}.stock-order-change.up{color:#0a9b45}.stock-order-change.down{color:#be123c}.stock-days-cell{font-weight:800}.stock-order-add-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:31px;border:1px solid var(--primary);border-radius:6px;background:var(--primary);color:#fff;padding:5px 10px;font-size:11px;font-weight:850;cursor:pointer}.stock-order-add-button:disabled{border-color:#cbd5e1;background:#e2e8f0;color:#5d6c82;cursor:not-allowed}.empty-table-cell{color:var(--muted)!important;text-align:center!important}.stock-order-list-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:48px;padding:7px 14px;border-top:1px solid var(--border);color:var(--muted);font-size:12px}.stock-order-pager{display:flex;align-items:center;gap:7px}.stock-order-pager button,.stock-order-pager strong,.stock-order-pager span{display:inline-grid;place-items:center;min-width:31px;height:31px;border:1px solid var(--border);border-radius:7px;background:#fff;color:var(--text);padding:0 9px}.stock-order-pager strong{border-color:var(--primary);background:var(--primary);color:#fff}.stock-order-pager button:disabled{background:#eef2f7;color:#94a3b8}.stock-order-empty-state{display:grid;place-content:center;justify-items:center;gap:10px;min-height:0;padding:24px;text-align:center}.stock-order-empty-state svg{width:48px;height:48px;fill:none;stroke:var(--primary);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.stock-order-list-workspace{display:grid;grid-template-columns:clamp(230px,14.5vw,250px) minmax(0,1fr) clamp(345px,20vw,365px);gap:12px;min-height:0;overflow:hidden;padding:12px;background:#f7f9fd}.stock-order-supplier-panel,.stock-order-catalog-panel,.stock-order-cart-panel{min-width:0;min-height:0;overflow:hidden;border:1px solid var(--border);border-radius:8px;background:#fff}.stock-order-supplier-panel{display:grid;grid-template-rows:48px 56px minmax(0,1fr)}.stock-order-supplier-panel>header,.stock-order-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;padding:12px}.stock-order-supplier-panel>header strong,.stock-order-panel-heading strong{color:#14264b;font-size:14px}.stock-order-supplier-panel>header small,.stock-order-panel-heading small{display:block;overflow:hidden;color:var(--muted);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.stock-order-panel-heading>div{min-width:0}.stock-order-panel-search{position:relative;display:block;min-width:0;margin:0 12px 12px}.stock-order-panel-search input,.stock-order-catalog-filters select,.stock-order-saved-row select,.stock-order-note-field textarea,.stock-order-catalog-quantity{width:100%;border:1px solid var(--border);border-radius:6px;background:#fff;color:var(--text)}.stock-order-panel-search input{height:38px;padding:0 38px 0 12px;font-size:12px}.stock-order-panel-search svg{position:absolute;top:50%;right:12px;width:16px;height:16px;fill:none;stroke:var(--primary);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;pointer-events:none;transform:translateY(-50%)}.stock-order-supplier-list,.stock-order-catalog-table,.stock-order-cart-groups{min-height:0;overflow:auto;scrollbar-gutter:stable}.stock-order-supplier-list{display:grid;grid-auto-rows:max-content;align-content:start;gap:10px;padding:0 12px 12px}.stock-order-supplier-item{display:grid;gap:5px;width:100%;border:1px solid var(--border);border-radius:8px;background:#fff;color:var(--text);padding:11px 12px;cursor:pointer;text-align:left}.stock-order-supplier-item:hover,.stock-order-supplier-item.active{border-color:var(--primary);background:#f2f7ff;box-shadow:0 4px 14px #075bf714}.stock-order-supplier-item>span{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}.stock-order-supplier-item small{color:var(--muted);font-size:11px}.stock-order-supplier-item b{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.stock-order-supplier-title strong{flex:1 1 auto;min-width:0;color:var(--primary);font-size:13px;overflow-wrap:anywhere;white-space:normal}.stock-order-supplier-title em{flex:0 0 auto;border-radius:999px;padding:3px 8px;font-size:10px;font-style:normal;font-weight:850;white-space:nowrap}.stock-order-supplier-title em.success{background:#dcfce7;color:#15803d}.stock-order-supplier-title em.warning{background:#fff0dc;color:#e85d04}.stock-order-supplier-title em.danger{background:#ffe4e6;color:#be123c}.stock-order-panel-empty{align-self:center;color:var(--muted);padding:18px 12px;font-size:12px;line-height:1.5;text-align:center}.stock-order-catalog-panel{display:grid;grid-template-rows:48px 50px 60px minmax(0,1fr) 38px}.stock-order-icon-button{display:inline-grid;place-items:center;place-content:center;align-self:center;flex:0 0 34px;width:34px;height:34px;margin:0;padding:0;border:1px solid var(--border);border-radius:6px;background:#fff;color:var(--primary);cursor:pointer;line-height:0}.stock-order-icon-button svg{display:block;width:17px;height:17px;margin:0;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.stock-order-catalog-modes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:0 12px 12px}.stock-order-catalog-modes button{border:1px solid var(--border);border-right:0;background:#fff;color:#40516f;font-size:12px;font-weight:800;cursor:pointer}.stock-order-catalog-modes button:first-child{border-radius:5px 0 0 5px}.stock-order-catalog-modes button:last-child{border-right:1px solid var(--border);border-radius:0 5px 5px 0}.stock-order-catalog-modes button.active{border-color:var(--primary);background:var(--primary);color:#fff}.stock-order-catalog-filters{display:grid;grid-template-columns:minmax(260px,1.6fr) minmax(150px,.75fr) minmax(165px,.85fr);gap:9px;align-items:center;padding:4px 12px 14px}.stock-order-catalog-filters .stock-order-panel-search{margin:0}.stock-order-catalog-filters select{height:38px;padding:0 10px;font-size:12px}.stock-order-catalog-table table{width:100%;min-width:940px;border-collapse:collapse}.stock-order-catalog-table thead{position:sticky;top:0;z-index:2;background:#f8fafc}.stock-order-catalog-table th,.stock-order-catalog-table td{height:48px;border-bottom:1px solid var(--border);color:#13254d;padding:8px 10px;font-size:11.5px;text-align:left;white-space:nowrap}.stock-order-catalog-table th{color:#40516f;font-size:11px;font-weight:850}.stock-order-catalog-table td:first-child strong,.stock-order-catalog-table td:first-child small{display:block;max-width:145px;overflow:hidden;text-overflow:ellipsis}.stock-order-catalog-table td:first-child small{margin-top:3px;color:var(--muted);font-size:10.5px}.stock-order-catalog-quantity{width:68px;height:34px;padding:0 8px;font-size:11.5px}.stock-order-catalog-table .stock-order-add-button{min-height:34px;padding:6px 10px;font-size:11px}.stock-order-catalog-panel>footer{display:flex;align-items:center;justify-content:flex-end;border-top:1px solid var(--border);color:var(--muted);padding:0 12px;font-size:12px}.stock-order-cart-panel{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:48px max-content max-content max-content minmax(110px,1fr) max-content max-content max-content max-content;overflow-y:auto;scrollbar-gutter:stable}.stock-order-saved-row{display:grid;grid-template-columns:minmax(130px,1fr) 44px 68px;gap:8px;align-items:center;padding:0 12px 10px}.stock-order-saved-row select,.stock-order-saved-row button{min-width:0;height:38px;border:1px solid var(--border);border-radius:6px;background:#fff;color:var(--text);padding:0 9px;font-size:11px;font-weight:750;white-space:nowrap}.stock-order-saved-row button{width:100%;padding-inline:5px}.stock-order-saved-row button:disabled{background:#eef2f7;color:#94a3b8}.stock-order-cart-groups{display:grid;grid-auto-rows:max-content;align-content:start;gap:12px;padding:0 12px 12px}.stock-order-cart-group{overflow:hidden;border:1px solid var(--border);border-radius:8px;background:#fff}.stock-order-cart-group>header,.stock-order-cart-group>footer,.stock-order-cart-lines>div{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;min-width:0;min-height:40px;padding:9px 11px}.stock-order-cart-group>header,.stock-order-cart-group>footer{grid-template-columns:minmax(0,1fr) auto;background:#f8fafc;font-size:11.5px}.stock-order-cart-group>header span{border-radius:999px;background:#eaf2ff;color:var(--primary);padding:3px 8px;font-size:10px;font-weight:850}.stock-order-cart-lines>div{border-top:1px solid var(--border);font-size:11px}.stock-order-cart-lines>div>span:first-child{display:grid;min-width:0}.stock-order-cart-lines strong,.stock-order-cart-lines small{overflow-wrap:anywhere;white-space:normal}.stock-order-cart-lines small{color:var(--muted)}.stock-order-cart-lines em{color:#e85d04;font-style:normal;font-weight:800}.stock-order-cart-lines button{display:inline-grid;place-items:center;width:28px;height:28px;min-height:28px;padding:0;border:0;background:transparent;color:#5d6c82;cursor:pointer}.stock-order-cart-lines button svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.stock-order-cart-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));min-height:64px;margin:0 12px 12px;overflow:hidden;border:1px solid var(--border);border-radius:8px;background:#fff}.stock-order-cart-summary>div{display:grid;justify-items:center;gap:4px;min-width:0;padding:10px 6px;text-align:center}.stock-order-cart-summary>div+div{border-left:1px solid var(--border)}.stock-order-cart-summary span{color:var(--muted);font-size:10px}.stock-order-cart-summary strong{overflow:hidden;color:var(--primary);font-size:14px;text-overflow:ellipsis;white-space:nowrap}.stock-order-cart-summary>div:last-child strong{color:#0a9b45;font-size:13px}.stock-order-cart-warning{margin:0;padding:9px 11px;font-size:11px;line-height:1.35}.stock-order-cart-warning{margin:0 12px 10px;border:1px solid #f4c76b;border-radius:6px;background:#fff9eb;color:#8a5200}.stock-order-note-field{display:grid;gap:6px;padding:0 12px 10px;color:#40516f;font-size:11.5px;font-weight:800}.stock-order-note-field textarea{min-height:58px;resize:none;padding:9px 10px;font:inherit;font-weight:500}.stock-order-cart-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:0 12px 12px}.stock-order-cart-actions button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:0;min-height:42px;padding:8px 10px;font-size:11.5px;white-space:nowrap}.stock-order-cart-actions button svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.stock-order-supplier-card{width:min(860px,calc(100vw - 48px));padding:24px}.stock-order-supplier-card .modal-header-row{align-items:center;min-height:44px;padding-bottom:18px;border-bottom:1px solid var(--border)}.stock-order-supplier-card .modal-header-row>div{min-width:0}.stock-order-supplier-card .modal-header-row h2,.stock-order-supplier-card .modal-header-row p{overflow-wrap:anywhere}.stock-order-supplier-card .icon-only-button{flex:0 0 44px;width:44px;height:44px;padding:0;line-height:0}.stock-order-supplier-card .icon-only-button svg{display:block;width:20px;height:20px}.stock-order-supplier-form{display:grid;gap:18px;min-width:0;padding-top:18px}.stock-order-selection-product{display:grid;grid-template-columns:1.55fr 1.4fr repeat(3,minmax(0,1fr));gap:1px;overflow:hidden;border:1px solid var(--border);border-radius:10px;background:var(--border)}.stock-order-selection-product>div,.stock-order-supplier-evidence>div{display:grid;gap:4px;min-width:0;min-height:66px;align-content:center;padding:12px 14px;background:#f8fbff}.stock-order-selection-product span,.stock-order-supplier-evidence span,.stock-order-supplier-field{color:#53627d;font-size:12px;font-weight:750}.stock-order-selection-product strong,.stock-order-supplier-evidence strong{overflow:hidden;color:var(--text);text-overflow:ellipsis;white-space:nowrap}.stock-order-supplier-field{display:grid;gap:8px;min-width:0}.stock-order-supplier-field select,.stock-order-supplier-field input{width:100%;height:46px;border:1px solid var(--border);border-radius:9px;background:#fff;color:var(--text);padding:0 12px}.stock-order-supplier-evidence{display:grid;grid-template-columns:repeat(2,minmax(0,1fr)) auto;align-items:stretch;overflow:hidden;border:1px solid var(--border);border-radius:10px;background:#f8fbff}.stock-order-link-state{display:inline-flex;align-items:center;justify-content:center;min-width:160px;padding:12px 14px;background:#edf4ff;color:var(--primary);text-align:center}.stock-order-link-approval{display:flex;align-items:center;gap:9px;border:1px solid #f4c76b;border-radius:7px;background:#fff9eb;color:#8a5200;padding:10px 12px;font-size:12px;font-weight:750}.stock-order-link-approval input{width:17px;height:17px}.stock-order-quantity-input{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}.stock-order-quantity-input input{border-radius:7px 0 0 7px}.stock-order-quantity-input span{display:inline-flex;align-items:center;justify-content:center;height:42px;border:1px solid var(--border);border-left:0;border-radius:0 7px 7px 0;background:#f8fafc;padding:0 14px;color:var(--text);font-weight:850}.stock-order-supplier-card .stock-order-quantity-input span{height:46px;min-width:62px}.stock-order-supplier-card .safe-note{margin:0;line-height:1.45}.stock-order-supplier-card .modal-action-row{min-height:63px;margin-top:2px;padding-top:18px;border-top:1px solid var(--border)}.stock-order-supplier-card .modal-action-row button{min-height:44px}@media(max-width:900px)and (min-width:769px){.stock-order-supplier-card{width:calc(100vw - 32px);padding:20px}.stock-order-selection-product{grid-template-columns:1.35fr 1.2fr repeat(3,minmax(0,1fr))}}@media(max-height:640px)and (min-width:769px){#stockOrderSupplierModal{padding:16px}.stock-order-supplier-card{padding:20px}.stock-order-supplier-card .modal-header-row{padding-bottom:10px}.stock-order-supplier-form{gap:10px;padding-top:10px}.stock-order-selection-product>div,.stock-order-supplier-evidence>div{min-height:54px;padding:8px 12px}.stock-order-supplier-field{gap:5px}.stock-order-supplier-field select,.stock-order-supplier-field input,.stock-order-supplier-card .stock-order-quantity-input span{height:42px}.stock-order-supplier-card .modal-action-row{min-height:54px;margin-top:0;padding-top:10px}}@media(max-width:1100px){.app-shell{grid-template-columns:1fr}.sidebar{position:static;height:auto;border-right:0;border-bottom:1px solid var(--border)}.primary-nav{flex-direction:row;overflow-x:auto;padding-bottom:4px}.nav-group{min-width:220px}.content-grid,.product-workspace-grid,.dashboard-grid,.dashboard-kpi-grid,.dashboard-visual-grid,.dashboard-alert-grid,.dashboard-table-grid,.module-grid,.planned-roadmap-grid,.label-kpi-strip,.label-command-bar,.supplier-kpi-grid,.personnel-kpi-grid,.patron-personnel-layout,.terminal-fleet-panel,.patron-detail-grid,.lifecycle-layout,.lifecycle-detail-layout,.scope-grid,.form-grid{grid-template-columns:1fr}body[data-current-route=dashboard]:not([data-portal-role=system-admin]),body[data-current-route=dashboard]:not([data-portal-role=system-admin]) .app-shell,body[data-current-route=dashboard]:not([data-portal-role=system-admin]) .shell-main{height:auto;min-height:100vh;overflow:visible}body[data-current-route=dashboard]:not([data-portal-role=system-admin]) .route-content{overflow:visible}body[data-current-route=dashboard]:not([data-portal-role=system-admin]) .dashboard-topbar-controls{width:100%;flex-wrap:wrap;justify-content:flex-start}body[data-current-route=dashboard]:not([data-portal-role=system-admin]) .global-search{max-width:none}.patron-dashboard{height:auto;grid-template-rows:none;overflow:visible}.dashboard-period-controls{flex:1 1 280px}.detail-note,.reset-password-box{grid-column:auto}.reset-password-box{grid-template-columns:1fr}.topbar{align-items:flex-start;flex-direction:column}.topbar-actions{width:100%;align-items:stretch;flex-wrap:wrap}.session-chip{flex:1 1 220px}.patron-products-redesign .product-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.label-command-actions{justify-content:stretch}.label-command-actions>*{flex:1 1 auto}.personnel-edit-panel{position:static}.personnel-toolbar{grid-template-columns:1fr}}@media(max-width:720px){.login-view,.shell-main{width:auto;padding:12px}.login-view{margin:0}.login-brand-card,.login-card,.topbar,.scope-panel,.card,.planned-panel,.forbidden-panel{border-radius:10px;padding:16px}.toolbar,.label-kpi-strip{grid-template-columns:1fr}.label-tabs{overflow-x:auto;padding:0 8px}.label-tab{flex:0 0 auto}.modal-overlay{padding:10px}.label-print-result-card{grid-template-columns:1fr;text-align:center}.label-print-result-icon{justify-self:center}.label-print-result-actions{grid-column:auto;grid-template-columns:1fr}.product-metrics,.patron-products-redesign .product-metrics{grid-template-columns:1fr}.dashboard-kpi-card,.dashboard-alert-card{align-items:flex-start}.dashboard-business-row,.product-readiness-grid,.product-toolbar,.patron-toolbar,.lifecycle-toolbar,.two-col{grid-template-columns:1fr}}body[data-current-route=expiry-returns] .route-content{display:flex;flex-direction:column}body[data-current-route=expiry-returns] #expiryReturnsView{flex:1 1 auto;height:100%;min-height:0}.expiry-returns-page{display:grid;grid-template-rows:94px minmax(0,1fr);gap:12px;min-height:0;overflow:hidden}.expiry-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.expiry-kpi-card{display:flex;align-items:center;gap:16px;min-width:0;padding:13px 20px;border:1px solid var(--border);border-radius:8px;background:#fff;box-shadow:var(--shadow-soft)}.expiry-kpi-card>span:last-child{display:grid;min-width:0;gap:2px}.expiry-kpi-card strong,.expiry-kpi-card small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.expiry-kpi-card strong{font-size:14px}.expiry-kpi-card b{color:var(--primary);font-size:28px;line-height:1}.expiry-kpi-card small{color:var(--muted);font-size:12px}.expiry-kpi-icon{display:inline-grid;place-items:center;flex:0 0 58px;width:58px;height:58px;border-radius:8px;background:#edf4ff;color:var(--primary)}.expiry-kpi-icon svg,.expiry-refresh-button svg,.expiry-search-field svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.expiry-kpi-card.danger .expiry-kpi-icon{background:#fff0f1;color:#ef233c}.expiry-kpi-card.danger b{color:#ef233c}.expiry-kpi-card.warning .expiry-kpi-icon{background:#fff5e8;color:var(--warning)}.expiry-kpi-card.warning b{color:var(--warning)}.expiry-kpi-card.success .expiry-kpi-icon{background:#eafaf0;color:#0fb957}.expiry-kpi-card.success b{color:#0aa94e}.expiry-workspace{display:grid;grid-template-rows:46px minmax(0,1fr);min-height:0;overflow:hidden;border:1px solid var(--border);border-radius:8px;background:#fff;box-shadow:var(--shadow-soft)}.expiry-main-tabs{display:flex;align-items:stretch;border-bottom:1px solid var(--border)}.expiry-main-tabs button{position:relative;min-width:125px;border:0;background:transparent;color:#40516f;padding:0 18px;font-size:13px;font-weight:850;cursor:pointer}.expiry-main-tabs button.active{color:var(--primary)}.expiry-main-tabs button.active:after{position:absolute;right:12px;bottom:-1px;left:12px;height:3px;border-radius:3px 3px 0 0;background:var(--primary);content:""}.expiry-tracking-panel{display:grid;grid-template-rows:66px minmax(0,1fr) 48px;min-height:0;overflow:hidden}.expiry-filter-row{display:grid;grid-template-columns:minmax(230px,1.35fr) repeat(5,minmax(130px,.85fr)) auto;gap:10px;align-items:center;padding:10px 14px;border-bottom:1px solid var(--border)}.expiry-filter-row input,.expiry-filter-row select,.expiry-refresh-button{width:100%;height:40px;border:1px solid var(--border);border-radius:7px;background:#fff;color:var(--text);padding:0 11px;font-size:12px}.expiry-search-field{position:relative;display:block;min-width:0}.expiry-search-field input{padding-right:40px}.expiry-search-field svg{position:absolute;top:50%;right:12px;width:18px;height:18px;color:var(--primary);pointer-events:none;transform:translateY(-50%)}.expiry-refresh-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;width:auto;min-width:94px;color:var(--text);font-weight:850;cursor:pointer}.expiry-refresh-button svg{width:17px;height:17px}.expiry-table-wrap{min-height:0;overflow:auto;scrollbar-gutter:stable}.expiry-lot-table{width:100%;min-width:1390px;border-collapse:collapse;table-layout:fixed}.expiry-lot-table thead{position:sticky;top:0;z-index:3;background:#f8fafc}.expiry-lot-table th,.expiry-lot-table td{height:47px;border-bottom:1px solid var(--border);color:#13254d;padding:8px 10px;font-size:11.5px;text-align:left;vertical-align:middle}.expiry-lot-table th{color:#354665;font-size:10.5px;font-weight:850;white-space:nowrap}.expiry-lot-table th:nth-child(1){width:175px}.expiry-lot-table th:nth-child(2){width:105px}.expiry-lot-table th:nth-child(3){width:115px}.expiry-lot-table th:nth-child(4){width:125px}.expiry-lot-table th:nth-child(5){width:90px}.expiry-lot-table th:nth-child(6){width:120px}.expiry-lot-table th:nth-child(7){width:80px}.expiry-lot-table th:nth-child(8){width:105px}.expiry-lot-table th:nth-child(9){width:110px}.expiry-lot-table th:nth-child(10){width:135px}.expiry-lot-table th:nth-child(11){width:205px}.expiry-lot-table tbody tr:hover{background:#f4f8ff}.expiry-supplier-name{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere;white-space:normal}.expiry-lot-child-row{background:#fbfdff}.expiry-lot-child-row td:first-child{padding-left:25px}.expiry-child-marker{margin-right:6px;color:var(--primary)}.expiry-expand-button{display:inline-flex;align-items:center;gap:8px;max-width:100%;border:0;background:transparent;color:#13254d;padding:0;font-size:11.5px;cursor:pointer;text-align:left}.expiry-expand-button>span{flex:0 0 auto;color:var(--primary);font-size:17px}.expiry-expand-button strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.expiry-status{display:inline-flex;align-items:center;justify-content:center;min-height:24px;border-radius:999px;padding:3px 9px;font-size:10px;font-weight:850;white-space:nowrap}.expiry-status.danger{background:#ffe4e6;color:#be123c}.expiry-status.warning{background:#fff0dc;color:#e85d04}.expiry-status.success{background:#dcfce7;color:#15803d}.expiry-status.purple{background:#f1e8ff;color:#7c3aed}.expiry-status.info{background:#e6efff;color:#075bf7}.expiry-status.neutral{background:#eef2f7;color:#64718c}.expiry-days.danger{color:#be123c}.expiry-days.warning{color:#e85d04}.expiry-days.success{color:#0a9b45}.expiry-row-actions{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:6px}.expiry-primary-action,.expiry-secondary-action,.expiry-text-button{min-height:31px;border-radius:6px;padding:5px 8px;font-size:10.5px;font-weight:850;white-space:nowrap;cursor:pointer}.expiry-primary-action{border:1px solid var(--primary);background:var(--primary);color:#fff}.expiry-secondary-action,.expiry-text-button{border:1px solid var(--border);background:#fff;color:var(--primary)}.expiry-primary-action:disabled,.expiry-secondary-action:disabled{border-color:#d8e0ea;background:#e9eef5;color:#94a3b8;cursor:not-allowed}.expiry-list-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:48px;padding:7px 14px;border-top:1px solid var(--border);color:var(--muted);font-size:12px}.expiry-pager{display:flex;align-items:center;gap:7px}.expiry-pager button,.expiry-pager strong,.expiry-pager span{display:inline-grid;place-items:center;min-width:31px;height:31px;border:1px solid var(--border);border-radius:7px;background:#fff;color:var(--text);padding:0 9px;font-size:11px}.expiry-pager strong{border-color:var(--primary);background:var(--primary);color:#fff}.expiry-pager button:disabled{background:#eef2f7;color:#94a3b8}.expiry-return-placeholder{display:grid;place-content:center;justify-items:center;gap:8px;color:var(--muted);text-align:center}.expiry-action-card{display:grid;grid-template-rows:auto minmax(0,1fr);gap:16px;width:min(620px,calc(100vw - 32px));max-width:100%;padding:22px;overflow:hidden}.expiry-action-card .modal-header-row{align-items:center;min-width:0}.expiry-action-card .modal-header-row>div{min-width:0}.expiry-action-card .icon-only-button{flex:0 0 36px;box-sizing:border-box;padding:0;line-height:0}.expiry-action-card .icon-only-button svg{display:block;margin:0}.expiry-action-form{display:grid;gap:14px;min-width:0;min-height:0;overflow-x:hidden}.expiry-action-form>label{display:grid;gap:7px;min-width:0;color:#334155;font-size:12px;font-weight:750}.expiry-action-form select,.expiry-action-form input,.expiry-action-form textarea{width:100%;border:1px solid var(--border);border-radius:7px;background:#fff;color:var(--text);padding:10px 12px;font-size:13px}.expiry-action-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0}.expiry-action-summary>div{display:grid;gap:4px;min-width:0;border:1px solid var(--border);border-radius:7px;background:#f8fafc;padding:10px 12px}.expiry-action-summary span{color:var(--muted);font-size:11px}.expiry-action-summary strong{overflow:hidden;color:#13254d;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.expiry-quantity-field{display:grid;grid-template-columns:minmax(0,1fr) 72px;min-width:0;overflow:hidden;border-radius:7px}.expiry-quantity-field input{min-width:0;border-radius:7px 0 0 7px}.expiry-quantity-field span{display:grid;place-items:center;border:1px solid var(--border);border-left:0;border-radius:0 7px 7px 0;background:#f8fafc;color:#334155}@media(max-width:1500px){.expiry-filter-row{grid-template-columns:minmax(210px,1.2fr) repeat(5,minmax(115px,.8fr)) auto;gap:7px}.expiry-filter-row input,.expiry-filter-row select{padding-inline:8px;font-size:11px}}.expiry-return-panel{display:grid;grid-template-rows:44px minmax(0,1fr);min-height:0;overflow:hidden}.expiry-return-subtabs{display:flex;align-items:stretch;padding-left:8px;border-bottom:1px solid var(--border)}.expiry-return-subtabs button{position:relative;min-width:110px;border:0;background:transparent;color:#40516f;padding:0 14px;font-size:12px;font-weight:850;cursor:pointer}.expiry-return-subtabs button.active{color:var(--primary)}.expiry-return-subtabs button.active:after{position:absolute;right:9px;bottom:-1px;left:9px;height:3px;border-radius:3px 3px 0 0;background:var(--primary);content:""}.expiry-return-prepare{display:grid;grid-template-columns:clamp(245px,15.5vw,275px) minmax(0,1fr) clamp(330px,20vw,365px);gap:12px;min-height:0;overflow:hidden;padding:12px;background:#f7f9fd}.return-supplier-panel,.return-reservation-panel,.return-draft-panel,.return-record-list-panel,.return-record-detail-panel{min-width:0;min-height:0;overflow:hidden;border:1px solid var(--border);border-radius:8px;background:#fff}.return-supplier-panel{display:grid;grid-template-rows:48px 54px minmax(0,1fr) auto}.return-supplier-panel>header,.return-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;padding:11px 12px}.return-supplier-panel>header strong,.return-panel-heading strong{color:#14264b;font-size:13px}.return-supplier-panel>header small,.return-panel-heading small{display:block;overflow:hidden;color:var(--muted);font-size:10.5px;text-overflow:ellipsis;white-space:nowrap}.return-panel-heading>div{min-width:0}.return-panel-search{position:relative;display:block;min-width:0;margin:0 12px 12px}.return-panel-search input,.return-reservation-filters select,.return-note-field textarea{width:100%;border:1px solid var(--border);border-radius:6px;background:#fff;color:var(--text);font-size:11.5px}.return-panel-search input{height:38px;padding:0 38px 0 11px}.return-panel-search svg{position:absolute;top:50%;right:12px;width:16px;height:16px;fill:none;stroke:var(--primary);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;pointer-events:none;transform:translateY(-50%)}.return-supplier-list,.return-reservation-table,.return-draft-groups,.return-record-table,.return-record-detail-body{min-height:0;overflow:auto;scrollbar-gutter:stable}.return-supplier-list{display:grid;grid-auto-rows:max-content;align-content:start;gap:9px;padding:0 11px 11px}.return-supplier-item{display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:9px;align-items:center;width:100%;border:1px solid var(--border);border-radius:8px;background:#fff;color:var(--text);padding:10px;cursor:pointer;text-align:left}.return-supplier-item:hover,.return-supplier-item.active{border-color:var(--primary);background:#f2f7ff;box-shadow:0 4px 14px #075bf714}.return-supplier-avatar{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#e6efff;color:var(--primary);font-size:12px;font-weight:900}.return-supplier-copy{display:grid;min-width:0;gap:3px}.return-supplier-copy strong{color:#14264b;font-size:12px;overflow-wrap:anywhere;white-space:normal}.return-supplier-copy small{color:var(--muted);font-size:10px}.return-supplier-item>b{align-self:start;color:#14264b;font-size:11px}.return-panel-empty{align-self:center;color:var(--muted);padding:20px 12px;font-size:12px;line-height:1.5;text-align:center}.return-reservation-panel{display:grid;grid-template-rows:48px 58px minmax(0,1fr) auto}.return-supplier-panel>footer,.return-reservation-panel>footer{gap:6px;padding:6px;font-size:12px}.return-icon-button{display:inline-grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border:1px solid var(--border);border-radius:6px;background:#fff;color:var(--primary);padding:0;cursor:pointer}.return-icon-button.danger{color:var(--danger)}.return-icon-button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.return-reservation-filters{display:grid;grid-template-columns:minmax(230px,1fr) 160px;gap:9px;align-items:center;padding:4px 12px 14px}.return-reservation-filters .return-panel-search{margin:0}.return-reservation-filters select{height:38px;padding:0 9px}.return-reservation-table table,.return-record-table table{width:100%;border-collapse:collapse}.return-reservation-table table{min-width:870px}.return-reservation-table thead,.return-record-table thead{position:sticky;top:0;z-index:2;background:#f8fafc}.return-reservation-table th,.return-reservation-table td,.return-record-table th,.return-record-table td{height:48px;border-bottom:1px solid var(--border);color:#13254d;padding:8px 9px;font-size:10.5px;text-align:left;white-space:nowrap}.return-reservation-table th,.return-record-table th{color:#40516f;font-size:10px;font-weight:850}.return-reservation-table td:first-child strong,.return-reservation-table td:first-child small{display:block;max-width:150px;overflow:hidden;text-overflow:ellipsis}.return-reservation-table td:first-child small{margin-top:2px;color:var(--muted)}.return-row-actions{display:flex;gap:5px}.return-row-actions button,.return-detail-button{min-height:29px;border:1px solid var(--primary);border-radius:5px;background:#fff;color:var(--primary);padding:4px 8px;font-size:9.5px;font-weight:850;white-space:nowrap;cursor:pointer}.return-row-actions button:first-child{background:var(--primary);color:#fff}.return-row-actions button.danger{border-color:#fca5a5;color:#dc2626}.return-row-actions button:disabled{border-color:#d8e0ea;background:#e9eef5;color:#94a3b8;cursor:not-allowed}.return-draft-panel{display:grid;grid-template-rows:48px minmax(120px,1fr) 82px 92px 114px;overflow-y:auto;scrollbar-gutter:stable}.return-draft-groups{display:grid;grid-auto-rows:max-content;align-content:start;gap:10px;padding:0 11px 11px}.return-draft-group{overflow:hidden;border:1px solid var(--border);border-radius:7px;background:#fff}.return-draft-group>header{display:flex;align-items:center;justify-content:space-between;padding:9px 10px;background:#f8fafc}.return-draft-group>header strong{font-size:11.5px}.return-draft-group>header span{border-radius:999px;background:#e6efff;color:var(--primary);padding:3px 7px;font-size:9px;font-weight:850}.return-draft-group article{display:grid;grid-template-columns:minmax(0,1fr) auto 28px;gap:7px;align-items:center;min-width:0;padding:8px 10px;border-top:1px solid var(--border)}.return-draft-group article>div{display:grid;min-width:0;gap:2px}.return-draft-group article strong{font-size:10.5px;overflow-wrap:anywhere;white-space:normal}.return-draft-group article small{color:var(--muted);font-size:9px}.return-draft-group article b{font-size:10px;white-space:nowrap}.return-draft-group article button{display:grid;place-items:center;width:28px;height:28px;min-height:28px;border:0;background:transparent;color:var(--danger);padding:0;font-size:18px;cursor:pointer}.return-draft-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid var(--border);border-bottom:1px solid var(--border)}.return-draft-summary>div{display:grid;place-items:center;gap:2px;border-right:1px solid var(--border);padding:7px}.return-draft-summary>div:nth-child(2n){border-right:0}.return-draft-summary span{color:var(--muted);font-size:9px}.return-draft-summary strong{color:var(--primary);font-size:12px}.return-note-field{display:grid;gap:5px;padding:9px 11px;color:#334155;font-size:10.5px;font-weight:800}.return-note-field textarea{min-height:54px;resize:none;padding:8px 9px}.return-draft-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:9px 11px 11px}.return-draft-actions button{min-width:0;min-height:36px;padding:6px 8px;font-size:10px}.return-draft-actions #clearReturnDraftButton{grid-column:1 / -1}.expiry-return-records{display:grid;grid-template-columns:minmax(0,1fr) clamp(390px,27vw,440px);gap:12px;min-height:0;overflow:hidden;padding:12px;background:#f7f9fd}.return-record-list-panel{display:grid;grid-template-rows:54px minmax(0,1fr) 46px}.return-record-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 180px 86px;gap:9px;align-items:center;padding:8px 12px;border-bottom:1px solid var(--border)}.return-record-toolbar>div{display:grid;gap:2px}.return-record-toolbar strong{font-size:13px}.return-record-toolbar small{color:var(--muted);font-size:10px}.return-record-toolbar select,.return-record-toolbar button{height:36px;font-size:10.5px}.return-record-table table{min-width:780px}.return-record-table tr.selected{background:#eef5ff}.return-record-table .return-note-cell{max-width:220px;white-space:pre-wrap;overflow-wrap:anywhere}.return-record-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px 12px;border-top:1px solid var(--border);color:var(--muted);font-size:11px}.return-record-detail-panel{display:grid;grid-template-rows:48px minmax(0,1fr)}.return-record-detail-body{display:grid;grid-auto-rows:max-content;align-content:start;gap:11px;padding:0 11px 11px}.return-record-group{overflow:hidden;border:1px solid var(--border);border-radius:8px;background:#fff}.return-record-group.finalized{border-color:#bbf7d0}.return-record-group>header,.return-record-group>footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 10px;background:#f8fafc}.return-record-group>header>div{display:grid;min-width:0;gap:2px}.return-record-group>header strong{font-size:11.5px;overflow-wrap:anywhere;white-space:normal}.return-record-group>header small,.return-record-group>footer small{color:var(--muted);font-size:9px}.return-record-lines{display:grid}.return-record-lines article{display:grid;grid-template-columns:minmax(0,1fr) 62px 105px 78px;gap:7px;align-items:end;min-width:0;padding:9px 10px;border-top:1px solid var(--border)}.return-record-lines article:first-child{border-top:0}.return-line-product{display:grid;min-width:0;gap:2px}.return-line-product strong{font-size:10.5px;overflow-wrap:anywhere;white-space:normal}.return-line-product small,.return-record-lines article>span{color:var(--muted);font-size:9px}.return-record-lines label{display:grid;gap:3px;color:var(--muted);font-size:8.5px}.return-record-lines input{width:100%;height:31px;border:1px solid var(--border);border-radius:5px;padding:0 7px;font-size:10px}.return-record-lines article>b{align-self:center;font-size:9.5px;text-align:right}.return-record-group>footer span{font-size:10px}.return-record-group>footer button{min-height:32px;padding:5px 10px;font-size:10px}.return-draft-record-message{display:grid;justify-items:start;gap:10px;border:1px solid var(--border);border-radius:8px;background:#f8fafc;padding:16px}.return-draft-record-message strong{font-size:13px}.return-draft-record-message button{min-height:34px;padding:6px 12px;font-size:10.5px}@media(max-width:1500px){.expiry-return-prepare{grid-template-columns:230px minmax(0,1fr) 320px;gap:9px;padding:9px}.return-reservation-filters{grid-template-columns:minmax(190px,1fr) 145px}.expiry-return-records{grid-template-columns:minmax(0,1fr) 380px;gap:9px;padding:9px}.return-record-lines article{grid-template-columns:62px minmax(0,1fr) 78px}.return-record-lines .return-line-product{grid-column:1 / -1}}body[data-auth-view]{width:100%;height:100vh;min-height:0;overflow:hidden}body[data-auth-view] .portal-root{height:100%;min-height:0;overflow:hidden}.auth-view.login-view{position:fixed;inset:0;z-index:100;width:100vw;height:100vh;min-height:0;display:grid;grid-template-columns:minmax(0,53fr) minmax(0,47fr);margin:0;overflow:hidden;background:#f7f9fd}.auth-brand-pane{position:relative;min-width:0;min-height:0;overflow:hidden;background:radial-gradient(circle at 82% 28%,rgba(16,121,255,.2),transparent 19%),radial-gradient(circle at 30% 84%,rgba(0,201,219,.09),transparent 24%),linear-gradient(145deg,#02132f,#031c43 52%,#02122c);color:#fff}.auth-brand-pane:before,.auth-brand-pane:after{position:absolute;content:"";pointer-events:none}.auth-brand-pane:before{right:-115px;bottom:18%;width:430px;height:430px;border:1px solid rgba(24,139,255,.2);border-radius:48% 52% 24% 76%;transform:rotate(-13deg)}.auth-brand-pane:after{right:14%;top:24%;width:7px;height:7px;border-radius:50%;background:#25d4e6;box-shadow:0 0 0 5px #25d4e61a,0 0 30px 9px #0f7bffcc}.auth-brand-grid{position:absolute;inset:0;opacity:.25;background-image:linear-gradient(rgba(50,123,205,.17) 1px,transparent 1px),linear-gradient(90deg,rgba(50,123,205,.17) 1px,transparent 1px);background-size:40px 40px;mask-image:linear-gradient(to bottom right,transparent 6%,#000 44%,transparent 95%)}.auth-brand-circuit{position:absolute;border:1px solid rgba(20,119,242,.34);pointer-events:none}.auth-brand-circuit-top{top:-1px;right:10%;width:245px;height:165px;border-top:0;border-radius:0 0 28px 28px}.auth-brand-circuit-bottom{right:-1px;bottom:0;width:39%;height:34%;border-right:0;border-bottom:0;border-radius:48px 0 0}.auth-brand-content{position:relative;z-index:1;width:min(760px,calc(100% - 90px));height:100%;display:grid;grid-template-rows:auto auto minmax(125px,1fr) auto;align-items:start;gap:clamp(22px,3.4vh,42px);margin:0 auto;padding:clamp(48px,7vh,78px) 0 clamp(34px,5vh,52px)}.auth-brand-logo{width:min(545px,82%);max-height:108px;display:block;object-fit:contain;object-position:left center}.auth-brand-message{max-width:600px}.auth-brand-message h1{color:#fff;font-size:clamp(35px,3vw,52px);font-weight:800;line-height:1.16;letter-spacing:-.035em}.auth-brand-message p{max-width:560px;margin-top:20px;color:#ffffffd1;font-size:clamp(17px,1.35vw,22px);line-height:1.48}.auth-brand-title-mobile{display:none}.auth-brand-visual{align-self:end;width:min(640px,94%);height:100%;max-height:235px;min-height:125px;overflow:visible}.auth-brand-visual .auth-chart-axis{fill:none;stroke:#5999eb3d;stroke-width:1}.auth-brand-visual .auth-chart-line{fill:none;stroke:url(#authLineGradient);stroke-width:3;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 6px rgba(19,139,255,.75))}.auth-brand-visual .auth-chart-node{fill:#1bd6e7;stroke:#081f49;stroke-width:3}.auth-feature-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.auth-feature-list article{min-width:0;display:grid;grid-template-columns:54px minmax(0,1fr);align-items:center;gap:13px}.auth-feature-list article>span{width:54px;height:54px;display:inline-grid;place-items:center;border:1px solid rgba(27,128,255,.28);border-radius:14px;background:#0d5bcf33;color:#17c9e0;box-shadow:inset 0 0 18px #1069e729}.auth-feature-list svg,.auth-footer svg,.auth-help-note svg,.auth-input-wrap>svg,.auth-password-toggle svg{fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.auth-feature-list article>span svg{width:29px;height:29px}.auth-feature-list strong{display:block;color:#fff;font-size:14px;font-weight:800}.auth-feature-list p{margin-top:4px;color:#ffffffb3;font-size:11.5px;line-height:1.45}.auth-form-pane{position:relative;min-width:0;min-height:0;display:grid;grid-template-rows:minmax(0,1fr) auto;place-items:center;overflow:hidden;background:radial-gradient(circle at 70% 14%,rgba(41,111,231,.09),transparent 28%),linear-gradient(145deg,#fbfcff,#f4f7fc);padding:clamp(24px,4.4vh,52px) clamp(24px,4.2vw,78px) 24px}.auth-form-pane:before,.auth-form-pane:after{position:absolute;content:"";border:1px solid rgba(56,106,185,.09);border-radius:50%;pointer-events:none}.auth-form-pane:before{right:-190px;bottom:-280px;width:590px;height:590px}.auth-form-pane:after{right:-110px;bottom:-205px;width:440px;height:440px}.auth-dot-pattern{position:absolute;top:0;right:0;width:270px;height:170px;opacity:.48;background-image:radial-gradient(circle,#9bb9ea 1.3px,transparent 1.5px);background-size:15px 15px;mask-image:linear-gradient(225deg,#000 0%,transparent 74%)}.auth-card.login-card{position:relative;z-index:1;align-self:center;width:min(590px,100%);margin:0;border:1px solid rgba(211,221,236,.8);border-radius:26px;background:#fffffff2;padding:clamp(36px,5.4vh,58px) clamp(34px,4vw,60px);box-shadow:0 28px 68px #12305c24;backdrop-filter:blur(16px)}.auth-card-heading{text-align:center}.auth-card-heading p{color:#0a2256;font-size:clamp(22px,1.65vw,30px);font-weight:800;line-height:1.25}.auth-card-heading h2{margin-top:14px;color:#06163f;font-size:clamp(27px,2vw,36px);font-weight:850;line-height:1.16;letter-spacing:-.025em}.auth-card-heading>span{display:block;margin:12px auto 0;color:var(--muted);font-size:13px;line-height:1.45}.auth-form{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;margin-top:clamp(30px,4vh,42px)}.auth-field{display:grid;gap:9px;color:#101b40;font-size:14px;font-weight:750}.auth-input-wrap{position:relative;min-width:0;display:block;color:#315bb7}.auth-input-wrap>svg{position:absolute;top:50%;left:17px;z-index:1;width:23px;height:23px;pointer-events:none;transform:translateY(-50%)}.auth-input-wrap input{height:60px;min-height:60px;border:1px solid #cbd8ea;border-radius:9px;background:#fff;padding:0 52px 0 55px;color:#07183e;font-size:15px;font-weight:600;box-shadow:none}.auth-input-wrap input::placeholder{color:#5572b0;font-weight:450;opacity:1}.auth-input-wrap input:focus{border-color:#2266e5;box-shadow:0 0 0 3px #2266e51c}.auth-password-toggle{position:absolute;top:50%;right:8px;z-index:2;width:44px;height:44px;min-height:0;display:inline-grid;place-items:center;border:0;border-radius:8px;background:transparent;padding:0;color:#315bb7;transform:translateY(-50%)}.auth-password-toggle:hover,.auth-password-toggle:focus-visible{border:0;background:#edf4ff}.auth-password-toggle svg{width:23px;height:23px}.auth-password-toggle .auth-eye-closed,.auth-password-toggle[aria-pressed=true] .auth-eye-open{display:none}.auth-password-toggle[aria-pressed=true] .auth-eye-closed{display:block}.auth-remember-option{width:fit-content;display:inline-flex;grid-template-columns:none;align-items:center;gap:10px;min-height:28px;color:#111d42;font-size:14px;font-weight:650;cursor:pointer}.auth-remember-option input{position:absolute;width:1px;height:1px;min-height:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%)}.auth-remember-option>span{width:23px;height:23px;display:inline-grid;place-items:center;border:2px solid #3761b4;border-radius:4px;background:#fff}.auth-remember-option input:checked+span{border-color:var(--primary);background:var(--primary)}.auth-remember-option input:checked+span:after{width:9px;height:5px;content:"";border-left:2px solid #fff;border-bottom:2px solid #fff;transform:translateY(-1px) rotate(-45deg)}.auth-remember-option input:focus-visible+span{box-shadow:0 0 0 3px #2266e52b}.auth-submit-button{width:100%;min-height:60px;border-radius:9px;background:linear-gradient(90deg,#0651ef,#0b60f8);font-size:18px;font-weight:750;box-shadow:0 12px 25px #075bf733}.auth-submit-button:disabled{background:#d8e2f2;color:#6d7d99;box-shadow:none}.auth-status{border:1px solid #d8e2f1;border-radius:8px;background:#f7f9fd;padding:10px 12px;color:#33415e;font-size:12px;font-weight:650;line-height:1.45}.auth-status.error{border-color:#fecaca;background:#fff7f7;color:#c62828}.auth-status.warning{border-color:#fed7aa;background:#fffaf2;color:#b45309}.auth-status.success{border-color:#bbf7d0;background:#f3fff7;color:#15803d}.auth-help-note{display:grid;grid-template-columns:26px minmax(0,1fr);align-items:center;gap:12px;margin-top:26px;border-top:1px solid #dbe3ef;padding-top:22px;color:#315bb7}.auth-help-note svg{width:25px;height:25px}.auth-help-note p{color:#315bb7;font-size:13px;line-height:1.45}.auth-footer{position:relative;z-index:1;align-self:end;display:flex;align-items:center;justify-content:center;gap:9px;color:#315bb7;padding-top:20px;font-size:12.5px}.auth-footer svg{width:20px;height:20px}.password-change-view.auth-view{width:100vw;margin:0}.password-change-card.auth-card{width:min(610px,100%)}.password-change-heading{display:block;text-align:center}.password-change-card .password-change-form{grid-template-columns:minmax(0,1fr);gap:15px;margin-top:28px}.password-change-actions{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:10px;margin-top:2px}.password-change-actions button{min-height:54px}.auth-brand-content-compact{grid-template-rows:auto auto minmax(130px,1fr) auto}.auth-password-security{align-self:center;justify-self:center;width:min(260px,40%);color:#17c9e0}.auth-password-security svg{width:100%;height:auto;fill:#0a54be1f;stroke:currentColor;stroke-width:5;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 12px rgba(15,123,255,.34))}.auth-brand-content-compact .auth-feature-list{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-height:800px)and (min-width:901px){.auth-brand-content{width:min(700px,calc(100% - 70px));gap:20px;padding-top:38px;padding-bottom:30px}.auth-brand-logo{width:min(465px,76%);max-height:82px}.auth-brand-message h1{font-size:clamp(31px,2.7vw,43px)}.auth-brand-message p{margin-top:12px;font-size:16px}.auth-brand-visual{max-height:150px;min-height:100px}.auth-feature-list{gap:16px}.auth-feature-list article{grid-template-columns:44px minmax(0,1fr);gap:9px}.auth-feature-list article>span{width:44px;height:44px}.auth-feature-list article>span svg{width:24px;height:24px}.auth-card.login-card{padding:34px 42px}.auth-card-heading p{font-size:22px}.auth-card-heading h2{margin-top:8px;font-size:29px}.auth-form{gap:14px;margin-top:25px}.auth-input-wrap input{height:54px;min-height:54px}.auth-submit-button{min-height:54px}.auth-help-note{margin-top:20px;padding-top:17px}.auth-footer{padding-top:12px}}@media(max-width:900px){.auth-view.login-view{grid-template-columns:minmax(0,1fr)}.auth-brand-pane{display:none}.auth-form-pane{padding:22px}.auth-card.login-card{width:min(590px,100%)}}@media(max-width:560px){.auth-form-pane{padding:14px}.auth-card.login-card{border-radius:18px;padding:28px 22px}.auth-card-heading p{font-size:20px}.auth-card-heading h2{font-size:26px}.auth-form{gap:14px;margin-top:26px}.auth-input-wrap input{height:54px;min-height:54px}.auth-footer{font-size:11px}.password-change-actions{grid-template-columns:minmax(0,1fr)}}@media(min-width:769px){.product-detail-stock-section{display:grid;gap:14px}.product-stock-expiry-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.product-stock-expiry-summary .product-detail-card{min-width:0}.product-stock-expiry-summary strong.is-deficit{color:#dc2626}.product-stock-expiry-layout{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:14px;align-items:start}.product-stock-expiry-lots,.product-stock-expiry-editor{border:1px solid var(--border-color, #d8e2ef);border-radius:14px;padding:14px}.product-stock-expiry-lot-list{display:grid;gap:8px;margin-top:10px;max-height:220px;overflow:auto}.product-stock-expiry-lot-list article{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:10px 12px;border-radius:10px;background:var(--surface-soft, #f5f8fc)}.product-stock-expiry-lot-list article div{display:grid;gap:3px}.product-stock-expiry-lot-list article span{color:var(--muted-color, #64748b);font-size:11px}.product-stock-expiry-actions{display:grid;gap:8px}.product-stock-expiry-actions button{min-height:44px}.product-stock-expiry-editor{display:grid;gap:12px}.product-stock-expiry-editor.hidden{display:none}.product-stock-expiry-editor-totals,.product-stock-expiry-editor-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:end}.product-stock-expiry-editor-totals>strong{display:none}.product-stock-expiry-editor-totals label,.product-stock-expiry-editor-meta label,.product-stock-expiry-editor-row label{display:grid;gap:5px}.product-stock-expiry-lot-editor{display:grid;gap:8px}.product-stock-expiry-editor-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.7fr) 74px;gap:8px;align-items:end}.product-stock-expiry-editor-row button,.product-stock-expiry-editor-row input{min-height:44px}#productDetailStockPreview.is-error{color:#dc2626}}.stock-order-batch-filters,.stock-order-batch-pagination{display:flex;align-items:center;gap:8px;padding:8px 12px}.stock-order-batch-filters input{flex:1;min-width:0}.stock-order-batch-filters select{max-width:42%}.stock-order-batch-pagination span{flex:1;text-align:center;font-size:12px}.stock-order-batch-pagination button{min-height:32px}.supplier-invoice-correction-button{white-space:nowrap}.supplier-invoice-correction-card{display:grid;grid-template-rows:auto minmax(0,1fr) auto;width:min(1120px,calc(100vw - 48px));max-height:calc(100dvh - 48px);overflow:hidden}#supplierInvoiceCorrectionModal{z-index:1100}.supplier-invoice-correction-card .modal-header-row{min-height:68px;align-items:center;border-bottom:1px solid var(--border);padding:18px 64px 18px 24px}.supplier-invoice-correction-card .modal-close-button{top:14px;right:16px;width:40px;height:40px;min-height:40px;line-height:0;padding:0}.supplier-invoice-correction-card .modal-close-button svg{display:block;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.25;stroke-linecap:round;stroke-linejoin:round}.supplier-invoice-correction-card .modal-header-row h3{margin:0;color:#071c4c;font-size:20px;line-height:1.25}.supplier-invoice-correction-form{display:grid;gap:16px;min-height:0;margin:0;overflow-x:hidden;overflow-y:auto;padding:18px 24px;overscroll-behavior:contain}.supplier-invoice-correction-header-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0}.supplier-invoice-correction-form input,.supplier-invoice-correction-form select,.supplier-invoice-correction-form textarea{width:100%;min-width:0;border:1px solid var(--border-strong);border-radius:9px;background:#fff;color:var(--text)}.supplier-invoice-correction-form input,.supplier-invoice-correction-form select{min-height:42px;padding:0 12px}.supplier-invoice-correction-form textarea{min-height:70px;resize:vertical;padding:10px 12px}.supplier-invoice-correction-form input:focus,.supplier-invoice-correction-form select:focus,.supplier-invoice-correction-form textarea:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f;outline:none}.supplier-invoice-correction-lines-section{display:grid;gap:10px;min-width:0}.supplier-invoice-correction-lines-section h4{margin:0;color:#071c4c;font-size:13px;font-weight:850}.supplier-invoice-correction-lines{display:grid;gap:10px;max-height:min(38vh,340px);min-width:0;overflow-x:hidden;overflow-y:auto;border:1px solid var(--border);border-radius:10px;background:#f8fafc;padding:10px;scrollbar-gutter:stable}.supplier-invoice-correction-line{display:grid;gap:12px;min-width:0;border:1px solid #dbe5f2;border-radius:9px;background:#fff;padding:12px}.supplier-invoice-correction-line-header{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}.supplier-invoice-correction-line-header strong{min-width:0;overflow:hidden;color:#071c4c;font-size:13px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.supplier-invoice-correction-line-header span{flex:0 0 auto;border-radius:999px;background:#eef4ff;color:#315a96;font-size:11px;font-weight:800;padding:4px 8px}.supplier-invoice-correction-line-fields{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));align-items:end;gap:10px;min-width:0}.supplier-invoice-correction-line-fields label{min-width:0}.supplier-invoice-correction-line-fields label>span{overflow:hidden;color:#526589;font-size:11px;font-weight:800;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.supplier-invoice-correction-line-field-wide{grid-column:span 2}.supplier-invoice-correction-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;border:1px solid #cfe0f6;border-radius:8px;background:#f8fbff;padding:12px}.supplier-invoice-correction-preview.hidden{display:none}.supplier-invoice-correction-preview>div{display:grid;gap:4px}.supplier-invoice-correction-preview span{color:#526589;font-size:12px;font-weight:750}.supplier-invoice-correction-preview strong{color:#071c4c}.supplier-invoice-correction-preview .field-error{grid-column:1 / -1;margin:0}.supplier-invoice-correction-card>.modal-actions{z-index:2;display:flex;align-items:center;justify-content:flex-end;gap:10px;margin:0;border-top:1px solid var(--border);background:#fff;padding:14px 24px 16px}.supplier-invoice-correction-card>.modal-actions button{min-height:44px}@media(max-width:900px){#supplierInvoiceCorrectionModal{padding:10px}.supplier-invoice-correction-card{width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.supplier-invoice-correction-header-grid,.supplier-invoice-correction-preview{grid-template-columns:1fr 1fr}.supplier-invoice-correction-line-fields{grid-template-columns:repeat(3,minmax(0,1fr))}.supplier-invoice-correction-line-field-wide{grid-column:span 1}}@media(max-width:640px){.supplier-invoice-correction-card .modal-header-row{min-height:60px;padding:14px 56px 14px 16px}.supplier-invoice-correction-card .modal-close-button{top:10px;right:12px}.supplier-invoice-correction-card .modal-header-row h3{font-size:18px}.supplier-invoice-correction-form{gap:14px;padding:16px}.supplier-invoice-correction-header-grid,.supplier-invoice-correction-preview,.supplier-invoice-correction-line-fields{grid-template-columns:1fr}.supplier-invoice-correction-line-field-wide{grid-column:auto}.supplier-invoice-correction-card>.modal-actions{display:grid;grid-template-columns:1fr 1fr;margin:0;padding:12px 16px 14px}.supplier-invoice-correction-card>.modal-actions button{width:100%;min-width:0}}.nav-label{min-width:0}.product-unit-immutable-hint{display:block;margin-top:6px;color:#9a3412;font-size:11px;line-height:1.4}.product-unit-immutable-hint.hidden{display:none}.nav-count-badge{display:inline-grid;min-width:19px;height:19px;margin-left:7px;place-items:center;border-radius:999px;background:#dc2626;color:#fff;padding:0 5px;font-size:10px;font-weight:900}.completed-sales-recovery-page{display:grid;gap:16px;min-width:0}.completed-sales-recovery-page.hidden{display:none}.recovery-page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;border:1px solid var(--border-color, #d8e2ef);border-radius:16px;background:var(--surface-color, #fff);padding:18px}.recovery-page-header h2{margin:9px 0 5px}.recovery-page-header p,.recovery-detail-panel footer p{margin:0;color:var(--muted-color, #64748b);line-height:1.5}.recovery-status{margin:0;border-left:3px solid #f59e0b;border-radius:8px;background:#fff7ed;color:#9a3412;padding:11px 13px}.recovery-status.is-error,.recovery-detail-state.is-error{border-color:var(--danger);background:#fef2f2;color:#b91c1c}.recovery-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,410px);gap:16px;align-items:start;min-width:0}.recovery-list-panel,.recovery-detail-panel{min-width:0;border:1px solid var(--border-color, #d8e2ef);border-radius:16px;background:var(--surface-color, #fff)}.recovery-table-shell{max-width:100%;overflow-x:auto}.recovery-table{width:100%;border-collapse:collapse}.recovery-table th,.recovery-table td{border-bottom:1px solid var(--border-color, #e2e8f0);padding:12px;text-align:left;vertical-align:middle;white-space:nowrap}.recovery-table th{color:var(--muted-color, #64748b);font-size:11px;letter-spacing:.03em}.recovery-table code,.recovery-failure-code{border-radius:999px;background:#fee2e2;color:#991b1b;padding:5px 8px;font-family:inherit;font-size:11px;font-weight:800}.recovery-empty-cell{height:150px;color:var(--muted-color, #64748b);text-align:center!important;white-space:normal!important}.compact-button{min-height:36px;padding:0 11px}.recovery-card-list{display:none}.recovery-pagination{display:grid;grid-template-columns:110px minmax(0,1fr) 110px;align-items:center;gap:10px;padding:12px}.recovery-pagination span{color:var(--muted-color, #64748b);font-size:12px;font-weight:800;text-align:center}.recovery-detail-panel{position:sticky;top:12px;overflow:hidden}.recovery-detail-panel>header{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:center;gap:10px;border-bottom:1px solid var(--border-color, #e2e8f0);padding:14px}.recovery-detail-panel>header span{color:var(--muted-color, #64748b);font-size:10px;font-weight:850;text-transform:uppercase}.recovery-detail-panel h3{margin:3px 0 0}.recovery-detail-body{display:grid;gap:13px;max-height:min(58vh,620px);overflow-y:auto;padding:14px}.recovery-detail-panel>footer{display:grid;gap:11px;border-top:1px solid var(--border-color, #e2e8f0);padding:14px}.recovery-detail-panel>footer p{font-size:11px}.recovery-detail-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.recovery-detail-summary div,.recovery-item{min-width:0;border:1px solid var(--border-color, #e2e8f0);border-radius:11px;padding:10px}.recovery-detail-summary span,.recovery-item div span{display:block;color:var(--muted-color, #64748b);font-size:10px}.recovery-detail-summary strong{display:block;overflow:hidden;margin-top:4px;text-overflow:ellipsis;white-space:nowrap}.recovery-failure-code{justify-self:start;margin:0}.recovery-item-list{display:grid;gap:8px}.recovery-item{border-left-width:4px}.recovery-item.is-match{border-left-color:var(--success)}.recovery-item.is-mismatch{border-left-color:#dc2626;background:#fef2f2}.recovery-item header{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.recovery-item header strong{min-width:0;overflow-wrap:anywhere}.recovery-item header span{flex:0 0 auto;font-size:11px;font-weight:800}.recovery-item div{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:9px}.recovery-detail-state{margin:0;border-left:3px solid #94a3b8;border-radius:8px;padding:12px}@media(max-width:1050px){.recovery-workspace{grid-template-columns:1fr}.recovery-detail-panel{position:static}}@media(max-width:768px){.recovery-page-header{display:grid}.recovery-table-shell{display:none}.recovery-card-list{display:grid;gap:8px;padding:10px}.recovery-card{min-width:0;display:grid;gap:9px;border:1px solid var(--border-color, #e2e8f0);border-radius:13px;background:var(--surface-color, #fff);padding:11px}.recovery-card header{display:grid;gap:4px}.recovery-card header span{color:#b91c1c;font-size:10px;font-weight:850}.recovery-card dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:0}.recovery-card dl div{min-width:0}.recovery-card dt{color:var(--muted-color, #64748b);font-size:9px}.recovery-card dd{overflow:hidden;margin:2px 0 0;font-size:11px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.recovery-pagination{grid-template-columns:88px minmax(0,1fr) 88px}}.completed-sales-recovery-page{gap:14px}.recovery-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.recovery-summary-card{display:grid;grid-template-columns:46px minmax(0,1fr);align-items:center;gap:12px;min-width:0;min-height:88px;border:1px solid var(--border-color, #d8e2ef);border-radius:11px;background:var(--surface-color, #fff);padding:13px 15px}.recovery-summary-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:10px}.recovery-summary-icon svg,.recovery-refresh-button svg,.recovery-search-field svg,.recovery-detail-action-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.recovery-summary-card>div>span,.recovery-summary-card strong{display:block}.recovery-summary-card>div>span{color:var(--text-color, #0f172a);font-size:11px;font-weight:850}.recovery-summary-card strong{margin-top:2px;font-size:22px;line-height:1.05}.recovery-summary-card.is-quarantine .recovery-summary-icon{background:#eaf2ff;color:#0b63f6}.recovery-summary-card.is-quarantine strong{color:#0b63f6}.recovery-summary-card.is-ready .recovery-summary-icon{background:#e9f9ef;color:#159447}.recovery-summary-card.is-ready strong{color:#159447}.recovery-summary-card.is-review .recovery-summary-icon{background:#fff3e5;color:#ed6c02}.recovery-summary-card.is-review strong{color:#ed6c02}.recovery-summary-card.is-completed .recovery-summary-icon{background:#ffebee;color:#ed1c2f}.recovery-summary-card.is-completed strong{color:#ed1c2f}.completed-sales-recovery-page .recovery-workspace{grid-template-columns:minmax(760px,1.9fr) minmax(430px,1fr);gap:14px;align-items:stretch}.completed-sales-recovery-page .recovery-list-panel,.completed-sales-recovery-page .recovery-detail-panel{border-radius:11px}.completed-sales-recovery-page .recovery-list-panel{display:grid;grid-template-rows:auto auto minmax(260px,1fr) auto;overflow:hidden}.recovery-filter-bar{display:grid;grid-template-columns:minmax(210px,1.45fr) repeat(4,minmax(118px,.72fr)) 92px;align-items:end;gap:9px;border-bottom:1px solid var(--border-color, #e2e8f0);padding:13px 12px}.recovery-filter-bar label{display:grid;min-width:0;gap:5px;color:var(--muted-color, #5d6c82);font-size:10px}.recovery-filter-bar select,.recovery-filter-bar input,.recovery-pagination select{width:100%;min-width:0;height:38px;border:1px solid var(--border-color, #d8e2ef);border-radius:8px;outline:none;background:var(--surface-color, #fff);color:var(--text-color, #0f172a);padding:0 10px;font:inherit;font-size:11px;font-weight:750}.recovery-filter-bar select:focus,.recovery-filter-bar input:focus,.recovery-pagination select:focus{border-color:#0b63f6;box-shadow:0 0 0 3px #0b63f61f}.recovery-search-field{position:relative;align-self:end}.recovery-search-field input{padding-right:38px;font-weight:650}.recovery-search-field svg{position:absolute;right:11px;bottom:9px;width:18px;height:18px;color:#4f6690;pointer-events:none}.recovery-refresh-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:0 10px}.recovery-refresh-button svg{width:16px;height:16px}.recovery-list-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:46px;padding:10px 12px 7px}.recovery-list-heading h3{margin:0;font-size:13px}.recovery-list-heading p{margin:0;color:var(--muted-color, #5d6c82);font-size:10px;text-align:right}.recovery-list-heading p.is-error{color:#b91c1c}.completed-sales-recovery-page .recovery-table-shell{min-height:0;overflow:auto}.completed-sales-recovery-page .recovery-table{min-width:1030px;table-layout:fixed}.completed-sales-recovery-page .recovery-table th,.completed-sales-recovery-page .recovery-table td{overflow:hidden;padding:9px 7px;font-size:10px;text-overflow:ellipsis}.completed-sales-recovery-page .recovery-table th{position:sticky;top:0;z-index:1;background:var(--surface-color, #fff);font-size:9px;text-transform:none}.completed-sales-recovery-page .recovery-table th:nth-child(1){width:124px}.completed-sales-recovery-page .recovery-table th:nth-child(2){width:84px}.completed-sales-recovery-page .recovery-table th:nth-child(3){width:86px}.completed-sales-recovery-page .recovery-table th:nth-child(4){width:88px}.completed-sales-recovery-page .recovery-table th:nth-child(5){width:132px}.completed-sales-recovery-page .recovery-table th:nth-child(6){width:72px}.completed-sales-recovery-page .recovery-table th:nth-child(7){width:56px;text-align:center}.completed-sales-recovery-page .recovery-table th:nth-child(8){width:96px}.completed-sales-recovery-page .recovery-table th:nth-child(9){width:112px}.completed-sales-recovery-page .recovery-table th:nth-child(10){width:42px}.completed-sales-recovery-page .recovery-table tbody tr{cursor:pointer;transition:background-color .15s ease}.completed-sales-recovery-page .recovery-table tbody tr:hover{background:#f7faff}.completed-sales-recovery-page .recovery-table tbody tr.is-selected{background:#eaf2ff;box-shadow:inset 3px 0 #0b63f6}.recovery-sale-cell strong,.recovery-sale-cell span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.recovery-sale-cell strong{color:#0b3c88;font-size:10px}.recovery-sale-cell span{margin-top:3px;color:var(--muted-color, #5d6c82);font-size:9px}.recovery-table-date span{display:block;line-height:1.35}.recovery-table-date span+span{color:var(--muted-color, #5d6c82)}.recovery-table-center{text-align:center}.recovery-status-pill,.recovery-failure-pill{display:inline-flex;align-items:center;max-width:100%;border-radius:999px;padding:5px 7px;font-size:9px;font-weight:850;line-height:1.2;white-space:normal}.recovery-failure-pill.is-catalog{background:#fff1db;color:#9a4a0b}.recovery-failure-pill.is-unit{background:#fff0e0;color:#a74b00}.recovery-failure-pill.is-retry{background:#eaf8ef;color:#158343}.recovery-failure-pill.is-integrity{background:#ffe6ea;color:#c22336}.recovery-status-pill.is-ready{background:#e8f8ee;color:#168343}.recovery-status-pill.is-review{background:#fff0df;color:#9a4a0b}.recovery-eye-button{display:grid;place-items:center;width:32px;height:32px;margin:0 auto;border:0;border-radius:8px;background:transparent;color:#244d82}.recovery-eye-button:hover{background:#eaf2ff;color:#0b63f6}.recovery-eye-button svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8}.completed-sales-recovery-page .recovery-pagination{grid-template-columns:1fr auto 1fr;min-height:58px;border-top:1px solid var(--border-color, #e2e8f0);padding:9px 12px}.recovery-pagination>span{justify-self:start}.recovery-pagination>div{display:flex;align-items:center;gap:7px}.recovery-pagination>div>span{display:grid;place-items:center;width:32px;height:32px;border-radius:7px;background:#0b63f6;color:#fff}.recovery-pagination .secondary-button{min-width:32px;min-height:32px;padding:0}.recovery-pagination label{justify-self:end;width:92px}.recovery-pagination select{height:34px;font-size:10px}.completed-sales-recovery-page .recovery-detail-panel{position:sticky;top:10px;display:grid;grid-template-rows:auto minmax(260px,1fr) auto;align-self:start;max-height:calc(100vh - 92px);overflow:hidden}.completed-sales-recovery-page .recovery-detail-panel>header{display:flex;align-items:center;min-height:52px;padding:12px 14px}.completed-sales-recovery-page .recovery-detail-panel>header h3{margin:0;font-size:13px}.completed-sales-recovery-page .recovery-detail-body{display:block;max-height:none;min-height:0;padding:0 14px 14px}.recovery-detail-placeholder{display:grid;place-items:center;min-height:320px;margin:0;color:var(--muted-color, #5d6c82);font-size:12px;text-align:center}.recovery-detail-section{border-top:1px solid var(--border-color, #e2e8f0);padding:12px 0}.recovery-detail-section:first-child{border-top:0;padding-top:0}.recovery-detail-section h4{margin:0 0 9px;font-size:11px}.recovery-detail-identity{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.recovery-detail-identity div{display:grid;grid-template-columns:86px minmax(0,1fr);gap:8px;min-width:0;padding:4px 0}.recovery-detail-identity dt,.recovery-detail-identity dd{min-width:0;margin:0;font-size:10px}.recovery-detail-identity dt{color:#5c7191}.recovery-detail-identity dd{overflow:hidden;color:#0c2145;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.recovery-finalization-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:hidden;border:1px solid var(--border-color, #e2e8f0);border-radius:8px}.recovery-finalization-item{display:grid;grid-template-columns:17px minmax(0,1fr) auto;align-items:center;gap:6px;min-width:0;min-height:34px;border-right:1px solid var(--border-color, #e2e8f0);border-bottom:1px solid var(--border-color, #e2e8f0);padding:6px 8px;font-size:9px}.recovery-finalization-item:nth-child(2n){border-right:0}.recovery-finalization-item:nth-last-child(-n+2){border-bottom:0}.recovery-finalization-item b{color:#4d6281;font-size:9px}.recovery-finalization-mark{font-size:13px;text-align:center}.recovery-finalization-item.is-preserved .recovery-finalization-mark{color:var(--success)}.recovery-finalization-item.is-waiting .recovery-finalization-mark{color:#94a3b8}.recovery-finalization-item.is-warning .recovery-finalization-mark{color:var(--danger)}.recovery-quarantine-reason{border:1px solid #ffd08a;border-radius:8px;background:#fff8ed;padding:10px}.recovery-quarantine-reason strong{display:block;color:#9a4a0b;font-size:10px}.recovery-quarantine-reason p{margin:4px 0 0;color:#3b4b63;font-size:9px;line-height:1.45}.recovery-reason-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:8px}.recovery-reason-meta span,.recovery-reason-meta b{display:block;overflow:hidden;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.recovery-reason-meta span{color:#7a6b57}.recovery-reason-meta b{margin-top:2px;color:#334155}.recovery-detail-items-shell{overflow-x:auto;border:1px solid var(--border-color, #e2e8f0);border-radius:8px}.recovery-detail-items-table{width:100%;min-width:520px;border-collapse:collapse}.recovery-detail-items-table th,.recovery-detail-items-table td{border-bottom:1px solid var(--border-color, #e2e8f0);padding:7px 5px;font-size:8px;text-align:left;vertical-align:middle}.recovery-detail-items-table th{color:#526682}.recovery-detail-items-table tbody tr:last-child td{border-bottom:0}.recovery-catalog-result{font-weight:850}.recovery-catalog-result.is-match{color:#168343}.recovery-catalog-result.is-mismatch{color:#dc2638}.recovery-precondition-layout{display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:12px;align-items:stretch}.recovery-preconditions{display:grid;gap:6px;margin:0;padding:9px 10px;border:1px solid var(--border-color, #e2e8f0);border-radius:8px;list-style:none}.recovery-preconditions li{display:grid;grid-template-columns:15px minmax(0,1fr);align-items:center;gap:6px;font-size:9px}.recovery-preconditions li.is-pass span:first-child{color:var(--success)}.recovery-preconditions li.is-fail span:first-child{color:#dc2638}.recovery-eligibility-inline,.recovery-eligibility{display:grid;place-items:center;border:1px solid;border-radius:8px;font-size:10px;font-weight:900;text-align:center;text-transform:uppercase}.recovery-eligibility-inline.is-ready,.recovery-eligibility.is-ready{border-color:#72d49c;background:#effcf4;color:#13763d}.recovery-eligibility-inline.is-blocked,.recovery-eligibility.is-blocked{border-color:#ff9aa5;background:#fff0f2;color:#cb2034}.recovery-history{position:relative;display:grid;gap:8px;margin:0;padding:0;list-style:none}.recovery-history li{display:grid;grid-template-columns:94px 14px minmax(0,1fr);align-items:start;gap:6px;color:#4c607d;font-size:9px}.recovery-history-mark{display:grid;place-items:center;width:10px;height:10px;margin-top:1px;border:1px solid #8296b3;border-radius:50%;background:#fff}.completed-sales-recovery-page .recovery-detail-panel>footer{gap:10px;padding:12px 14px}.recovery-detail-panel>footer.hidden{display:none}.recovery-detail-panel>footer .recovery-eligibility{min-height:44px}.recovery-detail-action-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px}.recovery-detail-action-row button{min-height:42px;padding:0 10px;font-size:10px}.completed-sales-recovery-page .recovery-detail-state{margin:12px 0 0;font-size:11px}@media(max-width:1450px){.recovery-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.completed-sales-recovery-page .recovery-workspace{grid-template-columns:minmax(0,1.6fr) minmax(320px,1fr)}.recovery-filter-bar{grid-template-columns:minmax(200px,1.4fr) repeat(2,minmax(120px,.8fr)) 90px}.recovery-filter-bar label:nth-of-type(4),.recovery-filter-bar label:nth-of-type(5){display:none}}@media(max-width:1160px){.completed-sales-recovery-page .recovery-workspace{grid-template-columns:1fr}.completed-sales-recovery-page .recovery-detail-panel{position:static;max-height:none}.completed-sales-recovery-page .recovery-detail-body{max-height:none}}@media(max-width:768px){.recovery-summary-grid{grid-template-columns:1fr}.recovery-filter-bar{grid-template-columns:1fr 1fr}.recovery-filter-bar label:nth-of-type(4),.recovery-filter-bar label:nth-of-type(5){display:grid}.recovery-search-field{grid-column:1 / -1}.recovery-refresh-button{width:100%}.completed-sales-recovery-page .recovery-pagination{grid-template-columns:1fr}.recovery-pagination>span,.recovery-pagination label{justify-self:center}.recovery-detail-identity,.recovery-finalization-grid,.recovery-precondition-layout,.recovery-detail-action-row{grid-template-columns:1fr}.recovery-finalization-item{border-right:0}.recovery-finalization-item:nth-last-child(-n+2){border-bottom:1px solid var(--border-color, #e2e8f0)}.recovery-finalization-item:last-child{border-bottom:0}}@media(min-width:769px){.completed-sales-recovery-page .recovery-list-panel :is(th,td,.recovery-sale-cell strong,.recovery-sale-cell span,.recovery-status-pill,.recovery-failure-pill,.recovery-filter-bar label,.recovery-filter-bar input,.recovery-filter-bar select,.recovery-list-heading p,.recovery-pagination span,.recovery-pagination select){font-size:12px;line-height:1.45}.completed-sales-recovery-page .recovery-table{min-width:1200px}.completed-sales-recovery-page .recovery-table th{white-space:normal;overflow:visible;text-overflow:clip}.recovery-table-shell:focus-visible{outline:2px solid var(--primary-color, #0b63f6);outline-offset:-2px}.recovery-detail-panel :is(th,td,dt,dd,h4,.recovery-finalization-item,.recovery-finalization-item b,.recovery-quarantine-reason strong,.recovery-quarantine-reason p,.recovery-reason-meta span,.recovery-reason-meta b,.recovery-preconditions li,.recovery-history li,.recovery-eligibility,.recovery-detail-action-row button){font-size:12px;line-height:1.45}.recovery-detail-items-table{min-width:850px}.recovery-reason-meta :is(span,b){overflow:visible;white-space:normal;text-overflow:clip;overflow-wrap:anywhere}.recovery-detail-items-shell:focus-visible{outline:2px solid var(--primary-color, #0b63f6);outline-offset:-2px}}@media(min-width:769px)and (max-width:1450px){.recovery-detail-identity,.recovery-finalization-grid,.recovery-precondition-layout{grid-template-columns:1fr}.recovery-finalization-item{border-right:0}.recovery-finalization-item:nth-last-child(-n+2){border-bottom:1px solid var(--border-color, #e2e8f0)}.recovery-finalization-item:last-child{border-bottom:0}.recovery-reason-meta{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(min-width:1161px)and (max-width:1450px){#adminLifecycleView .admin-list-view{grid-template-rows:96px auto minmax(0,1fr)}#adminLifecycleView .admin-list-toolbar{grid-template-columns:repeat(3,minmax(0,1fr))}#adminLifecycleView .admin-list-search,#adminLifecycleView .admin-list-toolbar>label:nth-child(4){grid-column:auto}.product-create-grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}.product-create-grid{align-items:start}body[data-current-route] .topbar,body[data-portal-role=system-admin] .topbar{flex:0 0 auto;height:auto;min-height:62px;padding-block:8px}.topbar-filter-text strong,.topbar-profile-text strong,.supplier-detail-topbar-breadcrumb strong,.sidebar-user-card strong,.admin-person-cell strong,.admin-list-table td,.role-template-name-cell :is(strong,span),.employee-audit-primary,.employee-audit-secondary,.employee-audit-table-wrap td,.recovery-detail-identity dd{overflow:visible;text-overflow:clip;white-space:normal;overflow-wrap:anywhere}.patron-dashboard{grid-template-rows:max-content minmax(174px,1.16fr) minmax(146px,.92fr) max-content minmax(142px,.92fr)}.dashboard-kpi-card{gap:10px;padding-inline:12px}.dashboard-kpi-icon{flex-basis:44px;width:44px;height:44px}.dashboard-kpi-card>div{min-width:0;flex:1}.dashboard-kpi-card strong{white-space:normal;overflow-wrap:anywhere}.dashboard-payment-layout{grid-template-columns:128px minmax(100px,1fr)}.dashboard-payment-donut{width:128px}.dashboard-payment-donut:after{inset:18%}.dashboard-payment-legend{margin:0;padding:0;list-style:none}.dashboard-payment-legend-row{grid-template-columns:8px minmax(0,1fr);gap:2px 6px}.dashboard-payment-legend-row>strong{grid-column:2}.dashboard-payment-legend-row :is(b,small){display:block}.dashboard-payment-legend-row small{white-space:nowrap}.dashboard-alert-card{grid-template-columns:38px minmax(0,1fr)}.dashboard-alert-link{grid-column:2;justify-self:end}.dashboard-alert-copy em{grid-column:1 / -1}.dashboard-alert-copy :is(small,em),.dashboard-payment-legend-row span,.dashboard-business-row>span:first-child,.dashboard-data-table :is(th,td),.admin-dashboard-table td strong,.admin-dashboard-table td,.admin-dashboard-quick-grid :is(strong,small),.admin-storage-grid strong{overflow:visible;white-space:normal;text-overflow:clip;overflow-wrap:anywhere}.admin-dashboard-quick-grid>button{height:auto;min-height:72px}.patron-products-main-redesign .product-summary-card{grid-template-columns:40px minmax(0,1fr);gap:10px;padding:12px}.patron-products-main-redesign .product-summary-icon{width:40px;height:40px}.patron-products-main-redesign .product-summary-icon svg{width:24px;height:24px}.patron-products-main-redesign .product-toolbar{grid-template-columns:minmax(200px,2fr) repeat(3,minmax(110px,1fr))}.patron-products-main-redesign .product-toolbar .product-search-box{grid-column:span 2}.patron-products-main-redesign .product-toolbar>*{min-width:0}.label-command-bar{grid-template-columns:minmax(220px,1.5fr) repeat(2,minmax(150px,1fr))}.label-command-actions{grid-column:1 / -1;flex-wrap:wrap}.supplier-receiving-main{grid-template-columns:minmax(0,1fr);grid-template-rows:max-content max-content minmax(200px,1fr);overflow-y:auto;scrollbar-gutter:stable}.supplier-receiving-main-card,.supplier-receiving-line-editor,.supplier-receiving-lines-card{grid-template-columns:minmax(0,1fr)}.supplier-receiving-line-editor{grid-template-rows:max-content max-content}.supplier-receiving-document-head{flex-wrap:wrap}.supplier-receiving-document-grid,.supplier-receiving-form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.supplier-receiving-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.supplier-receiving-toolbar>button{grid-column:1 / -1;justify-self:end}.supplier-receiving-line-form{grid-template-columns:repeat(4,minmax(0,1fr))}.supplier-receiving-line-form>*,.supplier-receiving-toolbar>*{min-width:0}.supplier-receiving-summary{overflow-y:auto;scrollbar-gutter:stable}.stock-order-catalog-panel{grid-template-columns:minmax(0,1fr);grid-template-rows:48px 50px auto minmax(100px,1fr) 38px;overflow-y:auto}.stock-order-catalog-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.stock-order-analysis-panel{grid-template-rows:46px max-content minmax(0,1fr) 48px}.stock-order-filter-row{grid-template-columns:repeat(3,minmax(0,1fr))}.stock-order-filter-row>.stock-order-search{grid-column:span 2}.stock-orders-page{grid-template-rows:max-content minmax(0,1fr)}.stock-order-kpi-card{gap:10px;padding:12px}.stock-order-kpi-icon{flex-basis:40px;width:40px;height:40px}.stock-order-kpi-card :is(strong,small,b){overflow:visible;text-overflow:clip;white-space:normal;overflow-wrap:anywhere}.stock-order-catalog-filters .stock-order-panel-search{grid-column:1 / -1}.return-reservation-filters{grid-template-columns:minmax(0,1fr) minmax(110px,.7fr)}.stock-order-cart-actions button{white-space:normal}.stock-order-batch-filters{display:grid;grid-template-columns:minmax(0,1fr)}.stock-order-batch-filters :is(input,select){width:100%;max-width:none}.stock-order-panel-heading>div{min-width:0}.stock-order-panel-heading strong{white-space:normal}.supplier-detail-screen,.supplier-invoice-detail-screen{grid-template-columns:minmax(0,1fr);grid-template-rows:max-content max-content minmax(300px,1fr);overflow-y:auto;scrollbar-gutter:stable}.supplier-invoice-detail-summary-grid,.supplier-detail-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.supplier-detail-hero{grid-template-columns:34px 72px minmax(0,1fr)}.supplier-detail-title{min-width:0}.supplier-detail-title h2{overflow-wrap:anywhere}.supplier-detail-meta{gap:8px 0}.supplier-detail-actions{grid-column:3;flex-wrap:wrap}.supplier-detail-table-wrap :is(th,td){padding-inline:14px}.patron-suppliers-redesign .supplier-toolbar{grid-template-columns:minmax(220px,2fr) repeat(3,minmax(120px,1fr))}.patron-suppliers-redesign .supplier-toolbar>button{white-space:nowrap}.supplier-kpi-card{display:grid;grid-template-columns:44px minmax(0,1fr);gap:6px 10px;padding:14px 16px}.supplier-kpi-card>div{display:contents}.supplier-kpi-card .supplier-kpi-icon{width:44px;height:44px}.supplier-kpi-card .supplier-kpi-icon :is(svg,img){width:40px;height:40px}.supplier-kpi-card h3{grid-column:2;margin:0}.supplier-kpi-card strong,.supplier-kpi-card p{grid-column:1 / -1;min-width:0;margin:0;white-space:normal;overflow-wrap:anywhere}.supplier-kpi-card strong{font-size:22px}.employee-kpi-copy :is(h3,strong,p),.audit-kpi-title,.audit-kpi-note,.admin-list-kpi :is(strong,em),.admin-dashboard-kpi :is(strong,em){overflow:visible;text-overflow:clip;white-space:normal;overflow-wrap:anywhere}.employee-toolbar{grid-template-columns:minmax(220px,1.4fr) repeat(2,minmax(145px,1fr))}.employee-toolbar-spacer{display:none}.employee-audit-toolbar{grid-template-columns:repeat(4,minmax(0,1fr));overflow:visible}.employee-table-wrap td{overflow-wrap:anywhere;white-space:normal}.employee-role-badge{max-width:100%;white-space:normal}body[data-current-route=dashboard]:not([data-portal-role=system-admin]) .topbar{flex-wrap:wrap;flex-basis:auto;padding-block:8px}body[data-current-route=dashboard]:not([data-portal-role=system-admin]) .dashboard-topbar-controls{order:6;flex:1 0 100%;justify-content:flex-start}.dashboard-period-controls{flex-shrink:0}.recovery-filter-bar{grid-template-columns:repeat(2,minmax(0,1fr))}.recovery-filter-bar label:nth-of-type(4),.recovery-filter-bar label:nth-of-type(5){display:grid}}@media(min-width:1360px)and (max-width:1450px){body[data-current-route=dashboard]:not([data-portal-role=system-admin]){.topbar{flex-wrap:nowrap;gap:8px}.topbar-menu-button{width:28px;flex:0 0 28px}.topbar-filter-chip[data-topbar-isletme-selector]{flex:0 0 170px;min-width:0;height:auto;min-height:44px;padding:4px 10px;gap:6px}.global-search{flex:1 1 150px;min-width:130px;max-width:300px;padding-inline:10px;gap:8px}.dashboard-topbar-controls{order:4;flex:0 0 auto;gap:6px;justify-content:flex-end;margin-left:auto}.dashboard-period-controls{grid-template-columns:repeat(3,minmax(64px,auto));height:40px}.dashboard-period-controls button{padding-inline:6px}.dashboard-generated-at{gap:3px}.dashboard-refresh-button{height:40px;padding-inline:8px;gap:4px}.topbar-actions{order:5;margin-left:0}.topbar-profile{grid-template-columns:34px minmax(0,142px) 28px;gap:6px;padding-left:8px}.topbar-avatar{width:34px;height:34px}.topbar-profile-text strong{font-size:12px}.profile-menu-button{width:28px}}}.employee-directory-panel>.employee-toolbar,.role-template-list-panel>.role-template-toolbar{grid-row:1}.employee-directory-panel>.employee-list-state,.role-template-list-panel>.role-template-list-state{grid-row:2}.employee-directory-panel>.employee-table-wrap,.role-template-list-panel>.role-template-table-wrap{grid-row:3}.employee-directory-panel>.employee-table-footer,.role-template-list-panel>.role-template-table-footer{grid-row:4}#productForm,.supplier-receiving-main{scroll-padding-block:48px}@media(min-width:901px)and (max-height:650px){.password-change-card.auth-card{padding-block:18px}.password-change-card .password-change-form{margin-top:18px;gap:10px}.password-change-card .auth-card-heading>span{margin-top:8px}}body :is(button,input,select,textarea,a[href],[tabindex]):focus-visible{outline:2px solid #0b3b91;outline-offset:2px;box-shadow:0 0 0 2px #fff}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}@media(min-width:769px){.product-initial-stock-section{display:grid;gap:12px}.product-initial-stock-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-initial-stock-summary .product-detail-card{min-width:0}.product-initial-stock-section>button{justify-self:start;min-height:44px}.product-initial-stock-row label{min-width:0}.product-initial-stock-row input{width:100%;min-width:0}.product-initial-stock-error{color:var(--danger, #dc2626)}.product-initial-stock-error:empty,.product-initial-stock-section .product-stock-expiry-lot-editor:empty{display:none}}.manual-debt-overlay .modal-card{display:grid;grid-template-rows:auto minmax(0,1fr) auto;max-height:calc(100dvh - 32px)}.manual-debt-body{min-height:0;overflow-y:auto;padding-block:4px}.supplier-modal-form .manual-debt-check{display:flex;align-items:center;gap:8px;grid-column:1 / -1}.supplier-modal-form .manual-debt-check input{width:18px;min-height:18px}.manual-debt-row-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.manual-debt-row-actions button{min-height:32px;padding:4px 10px}.supplier-detail-actions{flex-wrap:wrap}.manual-debt-mobile-layer{position:fixed!important;z-index:200!important}@media(max-width:767px){.mobile-supplier-account-list article:has(.manual-debt-row-actions){flex-wrap:wrap}.mobile-supplier-account-list .manual-debt-row-actions{width:100%}}.supplier-detail-panel-toolbar:has([data-supplier-account-search]){grid-template-columns:minmax(0,1fr)}
