:root{--bg:#fafbf8;--surface:rgba(255,255,255,.97);--surface2:#fafbf8;--line:#e8ebe3;--text:#172018;--muted:#718075;--blue:#00a9df;--blueSoft:#e8f8fd;--green:#9c9c1a;--greenSoft:#f5f5df;--red:#c75353;--redSoft:#fff1f1;--shadow:0 10px 34px rgba(35,48,29,.06);--radius:20px}
*{box-sizing:border-box}html{font-family:Inter,-apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI",sans-serif;color:var(--text);background:var(--bg)}body{margin:0;min-height:100vh;background:radial-gradient(circle at 85% 0,#eef6ff 0,transparent 27%),linear-gradient(#f8fafc,#f3f6fa)}a{color:inherit;text-decoration:none}button,input,select{font:inherit}.app-shell{display:flex;min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:236px;padding:24px 15px 20px;background:rgba(255,255,255,.9);border-right:1px solid var(--line);backdrop-filter:blur(20px);display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:12px;padding:0 10px 25px}.brand>span:last-child{display:flex;flex-direction:column;line-height:1}.brand strong{font-size:23px;letter-spacing:-.7px}.brand small{margin-top:6px;color:#748198;font-size:12px}.brand-mark{position:relative;display:inline-block;width:36px;height:36px;flex:0 0 36px}.brand-mark.large{width:48px;height:48px}.brand-mark i{position:absolute;width:17px;height:17px;border-radius:9px 9px 3px 9px;left:9px;top:1px;transform-origin:9px 17px;background:#16b9ef}.brand-mark i:nth-child(2){transform:rotate(90deg);background:#f6ca35}.brand-mark i:nth-child(3){transform:rotate(180deg);background:#f047a1}.brand-mark i:nth-child(4){transform:rotate(270deg);background:#32cb79}.nav-list{display:flex;flex-direction:column;gap:6px}.nav-item{height:45px;padding:0 13px;border-radius:13px;display:flex;align-items:center;gap:12px;color:#65758c;font-size:14px;font-weight:600}.nav-item>span{width:22px;text-align:center;font-size:18px;color:#71849f}.nav-item em{margin-left:auto;font-size:9px;font-style:normal;text-transform:uppercase;letter-spacing:.6px;color:#a8b3c1}.nav-item.active{background:#edf4ff;color:#1768db}.nav-item.active>span{color:#1768db}.nav-item.disabled{opacity:.55;cursor:not-allowed}.sidebar-foot{margin-top:auto;padding:15px 12px;color:#8997aa}.sidebar-foot p{font-size:13px;line-height:1.5;margin:0 0 10px}.sidebar-foot small{font-size:10px}.main-wrap{margin-left:236px;width:calc(100% - 236px);min-height:100vh}.topbar{height:72px;padding:0 30px;display:flex;align-items:center;gap:16px;border-bottom:1px solid rgba(227,233,241,.9);background:rgba(248,250,252,.78);backdrop-filter:blur(16px);position:sticky;top:0;z-index:10}.topbar-title{display:flex;align-items:baseline;gap:10px}.topbar-title strong{font-size:18px}.topbar-title span{font-size:12px;color:var(--muted)}.topbar-spacer{flex:1}.user-chip{display:flex;align-items:center;gap:9px}.user-chip>span:last-child{display:flex;flex-direction:column;line-height:1.15}.user-chip strong{font-size:13px}.user-chip small{font-size:10px;color:var(--muted);margin-top:4px}.avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#d9e8ff,#f4f7fb);color:#246bd1;font-weight:800}.text-button{border:0;background:transparent;color:#54708f;padding:8px 10px;cursor:pointer;font-weight:650;font-size:12px}.text-button:hover{color:#1768db}.content{padding:30px;max-width:1680px;margin:auto}.page-head{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;margin:6px 0 26px}.page-head h1{font-size:32px;letter-spacing:-1.2px;margin:3px 0 6px}.page-head p:not(.eyebrow){margin:0;color:var(--muted);font-size:14px}.eyebrow{text-transform:uppercase;letter-spacing:1.25px;color:#7490b3!important;font-size:10px!important;font-weight:800;margin:0}.role-badge,.version-pill{background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);padding:9px 13px;border-radius:13px;font-size:12px;color:#47617f;font-weight:700}.metric-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-bottom:16px}.metric-card{background:var(--surface);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);padding:17px;display:flex;gap:13px;min-height:118px}.metric-icon{width:34px;height:34px;border-radius:11px;flex:0 0 34px}.metric-icon.blue{background:#deedff}.metric-icon.mint{background:#dff8ed}.metric-icon.violet{background:#efe6ff}.metric-icon.amber{background:#fff2cb}.metric-icon.rose{background:#ffe1e5}.metric-icon.orange{background:#ffeadb}.metric-card div{display:flex;flex-direction:column}.metric-card small{font-size:11px;font-weight:750;color:#485a70}.metric-card strong{font-size:27px;line-height:1.1;margin:8px 0 4px}.metric-card p{font-size:9.5px;color:#96a2b1;margin:auto 0 0}.dashboard-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:20px}.span-2{grid-column:span 2}.span-3{grid-column:span 3}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.panel-head h2{font-size:17px;letter-spacing:-.4px;margin:3px 0 0}.status-pill{display:inline-flex;padding:5px 9px;border-radius:999px;font-size:10px;font-weight:800}.status-pill.good{background:var(--greenSoft);color:#0f8a5d}.status-pill.muted{background:#eff2f5;color:#78879a}.readiness-list{display:flex;flex-direction:column}.readiness-list>div{display:grid;grid-template-columns:34px 1fr auto;gap:12px;align-items:center;padding:12px 0;border-top:1px solid #eef2f6}.readiness-list>div:first-child{border-top:0}.readiness-list div div{display:flex;flex-direction:column}.readiness-list strong{font-size:12px}.readiness-list small{color:var(--muted);font-size:10.5px;margin-top:3px}.readiness-list em{font-style:normal;color:#159068;font-size:10px;font-weight:800}.check-icon{width:26px;height:26px;border-radius:9px;display:grid;place-items:center;background:var(--greenSoft);color:#169266;font-weight:900}.employee-total{display:flex;align-items:baseline;gap:9px;padding:8px 0 20px}.employee-total strong{font-size:42px;letter-spacing:-2px}.employee-total span{font-size:11px;color:var(--muted)}.mini-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.mini-stats div{padding:11px;border-radius:13px;background:var(--surface2);display:flex;flex-direction:column}.mini-stats strong{font-size:18px}.mini-stats span{font-size:9px;color:var(--muted);margin-top:3px}.roadmap{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.roadmap>div{min-height:90px;padding:14px;border-radius:15px;background:#f7f9fc;display:flex;gap:10px}.roadmap b{font-size:11px;color:#9ca9b9}.roadmap span{display:flex;flex-direction:column}.roadmap strong{font-size:12px}.roadmap small{color:var(--muted);font-size:10px;line-height:1.4;margin-top:5px}.roadmap .done{background:#ecf7f2}.roadmap .done b,.roadmap .done strong{color:#13865d}.link-button{font-size:11px;color:#2673db;font-weight:750}.alert{border-radius:14px;padding:12px 14px;margin:0 0 18px;font-size:12px}.alert.success{background:#e9f7f1;color:#167853;border:1px solid #cfeee0}.alert.danger{background:#fff0f1;color:#a73740;border:1px solid #ffd7db}.alert ul{margin:7px 0 0;padding-left:18px}.auth-body{display:grid;place-items:center;padding:30px;background:radial-gradient(circle at 50% -15%,#eaf3ff,transparent 40%),#f5f7fa}.auth-card{width:min(430px,100%);padding:34px;background:rgba(255,255,255,.92);border:1px solid #e5ebf2;border-radius:28px;box-shadow:0 30px 80px rgba(26,52,86,.12);backdrop-filter:blur(16px)}.auth-brand{display:flex;align-items:center;gap:13px}.auth-brand div{display:flex;flex-direction:column}.auth-brand strong{font-size:20px}.auth-brand small{color:var(--muted);font-size:11px;margin-top:4px}.auth-copy{margin:36px 0 22px}.auth-copy h1{margin:0 0 7px;font-size:30px;letter-spacing:-1px}.auth-copy p{margin:0;color:var(--muted);font-size:13px}.auth-foot{text-align:center;color:#9ba6b5;font-size:10px;margin:24px 0 0}.form-stack{display:flex;flex-direction:column;gap:15px}.form-stack.compact{gap:12px}.form-stack label{display:flex;flex-direction:column;gap:6px;color:#53657b;font-size:11px;font-weight:700}.form-stack input,.form-stack select{width:100%;border:1px solid #dfe6ee;background:#fbfcfe;color:#16263d;border-radius:12px;padding:11px 12px;outline:none}.form-stack input:focus,.form-stack select:focus{border-color:#77aaf0;box-shadow:0 0 0 3px #eaf3ff}.check-row{flex-direction:row!important;align-items:center;gap:8px!important;font-weight:500!important}.check-row input{width:auto!important}.primary-button{border:0;background:#1f73e8;color:white;border-radius:12px;padding:11px 15px;font-weight:750;cursor:pointer;box-shadow:0 7px 18px rgba(31,115,232,.18)}.primary-button:hover{background:#1765d1}.primary-button.full{width:100%;padding:13px}.admin-grid{display:grid;grid-template-columns:minmax(320px,.85fr) minmax(600px,1.8fr);gap:16px}.field-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}.table-wrap{overflow:auto}.data-table{width:100%;border-collapse:collapse;white-space:nowrap}.data-table th{text-align:left;color:#8492a5;font-size:9px;text-transform:uppercase;letter-spacing:.7px;padding:9px 10px;border-bottom:1px solid var(--line)}.data-table td{padding:12px 10px;border-bottom:1px solid #edf1f5;font-size:11px;color:#526279}.data-table td:first-child{display:flex;flex-direction:column}.data-table td strong{color:#203047;font-size:11px}.data-table td small{font-size:9.5px;color:#94a0b0;margin-top:3px}.self-label{color:#9ba6b5;font-size:10px}.mobile-only{display:none}.icon-button{border:1px solid var(--line);background:#fff;border-radius:10px;width:36px;height:36px}
@media(max-width:1200px){.metric-grid{grid-template-columns:repeat(3,1fr)}.admin-grid{grid-template-columns:1fr}.user-table-panel{min-width:0}}@media(max-width:840px){.sidebar{transform:translateX(-100%);transition:.2s}.sidebar.open{transform:translateX(0)}.main-wrap{margin-left:0;width:100%}.mobile-only{display:inline-grid;place-items:center}.topbar{padding:0 16px}.topbar-title span,.user-chip span:last-child{display:none}.content{padding:20px 16px}.metric-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}.span-2,.span-3{grid-column:auto}.roadmap{grid-template-columns:1fr 1fr}.page-head h1{font-size:26px}.field-pair{grid-template-columns:1fr}}@media(max-width:520px){.metric-grid{grid-template-columns:1fr}.roadmap{grid-template-columns:1fr}.user-chip{display:none}.role-badge{display:none}}
/* Catalogue screens */
textarea{font:inherit;resize:vertical;min-height:84px}.form-stack textarea{width:100%;border:1px solid #dfe6ee;background:#fbfcfe;color:#16263d;border-radius:12px;padding:11px 12px;outline:none}.form-stack textarea:focus{border-color:#77aaf0;box-shadow:0 0 0 3px #eaf3ff}.form-stack h2{font-size:20px;margin:0 0 4px}.secondary-button{display:inline-flex;align-items:center;justify-content:center;border:1px solid #dfe6ee;background:white;border-radius:12px;padding:10px 14px;font-size:13px;font-weight:650;color:#395778}.primary-button{display:inline-flex;align-items:center;justify-content:center;font-size:13px}.primary-button:disabled{opacity:.5;cursor:not-allowed}.actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.form-panel{max-width:850px}.subtle{color:#6f7f95;font-size:12px;line-height:1.6}.filters.form-stack{display:flex;flex-direction:row;align-items:flex-end;gap:12px;flex-wrap:wrap}.filters label:first-child{flex:2;min-width:220px}.filters label{flex:1;min-width:135px}.filters button{min-height:41px}.catalogue-table{white-space:normal}.catalogue-table td{vertical-align:top;font-size:12px;max-width:320px;overflow-wrap:anywhere}.catalogue-table td:first-child{display:table-cell}.catalogue-table td small{display:block;font-size:11px;line-height:1.5}.catalogue-table th{font-size:10px}.record-link{color:#1768db;font-weight:700;text-decoration:underline;text-underline-offset:3px}.empty-state{padding:28px 6px}.empty-state h2{font-size:18px}.empty-state p{color:#6f7f95}.pagination{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:20px;font-size:12px}.details-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 30px;margin:0}.details-grid dt{font-size:11px;font-weight:700;color:#6f7f95;margin-bottom:6px}.details-grid dd{font-size:14px;margin:0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.spec-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.section-gap{margin-bottom:18px}.sample-location{font-size:22px;font-weight:700;overflow-wrap:anywhere}.preserve-lines{white-space:pre-wrap}.revision-reason{background:#f4f8ff;padding:14px;border-radius:12px;margin-bottom:24px;font-size:13px;white-space:pre-wrap}.envelope-label{max-width:750px}.envelope-label h1{font-size:36px;letter-spacing:1px}.envelope-label h2{font-size:22px}.envelope-label .details-grid{margin-top:28px}a:focus-visible,button:focus-visible{outline:3px solid #77aaf0;outline-offset:3px}.page-head h1{overflow-wrap:anywhere}.page-head .actions{flex-shrink:0}.sidebar{overflow-y:auto}.catalogue-summary{display:flex;gap:18px;flex-wrap:wrap;margin-bottom:20px}.catalogue-summary a{flex:1;min-width:220px}.catalogue-summary strong{display:block;font-size:24px;margin:6px 0}
@media(max-width:840px){.page-head{flex-wrap:wrap}.details-grid,.spec-form-grid{grid-template-columns:1fr}.filters.form-stack{align-items:stretch}.filters label{flex-basis:100%}.catalogue-table{min-width:650px}.envelope-label h1{font-size:30px}.content>.form-stack{min-width:0}}
@media print{body{background:white}.sidebar,.topbar,.no-print{display:none!important}.main-wrap{margin:0;width:100%}.content{padding:0}.envelope-label{box-shadow:none;border:1px solid #222;break-inside:avoid;max-width:180mm;margin:10mm}.envelope-label .details-grid{grid-template-columns:1fr 1fr}.envelope-label p{color:#222}}
/* Yeneth brand: logo-led, white canvas with restrained olive and cyan accents. */
body{background:linear-gradient(135deg,#fff 0,#fbfcf8 58%,#f5fbfc 100%)}.sidebar{background:rgba(255,255,255,.96)}.brand{padding:0 8px 26px}.brand-logo{width:156px;height:62px;object-fit:contain;object-position:left center;mix-blend-mode:multiply}.auth-logo{width:160px;height:75px;object-fit:contain;object-position:left center;mix-blend-mode:multiply}.topbar{background:rgba(255,255,255,.84)}.nav-item.active{background:#f4f6e8;color:#70700c}.nav-item.active>span{color:#8c8c14}.primary-button{background:#00a9df;box-shadow:0 7px 18px rgba(0,169,223,.17)}.primary-button:hover{background:#0095c7}.text-button:hover,.record-link,.link-button{color:#009dcf}.form-stack input:focus,.form-stack select:focus,.form-stack textarea:focus{border-color:#6dc9e5;box-shadow:0 0 0 3px #e9f8fc}.role-badge,.version-pill{color:#6d6d10}.roadmap .done{background:#f5f6e8}.roadmap .done b,.roadmap .done strong{color:#7d7d10}.status-pill.good{background:#f2f5df;color:#77770d}.metric-icon.blue{background:#e5f8fd}.metric-icon.mint{background:#f4f6df}.metric-card{background:#fff}.catalogue-summary .panel{box-shadow:0 8px 24px rgba(35,48,29,.045)}.alert.warning{background:#fffbe9;color:#775d00;border:1px solid #f0e2a5}.order-line{border:1px solid var(--line);border-radius:15px;padding:16px;margin:0;background:#fff}.order-line legend{padding:0 6px;color:var(--muted);font-size:11px;font-weight:750}.line-main{display:grid;grid-template-columns:minmax(0,1fr) 180px auto;align-items:end;gap:10px}.remove-line{white-space:nowrap}.order-total{font-size:13px;font-weight:750;color:#4d5b50;margin:0}.document-row{display:flex;justify-content:space-between;gap:14px;align-items:center;border-top:1px solid var(--line);padding:13px 0}.document-row p{margin:4px 0 0}.attachment-form{margin-top:16px;border-top:1px solid var(--line);padding-top:16px}.danger-button{border:0;background:#c75353;color:#fff;border-radius:12px;padding:11px 15px;font-weight:750;cursor:pointer}details summary{font-weight:750;cursor:pointer;color:#53657b}details[open] summary{margin-bottom:12px}
@media(max-width:840px){.brand-logo{width:142px}.line-main{grid-template-columns:1fr}.remove-line{justify-self:start}.document-row{align-items:flex-start}.auth-logo{width:145px}}
.reservation-row{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:14px 0;border-top:1px solid var(--line)}.reservation-row:first-of-type{border-top:0}.reservation-row strong{font-size:13px}.reservation-row p{margin:4px 0 0}.reservation-row details{min-width:150px}.release-form{min-width:240px;margin-top:12px}.quantity-positive{color:#16845f!important;font-weight:800}.quantity-negative{color:#b13f49!important;font-weight:800}
@media(max-width:840px){.reservation-row{flex-direction:column}.reservation-row details{width:100%}}
.print-document{background:#f4f6f2;padding:32px}.delivery-print{max-width:850px;margin:auto;background:#fff;padding:52px;box-shadow:0 12px 35px rgba(0,0,0,.08)}.delivery-print header{display:flex;align-items:flex-start;justify-content:space-between;border-bottom:2px solid #9c9c1a;padding-bottom:24px}.delivery-print header img{width:170px;height:80px;object-fit:contain;object-position:left center;mix-blend-mode:multiply}.delivery-print header p,.delivery-print small{font-size:10px;letter-spacing:1.2px;color:#73730f;font-weight:800;margin:0}.delivery-print h1{margin:5px 0 0;font-size:30px}.delivery-meta{display:grid;grid-template-columns:1fr 1fr 1fr;gap:20px;padding:28px 0}.delivery-meta div{display:flex;flex-direction:column;gap:5px}.delivery-meta strong{font-size:15px}.delivery-meta span{font-size:12px;color:#6f7f75}.delivery-print table{width:100%;border-collapse:collapse}.delivery-print th{text-align:left;padding:11px 8px;border-bottom:1px solid #dce1d8;font-size:10px;color:#6f7f75;text-transform:uppercase}.delivery-print td{padding:15px 8px;border-bottom:1px solid #e7ebe5;font-size:13px}.delivery-print td strong,.delivery-print td span{display:block}.delivery-print td span{color:#6f7f75;font-size:11px;margin-top:4px}.delivery-notes{padding:28px 0;min-height:95px}.delivery-notes p{white-space:pre-wrap;font-size:13px}.delivery-print footer{display:grid;grid-template-columns:1fr 1fr auto;gap:28px;align-items:end;border-top:1px solid #dce1d8;padding-top:28px}.delivery-print footer div{display:flex;flex-direction:column;gap:18px}.signature-line{border-bottom:1px solid #333;height:18px}.delivery-print button{border:0;border-radius:9px;padding:10px 13px;background:#00a9df;color:#fff;font-weight:750}@media(max-width:700px){.print-document{padding:0}.delivery-print{padding:24px}.delivery-meta,.delivery-print footer{grid-template-columns:1fr}.delivery-print header{gap:15px}.delivery-print header img{width:130px}}@media print{.print-document{background:#fff;padding:0}.delivery-print{box-shadow:none;max-width:none;padding:0}.delivery-print button{display:none}}
