:root{--navy:#101923;--navy2:#182532;--ink:#202b36;--muted:#7e8994;--line:#e8ebee;--bg:#f5f7f9;--blue:#316ce8;--blue-light:#edf3ff;--green:#14946a;--shadow:0 18px 55px #17283c14}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:15px 'DM Sans',sans-serif}button,input,select{font:inherit}button{cursor:pointer}.hidden{display:none!important}.auth-shell{min-height:100vh;display:grid;grid-template-columns:1.05fr .95fr;background:#fff}.auth-art{background:radial-gradient(ellipse at 70% 57%,#253b4b 0,#152431 38%,#101923 75%);color:#fff;position:relative;overflow:hidden;padding:42px 8.2vw;display:flex;flex-direction:column}.brand-lockup{display:flex;gap:12px;align-items:center;font:800 21px Manrope,sans-serif;letter-spacing:-.7px;position:relative;z-index:2}.brand-mark{height:34px;width:34px;border-radius:10px;background:#286ae8;display:grid;place-items:center;font:800 20px Manrope;color:white;box-shadow:0 6px 20px #286ae855}.brand-accent{color:#6fa2ff}.auth-message{position:relative;z-index:2;margin:auto 0;max-width:480px;padding-bottom:30px}.eyebrow{font:700 11px 'DM Sans',sans-serif;letter-spacing:1.65px;color:#8fb7ff}.auth-message h1{font:700 clamp(43px,5vw,67px)/1.1 Manrope,sans-serif;letter-spacing:-3.4px;margin:25px 0 20px}.auth-message h1 em{color:#72a1fa;font-style:normal}.auth-message p{font-size:17px;line-height:1.8;max-width:410px;color:#a5b3c1}.auth-foot{color:#758695;font-size:10px;letter-spacing:1.25px;position:relative;z-index:2}.auth-foot span{color:#5590ff;margin:0 8px}.art-grid{position:absolute;right:-40px;bottom:15%;transform:rotate(-33deg);display:grid;grid-template-columns:repeat(3,100px);gap:12px;opacity:.13}.art-grid i{height:100px;border:1px solid #8cb8ff;border-radius:20px;background:linear-gradient(145deg,#3d78c22e,transparent)}.art-grid i:nth-child(2n){transform:translateY(25px)}.auth-panel{display:flex;align-items:center;justify-content:center;flex-direction:column;padding:40px}.auth-card{width:min(100%,390px)}.auth-card h2{font:700 27px Manrope,sans-serif;letter-spacing:-.8px;margin:13px 0 7px}.subtle{color:var(--muted);margin:0 0 31px}.form-stack{display:grid;gap:18px}.form-stack label,.form-grid label,.supplier-field label{display:grid;gap:8px;color:#53606b;font-weight:600;font-size:13px}.form-stack input,.form-grid input,.form-grid select,.supplier-field input{width:100%;height:44px;border:1px solid #dfe4e9;border-radius:7px;padding:0 12px;color:#263442;outline:none;background:#fff;transition:.15s}.form-stack input:focus,.form-grid input:focus,.form-grid select:focus,.supplier-field input:focus{border-color:#7aa1f5;box-shadow:0 0 0 3px #2d70e51a}.button{border:0;border-radius:7px;height:42px;padding:0 16px;font-weight:700;font-size:13px;display:inline-flex;align-items:center;justify-content:center;gap:10px;transition:transform .15s,background .15s}.button:hover{transform:translateY(-1px)}.button.primary{background:var(--blue);color:white;box-shadow:0 4px 12px #316ce833}.button.primary:hover{background:#225bd2}.button.secondary{background:#fff;border:1px solid #dfe4e9;color:#4f5b67}.button.full{width:100%;margin-top:8px;height:46px}.button.full span{margin-left:auto}.form-error{min-height:18px;color:#bd4141;font-size:13px}.text-button{border:0;background:none;color:#3471df;font-size:13px;font-weight:700;padding:3px 0}.auth-note{position:absolute;bottom:33px;color:#9aa3ad;font-size:12px}.mobile-brand{display:none}.app-shell{min-height:100vh}.sidebar{width:238px;position:fixed;inset:0 auto 0 0;background:var(--navy);color:#fff;padding:25px 18px;display:flex;flex-direction:column;z-index:5}.sidebar .brand-lockup{font-size:19px;padding:3px 3px 41px}.sidebar .brand-mark{width:31px;height:31px}.workspace-label{font-size:10px;letter-spacing:1.4px;color:#6e7f8d;font-weight:700;padding:0 12px 12px}.nav-item{color:#e0e7ee;background:#22303d;border:0;border-radius:6px;text-align:left;padding:12px;font-weight:600;font-size:13px}.nav-icon{font-size:17px;margin-right:9px;color:#8fb7ff}.sidebar-bottom{margin-top:auto}.secure-pill{display:flex;gap:10px;padding:13px 9px;border-top:1px solid #ffffff14;border-bottom:1px solid #ffffff14;align-items:flex-start}.secure-dot{width:7px;height:7px;background:#47d3a1;border-radius:50%;margin-top:4px;box-shadow:0 0 8px #47d3a188}.secure-pill b,.secure-pill small{display:block}.secure-pill b{font-size:11px;color:#dce5ee}.secure-pill small{font-size:10px;color:#8493a0;margin-top:4px}.logout-btn{background:none;border:0;color:#9ba8b4;padding:15px 9px 3px;font-size:12px;font-weight:600}.logout-btn span{font-size:18px;vertical-align:-1px;margin-right:7px}.main-content{margin-left:238px;max-width:calc(100vw - 238px);padding:0 44px 22px}.topbar{height:67px;border-bottom:1px solid #e8ebee;display:flex;align-items:center;justify-content:space-between}.breadcrumbs{color:#929ca6;font-size:12px}.breadcrumbs span{margin:0 9px;color:#bec5cc}.breadcrumbs b{color:#47535e}.top-right{display:flex;align-items:center;gap:14px}.today-label{font-size:11px;color:#7a858f}.avatar{height:30px;width:30px;border-radius:50%;background:#e9f0ff;color:#326be0;display:grid;place-items:center;font-size:11px;font-weight:800}.page-heading{padding:30px 0 22px;display:flex;align-items:center;justify-content:space-between}.page-heading h1{font:800 28px Manrope,sans-serif;letter-spacing:-1px;margin:6px 0 4px}.page-heading p{font-size:13px;color:#7a858f;margin:0}.page-heading .button{height:40px}.plus{font-size:19px;font-weight:400}.muted{color:#8d99a4}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:20px}.stat-card{background:#fff;border:1px solid #edf0f2;border-radius:8px;padding:16px 18px;box-shadow:0 3px 12px #15263c05}.stat-top{display:flex;align-items:center;justify-content:space-between}.stat-icon{height:28px;width:28px;border-radius:7px;display:grid;place-items:center;font-size:16px}.stat-icon.blue{background:#edf3ff;color:#316ce8}.stat-icon.violet{background:#f2edff;color:#8a61d6}.stat-icon.green{background:#e9f8f2;color:#16976d}.stat-caption{font-size:10px;letter-spacing:1.1px;color:#8c97a1;font-weight:700}.stat-card strong{font:800 26px Manrope,sans-serif;display:block;margin:11px 0 3px;color:#1d2a35}.stat-card small{color:#8b959e;font-size:11px}.library-card{background:#fff;border:1px solid #e9edf0;border-radius:8px;box-shadow:0 3px 12px #15263c05;overflow:hidden}.library-head{padding:18px 20px 15px;display:flex;justify-content:space-between;align-items:center}.library-head h2{font:700 16px Manrope,sans-serif;margin:0 0 4px}.library-head p{font-size:11px;color:#87929c;margin:0}.library-head .button{height:34px}.toolbar{padding:12px 20px;border-top:1px solid #f0f2f4;border-bottom:1px solid #edf0f2;display:flex;align-items:center;gap:12px}.searchbox{height:35px;border:1px solid #e3e7ea;border-radius:6px;display:flex;align-items:center;padding:0 10px;flex:1;max-width:390px;gap:8px;color:#9aa4ad}.searchbox span{font-size:21px;transform:rotate(-20deg)}.searchbox input{border:0;outline:0;min-width:0;flex:1;font-size:12px}.filter-label{font-size:11px;color:#828d97;display:flex;align-items:center;gap:7px}.filter-label select{border:1px solid #e3e7ea;border-radius:5px;padding:7px 24px 7px 9px;background:#fff;color:#53606b;font-size:11px;max-width:180px}.result-count{margin-left:auto;color:#8b959d;font-size:11px}.table-wrap{overflow:auto;min-height:170px}table{width:100%;border-collapse:collapse;white-space:nowrap}thead th{text-align:left;font-size:10px;color:#84909a;letter-spacing:.7px;background:#fafbfc;padding:12px 11px;font-weight:700;border-bottom:1px solid #edf0f2}thead th:first-child{padding-left:20px;min-width:205px}thead th:nth-child(2){min-width:90px}thead th:nth-child(3){min-width:110px}thead th:nth-child(n+4){min-width:145px}tbody td{padding:12px 11px;border-bottom:1px solid #f0f2f4;font-size:12px;color:#596671;vertical-align:middle}tbody tr:hover{background:#fbfcfd}tbody td:first-child{padding-left:20px}.product-brand-row td{background:#f7f9fc;color:#465a6d;font:700 11px Manrope,sans-serif;padding:9px 20px;letter-spacing:.25px;border-bottom:1px solid #e9edf1}.product-brand-row .brand-count{color:#98a2ac;font:500 10px 'DM Sans',sans-serif;margin-left:8px}.product-main{font-weight:700;color:#263542;font-size:12px}.product-sub{display:block;color:#8b969f;font-size:10px;margin-top:4px}.lead-pill{display:inline-flex;background:#f1f4f6;color:#687681;padding:4px 7px;border-radius:4px;font-size:10px}.price-main{font-weight:700;color:#273744}.price-date{font-size:10px;color:#99a2aa;margin-top:4px}.vendor-name{font-size:11px;color:#485663;font-weight:600}.vendor-empty{color:#c1c8ce}.actions-cell{position:sticky;right:0;background:#fff;box-shadow:-8px 0 12px #fff}.row-actions{display:flex;gap:4px}.row-actions button{border:0;background:none;color:#88939c;padding:4px;font-size:14px}.row-actions button:hover{color:#316ce8}.empty-state{text-align:center;padding:42px 15px 48px}.empty-icon{margin:0 auto 12px;width:42px;height:42px;border-radius:12px;background:#edf3ff;color:#316ce8;display:grid;place-items:center;font-size:21px}.empty-state h3{font:700 15px Manrope;margin:0 0 7px}.empty-state p{font-size:12px;color:#8a949d;margin:0 0 18px}.empty-state .button{height:36px}.table-foot{display:flex;justify-content:space-between;padding:11px 20px;color:#97a0a8;font-size:10px;border-top:1px solid #edf0f2}.page-footer{text-align:right;color:#a3abb2;font-size:10px;padding:16px 0}.page-footer span{color:#5d91ef;margin:0 5px}.modal-backdrop{position:fixed;inset:0;background:#111d2bbb;z-index:20;display:grid;place-items:center;padding:20px;backdrop-filter:blur(3px)}.modal-card{background:#fff;width:min(760px,100%);max-height:92vh;overflow:auto;border-radius:10px;box-shadow:0 25px 80px #09152255}.modal-header{display:flex;justify-content:space-between;padding:22px 25px 17px;border-bottom:1px solid #edf0f2;position:sticky;top:0;background:#fff;z-index:1}.modal-header h2{font:700 20px Manrope;margin:6px 0 0}.icon-button{border:0;background:#f3f5f7;border-radius:6px;width:30px;height:30px;font-size:22px;line-height:20px;color:#72808b}.form-section{padding:20px 25px 17px;border-bottom:1px solid #edf0f2}.form-section h3{font:700 13px Manrope;margin:0 0 14px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 16px}.form-grid label{font-size:11px}.form-grid label b{color:#df6559;margin-left:2px}.form-grid input,.form-grid select{height:38px;font-size:12px}.section-title{display:flex;justify-content:space-between;align-items:start}.section-title p{font-size:11px;color:#9099a1;margin:-7px 0 14px}.required-note{font-size:10px;color:#8e99a2;padding-top:3px}.supplier-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px 15px}.supplier-field{padding:11px;border:1px solid #ebeff2;border-radius:7px;background:#fbfcfd}.supplier-field-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px}.slot-label{font-size:10px;font-weight:800;letter-spacing:.7px;color:#71808e}.supplier-field label{font-size:10px;gap:5px;margin-top:7px}.supplier-field input{height:33px;font-size:11px}.supplier-field .date-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}.recorded-note{display:flex;justify-content:space-between;margin-top:8px;color:#98a2aa;font-size:9px}.recorded-note strong{color:#687783;font-weight:600}.modal-actions{padding:15px 25px;display:flex;justify-content:flex-end;gap:8px;position:sticky;bottom:0;background:#fff;border-top:1px solid #edf0f2}.modal-actions .button{height:38px}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);background:#142331;color:#fff;padding:11px 16px;border-radius:6px;font-size:12px;opacity:0;pointer-events:none;transition:.22s;z-index:50;box-shadow:var(--shadow)}.toast.show{opacity:1;transform:translate(-50%,0)}@media(max-width:950px){.sidebar{width:205px}.main-content{margin-left:205px;max-width:calc(100vw - 205px);padding:0 24px}.auth-art{padding:38px 6vw}}@media(max-width:700px){.auth-shell{grid-template-columns:1fr}.auth-art{display:none}.auth-panel{padding:35px 24px;min-height:100vh;justify-content:center}.mobile-brand{display:flex;margin-bottom:48px}.auth-note{position:static;margin-top:45px}.sidebar{position:relative;width:100%;height:auto;padding:13px 17px;flex-direction:row;align-items:center;justify-content:space-between}.sidebar .brand-lockup{padding:0;font-size:17px}.sidebar .brand-mark{width:28px;height:28px}.workspace-label,.nav-item,.secure-pill{display:none}.sidebar-bottom{margin:0}.logout-btn{padding:8px 0}.main-content{margin:0;max-width:100%;padding:0 14px 16px}.topbar{height:48px}.today-label{display:none}.page-heading{padding:22px 0 15px;gap:10px}.page-heading h1{font-size:24px}.page-heading p{font-size:11px;max-width:215px;line-height:1.5}.page-heading .button{height:35px;padding:0 10px;font-size:11px;white-space:nowrap}.stat-grid{gap:8px}.stat-card{padding:11px 10px}.stat-icon{width:24px;height:24px;font-size:13px}.stat-caption{font-size:8px;letter-spacing:.5px}.stat-card strong{font-size:21px;margin:9px 0 2px}.stat-card small{font-size:9px}.library-head{padding:14px}.library-head .button{padding:0 9px;font-size:11px}.toolbar{padding:9px 12px;flex-wrap:wrap}.searchbox{max-width:none;flex-basis:100%}.filter-label{font-size:10px}.filter-label select{max-width:150px}.result-count{font-size:10px}.table-foot{padding:10px 13px;font-size:9px}.modal-backdrop{padding:8px}.modal-card{max-height:96vh}.modal-header,.form-section{padding-left:16px;padding-right:16px}.modal-actions{padding:12px 16px}.form-grid,.supplier-form-grid{grid-template-columns:1fr}.form-grid{gap:11px}.supplier-form-grid{gap:8px}.supplier-field{padding:9px}.auth-card h2{font-size:24px}}

/* New dashboard, vendor directory, pagination and import UI */
.nav-item{display:block;width:100%;margin-bottom:6px}.app-view{animation:view-in .18s ease}@keyframes view-in{from{opacity:.65;transform:translateY(3px)}to{opacity:1;transform:none}}
.head-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.head-actions .button{height:34px;font-size:11px}.wide-field{grid-column:1/-1}.form-grid textarea,.supplier-field select{width:100%;border:1px solid #dfe4e9;border-radius:7px;padding:9px 11px;color:#263442;outline:none;background:#fff;font:inherit;resize:vertical}.form-grid textarea:focus,.supplier-field select:focus{border-color:#7aa1f5;box-shadow:0 0 0 3px #2d70e51a}.form-grid label small{color:#89949d;font-weight:400;font-size:10px}.supplier-field select{height:36px;font-size:11px;padding:0 8px}.supplier-field{min-width:0}.product-description{display:block;color:#71808b;font-size:10px;line-height:1.45;margin-top:5px;white-space:normal;max-width:270px}.other-vendors{display:flex;flex-wrap:wrap;gap:4px;max-width:270px}.vendor-chip,.auth-chip,.type-pill{display:inline-block;border-radius:4px;background:#f0f4f8;color:#596a78;padding:4px 6px;font-size:9px;margin:2px 1px}.auth-chip{background:#eaf7f1;color:#197a59}.type-pill{background:#edf3ff;color:#356cd2}.import-summary{margin:0 20px 12px;padding:11px 13px;background:#edf8f3;border:1px solid #d3efe2;color:#23664d;border-radius:6px;font-size:11px}.import-summary.has-errors{background:#fff8e9;border-color:#f3e2b6;color:#805e18}.import-summary ul{margin:8px 0 0;padding-left:18px;max-height:145px;overflow:auto}.import-summary li{margin:4px 0}.pagination{display:flex;gap:9px;align-items:center}.pagination .button{height:30px;padding:0 10px;font-size:10px}.pagination .button:disabled{opacity:.45;cursor:default;transform:none}.pagination span{min-width:80px;text-align:center}.table-foot{align-items:center;gap:12px}.vendor-modal-card{width:min(680px,100%)}.searchbox{min-width:220px}.toolbar{flex-wrap:wrap}.toolbar .result-count{white-space:nowrap}@media(max-width:700px){.head-actions{width:100%;justify-content:flex-start}.library-head{align-items:flex-start;gap:10px;flex-wrap:wrap}.library-head>.button{white-space:nowrap}.pagination{gap:4px}.pagination .button{padding:0 7px}.pagination span{min-width:68px;font-size:9px}.table-foot{flex-wrap:wrap}.wide-field{grid-column:1}.form-grid textarea{font-size:12px}.toolbar .filter-label{width:calc(50% - 6px);justify-content:space-between}.toolbar .filter-label select{flex:1;min-width:0}.result-count{margin-left:0}.searchbox{min-width:0}}
@media(max-width:700px){.sidebar{flex-wrap:wrap;gap:5px}.sidebar .brand-lockup{flex:1}.sidebar-bottom{order:1;margin-left:auto}.sidebar .nav-item{order:2;flex:1;width:auto;margin:0;padding:8px 4px;text-align:center;font-size:12px;white-space:nowrap}.sidebar .nav-icon{margin-right:4px}.recent-card .library-head .button{height:31px}}
