:root{color:#102a43;font-synthesis:none;--navy:#102a43;--blue:#1a4f7a;--gold:#f6b73c;--red:#e50914;--green:#18794e;background:#f4f7fa;font-family:PingFang TC,Microsoft JhengHei,system-ui,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{cursor:pointer}.center{place-items:center;min-height:100vh;display:grid}.spinner{border:5px solid #d9e2ec;border-top-color:var(--blue);border-radius:50%;width:48px;height:48px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.login-shell{background:radial-gradient(circle at 0 0,#dceaf4,#0000 45%),#f7f8f5;place-items:center;min-height:100vh;padding:32px 20px;display:grid}.login-card{background:#fff;border:1px solid #e5e7eb;border-radius:28px;width:min(100%,620px);padding:32px;box-shadow:0 18px 60px #102a431f}.brand{border-bottom:1px solid #e4e7eb;align-items:center;gap:14px;margin-bottom:30px;padding-bottom:28px;display:flex}.brand-mark{background:var(--navy);color:#fff;border-radius:15px;place-items:center;width:54px;height:54px;font-weight:800;display:grid}.brand strong,.brand small{display:block}.brand small{color:#627d98}.eyebrow{color:#8a5a00;letter-spacing:.12em;text-transform:uppercase;margin-bottom:8px;font-size:14px;font-weight:800}h1,h2,p{margin-top:0}h1{margin-bottom:12px;font-size:clamp(28px,5vw,40px);line-height:1.2}.lead{color:#627d98;font-size:18px}.person-list{gap:12px;margin-top:28px;display:grid}.person{text-align:left;min-height:88px;color:var(--navy);background:#fff;border:2px solid #d9e2ec;border-radius:18px;grid-template-columns:54px 1fr auto;align-items:center;gap:14px;padding:14px 18px;display:grid}.person:hover{border-color:var(--blue);background:#f0f7ff}.person>span{background:#dceaf4;border-radius:50%;place-items:center;width:50px;height:50px;font-size:22px;font-weight:800;display:grid}.person b{font-size:22px}.person small{color:#627d98;font-size:16px}.back-link{color:var(--blue);background:0 0;border:0;padding:0 0 24px;font-weight:700}.pin-dots{justify-content:center;gap:16px;margin:34px 0;display:flex}.pin-dots i{background:#d9e2ec;border-radius:50%;width:20px;height:20px}.pin-dots i.filled{background:var(--navy);transform:scale(1.08)}.keypad{grid-template-columns:repeat(3,1fr);gap:12px;max-width:430px;margin:20px auto;display:grid}.keypad button{height:76px;color:var(--navy);background:#f8fafc;border:1px solid #d9e2ec;border-radius:16px;font-size:28px;font-weight:700}.keypad button:active{background:#dceaf4;transform:scale(.97)}.keypad .key-muted{color:#486581;font-size:16px}.primary,.secondary{border:0;border-radius:16px;width:100%;min-height:72px;margin-top:12px;padding:16px;font-size:21px;font-weight:800}.primary:disabled{opacity:.45;cursor:not-allowed}.secondary{color:var(--navy);background:#e7edf3}.alert{color:#8a1c1c;background:#fff1f1;border:1px solid #f3b6b6;border-radius:14px;margin:16px 0;padding:16px 18px;font-weight:700}.app-shell{width:min(100%,1060px);min-height:100vh;margin:auto;padding:32px clamp(20px,5vw,56px)}.topbar,.page-head,.wizard-head{justify-content:space-between;align-items:center;gap:16px;display:flex}.topbar small,.page-head small{color:#627d98}.topbar h1,.page-head h1{margin:2px 0;font-size:26px}.quiet{color:#486581;background:#fff;border:1px solid #bcccdc;border-radius:12px;padding:12px 18px}.hero{margin:54px 0 30px}.hero p{color:#627d98;font-size:18px}.action-grid{grid-template-columns:repeat(2,1fr);gap:18px;display:grid}.action{background:#fff;border:1px solid #d9e2ec;border-radius:24px;grid-template-columns:64px 1fr auto;align-items:center;gap:18px;min-height:152px;padding:24px;transition:all .15s;display:grid;box-shadow:0 8px 24px #102a430f}.action:hover{transform:translateY(-2px);box-shadow:0 12px 30px #102a431a}.action>span{background:#e8f1f8;border-radius:18px;place-items:center;width:60px;height:60px;font-size:32px;display:grid}.action b,.action small{display:block}.action small{color:#627d98;margin-top:6px}.action em{color:var(--blue);font-style:normal;font-weight:800}.action.issue{border-top:5px solid #1a4f7a}.action.receipt{border-top:5px solid #18794e}.action.return{border-top:5px solid #f6b73c}.action.neutral{border-top:5px solid #829ab1}.status{color:#627d98;justify-content:center;align-items:center;gap:8px;margin:46px 0 0;font-size:14px;display:flex}.status i{background:#2cb67d;border-radius:50%;width:9px;height:9px}.page-head{justify-content:flex-start;margin-bottom:30px}.page-head>a{background:#fff;border:1px solid #d9e2ec;border-radius:12px;padding:12px 16px}.toolbar{gap:16px;margin-bottom:20px;display:flex}.toolbar>input,.big-search{background:#fff;border:2px solid #bcccdc;border-radius:14px;flex:1;min-height:58px;padding:12px 18px;font-size:18px}.toolbar label{background:#fff;border:1px solid #d9e2ec;border-radius:14px;align-items:center;gap:8px;padding:0 18px;display:flex}.toolbar input[type=checkbox]{width:24px;height:24px}.inventory-list{gap:12px;display:grid}.inventory-list article{background:#fff;border:1px solid #d9e2ec;border-left:6px solid #2cb67d;border-radius:16px;grid-template-columns:1fr auto 110px;align-items:center;gap:20px;padding:18px 22px;display:grid}.inventory-list article.low{border-left-color:var(--red);background:snow}.inventory-list h2{margin:4px 0;font-size:20px}.inventory-list small{color:#627d98}.stock{text-align:right}.stock b,.stock small{display:block}.stock b{font-size:30px}.inventory-list article>span{text-align:center;color:#12643e;background:#e7f8ef;border-radius:999px;padding:8px;font-size:13px;font-weight:800}.inventory-list article.low>span{color:#9b2c2c;background:#ffebeb}.empty{text-align:center;color:#627d98;padding:70px}.wizard-shell{background:#f7f8f5;min-height:100vh}.wizard-head{z-index:2;background:#fff;border-bottom:1px solid #d9e2ec;padding:20px max(20px,50vw - 450px);position:sticky;top:0}.wizard-head a{color:var(--red);font-weight:700}.wizard-head span{color:#627d98;font-size:14px}.wizard{width:min(100%,760px);margin:auto;padding:48px 24px 100px}.wizard>h1{margin-bottom:28px;font-size:clamp(30px,6vw,48px)}.choice-list{gap:14px;display:grid}.choice-list button{text-align:left;min-height:108px;color:var(--navy);background:#fff;border:2px solid #d9e2ec;border-radius:18px;grid-template-columns:1fr auto;align-items:center;padding:18px 22px;display:grid}.choice-list button:hover{border-color:var(--blue)}.choice-list b,.choice-list small{grid-column:1;display:block}.choice-list b{font-size:22px}.choice-list small{color:#627d98;margin-top:7px}.choice-list span{color:var(--blue);grid-area:1/2/3;font-weight:800}.choice-list.compact button{min-height:88px}.big-search{width:100%;min-height:70px;margin-bottom:20px;font-size:20px}.centered{text-align:center}.centered>small{color:#627d98;font-weight:700}.centered>p{color:#486581;font-size:20px}.quantity{grid-template-columns:90px 1fr 90px;align-items:center;gap:20px;margin:32px 0;display:grid}.quantity button{height:88px;color:var(--navy);background:#dceaf4;border:0;border-radius:20px;font-size:42px}.quantity strong{font-size:64px}.quantity strong small{color:#627d98;font-size:16px;display:block}.confirm-card{background:#fff;border:2px solid #d9e2ec;border-radius:24px;gap:8px;margin:24px 0;padding:30px;display:grid}.confirm-card>*{display:block}.confirm-card b{font-size:25px}.confirm-card strong{color:var(--blue);font-size:48px}.confirm-card span,.confirm-card small{color:#627d98}.success{text-align:center;padding-top:100px}.check{width:120px;height:120px;color:var(--green);background:#dff6e9;border-radius:50%;place-items:center;margin:0 auto 28px;font-size:72px;font-weight:800;display:grid}.success p{color:#486581;font-size:20px}.success small{color:#829ab1}@media (width<=700px){.login-card{border-radius:22px;padding:24px 20px}.action-grid{grid-template-columns:1fr}.action{grid-template-columns:54px 1fr auto;min-height:128px;padding:20px}.action>span{width:52px;height:52px}.action b{font-size:22px}.toolbar{flex-direction:column}.toolbar label{min-height:56px}.inventory-list article{grid-template-columns:1fr auto}.inventory-list article>span{grid-column:1/3}.quantity{grid-template-columns:74px 1fr 74px}.quantity button{height:74px}.quantity strong{font-size:52px}.person{grid-template-columns:50px 1fr}.person>small{display:none}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}.spinner{animation:none}}.action.manage{border-top:5px solid #6b46c1}.management-layout{grid-template-columns:minmax(320px,460px) 1fr;align-items:start;gap:26px;display:grid}.item-form,.item-master{background:#fff;border:1px solid #d9e2ec;border-radius:22px;padding:26px;box-shadow:0 8px 24px #102a430d}.item-form h2,.item-master h2{margin-bottom:6px;font-size:26px}.item-form>p{color:#627d98;margin-bottom:24px}.item-form label{color:#334e68;gap:8px;margin:16px 0;font-weight:700;display:grid}.item-form input,.item-form select,.item-form textarea{width:100%;min-height:54px;color:var(--navy);background:#fff;border:2px solid #bcccdc;border-radius:12px;padding:11px 14px}.item-form textarea{resize:vertical;min-height:90px}.item-form input:focus,.item-form select:focus,.item-form textarea:focus{border-color:var(--blue);outline:3px solid #dceaf4}.form-row{grid-template-columns:1fr 1fr;gap:14px;display:grid}.created-message{color:#12643e;background:#e7f8ef;border:1px solid #9ee2be;border-radius:14px;align-items:center;gap:14px;padding:14px;display:flex}.created-message>span{color:#fff;background:#18794e;border-radius:50%;place-items:center;width:38px;height:38px;font-weight:800;display:grid}.created-message b,.created-message strong,.created-message small{display:block}.created-message strong{font-size:20px}.item-master h2 small{color:#627d98;font-size:14px;font-weight:500}.master-list{gap:10px;max-height:700px;margin-top:20px;display:grid;overflow:auto}.master-list article{border-bottom:1px solid #e4e7eb;grid-template-columns:1fr auto;gap:3px 14px;padding:14px 4px;display:grid}.master-list article:last-child{border:0}.master-list article small{color:var(--blue);font-weight:800}.master-list article b{grid-column:1;font-size:18px}.master-list article span{color:#627d98;grid-column:1;font-size:14px}.master-list article em{color:#486581;background:#edf2f7;border-radius:99px;grid-area:1/2/4;align-self:center;padding:7px 10px;font-size:13px;font-style:normal}@media (width<=820px){.management-layout{grid-template-columns:1fr}}@media (width<=700px){.form-row,.master-list article{grid-template-columns:1fr}.master-list article em{grid-area:auto/1;justify-self:start}}.category-manager{background:#fff;border:1px solid #d9e2ec;border-radius:22px;margin-bottom:26px;padding:26px;box-shadow:0 8px 24px #102a430d}.category-manager h2{margin-bottom:5px;font-size:26px}.category-manager>div>p{color:#627d98;margin-bottom:20px}.category-form{grid-template-columns:120px 140px minmax(180px,1fr) auto;align-items:end;gap:12px;display:grid}.category-form label{color:#334e68;gap:7px;font-weight:700;display:grid}.category-form input{text-transform:uppercase;width:100%;height:52px;color:var(--navy);border:2px solid #bcccdc;border-radius:12px;padding:10px 13px}.category-form label:nth-child(3) input{text-transform:none}.category-form button{background:var(--navy);color:#fff;border:0;border-radius:12px;height:52px;padding:0 20px;font-weight:800}.category-form button:disabled{opacity:.5}.category-alert{margin-bottom:0}.category-admin{padding:0;overflow:hidden}.category-admin summary{cursor:pointer;justify-content:space-between;align-items:center;gap:20px;padding:20px 26px;list-style:none;display:flex}.category-admin summary::-webkit-details-marker{display:none}.category-admin summary>span{align-items:center;gap:14px;display:flex}.category-admin summary .eyebrow{margin:0}.category-admin summary b{color:var(--navy);font-size:20px}.category-admin summary small{color:#627d98;background:#edf2f7;border-radius:999px;padding:4px 9px;font-weight:800}.category-admin summary em{color:var(--blue);font-style:normal;font-weight:800}.category-admin[open] summary{border-bottom:1px solid #e4e7eb}.category-admin[open] summary em{font-size:0}.category-admin[open] summary em:after{content:"收合";font-size:14px}.category-admin-body{padding:22px 26px 26px}.category-admin-body>p{color:#627d98;margin-bottom:18px}.category-chips{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:18px;display:grid}.category-chips>div{background:#f8fafc;border:1px solid #d9e2ec;border-radius:10px;grid-template-columns:1fr 34px;align-items:stretch;display:grid;overflow:hidden}.category-chips span{gap:1px;min-width:0;padding:8px 10px;display:grid}.category-chips span b{color:var(--blue);font-size:13px}.category-chips span small{text-overflow:ellipsis;white-space:nowrap;color:#486581;overflow:hidden}.category-chips button{color:#9b2c2c;background:0 0;border:0;border-left:1px solid #e4e7eb;padding:0;font-size:20px}.category-chips button:hover{background:#fff1f1}.category-chips button:disabled{opacity:.4}@media (width<=1000px){.category-chips{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=820px){.category-form{grid-template-columns:1fr 1fr}.category-form label:nth-child(3){grid-column:1/3}.category-chips{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=520px){.category-form{grid-template-columns:1fr}.category-form label:nth-child(3){grid-column:auto}.category-form button{width:100%}.category-admin summary{padding:17px 20px}.category-admin summary .eyebrow{display:none}.category-admin-body{padding:18px 20px 22px}.category-chips{grid-template-columns:1fr}}.action.orders{border-top:5px solid #8a5a00}.action.report{border-top:5px solid #0e7490}.inline-link{place-items:center;display:grid}.work-order-layout{grid-template-columns:minmax(320px,460px) 1fr;align-items:start;gap:26px;display:grid}.report-card{background:#fff;border:1px solid #d9e2ec;border-radius:26px;grid-template-columns:90px 1fr;gap:28px;width:min(100%,720px);margin:50px auto;padding:34px;display:grid;box-shadow:0 12px 36px #102a4314}.report-icon{color:#0e7490;background:#d9f0f5;border-radius:22px;place-items:center;width:82px;height:82px;font-size:32px;font-weight:800;display:grid}.report-card h2{margin-bottom:8px;font-size:30px}.report-card p{color:#627d98}.report-card label{color:#334e68;gap:8px;margin:24px 0;font-weight:700;display:grid}.report-card input{height:58px;color:var(--navy);border:2px solid #bcccdc;border-radius:13px;padding:10px 14px;font-size:18px}@media (width<=820px){.work-order-layout{grid-template-columns:1fr}}@media (width<=600px){.report-card{grid-template-columns:1fr;padding:24px}.report-icon{width:64px;height:64px}}.action.sales{border-top:5px solid #b45309}.flow-strip{background:var(--navy);color:#fff;border-radius:16px;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;margin-bottom:22px;padding:14px 18px;display:flex}.flow-strip span{font-weight:800}.flow-strip i{color:var(--gold);font-style:normal}.success-banner{color:#12643e;background:#e7f8ef;border:1px solid #9ee2be;border-radius:14px;margin:14px 0;padding:15px 18px;font-weight:800}.sales-tabs{background:#e7edf3;border-radius:14px;gap:8px;margin:20px 0;padding:5px;display:flex}.sales-tabs button{color:#486581;background:0 0;border:0;border-radius:10px;flex:1;min-height:50px;font-weight:800}.sales-tabs button.active{color:var(--navy);background:#fff;box-shadow:0 3px 10px #102a431a}.sales-grid{grid-template-columns:minmax(360px,1fr) minmax(360px,1fr);align-items:start;gap:24px;display:grid}.sales-entry{gap:20px;display:grid}.sales-form,.document-list{background:#fff;border:1px solid #d9e2ec;border-radius:20px;padding:24px;box-shadow:0 7px 22px #102a430d}.sales-form h2,.document-list h2{margin-bottom:18px;font-size:25px}.sales-form label{color:#334e68;gap:7px;margin:12px 0;font-weight:700;display:grid}.sales-form input,.sales-form select,.sales-form textarea{width:100%;min-height:50px;color:var(--navy);background:#fff;border:2px solid #bcccdc;border-radius:11px;padding:10px 12px}.sales-form textarea{min-height:70px}.sales-form>button:not(.secondary),.document-list article>button,.doc-actions button{background:var(--navy);color:#fff;border:0;border-radius:11px;min-height:52px;padding:10px 18px;font-weight:800}.two-cols{grid-template-columns:1fr 1fr;gap:0 12px;display:grid}.quote-line{border-top:1px solid #e4e7eb;grid-template-columns:minmax(160px,1fr) 90px 120px auto;align-items:end;gap:8px;padding-top:10px;display:grid}.remove-line{height:50px;color:var(--red);background:#fff1f1;border:0;border-radius:10px;font-weight:700}.small-button{min-height:48px;margin:8px 0;font-size:16px}.quote-total{background:#fff7df;border-radius:12px;justify-content:space-between;align-items:center;margin:12px 0;padding:14px 16px;display:flex}.quote-total b{color:#7c5200;font-size:22px}.document-list{gap:14px;display:grid}.document-list>h2{margin-bottom:4px}.document-list article{border:1px solid #d9e2ec;border-radius:15px;padding:18px}.document-list article header{justify-content:space-between;align-items:start;gap:16px;display:flex}.document-list article header small{color:#486581;background:#edf2f7;border-radius:99px;padding:4px 9px;display:inline-block}.document-list article h3{margin:6px 0 2px;font-size:21px}.document-list article header span{color:#627d98}.document-list article header>b{color:var(--blue);font-size:19px}.document-list article ul{color:#486581;margin:14px 0;padding-left:20px}.document-list article>button{width:100%}.full-list{width:min(100%,860px);margin:auto}.doc-actions{gap:10px;display:flex}.doc-actions button{flex:1}.doc-actions button+button{background:var(--green)}@media (width<=900px){.sales-grid{grid-template-columns:1fr}}@media (width<=620px){.two-cols,.quote-line{grid-template-columns:1fr}.doc-actions,.document-list article header{flex-direction:column}.sales-tabs{overflow:auto}.sales-tabs button{min-width:120px}}.quote-actions{flex-wrap:wrap;gap:8px;display:flex}.quote-actions button{color:#fff;background:#0e7490;border:0;border-radius:10px;flex:1;min-width:110px;min-height:48px;padding:8px 12px;font-weight:800}.quote-actions button:nth-child(2){background:#18794e}.quote-actions button:nth-child(3){background:var(--navy)}.form-hint{color:#627d98;background:#f0f7ff;border-radius:10px;margin:-8px 0 12px;padding:10px 12px;font-size:14px}.quote-line .product-search{grid-column:1/-1;margin-bottom:0}.export-guide{color:#12566a;background:#e8f7fb;border:1px solid #9dd8e5;border-radius:12px;padding:13px 15px;font-weight:800}.quote-line{grid-template-columns:minmax(160px,1fr) 80px 110px 135px auto}.line-total{color:#7c5200;background:#fff7df;border-radius:11px;flex-direction:column;justify-content:center;height:50px;padding:5px 10px;display:flex}.line-total span{font-size:12px;font-weight:700}.line-total b{white-space:nowrap;font-size:16px}@media (width<=620px){.quote-line{grid-template-columns:1fr}}.quote-line{grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible}.quote-line>label:nth-child(2){grid-column:1/-1}.quote-line .line-total{visibility:visible;color:#334e68;background:0 0;grid-column:auto;gap:7px;height:auto;margin:12px 0;padding:0;display:grid}.quote-line .line-total span{font-size:16px;font-weight:700;line-height:normal}.quote-line .line-total b{color:#7c5200;background:#fff7df;border:2px solid #e7c86a;border-radius:11px;align-items:center;width:100%;min-height:50px;padding:10px 12px;font-size:16px;line-height:normal;display:flex}.quote-line .remove-line{grid-column:1/-1}@media (width<=620px){.quote-line{grid-template-columns:1fr}.quote-line .line-total{grid-column:1}}.editing-banner{color:#7c5200;background:#fff7df;border:1px solid #e7c86a;border-radius:10px;padding:11px 13px;font-weight:700}.form-actions{gap:10px;display:flex}.form-actions button{background:var(--navy);color:#fff;border:0;border-radius:11px;flex:1;min-height:52px;font-weight:800}.form-actions button.secondary{color:var(--navy);background:#e7edf3}.quote-actions .edit-action{background:#b45309}.void-stamp{justify-content:space-between;align-items:center;gap:12px;display:flex}.void-stamp span{font-size:14px;font-weight:700}@media (width<=620px){.void-stamp{flex-direction:column;align-items:flex-start}}.doc-actions .danger-action{background:#b42318}.voided-document{opacity:.72;background:#fff7f6}.void-stamp{color:#b42318;text-align:center;letter-spacing:2px;border:2px solid #b42318;border-radius:10px;padding:10px;font-weight:900}.master-list article>.production-actions,.master-list article>.finish-production,.master-list article>.work-order-downloads{grid-column:1/-1;width:100%}.work-order-downloads{border-top:1px solid #e4e7eb;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px;padding-top:12px;display:grid}.work-order-downloads button{color:#fff;background:#0e7490;border:0;border-radius:10px;width:100%;min-height:48px;padding:10px 14px;font-weight:800;line-height:1.35}.work-order-downloads button+button{background:#18794e}.work-order-downloads .complete-work-order{background:#12643e}.work-order-downloads .cancel-work-order{background:#b42318}.auto-number-note{color:#334e68;background:#edf6ff;border:1px solid #b8d8f2;border-radius:13px;justify-content:space-between;align-items:center;margin:18px 0;padding:16px 18px;display:flex}.auto-number-note b{color:#0e7490}.success{color:#12643e;background:#e7f7ed;border-radius:12px;margin:16px 0;padding:14px 16px}.production-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px;display:grid}.production-actions a,.production-actions button{text-align:center;color:#fff;background:#8a5a00;border:0;border-radius:10px;width:100%;min-height:52px;padding:11px 14px;font-weight:800;line-height:1.35;text-decoration:none}.production-actions button{background:#0e7490}.finish-production{background:#edf6ff;border-radius:12px;grid-template-columns:2fr 1fr auto;align-items:end;gap:10px;margin-top:12px;padding:14px;display:grid}.finish-production label{gap:5px;font-weight:700;display:grid}.finish-production select,.finish-production input{border:1px solid #9fb3c8;border-radius:8px;min-width:0;height:42px;padding:6px 9px}.finish-production button{color:#fff;background:#12643e;border:0;border-radius:8px;height:42px;padding:0 14px;font-weight:800}@media (width<=700px){.finish-production,.production-actions,.work-order-downloads{grid-template-columns:1fr}}.delivery-convert-form{background:#edf6ff;border:1px solid #b8d8f2;border-radius:14px;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0;padding:18px;display:grid}.delivery-convert-form h4,.delivery-convert-form .wide{grid-column:1/-1}.delivery-convert-form label{color:#334e68;gap:6px;font-weight:800;display:grid}.delivery-convert-form input,.delivery-convert-form select{background:#fff;border:1px solid #9fb3c8;border-radius:9px;height:44px;padding:7px 10px}.delivery-convert-form .invoice-check{align-items:center;display:flex}.delivery-convert-form .invoice-check input{width:20px;height:20px}.delivery-address,.invoice-summary,.receipt-stamp{color:#334e68;background:#f4f7fa;border-radius:11px;gap:6px;margin:12px 0;padding:13px 15px;display:grid}.invoice-summary{background:#fff6d8}.receipt-stamp{color:#12643e;background:#e7f7ed}@media (width<=700px){.delivery-convert-form{grid-template-columns:1fr}.delivery-convert-form h4,.delivery-convert-form .wide{grid-column:auto}}.delivery-pdf-panel{background:#fff;border:1px solid #d9e2ec;border-radius:18px;margin-top:22px;padding:22px}.delivery-pdf-panel p{color:#627d98}.delivery-pdf-panel div{flex-wrap:wrap;gap:10px;display:flex}.delivery-pdf-panel button{color:#fff;background:#0e7490;border:0;border-radius:10px;padding:12px 16px;font-weight:800}.delivery-search{color:#334e68;background:#f5faff;border:1px solid #b8d8f2;border-radius:14px;gap:8px;padding:18px;font-weight:800;display:grid}.delivery-search>div{gap:9px;display:flex}.delivery-search input{min-width:0;min-height:50px;color:var(--navy);background:#fff;border:2px solid #9fb3c8;border-radius:11px;flex:1;padding:10px 14px;font-size:16px}.delivery-search button{color:var(--navy);background:#e7edf3;border:0;border-radius:11px;padding:10px 18px;font-weight:800}.delivery-search small{color:#627d98}.delivery-empty{text-align:center;color:#627d98;border:1px dashed #bcccdc;border-radius:14px;padding:30px;font-weight:800}@media (width<=560px){.delivery-search>div{flex-direction:column}}.order-list{width:min(100%,1100px)}.order-search{color:#334e68;background:#f5faff;border:1px solid #b8d8f2;border-radius:14px;gap:8px;padding:18px;font-weight:800;display:grid}.order-search>div{gap:9px;display:flex}.order-search input{min-width:0;min-height:50px;color:var(--navy);background:#fff;border:2px solid #9fb3c8;border-radius:11px;flex:1;padding:10px 14px;font-size:16px}.order-search button{color:var(--navy);background:#e7edf3;border:0;border-radius:11px;padding:10px 18px;font-weight:800}.order-search small,.order-approval-record{color:#627d98}.order-edit-form{background:#f8fbfd;border:1px solid #b8d8f2;border-radius:13px;gap:12px;margin:16px 0;padding:16px;display:grid}.order-edit-form label{color:#334e68;gap:6px;font-weight:800;display:grid}.order-edit-form input,.order-edit-form select{width:100%;min-height:46px;color:var(--navy);background:#fff;border:2px solid #bcccdc;border-radius:10px;padding:9px 11px}.order-edit-line{border-top:1px solid #d9e2ec;grid-template-columns:minmax(220px,2fr) 110px 100px 150px;gap:10px;padding-top:10px;display:grid}.order-edit-form .form-actions{gap:10px;display:flex}.order-edit-form .form-actions button{flex:1;min-height:48px}.doc-actions .locked-action{color:#7b8794;cursor:not-allowed;background:#edf2f7}@media (width<=720px){.order-search>div,.order-edit-form .form-actions{flex-direction:column}.order-edit-line{grid-template-columns:1fr 1fr}.order-edit-line label:first-child{grid-column:1/-1}}@media (width<=480px){.order-edit-line{grid-template-columns:1fr}.order-edit-line label:first-child{grid-column:1}}.work-order-tabs{background:#e7edf3;border-radius:15px;grid-template-columns:1fr 1fr;gap:8px;margin:20px 0;padding:6px;display:grid}.work-order-tabs button{color:#486581;background:0 0;border:0;border-radius:11px;min-height:54px;font-size:16px;font-weight:900}.work-order-tabs button.active{color:var(--navy);background:#fff;box-shadow:0 3px 10px #102a431a}.work-order-tabs small{margin-left:5px}.work-order-layout{grid-template-columns:minmax(0,1fr)}.work-order-layout>.item-form{width:min(100%,760px);margin:0 auto}.work-order-layout>.item-master{width:100%}.work-order-filters{gap:14px;margin:18px 0;display:grid}.work-order-status-tabs{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;display:grid}.work-order-status-tabs button{color:#486581;background:#fff;border:1px solid #bcccdc;border-radius:11px;min-height:52px;font-weight:900}.work-order-status-tabs button.active{border-color:var(--navy);background:var(--navy);color:#fff}.work-order-status-tabs small{margin-top:2px;display:block}.work-order-filters>label{color:#334e68;gap:7px;font-weight:800;display:grid}.work-order-filters>label>div{gap:9px;display:flex}.work-order-filters input{min-width:0;min-height:50px;color:var(--navy);border:2px solid #9fb3c8;border-radius:11px;flex:1;padding:10px 14px;font-size:16px}.work-order-filters>label button{color:var(--navy);background:#e7edf3;border:0;border-radius:11px;padding:10px 18px;font-weight:800}@media (width<=600px){.work-order-status-tabs{grid-template-columns:1fr 1fr}.work-order-filters>label>div{flex-direction:column}}.sales-grid .quote-line>.product-picker{color:#334e68;grid-column:4/7;gap:7px;font-weight:700;display:grid;position:relative}.selected-product,.picker-hint{background:#fff;border:2px solid #9fb3c8;border-radius:11px;gap:2px;min-height:50px;padding:9px 12px;display:grid}.selected-product small{color:#627d98;font-weight:500}.selected-product em,.product-results button em{color:#087f9c;font-size:13px;font-style:normal;font-weight:700}.picker-hint{color:#829ab1;align-items:center}.product-results{z-index:20;background:#fff;border:1px solid #9fb3c8;border-radius:12px;gap:6px;max-height:330px;padding:8px;display:grid;position:absolute;top:78px;left:0;right:0;overflow:auto;box-shadow:0 14px 35px #102a4333}.product-results button{width:100%;color:var(--navy);text-align:left;background:#f4f7fa;border:0;border-radius:9px;gap:2px;padding:10px 12px;display:grid}.product-results button:hover,.product-results button:focus{background:#dceaf4}.product-results button small{color:#627d98}.picker-empty,.more-results{color:#627d98;text-align:center;padding:12px}.more-results{border-top:1px solid #e4e7eb}@media (width<=800px){.sales-grid .quote-line>.product-picker{grid-column:1/-1}}@media (width<=560px){.product-results{max-height:280px;box-shadow:none;position:static}}.action.users{border-top:5px solid #6b46c1}.user-admin-layout{grid-template-columns:minmax(320px,430px) 1fr;align-items:start;gap:24px;display:grid}.item-form select{height:52px;color:var(--navy);background:#fff;border:2px solid #bcccdc;border-radius:12px;padding:10px}.item-form fieldset{border:1px solid #bcccdc;border-radius:12px;margin:16px 0;padding:14px}.item-form legend{padding:0 7px;font-weight:800}.permission-grid{grid-template-columns:repeat(2,minmax(110px,1fr));gap:8px;display:grid}.permission-grid label{background:#f3f6f8;border-radius:8px;align-items:center;gap:7px;padding:8px;font-size:14px;display:flex}.permission-grid input{width:18px;height:18px}.user-list{gap:12px;display:grid}.user-list>h2{font-size:26px}.user-list article{background:#fff;border:1px solid #d9e2ec;border-radius:16px;padding:18px}.user-list article header{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.user-list article header div{display:grid}.user-list article header span{color:#627d98}.active-toggle{gap:6px;display:flex}.user-edit-grid{grid-template-columns:1fr 1fr;gap:10px;margin:0 0 14px;display:grid}.user-edit-grid label{color:var(--navy);gap:6px;font-weight:800;display:grid}.user-edit-grid .wide{grid-column:1/-1}.user-edit-grid input,.user-edit-grid select{width:100%;height:46px;color:var(--navy);background:#fff;border:2px solid #bcccdc;border-radius:10px;padding:8px 12px}.user-list article>button{background:var(--navy);color:#fff;border:0;border-radius:9px;margin-top:12px;padding:10px 16px;font-weight:800}@media (width<=850px){.user-admin-layout,.user-edit-grid{grid-template-columns:1fr}.user-edit-grid .wide{grid-column:auto}}.topbar-actions{gap:8px;display:flex}.topbar-actions a{place-items:center;text-decoration:none;display:grid}.profile-form{width:min(100%,560px);margin:30px auto}.sales-entry{display:contents}.customer-form{grid-column:1/-1}.customer-form-head{justify-content:space-between;align-items:center;gap:20px;display:flex}.customer-form-head h2{margin:3px 0 0}.customer-form-head .form-hint{margin:0}.customer-fields{grid-template-columns:1.3fr 1fr 1fr 1fr;align-items:end;gap:0 12px;display:grid}.customer-fields label{margin:9px 0}.customer-address{grid-column:1/4}.customer-fields>button{background:var(--navy);color:#fff;border:0;border-radius:11px;height:50px;margin-bottom:9px;font-weight:800}.sales-grid>.document-list{max-height:calc(100vh - 36px);position:sticky;top:18px;overflow:auto}@media (width<=900px){.sales-entry{display:contents}.sales-grid>.document-list{max-height:none;position:static}.customer-fields{grid-template-columns:1fr 1fr}.customer-address{grid-column:1/2}}@media (width<=560px){.customer-form-head{flex-direction:column;align-items:start}.customer-fields{grid-template-columns:1fr}.customer-address{grid-column:auto}}.customer-tab{gap:20px;display:grid}.customer-directory{background:#fff;border:1px solid #d9e2ec;border-radius:20px;padding:24px}.customer-directory h2{margin-bottom:14px;font-size:25px}.customer-directory{grid-template-columns:repeat(2,minmax(260px,1fr));gap:10px;display:grid}.customer-directory>h2{grid-column:1/-1}.customer-directory article{border:1px solid #d9e2ec;border-radius:12px;padding:14px;display:grid}.customer-directory article span,.customer-directory article small{color:#627d98}@media (width<=680px){.customer-directory{grid-template-columns:1fr}}.sales-grid{grid-template-columns:minmax(0,1fr);gap:22px}.sales-grid>.sales-form{width:100%;padding:30px 34px}.sales-grid>.document-list{grid-template-columns:minmax(0,1fr) auto;align-items:center;width:100%;max-height:none;padding:26px 30px;position:static;top:auto;overflow:visible}.sales-grid>.document-list>h2{grid-column:1;margin:0}.sales-grid>.document-list>.export-guide{grid-area:1/2;margin:0}.sales-grid>.document-list>article{grid-column:1/-1;grid-template-columns:minmax(0,1fr) minmax(180px,240px);align-items:start;gap:0 24px;display:grid}.sales-grid>.document-list>article header{grid-area:1/1}.sales-grid>.document-list>article ul{grid-area:2/1;margin-bottom:0}.sales-grid>.document-list>article .quote-actions{grid-area:1/2/3;grid-template-columns:1fr;align-self:start;display:grid}.sales-grid>.document-list>article .quote-actions button{width:100%;min-width:0}.sales-grid .quote-line{background:#fbfcfd;border:1px solid #e4e7eb;border-radius:14px;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px 14px;margin-top:18px;padding:18px}.sales-grid .quote-line .product-search{grid-column:1/4;margin:0}.sales-grid .quote-line>label:nth-child(2){grid-column:4/7;margin:0}.sales-grid .quote-line>label:nth-child(3){grid-column:1/3}.sales-grid .quote-line>label:nth-child(4){grid-column:3/5}.sales-grid .quote-line .line-total{grid-column:5/7}.sales-grid .quote-line .remove-line{grid-column:1/-1;justify-self:end;width:140px}@media (width<=800px){.sales-grid>.sales-form{padding:24px}.sales-grid>.document-list{grid-template-columns:1fr;padding:24px}.sales-grid>.document-list>h2,.sales-grid>.document-list>.export-guide{grid-area:auto/1}.sales-grid>.document-list>article{grid-template-columns:1fr}.sales-grid>.document-list>article header,.sales-grid>.document-list>article ul,.sales-grid>.document-list>article .quote-actions{grid-area:auto/1}.sales-grid>.document-list>article .quote-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.sales-grid .quote-line{grid-template-columns:repeat(3,minmax(0,1fr))}.sales-grid .quote-line .product-search,.sales-grid .quote-line>label:nth-child(2){grid-column:1/-1}.sales-grid .quote-line>label:nth-child(3),.sales-grid .quote-line>label:nth-child(4),.sales-grid .quote-line .line-total{grid-column:auto}}@media (width<=560px){.sales-grid>.document-list>article .quote-actions,.sales-grid .quote-line{grid-template-columns:1fr}.sales-grid .quote-line>label:nth-child(3),.sales-grid .quote-line>label:nth-child(4),.sales-grid .quote-line .line-total{grid-column:1}.sales-grid .quote-line .remove-line{width:100%}}.sales-grid>.document-list{display:none}.quote-records{grid-template-columns:minmax(0,1fr) auto;align-items:center;width:100%;padding:26px 30px}.quote-records>h2{grid-column:1;margin:0}.quote-records>.export-guide{grid-area:1/2;margin:0}.quote-records>article{grid-column:1/-1;grid-template-columns:minmax(0,1fr) minmax(180px,240px);align-items:start;gap:0 24px;display:grid}.quote-records>article header{grid-area:1/1}.quote-records>article ul{grid-area:2/1;margin-bottom:0}.quote-records>article .quote-actions{grid-area:1/2/3;grid-template-columns:1fr;align-self:start;display:grid}.quote-records>article .quote-actions button{width:100%;min-width:0}@media (width<=800px){.quote-records{grid-template-columns:1fr;padding:24px}.quote-records>h2,.quote-records>.export-guide{grid-area:auto/1}.quote-records>article{grid-template-columns:1fr}.quote-records>article header,.quote-records>article ul,.quote-records>article .quote-actions{grid-area:auto/1}.quote-records>article .quote-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=560px){.quote-records>article .quote-actions{grid-template-columns:1fr}}.form-actions .pdf-submit{background:#0e7490}.receipt-category-filter{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:16px;padding:2px 0 14px;display:grid}.receipt-category-filter button{color:#486581;overflow-wrap:anywhere;background:#fff;border:1px solid #bcccdc;border-radius:12px;width:100%;min-width:0;padding:10px 8px;font-weight:800}.receipt-category-filter button small{color:#829ab1;margin-top:3px;font-size:11px;display:block}.receipt-category-filter button.active{border-color:var(--navy);background:var(--navy);color:#fff}.receipt-category-filter button.active small{color:#d9e2ec}.receipt-groups{gap:24px;display:grid}.receipt-groups>section{background:#fff;border:1px solid #d9e2ec;border-radius:16px;padding:18px}.receipt-groups h2{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;font-size:21px;display:flex}.receipt-groups h2 small{color:#627d98;font-size:12px}.receipt-groups .choice-list button{box-shadow:none}@media (width<=680px){.receipt-category-filter{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=380px){.receipt-category-filter{grid-template-columns:1fr}}.receipt-groups>.finished-goods-group{background:#f7fcfd;border-left:6px solid #0e7490}.finished-goods-group h2{color:#0e6075}.finished-goods-group h2 small{color:#0e6075;background:#d9f0f5;border-radius:999px;padding:6px 10px}.wizard-quick-action{justify-content:flex-end;width:min(100%,760px);margin:28px auto -28px;padding:0 24px;display:flex}.wizard-quick-action a{background:var(--navy);color:#fff;border-radius:12px;align-items:center;min-height:48px;padding:10px 18px;font-weight:800;text-decoration:none;display:inline-flex;box-shadow:0 6px 16px #102a4324}.filter-title{color:#334e68;margin:4px 0 10px;font-size:18px}.product-group-filter{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:22px;display:grid}.product-group-filter button{color:#0e6075;background:#f7fcfd;border:2px solid #b8dce5;border-radius:12px;min-height:52px;padding:9px;font-weight:800}.product-group-filter button.active{color:#fff;background:#0e7490;border-color:#0e7490}@media (width<=600px){.product-group-filter{grid-template-columns:1fr 1fr}}.finished-type-picker{background:#f8fcfd;border:1px solid #cfe3e8;border-radius:16px;margin-top:20px;padding:18px}.finished-type-picker>header{justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:16px;display:flex}.finished-type-picker>header h2{margin:0;font-size:20px}.finished-type-picker>header small{color:#627d98;font-weight:700}.finished-type-picker>section{border-top:1px solid #d9e8ec;grid-template-columns:150px minmax(0,1fr);align-items:start;gap:14px;padding:14px 0;display:grid}.finished-type-picker>section:first-of-type{border-top:0;padding-top:0}.finished-type-picker h3{color:var(--navy);gap:2px;margin:8px 0 0;font-size:18px;display:grid}.finished-type-picker h3 small,.finished-type-picker button small{color:#829ab1;font-size:11px;font-weight:700;display:block}.finished-type-picker .product-group-filter{margin:0}.finished-type-picker .product-group-filter button{place-items:center;gap:3px;display:grid}.finished-type-picker .product-group-filter button.active small{color:#d9f0f5}@media (width<=700px){.finished-type-picker>section{grid-template-columns:1fr}.finished-type-picker h3{margin:0}.finished-type-picker>header{display:grid}.finished-type-picker .product-group-filter{grid-template-columns:1fr 1fr}}@media (width<=420px){.finished-type-picker .product-group-filter{grid-template-columns:1fr}}.receipt-purchase-fields{text-align:left;grid-template-columns:1fr 1fr;gap:12px;margin:8px 0 24px;display:grid}.receipt-purchase-fields label{color:#334e68;gap:7px;font-weight:800;display:grid}.receipt-purchase-fields input{width:100%;min-height:56px;color:var(--navy);border:2px solid #bcccdc;border-radius:12px;padding:11px 14px;font-size:17px}.receipt-purchase-fields>div{color:#7c5200;background:#fff7df;border-radius:12px;grid-column:1/-1;justify-content:space-between;align-items:center;padding:14px 16px;font-weight:800;display:flex}.receipt-purchase-fields>div b{font-size:21px}@media (width<=560px){.receipt-purchase-fields{grid-template-columns:1fr}.receipt-purchase-fields>div{grid-column:1}}.receipt-source-choice{text-align:left;grid-template-columns:1fr 1fr;gap:12px;margin:8px 0 20px;display:grid}.receipt-source-choice button{color:#334e68;background:#fff;border:2px solid #bcccdc;border-radius:14px;min-height:82px;padding:14px 16px}.receipt-source-choice b,.receipt-source-choice small{display:block}.receipt-source-choice b{font-size:18px}.receipt-source-choice small{color:#627d98;margin-top:5px}.receipt-source-choice button.active{color:#0e6075;background:#e8f7fb;border-color:#0e7490}.self-made-notice{color:#12566a;background:#e8f7fb;border:1px solid #9dd8e5;border-radius:12px;margin:8px 0 22px;padding:15px 17px;font-weight:800}@media (width<=560px){.receipt-source-choice{grid-template-columns:1fr}}.inventory-filters{background:#fff;border:1px solid #d9e2ec;border-radius:16px;margin-bottom:22px;padding:20px 22px}.inventory-filters h2{margin:0 0 10px;font-size:18px}.inventory-filters .receipt-category-filter{margin-bottom:4px}.inventory-list article em{color:#829ab1;margin-top:5px;font-size:13px;font-style:normal;display:block}.customer-picker{color:#334e68;gap:7px;font-weight:700;display:grid}.customer-picker input,.customer-picker select{width:100%}.customer-picker select{font-weight:600}.customer-no-result{color:#a61b1b;background:#fff1f0;border-radius:8px;padding:8px 10px;font-weight:700}.item-category-picker{border:0;margin:0;padding:0}.item-category-picker legend{color:#334e68;margin-bottom:8px;font-weight:700}.item-category-picker>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.item-category-picker button{color:#334e68;text-align:left;background:#fff;border:2px solid #bcccdc;border-radius:11px;gap:3px;min-height:62px;padding:10px 12px;display:grid}.item-category-picker button b{font-size:15px}.item-category-picker button small{color:#829ab1}.item-category-picker button.active{border-color:var(--navy);background:var(--navy);color:#fff;box-shadow:0 4px 12px #102a432e}.item-category-picker button.active small{color:#d9e2ec}.selected-category{color:#087f5b;margin-top:8px;font-weight:800;display:block}@media (width<=560px){.item-category-picker>div{grid-template-columns:1fr}}.item-edit-actions{grid-template-columns:1fr auto;gap:10px;display:grid}.item-edit-actions .secondary{min-width:110px}.master-list article .edit-item-button{background:var(--navy);color:#fff;border:0;border-radius:9px;grid-column:2;justify-self:end;padding:8px 16px;font-weight:800}.master-list article.editing-item{background:#eefbff;border:2px solid #0e7490;border-radius:12px;padding:14px 12px}.master-list article.editing-item .edit-item-button{background:#0e7490}@media (width<=700px){.item-edit-actions{grid-template-columns:1fr}.master-list article .edit-item-button{grid-column:1;justify-self:start}}.item-search{color:#334e68;gap:7px;margin-top:18px;font-weight:800;display:grid}.item-search>div{gap:8px;display:flex}.item-search input{min-width:0;min-height:50px;color:var(--navy);border:2px solid #9fb3c8;border-radius:11px;flex:1;padding:10px 14px;font-size:16px}.item-search input:focus{border-color:var(--blue);outline:3px solid #dceaf4}.item-search button{color:var(--navy);background:#e7edf3;border:0;border-radius:10px;padding:0 16px;font-weight:800}.item-search>small{color:#627d98;font-weight:600}@media (width<=560px){.item-search>div{display:grid}.item-search button{min-height:44px}}.quote-head-fields{grid-template-columns:minmax(0,1fr) 240px;align-items:end;gap:14px;display:grid}.currency-picker{color:#334e68;gap:7px;font-weight:700;display:grid}.currency-picker select{width:100%;min-height:54px}@media (width<=700px){.quote-head-fields{grid-template-columns:1fr}}.quote-customer-phone{color:#24577c;background:#eef6fb;border-radius:8px;margin-top:7px;padding:7px 10px;font-weight:800;display:block}.quote-items-toolbar{z-index:12;background:#edf8fc;border:1px solid #b9d7e5;border-radius:13px;justify-content:space-between;align-items:center;gap:16px;margin:22px 0 6px;padding:13px 16px;display:flex;position:sticky;top:8px;box-shadow:0 5px 16px #102a4314}.quote-items-toolbar>div{gap:2px;display:grid}.quote-items-toolbar b{color:var(--navy);font-size:18px}.quote-items-toolbar span{color:#627d98;font-size:13px}.quote-items-toolbar button,.quote-add-footer button{color:#fff;background:#087f9c;border:0;border-radius:10px;min-height:46px;padding:9px 18px;font-weight:900}.quote-items-toolbar button:disabled,.quote-add-footer button:disabled{color:#718096;background:#cbd5df}.quote-add-footer{background:#f5fbfd;border:2px dashed #9cc9d9;border-radius:13px;grid-template-columns:minmax(220px,360px) 1fr;align-items:center;gap:14px;margin:14px 0 20px;padding:14px;display:grid}.quote-add-footer small{color:#486581;font-weight:700}.sales-grid .quote-line .remove-line{color:#b42318;background:#fff5f5;border:1px solid #f4b8b8}.sales-grid .quote-line .remove-line:hover{background:#ffe2e2}@media (width<=620px){.quote-items-toolbar{flex-direction:column;align-items:stretch;position:static}.quote-items-toolbar button{width:100%}.quote-add-footer{grid-template-columns:1fr}}.quote-tax-summary{background:#fffaf0;border:1px solid #e8c45b;border-radius:14px;gap:0;margin-top:16px;display:grid;overflow:hidden}.quote-tax-summary>div{color:#334e68;border-top:1px solid #f3df9f;justify-content:space-between;align-items:center;gap:18px;padding:11px 16px;display:flex}.quote-tax-summary .tax-caption{background:#fff3cd;border-top:0;justify-content:stretch;gap:3px;display:grid}.quote-tax-summary .tax-caption b{color:#805500;font-size:17px}.quote-tax-summary .tax-caption small{color:#8d6b24}.quote-tax-summary>div>b{font-size:18px}.quote-tax-summary .grand-total{color:#6b4600;background:#ffe7a3}.quote-tax-summary .grand-total span,.quote-tax-summary .grand-total b{font-size:22px;font-weight:900}.record-tax-summary{text-align:right;background:#fffaf0;border:1px solid #e8c45b;border-radius:12px;grid-template-columns:repeat(3,auto);align-items:center;gap:7px 14px;padding:9px 12px;display:grid}.record-tax-summary span,.record-tax-summary strong{color:#627d98;gap:2px;font-size:12px;display:grid}.record-tax-summary b{color:var(--navy);font-size:16px}.record-tax-summary strong{color:#805500;border-left:2px solid #e8c45b;padding-left:14px}.record-tax-summary strong b{color:#805500;font-size:19px}@media (width<=700px){.record-tax-summary{text-align:left;grid-template-columns:1fr;width:100%}.record-tax-summary strong{border-top:2px solid #e8c45b;border-left:0;padding:7px 0 0}}.receipt-purchase-fields .purchase-tax-summary{color:#334e68;background:#fffaf0;border:1px solid #e8c45b;border-radius:12px;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:0;display:grid;overflow:hidden}.purchase-tax-summary>span,.purchase-tax-summary>strong{gap:4px;padding:14px 16px;display:grid}.purchase-tax-summary>span+span,.purchase-tax-summary>strong{border-left:1px solid #e8c45b}.purchase-tax-summary b{color:var(--navy);font-size:19px}.purchase-tax-summary strong{color:#805500;background:#ffe7a3}.purchase-tax-summary strong b{color:#805500}.confirm-card .confirm-tax-total{color:#805500;background:#ffe7a3;border-radius:9px;margin-top:4px;padding:9px 12px;font-weight:900}@media (width<=560px){.receipt-purchase-fields .purchase-tax-summary{grid-template-columns:1fr}.purchase-tax-summary>span+span,.purchase-tax-summary>strong{border-top:1px solid #e8c45b;border-left:0}}.quote-records>article{border-left:5px solid var(--blue);grid-template-columns:minmax(0,1fr) minmax(200px,250px);align-items:center;gap:18px 24px;padding:20px 22px}.quote-records>article header{grid-area:1/1;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px;display:grid}.quote-record-identity{gap:5px;display:grid}.quote-record-identity h3{letter-spacing:.02em;margin:0;font-size:23px}.quote-record-identity span{color:#486581;font-size:16px}.quote-status-row{align-items:center;gap:8px;display:flex}.quote-status-row span{background:#fff0c2;border-radius:999px;width:max-content;padding:5px 10px;font-weight:900;display:inline-flex;color:#785800!important;font-size:13px!important}.quote-status-row small{color:#627d98;font-weight:800}.quote-status-approved{border-left-color:#18875b!important}.quote-status-approved .quote-status-row span{background:#e3f6ec;color:#126b48!important}.quote-status-converted{border-left-color:#627d98!important}.quote-status-converted .quote-status-row span{background:#e9eef3;color:#334e68!important}.quote-record-identity>small{color:#627d98;font-weight:700}.quote-actions .approve-quote{color:#fff;background:#18875b}.quote-actions .convert-quote{background:var(--navy);color:#fff}.quote-actions .locked-action{color:#7b8794;cursor:not-allowed;background:#edf2f7}.source-quote{color:#24577c;background:#eef6fb;border-radius:8px;width:max-content;margin-top:8px;padding:6px 10px;font-size:13px;display:block}.quote-record-amount{text-align:right;background:#fff7df;border-radius:12px;gap:3px;min-width:185px;padding:12px 16px;display:grid}.quote-record-amount span{color:#7c6200;font-size:12px;font-weight:700}.quote-record-amount b{color:#7c5200;white-space:nowrap;font-size:21px}.quote-records>article .quote-actions{grid-area:1/2;grid-template-columns:repeat(2,minmax(0,1fr));align-self:center;gap:8px;display:grid}.quote-records>article .quote-actions button{min-height:44px}@media (width<=900px){.quote-records>article{grid-template-columns:1fr}.quote-records>article header,.quote-records>article .quote-actions{grid-area:auto/1}.quote-records>article .quote-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=600px){.quote-records>article header{grid-template-columns:1fr}.quote-record-amount{text-align:left;width:100%}.quote-records>article .quote-actions{grid-template-columns:1fr}}.inventory-list article[role=button]{cursor:pointer;transition:transform .15s,box-shadow .15s,border-color .15s}.inventory-list article[role=button]:hover,.inventory-list article[role=button]:focus-visible{border-color:#8fb3cf;outline:none;transform:translateY(-2px);box-shadow:0 10px 24px #102a431f}.item-card-actions{flex-wrap:wrap;gap:8px;display:flex}.item-card-actions button{flex:1;min-width:110px}.view-item-button{color:#087f9c!important;background:#e6f4f8!important}.item-detail-edit{width:100%;margin-top:18px}.item-master .inventory-detail-summary{grid-template-columns:repeat(2,1fr)}.category-chips>div{grid-template-columns:1fr 34px}.category-chips>div:first-child{grid-template-columns:1fr}.category-chips .category-select{width:100%;height:auto;color:inherit;text-align:left;background:0 0;border:0;padding:0;display:block}.category-chips .category-select span{display:grid}.category-chips .category-delete{color:#9b2c2c;border-left:1px solid #e4e7eb}.category-chips>div.active{background:#e8f7fb;border-color:#0e7490;box-shadow:0 0 0 1px #0e7490}.category-chips>div.active .category-select b,.category-chips>div.active .category-select small{color:#0e6075}.clear-category-filter{color:#0e6075;background:#e8f7fb;border:0;border-radius:9px;margin:8px 0 2px;padding:9px 13px;font-weight:800}.master-list article .item-supplier{color:#12643e;background:#e7f8ef;border-radius:7px;grid-column:1;width:max-content;max-width:100%;margin-top:3px;padding:4px 8px;font-size:13px;font-weight:800;display:inline-flex}.master-list article .item-supplier.missing{color:#829ab1;background:#f1f4f7}.item-master .master-list article{grid-template-columns:minmax(0,1fr) 320px;align-items:stretch;gap:18px;padding:16px 6px;display:grid}.item-card-main{align-content:start;gap:4px;min-width:0;display:grid}.item-card-main>b{font-size:18px}.item-card-main>small{color:var(--blue);font-weight:800}.item-card-main>span:not(.item-supplier){color:#627d98;font-size:14px}.item-card-side{grid-template-rows:auto 1fr;align-items:end;gap:12px;display:grid}.item-card-side>em{text-align:center;color:#486581;background:#edf2f7;border-radius:99px;justify-self:stretch;padding:7px 10px;font-size:13px;font-style:normal}.item-card-side .item-card-actions{grid-template-columns:1fr 1fr;align-self:end;gap:8px;display:grid}.item-card-side .item-card-actions button{width:100%;min-height:46px}.item-card-side .edit-item-button{grid-column:auto;justify-self:stretch}@media (width<=760px){.item-master .master-list article{grid-template-columns:1fr}.item-card-side{grid-template-rows:auto auto;grid-template-columns:1fr}.item-card-side>em{justify-self:start}.item-card-side .item-card-actions{width:100%}}.item-master .master-list article{grid-template-columns:minmax(240px,1fr) minmax(400px,460px);align-items:center}.item-card-side{grid-template-rows:1fr;grid-template-columns:minmax(260px,1fr) 120px;align-items:center;gap:12px;display:grid}.item-card-side .item-card-actions{grid-area:1/1;align-self:center}.item-card-side>em{grid-area:1/2;place-self:center stretch}.item-card-side .item-card-actions button{min-height:48px}@media (width<=1050px){.item-master .master-list article{grid-template-columns:1fr}.item-card-side{grid-template-columns:minmax(240px,1fr) 120px}}@media (width<=560px){.item-card-side{grid-template-columns:1fr}.item-card-side .item-card-actions,.item-card-side>em{grid-area:auto/1}.item-card-side>em{justify-self:start}}.items-management-layout{align-items:stretch}.items-management-layout>.item-form,.items-management-layout>.item-master{height:100%;min-height:0}.items-management-layout>.item-master{flex-direction:column;display:flex}.items-management-layout>.item-master>.master-list{flex:1 1 0;height:0;min-height:0;max-height:none;overflow-y:auto}@media (width<=820px){.items-management-layout>.item-form,.items-management-layout>.item-master{height:auto}.items-management-layout>.item-master>.master-list{height:auto;max-height:700px}}.inventory-detail-backdrop{z-index:1000;background:#102a438c;justify-content:flex-end;display:flex;position:fixed;inset:0}.inventory-detail-panel{background:#f5f8fb;width:min(720px,94vw);height:100vh;padding:34px;position:relative;overflow:auto;box-shadow:-16px 0 40px #102a4340}.inventory-detail-close{float:right;z-index:2;background:var(--navy);color:#fff;border:0;border-radius:50%;width:44px;height:44px;font-size:28px;line-height:1;position:sticky;top:0}.inventory-detail-panel>header{padding:8px 56px 22px 0}.inventory-detail-panel>header small{color:#627d98}.inventory-detail-panel>header h2{margin:5px 0;font-size:30px}.inventory-detail-panel>header b{color:var(--blue)}.detail-loading{text-align:center;color:#486581;padding:80px 20px;font-weight:800}.inventory-detail-summary{grid-template-columns:repeat(3,1fr);gap:12px;display:grid}.inventory-detail-summary>div{background:#fff;border:1px solid #d9e2ec;border-radius:14px;gap:6px;padding:16px;display:grid}.inventory-detail-summary span{color:#627d98;font-size:12px}.inventory-detail-summary strong{color:var(--navy);font-size:19px}.inventory-detail-meta{background:#d9e2ec;border:1px solid #d9e2ec;border-radius:14px;gap:1px;margin:18px 0;display:grid;overflow:hidden}.inventory-detail-meta>div{background:#fff;grid-template-columns:110px 1fr;padding:12px 15px;display:grid}.inventory-detail-meta dt{color:#627d98;font-weight:700}.inventory-detail-meta dd{color:var(--navy);margin:0}.inventory-history-head{justify-content:space-between;align-items:end;margin:26px 0 10px;display:flex}.inventory-history-head h3{margin:0;font-size:21px}.inventory-history-head small{color:#627d98}.inventory-history{gap:10px;display:grid}.inventory-history>article{border:1px solid #d9e2ec;border-left:5px solid var(--blue);background:#fff;border-radius:13px;grid-template-columns:1fr auto;gap:8px 16px;padding:15px 16px;display:grid}.inventory-history>article.history-receipt{border-left-color:var(--green)}.inventory-history>article.history-issue{border-left-color:#b45309}.inventory-history>article.history-return{border-left-color:#0e7490}.inventory-history>article>div{gap:2px;display:grid}.inventory-history time{color:#829ab1;font-size:12px}.inventory-history>article>strong{font-size:19px}.inventory-history p{color:#486581;flex-wrap:wrap;grid-column:1/-1;gap:6px 16px;margin:0;font-size:13px;display:flex}.empty-history{text-align:center;color:#627d98;background:#fff;border:1px dashed #bcccdc;border-radius:13px;padding:35px}@media (width<=600px){.inventory-detail-panel{width:100vw;padding:22px 18px}.inventory-detail-summary{grid-template-columns:1fr}.inventory-detail-meta>div{grid-template-columns:1fr;gap:3px}.inventory-history>article{grid-template-columns:1fr}.inventory-history>article>strong{grid-row:2}.inventory-history p{grid-row:3}}:root{--brand-red:#e50914;--brand-red-dark:#b70710;--navy:#11283f;--blue:#24577c;--ice:#eef4f7;--line:#d8e1e8;--surface:#fff;--gold:#e50914}body{color:var(--navy);letter-spacing:.01em;background:linear-gradient(#edf3f6 0,#f8fafb 320px,#f4f7f9 100%)}button,input,select,textarea{font-family:inherit}button{transition:transform .15s,box-shadow .15s,background .15s}button:active{transform:translateY(1px)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:2px;outline:3px solid #e509142e}.app-shell{width:min(100%,1180px);padding-top:26px}.login-shell{background:radial-gradient(circle at 12% 10%,#e5091414,#0000 30%),linear-gradient(145deg,#edf3f6,#fff 55%,#e8f0f4)}.login-card{border:0;border-top:6px solid var(--brand-red);box-shadow:0 26px 80px #11283f29}.brand{align-items:center}.torol-logo{flex:none;place-items:center;width:180px;height:48px;display:grid;overflow:hidden}.torol-logo img{width:175px;height:auto;display:block}.brand>div{border-left:1px solid var(--line);padding-left:18px}.brand strong{font-size:18px}.brand small{margin-top:2px;font-size:13px}.primary{background:linear-gradient(135deg,var(--brand-red),var(--brand-red-dark));color:#fff;box-shadow:0 8px 22px #e5091440}.primary:hover{box-shadow:0 12px 28px #e509144d}.topbar{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffffeb;border:1px solid #d8e1e8f2;border-radius:18px;padding:17px 20px;box-shadow:0 8px 26px #11283f0f}.home-brand{align-items:center;gap:18px;display:flex}.home-brand .torol-logo{width:150px;height:44px}.home-brand .torol-logo img{width:145px}.topbar h1{font-size:21px}.quiet{border-color:var(--line);font-weight:700}.quiet:hover{border-color:var(--brand-red);color:var(--brand-red);background:#fff7f7}.hero{border-left:6px solid var(--brand-red);background:linear-gradient(90deg,#ffffffeb,#ffffff73);border-radius:0 18px 18px 0;margin:42px 0 26px;padding:24px 28px;position:relative}.hero h2{margin-bottom:8px;font-size:clamp(30px,5vw,46px)}.hero .eyebrow,.eyebrow{color:var(--brand-red);letter-spacing:.16em}.hero p{margin-bottom:0}.action-grid{gap:16px}.action{border:1px solid var(--line);border-top:0;border-left:5px solid var(--navy);border-radius:18px;min-height:142px;box-shadow:0 7px 22px #11283f0e}.action:hover{border-left-color:var(--brand-red);transform:translateY(-3px);box-shadow:0 14px 32px #11283f1c}.action>span{background:var(--ice);color:var(--navy);border-radius:15px;font-size:27px}.action b{font-size:22px}.action em{color:var(--brand-red)}.action.issue,.action.receipt,.action.return,.action.neutral,.action.manage,.action.orders,.action.report,.action.sales,.action.users{border-top:0}.page-head{border:1px solid var(--line);background:#fff;border-radius:16px;margin-bottom:24px;padding:15px 18px;box-shadow:0 6px 20px #11283f0d}.page-head>a{background:var(--navy);color:#fff;border-radius:11px;place-items:center;min-height:44px;padding:0 15px;font-weight:800;display:grid}.page-head small{color:var(--brand-red);letter-spacing:.08em;font-weight:800}.page-head h1{font-size:25px}.sales-tabs{background:#dde6ec;padding:6px}.sales-tabs button.active{box-shadow:inset 0 -3px 0 var(--brand-red),0 3px 10px #11283f14}.flow-strip{background:linear-gradient(115deg,var(--navy),#1c4564);box-shadow:0 8px 22px #11283f24}.flow-strip i{color:#ff7b82}.sales-form,.document-list,.inventory-filters,.customer-directory,.user-list article,.master-list,.work-order-form,.report-card{border-color:var(--line);box-shadow:0 8px 26px #11283f0e}.sales-form input,.sales-form select,.sales-form textarea,.toolbar input{border-color:#b8c8d4}.sales-form input:focus,.sales-form select:focus,.sales-form textarea:focus,.toolbar input:focus{border-color:var(--brand-red);outline:3px solid #e509141a}.status{color:#12643e;background:#eaf7f0;border-radius:12px;margin-top:30px;padding:12px 16px;font-weight:700}.status i{box-shadow:0 0 0 4px #18794e1f}@media (width<=700px){.app-shell{padding:18px 14px}.topbar,.home-brand{align-items:flex-start}.home-brand .torol-logo{width:105px;height:34px}.home-brand .torol-logo img{width:100px}.topbar-actions{flex-direction:column}.topbar-actions .quiet{padding:8px 10px}.hero{margin-top:24px;padding:20px}.brand{flex-direction:column;align-items:flex-start}.brand>div{border-left:0;border-top:1px solid var(--line);width:100%;padding:12px 0 0}.torol-logo{width:150px;height:42px}.torol-logo img{width:145px}}.action.accounting{border-left-color:#7c3aed}.accounting-page{width:min(100%,1400px)}.accounting-summary{grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:18px;display:grid}.accounting-summary article{border:1px solid var(--line);background:#fff;border-radius:16px;gap:6px;padding:18px 20px;display:grid;box-shadow:0 6px 20px #11283f0d}.accounting-summary span{color:#627d98;font-size:14px}.accounting-summary b{font-size:25px}.accounting-layout{grid-template-columns:minmax(400px,.85fr) minmax(560px,1.35fr);align-items:start;gap:18px;display:grid}.accounting-form,.expense-register{border:1px solid var(--line);background:#fff;border-radius:20px;padding:24px;box-shadow:0 8px 28px #11283f0f}.accounting-form{gap:15px;display:grid}.accounting-form h2,.expense-register h2{margin-bottom:0}.accounting-form label{color:#334e68;gap:7px;font-weight:800;display:grid}.accounting-form input,.accounting-form select,.accounting-form textarea,.expense-filters input,.expense-filters select{width:100%;min-height:50px;color:var(--navy);background:#fff;border:2px solid #b8c8d4;border-radius:11px;padding:10px 13px;font-size:16px}.accounting-form textarea{resize:vertical}.two-fields{grid-template-columns:1fr 1fr;gap:12px;display:grid}.expense-type-picker{grid-template-columns:repeat(2,1fr);gap:8px;display:grid}.expense-type-picker button{color:#486581;background:#f8fafc;border:2px solid #d1dce5;border-radius:11px;min-height:52px;font-weight:800}.expense-type-picker button.active{border-color:var(--brand-red);color:var(--brand-red);background:#fff1f1}.expense-tax-preview{background:#fffaf0;border:1px solid #e8c45b;border-radius:12px;grid-template-columns:1fr 1fr 1.2fr;display:grid;overflow:hidden}.expense-tax-preview span,.expense-tax-preview strong{color:#627d98;gap:3px;padding:11px 12px;font-size:12px;display:grid}.expense-tax-preview>*+*{border-left:1px solid #e8c45b}.expense-tax-preview strong{color:#805500;background:#ffe7a3}.expense-tax-preview b{color:var(--navy);font-size:15px}.expense-tax-preview strong b{color:#805500}.recurring-check{grid-template-columns:auto 1fr;align-items:center;display:flex!important}.recurring-check input{width:22px!important;min-height:22px!important}.expense-register{min-width:0}.expense-register>header{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.expense-register>header>span{color:#486581;background:#edf2f7;border-radius:99px;padding:7px 11px;font-weight:800}.expense-filters{grid-template-columns:minmax(260px,1fr) 150px 145px 130px;gap:8px;margin-bottom:16px;display:grid}.expense-filters>div{display:flex}.expense-filters>div input{border-radius:11px 0 0 11px}.expense-filters>div button{background:var(--navy);color:#fff;border:0;border-radius:0 11px 11px 0;padding:0 15px;font-weight:800}.expense-list{gap:10px;max-height:820px;padding-right:4px;display:grid;overflow:auto}.expense-list article{border:1px solid var(--line);background:#fff;border-left:5px solid #d97706;border-radius:14px;grid-template-columns:minmax(0,1fr) auto;gap:10px 18px;padding:17px 18px;display:grid}.expense-list article.expense-paid{border-left-color:#18794e}.expense-list article.expense-voided{opacity:.7;border-left-color:#94a3b8}.expense-main small{color:#627d98;font-weight:700}.expense-main h3{margin:4px 0 7px;font-size:20px}.expense-main p{flex-wrap:wrap;gap:6px;margin:0;display:flex}.expense-main p span{color:#486581;background:#eef4f7;border-radius:7px;padding:4px 8px;font-size:12px;font-weight:700}.expense-amount{text-align:right;align-content:start;justify-items:end;gap:4px;display:grid}.expense-amount small{color:#829ab1}.expense-amount b{font-size:22px}.expense-amount em{color:#8a5a00;background:#fff3cd;border-radius:99px;padding:4px 9px;font-size:12px;font-style:normal;font-weight:800}.expense-paid .expense-amount em{color:#12643e;background:#e7f8ef}.expense-voided .expense-amount em{color:#627d98;background:#edf2f7}.expense-actions{border-top:1px solid #edf2f7;grid-column:1/-1;justify-content:flex-end;gap:8px;padding-top:9px;display:flex}.expense-actions button{color:#12643e;background:#e7f8ef;border:0;border-radius:9px;min-height:40px;padding:8px 14px;font-weight:800}.expense-actions .danger-link{color:#9b2c2c;background:#fff1f1}@media (width<=1100px){.accounting-layout{grid-template-columns:1fr}.expense-register{min-height:600px}.expense-filters{grid-template-columns:1fr 150px 145px 130px}}@media (width<=760px){.accounting-summary{grid-template-columns:1fr}.expense-filters{grid-template-columns:1fr 1fr}.expense-filters>div{grid-column:1/-1}.expense-list article{grid-template-columns:1fr}.expense-amount{text-align:left;justify-items:start}.expense-actions{justify-content:stretch}.expense-actions button{flex:1}}@media (width<=520px){.two-fields,.expense-type-picker,.expense-tax-preview,.expense-filters{grid-template-columns:1fr}.expense-tax-preview>*+*{border-top:1px solid #e8c45b;border-left:0}.accounting-form,.expense-register{padding:17px}.expense-actions{display:grid}}.payment-account-fields{background:#f8fafc;border:1px solid #d8e1e8;border-radius:13px;gap:12px;margin:0;padding:16px;display:grid}.payment-account-fields legend{color:var(--navy);padding:0 7px;font-weight:900}.expected-payment-date{background:#fff4d6;border-radius:7px;width:max-content;margin-top:5px;padding:4px 8px;display:block;color:#8a5a00!important}.recorded-date{margin-top:9px;display:block;color:#829ab1!important}.payment-account-detail{border-top:1px solid #edf2f7;grid-column:1/-1;padding-top:9px}.payment-account-detail summary{cursor:pointer;color:#24577c;width:max-content;font-weight:800}.payment-account-detail dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0 0;display:grid}.payment-account-detail dl>div{background:#f5f8fb;border-radius:9px;padding:9px 11px}.payment-account-detail dt{color:#829ab1;font-size:12px}.payment-account-detail dd{overflow-wrap:anywhere;color:var(--navy);margin:3px 0 0;font-weight:800}@media (width<=520px){.payment-account-detail dl{grid-template-columns:1fr}}.accounting-layout{grid-template-columns:1fr;gap:18px;display:grid}.accounting-form{gap:18px}.accounting-form-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:end;gap:20px;padding-bottom:15px;display:flex}.accounting-form-head small{color:#627d98}.accounting-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;display:grid}.accounting-form-grid>section{border:1px solid var(--line);background:#fbfcfd;border-radius:15px;align-content:start;gap:15px;min-width:0;padding:19px;display:grid}.accounting-form-grid>section>h3{border-bottom:3px solid var(--brand-red);margin:0;padding-bottom:11px;font-size:19px}.accounting-form>.primary{justify-self:center;width:min(100%,520px)}.recurring-row{grid-template-columns:1fr 180px;align-items:end;gap:12px;display:grid}.expense-register{width:100%;min-height:520px}.expense-list{max-height:760px}.accounting-save-actions{justify-content:center;gap:10px;display:flex}.accounting-save-actions .primary{width:min(100%,520px)}.accounting-save-actions .cancel-edit{color:#334e68;background:#edf2f7;border:1px solid #b8c8d4;border-radius:11px;min-width:130px;font-weight:800}.expense-actions .edit-expense{color:#0e6075;background:#e8f7fb}.payment-reminder-banner{border:1px solid #f0b5b8;border-left:6px solid var(--brand-red);background:#fff5f5;border-radius:14px;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px;padding:16px 20px;display:flex}.payment-reminder-banner div{gap:3px;display:grid}.payment-reminder-banner strong{color:#b70710;font-size:18px}.payment-reminder-banner span{color:#6b3d3f}.payment-reminder-banner button{background:var(--brand-red);color:#fff;border:0;border-radius:9px;min-height:42px;padding:8px 16px;font-weight:900}.payment-status-tabs{grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:12px;display:grid}.payment-status-tabs button{color:#486581;background:#f5f8fb;border:1px solid #c9d7e4;border-radius:10px;min-height:45px;font-weight:900}.payment-status-tabs button.active{border-color:var(--navy);background:var(--navy);color:#fff}.expense-filters{grid-template-columns:minmax(260px,1fr) 170px 170px}.due-reminder{border-radius:99px;width:max-content;margin:5px 0 0;padding:5px 9px;font-size:12px;display:inline-flex}.due-reminder.upcoming{color:#245b85;background:#eaf4ff}.due-reminder.soon{color:#8a5a00;background:#fff3cd}.due-reminder.today,.due-reminder.overdue{color:#b42318;background:#ffe5e5}.expense-list article.expense-upcoming{border-left-color:#6aa7d7}.expense-list article.expense-overdue{background:snow;border-left-color:#d4000b}.expense-list article.expense-today{border-left-color:#ed6a0c}@media (width<=620px){.payment-reminder-banner{flex-direction:column;align-items:stretch}.payment-status-tabs{grid-template-columns:1fr 1fr}}@media (width<=900px){.accounting-form-grid{grid-template-columns:1fr}.accounting-form-grid>section{padding:16px}.accounting-form-head{flex-direction:column;align-items:start}.recurring-row{grid-template-columns:1fr 180px}}@media (width<=520px){.recurring-row{grid-template-columns:1fr}}.auto-expense-no{background:#eef4f7;border-radius:11px;justify-items:end;gap:2px;padding:10px 14px;display:grid}.auto-expense-no span{color:#627d98;font-size:12px;font-weight:800}.auto-expense-no b{font-size:16px}.auto-expense-no small{color:#829ab1}.expense-no{align-items:baseline;gap:9px;margin-bottom:5px;display:flex}.expense-no span{color:#627d98;font-size:12px;font-weight:800}.expense-no b{color:var(--brand-red);letter-spacing:.035em;font-size:18px}@media (width<=900px){.auto-expense-no{justify-items:start;width:100%}}.accounting-tabs{border:1px solid var(--line);background:#dde6ec;border-radius:15px;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:18px;padding:7px;display:grid}.accounting-tabs button{color:#486581;background:0 0;border:0;border-radius:10px;min-height:54px;font-size:17px;font-weight:900}.accounting-tabs button.active{color:var(--brand-red);background:#fff;box-shadow:0 4px 12px #11283f1a}.income-form{margin-bottom:18px}.auto-income-no{background:#e7f8ef;border-radius:11px;justify-items:end;gap:2px;padding:10px 14px;display:grid}.auto-income-no span{color:#486581;font-size:12px;font-weight:800}.auto-income-no b{font-size:16px}.auto-income-no small{color:#627d98}.income-filters{grid-template-columns:minmax(300px,1fr) 170px 150px;gap:8px;margin-bottom:16px;display:grid}.income-filters>div{display:flex}.income-filters input,.income-filters select{width:100%;min-height:50px;color:var(--navy);background:#fff;border:2px solid #b8c8d4;border-radius:11px;padding:10px 13px;font-size:16px}.income-filters>div input{border-radius:11px 0 0 11px}.income-filters>div button{background:var(--navy);color:#fff;border:0;border-radius:0 11px 11px 0;padding:0 16px;font-weight:800}.expense-list article.income-received{border-left-color:#18794e}.expense-list article.income-pending{border-left-color:#0e7490}.expense-list article.income-voided{opacity:.7;border-left-color:#94a3b8}.income-no{align-items:baseline;gap:9px;margin-bottom:5px;display:flex}.income-no span{color:#627d98;font-size:12px;font-weight:800}.income-no b{color:#087f5b;letter-spacing:.035em;font-size:18px}.income-received .expense-amount em{color:#12643e;background:#e7f8ef}.income-pending .expense-amount em{color:#0e6075;background:#e8f7fb}.monthly-accounting{border:1px solid var(--line);background:#fff;border-radius:20px;padding:26px;box-shadow:0 8px 28px #11283f0f}.monthly-accounting>header{justify-content:space-between;align-items:end;gap:20px;margin-bottom:20px;display:flex}.monthly-accounting h2{margin:0}.monthly-accounting>header label{color:#486581;gap:6px;font-weight:800;display:grid}.monthly-accounting>header input{border:2px solid #b8c8d4;border-radius:10px;width:140px;min-height:48px;padding:9px 12px;font-size:16px}.monthly-table-wrap{border:1px solid var(--line);border-radius:14px;overflow:auto}.monthly-table-wrap table{border-collapse:collapse;width:100%;min-width:850px}.monthly-table-wrap th,.monthly-table-wrap td{border-bottom:1px solid var(--line);text-align:right;white-space:nowrap;padding:14px 16px}.monthly-table-wrap thead th{background:var(--navy);color:#fff}.monthly-table-wrap thead th:first-child,.monthly-table-wrap tbody th,.monthly-table-wrap tfoot th{text-align:left}.monthly-table-wrap tbody tr:nth-child(2n){background:#f8fafc}.monthly-table-wrap .money-in{color:#087f5b;font-weight:800}.monthly-table-wrap .money-out{color:#b42318;font-weight:800}.monthly-table-wrap .positive{color:#087f5b;font-weight:900}.monthly-table-wrap .negative{color:#b42318;font-weight:900}.monthly-table-wrap tfoot{color:#6b4600;background:#fff3cd;font-weight:900}.monthly-note{color:#627d98;margin:14px 0 0;font-size:14px}.income-edit-form{background:#f8fcfd;border-color:#88b8c8;margin:0 0 18px}.income-edit-form>.form-actions{justify-content:center;gap:10px;display:flex}.income-edit-form>.form-actions button{width:min(260px,100%)}.income-detail{background:#f7fbfc;border:1px solid #cfe0e8;border-radius:11px;grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:14px;display:grid}.income-detail>div{gap:4px;min-width:0;display:grid}.income-detail span{color:#627d98;font-size:12px;font-weight:800}.income-detail b{overflow-wrap:anywhere;color:#243b53}.income-detail .wide{grid-column:1/-1}@media (width<=760px){.income-detail{grid-template-columns:1fr}.income-detail .wide{grid-column:auto}.income-edit-form>.form-actions{display:grid}.income-edit-form>.form-actions button{width:100%}.accounting-tabs{grid-template-columns:1fr}.income-filters{grid-template-columns:1fr 1fr}.income-filters>div{grid-column:1/-1}.monthly-accounting{padding:17px}.monthly-accounting>header{flex-direction:column;align-items:start}.auto-income-no{justify-items:start;width:100%}}.review-field{background:#fff8f8;border:1px dashed #d6a4a7;border-radius:11px;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;display:flex}.review-field span{color:#627d98;font-size:13px;font-weight:800}.review-field b{color:#b70710}.electronic-stamp{border:3px double var(--brand-red);width:82px;height:82px;color:var(--brand-red);border-radius:50%;place-items:center;margin-top:8px;line-height:1.05;display:grid;transform:rotate(-5deg)}.electronic-stamp strong{font-size:17px}.electronic-stamp span{text-overflow:ellipsis;white-space:nowrap;max-width:68px;font-size:11px;font-weight:900;overflow:hidden}.electronic-stamp small{color:var(--brand-red);font-size:9px}.review-pending{color:#627d98;border:1px dashed #b8c8d4;border-radius:8px;margin-top:8px;padding:5px 10px;font-size:12px;font-weight:800}.expense-actions .review-approve{background:var(--brand-red);color:#fff}.expense-actions .review-revoke{color:#486581;background:#edf2f7}.monthly-tools{align-items:end;gap:10px;display:flex}.monthly-tools label{color:#486581;gap:6px;font-weight:800;display:grid}.monthly-tools button{background:var(--brand-red);color:#fff;border:0;border-radius:10px;min-height:48px;padding:10px 18px;font-weight:900}@media (width<=760px){.monthly-tools{flex-direction:column;align-items:stretch;width:100%}.monthly-tools label input,.monthly-tools button{width:100%}}.company-switcher{border:1px solid var(--line);background:#fff;border-radius:20px;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 22px;padding:12px;display:grid}.company-switcher button{color:var(--navy);background:#f6f9fb;border:1px solid #c9d7e4;border-radius:14px;padding:13px 16px;font-weight:800}.company-switcher button small{color:#71859a;margin-top:3px;display:block}.company-switcher button.active{background:var(--navy);color:#fff;border-color:var(--navy)}.company-switcher button.active small{color:#dce8f2}.wizard-company{grid-template-columns:repeat(3,1fr);max-width:760px;margin:22px auto 0}.company-accounting-controls{border:1px solid var(--line);background:#fff;border-radius:18px;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px;padding:18px;display:grid}.company-accounting-controls label{color:var(--navy);font-weight:800}.company-accounting-controls select{width:100%;margin-top:8px}.company-accounting-controls.filter-only{grid-template-columns:minmax(260px,420px)}.expense-company-field{color:var(--navy);background:#fff7df;border:2px solid #e0a128;border-radius:13px;padding:14px;font-weight:900}.expense-company-field select{background:#fff;margin-top:8px}.expense-company-field small{color:#7a5700;margin-top:7px;font-weight:700;display:block}@media (width<=720px){.company-switcher,.company-accounting-controls{grid-template-columns:1fr}.wizard-company{grid-template-columns:repeat(3,1fr);margin-inline:12px}}.action.purchasing{border-left-color:#e50914}.purchasing-page{width:min(100%,1480px)}.purchase-layout{grid-template-columns:minmax(620px,1.2fr) minmax(440px,.8fr);align-items:start;gap:20px;display:grid}.purchase-form,.purchase-register{border:1px solid var(--line);background:#fff;border-radius:20px;padding:24px;box-shadow:0 8px 28px #11283f0f}.purchase-form{gap:18px;display:grid}.purchase-form h2,.purchase-register h2{margin:0}.purchase-companies{grid-template-columns:repeat(3,1fr);margin:0}.purchase-fields{grid-template-columns:1fr 1fr;gap:13px;display:grid}.purchase-fields label,.purchase-bottom label,.purchase-lines label,.supplier-quick-form label{color:#334e68;gap:6px;font-weight:800;display:grid}.purchase-fields input,.purchase-fields select,.purchase-bottom input,.purchase-bottom textarea,.purchase-lines input,.supplier-quick-form input,.material-picker>input,.purchase-search{width:100%;min-height:48px;color:var(--navy);background:#fff;border:2px solid #b8c8d4;border-radius:10px;padding:10px 12px;font-size:15px}.purchase-fields .wide{grid-column:1/-1}.secondary{min-height:48px;color:var(--navy);background:#eef4f7;border:1px solid #c9d7e4;border-radius:10px;align-self:end;font-weight:800}.supplier-quick-form{background:#fff7f7;border:1px solid #f1b4b8;border-radius:14px;grid-template-columns:repeat(2,1fr);gap:12px;padding:18px;display:grid}.supplier-quick-form h3{grid-column:1/-1;margin:0}.supplier-quick-form button{background:var(--navy);color:#fff;border:0;border-radius:10px;align-self:end;min-height:48px;font-weight:800}.material-picker{gap:8px;display:grid;position:relative}.material-picker h3{margin:0}.material-results{z-index:4;border:1px solid var(--line);background:#fff;border-radius:12px;max-height:340px;padding:7px;display:grid;position:absolute;top:82px;left:0;right:0;overflow:auto;box-shadow:0 18px 40px #11283f2e}.material-results button{text-align:left;color:var(--navy);background:#fff;border:0;border-bottom:1px solid #edf2f7;gap:3px;padding:11px 13px;display:grid}.material-results button:hover{background:#eef7fa}.material-results small{color:#627d98}.purchase-lines{gap:10px;display:grid}.purchase-lines article{border:1px solid var(--line);border-left:5px solid var(--brand-red);border-radius:13px;overflow:hidden}.purchase-lines article>header{background:#f8fafc;grid-template-columns:34px 1fr auto;align-items:center;gap:9px;padding:12px 14px;display:grid}.purchase-lines article>header>span{background:var(--navy);color:#fff;border-radius:50%;place-items:center;width:30px;height:30px;font-weight:900;display:grid}.purchase-lines article>header>div{display:grid}.purchase-lines article>header small{color:#627d98}.purchase-lines article>header button{color:#c53030;background:0 0;border:0;font-weight:800}.purchase-lines article>div{grid-template-columns:130px 170px 1fr auto;align-items:end;gap:10px;padding:12px 14px;display:grid}.purchase-lines article strong{color:#805500;white-space:nowrap;background:#fff5d6;border-radius:9px;padding:13px 12px}.purchase-empty{text-align:center;color:#627d98;border:1px dashed #b8c8d4;border-radius:12px;padding:28px}.purchase-bottom{grid-template-columns:160px 1fr;gap:13px;display:grid}.purchase-bottom label:nth-child(2){grid-column:2}.purchase-totals{border:1px solid #e8c45b;border-radius:11px;grid-column:1/-1;grid-template-columns:1fr 1fr 1.2fr;display:grid;overflow:hidden}.purchase-totals>*{background:#fffaf0;justify-content:space-between;padding:12px;display:flex}.purchase-totals>*+*{border-left:1px solid #e8c45b}.purchase-totals strong{color:#805500;background:#ffe7a3}.purchase-form>.primary{min-height:58px}.purchase-register{position:sticky;top:18px}.purchase-register>header{justify-content:space-between;align-items:center;margin-bottom:14px;display:flex}.purchase-register>header>span{background:#eef4f7;border-radius:99px;padding:6px 10px;font-weight:800}.purchase-search{margin-bottom:14px}.purchase-order-list{gap:10px;max-height:960px;display:grid;overflow:auto}.purchase-order-list article{border:1px solid var(--line);border-left:5px solid #d97706;border-radius:13px;padding:16px}.purchase-order-list article.po-approved{border-left-color:#18794e}.purchase-order-list article.po-cancelled{opacity:.7;border-left-color:#94a3b8}.purchase-order-list article>header{justify-content:space-between;gap:10px;display:flex}.purchase-order-list h3{margin:3px 0 0}.purchase-order-list small,.purchase-order-list p{color:#627d98}.purchase-order-list em{color:#8a5a00;background:#fff3cd;border-radius:99px;height:max-content;padding:5px 9px;font-size:12px;font-style:normal;font-weight:900}.po-approved em{color:#12643e;background:#e7f8ef}.purchase-order-list footer{border-top:1px solid #edf2f7;gap:7px;margin-top:12px;padding-top:12px;display:flex}.purchase-order-list footer button{color:#0e6075;background:#e8f7fb;border:0;border-radius:9px;flex:1;min-height:42px;font-weight:800}.purchase-order-list footer .approve{color:#fff;background:#18794e}.purchase-order-list footer .cancel{color:#9b2c2c;background:#fff1f1}@media (width<=1120px){.purchase-layout{grid-template-columns:1fr}.purchase-register{position:static}}@media (width<=700px){.purchase-fields,.supplier-quick-form,.purchase-bottom{grid-template-columns:1fr}.purchase-fields .wide,.supplier-quick-form h3,.purchase-bottom label:nth-child(2),.purchase-totals{grid-column:1}.purchase-lines article>div{grid-template-columns:1fr 1fr}.purchase-lines article strong{grid-column:1/-1}.purchase-totals{grid-template-columns:1fr}.purchase-totals>*+*{border-top:1px solid #e8c45b;border-left:0}.purchase-companies{grid-template-columns:1fr}.purchase-order-list footer{flex-direction:column}}.purchasing-tabs{border:1px solid var(--line);background:#dde6ec;border-radius:15px;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:20px;padding:7px;display:grid}.purchasing-tabs button{color:#486581;background:0 0;border:0;border-radius:10px;min-height:55px;font-size:17px;font-weight:900}.purchasing-tabs button.active{color:var(--brand-red);background:#fff;box-shadow:0 4px 12px #11283f1a}.requisition-notes{grid-template-columns:1fr 1fr;gap:12px;display:grid}.requisition-notes label{color:#334e68;gap:6px;font-weight:800;display:grid}.requisition-notes input,.requisition-notes textarea{width:100%;min-height:48px;color:var(--navy);background:#fff;border:2px solid #b8c8d4;border-radius:10px;padding:10px 12px;font-size:15px}.purchase-order-list article.po-converted{border-left-color:#24577c}.po-converted em{color:#24577c;background:#e8f1f7}.source-request{margin-top:5px;font-weight:900;display:block;color:#24577c!important}@media (width<=700px){.purchasing-tabs,.requisition-notes{grid-template-columns:1fr}}.purchase-history{background:#f8fbfd;border:1px solid #cbd9e5;border-radius:12px;margin:0 0 14px;padding:12px}.purchase-history>header{justify-content:space-between;align-items:center;margin-bottom:4px;display:flex}.purchase-history>header button{border:0;border-radius:7px;padding:5px 9px}.purchase-history p{border-top:1px solid #e3eaf0;grid-template-columns:145px 80px 1fr;gap:8px;margin:0;padding:8px 0;font-size:13px;display:grid}.purchase-history time{color:#657c91}.purchase-history span{color:#304b63}@media (width<=700px){.purchase-history p{grid-template-columns:1fr}.purchase-history time{font-size:12px}}.quote-side-fields{align-content:start;gap:12px;display:grid}.salesperson-picker{color:#334e68;gap:7px;font-weight:800;display:grid}.salesperson-picker input{width:100%;min-height:50px;color:var(--navy);background:#fff;border:2px solid #b8c8d4;border-radius:11px;padding:10px 13px;font-size:16px}.purchasing-tabs{grid-template-columns:repeat(3,1fr)}.supplier-quick-form select{width:100%;min-height:48px;color:var(--navy);background:#fff;border:2px solid #b8c8d4;border-radius:10px;padding:10px 12px;font-size:15px}.supplier-management{grid-template-columns:minmax(520px,.9fr) minmax(560px,1.1fr);align-items:start;gap:20px;display:grid}.supplier-master-form,.supplier-directory{border:1px solid var(--line);background:#fff;border-radius:20px;padding:24px;box-shadow:0 8px 28px #11283f0f}.supplier-master-form{gap:18px;display:grid}.supplier-master-form>header,.supplier-directory>header{justify-content:space-between;align-items:center;gap:12px;display:flex}.supplier-master-form h2,.supplier-directory h2{margin:3px 0 0}.supplier-master-form>header>button,.supplier-directory article header button{color:#334e68;background:#edf2f7;border:0;border-radius:9px;min-height:40px;padding:8px 14px;font-weight:800}.supplier-master-grid{grid-template-columns:1fr 1fr;gap:13px;display:grid}.supplier-master-grid label{color:#334e68;gap:6px;font-weight:800;display:grid}.supplier-master-grid label.wide{grid-column:1/-1}.supplier-master-grid input,.supplier-master-grid select,.supplier-search{width:100%;min-height:48px;color:var(--navy);background:#fff;border:2px solid #b8c8d4;border-radius:10px;padding:10px 12px;font-size:15px}.supplier-master-form>.primary{min-height:56px}.supplier-directory>header>span{color:#486581;background:#edf2f7;border-radius:99px;padding:7px 11px;font-weight:800}.supplier-search{margin:16px 0}.supplier-cards{gap:10px;max-height:850px;display:grid;overflow:auto}.supplier-cards article{border:1px solid var(--line);border-left:5px solid #087f9c;border-radius:13px;padding:16px}.supplier-cards article header{justify-content:space-between;align-items:start;display:flex}.supplier-cards h3{margin:0 0 3px}.supplier-cards small{color:#627d98}.supplier-cards dl{grid-template-columns:1fr 1fr;gap:8px;margin:13px 0 0;display:grid}.supplier-cards dl>div{background:#f5f8fb;border-radius:9px;padding:9px 11px}.supplier-cards dl .wide{grid-column:1/-1}.supplier-cards dt{color:#829ab1;font-size:12px}.supplier-cards dd{overflow-wrap:anywhere;color:var(--navy);margin:3px 0 0;font-weight:800}@media (width<=1050px){.supplier-management{grid-template-columns:1fr}}@media (width<=700px){.purchasing-tabs,.supplier-master-grid,.supplier-cards dl{grid-template-columns:1fr}.supplier-master-grid label.wide,.supplier-cards dl .wide{grid-column:1}}.purchase-approval-stamp{color:#d71920;text-align:center;background:#fff8f8;border:3px solid #d71920;border-radius:7px;width:94px;margin:10px 0 0 auto;padding:6px 8px;line-height:1.05;display:grid;transform:rotate(-2deg)}.purchase-approval-stamp strong{letter-spacing:5px;font-size:20px}.purchase-approval-stamp span{font-size:12px;font-weight:900}.purchase-approval-stamp small{font-size:10px;color:#d71920!important}.purchase-approval-stamp.large{width:125px;padding:10px;position:absolute;top:105px;right:34px}.purchase-approval-stamp.large strong{font-size:26px}.purchase-detail-backdrop{z-index:1000;background:#11283f94;place-items:center;padding:22px;display:grid;position:fixed;inset:0}.purchase-detail-modal{background:#fff;border-radius:20px;width:min(820px,96vw);max-height:92vh;padding:26px;position:relative;overflow:auto;box-shadow:0 24px 70px #00000047}.purchase-detail-modal>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:start;padding-bottom:14px;display:flex}.purchase-detail-modal>header h2{margin:3px 0}.purchase-detail-modal>header>button{background:var(--navy);color:#fff;border:0;border-radius:50%;width:42px;height:42px;font-size:26px}.purchase-detail-summary{grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0;display:grid}.purchase-detail-summary span{color:#627d98;background:#f3f6f8;border-radius:11px;padding:12px;display:grid}.purchase-detail-summary strong{color:var(--navy);margin-top:4px}.purchase-detail-modal>h3{margin:20px 0 8px}.purchase-detail-lines{border:1px solid var(--line);border-radius:12px;overflow:hidden}.purchase-detail-lines p{grid-template-columns:1fr auto auto;gap:14px;margin:0;padding:12px 14px;display:grid}.purchase-detail-lines p+p{border-top:1px solid var(--line)}.purchase-history.permanent{max-height:none;margin:0}.purchase-detail-modal>footer{justify-content:flex-end;gap:10px;margin-top:18px;display:flex}.purchase-detail-modal>footer button{color:#0e6075;background:#e8f7fb;border:0;border-radius:9px;padding:11px 18px;font-weight:900}.purchase-detail-modal>footer button:last-child{background:var(--navy);color:#fff}@media (width<=700px){.purchase-detail-summary,.purchase-detail-lines p{grid-template-columns:1fr}.purchase-approval-stamp.large{margin:12px 0 12px auto;position:static}}.action.production{border-left-color:#0e7490}.production-page{width:min(100%,1540px)}.production-tabs{border:1px solid var(--line);background:#dde6ec;border-radius:15px;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:20px;padding:7px;display:grid}.production-tabs button{color:#486581;background:0 0;border:0;border-radius:10px;min-height:56px;font-size:17px;font-weight:900}.production-tabs button.active{color:#0e6075;background:#fff;box-shadow:0 4px 12px #11283f1a}.production-tabs button:disabled{opacity:.45}.production-panel{border:1px solid var(--line);background:#fff;border-radius:20px;padding:26px 30px;box-shadow:0 8px 28px #11283f0f}.production-panel h2{margin:3px 0}.production-panel h2 small{color:#627d98;font-size:15px}.production-panel-head,.production-detail>header,.bom-register>header{justify-content:space-between;align-items:center;gap:20px;display:flex}.production-panel-head>input{width:min(560px,48%);min-height:50px;color:var(--navy);border:2px solid #b8c8d4;border-radius:11px;padding:10px 14px;font-size:15px}.production-table-wrap{border:1px solid var(--line);border-radius:14px;overflow:auto}.production-table{border-collapse:collapse;width:100%;min-width:980px}.production-table th{background:var(--navy);color:#fff;text-align:left;white-space:nowrap;padding:12px 13px}.production-table td{vertical-align:middle;color:#334e68;border-top:1px solid #e4ebf1;padding:13px}.production-table td b,.production-table td span,.production-table td small{display:block}.production-table td small{color:#829ab1;margin-top:4px}.production-table tbody tr:nth-child(2n){background:#f8fafc}.production-table td:last-child button{color:#0e6075;background:#e5f5f8;border:0;border-radius:8px;width:100%;min-width:110px;margin:4px 0;padding:8px 10px;font-weight:900;display:block}.production-table td:last-child .confirm-office{color:#fff;background:#18794e}.priority{background:#edf2f7;border-radius:99px;width:max-content;padding:5px 9px;font-weight:900;display:inline-flex!important}.priority.high{color:#805500;background:#fff1cf}.priority.urgent{color:#b42318;background:#ffe3e3}.shortage-text{font-weight:900;color:#c53030!important}.shortage-row{background:#fff5f5!important}.production-form{gap:20px;max-width:1180px;margin:auto;display:grid}.production-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;display:grid}.production-fields label,.production-form>label,.production-picker>label{color:#334e68;gap:7px;font-weight:800;display:grid}.production-fields input,.production-fields select,.production-form textarea,.production-picker input{width:100%;min-height:50px;color:var(--navy);background:#fff;border:2px solid #b8c8d4;border-radius:11px;padding:10px 13px;font-size:15px}.production-form textarea{min-height:100px}.production-picker{gap:8px;display:grid;position:relative}.production-results{z-index:20;border:1px solid var(--line);background:#fff;border-radius:12px;max-height:350px;padding:7px;display:grid;position:absolute;top:80px;left:0;right:0;overflow:auto;box-shadow:0 18px 44px #11283f33}.production-results button{color:var(--navy);text-align:left;background:#fff;border:0;border-bottom:1px solid #edf2f7;gap:4px;padding:11px 13px;display:grid}.production-results button:hover{background:#eef8fb}.production-results small{color:#627d98}.selected-production-item{color:#0e6075;background:#eefbfe;border:2px solid #8bcbd8;border-radius:12px;gap:4px;padding:14px 16px;display:grid}.selected-production-item span{color:#486581}.office-notice{color:#785800;background:#fff8dc;border:1px solid #e6bd55;border-radius:12px;padding:15px 17px;font-weight:800}.material-preview{gap:12px;display:grid}.material-preview>header{justify-content:space-between;align-items:center;gap:16px;display:flex}.material-preview h3{margin:0}.material-preview header span{color:#0e7490;font-weight:900}.material-preview header small{color:#785800;background:#fff8dc;border-radius:9px;padding:8px 11px;font-weight:800}.production-summary{grid-template-columns:repeat(3,1fr);gap:10px;margin:20px 0;display:grid}.production-summary span{color:#627d98;background:#f3f6f8;border-radius:11px;gap:4px;padding:12px 14px;display:grid}.production-summary b{color:var(--navy)}.production-export{gap:9px;display:flex}.production-export button{color:#fff;background:#0e7490;border:0;border-radius:9px;min-height:46px;padding:10px 15px;font-weight:900}.bom-layout{grid-template-columns:minmax(600px,1.1fr) minmax(480px,.9fr);align-items:start;gap:20px;display:grid}.bom-form{gap:18px;display:grid}.bom-register{position:sticky;top:18px}.bom-draft-lines,.bom-cards{gap:10px;display:grid}.bom-draft-lines article{border:1px solid var(--line);border-left:5px solid #0e7490;border-radius:12px;grid-template-columns:34px minmax(0,1fr) 145px auto;align-items:end;gap:10px;padding:13px;display:grid}.bom-draft-lines article>span{background:var(--navy);color:#fff;border-radius:50%;align-self:center;place-items:center;width:30px;height:30px;font-weight:900;display:grid}.bom-draft-lines article>div{align-self:center;gap:3px;display:grid}.bom-draft-lines small{color:#627d98}.bom-draft-lines label{color:#486581;gap:4px;font-size:13px;font-weight:800;display:grid}.bom-draft-lines input{border:2px solid #b8c8d4;border-radius:9px;width:100%;min-height:44px;padding:8px}.bom-draft-lines article>button{color:#a61b1b;background:#fff1f1;border:0;border-radius:9px;min-height:44px;font-weight:800}.bom-cards{max-height:930px;overflow:auto}.bom-cards>article{border:1px solid var(--line);border-radius:13px;padding:15px}.bom-cards>article>header{justify-content:space-between;gap:10px;margin-bottom:10px;display:flex}.bom-cards h3{margin:3px 0}.bom-version{border-top:1px solid #e4ebf1;grid-template-columns:1fr auto;gap:5px 12px;padding:11px;display:grid}.bom-version span{font-weight:900}.bom-version em{background:#edf2f7;border-radius:99px;padding:4px 8px;font-size:12px;font-style:normal;font-weight:900}.bom-version.approved em{color:#12643e;background:#e4f7ed}.bom-version.retired{opacity:.58}.bom-version small{color:#627d98}.bom-version button{color:#fff;background:#18794e;border:0;border-radius:8px;grid-area:2/2/4;font-weight:900}.production-form>.primary,.bom-form>.primary{min-height:58px}@media (width<=1100px){.bom-layout{grid-template-columns:1fr}.bom-register{position:static}.production-panel-head{flex-direction:column;align-items:stretch}.production-panel-head>input{width:100%}}@media (width<=720px){.production-tabs{grid-template-columns:1fr 1fr}.production-panel{padding:20px}.production-fields,.production-summary{grid-template-columns:1fr}.material-preview>header,.production-detail>header{flex-direction:column;align-items:stretch}.production-export{display:grid}.bom-draft-lines article{grid-template-columns:34px 1fr}.bom-draft-lines article>label,.bom-draft-lines article>button{grid-column:2}.production-table{min-width:850px}}@media (width<=460px){.production-tabs{grid-template-columns:1fr}}.production-export{flex-wrap:wrap}.production-export a{color:#fff;background:#0e7490;border-radius:9px;align-items:center;min-height:46px;padding:10px 15px;font-weight:900;text-decoration:none;display:inline-flex}.salary-panel{gap:22px;display:grid}.salary-panel-head{border:1px solid var(--line);background:#fff;border-radius:22px;justify-content:space-between;align-items:end;gap:24px;padding:26px;display:flex}.salary-panel-head h2,.salary-panel-head p{margin:4px 0}.salary-overview-controls,.salary-filters{align-items:end;gap:12px;display:flex}.salary-overview-controls{flex-wrap:wrap;justify-content:flex-end}.salary-overview-controls label{min-width:150px}.salary-overview-controls>small{text-align:right;color:#66809a;flex-basis:100%}.salary-export-button{background:var(--navy);color:#fff;min-height:46px}.salary-month-grid{grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:14px;display:grid}.salary-month-grid>button{text-align:left;color:var(--navy);background:#fff;border:1px solid #c9dbe8;border-radius:18px;padding:18px}.salary-month-grid>button.active{border-color:#0d8199;box-shadow:0 0 0 3px #d9f2f5}.salary-month-grid strong,.salary-month-grid span{display:block}.salary-month-grid strong{font-size:1.2rem}.salary-month-grid span{color:#66809a;margin:4px 0 12px}.salary-month-grid dl{grid-template-columns:1fr 1fr;gap:8px;margin:0;display:grid}.salary-month-grid dl div{background:#f4f8fb;border-radius:10px;padding:8px}.salary-month-grid dt{color:#66809a;font-size:.78rem}.salary-month-grid dd{margin:2px 0 0;font-weight:700}.salary-records{border:1px solid var(--line);background:#fff;border-radius:22px;padding:24px}.salary-records>header{justify-content:space-between;align-items:end;gap:18px;margin-bottom:18px;display:flex}.salary-records h3{margin:0}.salary-filters input{min-width:285px}.salary-record-list{gap:14px;display:grid}.salary-record-list>article{border:1px solid #dbe5ec;border-radius:16px;padding:18px}.salary-record-list>article>header{justify-content:space-between;gap:20px;display:flex}.salary-record-list>article>header>div:last-child{text-align:right}.salary-record-list>article>header span,.salary-record-list>article>header small{color:#66809a;display:block}.salary-employee-link{color:#123c59;background:0 0;border:0;padding:0;font-size:1.05rem;font-weight:800}.salary-amounts{grid-template-columns:repeat(4,1fr);gap:10px;margin:14px 0;display:grid}.salary-amounts span{color:#66809a;background:#f4f8fb;border-radius:10px;padding:10px}.salary-amounts b{color:#123047;margin-top:3px;display:block}.salary-account-snapshot{grid-template-columns:repeat(2,1fr);gap:10px 18px;margin:0;display:grid}.salary-account-snapshot div{border-bottom:1px solid #e4ebf0;padding-bottom:8px}.salary-account-snapshot dt{color:#66809a;font-size:.82rem}.salary-account-snapshot dd{overflow-wrap:anywhere;margin:4px 0 0;font-weight:700}.salary-account-missing{border-left:5px solid #e0a128!important}.salary-missing-note{color:#795500;background:#fff4d9;border-radius:10px;margin-top:12px;padding:10px 12px}.salary-record-list footer{align-items:center;gap:12px;margin-top:14px;display:flex}.salary-record-list footer span{color:#66809a;flex:1}.salary-edit-form{z-index:20;background:#fff;border:1px solid #c9dbe8;border-radius:22px;width:min(620px,100vw - 48px);padding:24px;position:fixed;top:24px;bottom:24px;right:24px;overflow:auto;box-shadow:0 22px 70px #08263d40}.salary-edit-form>header{justify-content:space-between;display:flex}.salary-edit-grid{grid-template-columns:1fr 1fr;gap:14px;display:grid}.salary-edit-grid .wide{grid-column:1/-1}.salary-reference-note,.salary-net-preview{color:#0d6172;background:#e9f7f8;border-radius:10px;padding:12px}.salary-net-preview{justify-content:space-between;margin:10px 0;display:flex}.salary-entry-fields{gap:10px;display:grid}@media (width<=800px){.salary-panel-head,.salary-records>header,.salary-overview-controls,.salary-filters{flex-direction:column;align-items:stretch}.salary-filters input{min-width:0}.salary-amounts,.salary-account-snapshot,.salary-edit-grid{grid-template-columns:1fr}.salary-edit-grid .wide{grid-column:auto}}.salary-employee-master{border:1px solid var(--line);background:#fff;border-radius:22px;padding:24px}.salary-employee-master>header{justify-content:space-between;align-items:center;gap:18px;display:flex}.salary-employee-master h2,.salary-employee-master p{margin:4px 0}.salary-employee-master>header>button,.salary-employee-cards footer button,.salary-employee-form header button{color:#0e6075;background:#e7f2f7;border:0;border-radius:9px;min-height:42px;padding:9px 14px;font-weight:800}.salary-employee-cards{grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:12px;margin-top:18px;display:grid}.salary-employee-cards article{border:1px solid #dbe5ec;border-radius:14px;gap:12px;padding:15px;display:grid}.salary-employee-cards article>div{gap:4px;display:grid}.salary-employee-cards small,.salary-employee-cards span{color:#66809a}.salary-employee-cards span{overflow-wrap:anywhere}.salary-employee-cards footer{gap:8px;display:flex}.salary-employee-cards footer button{flex:1}.salary-employee-form{background:#f7fbfc;border:1px solid #a8cfda;border-radius:15px;gap:15px;margin-top:18px;padding:18px;display:grid}.salary-employee-form>header{justify-content:space-between;align-items:center;display:flex}.salary-employee-form h3{margin:0}.salary-employee-form>.primary{min-height:52px}@media (width<=700px){.salary-employee-master>header{flex-direction:column;align-items:stretch}.salary-employee-cards{grid-template-columns:1fr}}
