@import "https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap";:root{--font-app:Montserrat, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--type-body:.9375rem;--type-muted:.875rem;--type-caption:.75rem;--type-page-title:1.875rem;--type-section-title:1.125rem;--type-card-title:.9375rem;--type-kpi:1.5rem;--weight-regular:400;--weight-medium:500;--weight-semibold:600;--weight-bold:700;--weight-heavy:800;--color-primary-50:#f2fbfb;--color-primary-100:#d9f1f0;--color-primary-500:#00777a;--color-primary-600:#005f61;--color-primary-700:#004c4e;--color-secondary-50:#f6f7f9;--color-secondary-100:#f2f4f7;--color-secondary-200:#e4e7ec;--color-secondary-300:#d0d5dd;--color-secondary-400:#98a2b3;--color-secondary-500:#667085;--color-secondary-600:#475467;--color-secondary-700:#344054;--color-secondary-800:#1d2939;--color-secondary-900:#101828;--color-success-50:#ecfdf5;--color-success-600:#16805a;--color-warning-50:#fffbeb;--color-warning-600:#a16207;--color-error-50:#fef2f2;--color-error-600:#b42318;--shadow-surface:0 1px 2px #1018280a;font-family:var(--font-app);color:var(--color-secondary-900);background:var(--color-secondary-50)}*,:before,:after{box-sizing:border-box}html{min-width:320px}body{background:var(--color-secondary-50);min-width:320px;min-height:100vh;font-size:var(--type-body);font-weight:var(--weight-regular);margin:0;line-height:1.5}button,input,select,textarea{font:inherit;letter-spacing:0}button{cursor:pointer}a{color:inherit}#root{min-height:100vh}.dark,.dark body{color:var(--color-secondary-50);background:var(--color-secondary-900)}.app-shell{background:var(--color-secondary-50);min-height:100vh}.dark .app-shell{background:var(--color-secondary-900)}.desktop-sidebar{z-index:40;border-right:1px solid var(--color-secondary-200);background:#fff;width:15rem;height:100vh;transition:width .18s;position:fixed;inset:0 auto 0 0}.dark .desktop-sidebar{border-right-color:var(--color-secondary-700);background:var(--color-secondary-800)}.desktop-sidebar--collapsed{width:4rem}.sidebar-shell{height:100%;color:var(--color-secondary-600);scrollbar-color:var(--color-secondary-400) transparent;scrollbar-width:thin;background:#fff;flex-direction:column;gap:0;padding:0;display:flex;overflow-y:auto}.dark .sidebar-shell{background:var(--color-secondary-800);color:var(--color-secondary-400)}.sidebar-shell--collapsed{align-items:center;padding:0}.sidebar-shell--collapsed .brand{flex-direction:column;justify-content:center;gap:.35rem;width:100%;padding:.65rem 0}.sidebar-shell--collapsed .brand__identity{display:flex}.brand{border-bottom:1px solid var(--color-secondary-200);justify-content:space-between;align-items:center;gap:.75rem;min-height:4rem;padding:0 .9rem;display:flex}.dark .brand{border-bottom-color:var(--color-secondary-700)}.brand__identity{align-items:center;gap:.65rem;min-width:0;display:flex}.arachne-logo{min-width:0;color:var(--color-secondary-900);align-items:center;gap:.65rem;line-height:1;display:inline-flex}.arachne-logo__mark{flex:none;width:2.6rem;height:2.6rem}.arachne-logo__tile{fill:var(--color-primary-50);stroke:var(--color-primary-100);stroke-width:1.5px}.arachne-logo__leg,.arachne-logo__cross{fill:none;stroke:var(--color-primary-600);stroke-linecap:round;stroke-linejoin:round;stroke-width:5px}.arachne-logo__thread{fill:none;stroke:#0d3b63;stroke-linecap:round;stroke-width:2.8px}.arachne-logo__node{fill:#0d3b63}.arachne-logo__node--secondary{fill:var(--color-primary-500)}.arachne-logo__text{gap:.18rem;min-width:0;display:grid}.arachne-logo__text strong{color:var(--color-secondary-900);font-size:1.05rem;font-weight:var(--weight-bold);letter-spacing:0}.arachne-logo__text small{color:var(--color-secondary-500);letter-spacing:.02em;text-transform:uppercase;font-size:.68rem;font-weight:600}.arachne-logo--sm .arachne-logo__mark{width:2.35rem;height:2.35rem}.arachne-logo--lg .arachne-logo__mark{width:4.85rem;height:4.85rem}.arachne-logo--compact .arachne-logo__mark{width:2.25rem;height:2.25rem}.brand__copy{min-width:0;display:none}.brand__copy strong{color:var(--color-secondary-900);font-size:.875rem}.brand__copy span,.sidebar-media figcaption{color:var(--color-secondary-500);font-size:.75rem}.sidebar-toggle{border:1px solid var(--color-primary-600);width:2rem;height:2rem;color:var(--color-primary-700);background:#fff;border-radius:999px;place-items:center;font-size:.8rem;display:grid}.dark .sidebar-toggle{background:var(--color-secondary-800);border-color:var(--color-primary-600);color:var(--color-primary-100)}.sidebar-shell--collapsed .sidebar-toggle{width:1.65rem;height:1.65rem}.dark .arachne-logo__tile{fill:var(--color-secondary-900);stroke:var(--color-secondary-700)}.dark .arachne-logo__text strong{color:#fff}.dark .arachne-logo__text small{color:var(--color-secondary-400)}.nav-list{flex:1;align-content:start;gap:1.45rem;padding:.95rem 0 1.2rem;display:grid}.nav-list--collapsed{gap:.5rem;width:100%}.nav-section{gap:.35rem;display:grid}.nav-section__label{color:var(--color-secondary-500);font-size:var(--type-caption);font-weight:var(--weight-bold);letter-spacing:.045em;text-transform:uppercase;margin:0;padding:0 1rem}.dark .nav-section__label{color:var(--color-secondary-400)}.nav-section__items{gap:.1rem;display:grid}.nav-item{width:100%;min-height:2.55rem;color:var(--color-secondary-700);background:0 0;border:0;border-radius:0;align-items:center;gap:.75rem;padding:0 1rem 0 1.9rem;font-size:.86rem;font-weight:500;text-decoration:none;transition:all .15s;display:flex}.dark .nav-item{color:var(--color-secondary-300)}.nav-item--collapsed{justify-content:center;padding:0}.nav-item:hover{background:var(--color-secondary-50);color:var(--color-primary-700)}.nav-item--active{color:var(--color-primary-700);background:#f7fafb;font-weight:600}.dark .nav-item--active{background:var(--color-secondary-900);color:var(--color-primary-500)}.dark .nav-item:hover:not(.nav-item--active){background:var(--color-secondary-700);color:#fff}.nav-item svg{flex:none}.sidebar-media{gap:.75rem;margin:auto 0 0;display:grid}.sidebar-media img{object-fit:cover;border-radius:8px;width:100%;height:8.5rem}.topbar{z-index:30;border-bottom:1px solid var(--color-secondary-200);background:#fff;justify-content:space-between;align-items:center;gap:1rem;height:4rem;padding:0 1.05rem;display:flex;position:sticky;top:0}.dark .topbar{border-color:var(--color-secondary-700);background:var(--color-secondary-800)}.topbar__left,.topbar__right,.page-header,.page-header__actions,.surface-toolbar,.surface-toolbar__leading,.surface-toolbar__trailing,.content-section__header,.content-section__actions{align-items:center;gap:1rem;display:flex}.topbar__left{min-width:0}.topbar__right{justify-content:flex-end;margin-left:auto}.topbar__context{gap:.35rem;min-width:0;display:grid}.topbar__context-row{align-items:center;gap:.5rem;min-width:0;display:flex}.topbar__tenant{color:var(--color-secondary-400);text-transform:uppercase;margin:0;font-size:.75rem;font-weight:600}.topbar__tenant-chip,.topbar__role-chip{white-space:nowrap;border-radius:999px;align-items:center;min-width:0;padding:.34rem .7rem;font-size:.78rem;font-weight:700;line-height:1;display:inline-flex}.topbar__tenant-chip{background:var(--color-secondary-100);max-width:min(16rem,38vw);color:var(--color-secondary-900);text-overflow:ellipsis;overflow:hidden}.topbar__role-chip{max-width:min(14rem,28vw);color:var(--color-primary-700);text-overflow:ellipsis;background:#0b72781a;overflow:hidden}.topbar__workspace{color:var(--color-secondary-500);text-transform:uppercase;margin:0;font-size:.75rem;font-weight:500}.topbar__title{color:var(--color-secondary-900);margin:0;font-size:1.125rem;font-weight:700;line-height:1.2}.dark .topbar__title{color:#fff}.dark .topbar__tenant{color:var(--color-secondary-300)}.tenant-switcher{border:0;border-left:1px solid var(--color-secondary-200);min-height:4rem;color:var(--color-secondary-900);text-align:left;background:0 0;align-items:center;gap:.7rem;padding:0 1rem;display:inline-flex}.tenant-switcher span{gap:.08rem;display:grid}.tenant-switcher strong{font-size:.95rem;font-weight:var(--weight-bold);line-height:1.1}.tenant-switcher small{color:var(--color-secondary-500);font-size:.74rem;font-weight:500}.tenant-switcher em{color:#8a3ffc;background:#f0e7ff;border-radius:8px;padding:.2rem .6rem;font-size:.76rem;font-style:normal;font-weight:700}.dark .tenant-switcher{border-color:var(--color-secondary-700);color:#fff}.dark .tenant-switcher small{color:var(--color-secondary-400)}.topbar__menu{border:1px solid var(--color-secondary-200);color:var(--color-secondary-700);background:#fff;border-radius:8px;padding:.5rem;display:none}.topbar__icon-button{width:2.25rem;height:2.25rem;color:var(--color-secondary-700);background:0 0;border:0;border-radius:999px;place-items:center;display:grid}.user-menu{position:relative}.user-menu__trigger{border:1px solid var(--color-primary-700);background:var(--color-primary-600);color:#fff;width:2.75rem;height:2.75rem;font-size:.78rem;font-weight:var(--weight-bold);border-radius:999px;place-items:center;padding:0;display:grid}.user-menu__panel{z-index:50;border:1px solid var(--color-secondary-200);background:#fff;border-radius:8px;width:20rem;display:grid;position:absolute;top:3.55rem;right:0;overflow:hidden;box-shadow:0 14px 28px #10182829}.user-menu__summary{border-bottom:1px solid var(--color-secondary-100);align-items:center;gap:.9rem;padding:.9rem 1rem;display:flex}.user-menu__avatar{background:var(--color-primary-600);color:#fff;width:2.6rem;height:2.6rem;font-size:.78rem;font-weight:var(--weight-bold);border-radius:999px;flex:none;place-items:center;display:grid}.user-menu__identity{gap:.12rem;min-width:0;display:grid}.user-menu__identity strong{color:var(--color-secondary-900);font-size:.86rem;font-weight:var(--weight-bold)}.user-menu__identity span{color:var(--color-secondary-500);font-size:.78rem}.user-menu__item,.user-menu__theme-option{width:100%;min-height:2.7rem;color:var(--color-secondary-600);text-align:left;background:0 0;border:0;align-items:center;gap:.75rem;padding:0 1rem;font-size:.86rem;font-weight:500;display:flex}.user-menu__item:hover,.user-menu__theme-option:hover{background:var(--color-secondary-50)}.user-menu__theme{border-top:1px solid var(--color-secondary-100);border-bottom:1px solid var(--color-secondary-100);gap:.15rem;padding:.75rem 1rem;display:grid}.user-menu__theme p{color:var(--color-secondary-500);font-size:.72rem;font-weight:var(--weight-bold);letter-spacing:.045em;text-transform:uppercase;margin:0 0 .35rem}.user-menu__theme-option{border-radius:6px;min-height:2.25rem;padding:0 .75rem}.user-menu__theme-option span{flex:1}.user-menu__theme-option--active{color:var(--color-primary-600);background:#f8fafc}.user-menu__logout{color:var(--color-error-600);justify-content:flex-start}.dark .user-menu__trigger,.dark .user-menu__panel{border-color:var(--color-secondary-700);background:var(--color-secondary-800);color:var(--color-secondary-100)}.dark .user-menu__identity strong{color:#fff}.dark .user-menu__summary,.dark .user-menu__theme{border-color:var(--color-secondary-700)}.dark .user-menu__identity span,.dark .user-menu__theme p{color:var(--color-secondary-400)}.dark .user-menu__item,.dark .user-menu__theme-option{color:var(--color-secondary-200)}.dark .user-menu__item:hover,.dark .user-menu__theme-option:hover,.dark .user-menu__theme-option--active{background:var(--color-secondary-900)}.app-frame{min-height:100vh;transition:padding-left .18s}.app-frame--sidebar-open{padding-left:15rem}.app-frame--sidebar-collapsed{padding-left:4rem}.app-main{min-height:calc(100vh - 4rem);padding:1rem}.page-container{gap:1.25rem;width:100%;margin:0;padding:0;display:grid}.page-container--card .page-content{border:1px solid var(--color-secondary-200);background:#fff;border-radius:8px;padding:1.5rem}.page-header{border:1px solid var(--color-secondary-200);box-shadow:var(--shadow-surface);background:#fff;border-radius:8px;flex-direction:column;justify-content:space-between;align-items:flex-start;gap:.75rem;margin-bottom:0;padding:1.1rem 1.25rem;display:flex}.page-header h2,.login-brand h1{color:var(--color-secondary-900);font-size:var(--type-page-title);font-weight:var(--weight-bold);margin:0;line-height:1.2}.dark .page-header{border-color:var(--color-secondary-700);background:var(--color-secondary-800)}.dark .page-header h2{color:#fff}.page-header p,.content-section p,.section-title p,.result-card p,.settings-grid p,.login-brand p,.empty-state p{color:var(--color-secondary-500);margin:.25rem 0 0;line-height:1.5}.dark .page-header p,.dark .content-section p,.dark .section-title p,.dark .result-card p,.dark .settings-grid p,.dark .empty-state p{color:var(--color-secondary-400)}.dark .surface-toolbar__leading>span,.dark .surface-toolbar__summary>span{color:var(--color-secondary-300)}.eyebrow{color:var(--color-primary-600);font-size:.72rem;font-weight:var(--weight-bold);letter-spacing:.045em;text-transform:uppercase;margin:0 0 .35rem}.dark .eyebrow{color:var(--color-primary-100)}.stack{gap:1.25rem;display:grid}.content-section{align-content:start;gap:.85rem;min-width:0;display:grid}.metrics-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;display:grid}.metrics-grid--three{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-grid,.operation-grid,.settings-grid{grid-template-columns:minmax(0,1.35fr) minmax(20rem,.65fr);align-items:start;gap:1.25rem;display:grid}.settings-grid .card{align-content:start;gap:.7rem;display:grid}.card{border:1px solid var(--color-secondary-200);box-shadow:none;background:#fff;border-radius:8px;padding:1rem}.card--elevated{box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f}.card--outlined{box-shadow:none;background:0 0}.dark .card,.dark .page-container--card .page-content{border-color:var(--color-secondary-700);background:var(--color-secondary-800)}.metric-card{align-content:space-between;gap:.75rem;min-height:7.25rem;padding:1rem;display:grid}.metric-card__header{justify-content:space-between;align-items:flex-start;gap:.75rem;width:100%;display:flex}.metric-card p,.metric-card small{color:var(--color-secondary-500);margin:0;font-size:.75rem;font-weight:600;line-height:1.35}.metric-card p{text-transform:uppercase;letter-spacing:.025em}.metric-card small{max-width:18rem;display:block}.metric-card strong{color:var(--color-secondary-900);white-space:nowrap;letter-spacing:0;margin:0;font-size:1.45rem;font-weight:700;line-height:1.08;display:block}.dark .metric-card strong{color:#fff}.metric-card__icon{background:var(--color-primary-50);width:2.25rem;height:2.25rem;color:var(--color-primary-600);border-radius:8px;place-items:center;display:grid}.trend--up{color:var(--color-success-600)!important}.trend--down{color:var(--color-error-600)!important}.surface-toolbar{justify-content:space-between;align-items:center;gap:1rem;min-width:0;padding:1rem 1.25rem}.surface-toolbar__leading,.surface-toolbar__trailing{flex-wrap:wrap;min-width:0}.surface-toolbar__leading{flex:18rem}.surface-toolbar__summary{flex:none}.surface-toolbar__trailing{flex:0 auto;justify-content:flex-end}.surface-toolbar__summary{color:var(--color-secondary-500);font-size:.88rem;font-weight:700;line-height:1.45}.surface-toolbar__leading>span,.surface-toolbar__summary>span{color:var(--color-secondary-700);font-size:.88rem;line-height:1.45}.toolbar-fields{flex-wrap:wrap;gap:.85rem;display:flex}.toolbar-search{gap:.4rem;width:min(100%,19rem);min-width:min(100%,15rem);display:grid}.toolbar-search span{color:var(--color-secondary-500);font-size:.75rem;font-weight:var(--weight-bold);text-transform:uppercase}.toolbar-search input,.toolbar-search select{border:1px solid var(--color-secondary-200);background:var(--color-secondary-50);min-height:2.6rem;color:var(--color-secondary-900);border-radius:8px;padding:0 .8rem}.content-section__header{justify-content:space-between;align-items:flex-start}.content-section h2,.section-title h2,.settings-grid h2,.empty-state h2{color:var(--color-secondary-900);margin:0;font-size:1.05rem;line-height:1.2}.dark .content-section h2,.dark .section-title h2,.dark .settings-grid h2,.dark .empty-state h2{color:#fff}.content-section p,.section-title p,.settings-grid p,.empty-state p{margin:.25rem 0 0;font-size:.88rem;line-height:1.45}.stock-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:1.25rem;display:grid}.warehouse-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:.9rem;display:grid}.warehouse-summary-card{align-content:start;gap:.25rem;display:grid}.warehouse-summary-card strong,.warehouse-map-header h3{color:var(--color-secondary-900);font-size:.95rem;line-height:1.25}.warehouse-summary-card span,.warehouse-summary-card small,.warehouse-map-header p{color:var(--color-secondary-500);font-size:.82rem;line-height:1.4}.warehouse-map-card{gap:.85rem;display:grid}.warehouse-map-header{gap:.25rem;display:grid}.warehouse-map-header h3,.warehouse-map-header p{margin:0}.warehouse-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:.65rem;display:grid}.warehouse-slot{border:1px solid var(--color-secondary-200);background:var(--color-secondary-50);border-radius:8px;gap:.2rem;min-height:4rem;padding:.65rem;display:grid}.warehouse-slot strong{color:var(--color-secondary-900);font-size:.8rem}.warehouse-slot small{color:var(--color-secondary-500);line-height:1.35}.warehouse-slot--occupied{border-color:var(--color-primary-500);background:var(--color-primary-50)}.button{min-height:2.6rem;font-size:.88rem;font-weight:var(--weight-semibold);border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:.5rem;padding:0 1rem;transition:background .16s,border-color .16s,color .16s,opacity .16s;display:inline-flex}.button:disabled{cursor:not-allowed;opacity:.52}.button--primary{border-color:var(--color-primary-600);background:var(--color-primary-600);color:#fff}.button--primary:hover{background:var(--color-primary-700)}.button--secondary{border-color:var(--color-secondary-200);background:var(--color-secondary-100);color:var(--color-secondary-900)}.button--ghost{color:var(--color-secondary-600);background:0 0;border-color:#0000}.button--danger{border-color:var(--color-error-600);background:var(--color-error-600);color:#fff}.dark .button--secondary{border-color:var(--color-secondary-700);background:var(--color-secondary-900);color:var(--color-secondary-100)}.dark .button--ghost{color:var(--color-secondary-300)}.spinner{border:2px solid;border-right-color:#0000;border-radius:999px;width:1rem;height:1rem;animation:.7s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.badge{width:max-content;max-width:100%;min-height:1.75rem;font-size:.72rem;font-weight:var(--weight-bold);text-transform:uppercase;border-radius:8px;justify-self:start;align-items:center;padding:0 .6rem;display:inline-flex}.badge--primary{background:var(--color-primary-50);color:var(--color-primary-700)}.badge--success{background:var(--color-success-50);color:var(--color-success-600)}.badge--warning{background:var(--color-warning-50);color:var(--color-warning-600)}.badge--danger{background:var(--color-error-50);color:var(--color-error-600)}.badge--neutral{background:var(--color-secondary-100);color:var(--color-secondary-600)}.dark .badge--neutral{background:var(--color-secondary-700);color:var(--color-secondary-200)}.field{gap:.45rem;min-width:0;display:grid}.field span{color:var(--color-secondary-500);font-size:.78rem;font-weight:var(--weight-bold);text-transform:uppercase}.field input,.field select{border:1px solid var(--color-secondary-200);background:var(--color-secondary-50);width:100%;min-height:2.75rem;color:var(--color-secondary-900);border-radius:8px;padding:0 .8rem}.field small{color:var(--color-secondary-500);font-size:.78rem}.dark .field input,.dark .field select,.dark .toolbar-search input,.dark .toolbar-search select,.dark .warehouse-slot{border-color:var(--color-secondary-700);background:var(--color-secondary-900);color:#fff}.dark .toolbar-search span,.dark .warehouse-slot small,.dark .warehouse-summary-card span,.dark .warehouse-summary-card small,.dark .warehouse-map-header p{color:var(--color-secondary-400)}.dark .warehouse-summary-card strong,.dark .warehouse-map-header h3,.dark .warehouse-slot strong{color:#fff}.dark .warehouse-slot--occupied{border-color:var(--color-primary-500);background:#00777a29}.field input:focus,.field select:focus,.button:focus-visible,.nav-item:focus-visible,.sidebar-toggle:focus-visible,.tenant-switcher:focus-visible,.topbar__icon-button:focus-visible,.user-menu__trigger:focus-visible,.user-menu__item:focus-visible,.user-menu__theme-option:focus-visible,.settings-tab:focus-visible,.profile-tab:focus-visible,.language-option:focus-visible,.profile-choice:focus-visible{outline-offset:2px;outline:3px solid #017a7f47}.form-grid,.child-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.child-row{border-bottom:1px solid var(--color-secondary-200);grid-template-columns:minmax(0,1fr) 10rem minmax(0,.8fr) auto;align-items:end;padding-bottom:1rem}.child-row:last-child{border-bottom:0;padding-bottom:0}.dark .child-row{border-color:var(--color-secondary-700)}.result-card{border-left:4px solid var(--color-warning-600);gap:1rem;display:grid}.result-card--valid{border-left-color:var(--color-success-600)}.result-card--invalid{border-left-color:var(--color-error-600)}.balance-list{gap:.65rem;margin:0;display:grid}.balance-list div{border-bottom:1px solid var(--color-secondary-200);justify-content:space-between;align-items:center;gap:1rem;min-height:2.5rem;display:flex}.dark .balance-list div{border-color:var(--color-secondary-700)}.balance-list dt{color:var(--color-secondary-500);font-weight:var(--weight-bold)}.balance-list dd{font-weight:var(--weight-bold);margin:0}.table-card{padding:0;overflow-x:auto}table{border-collapse:collapse;width:100%;min-width:46rem}th,td{border-bottom:1px solid var(--color-secondary-200);text-align:left;padding:1rem;font-size:.88rem}th{color:var(--color-secondary-500);font-size:.72rem;font-weight:var(--weight-bold);text-transform:uppercase}td{color:var(--color-secondary-700);font-weight:var(--weight-semibold)}.dark th,.dark td{border-color:var(--color-secondary-700)}.dark td{color:var(--color-secondary-200)}.list-card{gap:.85rem;display:grid}.list-row{border-bottom:1px solid var(--color-secondary-200);justify-content:space-between;align-items:center;gap:1rem;min-height:3.5rem;display:flex}.list-row:last-child{border-bottom:0}.list-row div{gap:.15rem;display:grid}.list-row span{color:var(--color-secondary-500);font-size:.85rem}.dark .list-row{border-color:var(--color-secondary-700)}.throughput-card,.checklist-card{gap:1rem;display:grid}.throughput-row{gap:.5rem;display:grid}.throughput-row div:first-child{color:var(--color-secondary-700);justify-content:space-between;gap:1rem;font-size:.875rem;font-weight:600;display:flex}.throughput-row strong{color:var(--color-secondary-500);font-size:.875rem}.progress-track{background:var(--color-secondary-100);border-radius:999px;height:.5rem;overflow:hidden}.progress-bar{background:var(--color-primary-600);border-radius:999px;height:100%}.checklist-row{border-bottom:1px solid var(--color-secondary-100);color:var(--color-secondary-700);align-items:center;gap:.75rem;padding:.75rem 0;font-size:.9rem;font-weight:600;display:flex}.checklist-row:last-child{border-bottom:0}.checklist-row svg{color:var(--color-primary-600);flex:none}.login-page{background:var(--color-secondary-50);place-items:center;min-height:100vh;padding:1.5rem;display:grid}.login-shell{gap:1.5rem;width:min(100%,28rem);display:grid}.login-brand{text-align:center;justify-items:center;gap:.75rem;display:grid}.login-brand__mark{width:4.5rem;height:4.5rem;font-size:2.4rem}.login-brand h1,.login-brand p{margin:0}.login-card{border-top:4px solid var(--color-primary-500);gap:1.5rem;display:grid}.state-banner{border:1px solid var(--color-secondary-200);color:var(--color-secondary-700);font-weight:var(--weight-bold);background:#fff;border-radius:8px;padding:.85rem}.state-banner--error{background:var(--color-error-50);color:var(--color-error-600);border-color:#fecaca}.form-card{gap:1rem;display:grid}.settings-shell{gap:1.4rem;display:grid}.settings-tabs{border-bottom:1px solid var(--ops-border);scrollbar-width:thin;gap:.35rem;display:flex;overflow-x:auto}.settings-tab{min-height:2.9rem;color:var(--ops-text-muted);font-size:.9rem;font-weight:var(--weight-semibold);background:0 0;border:0;border-bottom:2px solid #0000;flex:none;align-items:center;gap:.5rem;padding:0 .75rem;display:inline-flex}.settings-tab--active{border-bottom-color:var(--ops-accent);color:var(--ops-accent-text)}.settings-panel{gap:1.1rem;display:grid}.settings-panel__header{gap:.35rem;display:grid}.settings-panel__header h2,.settings-card-header h3,.settings-policy-card h3{color:var(--ops-heading);font-size:var(--type-section-title);font-weight:var(--weight-bold);margin:0;line-height:1.25}.settings-panel__header p,.settings-card-header p,.settings-policy-card p{color:var(--ops-text-muted);font-size:var(--type-muted);margin:0;line-height:1.5}.settings-card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;display:grid}.settings-card-grid--four{grid-template-columns:repeat(4,minmax(0,1fr))}.settings-summary-card,.settings-policy-card,.settings-form-card,.settings-row-list{align-content:start;gap:1rem;display:grid}.settings-summary-card{grid-template-columns:auto minmax(0,1fr);gap:.85rem}.settings-summary-card p,.settings-summary-card strong,.settings-summary-card span{margin:0}.settings-summary-card p{color:var(--ops-text-muted);font-size:var(--type-caption);font-weight:var(--weight-bold);letter-spacing:.04em;text-transform:uppercase;line-height:1.2}.settings-summary-card strong{color:var(--ops-heading);font-size:1rem;font-weight:var(--weight-bold);margin-top:.35rem;line-height:1.25;display:block}.settings-summary-card span{color:var(--ops-text-muted);margin-top:.25rem;font-size:.8rem;line-height:1.4;display:block}.settings-card-icon{background:var(--ops-accent-soft);width:2.25rem;height:2.25rem;color:var(--ops-accent);border-radius:8px;flex:none;place-items:center;display:grid}.settings-card-header{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.settings-policy-card .settings-card-header{align-items:center}.settings-policy-card .settings-card-header>svg{color:var(--ops-accent)}.settings-row-list{gap:0;padding-top:0;padding-bottom:0}.settings-row{border-bottom:1px solid var(--ops-border);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.9rem;padding:1rem 0;display:grid}.settings-row:first-child{padding-top:1rem}.settings-row:last-child{border-bottom:0}.settings-row__content{gap:.25rem;min-width:0;display:grid}.settings-row__content strong{color:var(--ops-heading);font-size:var(--type-card-title);line-height:1.35}.settings-row__content span{color:var(--ops-text-muted);font-size:var(--type-muted);line-height:1.45}.profile-page{min-height:calc(100vh - 5rem);display:grid}.master-data-grid{grid-template-columns:minmax(16rem,18rem) minmax(0,1fr);align-items:start;gap:1.5rem;display:grid}.master-data-sidebar{gap:1rem;padding:1rem;display:grid}.master-data-tabs,.master-data-records,.master-data-notes{gap:.75rem;display:grid}.master-data-tab,.master-data-record{border:1px solid var(--color-secondary-200);background:var(--color-secondary-50);width:100%;color:var(--color-secondary-700);text-align:left;border-radius:8px;padding:.85rem .9rem}.master-data-tab{font-weight:var(--weight-semibold)}.master-data-tab--active,.master-data-record--active{border-color:var(--color-primary-500);background:var(--color-primary-50);color:var(--color-secondary-900)}.master-data-record{gap:.2rem;display:grid}.master-data-record strong{font-size:.92rem}.master-data-record small{color:var(--color-secondary-500);line-height:1.4}.master-data-record__status{color:var(--color-primary-600);font-size:.74rem;font-weight:var(--weight-bold);text-transform:uppercase}.master-data-notes{color:var(--color-secondary-600);margin:0;padding-left:1.15rem}.master-data-notes li{line-height:1.5}.profile-shell{border:1px solid var(--color-secondary-200);box-shadow:var(--shadow-surface);background:#fff;border-radius:8px;align-content:start;gap:1.25rem;padding:1rem;display:grid}.profile-heading{gap:.55rem;display:grid}.profile-heading h2,.profile-panel__title h3{color:var(--color-secondary-900);margin:0;line-height:1.15}.profile-heading h2{font-size:var(--type-page-title);font-weight:var(--weight-bold);letter-spacing:0}.profile-heading p,.profile-panel__title p,.profile-note,.profile-choice small{color:var(--color-secondary-500);margin:0;line-height:1.5}.profile-tabs{border-bottom:1px solid var(--color-secondary-200);gap:.75rem;display:flex;overflow-x:auto}.profile-tab{min-height:2.75rem;color:var(--color-secondary-500);background:0 0;border:0;border-bottom:2px solid #0000;flex:none;align-items:center;gap:.5rem;padding:0 .1rem;font-size:.86rem;font-weight:600;display:inline-flex}.profile-tab--active{border-bottom-color:var(--color-primary-600);color:var(--color-primary-700)}.profile-panel{border:1px solid var(--color-secondary-200);background:#fff;border-radius:8px;overflow:hidden}.profile-panel__content{gap:1.1rem;padding:1rem;display:grid}.profile-panel__title{gap:.6rem;display:grid}.profile-panel__title h3{font-size:1.05rem;font-weight:var(--weight-bold)}.language-list,.profile-row-list{gap:.8rem;display:grid}.language-option,.profile-choice{border:1px solid var(--color-secondary-200);width:100%;min-height:4.15rem;color:var(--color-secondary-900);text-align:left;background:#fff;border-radius:8px;align-items:center;gap:.85rem;padding:.9rem 1rem;font-size:.9rem;font-weight:600;transition:background .16s,border-color .16s,color .16s;display:flex}.language-option:hover,.profile-choice:hover{border-color:var(--color-secondary-300);background:var(--color-secondary-50)}.language-option--active,.profile-choice--active{border-color:var(--color-primary-600);color:var(--color-secondary-900);box-shadow:inset 0 0 0 1px var(--color-primary-600);background:#fbfefe}.language-option__code{background:var(--color-secondary-100);width:2.5rem;height:2.5rem;color:var(--color-secondary-900);font-size:.78rem;font-weight:var(--weight-bold);border-radius:999px;flex:none;place-items:center;display:grid}.language-option--active .language-option__code{background:0 0}.language-option__check{background:var(--color-primary-600);color:#fff;border-radius:999px;place-items:center;width:1.5rem;height:1.5rem;margin-left:auto;display:grid}.profile-note{border-top:1px solid var(--color-secondary-200);align-items:center;gap:.55rem;padding-top:1.25rem;font-size:.86rem;display:inline-flex}.profile-note svg{color:#f5b431;flex:none}.profile-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.profile-panel__actions{justify-content:flex-end;display:flex}.profile-choice{justify-content:space-between}.profile-choice span:first-child{gap:.3rem;min-width:0;display:grid}.profile-choice strong{color:var(--color-secondary-900);font-size:.95rem}.profile-choice__status{background:var(--color-secondary-100);color:var(--color-secondary-700);font-size:.75rem;font-weight:var(--weight-bold);border-radius:8px;flex:none;padding:.4rem .65rem}.profile-choice--active .profile-choice__status{background:var(--color-primary-600);color:#fff}.dark .profile-shell,.dark .profile-panel,.dark .language-option,.dark .profile-choice{border-color:var(--color-secondary-700);background:var(--color-secondary-800)}.dark .profile-heading h2,.dark .profile-panel__title h3,.dark .language-option,.dark .profile-choice strong{color:#fff}.dark .profile-heading p,.dark .profile-panel__title p,.dark .profile-note,.dark .profile-choice small{color:var(--color-secondary-400)}.dark .profile-tabs,.dark .profile-note{border-color:var(--color-secondary-700)}.dark .master-data-tab,.dark .master-data-record{border-color:var(--color-secondary-700);background:var(--color-secondary-900);color:var(--color-secondary-200)}.dark .master-data-tab--active,.dark .master-data-record--active{border-color:var(--color-primary-500);color:#fff;background:#00777a29}.dark .master-data-record small,.dark .master-data-notes{color:var(--color-secondary-400)}.dark .profile-tab{color:var(--color-secondary-300)}.dark .profile-tab--active{color:var(--color-primary-100)}.crm-grid,.transformation-grid,.procurement-grid,.reporting-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem;display:grid}.crm-list{gap:.85rem;margin-top:0;display:grid}.crm-card{align-content:start;gap:.5rem;display:grid}.crm-card__header{justify-content:space-between;align-items:center;gap:1rem;display:flex}.crm-card p,.crm-card small{margin:0;line-height:1.45}.crm-card p{color:var(--color-secondary-700);font-size:.9rem;font-weight:var(--weight-semibold)}.crm-card small{color:var(--color-secondary-600);font-size:.82rem}.card-actions{flex-wrap:wrap;gap:.75rem;display:flex}.dark .crm-card{border-color:var(--color-secondary-700);background:var(--color-secondary-900)}.dark .crm-card small{color:var(--color-secondary-400)}.trace-list{gap:.85rem;margin-top:0;display:grid}.trace-card{gap:.75rem;display:grid}.trace-card__header{justify-content:space-between;align-items:center;gap:1rem;display:flex}.trace-card p,.trace-card small{margin:0;line-height:1.45}.trace-card p{color:var(--color-secondary-700);font-size:.9rem;font-weight:var(--weight-semibold)}.trace-card small{color:var(--color-secondary-600);font-size:.82rem}.trace-list__children{gap:.85rem;display:grid}.trace-child{border:1px solid var(--color-secondary-200);background:var(--color-secondary-50);border-radius:8px;gap:.3rem;padding:.85rem;display:grid}.trace-child span,.trace-child small{color:var(--color-secondary-700)}.dark .trace-card{border-color:var(--color-secondary-700);background:var(--color-secondary-900)}.dark .trace-card small{color:var(--color-secondary-400)}.dark .trace-child{border-color:var(--color-secondary-700);background:#0f172a8f}.dark .trace-child span,.dark .trace-child small{color:var(--color-secondary-300)}.dark .language-option--active,.dark .profile-choice--active{background:var(--color-secondary-900);color:#fff}.dark .language-option__code,.dark .profile-choice__status{background:var(--color-secondary-700);color:var(--color-secondary-100)}.mobile-drawer{z-index:60;display:none;position:fixed;inset:0}.mobile-drawer__backdrop{background:#0f172a94;border:0;position:absolute;inset:0}.mobile-drawer__panel{width:min(18rem,100vw - 3rem);height:100%;position:relative}.dashboard-page{gap:1.25rem;display:grid}.dashboard-page .content-section{gap:.8rem}.dashboard-page .content-section__header{align-items:flex-start}.dashboard-page .content-section h2{margin:0;font-size:1.05rem;line-height:1.2}.dashboard-page .content-section p{margin-top:.25rem;font-size:.88rem;line-height:1.45}.dashboard-overview{grid-template-columns:minmax(17rem,.78fr) minmax(0,2.22fr);align-items:stretch;gap:1rem;display:grid}.dashboard-context-card{align-content:space-between;gap:.95rem;padding:1rem 1.1rem;display:grid}.dashboard-context-card__header{justify-content:space-between;align-items:flex-start;gap:.75rem;display:flex}.dashboard-context-card__header h3{color:var(--color-secondary-900);margin:.2rem 0 0;font-size:1.08rem;line-height:1.2}.dashboard-context-card__facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem;margin:0;display:grid}.dashboard-context-card__facts div{border-left:2px solid var(--color-primary-100);min-width:0;padding-left:.65rem}.dashboard-context-card__facts dt,.dashboard-context-card__facts dd{margin:0}.dashboard-context-card__facts dt{color:var(--color-secondary-500);font-size:.68rem;font-weight:var(--weight-bold);text-transform:uppercase;line-height:1.2}.dashboard-context-card__facts dd{color:var(--color-secondary-900);font-size:.98rem;font-weight:var(--weight-bold);margin-top:.15rem;line-height:1.2}.dark .dashboard-context-card__header h3,.dark .dashboard-context-card__facts dd{color:#fff}.dark .dashboard-context-card__facts div{border-left-color:var(--color-secondary-700)}.dashboard-overview__metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;display:grid}.dashboard-overview__metrics .metric-card{gap:.7rem;min-height:7.25rem;padding:1rem 1.1rem}.dashboard-overview__metrics .metric-card p,.dashboard-overview__metrics .metric-card small{font-size:.72rem}.dashboard-overview__metrics .metric-card strong{font-size:1.4rem}.dashboard-workspace{grid-template-columns:minmax(0,1.45fr) minmax(19rem,.8fr);align-items:start;gap:1.5rem;display:grid}.dashboard-workspace__section{min-width:0}.dashboard-workspace__section--recent{grid-area:1/1}.dashboard-workspace__section--rolls{grid-area:1/2}.dashboard-workspace__section--throughput{grid-area:2/1}.dashboard-workspace__section--actions{grid-area:2/2}.overview-hero,.workspace-hero{grid-template-columns:minmax(17rem,.78fr) minmax(0,2.22fr);align-items:stretch;gap:1rem;display:grid}.overview-hero__intro,.workspace-hero__primary{align-content:space-between;gap:.65rem;padding:1rem 1.1rem;display:grid}.overview-hero__intro h3,.workspace-hero__primary h3{color:var(--color-secondary-900);margin:0;font-size:1.1rem;line-height:1.2}.overview-hero__intro p,.workspace-hero__primary p{color:var(--color-secondary-500);margin:0;font-size:.88rem;line-height:1.45}.overview-hero__badges{flex-wrap:wrap;gap:.65rem;display:flex}.overview-hero__metrics,.workspace-hero__stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.workspace-grid{grid-template-columns:minmax(15rem,17rem) minmax(0,1fr);align-items:start;gap:1.25rem;display:grid}.workspace-sidebar{gap:1rem;padding:1rem;display:grid;position:sticky;top:5rem}.form-card--airy{padding:1rem}.form-cluster{border-top:1px solid var(--color-secondary-100);gap:1rem;padding-top:1rem;display:grid}.compact-stat{align-items:center;gap:.85rem;min-height:5rem;padding:1rem;display:flex}.compact-stat strong{color:var(--color-secondary-900);font-size:1.2rem;display:block}.compact-stat span{color:var(--color-secondary-500);font-size:.82rem}.compact-stat__icon{background:var(--color-primary-50);width:2.5rem;height:2.5rem;color:var(--color-primary-700);border-radius:8px;place-items:center;display:grid}.insight-strip{grid-template-columns:repeat(3,minmax(0,1fr));gap:.85rem;padding:1rem;display:grid}.insight-strip__item{color:var(--color-secondary-700);align-items:flex-start;gap:.65rem;font-size:.88rem;line-height:1.5;display:flex}.insight-strip__item svg{color:var(--color-primary-600);flex:none;margin-top:.1rem}.dashboard-grid--airy{align-items:start}.dashboard-grid--balanced{grid-template-columns:minmax(0,1.45fr) minmax(19rem,.8fr);align-items:start}.list-card--tight{gap:.45rem}.list-row--stacked{align-items:flex-start}.list-row--compact{min-height:0;padding-bottom:.75rem}.list-row__meta{justify-items:end;gap:.35rem;display:grid}.crm-grid--focused{grid-template-columns:minmax(0,1.25fr) minmax(18rem,.75fr);align-items:start}.selection-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem;display:grid}.selection-card{border:1px solid var(--color-secondary-200);width:100%;color:var(--color-secondary-700);text-align:left;background:#fff;border-radius:8px;gap:.35rem;padding:1rem;display:grid}.selection-card:hover{border-color:var(--color-secondary-300);background:var(--color-secondary-50)}.selection-card--active{border-color:var(--color-primary-500);background:var(--color-primary-50)}.selection-card__header{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.selection-card strong{color:var(--color-secondary-900)}.selection-card span,.selection-card small{color:var(--color-secondary-500)}.crm-card--compact{gap:.45rem;padding:.95rem 1rem}.app-shell{--ops-bg:#f4f6f9;--ops-sidebar:#fff;--ops-brand:#fff;--ops-canvas:#fff;--ops-surface:#fff;--ops-surface-strong:#f8fafc;--ops-surface-soft:#f1f5f9;--ops-border:#d7dee8;--ops-border-soft:#47546729;--ops-text:#101828;--ops-heading:#101828;--ops-text-muted:#667085;--ops-text-soft:#344054;--ops-accent:#00777a;--ops-accent-strong:#005f61;--ops-accent-soft:#00777a1f;--ops-accent-text:#005f61;--ops-accent-border:#00777a57;--ops-accent-ring:#00777a29;--ops-blue:#2563eb;--ops-hover-bg:#00777a14;--ops-active-bg:#00777a24;--ops-active-text:#004c4e;--ops-chip-bg:#edf2f7;--ops-chip-text:#101828;--ops-user-bg:#256b6e;--ops-user-text:#fff;--ops-control-bg:#f8fafc;--ops-placeholder:#667085b8;--ops-menu-shadow:0 18px 38px #10182829;--ops-button-primary-bg:#256b6e;--ops-button-primary-hover:#2f7f82;--ops-button-primary-border:#2c7a7b;--ops-button-primary-text:#fff;--ops-badge-primary-bg:#dbeafe;--ops-badge-primary-text:#1d4ed8;--ops-badge-success-bg:#dcfce7;--ops-badge-success-text:#15803d;--ops-badge-warning-bg:#fef3c7;--ops-badge-warning-text:#a16207;--ops-badge-danger-bg:#fee2e2;--ops-badge-danger-text:#b42318;--ops-state-bg:#ecfdf5;--ops-state-text:#166534;--ops-state-border:#bbf7d0;--ops-state-error-bg:#fef2f2;--ops-state-error-text:#b42318;--ops-state-error-border:#fecaca;font-family:var(--font-app);font-size:var(--type-body);font-weight:var(--weight-regular);background:var(--ops-bg);color:var(--ops-text);line-height:1.5}.dark .app-shell{--ops-bg:#111827;--ops-sidebar:#1d2939;--ops-brand:#1b2636;--ops-canvas:#1d2939;--ops-surface:#202b3d;--ops-surface-strong:#253247;--ops-surface-soft:#182233;--ops-border:#344054;--ops-border-soft:#94a3b838;--ops-text:#f8fafc;--ops-heading:#fff;--ops-text-muted:#aab4c5;--ops-text-soft:#d6deea;--ops-accent:#2dd4bf;--ops-accent-strong:#14b8a6;--ops-accent-soft:#14b8a629;--ops-accent-text:#99f6e4;--ops-accent-border:#2dd4bf6b;--ops-accent-ring:#2dd4bf42;--ops-blue:#60a5fa;--ops-hover-bg:#ffffff0f;--ops-active-bg:#2dd4bf3b;--ops-active-text:#fff;--ops-chip-bg:#ffffff14;--ops-chip-text:#fff;--ops-user-bg:#255e62;--ops-user-text:#ecfeff;--ops-control-bg:#182233;--ops-placeholder:#d6deea8a;--ops-menu-shadow:0 18px 38px #00000057;--ops-button-primary-bg:#256b6e;--ops-button-primary-hover:#2f7f82;--ops-button-primary-border:#2c7a7b;--ops-button-primary-text:#fff;--ops-badge-primary-bg:#60a5fa29;--ops-badge-primary-text:#bfdbfe;--ops-badge-success-bg:#22c55e29;--ops-badge-success-text:#bbf7d0;--ops-badge-warning-bg:#f59e0b29;--ops-badge-warning-text:#fde68a;--ops-badge-danger-bg:#f8717129;--ops-badge-danger-text:#fecaca;--ops-state-bg:#2dd4bf1f;--ops-state-text:#ccfbf1;--ops-state-border:#2dd4bf61;--ops-state-error-bg:#f8717124;--ops-state-error-text:#fecaca;--ops-state-error-border:#f8717166}.app-shell .desktop-sidebar,.app-shell .sidebar-shell{border-color:var(--ops-border);background:var(--ops-sidebar);color:var(--ops-text-muted)}.app-shell .brand{border-color:var(--ops-border);background:var(--ops-brand);min-height:4rem}.app-shell .arachne-logo{color:var(--ops-text)}.app-shell .arachne-logo__tile{fill:var(--ops-accent-soft);stroke:var(--ops-accent-border)}.app-shell .arachne-logo__leg,.app-shell .arachne-logo__cross{stroke:var(--ops-accent)}.app-shell .arachne-logo__thread{fill:none;stroke:var(--ops-text)}.app-shell .arachne-logo__node{fill:var(--ops-text)}.app-shell .arachne-logo__node--secondary{fill:var(--ops-accent)}.app-shell .arachne-logo__text strong{color:var(--ops-heading);font-size:1.05rem;font-weight:var(--weight-bold);line-height:1.1}.app-shell .arachne-logo__text small,.app-shell .nav-section__label{color:var(--ops-text-muted)}.app-shell .sidebar-toggle{border-color:var(--ops-accent-border);background:var(--ops-accent-soft);color:var(--ops-accent)}.app-shell .nav-list{gap:1.25rem;padding:.9rem .75rem 1.1rem}.app-shell .nav-section__label{font-size:var(--type-caption);font-weight:var(--weight-bold);letter-spacing:.045em;padding:0 .25rem}.app-shell .nav-section__items{gap:.25rem}.app-shell .nav-item{min-height:2.5rem;color:var(--ops-text-soft);font-size:.95rem;font-weight:var(--weight-medium);border-radius:8px;padding:0 .9rem;line-height:1.35}.app-shell .nav-item:hover{background:var(--ops-hover-bg);color:var(--ops-heading)}.app-shell .nav-item--active{background:var(--ops-active-bg);color:var(--ops-active-text);font-weight:var(--weight-semibold)}.app-shell .topbar{border-color:var(--ops-border);background:var(--ops-sidebar);color:var(--ops-text)}.app-shell .topbar__tenant{color:var(--ops-text-muted);font-size:var(--type-caption);font-weight:var(--weight-bold);letter-spacing:.045em;text-transform:uppercase;line-height:1.2}.app-shell .topbar__tenant-chip{background:var(--ops-chip-bg);color:var(--ops-chip-text);font-size:.85rem;font-weight:var(--weight-semibold);line-height:1.2}.app-shell .topbar__role-chip{background:var(--ops-accent-soft);color:var(--ops-accent-text);font-size:.85rem;font-weight:var(--weight-semibold);line-height:1.2}.app-shell .topbar__icon-button{color:var(--ops-text-soft)}.app-shell .topbar__icon-button:hover{background:var(--ops-hover-bg);color:var(--ops-heading)}.app-shell .user-menu__trigger{border-color:var(--ops-accent-border);background:var(--ops-user-bg);color:var(--ops-user-text)}.app-shell .user-menu__panel{border-color:var(--ops-border);background:var(--ops-surface);color:var(--ops-text);box-shadow:var(--ops-menu-shadow)}.app-shell .user-menu__summary,.app-shell .user-menu__theme{border-color:var(--ops-border)}.app-shell .user-menu__identity strong,.app-shell .user-menu__item,.app-shell .user-menu__theme-option{color:var(--ops-text);font-size:.9rem;font-weight:var(--weight-medium);line-height:1.35}.app-shell .user-menu__identity span,.app-shell .user-menu__theme p{color:var(--ops-text-muted);font-size:var(--type-caption);font-weight:var(--weight-medium);line-height:1.35}.app-shell .user-menu__item:hover,.app-shell .user-menu__theme-option:hover,.app-shell .user-menu__theme-option--active{background:var(--ops-hover-bg)}.app-shell .app-main{background:var(--ops-bg);color:var(--ops-text);padding:1rem}.app-shell .page-container{border:1px solid var(--ops-border);background:var(--ops-canvas);border-radius:8px;align-content:start;gap:1.6rem;min-height:calc(100vh - 6rem);padding:1.35rem 1.5rem}.app-shell .page-header{box-shadow:none;background:0 0;border:0;flex-direction:row;align-items:flex-start;gap:1rem;padding:0}.app-shell .page-header>div:first-child{min-width:0}.app-shell .page-header__actions{flex:none;justify-content:flex-end;margin-left:auto}.app-shell .card,.app-shell .profile-shell,.app-shell .profile-panel,.app-shell .language-option,.app-shell .profile-choice,.app-shell .selection-card,.app-shell .master-data-tab,.app-shell .master-data-record{border-color:var(--ops-border);background:var(--ops-surface);color:var(--ops-text)}.app-shell .surface-toolbar,.app-shell .metric-card,.app-shell .table-card{box-shadow:none}.app-shell .page-header h2,.app-shell .content-section h2,.app-shell .section-title h2,.app-shell .settings-grid h2,.app-shell .empty-state h2,.app-shell .dashboard-context-card__header h3,.app-shell .overview-hero__intro h3,.app-shell .workspace-hero__primary h3,.app-shell .metric-card strong,.app-shell .compact-stat strong,.app-shell .warehouse-summary-card strong,.app-shell .warehouse-map-header h3,.app-shell .warehouse-slot strong,.app-shell .selection-card strong,.app-shell .crm-card__header strong,.app-shell .trace-card__header strong,.app-shell .profile-panel__title h3,.app-shell .profile-choice strong,.app-shell .master-data-record strong,.app-shell .balance-list dd{color:var(--ops-heading)}.app-shell .page-header h2{font-size:var(--type-page-title);font-weight:var(--weight-bold);line-height:1.2}.app-shell .content-section h2,.app-shell .section-title h2,.app-shell .settings-grid h2,.app-shell .empty-state h2,.app-shell .dashboard-context-card__header h3,.app-shell .overview-hero__intro h3,.app-shell .workspace-hero__primary h3,.app-shell .warehouse-map-header h3,.app-shell .profile-panel__title h3{font-size:var(--type-section-title);font-weight:var(--weight-bold);line-height:1.25}.app-shell .crm-card__header strong,.app-shell .trace-card__header strong,.app-shell .warehouse-summary-card strong,.app-shell .warehouse-slot strong,.app-shell .selection-card strong,.app-shell .profile-choice strong,.app-shell .master-data-record strong{font-size:var(--type-card-title);font-weight:var(--weight-bold);line-height:1.35}.app-shell .page-header p,.app-shell .content-section p,.app-shell .section-title p,.app-shell .result-card p,.app-shell .settings-grid p,.app-shell .empty-state p,.app-shell .overview-hero__intro p,.app-shell .workspace-hero__primary p,.app-shell .metric-card p,.app-shell .metric-card small,.app-shell .compact-stat span,.app-shell .surface-toolbar__leading>span,.app-shell .surface-toolbar__summary,.app-shell .surface-toolbar__summary>span,.app-shell .warehouse-summary-card span,.app-shell .warehouse-summary-card small,.app-shell .warehouse-map-header p,.app-shell .warehouse-slot small,.app-shell .dashboard-context-card__facts dt,.app-shell .selection-card span,.app-shell .selection-card small,.app-shell .crm-card small,.app-shell .trace-card small,.app-shell .profile-panel__title p,.app-shell .profile-note,.app-shell .profile-choice small,.app-shell .master-data-record small,.app-shell .master-data-notes,.app-shell .list-row span,.app-shell .throughput-row strong,.app-shell .balance-list dt{color:var(--ops-text-muted)}.app-shell .page-header p{font-size:1rem;font-weight:var(--weight-regular);line-height:1.5}.app-shell .content-section p,.app-shell .section-title p,.app-shell .result-card p,.app-shell .settings-grid p,.app-shell .empty-state p,.app-shell .overview-hero__intro p,.app-shell .workspace-hero__primary p{font-size:var(--type-muted);font-weight:var(--weight-regular);line-height:1.5}.app-shell .crm-card p,.app-shell .trace-card p,.app-shell .throughput-row div:first-child,.app-shell .checklist-row,.app-shell td,.app-shell .trace-child span,.app-shell .trace-child small,.app-shell .insight-strip__item{color:var(--ops-text-soft)}.app-shell .metric-card{border-color:var(--ops-border);background:linear-gradient(180deg, var(--ops-surface-strong), var(--ops-surface))}.app-shell .metric-card p{font-size:.875rem;font-weight:var(--weight-semibold);letter-spacing:0;text-transform:none;line-height:1.35}.app-shell .metric-card small{font-size:.8125rem;font-weight:var(--weight-regular);line-height:1.35}.app-shell .metric-card strong,.app-shell .compact-stat strong{font-size:var(--type-kpi);font-weight:var(--weight-bold);line-height:1.15}.app-shell .metric-card__icon,.app-shell .compact-stat__icon{background:var(--ops-accent-soft);color:var(--ops-accent)}.app-shell .eyebrow,.app-shell .master-data-record__status{color:var(--ops-accent-text);font-size:.72rem;font-weight:var(--weight-bold);letter-spacing:.045em;line-height:1.2}.app-shell .surface-toolbar,.app-shell .form-card,.app-shell .children-editor,.app-shell .list-card,.app-shell .throughput-card,.app-shell .checklist-card{border-color:var(--ops-border);background:var(--ops-surface)}.app-shell .field span,.app-shell .toolbar-search span{color:var(--ops-text-muted);font-size:var(--type-caption);font-weight:var(--weight-bold);letter-spacing:.04em;line-height:1.2}.app-shell .field input,.app-shell .field select,.app-shell .toolbar-search input,.app-shell .toolbar-search select{border-color:var(--ops-border);background:var(--ops-control-bg);color:var(--ops-text);font-size:.9rem;font-weight:var(--weight-medium);line-height:1.35}.app-shell .field input::placeholder,.app-shell .toolbar-search input::placeholder{color:var(--ops-placeholder)}.app-shell .form-cluster,.app-shell .child-row,.app-shell .balance-list div,.app-shell .list-row,.app-shell .checklist-row,.app-shell th,.app-shell td,.app-shell .profile-tabs,.app-shell .profile-note{border-color:var(--ops-border)}.app-shell th{color:var(--ops-text-muted)}.app-shell table{background:0 0}.app-shell .table-card{background:var(--ops-surface)}.app-shell .warehouse-slot,.app-shell .trace-child{border-color:var(--ops-border);background:var(--ops-surface-soft)}.app-shell .warehouse-slot--occupied,.app-shell .selection-card--active,.app-shell .master-data-tab--active,.app-shell .master-data-record--active,.app-shell .language-option--active,.app-shell .profile-choice--active{border-color:var(--ops-accent-border);background:var(--ops-accent-soft);color:var(--ops-active-text);box-shadow:inset 0 0 0 1px var(--ops-accent-ring)}.app-shell .dashboard-context-card__facts dt{font-size:.72rem;font-weight:var(--weight-bold);letter-spacing:.04em;line-height:1.25}.app-shell .dashboard-context-card__facts dd{font-size:1rem;font-weight:var(--weight-bold);line-height:1.25}.app-shell .selection-card:hover,.app-shell .master-data-tab:hover,.app-shell .master-data-record:hover,.app-shell .language-option:hover,.app-shell .profile-choice:hover{border-color:var(--ops-accent-border);background:var(--ops-hover-bg)}.app-shell .profile-tab{color:var(--ops-text-muted)}.app-shell .profile-tab--active{border-bottom-color:var(--ops-accent);color:var(--ops-accent-text)}.app-shell .dashboard-context-card__facts div{border-left-color:var(--ops-accent-border)}.app-shell .dashboard-context-card__facts dd{color:var(--ops-heading)}.app-shell .progress-track{background:var(--ops-surface-soft)}.app-shell .progress-bar{background:linear-gradient(90deg, var(--ops-accent), var(--ops-blue))}.app-shell .button--primary{border-color:var(--ops-button-primary-border);background:var(--ops-button-primary-bg);color:var(--ops-button-primary-text);font-size:.9rem;font-weight:var(--weight-semibold);line-height:1.2}.app-shell .button--primary:hover{background:var(--ops-button-primary-hover)}.app-shell .button--secondary{border-color:var(--ops-border);background:var(--ops-surface-soft);color:var(--ops-text);font-size:.9rem;font-weight:var(--weight-semibold);line-height:1.2}.app-shell .button--ghost{color:var(--ops-text-soft);font-size:.9rem;font-weight:var(--weight-semibold);line-height:1.2}.app-shell .button--ghost:hover,.app-shell .button--secondary:hover{background:var(--ops-hover-bg)}.app-shell .badge--primary{background:var(--ops-badge-primary-bg);color:var(--ops-badge-primary-text)}.app-shell .badge{font-size:var(--type-caption);font-weight:var(--weight-bold);letter-spacing:0;line-height:1.2}.app-shell .badge--success{background:var(--ops-badge-success-bg);color:var(--ops-badge-success-text)}.app-shell .badge--warning{background:var(--ops-badge-warning-bg);color:var(--ops-badge-warning-text)}.app-shell .badge--danger{background:var(--ops-badge-danger-bg);color:var(--ops-badge-danger-text)}.app-shell .badge--neutral,.app-shell .profile-choice__status,.app-shell .language-option__code{background:var(--ops-surface-soft);color:var(--ops-text-soft)}.app-shell .state-banner{border-color:var(--ops-state-border);background:var(--ops-state-bg);color:var(--ops-state-text)}.app-shell .state-banner--error{border-color:var(--ops-state-error-border);background:var(--ops-state-error-bg);color:var(--ops-state-error-text)}@media (width<=1280px){.dashboard-overview{grid-template-columns:1fr}}@media (width<=1100px){.metrics-grid,.metrics-grid--three{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-hero,.workspace-hero,.dashboard-overview,.workspace-grid,.crm-grid--focused{grid-template-columns:1fr}.workspace-sidebar{position:static}.overview-hero__metrics,.dashboard-overview__metrics,.workspace-hero__stats,.insight-strip,.selection-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid,.dashboard-workspace,.operation-grid,.crm-grid,.procurement-grid,.reporting-grid,.transformation-grid,.settings-grid,.settings-card-grid,.settings-card-grid--four{grid-template-columns:1fr}.dashboard-workspace__section{grid-area:auto}.child-row{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width>=768px){.page-header{flex-direction:row;align-items:center}}@media (width<=900px){.desktop-sidebar{display:none}.topbar__menu{display:inline-flex}.app-frame,.app-frame--sidebar-open,.app-frame--sidebar-collapsed{padding-left:0}.mobile-drawer{display:block}}@media (width<=680px){.topbar{flex-direction:column;align-items:stretch;height:auto;padding:.75rem;position:static}.topbar__left,.topbar__right,.page-header,.page-header__actions,.surface-toolbar,.content-section__header,.content-section__actions{flex-direction:column;align-items:stretch}.topbar__left,.topbar__right{flex-direction:row;align-items:center}.tenant-switcher{border-left:0;flex:1;padding:0}.user-menu__panel{width:min(20rem,100vw - 1.5rem)}.surface-toolbar__leading,.surface-toolbar__summary,.surface-toolbar__trailing,.toolbar-fields,.toolbar-search{width:100%}.surface-toolbar__trailing{justify-content:stretch}.settings-tabs{margin-right:-1rem;padding-right:1rem}.settings-row{grid-template-columns:auto minmax(0,1fr)}.settings-row .badge{grid-column:2}.toolbar-search input,.toolbar-search select{width:100%}.app-main,.app-shell .app-main{padding:.75rem}.app-shell .page-container{gap:1.25rem;min-height:calc(100vh - 1.5rem);padding:1rem}.app-shell .page-header{flex-direction:column;align-items:stretch}.app-shell .page-header__actions{justify-content:stretch;width:100%;margin-left:0}.page-header h2{font-size:1.3rem}.login-brand h1{font-size:1.6rem}.metrics-grid,.metrics-grid--three,.master-data-grid,.stock-grid,.procurement-grid,.reporting-grid,.transformation-grid,.form-grid,.child-row,.profile-form-grid{grid-template-columns:1fr}.warehouse-summary-grid,.warehouse-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.metric-card strong{font-size:1.45rem}.topbar__context-row{flex-wrap:wrap}.topbar__tenant-chip,.topbar__role-chip{max-width:100%}.dashboard-overview,.overview-hero__metrics,.dashboard-overview__metrics,.workspace-hero__stats,.insight-strip,.selection-grid{grid-template-columns:1fr}.list-row__meta{flex-wrap:wrap;justify-content:space-between;place-items:center start;width:100%;display:flex}.list-row--stacked{flex-direction:column;gap:.65rem}.profile-shell,.profile-panel__content{padding:1rem}.profile-tabs{gap:1rem}.language-option,.profile-choice{align-items:flex-start}.profile-choice{flex-direction:column}}
