:root{color:#1f2937;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f6f8fb;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0}button{font-family:inherit}#root{min-height:100vh}.app-shell{color:#1f2937;background:#f6f8fb;min-height:100vh;display:flex}.login-shell{background:#f6f8fb;place-items:center;min-height:100vh;padding:24px;display:grid}.login-panel{background:#fff;border:1px solid #e4e7ec;border-radius:8px;width:min(100%,440px);padding:30px;box-shadow:0 14px 30px #0f172a0f}.login-brand{margin-bottom:28px}.login-brand h1{color:#111827}.login-brand p{color:#667085}.login-form{flex-direction:column;gap:18px;display:flex}.login-form h2{color:#111827;margin:0;font-size:28px;line-height:1.15}.sidebar{color:#fff;box-sizing:border-box;background:#101828;flex-direction:column;flex:0 0 280px;gap:36px;width:280px;padding:32px 24px;display:flex}.brand{align-items:center;gap:14px;display:flex}.brand-mark{color:#fff;background:#16a3a6;border-radius:8px;place-items:center;width:48px;height:48px;font-size:22px;font-weight:800;display:grid}.brand h1{color:#fff;letter-spacing:0;margin:0;font-size:30px;font-weight:800;line-height:1}.brand p{color:#cbd5e1;max-width:170px;margin:8px 0 0;font-size:13px;line-height:1.35}.sidebar-nav{flex-direction:column;gap:8px;display:flex}.session-box{border-top:1px solid #26354a;flex-direction:column;gap:8px;margin-top:auto;padding-top:20px;display:flex}.session-box span{color:#98a2b3;text-transform:uppercase;font-size:12px;font-weight:700}.session-box strong{color:#fff;overflow-wrap:anywhere;font-size:14px;line-height:1.4}.logout-button{color:#d0d7e2;min-height:38px;font:inherit;cursor:pointer;background:0 0;border:1px solid #344054;border-radius:8px;margin-top:6px;font-size:14px;font-weight:800}.logout-button:hover{color:#fff;border-color:#16a3a6}.nav-item{color:#d0d7e2;width:100%;min-height:44px;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:12px;padding:0 14px;font-size:15px;display:flex}.nav-item:hover,.nav-item.active{color:#fff;background:#1d2939}.nav-dot{background:#64748b;border-radius:999px;width:8px;height:8px}.nav-item.active .nav-dot{background:#16a3a6}.main-content{box-sizing:border-box;flex:1;padding:40px}.page-header{justify-content:space-between;align-items:flex-start;margin-bottom:28px;display:flex}.eyebrow{color:#16a3a6;text-transform:uppercase;letter-spacing:0;margin-bottom:8px;font-size:13px;font-weight:700;display:block}.page-header h2,.workspace-panel h3,.document-card h3{color:#111827;letter-spacing:0;margin:0;font-weight:800}.page-header h2{font-size:34px;line-height:1.15}.page-header p,.workspace-panel p,.summary-card p,.document-card p{color:#667085;margin:0;line-height:1.6}.page-header p{max-width:640px;margin-top:10px}.summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:24px;display:grid}.documents-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:24px;display:grid}.summary-card{box-sizing:border-box;background:#fff;border:1px solid #e4e7ec;border-radius:8px;min-height:150px;padding:22px;box-shadow:0 14px 30px #0f172a0f}.document-card{box-sizing:border-box;text-align:left;cursor:pointer;background:#fff;border:1px solid #e4e7ec;border-radius:8px;min-height:132px;padding:22px;box-shadow:0 14px 30px #0f172a0f}.document-card:hover{border-color:#16a3a6}.summary-card span{color:#475467;font-size:14px;font-weight:700;display:block}.summary-card strong{color:#111827;margin:18px 0 8px;font-size:38px;line-height:1;display:block}.summary-card p{font-size:14px}.document-card h3{margin-bottom:12px;font-size:18px;line-height:1.25}.document-card p{font-size:14px}.workspace-panel{box-sizing:border-box;background:#fff;border:1px solid #e4e7ec;border-radius:8px;padding:28px}.workspace-panel h3{margin-bottom:10px;font-size:24px}.purchase-order-form{flex-direction:column;gap:18px;display:flex}.purchase-order-module-toolbar{background:#fff;border:1px solid #d0d5dd;border-radius:8px;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:18px;padding:14px;display:flex}.form-toolbar{flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:12px;display:flex}.new-order-button{white-space:nowrap;flex:none}.form-panel{background:#fff;border:1px solid #e4e7ec;border-radius:8px;padding:24px;box-shadow:0 14px 30px #0f172a0f}.form-panel h3{color:#111827;margin:0 0 18px;font-size:22px;line-height:1.2}.form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.field{color:#475467;flex-direction:column;gap:8px;font-size:14px;font-weight:700;display:flex}.field-full{grid-column:1/-1}.field input,.field textarea,.history-filters input,.products-table input{color:#111827;width:100%;min-height:42px;font:inherit;background:#fff;border:1px solid #d0d5dd;border-radius:8px;padding:10px 12px;font-size:14px}.field input:disabled,.field textarea:disabled,.history-filters input:disabled,.products-table input:disabled{cursor:not-allowed;color:#667085;background:#f9fafb}.field textarea{resize:vertical}.field input:focus,.field textarea:focus,.history-filters input:focus,.products-table input:focus{border-color:#16a3a6;outline:2px solid #16a3a633}.field input.input-error,.products-table input.input-error{background:#fff8f7;border-color:#f04438}.field-error{color:#b42318;font-size:12px;font-weight:700;line-height:1.4}.panel-heading{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px;display:flex}.panel-heading h3{margin-bottom:6px}.panel-heading p{color:#667085;margin:0}.panel-heading span{color:#0f766e;background:#eef7f7;border-radius:999px;padding:6px 10px;font-size:13px;font-weight:800}.products-table-wrap{border:1px solid #e4e7ec;border-radius:8px;overflow-x:auto}.products-table,.history-table{border-collapse:collapse;width:100%;min-width:760px}.products-table th,.products-table td,.history-table th,.history-table td{text-align:left;vertical-align:middle;border-bottom:1px solid #e4e7ec;padding:12px}.products-table th,.history-table th{color:#475467;background:#f9fafb;font-size:13px;font-weight:800}.products-table tr:last-child td,.history-table tr:last-child td{border-bottom:0}.history-table-wrap{border:1px solid #e4e7ec;border-radius:8px;overflow-x:auto}.history-table td{color:#344054;font-size:14px}.history-table td:first-child,.history-table td:nth-child(4){color:#111827;font-weight:800}.compact-button{min-height:34px;padding:0 12px}.detail-actions{flex-wrap:wrap;gap:10px;margin-bottom:18px;display:flex}.detail-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.detail-grid div{background:#f9fafb;border-radius:8px;padding:14px}.detail-grid span{color:#667085;text-transform:uppercase;margin-bottom:6px;font-size:12px;font-weight:800;display:block}.detail-grid strong{color:#111827;overflow-wrap:anywhere;font-size:14px}.detail-field-full{grid-column:1/-1}.products-table td:first-child{width:140px}.products-table td:nth-child(3),.products-table td:nth-child(4){width:180px}.line-total{color:#111827;font-weight:800}.form-actions{flex-wrap:wrap;gap:12px;margin-top:18px;display:flex}.history-filters{grid-template-columns:minmax(220px,1.5fr) repeat(4,minmax(120px,1fr));align-items:end;gap:14px;margin-bottom:22px;display:grid}.filter-actions{gap:10px;display:flex}.primary-button,.secondary-button{min-height:42px;font:inherit;cursor:pointer;border-radius:8px;padding:0 16px;font-size:14px;font-weight:800}.primary-button{color:#fff;background:#16a3a6;border:1px solid #16a3a6}.secondary-button{color:#344054;background:#fff;border:1px solid #d0d5dd}.secondary-button[aria-current=page]{color:#0f766e;background:#eef7f7;border-color:#16a3a6}.trash-access-button{color:#92400e;border-color:#fdb022}.danger-button{color:#b42318;border-color:#fda29b}.danger-button:hover{background:#fff8f7;border-color:#f04438}.primary-button:disabled,.secondary-button:disabled{cursor:not-allowed;opacity:.45}.loading-dot{background:currentColor;border-radius:999px;width:8px;height:8px;margin-right:8px;animation:1s ease-in-out infinite pulse-loading;display:inline-block}@keyframes pulse-loading{0%,to{opacity:.35}50%{opacity:1}}.status-message{border-radius:8px;flex-direction:column;gap:6px;margin-top:16px;padding:12px 14px;font-size:14px;font-weight:700;display:flex}.status-message span{font-weight:600}.download-actions{flex-wrap:wrap;gap:10px;margin-top:6px;display:flex}.table-actions{flex-wrap:wrap;gap:8px;display:flex}.form-mode-message{margin-top:0}.status-message.success{color:#047857;background:#ecfdf5;border:1px solid #a7f3d0}.session-message{margin:-10px 0 24px}.status-message.loading{color:#0369a1;background:#f0f9ff;border:1px solid #bae6fd}.status-message.error{color:#b42318;background:#fef2f2;border:1px solid #fecaca}.totals-panel{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px;display:grid}.totals-panel div{background:#f9fafb;border-radius:8px;padding:16px}.totals-panel span{color:#667085;margin-bottom:8px;font-size:13px;font-weight:700;display:block}.totals-panel strong{color:#111827;font-size:20px}@media (width<=980px){.app-shell{flex-direction:column}.sidebar{flex-basis:auto;gap:24px;width:100%}.sidebar-nav{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.main-content{padding:28px 20px}.summary-grid,.documents-grid,.form-grid,.history-filters,.detail-grid,.totals-panel{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=620px){.sidebar{padding:24px 18px}.brand{align-items:flex-start}.sidebar-nav,.summary-grid,.documents-grid,.form-grid,.history-filters,.detail-grid,.totals-panel{grid-template-columns:1fr}.page-header h2{font-size:28px}}
