.treasury-net{display:grid;gap:18px;max-width:1600px;margin:auto;padding-bottom:32px}.treasury-net h2,.treasury-net h3{display:flex;align-items:center;gap:10px;color:var(--wine,#641c2b)}.treasury-net-note{display:flex;gap:12px;align-items:flex-start;background:#fff2df;border:1px solid #d9bb82;color:#6b4522;border-radius:16px;padding:14px 18px;line-height:1.55}.treasury-net-note svg{flex:none}.treasury-net-connection{display:flex;flex-wrap:wrap;align-items:end;gap:12px;background:#fffaf4;border:1px solid #e5d7c5;border-radius:18px;padding:18px}.treasury-net-connection label{flex:1 1 230px}.treasury-net label{display:grid;gap:6px;font-size:.88rem;font-weight:600;color:#5f3740}.treasury-net input,.treasury-net textarea,.treasury-net select{width:100%;min-width:0;border-radius:11px;border:1px solid #d4c2b3;background:#fffefa;padding:11px 12px;color:#302726;font:inherit}.treasury-net textarea{min-height:76px;resize:vertical}.treasury-net input:focus-visible,.treasury-net select:focus-visible,.treasury-net textarea:focus-visible,.treasury-net button:focus-visible{outline:3px solid #b18951;outline-offset:2px}.treasury-net button:not(.treasury-net-link){display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:11px 15px;border:1px solid #6c2333;background:#6c2333;border-radius:12px;color:#fff;min-height:44px;cursor:pointer;font-weight:600}.treasury-net button.secondary{color:#6c2333;background:#fffaf4}.treasury-net button:disabled{opacity:.5;cursor:not-allowed}.treasury-net-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.treasury-net-card{min-width:0;display:grid;align-content:start;gap:14px;background:#fffaf4;border:1px solid #e6d7c5;border-radius:20px;padding:20px;box-shadow:0 4px 22px #3e1c2309}.treasury-net-card p{margin:0;line-height:1.5;color:#665858}.treasury-net-user{padding:12px 15px;border:1px solid #d7c6af;border-radius:12px;background:#f7efe6}.treasury-net-summary{display:grid;gap:6px;padding:13px;border-radius:12px;background:#f2e6d5}.treasury-net-summary strong{font-size:1.6rem;color:#5f1c2b}.treasury-net-summary small{overflow-wrap:anywhere}.treasury-net-row{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.treasury-net-row>div{display:flex;gap:8px;flex-wrap:wrap}.treasury-net-table{overflow:auto;max-width:100%}.treasury-net-table table{width:100%;border-collapse:collapse;font-size:.88rem;text-align:left}.treasury-net-table td,.treasury-net-table th{padding:11px;border-bottom:1px solid #e8d9c9;white-space:nowrap}.treasury-net-table th{color:#774859;background:#f4e9db}.treasury-net-link{border:0;background:none;color:#762b39;text-decoration:underline;cursor:pointer;overflow-wrap:anywhere}.treasury-net-pending{display:flex;gap:12px;justify-content:space-between;align-items:center;border:1px solid #dbc7ae;background:#fbf0de;border-radius:14px;padding:12px}.treasury-net-pending>div{display:grid;gap:3px;min-width:0}.treasury-net-pending small{overflow-wrap:anywhere}@media (max-width:850px){.treasury-net-grid{grid-template-columns:1fr}.treasury-net-card{padding:15px}.treasury-net-connection{padding:14px}.treasury-net-pending{align-items:stretch;flex-direction:column}}.treasury-net-accounting{margin-top:28px;padding:20px;background:#f5ece0;border:1px solid #e3d2c0;border-radius:22px}.treasury-net-accounting-metrics{display:flex;flex-wrap:wrap;gap:10px}.treasury-net-accounting-metrics span{background:#f5e8d7;border:1px solid #e1cdb5;border-radius:12px;padding:9px 12px;color:#633a40}.treasury-net-accounting-metrics strong{color:#541a28}@media (max-width:600px){.treasury-net-accounting{margin-top:20px;padding:12px;border-radius:16px}.treasury-net-accounting .treasury-net-table{max-height:330px;overflow:auto}}.treasury-account-add{display:grid;gap:10px;margin-top:14px;padding-top:14px;border-top:1px solid #e4d5c8}.treasury-account-add label{display:grid;gap:7px;color:#633d42}.treasury-account-add input{width:100%;border:1px solid #d6c1ae;border-radius:10px;background:#fffbf5;padding:11px}.treasury-account-add small{color:#75635e;line-height:1.4}.treasury-rejection-label{display:grid;gap:8px;margin-top:12px;color:#683941;font-weight:600;font-size:.9rem}.treasury-rejection-label textarea{background:#fffaf5;border:1px solid #d9c4b2;border-radius:12px;padding:11px;min-height:68px;width:100%;font:inherit}.treasury-doc-reason{background:#fff0e5;border-left:3px solid #9a4e47;padding:10px 13px;border-radius:8px;color:#743e42}.treasury-decisions{margin-top:24px}.treasury-decision-list{display:grid;gap:7px;max-height:390px;overflow:auto}.treasury-decision-list article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 12px;background:#fcf2e8;padding:10px 12px;border-radius:10px}.treasury-decision-list small{grid-column:1/-1;color:#70615b;overflow-wrap:anywhere}@media (max-width:640px){.treasury-decision-list article{grid-template-columns:1fr}.treasury-decision-list small{grid-column:1}}.treasury-net-claim{display:block;border:1px solid #c69e67;background:#fdf5e6;border-radius:10px;padding:10px 12px;color:#6c3b2a;line-height:1.4;overflow-wrap:anywhere}.treasury-net-accounting .treasury-net-card>button{justify-self:start}@media (max-width:620px){.treasury-net-accounting-metrics{display:grid;grid-template-columns:1fr 1fr}.treasury-net-accounting-metrics span{font-size:.8rem}.treasury-net-accounting .treasury-net-card>button{width:100%}}.treasury-daybook{margin-top:12px}.treasury-daybook-filters{display:flex;flex-wrap:wrap;gap:12px;align-items:end}.treasury-daybook-filters label{flex:1 1 150px}.treasury-daybook-filters label:nth-child(3){flex:2 1 200px}.treasury-daybook-numbers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.treasury-daybook-numbers>div{display:grid;gap:5px;background:#f7eddf;border:1px solid #e3d2bb;padding:14px;border-radius:14px}.treasury-daybook-numbers span{font-size:.83rem;color:#6e5551}.treasury-daybook-numbers strong{font-size:1.2rem;letter-spacing:-.02em;color:#5a1c2a;white-space:nowrap}.treasury-daybook-note{font-size:.78rem;color:#776663;display:flex;align-items:center;gap:6px}.treasury-daybook-disconnected{padding:12px;background:#f7efdf;border-radius:10px;display:flex;align-items:center;gap:8px}@media (max-width:1000px){.treasury-daybook-numbers{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:550px){.treasury-daybook-numbers{grid-template-columns:1fr 1fr;gap:8px}.treasury-daybook-numbers strong{font-size:1rem}.treasury-daybook-numbers>div{padding:11px}.treasury-daybook-filters label{flex-basis:130px}.treasury-daybook-filters button{width:100%}}.treasury-network-fold{margin-top:22px;background:#f7ede0;border:1px solid #ddc8b5;border-radius:18px;overflow:hidden}.treasury-network-fold>summary{cursor:pointer;display:flex;align-items:center;gap:12px;padding:18px 22px;color:#641f31;font-weight:700;list-style:none;min-height:56px}.treasury-network-fold>summary::-webkit-details-marker{display:none}.treasury-network-fold>summary:after{content:"+";margin-left:auto;font-size:1.4rem;font-weight:400}.treasury-network-fold[open]>summary:after{content:"−"}.treasury-network-fold>summary:focus-visible{outline:3px solid #b78b4a;outline-offset:-3px}.treasury-network-fold .treasury-net-accounting{margin:0;border:0;border-top:1px solid #ddc8b5;border-radius:0}.treasury-net-switch{display:flex;flex-wrap:wrap;gap:8px;padding:5px;border-radius:14px;background:#f1e2ce;max-width:max-content}.treasury-net .treasury-net-switch button{background:transparent;color:#5d2934;border:1px solid transparent;border-radius:10px}.treasury-net .treasury-net-switch button.selected{background:#682334;color:#fff;border-color:#682334}@media (max-width:620px){.treasury-network-fold>summary{padding:15px}.treasury-net-switch{width:100%;max-width:none}.treasury-net-switch button{flex:1 1 120px}}.treasury-ledger-workspace{display:grid;gap:18px;margin-top:16px}.treasury-ledger-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px;background:#f7ede1;border:1px solid #e5d1b9;border-radius:14px}.treasury-ledger-form h4,.treasury-ledger-form>p,.treasury-ledger-form>button{grid-column:1/-1}.treasury-ledger-form textarea{min-height:88px}.treasury-ledger-subtext{display:block;font-size:.74rem;color:#8a7068;overflow-wrap:anywhere}.treasury-ledger-selected td{background:#f4e3ce}.treasury-ledger-details{display:grid;gap:9px;padding:17px;border:1px solid #d4b28a;border-radius:15px;background:#f6e9d8;color:#624047}.treasury-ledger-details>span{overflow-wrap:anywhere;font-size:.86rem}.treasury-ledger-actions{display:flex;flex-wrap:wrap;gap:9px}.treasury-ledger-pending{border-color:#ad7542;background:#ffefdb}.treasury-ledger-pending .treasury-net-pending>div:last-child{display:flex;flex-wrap:wrap;gap:8px}@media (max-width:650px){.treasury-ledger-form{grid-template-columns:1fr;padding:12px}.treasury-ledger-form h4,.treasury-ledger-form>p,.treasury-ledger-form>button{grid-column:1}.treasury-ledger-actions>button{width:100%}.treasury-ledger-pending .treasury-net-pending button{flex:1 1 150px}}.treasury-ledger-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.treasury-ledger-summary span{display:flex;flex-direction:column;gap:7px;background:#fffaf4;border:1px solid #dbc7ab;border-radius:13px;padding:12px 14px;color:#70514d;font-size:.83rem}.treasury-ledger-summary strong{font-size:1.5rem;color:#682337;font-variant-numeric:tabular-nums}@media (max-width:800px){.treasury-ledger-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}.treasury-budget-workspace{margin-top:20px;display:grid;gap:14px}.treasury-budget-explanation{font-size:.88rem;color:#76554e;line-height:1.6;max-width:900px}.treasury-budget-table{max-height:380px;overflow:auto}.treasury-budget-exhausted{font-weight:700;color:#a14848;background:#fff0e9}.treasury-budget-full{grid-column:1/-1}.treasury-budget-pending{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:12px}.treasury-budget-pending>article{display:grid;gap:8px;padding:15px;border:1px solid #dfc7af;border-radius:14px;background:#fbf3e8;min-width:0}.treasury-budget-pending small{color:#715d58;overflow-wrap:anywhere}.treasury-budget-decisions{display:grid;gap:10px;border-top:1px solid #e3d1ba;padding-top:10px}.treasury-budget-decisions>label{display:grid;gap:6px}.treasury-budget-decisions input{background:#fffbf5;border:1px solid #d9c5ae;border-radius:10px;padding:10px;min-height:42px}.treasury-budget-workspace button:focus-visible{outline:3px solid #ab823f;outline-offset:2px}@media (max-width:650px){.treasury-budget-pending{grid-template-columns:1fr}.treasury-budget-full{grid-column:1}.treasury-budget-workspace button{min-height:44px}}.treasury-ledger-events{display:grid;gap:6px;background:#fffaf4;border:1px solid #dec7a9;border-radius:12px;padding:12px}.treasury-ledger-events>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;border-bottom:1px solid #eee0cc;padding:8px 0;font-size:.83rem}.treasury-ledger-events>div:last-child{border-bottom:0}.treasury-ledger-events small{grid-column:1/-1;color:#755757}@media (max-width:650px){.treasury-ledger-events>div{grid-template-columns:1fr}}.treasury-period-report{margin-top:20px;display:grid;gap:15px}.treasury-period-filters{display:flex;align-items:end;flex-wrap:wrap;gap:12px}.treasury-period-filters label{display:grid;gap:6px;flex:1 1 180px;color:#624047}.treasury-period-filters input,.treasury-period-filters select{background:#fffaf3;border:1px solid #ddc6ab;border-radius:11px;min-height:44px;padding:10px}.treasury-period-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.treasury-period-metrics>div{display:grid;gap:8px;background:#f7ecdf;border:1px solid #ead7bc;border-radius:14px;padding:14px;min-width:0}.treasury-period-metrics span{display:flex;align-items:center;gap:5px;color:#705456;font-size:.81rem}.treasury-period-metrics strong{color:#632a3b;font-size:1.15rem;overflow-wrap:anywhere}.treasury-period-note{font-size:.84rem;line-height:1.6;color:#74605a}@media (max-width:920px){.treasury-period-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:480px){.treasury-period-metrics strong{font-size:1rem}.treasury-period-report{padding:12px}}.treasury-budget-source-note{grid-column:1/-1;color:#75665e;font-size:11px;line-height:1.45;padding:8px 10px;border-left:3px solid #b99a78;background:#faf4eb;border-radius:0 8px 8px 0}.owner-activity-status{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:12px 0;padding:12px 14px;border:1px solid #e2d5c6;border-radius:11px;background:#fffaf4;color:#624052}.owner-activity-status strong{font-size:20px;font-variant-numeric:tabular-nums}.owner-activity-status span{font-size:13px;flex:1}.owner-activity-unread{border-left:4px solid #b58a43!important;background:#fffdf7!important}.transit-dashboard{display:flex;align-items:center;gap:18px;margin:16px 0 22px;padding:20px 22px;border:1px solid #e1c9a6;border-radius:17px;background:linear-gradient(112deg,#fffaf2,#f5e8d4);color:#542435;box-shadow:0 4px 18px #421f240f}.transit-dashboard .transit-icon{display:grid;place-items:center;width:54px;height:54px;flex:0 0 54px;background:#692339;color:#fff2de;border-radius:15px}.transit-dashboard>div:nth-child(2){flex:1;min-width:0;display:grid;gap:4px}.transit-dashboard .transit-kicker{font-size:12px;color:#946b41;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.transit-dashboard strong{font-size:21px;font-family:var(--font-family,Georgia,serif);line-height:1.2}.transit-dashboard small{color:#726154;line-height:1.4}.transit-count{flex:0 0 auto;border-radius:10px;padding:9px 12px;border:1px solid #dec6a9;color:#744530;background:#ffffff8c;font-size:13px;font-weight:600}.transit-register{padding:16px 18px;margin:12px 0 24px;border:1px solid #e8d8c3;border-radius:15px;background:#fffdf9}.transit-register h3{margin:0 0 12px;color:#552435;font-size:18px}.transit-register-list{display:grid;gap:8px}.transit-register-list>div{display:grid;grid-template-columns:minmax(130px,1fr) minmax(120px,1.3fr) auto;gap:12px;align-items:center;padding:10px 12px;background:#faf4ec;border-radius:9px}.transit-register-list span{color:#745f55;font-size:13px}.transit-register-list b{color:#63263b;font-variant-numeric:tabular-nums}.transit-settlement{border:1px solid #dac4a1;border-radius:13px;margin-top:14px;padding:17px;background:#fcf5e9}.transit-settlement-heading{display:flex;align-items:center;gap:8px;color:#633044}.transit-settlement p{font-size:13px;color:#71594b;line-height:1.6}.transit-settlement-line{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #e5d8c8}.transit-settlement-line strong{color:#6c273b}.transit-settlement-form{display:grid;gap:10px;margin-top:14px}.transit-settlement-form label{display:grid;gap:6px;font-size:13px;color:#704c4f}.transit-settlement-form select,.transit-settlement-form textarea{width:100%;min-height:44px;border:1px solid #dfcab4;border-radius:9px;padding:10px;background:#fffdf9}.transit-settlement-form textarea{min-height:85px;resize:vertical}.transit-complete{display:flex;align-items:center;gap:8px;color:#377252;font-size:13px;margin-top:13px}@media (max-width:640px){.transit-dashboard{padding:15px;gap:11px;flex-wrap:wrap}.transit-dashboard strong{font-size:18px}.transit-dashboard .transit-icon{width:44px;height:44px;flex-basis:44px}.transit-count{margin-left:55px}.transit-register{padding:12px}.transit-register-list>div{display:flex;flex-direction:column;align-items:flex-start;gap:5px}.transit-register-list b{font-size:16px}}.receiving-correction-panel{margin:20px 0;padding:clamp(14px,2vw,22px);background:#f9fbff;border:1px solid #c9dcf0;border-radius:16px;max-width:100%;color:#183153}.receiving-correction-panel h3,.receiving-correction-panel h4{margin:0 0 10px;color:#183153}.receiving-correction-panel p{line-height:1.55;font-size:.9rem;color:#455a73}.receiving-correction-form{border:1px solid #d9e7f6;border-radius:12px;padding:14px;background:#fff;margin:15px 0}.receiving-correction-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,225px),1fr));gap:12px;margin:12px 0}.receiving-correction-panel label{display:flex;flex-direction:column;gap:6px;font-weight:600;font-size:.875rem;min-width:0}.receiving-correction-panel textarea,.receiving-correction-panel input{width:100%;max-width:100%;padding:10px 12px;min-height:42px;background:#fff;border:1px solid #9fbbd8;border-radius:9px;color:#183153}.receiving-correction-panel :is(input,textarea,button):focus-visible{outline:2px solid #0ea5e9;outline-offset:2px}.receiving-correction-history{display:grid;gap:10px}.receiving-correction-history article{border:1px solid #d9e7f6;background:#fff;border-radius:10px;padding:12px}.receiving-correction-title{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.receiving-correction-title span{font-size:.82rem;color:#526b83}.receiving-correction-actions{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap}.receiving-cost-revaluation-row{display:grid;gap:10px;padding:12px 0;border-bottom:1px solid #e2edf8}.receiving-cost-revaluation-row:last-child{border-bottom:0}.receiving-cost-revaluation-row h4,.receiving-cost-revaluation-row p{margin:0}.receiving-cost-revaluation-row .small-btn{justify-self:start;min-height:40px}.receiving-correction-history ul{padding-left:22px;overflow-wrap:anywhere}.receiving-correction-history li{margin:5px 0;line-height:1.45}@media (max-width:600px){.receiving-correction-actions{display:grid;grid-template-columns:1fr}.receiving-cost-revaluation-row .small-btn{width:100%}}.document-layout-mode,.document-layout-add,.document-layout-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.document-layout-mode .active{background:#e5f2ff;color:#123a60;border:1px solid #95bce2}.document-layout-editor{display:grid;gap:12px}.document-layout-block{background:#fff;border:1px solid #d9e5f0;border-radius:12px;padding:14px;display:grid;gap:10px}.document-layout-block-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.document-layout-actions button{display:inline-flex;border:1px solid #d6e5f2;border-radius:7px;background:#f6f9fd;padding:8px;color:#244c70;cursor:pointer}.document-layout-actions button:disabled{opacity:.4;cursor:default}.document-layout-block textarea{width:100%;resize:vertical}.document-layout-table{min-width:0}.document-layout-scroll{max-width:100%;overflow-x:auto}.document-layout-table table{border-collapse:collapse;min-width:460px;width:100%}.document-layout-table th,.document-layout-table td{border:1px solid #d4e2ef;padding:5px}.document-layout-table input{min-width:80px;width:100%;padding:7px}.document-layout-table td button{border:0;background:none;color:#7b3c3c;cursor:pointer}.document-layout-preview{display:block;width:100%;min-height:560px;border:1px solid #cbd9e8;border-radius:12px;background:#fff}.document-layout-text-preview{background:#fff;color:#183153;border:1px solid #d7e5f3;padding:18px;border-radius:12px;white-space:pre-wrap;line-height:1.6;min-height:85px}.document-layout-block label{display:grid;gap:5px}.document-layout-block label select{max-width:240px}@media (max-width:600px){.document-layout-block{padding:10px}.document-layout-preview{min-height:440px}}.document-legal-profile{background:#fff;border:1px solid #d5e4f1;border-radius:12px;padding:14px;margin:12px 0}.document-legal-profile summary{font-weight:700;color:#214766;cursor:pointer;margin-bottom:12px}.document-legal-profile p{color:#58708a;font-size:13px}.document-legal-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;margin:12px 0}.document-legal-grid label,.document-preset-selector label{display:grid;gap:5px}.document-legal-grid input{width:100%}.document-preset-selector{display:flex;align-items:flex-end;flex-wrap:wrap;gap:10px;border:1px solid #d8e5f1;background:#f6f9fd;padding:11px;border-radius:9px}.document-preset-selector label{flex:1;min-width:210px}.document-preset-selector select{width:100%}.cost-audit{margin-top:22px;border:1px solid #cbdff1;border-radius:16px;background:#fff;overflow:hidden}.cost-audit-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:16px 18px;background:linear-gradient(120deg,#eff7ff,#f8fbff);border-bottom:1px solid #dbe9f6}.cost-audit-head h3{margin:0 0 5px;color:#183b60;font-size:17px}.cost-audit-head p{margin:0;color:#526b84;font-size:13px;line-height:1.45}.cost-audit-tools{display:flex;gap:8px;flex-wrap:wrap;align-items:center;padding:12px 16px;border-bottom:1px solid #e2edf7}.cost-audit-tools input,.cost-audit-tools select{min-height:38px;border:1px solid #c8d9e9;border-radius:9px;background:#fff;color:#173957;padding:7px 10px;min-width:150px}.cost-audit-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:14px 16px}.cost-audit-metric{border:1px solid #dbe7f2;border-radius:11px;padding:11px 12px;background:#fbfdff;min-width:0}.cost-audit-metric small{display:block;color:#5e748a;font-size:12px;line-height:1.35}.cost-audit-metric strong{display:block;margin-top:5px;color:#173957;font-size:21px;font-variant-numeric:tabular-nums}.cost-audit-metric.is-critical{border-color:#efcaca;background:#fff8f8}.cost-audit-metric.is-critical strong{color:#a52d36}.cost-audit-metric.is-warning{border-color:#f0dfb8;background:#fffcf4}.cost-audit-metric.is-warning strong{color:#94630d}.cost-audit-table{width:100%;border-collapse:separate;border-spacing:0;font-size:13px}.cost-audit-table th{position:sticky;top:0;background:#f2f7fc;color:#49627b;text-align:left;font-weight:650;padding:10px;border-bottom:1px solid #d9e6f2;white-space:nowrap}.cost-audit-table td{padding:10px;border-bottom:1px solid #edf2f7;vertical-align:top;color:#29445e;line-height:1.4}.cost-audit-table tr:last-child td{border-bottom:0}.cost-audit-table code{font-size:11px;color:#365d82;overflow-wrap:anywhere}.cost-audit-badge{display:inline-flex;align-items:center;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:700;white-space:nowrap}.cost-audit-badge.critical{color:#9d2630;background:#fde8e9}.cost-audit-badge.warning{color:#875b0a;background:#fff1ce}.cost-audit-badge.info{color:#245a8a;background:#e7f2ff}.cost-audit-empty{padding:22px;text-align:center;color:#4b6b87}.cost-audit-foot{margin:0;padding:12px 16px;background:#f7faff;color:#5a7187;font-size:12px;line-height:1.5;border-top:1px solid #e2edf7}@media (max-width:760px){.cost-audit-head{display:block}.cost-audit-head .small-btn{margin-top:12px}.cost-audit-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.cost-audit-table{min-width:850px}}@media (max-width:420px){.cost-audit-metrics{grid-template-columns:1fr 1fr;gap:7px;padding:10px}.cost-audit-metric{padding:9px}.cost-audit-metric strong{font-size:18px}}.legacy-cost-reconciliation{margin:22px 0;padding:20px;border:1px solid #cfe0f4;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff);color:#183153;box-shadow:0 5px 18px #2359910f}.legacy-cost-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.legacy-cost-heading h3{margin:0 0 7px;color:#173b68;font-size:18px;line-height:1.35}.legacy-cost-heading p,.legacy-cost-foot,.legacy-cost-muted{margin:0;color:#52677f;font-size:13px;line-height:1.55}.legacy-cost-counter{flex:none;border-radius:999px;padding:6px 10px;background:#e7f1ff;color:#245b99;font-size:12px;font-weight:700}.legacy-cost-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:15px;border:1px solid #dbe8f6;border-radius:12px;background:#fff}.legacy-cost-source{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:7px 16px;padding:11px 12px;border-radius:9px;background:#f1f6fd;color:#435c78;font-size:12px}.legacy-cost-source strong{width:100%;color:#173b68;font-size:14px}.legacy-cost-form label,.legacy-cost-reject-reason{display:flex;flex-direction:column;gap:6px;color:#314e70;font-size:12px;font-weight:650}.legacy-cost-form input,.legacy-cost-form textarea,.legacy-cost-reject-reason input{width:100%;min-width:0;border:1px solid #cbd9e9;border-radius:8px;padding:10px 11px;background:#fff;color:#183153;font:inherit;font-size:14px;line-height:1.4;outline:none}.legacy-cost-form input:focus,.legacy-cost-form textarea:focus,.legacy-cost-reject-reason input:focus{border-color:#3785d6;box-shadow:0 0 0 3px #3785d621}.legacy-cost-form textarea{resize:vertical}.legacy-cost-form .primary{grid-column:1/-1;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;border:0;border-radius:9px;padding:10px 14px;background:#2469b4;color:#fff;font-weight:700;cursor:pointer}.legacy-cost-form .primary:disabled,.legacy-cost-actions button:disabled{opacity:.55;cursor:not-allowed}.legacy-cost-message{margin:12px 0;padding:10px 12px;border:1px solid #c8ddf4;border-radius:9px;background:#edf6ff;color:#214e7e;font-size:13px;line-height:1.45}.legacy-cost-pending,.legacy-cost-history{display:grid;gap:9px;margin-top:17px}.legacy-cost-pending h4,.legacy-cost-history h4{display:flex;align-items:center;gap:7px;margin:0;color:#214d7b;font-size:14px}.legacy-cost-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px;border:1px solid #dbe6f2;border-radius:10px;background:#fff}.legacy-cost-row>div:first-child{display:grid;gap:4px;min-width:0}.legacy-cost-row strong{color:#183b63;font-size:13px}.legacy-cost-row span,.legacy-cost-row small,.legacy-cost-history small{color:#62758c;font-size:12px;line-height:1.45;overflow-wrap:anywhere}.legacy-cost-actions{display:flex;flex:none;gap:7px;flex-wrap:wrap}.legacy-cost-actions button{display:inline-flex;align-items:center;gap:5px}.legacy-cost-actions .danger{color:#a33b3b;border-color:#e9caca}.legacy-cost-reject-reason{max-width:520px}.legacy-cost-history article{display:grid;grid-template-columns:100px minmax(100px,1fr) minmax(160px,2fr);gap:8px;align-items:center;padding:9px 11px;border-bottom:1px solid #e6edf5;font-size:12px}.legacy-cost-history article>span{font-weight:700;color:#2b6b4b}.legacy-cost-history article:has(>span:first-child){min-width:0}.legacy-cost-foot{margin-top:14px;padding-top:12px;border-top:1px solid #e0eaf5;font-size:11px}@media (max-width:720px){.legacy-cost-reconciliation{padding:14px}.legacy-cost-heading{flex-direction:column}.legacy-cost-form{grid-template-columns:1fr}.legacy-cost-form .primary{grid-column:1}.legacy-cost-row{align-items:flex-start;flex-direction:column}.legacy-cost-history article{grid-template-columns:1fr;gap:3px}.legacy-cost-actions{width:100%}}.legacy-cost-select{grid-column:1/-1;display:flex;flex-direction:column;gap:6px;color:#314e70;font-size:12px;font-weight:650}.legacy-cost-select select{width:100%;min-width:0;border:1px solid #cbd9e9;border-radius:8px;padding:10px 11px;background:#fff;color:#183153;font:inherit;font-size:14px}.legacy-return-cost{margin:18px 0;padding:18px;border:1px solid #cfe0f1;border-radius:16px;background:linear-gradient(180deg,#f7fbff,#fff);color:#17324f;display:grid;gap:14px;min-width:0}.legacy-return-cost__heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;flex-wrap:wrap}.legacy-return-cost__heading h3{margin:0 0 6px;color:#173b62;font-size:17px;line-height:1.35}.legacy-return-cost__heading p,.legacy-return-cost__foot{margin:0;color:#5a7087;font-size:13px;line-height:1.55;max-width:900px}.legacy-return-cost__count{white-space:nowrap;border:1px solid #c8def3;border-radius:999px;padding:6px 10px;background:#eaf4ff;color:#245b91;font-size:12px;font-weight:700}.legacy-return-cost__message{margin:0;border-radius:10px;padding:10px 12px;background:#eaf4ff;color:#214e7a;font-size:13px;line-height:1.45}.legacy-return-cost__form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:end}.legacy-return-cost__form label,.legacy-return-cost__reject{display:grid;gap:6px;color:#35536f;font-size:12px;font-weight:650;min-width:0}.legacy-return-cost__form label:first-child,.legacy-return-cost__source,.legacy-return-cost__form label:nth-last-child(2),.legacy-return-cost__form button{grid-column:1/-1}.legacy-return-cost__form input,.legacy-return-cost__form select,.legacy-return-cost__form textarea,.legacy-return-cost__reject input{width:100%;min-width:0;border:1px solid #cbd9e8;border-radius:9px;background:#fff;color:#18344f;padding:10px 11px;font:inherit;font-size:13px;line-height:1.4;box-sizing:border-box}.legacy-return-cost__form input:focus,.legacy-return-cost__form select:focus,.legacy-return-cost__form textarea:focus,.legacy-return-cost__reject input:focus{outline:2px solid #70b5f0;outline-offset:1px}.legacy-return-cost__source{display:grid;gap:4px;border:1px solid #d9e8f6;background:#fff;border-radius:11px;padding:12px;color:#536d85;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.legacy-return-cost__source strong{font-size:14px;color:#173b62}.legacy-return-cost__source b{color:#155b9b}.legacy-return-cost__pending,.legacy-return-cost__history{display:grid;gap:9px;min-width:0}.legacy-return-cost__pending h4,.legacy-return-cost__history h4{margin:0;display:flex;align-items:center;gap:7px;color:#234f78;font-size:14px}.legacy-return-cost__row,.legacy-return-cost__history article{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:12px;border:1px solid #d9e6f2;border-radius:11px;background:#fff;min-width:0}.legacy-return-cost__row>div:first-child{display:grid;gap:5px;min-width:0}.legacy-return-cost__row strong,.legacy-return-cost__history strong{color:#1b4167;font-size:13px}.legacy-return-cost__row span,.legacy-return-cost__row small,.legacy-return-cost__history small{color:#5b7288;font-size:12px;line-height:1.45;overflow-wrap:anywhere}.legacy-return-cost__actions{display:flex;gap:7px;flex-wrap:wrap;flex:0 0 auto}.legacy-return-cost__reject{max-width:560px}.legacy-return-cost__history article{align-items:center;flex-wrap:wrap}.legacy-return-cost__history article>span{font-size:11px;font-weight:700;color:#28704d;background:#e9f7ef;padding:4px 8px;border-radius:999px}.legacy-return-cost__muted{margin:0;color:#63798d;font-size:12px;line-height:1.5}.legacy-return-cost__foot{display:flex;align-items:flex-start;gap:7px;border-top:1px solid #e1ebf4;padding-top:10px}@media (max-width:720px){.legacy-return-cost{padding:13px}.legacy-return-cost__form{grid-template-columns:minmax(0,1fr)}.legacy-return-cost__row{display:grid}.legacy-return-cost__actions{width:100%}.legacy-return-cost__actions button{flex:1}}.simple-catalog{color:#382b29;max-width:1390px}.simple-catalog-intro{color:#645550;margin:7px 0 20px;font-size:15px;line-height:1.5}.simple-catalog-toolbar{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:18px;align-items:center}.simple-catalog button{cursor:pointer}.simple-catalog button:disabled{cursor:wait;opacity:.65}.simple-primary,.simple-secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 17px;border-radius:10px;font-weight:650;font-size:14px;line-height:1.3}.simple-primary{background:#713149;color:#fff;border:1px solid #713149}.simple-primary:hover{background:#592439}.simple-secondary{background:#fffaf4;color:#563245;border:1px solid #b99e8c}.simple-secondary:hover{border-color:#713149;background:#fff}.simple-advanced-toggle{margin-left:auto}.simple-catalog-panel{background:#faf6ee;border:1px solid #c8ae99;border-radius:14px;box-shadow:0 3px 18px #2b1a1c0e;padding:20px;margin:12px 0 22px;max-width:1040px}.simple-catalog-panel p{line-height:1.5}.simple-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.simple-panel-head h3{margin:0;font-size:20px}.simple-panel-head button{background:transparent;border:0;color:#713149;text-decoration:underline;font-size:14px}.simple-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:12px 0}.simple-form-grid label,.simple-inline label,.simple-product-receive label{display:flex;flex-direction:column;gap:7px;font-size:14px;font-weight:650;min-width:0}.simple-catalog input:not([type=checkbox]),.simple-catalog select{width:100%;max-width:100%;min-width:0;height:44px;padding:9px 12px;border:1px solid #b79c89;border-radius:9px;background:#fffdfa;color:#2e2927;font:inherit}.simple-catalog input:focus,.simple-catalog select:focus{outline:2px solid #823d57;outline-offset:1px}.simple-required{color:#9d2647}.simple-muted{font-size:13px;color:#6f5b53}.simple-more,.simple-link{display:inline-flex;align-items:center;gap:7px;padding:8px 0;border:0;background:transparent;color:#713149;text-decoration:underline;font-weight:600}.simple-bottom-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.simple-inline{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.simple-inline label{min-width:220px;flex:1}.simple-inline-checkbox{flex-direction:row!important;align-items:center;gap:9px!important}.simple-inline-checkbox input{height:19px;width:19px}.simple-catalog-message{border:1px solid #a9c7b3;background:#e8f2e9;padding:12px 15px;color:#185339;border-radius:9px;margin:12px 0;font-size:14px}.simple-catalog-message.is-error{border-color:#ce9995;background:#fff0eb;color:#832b2d}.simple-category-items{margin-top:14px;display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:8px}.simple-category-item{background:#fffefa;border:1px solid #dbc7b5;border-radius:9px;padding:10px;display:flex;align-items:center;flex-wrap:wrap;gap:8px}.simple-category-item span{flex:1;min-width:120px}.simple-category-item button{border:1px solid #c7a998;background:#fff;color:#563245;border-radius:7px;padding:6px 8px;font-size:12px;display:inline-flex;align-items:center;gap:4px}.simple-catalog-list-header{display:flex;gap:12px;align-items:center;margin:15px 0;flex-wrap:wrap}.simple-search{display:flex;align-items:center;gap:8px;flex:1;min-width:230px;position:relative}.simple-search svg{flex:0 0 auto}.simple-catalog-list-header select{width:auto;min-width:160px}.simple-product-list{display:grid;gap:8px}.simple-product{background:#fffaf4;border:1px solid #dac4ae;border-radius:12px;min-height:78px;padding:15px;display:flex;align-items:center;gap:16px;flex-wrap:wrap}.simple-product-title{flex:1;min-width:200px;display:grid;gap:5px}.simple-product-title strong{font-size:16px}.simple-product-title small,.simple-product-qty small{color:#6b615c;font-size:12px}.simple-product-qty{display:grid;gap:4px;min-width:145px}.simple-product-qty strong{font-size:17px}.simple-product-price{font-size:19px;min-width:80px;text-align:right}.simple-product-receive{width:100%;border-top:1px solid #dfcbb8;padding-top:13px;display:flex;align-items:end;gap:9px;flex-wrap:wrap}.simple-product-receive label{width:210px}.simple-empty{padding:40px 18px;border:1px dashed #c7ad99;border-radius:14px;text-align:center;display:grid;justify-items:center;gap:8px}.simple-empty h3,.simple-empty p{margin:0}.simple-advanced{margin-top:24px;border-top:2px solid #d6bdac;padding-top:20px}.simple-advanced>.workspace{padding:0}.simple-advanced>.workspace>.workspace-head{display:none}@media (max-width:700px){.simple-form-grid{grid-template-columns:1fr}.simple-advanced-toggle{margin-left:0}.simple-product-price{text-align:left}.simple-catalog-panel{padding:13px}.simple-catalog-toolbar>*{flex:1}.simple-product{gap:12px}.simple-product-title{min-width:100%}}.simple-inline>label{min-width:210px}.simple-category-item>span small{display:block;margin-top:3px;color:#665a54;font-size:12px}.simple-category-item>button{min-height:34px}.catalog-movement-history{padding:14px 16px;border-top:1px solid #dbe5ef;background:#f8fbff}.catalog-movement-history h4{margin:0 0 10px;color:#23465e}.catalog-movement-list{max-height:460px;overflow:auto;display:grid;gap:6px}.catalog-movement-list article{border:1px solid #dae5f1;border-radius:9px;padding:10px;background:#fff;display:flex;justify-content:space-between;gap:12px}.catalog-movement-list article div{display:grid;gap:3px;min-width:0}.catalog-movement-list article small,.catalog-movement-list article span{font-size:12px;overflow-wrap:anywhere;color:#64778a}.catalog-movement-in{color:#276644;white-space:nowrap}.catalog-movement-out{color:#873443;white-space:nowrap}.church-fast-desk{--cf-ink:#39292b;--cf-line:#c8b09d;--cf-panel:#fffaf2;max-width:1500px;margin:auto;color:var(--cf-ink)}.church-fast-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:18px}.church-fast-heading h2{margin:0 0 6px;color:#642438;font-size:clamp(1.5rem,2vw,2.1rem)}.church-fast-heading p{margin:0;color:#584b48}.church-fast-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:start}.church-fast-card{padding:22px;background:var(--cf-panel);border:1px solid var(--cf-line);border-radius:18px;box-shadow:0 6px 22px #5834220e;min-width:0}.church-fast-card h3{display:flex;align-items:center;gap:9px;margin:0 0 8px;color:#642438;font-size:1.24rem}.church-fast-tip{font-size:.91rem;color:#61514c;line-height:1.5;margin:0 0 16px}.church-fast-field{display:flex;flex-direction:column;gap:6px;font-size:.88rem;font-weight:600;color:#503837;min-width:0}.church-fast-field :is(input,select,textarea),.church-fast-product input{width:100%;padding:11px;border:1.5px solid #bda591;border-radius:10px;background:#fffdf9;color:#2b2523;min-width:0;font:inherit}.church-fast-field :is(input,select,textarea):focus-visible,.church-fast-product input:focus-visible{outline:3px solid #a76573;outline-offset:2px}.church-fast-products{display:flex;flex-direction:column;gap:8px;max-height:435px;overflow:auto;margin-top:14px}.church-fast-product{display:grid;grid-template-columns:minmax(0,1fr) 74px auto;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid #dec9b8}.church-fast-item{display:flex;flex-direction:column;gap:3px;min-width:0}.church-fast-item strong{overflow-wrap:anywhere;font-size:.95rem}.church-fast-item span{font-size:.84rem;color:#65524b}.church-fast-product button,.church-fast-offering button,.church-fast-settings button,.church-fast-link,.church-fast-primary{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:8px 14px;border:1.5px solid #8e4d5d;border-radius:10px;background:#fff7f0;color:#6d263a;font-weight:700;cursor:pointer}.church-fast-product button:disabled,.church-fast-primary:disabled{opacity:.5;cursor:not-allowed}.church-fast-primary{width:100%;background:#66283b;color:#fff;margin-top:15px}.church-fast-link{background:#66283b;color:#fff;text-decoration:none}.church-fast-summary{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:16px 0 0;border-top:1px solid var(--cf-line);margin-top:16px;font-size:.97rem}.church-fast-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px}.church-fast-card>.church-fast-field{margin-bottom:13px}.church-fast-fineprint{color:#5a4946;font-size:.8rem;margin:10px 0;line-height:1.45}.church-fast-settings,.church-fast-guide{border:1px solid var(--cf-line);background:#fffcf7;border-radius:12px;margin-top:16px;padding:10px 14px}.church-fast-settings summary,.church-fast-guide summary{display:flex;align-items:center;gap:7px;cursor:pointer;font-weight:650;color:#643044}.church-fast-settings-body{padding:12px 0;display:grid;gap:12px}.church-fast-offering{display:flex;justify-content:space-between;align-items:center;gap:10px;border-bottom:1px solid #e9d9cf;padding:7px 0}.church-fast-guide div{padding-top:9px;font-size:.91rem;line-height:1.55}.church-fast-status{background:#fff1e7;border:1px solid #ad7569;padding:10px;border-radius:8px;color:#562c2c}@media (max-width:1000px){.church-fast-grid{grid-template-columns:1fr}}@media (max-width:600px){.church-fast-card{padding:15px}.church-fast-product{grid-template-columns:minmax(0,1fr) 63px auto}.church-fast-product button{padding:6px}.church-fast-fields{grid-template-columns:1fr}}.church-fast-add-actions{display:flex;gap:5px;align-items:center;min-width:0;flex-wrap:wrap;justify-content:flex-end}.church-fast-add-actions button.church-fast-preset{min-width:35px;min-height:40px;padding:7px 8px;background:#fcf2e5;color:#6d263a}@media (max-width:650px){.church-fast-product{grid-template-columns:minmax(0,1fr) 64px}.church-fast-add-actions{grid-column:1/-1;justify-content:flex-end}.church-fast-add-actions button{flex:1}}.church-local-helper{position:fixed;right:18px;bottom:16px;z-index:900;font-family:inherit;color:#352728}.church-local-helper-trigger{display:flex;align-items:center;gap:7px;border-radius:24px;padding:11px 16px;border:2px solid #d8bfa5;background:#6b2b42;color:#fff;box-shadow:0 5px 20px #3214192b;font-weight:700;cursor:pointer}.church-local-helper-panel{width:min(410px,calc(100vw - 28px));max-height:min(650px,75dvh);margin-bottom:10px;padding:16px;border:2px solid #bda18e;border-radius:15px;background:#fffaf1;box-shadow:0 14px 40px #361c1f3b;overflow:auto}.church-local-helper-panel header,.church-local-helper-panel header strong{display:flex;align-items:center;justify-content:space-between;gap:8px}.church-local-helper-panel header strong{color:#65273b;font-size:1.1rem}.church-local-helper-panel header button{border:0;background:transparent;color:#65273b;cursor:pointer}.church-local-helper-panel>p{font-size:.84rem;line-height:1.4;color:#675049}.church-local-helper-panel label{display:flex;align-items:center;gap:8px;padding:7px 10px;background:#fff;border:1.5px solid #bda18e;border-radius:9px}.church-local-helper-panel input{flex:1;border:0;background:transparent;min-width:0;outline:0;color:#352728}.church-local-helper-results{display:grid;gap:9px;margin-top:12px}.church-local-helper-results article{padding:10px;border:1px solid #e1cbbb;background:#fffdf8;border-radius:11px}.church-local-helper-results h4{margin:0 0 6px;color:#65273b}.church-local-helper-results p{margin:0 0 8px;font-size:.86rem;line-height:1.4}.church-local-helper-results button{background:#fff7f0;border:1px solid #a36d7c;color:#632e43;border-radius:8px;padding:7px 10px;cursor:pointer;font-weight:600}@media (max-width:650px){.church-local-helper{bottom:78px;right:10px}.church-local-helper-trigger{padding:11px}.church-local-helper-trigger span{display:none}}.church-local-helper .church-ai-opt-in{margin-top:10px;border-top:1px solid rgba(90,62,68,.2);padding-top:10px}.church-local-helper .church-ai-opt-in>summary{display:flex;align-items:center;gap:7px;cursor:pointer;font-weight:650;list-style:none}.church-local-helper .church-ai-opt-in>summary::-webkit-details-marker{display:none}.church-local-helper .church-ai-opt-in p{font-size:13px;line-height:1.5}.church-local-helper .church-ai-opt-in button{margin:4px 5px 4px 0}.church-local-helper .church-ai-opt-in select{width:100%;max-width:100%;margin:4px 0 8px}.church-local-helper .church-local-ai-answer{padding:10px;border-radius:10px;background:#81674e17;line-height:1.5}.church-local-helper .church-local-helper-trigger .church-friend-bird{animation:church-friend-gentle 5s ease-in-out infinite}@keyframes church-friend-gentle{0%,88%,to{transform:rotate(0)}92%{transform:rotate(-8deg)}96%{transform:rotate(8deg)}}@media (prefers-reduced-motion:reduce){.church-local-helper .church-local-helper-trigger .church-friend-bird{animation:none}}.simple-home{background:#f7f1e6;min-height:100vh}.simple-home-header{padding:20px 24px;background:#651c2b;color:#fff;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}.simple-home-header div{display:flex;align-items:center;gap:12px}.simple-home-header strong{display:block;font-size:22px}.simple-home-header small{display:block;font-size:13px;color:#e0c6b3}.simple-home-status{display:flex;align-items:center;gap:10px;background:#ffffff26;padding:6px 14px;border-radius:20px;font-size:13px}.simple-status-dot{width:8px;height:8px;border-radius:50%;background:#37654d}.simple-status-dot.simple-status-on{background:#a6824a}.simple-home-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:16px;padding:20px 24px}.simple-home-card{display:flex;flex-direction:column;gap:10px;padding:20px;border:1px solid #e2d2c0;border-radius:16px;background:#fffdfa;box-shadow:0 3px 13px #4b25200b;cursor:pointer;transition:transform .15s ease}.simple-home-card:hover{border-color:#b79160;box-shadow:0 9px 18px #4b25201a;transform:translateY(-2px)}.simple-home-card:disabled{opacity:.65;cursor:not-allowed}.simple-home-card-icon{width:52px;height:52px;border-radius:12px;background:#f1e4d1;color:#86502e;display:flex;align-items:center;justify-content:center;font-size:26px}.simple-home-card strong{font-size:16px;overflow-wrap:anywhere}.simple-home-card span{font-size:13px;color:#6b6154;margin-top:4px}.simple-home-card-lock{margin-top:auto;font-size:12px;color:#842e3b;font-weight:600}.simple-home-quick{margin:0 24px 24px;padding:20px;background:#fffdfa;border:1px solid #e8ddc9;border-radius:16px;box-shadow:0 3px 18px #2b1a1c0e}.simple-home-quick h3{margin:0 0 12px;font-size:17px;color:#651c2b}.simple-home-quick-list{display:flex;gap:10px;overflow-x:auto;padding-bottom:4px}.simple-home-quick-item{white-space:nowrap;padding:8px 14px;border:1px solid #c8ae99;border-radius:20px;background:#fffdfa;color:#533c37;font-size:13px;font-weight:600;cursor:pointer}.simple-home-quick-item:hover{border-color:#a6824a}.simple-home-footer{padding:20px 24px;color:#6b6154;font-size:14px;text-align:center}@media (max-width:600px){.simple-home-grid{grid-template-columns:1fr}}.home-procurement-budget{margin:18px 0;padding:16px;border:1px solid #dfcfbd;border-radius:15px;background:#fffaf4;box-shadow:0 3px 15px #43282009}.home-procurement-budget-head{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:12px}.home-procurement-budget-head h3{margin:0;color:#65283b;font-size:16px}.home-procurement-budget-head small{display:block;margin-top:4px;color:#806f64;font-size:11px}.home-procurement-budget-head>span{font-size:11px;color:#6f5e55}.home-procurement-budget-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:9px}.home-procurement-budget-list article{display:grid;gap:6px;padding:12px;border:1px solid #e9ddce;border-radius:11px;background:#fffefb;min-width:0}.home-procurement-budget-list article>strong{color:#512638;font-size:14px;overflow-wrap:anywhere}.home-procurement-budget-list article>small{color:#78675d;font-size:11px;overflow-wrap:anywhere}.home-procurement-budget-list article>div{display:flex;justify-content:space-between;gap:8px;font-size:12px;color:#685b53}.home-procurement-budget-list article>div b{font-variant-numeric:tabular-nums;color:#45343a}.home-procurement-budget-list article .home-procurement-budget-available{padding-top:6px;border-top:1px solid #eee2d5;color:#61283a;font-weight:700}.home-procurement-budget-list article .home-procurement-budget-available b{color:#61283a;font-size:14px}.home-procurement-budget>p{margin:11px 0 0;color:#88786d;font-size:11px;line-height:1.45}.simple-pos{background:#f7f1e6;min-height:100vh}.simple-pos-header{display:flex;align-items:center;justify-content:space-between;padding:14px 24px;background:#651c2b;color:#fff;gap:12px;flex-wrap:wrap}.simple-pos-brand{display:flex;align-items:center;gap:12px}.simple-pos-brand strong{display:block;font-size:20px;letter-spacing:-.02em}.simple-pos-brand small{display:block;font-size:13px;color:#e0c6b3}.simple-pos-actions{display:flex;gap:8px;flex-wrap:wrap}.simple-pos-message{padding:8px 24px;color:#842e3b;background:#fdecea;border:1px solid #f4c2c2;border-radius:8px;font-size:14px;margin:0}.simple-pos-body{display:grid;grid-template-columns:1fr 380px;gap:20px;padding:16px 24px 30px;max-width:1400px;margin:0 auto}.simple-search{display:flex;gap:8px;align-items:center;margin-bottom:14px}.simple-search input{flex:1;height:48px;padding:10px 14px;border:1px solid #c8ae99;border-radius:10px;background:#fffdfa;color:#2e2927;font-size:15px}.simple-search input:focus{outline:2px solid #a6824a;outline-offset:1px}.simple-icon-btn{width:40px;height:40px;border:1px solid #e2d2c0;border-radius:10px;background:#fffdfa;color:#533c37;display:flex;align-items:center;justify-content:center}.simple-categories{display:flex;gap:6px;overflow-x:auto;padding-bottom:4px;margin-bottom:14px;scrollbar-width:thin}.simple-cat-btn{white-space:nowrap;padding:7px 14px;border:1px solid #dfccb7;border-radius:20px;background:#fffdfa;color:#533c37;font-size:13px;font-weight:600;cursor:pointer}.simple-cat-btn:hover{border-color:#b79160}.simple-cat-btn.simple-cat-active{background:#651c2b;border-color:#651c2b;color:#fff}.simple-cat-title{font-size:13px;color:#6b6154;align-self:center;margin-right:6px}.simple-products{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,150px),1fr));gap:12px}.simple-product{display:flex;flex-direction:column;align-items:center;gap:8px;padding:12px;border:1px solid #e2d2c0;border-radius:14px;background:#fffdfa;box-shadow:0 3px 13px #4b25200b;cursor:pointer;min-height:210px;position:relative}.simple-product:hover:not(.simple-product-out){border-color:#b79160;box-shadow:0 9px 18px #4b25201a;transform:translateY(-2px)}.simple-product-out{opacity:.6;cursor:not-allowed}.simple-product-thumb{width:64px;height:64px;border-radius:10px;background:#f1e4d1;color:#86502e;display:flex;align-items:center;justify-content:center;font-size:28px}.simple-product-thumb img{width:100%;height:100%;object-fit:cover;border-radius:10px}.simple-product-name{font-size:14px;font-weight:600;line-height:1.3;min-height:34px;overflow-wrap:anywhere;text-align:center;color:#36282c}.simple-product-code{font-size:11px;color:#725134;background:#f3e5d4;border-radius:6px;padding:2px 7px;margin-bottom:6px}.simple-product-stock{font-size:12px;color:#37654d;font-weight:600;margin-top:4px}.simple-product-price{font-size:16px;font-weight:700;color:#651c2b;margin-top:auto}.simple-product-out .simple-product-price{color:#8c7144}.simple-empty{grid-column:1/-1;text-align:center;color:#6b6154;padding:40px}.simple-pos-right{display:flex;flex-direction:column;gap:16px}.simple-cart,.simple-payment{background:#fffdfa;border:1px solid #e8ddc9;border-radius:16px;padding:16px;box-shadow:0 3px 18px #2b1a1c0e}.simple-cart-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.simple-cart-head h3{margin:0;font-size:17px}.simple-cart-lines{max-height:300px;overflow-y:auto;padding-right:4px}.simple-cart-empty{text-align:center;color:#6b6154;padding:20px}.simple-cart-line{display:flex;align-items:center;justify-content:space-between;padding:8px 6px;border-bottom:1px solid #f0e6d8}.simple-cart-line-main{flex:1;min-width:0}.simple-cart-line-main strong{display:block;font-size:14px;overflow-wrap:anywhere}.simple-cart-line-main .simple-cart-line-code{font-size:11px;color:#725134}.simple-cart-line-main .simple-cart-line-qty{font-size:13px;color:#6b6154}.simple-cart-line-discount{color:#842e3b;font-size:12px}.simple-cart-line-total{font-weight:700;white-space:nowrap}.simple-cart-line-controls{display:flex;gap:6px}.simple-cart-footer{border-top:1px solid #f0e6d8;padding-top:8px;display:flex;justify-content:space-between}.simple-payment h3{margin:0 0 12px;font-size:17px}.simple-payment-methods{display:flex;gap:8px;margin-bottom:12px}.simple-pay-method{flex:1;padding:10px;border:1px solid #c8ae99;border-radius:10px;background:#fffdfa;color:#533c37;display:flex;align-items:center;justify-content:center;gap:8px;font-size:13px;font-weight:600;cursor:pointer}.simple-pay-method.simple-pay-active{background:#651c2b;border-color:#651c2b;color:#fff}.simple-pay-method svg{width:18px;height:18px}.simple-cash-fields,.simple-card-fields{display:flex;flex-direction:column;gap:8px}.simple-cash-fields label,.simple-card-fields label{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:600}.simple-cash-fields input,.simple-card-fields input{height:40px;padding:8px 12px;border:1px solid #b79c89;border-radius:8px;background:#fffdfa;font:inherit}.simple-change{display:flex;justify-content:space-between;font-size:14px;margin-top:4px}.simple-change span{color:#6b6154}.simple-change strong{color:#2e2927}.simple-denoms{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.simple-denoms button{width:48px;height:36px;border:1px solid #c8ae99;border-radius:8px;background:#fffdfa;color:#533c37;cursor:pointer;font-size:13px}.simple-denoms button:hover{border-color:#a6824a}.simple-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:50px;border:none;border-radius:12px;font-weight:700;font-size:16px;cursor:pointer;transition:transform .1s ease}.simple-btn:active{transform:translateY(1px)}.simple-btn:disabled{opacity:.65;cursor:not-allowed}.simple-btn-primary{background:#651c2b;color:#fff;width:100%}.simple-btn-primary:hover:not(:disabled){background:#4d1522}.simple-btn-secondary{background:#fffaf4;color:#563245;border:1px solid #b99e8c}.simple-btn-secondary:hover{border-color:#713149;background:#fff}.simple-btn-outline{background:transparent;border:1px solid #c8ae99;color:#651c2b;padding:6px 14px;font-size:13px}.simple-disclaimer{font-size:12px;color:#6b6154;margin-top:10px}@media (max-width:900px){.simple-pos-body{grid-template-columns:1fr;padding-bottom:80px}.simple-pos-right{order:2}}.simple-pos-more{grid-column:1/-1;display:flex;justify-content:center;padding:12px}.simple-cart-line{flex-wrap:wrap;gap:8px;align-items:flex-start}.simple-cart-line-main{min-width:160px}.simple-cart-line-controls{margin-left:auto}.simple-discount-toggle{margin-top:6px;padding:3px 8px;border:1px solid #b8d3ee;background:#f1f7ff;color:#174e82;border-radius:7px;font-weight:700;cursor:pointer}.simple-discount-toggle:focus-visible,.simple-discount-actions button:focus-visible{outline:3px solid #0e90ca;outline-offset:2px}.simple-discount-note{display:block;font-size:12px;color:#526277;margin-top:4px;overflow-wrap:anywhere}.simple-discount-editor{display:grid;gap:8px;padding:10px;margin:9px 0;border:1px solid #c9daef;background:#f5f9ff;border-radius:10px;min-width:min(100%,240px)}.simple-discount-editor label{display:grid;gap:3px;font-size:12px;color:#1a3552;font-weight:700}.simple-discount-editor input{max-width:100%;padding:8px;border-radius:6px;border:1px solid #b8cce0;background:#fff;color:#183153}.simple-discount-actions{display:flex;flex-wrap:wrap;gap:5px}.simple-discount-actions button{border:1px solid #a9c4e0;background:#fff;color:#174e82;border-radius:7px;padding:6px 8px;cursor:pointer}.simple-discount-actions button:nth-child(2){background:#2563eb;color:#fff;border-color:#2563eb}.simple-donation-toggle{display:flex!important;flex-direction:row!important;align-items:flex-start!important;gap:8px!important;padding:10px;border:1px solid #a6cdec;border-radius:9px;background:#eef7ff;color:#163d5e;font-size:13px!important;line-height:1.45}.simple-donation-toggle input{width:18px;height:18px;min-width:18px;margin:0;padding:0;accent-color:#2563eb}.simple-free-note{padding:12px;border-radius:9px;background:#f0f8ff;border:1px solid #bedced;color:#164769;font-size:13px;line-height:1.5;margin:0 0 12px}.simple-catalog{background:#f7f1e6;min-height:100vh}.simple-catalog-head{display:flex;align-items:center;justify-content:space-between;padding:14px 24px;background:#651c2b;color:#fff;flex-wrap:wrap;gap:12px}.simple-catalog-head div{display:flex;align-items:center;gap:12px}.simple-catalog-head strong{display:block;font-size:20px}.simple-catalog-head small{display:block;font-size:13px;color:#e0c6b3}.simple-msg{padding:8px 24px;color:#842e3b;background:#fdecea;border:1px solid #f4c2c2;border-radius:8px;font-size:14px;margin:0}.simple-msg.simple-msg-error{color:#4d1522;background:#fdf3f3;border-color:#f4c2c2}.simple-catalog-toolbar{display:flex;gap:10px;align-items:center;margin:16px 24px 0;flex-wrap:wrap}.simple-catalog-toolbar label{display:flex;align-items:center;gap:6px;font-size:14px;font-weight:600}.simple-catalog-toolbar input{flex:1;min-width:220px;height:44px;padding:10px 14px;border:1px solid #c8ae99;border-radius:10px;background:#fffdfa;color:#2e2927;font:inherit}.simple-catalog-toolbar input:focus{outline:2px solid #a6824a;outline-offset:1px}.simple-product-form{background:#fffdfa;border:1px solid #e8ddc9;border-radius:16px;padding:20px;margin:16px 24px;box-shadow:0 3px 18px #2b1a1c0e}.simple-product-form h3{margin:0 0 16px;font-size:19px;color:#651c2b}.simple-form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px}.simple-form-grid label{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:600}.simple-form-grid label small{font-size:12px;color:#6b6154;font-weight:400}.simple-form-grid input,.simple-form-grid select,.simple-form-grid textarea{width:100%;height:44px;padding:10px 14px;border:1px solid #b79c89;border-radius:9px;background:#fffdfa;color:#2e2927;font:inherit}.simple-form-grid input:focus,.simple-form-grid select:focus,.simple-form-grid textarea:focus{outline:2px solid #a6824a;outline-offset:1px}.simple-form-grid textarea{height:90px;padding:10px 14px;resize:vertical}.simple-form-extra-toggle{margin-top:12px;display:flex;align-items:center;gap:6px}.simple-form-extra-toggle button{background:none;border:none;color:#651c2b;font-weight:600;font-size:14px;cursor:pointer;display:flex;align-items:center;gap:6px}.simple-form-extra-toggle button:hover{text-decoration:underline}.simple-form-actions{display:flex;gap:10px;margin-top:16px}.simple-product-list{margin:16px 24px}.simple-product-list h3{font-size:17px;color:#651c2b;margin-bottom:12px}.simple-product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr));gap:12px}.simple-product-card{display:flex;flex-direction:column;gap:8px;padding:14px;border:1px solid #e2d2c0;border-radius:14px;background:#fffdfa;box-shadow:0 3px 13px #4b25200b}.simple-product-card-image{max-width:60px;max-height:60px;object-fit:cover;border-radius:6px;margin-bottom:6px;border:1px solid #e2d2c0}.simple-product-card-info{display:flex;flex-direction:column;gap:4px}.simple-product-card-info strong{font-size:15px;overflow-wrap:anywhere}.simple-product-card-info span{font-size:12px;color:#6b6154}.simple-product-cat{color:#a6824a;font-weight:600}.simple-product-stock{color:#37654d;font-weight:600}.simple-product-card-price{font-size:17px;font-weight:700;color:#651c2b;margin-top:6px}.simple-product-card-actions{display:flex;gap:6px;margin-top:auto}.simple-category-editor{background:#fffdfa;border:1px solid #e8ddc9;border-radius:16px;padding:20px;margin:16px 24px;box-shadow:0 3px 18px #2b1a1c0e}.simple-category-editor h3{margin:0 0 16px;font-size:19px;color:#651c2b}.simple-category-tree{margin-bottom:16px}.simple-category-node{margin-bottom:6px}.simple-category-node-row{display:flex;align-items:center;gap:10px;padding:8px 12px;background:#fff;border:1px solid #e2d2c0;border-radius:10px}.simple-category-node-row span{font-size:14px}.simple-category-count{color:#6b6154;font-size:12px;margin-left:auto}.simple-icon-btn{width:32px;height:32px;border:1px solid #e2d2c0;border-radius:8px;background:#fffdfa;color:#533c37;display:flex;align-items:center;justify-content:center;cursor:pointer}.simple-icon-btn.simple-icon-del{color:#8c7144}.simple-category-form{display:flex;flex-direction:column;gap:10px}.simple-category-form label{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:600}.simple-category-form input,.simple-category-form select{height:44px;padding:10px 14px;border:1px solid #b79c89;border-radius:9px;background:#fffdfa;color:#2e2927;font:inherit}@media (max-width:700px){.simple-catalog-head{flex-direction:column;align-items:flex-start}.simple-product-form,.simple-category-editor{padding:16px}}:root{--color-brand-burgundy: #215cb9;--color-brand-burgundy-dark: #16478d;--color-brand-burgundy-light: #3879d4;--color-gold-muted: #4e94c9;--color-gold-muted-dark: #2f6eac;--color-cream-bg: #f4f8fd;--color-cream-bg-soft: #eaf3fd;--color-ivory-card: #ffffff;--color-ivory-card-border: #dbe7f5;--color-text-main: #172c48;--color-text-muted: #59708b;--color-text-on-burgundy: #f4f8ff;--color-success: #28784f;--color-danger: #b42333;--color-warning: #a56a12;--color-border-soft: #d6e3f3;--color-focus-ring: #2486da;--color-shadow: rgba(21, 59, 103, .07);--color-shadow-strong: rgba(21, 59, 103, .15);--font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;--font-family-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;--font-size-base: 15px;--font-size-sm: 13px;--font-size-lg: 19px;--font-size-xl: 22px;--font-size-display: 28px;--line-height-tight: 1.35;--line-height-normal: 1.55;--line-height-relaxed: 1.75;--radius-sm: 7px;--radius-md: 11px;--radius-lg: 16px;--spacing-xs: 6px;--spacing-sm: 10px;--spacing-md: 16px;--spacing-lg: 24px;--spacing-xl: 36px;--sidebar-width: 256px;--sidebar-width-mobile: 72px;--topbar-height: 66px;--bottom-nav-height: 60px;--transition-normal: .18s ease;--safe-area-bottom: env(safe-area-inset-bottom, 0px);--safe-area-top: env(safe-area-inset-top, 0px)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:var(--font-family-ui);background:var(--color-cream-bg);color:var(--color-text-main);font-size:var(--font-size-base);line-height:var(--line-height-normal);-webkit-font-smoothing:antialiased}h1,h2,h3,h4,h5,h6{font-family:var(--font-family);margin:0 0 12px;font-weight:700;color:var(--color-text-main);line-height:var(--line-height-tight)}h1{font-size:var(--font-size-xl)}h2{font-size:var(--font-size-lg)}h3{font-size:17px}h4{font-size:15px}p{margin:0 0 10px;color:var(--color-text-main)}small{color:var(--color-text-muted);font-size:var(--font-size-sm)}a{color:var(--color-brand-burgundy);text-decoration:underline}button{font-family:inherit;font-size:inherit;cursor:pointer;border:none;background:none;margin:0;padding:0;color:inherit}button:focus-visible{outline:2px solid var(--color-focus-ring);outline-offset:2px}input,select,textarea{font-family:inherit;font-size:inherit}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}.sr-only:not(:focus):not(:active){clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;width:1px;white-space:nowrap}.cart-list{display:flex;flex-direction:column;gap:10px;max-height:420px;overflow-y:auto;padding:10px;background:var(--color-ivory-card);border:1px solid var(--color-ivory-card-border);border-radius:var(--radius-md)}.cart-line{display:flex;align-items:center;gap:10px;padding:10px;background:#fff;border:1px solid var(--color-border-soft);border-radius:var(--radius-sm)}.cart-line-name{flex:1;font-weight:600;color:var(--color-text-main)}.cart-line-qty{display:flex;align-items:center;gap:6px}.cart-line-qty button{width:28px;height:28px;border:1px solid var(--color-border-soft);border-radius:var(--radius-sm);background:#fff;font-size:16px;line-height:1}.cart-line-qty span{min-width:24px;text-align:center;font-size:15px}.cart-line-price{font-variant-numeric:tabular-nums;color:var(--color-text-muted)}.cart-line-remove{color:var(--color-text-muted);padding:4px;border-radius:var(--radius-sm)}.cart-line-remove:hover{background:#fdecec;color:var(--color-danger)}.cart-total{display:flex;justify-content:space-between;margin-top:12px;padding-top:10px;border-top:1px solid var(--color-border-soft);font-weight:700;font-size:17px;color:var(--color-text-main)}.pay{background:var(--color-brand-burgundy);color:#fff;border-radius:var(--radius-md);padding:14px 24px;font-size:16px;font-weight:600;margin-top:12px;width:100%}.pay:disabled{opacity:.5;cursor:not-allowed}.small-btn{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border:1px solid var(--color-border-soft);border-radius:var(--radius-sm);background:#fff;font-size:14px;color:var(--color-text-main);cursor:pointer}.small-btn:disabled{opacity:.5;cursor:not-allowed}.small-btn:hover:not(:disabled){background:var(--color-cream-bg-soft)}.storage-splash{display:flex;align-items:center;justify-content:center;min-height:40vh;padding:24px;background:var(--color-cream-bg)}.storage-splash-card{background:#fff;border:1px solid var(--color-ivory-card-border);border-radius:var(--radius-lg);padding:32px;max-width:420px;width:100%;text-align:center}.storage-splash h1{color:var(--color-brand-burgundy);font-size:24px;margin-bottom:8px}.storage-splash h2{font-size:17px;margin-bottom:12px}.storage-splash p{margin-bottom:16px;color:var(--color-text-muted)}.storage-indicator{font-size:12px;padding:4px 8px;border-radius:var(--radius-sm);background:#e8f0e9;color:var(--color-success)}.workspace{padding:16px;max-width:1200px;margin:0 auto}.workspace-head{display:flex;align-items:center;gap:10px;margin-bottom:16px}.workspace-head h2{margin:0;font-size:20px;color:var(--color-brand-burgundy)}.workspace-head span{font-size:14px;color:var(--color-text-muted)}.workspace-panel{background:#fff;border:1px solid var(--color-ivory-card-border);border-radius:var(--radius-md);padding:20px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;background:#29222359;z-index:50}.modal{background:#fff;border:1px solid var(--color-ivory-card-border);border-radius:var(--radius-lg);padding:24px;max-width:480px;width:90%;max-height:90vh;overflow-y:auto}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.drawer-scrim{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40}.mobile-bottom-nav{display:flex;justify-content:space-around;position:fixed;bottom:0;left:0;right:0;height:var(--bottom-nav-height);background:#fff;border-top:1px solid var(--color-border-soft);z-index:10;padding-bottom:var(--safe-area-bottom)}.mobile-bottom-nav button{display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 4px;font-size:12px;color:var(--color-text-muted);border-radius:0}.mobile-bottom-nav button.active{color:var(--color-brand-burgundy)}.mobile-bottom-nav span{font-size:11px;font-weight:600}.topbar{display:flex;align-items:center;justify-content:space-between;height:var(--topbar-height);background:#fff;border-bottom:1px solid var(--color-border-soft);padding:0 16px;z-index:30}.topbar h1{font-size:17px;margin:0;color:var(--color-text-main)}.icon-btn{width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:var(--radius-sm);border:1px solid var(--color-border-soft);background:#fff;color:var(--color-text-main);cursor:pointer}.icon-btn:hover{background:var(--color-cream-bg-soft)}.top-right{display:flex;align-items:center;gap:12px}.operator{font-size:13px;color:var(--color-text-muted);white-space:nowrap}.status{font-size:13px;color:var(--color-text-muted);display:flex;align-items:center;gap:6px}.status.on{color:var(--color-success)}.sidebar{position:fixed;inset:0 0 0 auto;width:var(--sidebar-width);background:var(--color-brand-burgundy);color:var(--color-text-on-burgundy);display:flex;flex-direction:column;z-index:60;transform:translate(100%);transition:transform var(--transition-normal)}.sidebar.open{transform:translate(0)}.sidebar nav{display:flex;flex-direction:column;padding:16px;gap:4px;flex:1;overflow-y:auto}.sidebar button{display:flex;align-items:center;gap:10px;padding:12px 16px;border-radius:var(--radius-md);font-size:15px;font-weight:500;text-align:left;width:100%;color:var(--color-text-on-burgundy);cursor:pointer}.sidebar button:not(.active):hover{background:#ffffff1a}.sidebar button.active{background:#ffffff2e}.brand{padding:16px;border-bottom:1px solid rgba(255,255,255,.12);text-align:center}.brand-icon{width:44px;height:44px;border-radius:var(--radius-md);background:#ffffff26;display:flex;align-items:center;justify-content:center;margin:0 auto 10px}.brand strong{font-family:var(--font-family);font-size:20px;line-height:var(--line-height-tight)}.brand small{color:#f7efe3cc;font-size:12px}.sidebar-foot{padding:16px;font-size:12px;color:#f7efe3b3;text-align:center;border-top:1px solid rgba(255,255,255,.12)}.app{display:flex;min-height:100vh}.main{flex:1;margin-left:0;min-height:100vh;padding-top:var(--topbar-height);padding-bottom:var(--bottom-nav-height)}.cash-layout{display:grid;grid-template-columns:1fr 380px;gap:16px}.catalog{display:flex;flex-direction:column;gap:12px}.searchbar{display:flex;gap:8px;align-items:center}.searchbar input{flex:1;padding:10px 14px;border:1px solid var(--color-border-soft);border-radius:var(--radius-md);font-size:15px;background:#fff}.categories{display:flex;gap:8px;overflow-x:auto;padding-bottom:6px;scrollbar-width:none}.categories::-webkit-scrollbar{display:none}.categories button{display:flex;align-items:center;gap:6px;padding:8px 14px;border:1px solid var(--color-border-soft);border-radius:24px;background:#fff;font-size:14px;white-space:nowrap;cursor:pointer}.categories button.selected{background:var(--color-brand-burgundy);color:#fff;border-color:var(--color-brand-burgundy)}.products{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}.product{display:flex;flex-direction:column;gap:8px;padding:12px;border:1px solid var(--color-ivory-card-border);border-radius:var(--radius-md);background:#fff;cursor:pointer;text-align:center}.product:hover{border-color:var(--color-brand-burgundy-light)}.product-illustration{height:70px;display:flex;align-items:center;justify-content:center;border-radius:var(--radius-sm);background:var(--color-cream-bg-soft);color:var(--color-brand-burgundy)}.product-name{font-weight:600;font-size:14px;color:var(--color-text-main)}.code{font-size:12px;color:var(--color-text-muted);margin-bottom:4px}.product-bottom{display:flex;justify-content:space-between;align-items:center}.product-bottom b{font-size:15px;color:var(--color-brand-burgundy)}.empty{grid-column:1 / -1;text-align:center;color:var(--color-text-muted);padding:24px}.checkout{display:flex;flex-direction:column;gap:12px;background:#fff;border:1px solid var(--color-ivory-card-border);border-radius:var(--radius-md);padding:16px;position:sticky;top:16px}.panel-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.panel-heading h2{font-size:17px;margin:0;color:var(--color-brand-burgundy)}.cash-fields{display:flex;flex-direction:column;gap:6px}.cash-fields label{display:flex;flex-direction:column;gap:4px;font-size:14px}.cash-fields input{padding:8px 10px;border:1px solid var(--color-border-soft);border-radius:var(--radius-sm);font-size:15px;font-variant-numeric:tabular-nums;width:140px}.change{font-weight:700;font-size:16px;color:var(--color-brand-burgundy);display:flex;justify-content:space-between;margin-top:6px}.denoms{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.denoms button{padding:6px 10px;border:1px solid var(--color-border-soft);border-radius:var(--radius-sm);background:#fff;font-size:13px;cursor:pointer}.denoms button:hover{background:var(--color-cream-bg-soft)}.terminal-confirm{border:1px solid var(--color-border-soft);border-radius:var(--radius-sm);padding:12px;background:#fdfaf5;margin-bottom:8px}.terminal-confirm p{font-size:13px;margin:0 0 8px;color:var(--color-text-muted)}.terminal-confirm label{display:flex;align-items:center;gap:8px;font-size:13px;margin-bottom:6px}.donate{display:flex;align-items:center;gap:8px;font-size:13px;margin-top:8px}.disclaimer{font-size:12px;color:var(--color-text-muted);margin-top:10px}.quick-actions{display:flex;flex-direction:column;gap:8px}.quick-actions b{font-size:14px;color:var(--color-brand-burgundy)}.quick-actions div{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none}.quick-actions div::-webkit-scrollbar{display:none}.quick-actions button{display:flex;align-items:center;gap:6px;padding:8px 12px;border:1px solid var(--color-brand-burgundy-light);border-radius:var(--radius-sm);background:#fff;color:var(--color-brand-burgundy-dark);font-size:13px;font-weight:600;white-space:nowrap;cursor:pointer}.quick-actions button:hover{background:var(--color-brand-burgundy-light)}.held-checks{margin-top:16px}.held-checks h3{font-size:15px;margin:0 0 8px;color:var(--color-brand-burgundy)}.report-controls{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:16px}.report-controls label{display:flex;flex-direction:column;gap:4px;font-size:13px}.report-controls select,.report-controls input{padding:6px 10px;border:1px solid var(--color-border-soft);border-radius:var(--radius-sm);background:#fff;font-size:14px}.report-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin-bottom:16px}.report-metrics article{background:#fff;border:1px solid var(--color-ivory-card-border);border-radius:var(--radius-md);padding:14px;text-align:center}.report-metrics small{display:block;font-size:12px;color:var(--color-text-muted);margin-bottom:4px}.report-metrics strong{font-size:17px;color:var(--color-brand-burgundy)}.report-table{margin-top:12px}.report-table-head{display:grid;grid-template-columns:2fr 1fr 1fr;gap:8px;padding:8px;background:var(--color-cream-bg-soft);border-radius:var(--radius-sm);font-size:13px;font-weight:600;color:var(--color-text-muted)}.report-table-row{display:grid;grid-template-columns:2fr 1fr 1fr;gap:8px;padding:8px;border-bottom:1px solid var(--color-border-soft);font-size:14px}.report-table-row strong{color:var(--color-brand-burgundy)}.report-receipts{margin-top:12px;display:flex;flex-direction:column;gap:8px}.report-receipts article{padding:10px;border:1px solid var(--color-ivory-card-border);border-radius:var(--radius-sm);background:#fff}.report-receipts article div{font-size:14px}.report-receipts article b{font-size:16px;color:var(--color-brand-burgundy)}.warehouse-warning{margin-top:12px;font-size:12px;color:var(--color-text-muted);border-top:1px solid var(--color-border-soft);padding-top:10px}.production-message,.stocktake-alert,.treasury-notice,.treasury-shortage{padding:10px 14px;border-radius:var(--radius-sm);margin:10px 0;font-size:13px}.production-message{background:#e8f0e9;color:var(--color-success)}.stocktake-alert{background:#fdf3f3;color:var(--color-danger);border:1px solid #f5c6c6}.production-warning{background:#fdf6e7;color:#8a6d1a;padding:10px 14px;border-radius:var(--radius-sm);margin:10px 0;font-size:13px}.stocktake-scroll{max-height:350px;overflow-y:auto;border:1px solid var(--color-border-soft);border-radius:var(--radius-md);background:#fff}.stocktake-scroll table{width:100%;border-collapse:collapse;font-size:13px}.stocktake-scroll th,.stocktake-scroll td{padding:8px;text-align:left;border-bottom:1px solid var(--color-border-soft)}.stocktake-scroll th{background:var(--color-cream-bg-soft);font-weight:600;color:var(--color-text-muted)}.stocktake-diff{font-weight:700}.stocktake-diff:before{content:attr(data-sign)}.stocktake-controls{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:12px}.stocktake-meta{display:flex;gap:16px;font-size:14px;margin-bottom:12px;color:var(--color-text-muted)}.stocktake-actions{display:flex;gap:10px;align-items:center;margin-top:12px;flex-wrap:wrap}.stocktake-actions label{display:flex;flex-direction:column;gap:4px;font-size:13px}.stocktake-actions input{padding:6px 10px;border:1px solid var(--color-border-soft);border-radius:var(--radius-sm);font-size:14px;width:140px}.period-select,.warehouse-select{padding:6px 10px;border:1px solid var(--color-border-soft);border-radius:var(--radius-sm);font-size:14px;background:#fff}.placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px;text-align:center;color:var(--color-text-muted)}.placeholder-icon{font-size:48px;margin-bottom:16px;color:var(--color-text-muted)}.ornament{color:var(--color-gold-muted)}.user-list{display:flex;flex-direction:column;gap:10px}.user-card{display:flex;justify-content:space-between;align-items:center;padding:12px;border:1px solid var(--color-ivory-card-border);border-radius:var(--radius-md);background:#fff}.user-card div{flex:1}.user-card strong{color:var(--color-text-main)}.user-card small{color:var(--color-text-muted)}.permission-grid{margin-top:10px;display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:6px}.permission-grid label{display:flex;align-items:center;gap:6px;font-size:12px}.inventory-row{display:flex;justify-content:space-between;align-items:center;padding:10px;border-bottom:1px solid var(--color-border-soft);background:#fff}.inventory-row .sku{font-weight:600;color:var(--color-brand-burgundy)}.inventory-row .inventory-name{flex:1;margin:0 12px}.inventory-row .inventory-name strong{display:block}.inventory-row .inventory-name small{display:block;font-size:12px;color:var(--color-text-muted)}.production-card,.treasury-panel{background:#fff;border:1px solid var(--color-ivory-card-border);border-radius:var(--radius-md);padding:16px;margin-bottom:12px}.production-title,.treasury-panel h3{display:flex;justify-content:space-between;align-items:center;margin:0 0 12px;font-size:16px;color:var(--color-brand-burgundy)}.production-hint{font-size:13px;color:var(--color-text-muted);margin:8px 0}.production-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px}.production-grid label{display:flex;flex-direction:column;gap:4px;font-size:13px}.production-grid input,.production-grid select{padding:6px 10px;border:1px solid var(--color-border-soft);border-radius:var(--radius-sm);font-size:14px;background:#fff}.production-toolbar{display:flex;gap:8px;margin-bottom:12px;flex-wrap:wrap}.production-line{border:1px solid var(--color-border-soft);border-radius:var(--radius-sm);padding:12px;margin-bottom:10px;background:#fff}.production-line .production-title{margin:0 0 8px;font-size:14px}.production-stats{display:flex;gap:16px;margin:12px 0}.production-stats span{font-size:14px}.production-stats b{color:var(--color-brand-burgundy)}.production-cost-list{margin-top:10px;font-size:13px;color:var(--color-text-muted)}.production-cost-list p{margin:4px 0}.production-confirm{display:flex;align-items:center;gap:8px;font-size:13px;margin-top:8px}.production-page,.assembly-page{max-width:1000px;margin:0 auto}.production-documents,.assembly-docs{display:flex;flex-direction:column;gap:6px;margin-bottom:16px}.production-documents button,.assembly-docs button{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;border:1px solid var(--color-ivory-card-border);border-radius:var(--radius-sm);background:#fff;text-align:left;cursor:pointer}.production-documents button.active,.assembly-docs button.active{border-color:var(--color-brand-burgundy);background:var(--color-cream-bg-soft)}.production-documents small,.assembly-docs small{font-size:12px;color:var(--color-text-muted)}.assembly-actions{display:flex;gap:8px;margin-bottom:12px;flex-wrap:wrap}.assembly-line{display:flex;flex-direction:column;gap:8px;margin-bottom:10px}.assembly-line .production-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}.assembly-line-end{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--color-text-muted)}.assembly-totals{display:flex;gap:20px;margin:12px 0;padding:12px;background:var(--color-cream-bg-soft);border-radius:var(--radius-sm)}.assembly-totals span{font-size:14px}.assembly-totals b{color:var(--color-brand-burgundy)}.assembly-error,.assembly-warning{color:var(--color-danger);font-size:13px;margin:8px 0}.treasury-form{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px;margin-bottom:16px}.treasury-form label{display:flex;flex-direction:column;gap:4px;font-size:13px}.treasury-form input,.treasury-form select,.treasury-form textarea{padding:6px 10px;border:1px solid var(--color-border-soft);border-radius:var(--radius-sm);font-size:14px;background:#fff}.treasury-docs{display:flex;flex-direction:column;gap:8px}.treasury-doc{border:1px solid var(--color-ivory-card-border);border-radius:var(--radius-md);padding:12px;background:#fff}.treasury-doc-title{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:6px}.treasury-doc-title strong{color:var(--color-brand-burgundy)}.treasury-status{font-size:12px;padding:2px 8px;border-radius:10px;background:var(--color-cream-bg-soft);color:var(--color-text-muted)}.treasury-doc-meta{font-size:12px;color:var(--color-text-muted);margin-bottom:8px}.treasury-actions{display:flex;gap:8px;flex-wrap:wrap}.treasury-calendar article{padding:10px;border:1px solid var(--color-ivory-card-border);border-radius:var(--radius-sm);background:#fff;margin-bottom:8px}.treasury-calendar article strong{color:var(--color-brand-burgundy)}.treasury-calendar article span{display:block;font-size:13px;margin:2px 0}.treasury-calendar article b{color:var(--color-success)}.treasury-sections{display:flex;gap:16px;flex-wrap:wrap;margin-bottom:16px}.treasury-section,.treasury-panel{flex:1;min-width:280px}.inventory-row button.small-btn{padding:4px;min-width:28px}.stocktake-conflicts{display:flex;flex-direction:column;gap:7px;min-width:220px}.stocktake-conflicts>div{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;padding:6px 8px;border:1px solid var(--color-border-soft);border-radius:var(--radius-sm);background:var(--color-cream-bg-soft)}.stocktake-meta>span{align-self:center}.stocktake-meta .small-btn,.stocktake-meta .secondary-btn{align-self:center}:root{--workspace-max: 1440px;--touch-min: 44px}body{background:linear-gradient(150deg,#f8f3e9,#f3eadc)}.main{min-width:0}.workspace{max-width:var(--workspace-max)}.workspace-panel,.treasury-form,.treasury-doc,.report-metrics article{box-shadow:0 3px 16px #42221f0b}.sidebar{background:linear-gradient(172deg,#691f31,#501724)}.sidebar .brand{position:relative;padding:19px 16px}.sidebar .brand:after{content:"";display:block;width:62px;height:1px;margin:15px auto 0;background:linear-gradient(90deg,transparent,#d3ac6b,transparent)}.sidebar nav{gap:16px;padding:12px 10px 26px}.nav-search{display:flex;align-items:center;gap:8px;margin:12px 12px 2px;padding:0 11px;min-height:44px;border:1px solid rgba(255,255,255,.21);border-radius:11px;color:#f4e8d7;background:#ffffff14}.nav-search input{background:transparent;border:0;outline:0;color:#fff;width:100%;min-width:0;font-size:14px}.nav-search input::placeholder{color:#ead8d6;opacity:.8}.nav-search button{display:grid;place-items:center;color:#fff;min-width:28px;min-height:32px}.nav-search:focus-within{outline:2px solid #d1b27f;outline-offset:1px}.nav-section{display:flex;flex-direction:column;gap:2px}.nav-section h2{font-family:var(--font-family-ui);color:#dbc39e;text-transform:uppercase;font-weight:700;letter-spacing:.075em;font-size:10px;margin:6px 10px 3px}.sidebar .nav-section button{min-height:40px;padding:9px 12px;border-radius:10px;font-size:14px;gap:11px;transition:background-color .15s ease}.sidebar .nav-section button svg{flex:0 0 auto;opacity:.88}.sidebar .nav-section button.active{background:#f5ede2;color:#5b1b2c;font-weight:700;box-shadow:0 2px 9px #1e0a1121}.sidebar .nav-section button.active svg{opacity:1;color:#8c6332}.topbar{background:#fffbf6f5;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.workspace-head{flex-wrap:wrap}.workspace-head h2{letter-spacing:.01em}button,.small-btn,.icon-btn{-webkit-tap-highlight-color:transparent}.small-btn{min-height:40px;align-items:center;justify-content:center}.pay{min-height:52px;box-shadow:0 4px 11px #54182821;transition:transform .13s ease,background .13s ease}.pay:hover:not(:disabled){background:var(--color-brand-burgundy-dark)}.pay:active:not(:disabled){transform:translateY(1px)}input,select,textarea{accent-color:var(--color-brand-burgundy)}input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--color-gold-muted);outline-offset:2px}@media (max-width:920px){.mobile-bottom-nav{height:calc(64px + var(--safe-area-bottom));padding:4px 5px var(--safe-area-bottom);background:#fffbf6;box-shadow:0 -4px 16px #391b1c14}.mobile-bottom-nav button{min-width:0;min-height:52px;border-radius:10px;justify-content:center;gap:3px}.mobile-bottom-nav button.active{background:#f0e5d9}.mobile-bottom-nav span{font-size:10px;line-height:1.15}.main{padding-bottom:calc(78px + var(--safe-area-bottom))}.sidebar{width:min(88vw,320px)}.workspace{padding:12px}.topbar{gap:8px}.cart-line-qty button{min-width:40px;min-height:40px}input,select,textarea{font-size:16px}}@media (prefers-reduced-motion:reduce){.pay,.sidebar .nav-section button{transition:none}}@media (min-width:921px){.sidebar{left:0;right:auto;transform:none;width:var(--sidebar-width);box-shadow:3px 0 18px #2e181d14}.main{margin-left:var(--sidebar-width);padding-top:0;padding-bottom:0}.topbar{position:sticky;top:0}.mobile-bottom-nav,.hamburger,.drawer-scrim{display:none}}.settings-intro{display:flex;gap:16px;align-items:flex-start;background:#f9f2e8;border:1px solid #e7d9c6;border-radius:16px;padding:18px 20px;margin:18px 0;color:#6b2639}.settings-intro strong{display:block;font-family:var(--font-family);font-size:19px;margin-bottom:5px}.settings-intro p{font-size:14px;margin:0;line-height:1.5;color:#62554d}.settings-hub{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:12px}.settings-link{display:flex;gap:14px;align-items:center;min-height:92px;border:1px solid #eadfce;border-radius:15px;padding:17px;text-align:left;background:#fffcf7;box-shadow:0 3px 15px #49261f0d;transition:transform .15s,border-color .15s}.settings-link:not(:disabled):hover{border-color:#bb966a;transform:translateY(-1px)}.settings-link:disabled{opacity:.5;cursor:not-allowed}.settings-link-icon{display:grid;place-items:center;flex:0 0 45px;width:45px;height:45px;border-radius:12px;background:#f3e8dd;color:#742638}.settings-link strong{display:block;font-size:15px;color:#4f1b2a}.settings-link small{display:block;line-height:1.4;margin-top:4px;font-size:12px}.settings-link-chevron{margin-left:auto;font-size:25px;color:#b59775}.settings-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:12px;margin-top:23px}.settings-summary>div{background:#f6efe4;border-radius:12px;padding:15px;border:1px solid #e6d9c8}.settings-summary svg{color:#956f43;vertical-align:middle;margin-right:8px}.settings-summary strong{color:#4f1b2a}.settings-summary p{font-size:12px;color:#645952;margin:8px 0 0}.settings-footnote{margin-top:20px;font-size:12px;color:#75675c}.quick-actions-head{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}.quick-edit{display:inline-flex;align-items:center;gap:6px;border-radius:8px;border:1px solid #dec7ad;background:#fbf6ef;color:#6b2b3b;padding:7px 10px;font-size:12px;min-height:36px}.quick-edit:hover{background:#efe2d2}.quick-empty{font-size:13px;color:#74665b}.quick-modal{max-width:560px;text-align:left}.quick-modal p{font-size:13px;color:#67594e}.quick-search{width:100%;padding:11px 12px;border:1px solid #dbc9b6;border-radius:9px}.quick-product-list{display:flex;flex-direction:column;gap:3px;max-height:min(46vh,390px);overflow:auto;margin-top:10px}.quick-product-list label{display:flex;align-items:center;gap:12px;min-height:44px;padding:8px 10px;border-radius:8px;cursor:pointer}.quick-product-list label:hover{background:#f6ebdd}.quick-product-list label span{flex:1;font-size:14px}.quick-product-list label small{font-size:12px;color:#806c58}.quick-product-list input{min-width:18px;min-height:18px}.pos-mobile-switch{display:none}@media (max-width:920px){.cash-layout{display:block;padding:10px 12px 95px}.cash-layout.pos-pane-products .checkout,.cash-layout.pos-pane-cart .catalog{display:none}.cash-layout .catalog,.cash-layout .checkout{width:100%;min-width:0}.cash-layout .products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cash-layout .product{min-height:152px;padding:13px 9px;border-radius:14px}.cash-layout .product-illustration{height:65px}.cash-layout .product-name{line-height:1.25}.cash-layout .categories{padding:6px 1px 9px}.cash-layout .categories button{min-height:45px}.pos-mobile-switch{display:flex;position:fixed;bottom:calc(67px + var(--safe-area-bottom));left:10px;right:10px;gap:5px;padding:5px;border:1px solid #dfcbb6;border-radius:15px;background:#fffbf6;box-shadow:0 6px 22px #2c17142b;z-index:55}.pos-mobile-switch button{display:flex;align-items:center;justify-content:center;gap:7px;flex:1;min-width:0;min-height:47px;padding:8px 9px;border-radius:11px;font-size:13px;color:#674d45;font-weight:600}.pos-mobile-switch button.selected{background:#6b1f31;color:#fff}.cash-layout .checkout{padding:10px 2px 30px}.topbar .ornament{display:none}.topbar .operator{max-width:180px}.topbar .operator select{max-width:140px}}@media (max-width:350px){.cash-layout .products{grid-template-columns:1fr 1fr}.pos-mobile-switch button{font-size:11px}}@media (max-width: 760px){.topbar{height:auto;min-height:62px;display:flex;flex-wrap:wrap;gap:7px 10px;padding:10px 12px 8px}.topbar h1{flex:1;min-width:0;font-size:17px}.topbar .top-right{width:100%;min-width:0;display:flex;gap:8px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;padding:2px 1px 7px}.topbar .top-right>*{flex:0 0 auto}.topbar .top-right .operator{display:flex;align-items:center;gap:5px;font-size:11px}.topbar .top-right .operator select{max-width:135px;padding:8px;border:1px solid #e1cbb3;border-radius:9px;background:#fffbf5;color:#542735}.topbar .storage-indicator,.topbar .status{white-space:nowrap}.main{padding-top:0}.sidebar{overscroll-behavior-y:contain}.cart-list{max-height:38vh}}@media (min-width: 761px) and (max-width: 1200px){.top-right{gap:7px}.topbar .operator select{max-width:110px}.topbar h1{font-size:15px}}.user-card .permission-grid{background:#fffaf4;border:1px solid #e9d8c7;border-radius:12px;padding:14px;margin-top:10px}.user-card .permission-grid label{min-height:35px}:focus-visible{outline:2px solid #a97c46;outline-offset:3px}.receiving-review-list{display:grid;gap:12px;margin-top:16px}.receiving-review-card{background:#fffbf5;border:1px solid #e6d6c4;border-radius:14px;padding:15px 17px;box-shadow:0 2px 9px #562f260b}.receiving-review-title{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin-bottom:12px;color:#582438}.receiving-review-title strong{font-size:15px}.receiving-review-card small{color:#6b5d52;line-height:1.5}.receiving-review-fields{display:grid;grid-template-columns:minmax(180px,2fr) repeat(2,minmax(120px,1fr)) minmax(130px,1fr);align-items:end;gap:11px;margin-bottom:9px}.receiving-review-fields label{font-size:12px;display:flex;flex-direction:column;gap:5px}.receiving-review-fields input:not([type=checkbox]),.receiving-review-fields select{width:100%;min-width:0;padding:10px;border:1px solid #d8c5b2;border-radius:9px;background:#fff;min-height:43px}.receiving-review-checkbox{display:flex!important;align-items:center;flex-direction:row!important;font-weight:600;font-size:13px!important;min-height:44px}.receiving-review-checkbox input{width:19px;height:19px}.receiving-summary{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;margin:18px 0;padding:16px;background:#f3e6d6;border-radius:12px;color:#582438}.receiving-footer{display:flex;justify-content:flex-end;gap:10px;align-items:center}.receiving-footer .pay{max-width:360px;margin:0}@media (max-width:800px){.receiving-review-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.receiving-footer .pay{flex:1;min-width:0}}@media (max-width:480px){.receiving-review-fields{grid-template-columns:1fr}.receiving-footer{flex-direction:column-reverse}.receiving-footer button{width:100%;max-width:none}}.receiving-document-entry{display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px;width:100%;text-align:left;cursor:pointer;color:#562139;font:inherit;transition:border-color .15s,box-shadow .15s}.receiving-document-entry:hover,.receiving-document-entry:focus-visible{border-color:#a97c46;box-shadow:0 0 0 3px #aa7e3e26}.receiving-document-entry small{margin-left:auto}.receiving-page .treasury-form{margin:16px 0}.receiving-page .receiving-review-card textarea{width:100%;min-height:66px;resize:vertical;border:1px solid #d8c5b2;border-radius:10px;padding:10px;background:#fffaf5;font:inherit}.receiving-page .treasury-actions button{min-height:44px}.receiving-page .receiving-review-card input:disabled,.receiving-page .receiving-review-card select:disabled{background:#f4ede4;color:#625950}@media (max-width:600px){.receiving-document-entry{flex-direction:column;align-items:stretch}.receiving-document-entry small{margin-left:0}.receiving-page .receiving-summary{flex-direction:column}.receiving-page .treasury-actions{flex-wrap:wrap}.receiving-page .treasury-actions button{flex:1 1 140px}}.transfer-review{margin-top:12px}.transfer-count,.transfer-discrepancy{display:grid;gap:12px;padding:16px;border:1px solid #dac4ae;border-radius:14px;background:#fffaf4}.transfer-count p,.transfer-discrepancy p{margin:0;line-height:1.5}.transfer-count label,.transfer-discrepancy label{display:flex;flex-direction:column;gap:5px;font-size:14px}.transfer-count label small{color:#795d4c}.transfer-count input,.transfer-count textarea,.transfer-discrepancy textarea{padding:10px 12px;border-radius:10px;border:1px solid #cdb8a7;background:#fff;min-height:44px;font:inherit}.transfer-count textarea,.transfer-discrepancy textarea{min-height:75px;resize:vertical}.transfer-discrepancy{background:#fff4df;border-color:#d9a46a}.transfer-review .small-btn{min-height:44px}.transfer-review button:focus-visible{outline:3px solid #bd914a;outline-offset:2px}.hub-page{max-width:1200px;margin:0 auto}.hub-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}.hub-panel{margin:0 0 16px;background:#fffaf4;border:1px solid #e6d5bd;border-radius:16px;padding:20px;box-shadow:0 2px 12px #41221d0d;min-width:0}.hub-panel h3{color:#682238;margin:0 0 14px}.hub-panel label{display:flex;flex-direction:column;gap:7px;margin-bottom:12px;color:#694d42}.hub-panel input{width:100%;min-width:0;min-height:45px;border:1px solid #d8c5b2;border-radius:11px;padding:10px 12px;background:#fff;color:#48242d;font:inherit}.hub-note{display:flex;align-items:flex-start;gap:11px;border-radius:13px;padding:14px 16px;margin:14px 0 18px;line-height:1.5}.hub-note p{margin:0}.hub-note svg{flex-shrink:0;margin-top:3px}.hub-note-warning{background:#fff4e5;border:1px solid #e9cc9b;color:#644637}.hub-help{font-size:13px;line-height:1.55;color:#6d5a4d}.hub-message{color:#6e2938;font-weight:500;line-height:1.5}.hub-state{display:flex;align-items:center;gap:10px;padding:11px 12px;background:#f4e8d9;border-radius:11px;color:#673043;margin-bottom:12px}.hub-scroll{overflow-x:auto;max-height:360px;overflow-y:auto}.hub-table{border-collapse:collapse;width:100%;min-width:340px;font-size:14px}.hub-table th,.hub-table td{padding:10px 12px;text-align:left;border-bottom:1px solid #eadccc}.hub-table th{position:sticky;top:0;background:#f6eddf;color:#612b39}.hub-error{color:#932a36;font-size:13px}.hub-empty{padding:18px;border-radius:12px;background:#fbf2e6;color:#674c42}@media (max-width:760px){.hub-columns{grid-template-columns:1fr}.hub-panel{padding:15px}.hub-note{padding:12px}.hub-panel button{min-height:46px}}.hub-document-lookup{display:flex;align-items:end;flex-wrap:wrap;gap:10px}.hub-document-lookup label{flex:1 1 260px;min-width:0}.hub-document-lookup input{width:100%}.hub-readiness{font-size:12px;line-height:1.4;font-weight:650;white-space:normal}.hub-readiness-available{color:#316a4d}.hub-readiness-short,.hub-readiness-no-record{color:#9d3941}.hub-readiness-unknown{color:#785e41}.hub-proof{border:1px solid #dbcaac;background:#fcf7ed;border-radius:13px;margin-top:12px;padding:16px;color:#4b3038}.hub-proof strong{color:#5d2032}.hub-proof p{margin:8px 0;font-size:13px;overflow-wrap:anywhere}.hub-proof code{overflow-wrap:anywhere}.hub-page .hub-table td{vertical-align:top}@media (max-width:640px){.hub-page .hub-columns{grid-template-columns:minmax(0,1fr)}.hub-document-lookup .small-btn{width:100%}.hub-page .hub-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}}.hub-pilot-panel{border-color:#d8c29d;background:linear-gradient(135deg,#fffaf2,#f8f0e5)}.hub-pilot-consent{display:flex;align-items:flex-start;gap:11px;line-height:1.5;color:#594539}.hub-pilot-consent input{min-width:20px;min-height:20px;margin-top:3px}.hub-pilot-actions{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0}.hub-pilot-actions button{min-height:45px}.hub-pilot-panel code{overflow-wrap:anywhere;word-break:break-word}.pos-trust-banner{display:flex;align-items:center;gap:12px;padding:11px 16px;margin:10px 14px 0;border:1px solid #e4cba7;border-radius:13px;background:#fff5e7;color:#754729;box-shadow:0 3px 11px #512e180d}.pos-trust-banner>svg{flex:0 0 auto}.pos-trust-banner>div{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}.pos-trust-banner strong{font-size:13px;font-weight:700;color:#653520}.pos-trust-banner span{font-size:12px;line-height:1.5;color:#765a45}.pos-trust-banner button{flex:0 0 auto;border:1px solid #d7ac79;border-radius:9px;color:#65302e;background:#fffaf3;padding:9px 12px;font-size:12px;min-height:42px;font-weight:650}.product-stock{display:block;color:#756451;font-size:11px;margin:3px 0}.product:disabled,.quick-actions button:disabled{opacity:.48;cursor:not-allowed;box-shadow:none}@media (max-width:760px){.pos-trust-banner{margin:8px 12px 0;padding:11px;align-items:flex-start;flex-wrap:wrap}.pos-trust-banner button{margin-left:31px}}.label-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;align-items:start}.label-layout .treasury-form{min-width:0}.label-layout .treasury-form h3{display:flex;align-items:center;gap:8px;margin:6px 0 15px;color:#572534}.label-input-row{display:flex;gap:12px}.label-input-row label{flex:1;min-width:0}.label-input-row input{width:100%}.label-fields{border:1px solid #e3d2ba;border-radius:10px;padding:12px;display:flex;flex-wrap:wrap;gap:6px 14px;margin:12px 0}.label-fields legend{color:#5e3642;font-weight:700;padding:0 6px}.label-fields label{display:flex;align-items:center;gap:7px;cursor:pointer;min-height:34px;font-size:13px}.label-fields input{min-width:18px;min-height:18px}.label-preview{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;width:min(100%,300px);max-width:100%;min-height:155px;margin:14px auto;border:1px dashed #ceb79c;border-radius:12px;padding:16px;background:#fff;color:#282320;text-align:center}.label-brand{font-size:10px;letter-spacing:.15em;color:#724b58;font-weight:700}.label-title{font-size:14px;line-height:1.3;overflow-wrap:anywhere}.label-price{font-size:20px}.barcode-preview{display:flex;align-items:center;width:min(100%,260px);height:50px;overflow:hidden}.barcode-preview svg{width:100%;height:100%}.label-digits{font-size:12px;font-family:monospace;overflow-wrap:anywhere}@media (max-width:760px){.label-layout{grid-template-columns:minmax(0,1fr)}.label-layout .treasury-form{padding:14px}}.hub-staff-identity{display:flex;flex-direction:column;gap:3px;padding:13px 15px;margin:12px 0;border:1px solid #d2b894;border-radius:12px;background:linear-gradient(115deg,#fdf7ea,#f7ecda);color:#55283a}.hub-staff-identity strong{font-size:14px;overflow-wrap:anywhere}.hub-staff-identity span{font-size:12px;line-height:1.5;color:#70513e}.hub-audit-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:12px 0}.hub-audit-controls .hub-help{margin:0}.hub-page .hub-scroll{border:1px solid #eddfca;border-radius:12px}.hub-page .hub-table tbody tr:nth-child(2n){background:#fdf8f0}.hub-page .hub-table tbody tr:hover{background:#f9eedf}.hub-page .hub-table td{overflow-wrap:anywhere}.hub-page .hub-table th{font-weight:700}.hub-page :where(button,input):focus-visible{outline:3px solid #b98745;outline-offset:2px}@media (max-width:640px){.hub-audit-controls{align-items:stretch;flex-direction:column}.hub-audit-controls button{width:100%}.hub-page .hub-table{font-size:12px}}.scanner-modal{width:min(100%,520px);max-height:calc(100dvh - 30px);overflow-y:auto;text-align:left}.scanner-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.scanner-head h2{display:flex;align-items:center;gap:10px;font-size:clamp(19px,3.5vw,24px)}.scanner-video-frame{position:relative;aspect-ratio:4/3;border-radius:14px;background:#261b20;overflow:hidden;margin:12px 0}.scanner-video-frame video{width:100%;height:100%;object-fit:cover}.scanner-target{position:absolute;top:23%;right:13%;bottom:23%;left:13%;border:2px solid #e7c893;border-radius:16px;box-shadow:0 0 0 999px #19091129;pointer-events:none}.scanner-status{display:flex;align-items:flex-start;gap:8px;line-height:1.5;font-size:13px;color:#725545}.scanner-status svg{flex-shrink:0;margin-top:2px;color:#8c6538}.scanner-manual{background:#f6eee3;border:1px solid #e6d9c8;border-radius:13px;padding:14px}.scanner-manual label{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:700;color:#67243a;margin-bottom:10px}.scanner-manual-row{display:flex;gap:9px}.scanner-manual-row input{min-width:0;flex:1;min-height:46px;border:1px solid #d2bfa8;border-radius:9px;padding:10px 11px;background:#fffaf5}.scanner-manual-row button{min-height:46px}.scanner-footnote{font-size:12px;color:#796c60;line-height:1.5;margin-bottom:0}@media (max-width:420px){.scanner-modal{max-height:calc(100dvh - 18px);padding:14px}.scanner-video-frame{aspect-ratio:1.15}.scanner-manual-row{flex-wrap:wrap}.scanner-manual-row button{flex:1}}.hub-pilot-stage{display:inline-flex;align-items:center;border-radius:999px;padding:6px 10px;min-height:30px;font-size:12px;font-weight:700;background:#f1ece4;color:#675447;white-space:nowrap}.hub-pilot-stage-held{background:#e8eee2;color:#41623d}.hub-pilot-stage-unknown,.hub-pilot-stage-release_unknown,.hub-pilot-stage-manual_review{background:#fff2d9;color:#8f5a17}.hub-pilot-stage-committed{background:#efe3e8;color:#712d47}.hub-pilot-stage-released,.hub-pilot-stage-expired{background:#eeeae5;color:#65584d}.hub-pilot-stage-rejected{background:#f8e8e6;color:#9b4141}.hub-table td code{overflow-wrap:anywhere;word-break:break-word}@media (max-width:420px){.hub-pilot-stage{font-size:11px;padding:5px 8px}.hub-panel{min-width:0}.hub-scroll{max-width:100%;overflow-x:auto}}.table-scroll{width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;border-radius:12px;border:1px solid #e3d3c8;background:#fffdfa;margin:13px 0 18px}.table-scroll table{min-width:760px;width:100%;border-collapse:collapse;margin:0}.table-scroll th{background:#f5ece5;text-align:left;color:#603744;white-space:nowrap;font-weight:700}.table-scroll td,.table-scroll th{padding:12px 14px;border-bottom:1px solid #f0e6e0;vertical-align:middle}.table-scroll td small{display:block;margin-top:4px;color:#756b68;font-size:12px}.table-scroll td input[type=text]{min-width:96px;max-width:136px;min-height:40px;border:1px solid #dacabb;border-radius:8px;padding:7px 9px}.table-scroll td input[type=checkbox]{width:19px;height:19px;accent-color:#733248}.pricing-ledger-page .receiving-worklist-stats{margin:14px 0}.pricing-ledger-page .treasury-form{margin-top:18px}.repricing-label-panel{margin-top:18px;min-width:0}.repricing-label-panel .receiving-label-list{max-height:310px;overflow:auto}.repricing-label-panel .receiving-label-row{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:12px;border-bottom:1px solid #e5d9d2}.repricing-label-panel .receiving-label-row strong{min-width:0;overflow-wrap:anywhere}.repricing-label-panel .receiving-label-row span{white-space:nowrap;color:#673046}@media (max-width:620px){.pricing-ledger-page .invoice-price-controls label{flex:1 1 100%}.table-scroll td,.table-scroll th{padding:10px}.repricing-label-panel .receiving-label-row{align-items:flex-start;flex-direction:column;gap:4px}}.recent-cash-undo{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:10px 0;padding:10px;border:1px solid #b8a28d;border-radius:10px;background:#f7f0e6;color:#352b29}.recent-cash-undo .small-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;border:1px solid #7d4457;background:#fffaf2;color:#552c3c;font-weight:700}.recent-cash-undo small{font-size:.78rem;color:#524b46}.recent-cash-undo [role=alert]{width:100%}.shared-pos{max-width:1200px;margin:0 auto;color:#583c38}.shared-pos .workspace-head{margin-bottom:20px}.shared-pos .workspace-head h2{display:flex;align-items:center;gap:10px;color:#572134}.shared-pos .workspace-head svg{color:#a17a4c;flex-shrink:0}.shared-pos-warning,.shared-pos-footer{display:flex;align-items:flex-start;gap:12px;padding:15px 17px;border-radius:15px;line-height:1.55}.shared-pos-warning{background:#fff3e3;border:1px solid #e6c99a;color:#5d4638;margin:0 0 18px}.shared-pos-warning svg,.shared-pos-footer svg{flex:0 0 auto;margin-top:3px}.shared-pos-warning p,.shared-pos-footer p{margin:0}.shared-pos-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:stretch}.shared-pos-panel{margin:0 0 16px;background:#fffbf5;border:1px solid #e9d9c5;border-radius:16px;padding:20px;box-shadow:0 5px 16px #5228240a;min-width:0}.shared-pos-panel h3{display:flex;align-items:center;gap:9px;font-size:17px;color:#62233a;margin:0 0 14px}.shared-pos-panel h3 svg{color:#ad8254}.shared-pos-panel label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600;color:#624c43;margin:0 0 13px}.shared-pos-panel input:not([type=checkbox]){width:100%;min-width:0;min-height:46px;background:#fff;border:1px solid #decdbb;border-radius:11px;padding:10px 12px;font:inherit;color:#452533}.shared-pos-panel .small-btn{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:9px 14px;margin:3px 8px 3px 0;border-radius:11px;white-space:normal;text-align:center}.shared-pos-panel .small-btn:disabled{opacity:.5;cursor:not-allowed}.shared-pos-subtle{font-size:13px;line-height:1.5;color:#75665b;margin:8px 0 13px}.shared-pos-error,.shared-pos-notice{border-radius:12px;padding:12px 14px;margin:12px 0 16px;font-size:14px;line-height:1.5;overflow-wrap:anywhere}.shared-pos-error{background:#ffefea;border:1px solid #e5b8ae;color:#8a292a}.shared-pos-notice{background:#edf5ee;border:1px solid #bbd7c3;color:#285f41}.shared-pos-items{display:grid;gap:2px;margin:12px 0;max-height:230px;overflow-y:auto}.shared-pos-line{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:42px;padding:7px 4px;border-bottom:1px solid #eee1d3;font-size:14px}.shared-pos-line strong,.shared-pos-sum strong{color:#542032;white-space:nowrap}.shared-pos-sum{display:flex;justify-content:space-between;align-items:center;gap:8px;font-weight:700;border-top:1px solid #dac9b9;padding-top:13px;margin:13px 0}.shared-pos-sum strong{font-size:23px;font-variant-numeric:tabular-nums}.shared-pos-case-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr));gap:9px}.shared-pos-case{display:flex;flex-direction:column;gap:5px;text-align:left;padding:13px 15px;border:1px solid #e3d3c0;border-radius:11px;background:#fff;min-width:0;min-height:94px}.shared-pos-case span{font-size:12px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere;color:#68574e}.shared-pos-case strong{font-size:14px;color:#56253a}.shared-pos-case small{font-size:11px;color:#8a7163}.shared-pos-case.selected{border-color:#934b65;background:#f8eced;box-shadow:0 0 0 2px #8b49601c}.shared-pos-selected{margin:15px 0 2px;padding:17px;border:1px solid #e1cbb6;border-radius:13px;background:#faf2e8;overflow-wrap:anywhere}.shared-pos-selected h4{font-size:15px;color:#572035;margin:0 0 8px}.shared-pos-selected p{font-size:13px;line-height:1.5;margin:7px 0}.shared-pos-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.shared-pos-payment-modes{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0 15px}.shared-pos-payment-modes button{border:1px solid #d6c0ac;border-radius:10px;padding:11px 17px;min-height:44px;color:#6e4150;background:#fff7ee;flex:1 1 130px}.shared-pos-payment-modes button.selected{background:#6c2135;color:#fff;border-color:#6c2135}.shared-pos-panel .shared-pos-checkbox{display:flex;align-items:center;flex-direction:row;gap:10px;min-height:44px;font-size:14px;cursor:pointer}.shared-pos-checkbox input{width:19px;height:19px;flex:0 0 auto}.shared-pos-panel .shared-pos-post{background:#68243a;color:#fff;border-color:#68243a;padding:12px 17px;min-height:52px;font-weight:700}.shared-pos-footer{margin:12px 0 28px;border:1px solid #dfd1c2;background:#f5ede3;color:#66574b;font-size:13px}@media (max-width:820px){.shared-pos-grid{grid-template-columns:1fr;gap:0}.shared-pos-panel{padding:16px;margin-bottom:12px}.shared-pos-case-grid{grid-template-columns:1fr}.shared-pos-case{min-height:75px}.shared-pos-panel .small-btn{width:100%;margin:4px 0;justify-content:center}.shared-pos-payment-modes button{flex:1 1 90px;padding:10px 6px;font-size:13px}.shared-pos-sum strong{font-size:20px}}.shared-shift-office{margin-top:24px;border-top:2px solid #e2ceba;padding-top:22px}.shared-shift-heading{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:9px;margin-bottom:12px}.shared-shift-heading h3{display:flex;align-items:center;gap:10px;font-size:20px;color:#622239;margin:0}.shared-shift-heading h3 svg{color:#b18b5e}.shared-shift-heading>span{font-size:12px;color:#775d51;border:1px solid #dfccbb;background:#fff9f0;border-radius:99px;padding:5px 12px}.shared-shift-select{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:#684d44;font-size:13px;font-weight:600}.shared-shift-select select{max-width:350px;width:100%;padding:9px 12px;min-height:44px;border:1px solid #dccabb;border-radius:10px;background:#fffaf6;color:#4b2c34}.shared-shift-meta{display:flex;gap:14px;flex-wrap:wrap;margin:0 0 13px;font-size:12px;color:#7a6558}.shared-shift-meta strong{color:#5e3440}.shared-shift-amounts{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:8px;margin:14px 0}.shared-shift-amounts>div{display:flex;flex-direction:column;justify-content:center;gap:6px;min-height:68px;padding:12px 15px;border-radius:12px;background:#fbf2e8;border:1px solid #ead9c6}.shared-shift-amounts span{font-size:12px;color:#765c50}.shared-shift-amounts strong{font-size:19px;color:#59243a;font-variant-numeric:tabular-nums}.shared-shift-closed{display:flex;gap:12px;flex-wrap:wrap;align-items:center;background:#f0f3e9;border:1px solid #d1dbc4;border-radius:12px;padding:14px;margin:12px 0}.shared-shift-closed span,.shared-shift-closed strong{color:#3b6548}.shared-shift-closed small{color:#6b735f}.shared-shift-journal{display:grid;gap:10px;max-height:470px;overflow-y:auto;margin-top:10px}.shared-shift-intent{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:12px 14px;background:#fff9f1;border:1px solid #e7d6c5;border-radius:12px}.shared-shift-intent>div{display:flex;flex-direction:column;gap:6px;min-width:0}.shared-shift-intent strong{color:#5d2840;font-size:14px}.shared-shift-intent small{font-size:11px;overflow-wrap:anywhere;color:#807065}.shared-shift-intent .small-btn{flex:0 0 auto}@media (max-width:720px){.shared-shift-heading h3{font-size:17px}.shared-shift-amounts{grid-template-columns:repeat(2,minmax(0,1fr))}.shared-shift-amounts strong{font-size:16px}.shared-shift-select,.shared-shift-select select{width:100%}.shared-shift-intent{flex-direction:column;align-items:stretch}.shared-shift-intent .small-btn{width:100%;justify-content:center}}@media (max-width:390px){.shared-shift-amounts{grid-template-columns:1fr}}.shared-pos-shortcuts{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:16px}.shared-pos-shortcuts button{padding:10px 18px;border:1px solid #d8c3ae;color:#63273f;background:#fff9f2;border-radius:999px;min-height:44px;font-size:14px;font-weight:600}.shared-pos-shortcuts button:focus-visible{outline:3px solid #b18b5e;outline-offset:2px}.shared-pos-scroll-target,#shared-sale-workspace{scroll-margin-top:115px}.supplier-layout{display:grid;grid-template-columns:minmax(250px,.84fr) minmax(0,1.65fr);gap:17px;align-items:start;margin-top:16px}.supplier-directory,.supplier-editor,.supplier-offers,.invoice-intake,.invoice-attachments{background:#fffcf8;border:1px solid #e4d5c3;border-radius:18px;padding:19px;box-shadow:0 6px 24px #3b211e0b}.supplier-actions{display:flex;gap:9px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:14px}.supplier-actions h3,.supplier-offers h3,.invoice-intake h3,.invoice-attachments h3{margin:0;color:#652437;display:flex;gap:9px;align-items:center;font-size:18px}.supplier-actions label{display:flex;align-items:center;gap:9px;flex:1;min-width:160px;font-size:13px;color:#67564c}.supplier-actions input{min-width:90px;width:100%;min-height:43px}.supplier-list{display:grid;gap:7px;max-height:640px;overflow-y:auto}.supplier-item{border:1px solid #e8d9c8;padding:13px 14px;border-radius:11px;min-height:75px;text-align:left;background:#fffdf9;display:grid;gap:4px;width:100%;transition:border-color .12s,background-color .12s}.supplier-item:hover{border-color:#c5a47b}.supplier-item.selected{border-color:#8b4f61;background:#fbf0eb;box-shadow:inset 3px 0 #772638}.supplier-item strong{font-size:14px;color:#47212b;overflow-wrap:anywhere}.supplier-item small{font-size:12px;color:#7f7268}.supplier-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}.supplier-fields label,.invoice-price-controls label{display:flex;flex-direction:column;gap:6px;color:#68544e;font-size:13px;min-width:0;font-weight:600}.supplier-fields label input,.supplier-fields label select,.supplier-fields label textarea,.invoice-price-controls select{min-height:44px;width:100%;padding:9px 10px;border:1px solid #dac9b8;border-radius:9px;background:#fffdfa;color:#382c2c;min-width:0}.supplier-fields label textarea{resize:vertical}.supplier-wide{grid-column:1/-1}.supplier-subsection{margin:16px 0;padding:15px;border:1px solid #e7d9c8;border-radius:13px;background:#fffaf4}.supplier-subsection-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:12px}.supplier-subsection-head h4{margin:0;color:#64283a;font-size:15px}.supplier-subsection-head small{display:block;color:#7a6c62;font-size:11px;line-height:1.45;margin-top:4px}.supplier-repeat-card{padding:13px;margin:10px 0;border:1px solid #e6d8c8;border-radius:11px;background:#fffefb}.supplier-repeat-head{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;color:#5b2b3b}.supplier-repeat-head>div{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.supplier-inline-check{display:flex;align-items:center;gap:6px;font-size:12px;color:#67544c}.supplier-inline-check input{width:17px;height:17px;accent-color:#792b43}.supplier-linked-group{display:grid;gap:7px;margin:12px 0;padding:13px 15px;border:1px solid #d9c5a9;border-radius:11px;background:#f8f1e7}.supplier-linked-group>strong{color:#612a3b;font-size:14px}.supplier-linked-group>small,.supplier-linked-group p{margin:0;color:#74665c;font-size:12px;line-height:1.45}.supplier-linked-group>div{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;padding-top:7px;border-top:1px solid #e6d8c8;font-size:13px;color:#4c3635}.supplier-linked-group>div small{color:#7b6d62}.supplier-offers{margin-top:18px}.supplier-offer-list{display:grid;gap:7px;margin:17px 0 0}.supplier-offer-row{display:flex;flex-wrap:wrap;align-items:center;gap:13px;padding:12px 14px;border-radius:12px;border:1px solid #eaddcd;background:#fffefb}.supplier-offer-row>div{flex:1;min-width:180px}.supplier-offer-row strong,.supplier-offer-row small{display:block;overflow-wrap:anywhere}.supplier-offer-row strong{font-size:14px;color:#552535}.supplier-offer-row small{font-size:12px;color:#7c6c61;margin-top:4px}.supplier-offer-row b{color:#672638;font-variant-numeric:tabular-nums;font-size:15px}.supplier-offers .quick-empty{display:flex;align-items:center;gap:8px;margin:12px 0 0}.invoice-intake{margin:18px 0 20px;padding:20px}.invoice-intake>.workspace-head{margin-bottom:13px}.invoice-input-grid{display:grid;grid-template-columns:minmax(220px,.95fr) minmax(0,1.6fr);gap:12px;margin:12px 0 16px}.invoice-file-picker{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:10px;padding:18px;min-height:151px;border:1.5px dashed #b99b78;border-radius:14px;background:linear-gradient(180deg,#fcf5ea,#f9f1e7);color:#642537;font-weight:700;cursor:pointer}.invoice-file-picker input{max-width:100%;font-size:12px;min-height:35px}.invoice-file-picker small{font-size:12px;font-weight:400;color:#685d56;line-height:1.4}.invoice-source-notes{display:grid;align-content:center;gap:7px;padding:13px 15px;background:#f7f0e8;border-radius:12px;border:1px solid #e9d9c5}.invoice-source-notes p{display:flex;align-items:flex-start;gap:9px;color:#625a52;font-size:12px;line-height:1.55;margin:0}.invoice-source-notes svg{flex:0 0 17px;color:#8b4d60;margin-top:2px}.invoice-intake>label{display:grid;gap:8px;font-size:13px;font-weight:700;color:#6b3945}.invoice-intake>label textarea{width:100%;max-width:100%;min-height:140px;resize:vertical;border:1px solid #d7c3ae;border-radius:11px;padding:13px;background:#fffefb;font-size:13px;line-height:1.65;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.invoice-tools,.invoice-price-controls{display:flex;flex-wrap:wrap;gap:11px;align-items:end;margin:12px 0 18px}.invoice-price-controls{padding:12px 13px;background:#f8f0e7;border-radius:12px}.invoice-price-controls label{min-width:140px}.invoice-extract-meta{border:1px solid #d8cab4;border-radius:12px;padding:14px;margin:14px 0;background:#f9f4ec;line-height:1.5}.invoice-extract-meta>strong{color:#5a2535}.invoice-extract-meta>small{display:block;color:#655a54;margin:6px 0}.invoice-extract-meta p{font-size:12px;margin:5px 0;color:#725c50}.invoice-rejected{margin-top:12px;padding:10px;border-left:3px solid #aa7851;background:#fff9f1;max-height:260px;overflow-y:auto}.invoice-rejected strong{color:#743a36}.invoice-rejected label{display:flex;align-items:flex-start;gap:9px;font-size:12px;line-height:1.5;margin-top:11px}.invoice-rejected input[type=checkbox]{width:19px;height:19px;flex:0 0 19px}.invoice-row-list{display:grid;gap:13px;margin:15px 0}.invoice-row-card{padding:17px;border-radius:15px;border:1px solid #dfcfbe;background:#fffdfa;box-shadow:0 2px 13px #4720250a}.invoice-row-heading{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:12px}.invoice-row-heading strong{color:#66263a}.invoice-row-heading small{color:#88776c}.invoice-original-text{display:block;overflow-wrap:anywhere;color:#72655e;padding:8px 10px;background:#f6f1ea;border-radius:8px;font-size:12px;line-height:1.45;margin-top:9px}.invoice-row-warning{font-size:12px;color:#854e3e;margin:7px 0 0}.invoice-approve{display:flex;gap:10px;align-items:center;margin-top:15px;padding:11px 12px;border-radius:10px;background:#f5ece3;color:#5b3540;font-size:13px;line-height:1.35;font-weight:600}.invoice-approve input{width:21px;height:21px;flex:0 0 21px}.receiving-status-actions{margin:10px 0 14px;flex-wrap:wrap}.receiving-manual{margin-top:20px}.receiving-manual h3{grid-column:1/-1;color:#66283a}.invoice-attachments{margin:17px 0}.invoice-attachments h3{margin-bottom:15px}.invoice-attachment{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 0;border-top:1px solid #eadbca;flex-wrap:wrap}.invoice-attachment strong,.invoice-attachment small{display:block;overflow-wrap:anywhere}.invoice-attachment strong{font-size:13px}.invoice-attachment small{font-size:11px;color:#77665d;margin-top:3px}.receiving-document-entry{background:#fffcf8;transition:border-color .12s}.receiving-document-entry:hover{border-color:#a5736a}@media (max-width:1080px){.supplier-layout{grid-template-columns:1fr 1.3fr}.invoice-input-grid{grid-template-columns:1fr}}@media (max-width:720px){.supplier-layout{grid-template-columns:1fr;gap:12px}.supplier-directory,.supplier-editor,.supplier-offers,.invoice-intake,.invoice-attachments{padding:14px;border-radius:14px}.supplier-fields{grid-template-columns:1fr;gap:10px}.supplier-item{min-height:65px}.supplier-list{max-height:290px}.supplier-actions{align-items:stretch}.supplier-actions label{flex:1}.supplier-offer-row{gap:9px}.invoice-file-picker{min-height:135px}.invoice-source-notes,.invoice-row-card{padding:12px}.invoice-price-controls{align-items:stretch}.invoice-price-controls label{flex:1;min-width:120px}.invoice-price-controls button{width:100%}.invoice-approve{font-size:12px}.invoice-intake .treasury-actions button{min-height:44px}.invoice-attachment button{width:100%}}.invoice-page-toolbar{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 16px;max-height:180px;overflow-y:auto;padding:4px}.invoice-page-toolbar .invoice-page-tab{font-weight:600;min-height:44px;max-width:min(330px,100%);overflow-wrap:anywhere;background:#faf4ec;border-color:#dac7b0}.invoice-page-toolbar .invoice-page-tab.selected{color:#fff;background:#702a40;border-color:#702a40}.invoice-current-page{padding:16px;border:1px solid #e4d5c4;background:#fffefa;border-radius:14px;margin:14px 0}.invoice-current-page .invoice-text-entry{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:600;color:#6b3945}.invoice-text-entry textarea{width:100%;min-height:132px;resize:vertical;background:#fff;border:1px solid #decbb8;border-radius:11px;padding:12px;font:13px/1.6 ui-monospace,Consolas,monospace;color:#34292b}.invoice-page-register{display:grid;gap:7px;margin-top:12px}.invoice-page-register-row{display:flex;gap:12px;justify-content:space-between;flex-wrap:wrap;padding:11px 13px;border:1px solid #e8dac9;border-radius:10px}.invoice-page-register-row strong{color:#602839;font-size:13px;overflow-wrap:anywhere}.invoice-page-register-row small{color:#6c6059;font-size:12px}.receiving-worklist-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin:16px 0}.receiving-worklist-stats>div{border:1px solid #e4d4c2;border-radius:13px;padding:15px;background:#fffaf5;display:grid;gap:6px}.receiving-worklist-stats strong{font-size:24px;color:#6b283e;font-variant-numeric:tabular-nums}.receiving-worklist-stats small{font-size:12px;line-height:1.5;color:#71635b}.receiving-filter-bar{margin:12px 0 16px}.receiving-filter-bar>label{display:flex;gap:8px;align-items:center;font-size:13px;color:#65434e}.receiving-filter-bar select{min-height:44px;max-width:270px;background:#fffaf6;border:1px solid #dac8b4;border-radius:9px;padding:8px}.receiving-label-batch{margin:18px 0}.receiving-label-list{display:grid;gap:7px;margin:14px 0;max-height:420px;overflow-y:auto}.receiving-label-row{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:12px 15px;background:#fffdf9;border:1px solid #e3d5c3;border-radius:11px}.receiving-label-row>div{display:grid;gap:4px;min-width:0}.receiving-label-row strong{font-size:13px;color:#59283a;overflow-wrap:anywhere}.receiving-label-row small{font-size:12px;color:#7a6b62}.receiving-label-row label{display:grid;gap:4px;font-size:12px;color:#6b5f59;min-width:110px}.receiving-label-row input{width:100px;min-height:42px;padding:7px 10px;border:1px solid #cdb7a2;border-radius:9px}@media (max-width:750px){.receiving-worklist-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.invoice-page-toolbar{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;max-height:none;padding-bottom:10px;scroll-snap-type:x mandatory}.invoice-page-toolbar .invoice-page-tab{flex:0 0 auto;max-width:220px;scroll-snap-align:start}.invoice-current-page{padding:12px}.receiving-filter-bar{align-items:stretch;flex-wrap:wrap}.receiving-filter-bar label{width:100%;display:flex;flex-wrap:wrap}.receiving-filter-bar select{flex:1;max-width:none}.receiving-label-row{flex-wrap:wrap}.receiving-label-row label{width:100%;display:flex;align-items:center;justify-content:space-between}.receiving-label-row input{width:125px}}.receiving-count-scan{display:flex;gap:9px;flex-wrap:wrap;align-items:end;margin:15px 0}.receiving-count-scan label{flex:1;min-width:210px;display:grid;gap:5px;color:#5f4550;font-size:13px}.receiving-count-scan input{min-height:46px;border:1px solid #cfbaa5;border-radius:10px;padding:10px}.receiving-count-list{max-height:620px;overflow-y:auto;display:grid;gap:9px;margin:14px 0}.receiving-count-row{display:grid;grid-template-columns:minmax(180px,2fr) 110px minmax(140px,1.2fr) minmax(155px,1fr);gap:12px;align-items:center;padding:12px;border-radius:12px;border:1px solid #e4d3c0;background:#fffcf8}.receiving-count-row.scanned{border-color:#ad7a58;box-shadow:inset 4px 0 #b58d60}.receiving-count-row>div{min-width:0}.receiving-count-row strong,.receiving-count-row small{display:block;overflow-wrap:anywhere}.receiving-count-row strong{font-size:13px;color:#602a3b}.receiving-count-row small{font-size:11px;margin-top:5px;color:#766a60}.receiving-count-row>label:not(.invoice-approve){display:grid;gap:5px;font-size:12px;color:#6b5b54}.receiving-count-row input:not([type=checkbox]){width:100%;min-height:43px;border-radius:9px;border:1px solid #d8c7b5;padding:8px;background:#fff}.receiving-count-row .invoice-approve{margin:0;font-size:12px}.receiving-count-row .receiving-count-confirm{min-width:0}@media (max-width:900px){.receiving-count-row{grid-template-columns:minmax(0,1.5fr) 110px}.receiving-count-row .receiving-count-reason,.receiving-count-row .receiving-count-confirm{grid-column:1/-1}}@media (max-width:540px){.receiving-count-row{grid-template-columns:minmax(0,1fr) 88px;gap:8px}.receiving-count-row>div{grid-column:1/-1}}.supplier-insight-list{display:grid;gap:8px;margin-top:14px;max-height:520px;overflow-y:auto}.supplier-insight-row{display:grid;grid-template-columns:minmax(185px,2fr) repeat(3,minmax(110px,1fr));align-items:center;gap:14px;padding:14px;border:1px solid #e2d4c3;background:#fffefa;border-radius:12px}.supplier-insight-row strong{font-size:13px;color:#582637}.supplier-insight-row small{display:block;font-size:11px;color:#7a6b62;line-height:1.5}.supplier-insight-row b{color:#4b3339;font-size:13px;font-variant-numeric:tabular-nums}.supplier-insight-row .price-increase{color:#a14a37}@media (max-width:850px){.supplier-insight-row{grid-template-columns:repeat(2,minmax(0,1fr))}.supplier-insight-row>div:first-child{grid-column:1/-1}}.product-chooser{min-width:0;display:grid;gap:7px}.product-chooser>label{display:grid;gap:6px;min-width:0;color:#67544d;font-size:12px;font-weight:600}.product-chooser input,.product-chooser select{width:100%;min-width:0;min-height:44px;border:1px solid #d9c5b2;border-radius:9px;padding:9px 11px;background:#fffdfa;color:#362b2d}.product-chooser-search svg{display:inline;vertical-align:middle;color:#8b5161}.product-chooser small{font-size:11px;color:#806b61;line-height:1.45}.receiving-preflight-list{margin:10px 0 0;padding-left:22px;max-height:340px;overflow:auto;line-height:1.5}.receiving-preflight-list li{padding:4px 0;overflow-wrap:anywhere}.receiving-preflight-list strong{font-weight:700}:root{--color-brand-burgundy: #681d30;--color-brand-burgundy-dark: #481421;--color-brand-burgundy-light: #86384b;--color-gold-muted: #ab824a;--color-cream-bg: #f7f2e9;--color-cream-bg-soft: #f0e6d8;--color-ivory-card: #fffdf9;--color-ivory-card-border: #e9d9c8;--color-text-main: #30252a;--color-text-muted: #62564f;--color-border-soft: #dccbbb;--color-focus-ring: #a77a42;--radius-md: 12px;--radius-lg: 18px;--sidebar-width: 252px;--topbar-height: 74px;--workspace-max: 1580px}html{scrollbar-gutter:stable}body{background:#f6efe5;color:var(--color-text-main)}button,input,select,textarea{font-family:var(--font-family-ui)}button{touch-action:manipulation}button:disabled{cursor:not-allowed}button:not(:disabled):active{transform:translateY(1px)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #ae864f;outline-offset:3px}.app,.main,.catalog,.checkout,.workspace{min-width:0}.main{width:calc(100% - var(--sidebar-width));max-width:none;background:radial-gradient(circle at 88% -12%,rgba(221,192,149,.17),transparent 38%),#f7f1e7}.sidebar{border-right:1px solid rgba(240,215,181,.16);box-shadow:4px 0 24px #2a0d171f}.sidebar .brand{padding:23px 17px 18px;min-height:177px;background:linear-gradient(170deg,#7d2c3e85,#4d0f1e21)}.brand-icon{width:54px;height:54px;border:1px solid rgba(227,192,134,.5);background:#ffffff14;border-radius:15px;color:#ebce99;margin-bottom:13px}.brand strong{display:block;font-size:23px;letter-spacing:-.025em;line-height:1.12}.brand small{display:block;line-height:1.3;margin-top:5px;letter-spacing:.015em}.sidebar .brand:after{margin:16px auto 0;width:80px}.sidebar .nav-search{margin:13px 13px 5px;border-radius:12px;background:#fff1}.sidebar nav{padding:9px 11px 25px;gap:17px}.sidebar .nav-section h2{color:#d9b88a;margin:9px 12px 7px;font-size:10px;letter-spacing:.115em}.sidebar .nav-section button{font-weight:530;font-size:13.5px;line-height:1.3;min-height:41px;border-radius:10px;padding:9px 11px;white-space:normal}.sidebar .nav-section button span{overflow-wrap:anywhere}.sidebar .nav-section button:hover:not(.active){background:#ffffff1b}.sidebar .nav-section button.active{background:#fcf1df;color:#54192c;box-shadow:inset 3px 0 #b98b4e,0 2px 9px #1e0a111f}.sidebar-foot{color:#e0c6b3;font-size:11px;line-height:1.5}.topbar{height:auto;min-height:var(--topbar-height);padding:13px clamp(14px,2vw,29px);gap:12px 20px;display:flex;flex-wrap:wrap;align-items:center;box-shadow:0 2px 13px #52302009;border-bottom:1px solid #e8dccb}.topbar h1{font-family:var(--font-family);font-size:clamp(21px,1.65vw,27px);font-weight:700;letter-spacing:-.025em;color:#521b2d;white-space:normal}.topbar .ornament{color:#bb9156;opacity:.8;flex:0 0 auto}.top-right{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px 14px;min-width:0;margin-left:auto}.top-right .operator{display:flex;align-items:center;gap:7px;font-size:12px}.top-right .operator select{max-width:170px;min-width:0;border-radius:9px;border:1px solid #d9c6b3;padding:8px 9px;background:#fffdf9;color:#4b3033}.top-right .small-btn{width:auto;max-width:100%;padding:8px 13px;border-color:#d0b9a0;background:#fffaf5;white-space:normal}.storage-indicator{display:inline-flex;align-items:center;min-height:31px;padding:4px 10px;border-radius:8px;font-size:11px;font-weight:650;background:#e8f3eb;color:#315e45;white-space:nowrap}.topbar .status{font-size:12px;white-space:nowrap}.workspace{width:min(var(--workspace-max),100%);max-width:none;margin:0 auto;padding:clamp(14px,2vw,30px)}.workspace-head{gap:8px 18px;padding-bottom:12px;border-bottom:1px solid #e7d9c9;margin-bottom:17px}.workspace-head h2{font-size:clamp(20px,1.7vw,27px);color:#5d1e30}.workspace,.workspace *{min-width:0}.workspace input:not([type=checkbox]):not([type=radio]),.workspace select,.workspace textarea,.treasury-form input,.treasury-form select,.treasury-form textarea{max-width:100%;border-color:#d5bfaa;background:#fffefb}.workspace input:disabled,.workspace select:disabled{background:#f2ece3}.workspace-panel,.treasury-doc,.report-metrics article,.user-card,.inventory-row{box-shadow:0 3px 14px #3d1b210a}.workspace-panel,.treasury-doc,.user-card{border-color:#e6d5c3;border-radius:15px}.workspace p,.workspace small{overflow-wrap:anywhere}.inventory-row{gap:10px;align-items:center}.inventory-name{min-width:0;overflow-wrap:anywhere}.notice{margin:13px clamp(14px,2vw,29px) 0;border-radius:12px;max-width:calc(100% - 28px);overflow-wrap:anywhere}.pos-trust-banner{margin:15px clamp(14px,2vw,29px) 0;min-width:0;max-width:calc(100% - 28px);border-radius:13px}.pos-trust-banner>div{min-width:0;overflow-wrap:anywhere}.cash-layout{width:100%;max-width:1900px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(345px,390px);gap:clamp(13px,1.3vw,23px);padding:clamp(14px,1.6vw,25px);align-items:start}.cash-layout>*{min-width:0;max-width:100%}.cash-layout .catalog{min-width:0;gap:16px}.cash-layout .searchbar{min-width:0;display:flex;gap:9px;align-items:center;padding:7px 9px 7px 14px;border:1px solid #d8c3ad;border-radius:14px;background:#fffdfa;box-shadow:0 2px 10px #47241f09}.cash-layout .searchbar>svg{color:#815c4c;flex:0 0 auto}.cash-layout .searchbar input{flex:1;min-width:0;width:100%;background:transparent;border:none;box-shadow:none;padding:8px 5px;font-size:14px;color:#352a2b}.cash-layout .searchbar input:focus{outline:0}.cash-layout .searchbar:focus-within{border-color:#b28b56;box-shadow:0 0 0 3px #b28b5624}.cash-layout .searchbar .icon-btn{flex:0 0 40px;width:40px;height:40px;border:1px solid #e7d8c5;background:#f8f1e8;border-radius:10px;color:#6b283b}.cash-layout .categories{gap:8px;scrollbar-width:thin;scrollbar-color:#c7a980 transparent;overflow-x:auto;overflow-y:hidden;padding:3px 2px 11px;overscroll-behavior-x:contain}.cash-layout .categories::-webkit-scrollbar{display:block;height:5px}.cash-layout .categories::-webkit-scrollbar-thumb{background:#c7a980;border-radius:20px}.cash-layout .categories button{min-height:43px;max-width:210px;padding:9px 15px;border:1px solid #dfccb7;border-radius:12px;background:#fffdfa;color:#533c37;box-shadow:0 2px 4px #401d1906;font-size:13px;font-weight:600}.cash-layout .categories button svg{width:19px;height:19px;flex:0 0 auto;color:#a07a51}.cash-layout .categories button.selected{background:#692033;border-color:#692033;color:#fff;box-shadow:0 3px 12px #54152a29}.cash-layout .categories button.selected svg{color:#f6e5cb}.cash-layout .products{grid-template-columns:repeat(auto-fill,minmax(min(100%,155px),1fr));gap:12px;align-content:start}.cash-layout .product{min-width:0;min-height:201px;padding:10px 11px 12px;gap:7px;text-align:left;border:1px solid #e2d2c0;border-radius:15px;background:#fffdfa;box-shadow:0 3px 13px #4b25200b;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}.cash-layout .product:hover:not(:disabled){border-color:#b79160;box-shadow:0 9px 18px #4b25201a;transform:translateY(-2px)}.cash-layout .product-illustration{height:85px;border-radius:11px;background:radial-gradient(circle at 48% 20%,#fff8e9,#f1e4d1);color:#86502e}.cash-layout .product-illustration svg{max-height:56px}.cash-layout .product-name{font-size:13px;line-height:1.35;min-height:35px;overflow-wrap:anywhere;color:#36282c}.cash-layout .product .code{display:inline-flex;align-self:flex-start;background:#f3e5d4;color:#725134;border-radius:6px;padding:2px 7px;font-size:11px;margin-bottom:0}.cash-layout .product-stock{font-size:11px;color:#656052}.cash-layout .product-bottom{margin-top:auto;padding-top:6px;gap:7px;border-top:1px solid #efe5d9}.cash-layout .product-bottom b{font-size:16px;color:#651c2b;font-variant-numeric:tabular-nums}.cash-layout .product-bottom svg{color:#6e2538;flex:0 0 auto}.cash-layout .products .empty{display:grid;place-items:center;min-height:250px;border:1px dashed #d9c5af;border-radius:15px;background:#ffffff7a;font-size:14px}.cash-layout .quick-actions{margin-top:5px;padding:15px;border-radius:15px;border:1px solid #e7d8c6;background:#fffbf5}.cash-layout .quick-actions-head b{font-size:15px;color:#5a1d30}.cash-layout .quick-actions button{border-radius:10px;min-height:39px;background:#fff}.cash-layout .checkout{position:sticky;top:12px;align-self:start;width:100%;min-width:0;max-width:100%;max-height:calc(100dvh - 24px);overflow:auto;overscroll-behavior:contain;border:1px solid #e2cdb5;border-radius:18px;background:#fffdf9;padding:17px;box-shadow:0 9px 26px #4b252013;gap:11px}.cash-layout .panel-heading{align-items:flex-start;flex-wrap:wrap;gap:10px;margin:0;padding:0 0 11px;border-bottom:1px solid #e9dac8}.cash-layout .panel-heading h2{display:flex;align-items:center;gap:9px;font-family:var(--font-family);font-size:20px;color:#5d1c30}.cash-layout .panel-heading>div{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:4px 9px;min-width:0}.cash-layout .panel-heading button{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;font-size:12px;font-weight:600;color:#723f48;padding:5px 3px}.cash-layout .panel-heading button:disabled{opacity:.4}.cash-layout .held-checks{margin:0;display:flex;flex-wrap:wrap;gap:6px}.cash-layout .held-checks button{max-width:100%;white-space:normal;border:1px solid #e4d5c2;border-radius:8px;padding:7px 9px;background:#f7f0e5;font-size:12px}.cash-layout .lines{max-height:31dvh;min-height:94px;overflow:auto;overscroll-behavior:contain;padding:0 3px 0 0}.cash-layout .empty-cart{min-height:104px;display:flex;justify-content:center;align-items:center;flex-direction:column;gap:9px;color:#887468}.cash-layout .line{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:12px 0;border-bottom:1px solid #efe2d5}.cash-layout .line-title{min-width:100px;flex:1 1 130px;overflow-wrap:anywhere}.cash-layout .line-title b{font-size:13px}.cash-layout .line-title small{font-size:11px}.cash-layout .quantity{display:inline-flex;align-items:center;flex:0 0 auto;gap:6px}.cash-layout .quantity button{min-width:31px;min-height:31px;border:1px solid #ddcab7;border-radius:8px;background:#faf3ea;display:grid;place-items:center}.cash-layout .line>strong{margin-left:auto;font-variant-numeric:tabular-nums;font-size:13px;white-space:nowrap}.cash-layout .line>.remove{flex:0 0 auto}.cash-layout .total{display:flex;align-items:baseline;justify-content:space-between;gap:8px;border-top:1px solid #dbc7b2;padding:13px 0 6px;margin:1px 0 0}.cash-layout .total b{font-size:15px}.cash-layout .total strong{color:#5d1a2c;font-family:var(--font-family);font-size:clamp(23px,2.1vw,31px);font-variant-numeric:tabular-nums;white-space:nowrap}.cash-layout .payment-methods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;min-width:0}.cash-layout .payment-methods button{min-width:0;min-height:46px;padding:9px 6px;border-radius:10px;border:1px solid #dfcbb4;background:#f8f1e8;color:#5b423b;font-size:12px;font-weight:650;overflow-wrap:anywhere}.cash-layout .payment-methods button.chosen{background:#6a1c30;color:#fff;border-color:#6a1c30;box-shadow:0 3px 10px #5e162b24}.cash-layout .cash-fields{gap:9px;min-width:0}.cash-layout .cash-fields input,.cash-layout .payment-extra input{width:100%;max-width:100%;min-height:43px;border:1px solid #d5c0a8;border-radius:10px;background:#fff;padding:9px 12px}.cash-layout .cash-fields label{font-size:13px;color:#63524a;gap:7px}.cash-layout .change{margin:0;padding:12px;background:#fff2da;border:1px solid #efd8af;border-radius:10px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 8px;font-size:13px;color:#5f4339}.cash-layout .change strong{font-size:17px;color:#5a1e2c;font-variant-numeric:tabular-nums;white-space:nowrap}.cash-layout .denoms{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;margin:0}.cash-layout .denoms button{min-width:0;padding:8px 2px;min-height:37px;font-size:11px;white-space:nowrap;border-color:#dfcbb4;background:#fff}.cash-layout .donate{display:flex;align-items:flex-start;gap:9px;line-height:1.45;min-width:0}.cash-layout .donate span{flex:1;min-width:0}.cash-layout .donate input{flex:0 0 auto;margin-top:4px;width:18px;height:18px}.cash-layout .pay{position:relative;border-radius:12px;margin:0;min-height:54px;font-size:15px;letter-spacing:.005em;box-shadow:0 5px 14px #651c2b33}.cash-layout .disclaimer{font-size:10px;line-height:1.55;color:#75685e;overflow-wrap:anywhere;margin:0}.cash-layout .terminal-confirm{border-radius:11px;max-width:100%}.cash-layout .terminal-confirm label{display:flex;flex-wrap:wrap}.cash-layout .terminal-confirm input{min-width:0;max-width:100%}.cash-layout .cart-details{min-width:0;padding:9px 11px;border:1px solid #eadbcb;border-radius:11px;background:#fdf9f3}.cash-layout .cart-details>summary{font-size:12px;font-weight:650;cursor:pointer;-webkit-user-select:none;user-select:none;color:#6a283b;line-height:1.5}.cash-layout .cart-details[open]>summary{padding-bottom:10px}.cash-layout .cart-panel{max-width:100%;min-width:0;overflow:hidden;border:none;box-shadow:none;background:transparent;padding:0}.cash-layout .cart-line{display:block;min-width:0;padding:9px 0;border-top:1px solid #eee1d3;border-bottom:0;border-radius:0;background:transparent}.cash-layout .cart-line-main{display:flex;flex-wrap:wrap;gap:5px 8px;align-items:center;overflow-wrap:anywhere}.cash-layout .cart-line-name{flex:1 1 100%;font-size:12px}.cash-layout .cart-line-controls{display:flex;flex-wrap:wrap;align-items:center;gap:5px}.cash-layout .cart-line-controls label{display:flex;flex-wrap:wrap;align-items:center;gap:5px;min-width:0;font-size:12px}.cash-layout .cart-line-controls input{min-width:0;max-width:95px}.cash-layout .cart-panel-footer{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:7px}.workspace input:not([type=checkbox]):not([type=radio]):focus-visible,.workspace textarea:focus-visible,.workspace select:focus-visible{box-shadow:0 0 0 3px #a5783a21}.workspace .small-btn,.workspace .pay{font-weight:650}.workspace .small-btn:hover:not(:disabled){border-color:#b79061}.workspace h2,.workspace h3{overflow-wrap:anywhere}@media (min-width:921px) and (max-width:1380px){:root{--sidebar-width:225px}.cash-layout{grid-template-columns:minmax(0,1fr) minmax(315px,365px);padding:13px;gap:12px}.cash-layout .products{grid-template-columns:repeat(auto-fill,minmax(min(100%,140px),1fr))}.topbar{gap:8px 12px}.topbar .ornament{display:none}.top-right{gap:7px}.top-right .operator{font-size:11px}}@media (min-width:921px) and (max-width:1090px){:root{--sidebar-width:212px}.cash-layout{grid-template-columns:minmax(0,1fr) 310px}.cash-layout .checkout{padding:12px}.top-right{justify-content:flex-start;width:100%;margin-left:0}}@media (max-width:920px){html{scrollbar-gutter:auto}.main{width:100%;margin-left:0}.sidebar{width:min(88vw,320px)}.topbar{min-height:61px;padding:11px 13px;gap:8px}.topbar h1{font-size:20px;flex:1;min-width:0}.topbar .ornament{display:none}.top-right{width:100%;margin-left:0;display:flex;flex-wrap:nowrap;overflow:auto;justify-content:flex-start;padding:3px 1px 6px;gap:9px}.top-right>*{flex:0 0 auto}.cash-layout{display:block;padding:12px 12px 110px}.cash-layout .catalog,.cash-layout .checkout{width:100%;min-width:0;max-width:100%}.cash-layout .checkout{position:relative;top:auto;max-height:none;overflow:visible;padding:15px}.cash-layout .products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cash-layout .product{min-height:177px}.cash-layout .product-illustration{height:70px}.cash-layout .categories{gap:7px}.cash-layout .categories button{min-height:44px}.cash-layout .lines{max-height:none}.pos-mobile-switch{bottom:calc(70px + var(--safe-area-bottom));background:#fffaf2;border:1px solid #dcc6ae;border-radius:16px;padding:5px;box-shadow:0 9px 24px #2e1a1e29}.pos-mobile-switch button{font-size:13px}.pos-mobile-switch button.selected{background:#681d30;color:#fff}.mobile-bottom-nav{border-top:1px solid #dfccb6}.workspace{padding:13px}.notice{margin:10px 12px}.pos-trust-banner{margin:12px;max-width:calc(100% - 24px)}}@media (max-width:420px){.cash-layout{padding:10px 9px 118px}.cash-layout .products{gap:8px}.cash-layout .product{padding:9px;min-height:169px}.cash-layout .product-name{font-size:12px;min-height:32px}.cash-layout .product-bottom b{font-size:14px}.cash-layout .searchbar{padding:5px 7px 5px 10px}.cash-layout .searchbar input{font-size:13px}.cash-layout .checkout{padding:12px}.cash-layout .denoms{grid-template-columns:repeat(3,minmax(0,1fr))}.cash-layout .panel-heading h2{font-size:19px}}.mobile-checkout{max-width:780px;margin:0 auto;padding:18px 20px 110px}.mobile-checkout>div{min-width:0}.mobile-checkout .mobile-header{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:17px;padding:12px 15px;border-radius:16px;background:linear-gradient(110deg,#691e31,#471422);color:#fff5e7;box-shadow:0 6px 19px #45162129}.mobile-checkout .mobile-header h1{font-family:var(--font-family);font-size:23px;color:#fff6e9;margin:0;flex:1}.mobile-checkout .mobile-status{font-size:11px;line-height:1.3;padding:7px 10px;border-radius:9px;background:#ffffff21;color:#fff3e3}.mobile-checkout .mobile-icon-btn{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:40px;min-height:40px;position:relative;border:1px solid #dfcab6;border-radius:11px;background:#fffdfa;color:#672336;padding:8px 11px;font-size:12px;font-weight:650}.mobile-checkout .mobile-header .mobile-icon-btn{background:#ffffff21;color:#fff;border-color:#ffffff40}.mobile-checkout .mobile-cart-badge{position:absolute;right:-6px;top:-6px;display:grid;place-items:center;min-width:19px;height:19px;padding:0 4px;border-radius:99px;background:#edc78d;color:#4c1c2a;font-size:11px;font-weight:750}.mobile-checkout .mobile-search{display:flex;align-items:center;gap:8px;padding:8px;border:1px solid #dbc5b0;background:#fffdfa;border-radius:14px;box-shadow:0 2px 10px #3f19220a;margin-bottom:19px}.mobile-checkout .mobile-search>svg{flex:0 0 auto;margin-left:5px;color:#875c4a}.mobile-checkout .mobile-search input{flex:1;min-width:0;max-width:100%;border:0;background:transparent;min-height:40px;padding:6px 5px;font-size:14px}.mobile-checkout .mobile-search input:focus{outline:0}.mobile-checkout .mobile-quick,.mobile-checkout .mobile-categories{margin:0 0 21px;min-width:0}.mobile-checkout .mobile-quick>strong,.mobile-checkout .mobile-categories>strong{display:block;font-family:var(--font-family);font-size:19px;color:#5b2031;margin-bottom:11px}.mobile-checkout .mobile-quick-list{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(135px,180px);gap:10px;overflow-x:auto;padding:0 1px 10px;scrollbar-width:thin}.mobile-checkout .mobile-quick-item{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:5px;min-width:0;padding:10px;border-radius:14px;border:1px solid #dfcbb9;background:#fffdf9;box-shadow:0 3px 10px #3e181e0b}.mobile-checkout .mobile-quick-thumb{width:100%;height:80px;display:grid;place-items:center;background:#f4eadc;color:#8b5b36;border-radius:9px;overflow:hidden}.mobile-checkout .mobile-quick-thumb img,.mobile-checkout .mobile-product-thumb img{width:100%;height:100%;object-fit:cover}.mobile-checkout .mobile-quick-name{min-height:36px;font-size:13px;line-height:1.35;font-weight:650;color:#342529;overflow-wrap:anywhere}.mobile-checkout .mobile-quick-price{font-weight:800;font-size:15px;color:#692135;font-variant-numeric:tabular-nums}.mobile-checkout .mobile-quick-stock,.mobile-checkout .mobile-product-stock{font-size:11px;color:#4d7056}.mobile-checkout .mobile-quick-out,.mobile-checkout .mobile-product-out{font-size:11px;color:#973846}.mobile-checkout .mobile-category-list{display:flex;overflow-x:auto;gap:8px;padding:3px 0 10px;overscroll-behavior-x:contain;scrollbar-width:thin}.mobile-checkout .mobile-cat-btn{flex:0 0 auto;min-height:43px;padding:9px 15px;border:1px solid #ddc7b1;background:#fffdfa;border-radius:11px;font-size:13px;font-weight:650;color:#634438}.mobile-checkout .mobile-cat-active{background:#681e31;color:#fff;border-color:#681e31}.mobile-checkout .mobile-products{display:grid;gap:9px;min-width:0}.mobile-checkout .mobile-product-item{display:grid;grid-template-columns:58px minmax(0,1fr) auto auto;align-items:center;gap:8px;text-align:left;min-height:79px;padding:9px 12px 9px 9px;border:1px solid #e1cebb;border-radius:13px;background:#fffdf9;box-shadow:0 2px 10px #3d1b2009}.mobile-checkout .mobile-product-thumb{width:58px;height:58px;grid-row:span 2;display:grid;place-items:center;color:#9b6d42;background:#f4e9d9;border-radius:10px;overflow:hidden}.mobile-checkout .mobile-product-info{min-width:0;align-self:end}.mobile-checkout .mobile-product-name{font-size:13px;line-height:1.4;font-weight:700;color:#332629;overflow-wrap:anywhere}.mobile-checkout .mobile-product-code{font-size:11px;color:#796b5d}.mobile-checkout .mobile-product-price{font-weight:800;font-size:14px;color:#692135;white-space:nowrap;font-variant-numeric:tabular-nums}.mobile-checkout .mobile-product-stock,.mobile-checkout .mobile-product-out{grid-column:2/4;align-self:start}.mobile-checkout .mobile-product-item>span:last-child{grid-column:4;grid-row:1/3;display:grid!important;place-items:center;width:31px;height:31px;border:1px solid #d4b9a3;border-radius:50%;color:#6b263b;background:#f8eee4;font-weight:600;font-size:20px!important}.mobile-checkout .mobile-product-item:disabled,.mobile-checkout .mobile-quick-item:disabled{opacity:.52}.mobile-checkout .mobile-empty{padding:30px;text-align:center;background:#fff9f1;border:1px dashed #d9c3ae;border-radius:13px}.mobile-checkout .mobile-cart-header,.mobile-checkout .mobile-payment-header,.mobile-checkout .mobile-receipt-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin:0 0 14px}.mobile-checkout .mobile-cart-header strong,.mobile-checkout .mobile-payment-header strong,.mobile-checkout .mobile-receipt-header strong{font-family:var(--font-family);font-size:22px;color:#632134}.mobile-checkout .mobile-cart-lines{display:grid;gap:10px;min-width:0}.mobile-checkout .mobile-cart-line{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px 10px;align-items:start;padding:14px;border:1px solid #e1d0bf;border-radius:13px;background:#fffefa}.mobile-checkout .mobile-cart-line-main{min-width:0;overflow-wrap:anywhere}.mobile-checkout .mobile-cart-line-main strong{font-size:14px}.mobile-checkout .mobile-cart-line-code,.mobile-checkout .mobile-cart-line-qty{font-size:12px;color:#716159;margin-top:3px}.mobile-checkout .mobile-cart-line-discount{font-size:12px;color:#377452}.mobile-checkout .mobile-cart-line-total{font-size:14px;color:#661c31;font-weight:800;white-space:nowrap}.mobile-checkout .mobile-cart-line-controls{grid-column:1/-1;display:flex;justify-content:flex-end;gap:7px}.mobile-checkout .mobile-icon-del{color:#a03543;border-color:#e0b9b8}.mobile-checkout .mobile-cart-footer,.mobile-checkout .mobile-payment-total{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin:17px 0;padding:15px;border:1px solid #e2ccaf;border-radius:13px;background:#fff5e5;font-size:16px;color:#5d2532}.mobile-checkout .mobile-cart-footer strong,.mobile-checkout .mobile-payment-total strong{font-size:clamp(20px,5vw,28px);font-family:var(--font-family);font-variant-numeric:tabular-nums}.mobile-checkout .mobile-pay-btn,.mobile-checkout .mobile-pay-confirm{display:block;min-height:54px;width:100%;padding:13px 19px;border-radius:12px;background:#691e31;color:#fff;font-size:16px;font-weight:750;box-shadow:0 5px 15px #5a172a2b}.mobile-checkout .mobile-pay-cancel{display:block;width:100%;margin-top:9px;min-height:44px;border:1px solid #decab4;border-radius:11px;background:#fffdfa;color:#6a2739}.mobile-checkout .mobile-payment-methods{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:16px 0}.mobile-checkout .mobile-pay-method{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:83px;padding:10px 5px;border:1px solid #e0cbb4;border-radius:12px;background:#fffcf6;font-size:12px;font-weight:650;text-align:center;overflow-wrap:anywhere}.mobile-checkout .mobile-pay-active{background:#681e31;border-color:#681e31;color:#fff}.mobile-checkout .mobile-cash-fields,.mobile-checkout .mobile-card-fields{display:grid;gap:13px;margin:14px 0}.mobile-checkout .mobile-cash-fields label,.mobile-checkout .mobile-card-fields label{display:grid;gap:6px;min-width:0;font-size:13px;color:#654b43}.mobile-checkout .mobile-card-fields label:has(input[type=checkbox]){display:flex;align-items:center;gap:9px}.mobile-checkout .mobile-cash-fields input,.mobile-checkout .mobile-card-fields input:not([type=checkbox]){min-height:46px;width:100%;max-width:100%;padding:9px 12px;border:1px solid #d8bfa8;border-radius:11px;background:#fff}.mobile-checkout .mobile-cash-change{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;background:#fff3df;border:1px solid #edd6b5;border-radius:12px;padding:13px;font-size:13px}.mobile-checkout .mobile-cash-change strong{color:#642039;font-size:16px}.mobile-checkout .mobile-denoms{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.mobile-checkout .mobile-denoms button{min-height:39px;padding:5px;border:1px solid #dec8b2;border-radius:10px;background:#fffdfa;font-size:12px;white-space:nowrap}.mobile-checkout .mobile-receipt-body{padding:17px;border:1px solid #dfcbb8;border-radius:14px;background:#fffdf9;margin:0 0 19px}.mobile-checkout .mobile-receipt-line{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:11px 0;border-bottom:1px solid #f0e5d9;font-size:13px;overflow-wrap:anywhere}.mobile-checkout .mobile-receipt-line:last-child{border:none}@media (max-width:540px){.mobile-checkout{padding:11px 10px 105px}.mobile-checkout .mobile-header{padding:12px}.mobile-checkout .mobile-header h1{font-size:20px}.mobile-checkout .mobile-status{width:100%;text-align:center}.mobile-checkout .mobile-product-item{grid-template-columns:51px minmax(0,1fr) auto auto;gap:7px;padding:8px}.mobile-checkout .mobile-product-thumb{width:51px;height:51px}.mobile-checkout .mobile-product-price{font-size:13px}.mobile-checkout .mobile-denoms{grid-template-columns:repeat(3,minmax(0,1fr))}.mobile-checkout .mobile-payment-methods{gap:5px}.mobile-checkout .mobile-pay-method{font-size:11px}}.cash-layout .product-illustration{overflow:hidden}.cash-layout .product-illustration img{width:100%;height:100%;object-fit:contain;border-radius:9px;background:#fffaf3}.cash-layout .payment-extra select{min-height:43px;width:100%;border:1px solid #bfa68d;border-radius:10px;background:#fffaf4;color:#35292b;padding:9px}.mobile-payment-notice{padding:10px 12px;border:1px solid #d6bd9e;border-radius:10px;color:#57483f;font-size:.82rem;line-height:1.45;background:#fff9ee}:root{--ui-canvas: #f6f0e7;--ui-paper: #fffdf9;--ui-paper-warm: #faf4eb;--ui-border: #ddcbbc;--ui-border-strong: #bc9d84;--ui-ink: #34272a;--ui-muted: #665951;--ui-burgundy: #692136;--ui-gold: #b28a50;--ui-focus: rgba(171, 125, 59, .21);--ui-shadow: 0 5px 19px rgba(64, 34, 33, .045)}.app,.main,.main>*,.workspace,.workspace-panel,.workspace-head,.treasury-net,.hub-page,.invoice-intake,.supplier-layout,.supplier-layout>*,.treasury-sections>*,.treasury-form>*,.report-controls>*,.report-metrics>*{min-width:0}.main{overflow-x:clip}.workspace{width:100%;max-width:min(100%,1520px);margin-inline:auto}.workspace-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:9px 16px;margin-bottom:20px}.workspace-head h2{font-family:var(--font-family);font-size:clamp(21px,1.8vw,28px);line-height:1.23;margin:0;letter-spacing:-.015em;color:#592239}.workspace-head>span,.workspace-head>p,.workspace-head>small{color:var(--ui-muted);line-height:1.45;overflow-wrap:anywhere}.workspace h3,.treasury-panel h3,.hub-panel h3{font-size:clamp(16px,1.3vw,19px);color:#592539;line-height:1.35}.workspace h4{font-size:15px;color:#5d313d}.workspace-panel,.treasury-panel,.treasury-section,.treasury-doc,.production-card,.warehouse-panel,.hub-panel,.hub-table,.invoice-intake,.invoice-attachments,.supplier-directory,.supplier-editor,.supplier-offers,.receiving-review-card,.stocktake-scroll,.report-receipts article,.report-metrics article,.treasury-net-card,.report-card{background:var(--ui-paper);border:1px solid var(--ui-border);box-shadow:var(--ui-shadow);border-radius:15px}.workspace-panel,.treasury-panel,.treasury-section,.warehouse-panel,.hub-panel,.supplier-directory,.supplier-editor,.invoice-intake,.invoice-attachments{padding:clamp(14px,1.55vw,24px)}.workspace-panel+.workspace-panel,.treasury-panel+.treasury-panel{margin-top:15px}.workspace p,.workspace dd,.workspace li,.hub-page p,.treasury-doc,.treasury-net{overflow-wrap:anywhere}.workspace p,.hub-help,.treasury-doc-meta{line-height:1.55}.workspace .small-btn,.workspace .pay,.hub-page .small-btn,.treasury-actions button,.invoice-tools button,.report-controls button,.receiving-status-actions button{max-width:100%;min-height:42px;border-radius:10px;text-align:center;justify-content:center;line-height:1.35;transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease}.workspace .small-btn,.hub-page .small-btn,.treasury-actions .small-btn,.invoice-tools .small-btn{background:var(--ui-paper);border:1px solid var(--ui-border-strong);color:#60273a}.workspace .small-btn:hover:not(:disabled),.hub-page .small-btn:hover:not(:disabled),.treasury-actions .small-btn:hover:not(:disabled),.invoice-tools .small-btn:hover:not(:disabled){background:#f8ecdd;border-color:#996945;box-shadow:0 2px 8px #55252914}.workspace .pay,.treasury-actions .pay,.invoice-tools .pay{background:var(--ui-burgundy);color:#fffaf3;border:1px solid #692136;box-shadow:0 4px 11px #5f1e2f1f}.workspace .pay:hover:not(:disabled),.treasury-actions .pay:hover:not(:disabled){background:#4b1828}.workspace button:disabled,.hub-page button:disabled,.treasury-net button:disabled{opacity:.58;cursor:not-allowed}.workspace input:not([type=checkbox]):not([type=radio]):not([type=range]),.workspace select,.workspace textarea,.hub-page input:not([type=checkbox]):not([type=radio]),.hub-page select,.hub-page textarea,.treasury-net input:not([type=checkbox]):not([type=radio]),.treasury-net select,.treasury-net textarea{min-height:43px;max-width:100%;color:var(--ui-ink);background:#fffefa;border:1px solid #cdb7a3;border-radius:9px}.workspace textarea,.hub-page textarea,.treasury-net textarea{min-height:85px;resize:vertical;line-height:1.5}.workspace input::placeholder,.hub-page input::placeholder{color:#8a7970;opacity:1}.workspace input:focus-visible,.workspace textarea:focus-visible,.workspace select:focus-visible,.hub-page input:focus-visible,.hub-page textarea:focus-visible,.hub-page select:focus-visible{outline:2px solid #a8773f;outline-offset:1px;box-shadow:0 0 0 4px var(--ui-focus)}.workspace label,.hub-page label,.treasury-net label{min-width:0}.workspace label>input,.workspace label>select,.workspace label>textarea{min-width:0}.workspace input[type=checkbox],.workspace input[type=radio],.hub-page input[type=checkbox],.hub-page input[type=radio]{accent-color:#79283f}.workspace input[type=checkbox],.hub-page input[type=checkbox]{min-width:18px;min-height:18px}.treasury-form,.supplier-fields,.receiving-review-fields,.invoice-price-controls{align-items:end}.treasury-form label,.supplier-fields label,.receiving-review-fields label,.invoice-price-controls label,.report-controls label{gap:7px;line-height:1.35}.treasury-status,.warehouse-warning,.stocktake-alert,.production-message,.treasury-notice,.shared-pos-error,.shared-pos-notice,.hub-note,.hub-message,.hub-state{line-height:1.55;overflow-wrap:anywhere}.treasury-status{display:inline-flex;align-items:center;min-height:26px;padding:4px 10px;border-radius:8px;max-width:100%}.production-message,.stocktake-alert,.treasury-notice,.treasury-shortage{border-radius:11px;padding:11px 14px}.report-metrics{grid-template-columns:repeat(auto-fit,minmax(min(100%,195px),1fr));gap:12px}.report-metrics article{text-align:left;padding:18px}.report-metrics small{font-size:12px;font-weight:600;color:#716054}.report-metrics strong{font-family:var(--font-family);font-size:clamp(20px,1.7vw,28px);color:#602239;font-variant-numeric:tabular-nums;line-height:1.25;display:block;overflow-wrap:anywhere}.report-table,.hub-scroll,.stocktake-scroll,.table-scroll,.treasury-net-table{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin}.report-table-head,.report-table-row{min-width:min(100%,530px);grid-template-columns:minmax(160px,2fr) minmax(105px,1fr) minmax(95px,1fr);align-items:center;gap:12px;padding:12px 14px}.report-table-head{border:1px solid #dfcbb6;background:#f5e9db;color:#5f3b35;border-radius:10px 10px 0 0}.report-table-row{border-inline:1px solid #e9d9c8;background:var(--ui-paper)}.report-table-row:nth-child(2n){background:#fcf7f1}.report-table-row:last-child{border-bottom:1px solid #e9d9c8;border-radius:0 0 10px 10px}.report-receipts{gap:10px}.report-receipts article{padding:14px 16px}.report-controls{gap:10px 14px;align-items:end}.report-controls label{flex:1 1 170px}.report-controls select,.report-controls input{min-height:43px}.supplier-layout{gap:17px}.supplier-list{gap:8px}.supplier-item,.supplier-offer-row,.invoice-row-card,.receiving-review-card,.receiving-document-entry,.receiving-label-row{border-color:var(--ui-border);background:#fffdf9;border-radius:12px}.supplier-item.selected{background:#f9edeb;box-shadow:inset 3px 0 0 var(--ui-burgundy)}.invoice-row-card,.receiving-review-card{padding:clamp(12px,1.3vw,20px)}.invoice-row-heading,.receiving-review-title{gap:9px}.invoice-original-text{white-space:pre-wrap;overflow-wrap:anywhere}.production-grid,.assembly-line,.treasury-sections,.treasury-net-grid{min-width:0}.assembly-totals,.receiving-summary{flex-wrap:wrap;gap:9px 18px}.treasury-doc-title{display:flex;align-items:flex-start;flex-wrap:wrap;gap:6px 15px}.treasury-doc-title strong{min-width:0;overflow-wrap:anywhere}.treasury-doc-meta{font-size:12px;color:var(--ui-muted)}.treasury-actions,.receiving-footer,.assembly-actions,.production-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.modal-backdrop{padding:16px;overscroll-behavior:contain}.modal{width:min(100%,580px);max-width:100%;max-height:min(88dvh,920px);padding:clamp(17px,2vw,27px);overflow-y:auto;overscroll-behavior:contain;background:#fffdf9;border:1px solid #cfbaa5;border-radius:18px;box-shadow:0 25px 70px #1e0f1338}.modal h2,.modal h3{color:#61253a}.modal-actions{flex-wrap:wrap;gap:9px}.modal-actions button{min-height:43px}@media (min-width: 921px) and (max-width: 1360px){.cash-layout{grid-template-columns:minmax(0,1fr) minmax(305px,355px);gap:12px}.cash-layout .checkout{padding:14px}.workspace{padding:16px}.topbar{gap:8px 12px}.top-right{gap:7px 9px}}@media (max-width: 1050px){.supplier-layout{grid-template-columns:1fr}.treasury-sections,.treasury-net-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,285px),1fr))}}@media (max-width: 920px){.workspace{padding:14px 12px 106px}.workspace-panel,.treasury-panel,.hub-panel,.treasury-section{padding:15px}.report-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.modal{max-height:calc(100dvh - 36px)}.report-table{overflow-x:auto}.topbar{padding-inline:13px}}@media (max-width: 540px){.workspace-head h2{font-size:23px}.report-metrics{gap:8px}.report-metrics article{padding:12px}.report-metrics strong{font-size:21px}.supplier-actions,.treasury-actions,.receiving-footer,.assembly-actions{align-items:stretch}.supplier-actions>button,.receiving-footer>button,.assembly-actions>button{flex:1 1 150px}.modal-actions{flex-direction:column-reverse;align-items:stretch}.modal-actions button{width:100%}.workspace input:not([type=checkbox]):not([type=radio]),.workspace select,.workspace textarea{font-size:16px}.report-table-head,.report-table-row{min-width:440px}.mobile-bottom-nav{height:calc(62px + var(--safe-area-bottom))}.mobile-bottom-nav button{min-width:0;overflow:hidden;text-overflow:ellipsis;font-size:10px}.mobile-bottom-nav button span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}@media (prefers-reduced-motion: reduce){.workspace button,.hub-page button,.treasury-actions button{transition:none!important;transform:none!important}}@media print{.sidebar,.topbar,.mobile-bottom-nav,.pos-mobile-switch,.notice button{display:none!important}.main{width:100%;margin:0;overflow:visible;background:#fff}.workspace,.workspace-panel,.treasury-doc,.report-receipts article{box-shadow:none;max-width:none}.workspace{padding:0}.workspace-panel,.treasury-doc,.report-receipts article{break-inside:avoid}}.sidebar .nav-section .nav-section-title{margin:9px 0 5px}.sidebar .nav-section .nav-section-toggle{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;background:transparent;border:0;border-radius:8px;padding:8px 12px;min-height:34px;color:#e2c49a;text-align:left;font:700 10.5px/1.3 var(--font-family-ui);letter-spacing:.095em;text-transform:uppercase;cursor:pointer}.sidebar .nav-section .nav-section-toggle:hover{background:#ffffff17;color:#fff1d5}.sidebar .nav-section .nav-section-toggle:focus-visible{outline:2px solid #e5c58a;outline-offset:-2px}.sidebar .nav-section .nav-section-arrow{font-size:17px;line-height:1;letter-spacing:0;color:#f0d3ad}:root{--craft-edge: #c79d63;--craft-deep: #682439;--craft-paper: #fffaf3}.sidebar .brand{background-image:linear-gradient(90deg,#481121f5,#481121e8 63%,#481121cc),url(/visuals/parish-heritage-banner.webp);background-size:cover;background-position:center,right center;border-bottom:1px solid rgba(229,184,111,.28)}.sidebar .brand-icon{box-shadow:0 1px #fff1cb26,inset 0 0 0 3px #ffffff06}.workspace .pay,.cash-layout .pay,.workspace .primary-action,.mobile-checkout .pay{border:1px solid #a97853;box-shadow:inset 0 0 0 1px #ffefc833,0 4px 11px #46122124;position:relative}.workspace .pay:not(:disabled):hover,.cash-layout .pay:not(:disabled):hover{box-shadow:inset 0 0 0 1px #ffefc84d,0 5px 13px #46122136}.workspace :is(input,textarea,select):not([type=checkbox]):not([type=radio]),.cash-layout :is(input,textarea,select):not([type=checkbox]):not([type=radio]){box-shadow:inset 0 1px 2px #44271805}.workspace button:focus-visible,.cash-layout button:focus-visible,.sidebar button:focus-visible,.mobile-bottom-nav button:focus-visible{outline:3px solid #a97b42;outline-offset:2px}.cash-layout .checkout,.workspace-panel,.user-card,.report-card{border-color:#e2cfbb}.topbar,.topbar *,.cash-layout,.cash-layout *,.workspace,.workspace *{overflow-wrap:break-word}@media (max-width: 760px){.sidebar .brand{background-position:center,85% center}.mobile-bottom-nav{padding-bottom:max(6px,env(safe-area-inset-bottom))}.main{min-width:0}}@media (prefers-reduced-motion:reduce){.workspace .pay,.cash-layout .pay,.workspace button,.cash-layout button{transition:none!important}}:root{--ux-bg:#eee8df;--ux-card:#f9f5ef;--ux-stroke:#bba998;--ux-text:#30292a;--ux-muted:#62554d}body,.main{background-color:var(--ux-bg);color:var(--ux-text)}.workspace,.treasury-form,.user-card,.workspace-panel,.report-card,.production-card,.label-layout>div{color:var(--ux-text)}.workspace :is(input,select,textarea):not([type=checkbox]):not([type=radio]),.topbar select,.workspace button:not(.pay),.user-card,.treasury-form,.report-card{border-color:var(--ux-stroke)}.workspace :is(input,select,textarea):not([type=checkbox]):not([type=radio]){background:#fffdf9;color:#30292a;min-width:0}.workspace :is(input,select,textarea)::placeholder{color:#6c5d55;opacity:1}.workspace label,.workspace small,.workspace p,.workspace .hub-help{color:var(--ux-muted)}.workspace h2,.workspace h3,.workspace b,.workspace strong{color:var(--ux-text)}.workspace :is(button,.small-btn,.pay):disabled{opacity:.56;cursor:not-allowed}.workspace :is(button,.small-btn,.pay):focus-visible,.topbar select:focus-visible{outline:3px solid #7b4d28;outline-offset:2px}.workspace :is(input,select,textarea):focus-visible{outline:2px solid #8b6438;outline-offset:1px}.workspace :is(.label-layout,.supplier-layout,.treasury-form,.report-card,.workspace-head){min-width:0}.workspace :is(.user-card,.supplier-item,.treasury-form,.report-card){overflow-wrap:anywhere}.workspace label:has(>input[type=checkbox]){display:inline-flex;align-items:center;gap:8px;justify-content:flex-start;max-width:100%}.workspace input[type=checkbox]{accent-color:#762c41;width:18px;height:18px;flex:0 0 auto}.context-guide{margin:12px clamp(12px,4%,62px) 4px;max-width:1000px;border:1px solid #c3ad94;border-radius:12px;background:#fbf7f0;color:#372a29;box-shadow:0 2px 12px #482b1912}.context-guide>summary{display:flex;align-items:center;gap:9px;cursor:pointer;padding:10px 14px;font-size:14px;font-weight:650;list-style:none;color:#64243a}.context-guide>summary::-webkit-details-marker{display:none}.context-guide>summary small{margin-left:auto;font-size:12px;font-weight:400;color:#655b53}.context-guide[open]>summary{border-bottom:1px solid #d6c4b0}.context-guide-content{padding:14px 18px 17px;font-size:14px;line-height:1.55}.context-guide-content p{margin:0 0 8px;color:#382b29}.context-guide-content ol{margin:8px 0 12px;padding-left:22px}.context-guide-content li{margin:6px 0}.context-guide-content>button{display:inline-flex;align-items:center;gap:8px;border:1px solid #a17965;background:#fffaf4;border-radius:9px;padding:8px 11px;color:#62273b;font-weight:600}.context-guide-content>small{display:block;margin-top:10px;color:#665c56}@media (max-width:700px){.context-guide{margin:8px 10px}.context-guide>summary small{display:none}}.local-login-page{min-height:100dvh;display:grid;place-items:center;padding:24px;background:linear-gradient(145deg,#f1e8d9,#e8dccc 55%,#ddd0bb);color:#302a26}.local-login-card{width:min(100%,440px);background:#fffaf1;border:1px solid #c9b69e;border-top:5px solid #71334a;border-radius:18px;box-shadow:0 18px 50px #49362a25;padding:clamp(20px,4vw,38px)}.local-login-icon{color:#77364d;margin-bottom:12px}.local-login-card h1{font-size:1.15rem;color:#72344c;margin:0 0 6px}.local-login-card h2{font-size:1.55rem;line-height:1.25;margin:0 0 12px;color:#27211e}.local-login-card p{line-height:1.55;color:#554b43;margin:0 0 18px}.local-login-card form,.staff-passcode-form{display:grid;gap:14px}.local-login-card label,.staff-passcode-form label{display:grid;gap:6px;font-weight:600;font-size:.94rem;color:#352c29}.local-login-card input,.local-login-card select,.staff-passcode-form input,.staff-passcode-form select{height:44px;width:100%;min-width:0;border:1px solid #a89888;border-radius:9px;background:#fff;color:#26211e;padding:0 12px;font-size:1rem}.local-login-card input:focus-visible,.local-login-card select:focus-visible,.staff-passcode-form input:focus-visible{outline:3px solid #ba8e50;outline-offset:1px}.local-login-password{display:flex;position:relative}.local-login-password input{padding-right:48px}.local-login-password button{position:absolute;right:4px;top:4px;height:36px;width:36px;display:grid;place-items:center;border:0;background:transparent;color:#63364a;cursor:pointer}.local-login-submit,.staff-passcode-form button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:45px;border:1px solid #622a41;border-radius:9px;background:#71334a;color:#fff;font-weight:700;cursor:pointer;padding:10px 16px}.local-login-submit:disabled,.staff-passcode-form button:disabled{opacity:.55;cursor:wait}.local-login-card .local-login-error{background:#ffe7df;border:1px solid #cb5140;color:#78291e;border-radius:8px;padding:10px;margin:4px 0}.local-login-card .local-login-note{font-size:.82rem;color:#6d5e53;line-height:1.5;margin:14px 0 0}.staff-passcodes{padding:20px;margin:20px 0;border:1px solid #c5af97;background:#f9f4eb;border-radius:12px;color:#322821}.staff-passcodes h3{display:flex;gap:8px;align-items:center;margin:0 0 10px}.staff-passcodes p{line-height:1.5}.staff-passcode-roster{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 20px}.staff-passcode-tag{display:flex;align-items:center;gap:6px;font-size:.85rem;padding:7px 10px;border:1px solid #d0bead;background:#fff9f1;border-radius:100px}.staff-passcode-form{grid-template-columns:repeat(auto-fit,minmax(175px,1fr));align-items:end}.staff-passcode-form button{min-height:44px}.staff-passcodes small{display:block;max-width:72ch;margin-top:12px;color:#66584c}@media (max-width:680px){.local-login-page{padding:12px}.local-login-card{padding:22px 18px}.staff-passcodes{padding:12px}.staff-passcode-form{grid-template-columns:1fr}}.local-recovery-code{display:block;overflow-wrap:anywhere;background:#f4e5c8;border:1px dashed #79404f;border-radius:10px;color:#52263a;font-size:1.1rem;letter-spacing:.02em;line-height:1.6;padding:16px;margin:10px 0 20px;text-align:center;font-weight:700}.local-login-recover{border:0;background:transparent;color:#71334a;text-decoration:underline;cursor:pointer;margin:16px 0 0;padding:4px 0;font-weight:600}.local-login-unconfigured{border:1px solid #d7b27e;border-left:4px solid #a06e3f;background:#fff5e5;color:#47372b;border-radius:10px;padding:12px 14px;font-size:.92rem}.local-login-unconfigured strong{display:block;font-weight:700;margin-bottom:5px}.local-login-unconfigured p{margin:0 0 8px;font-size:.88rem;color:#543d2c}.local-login-unconfigured button{background:#fffaf1;border:1px solid #87624b;color:#593c36;border-radius:7px;padding:7px 12px;cursor:pointer;font-weight:600}.storage-loading-help{margin-top:14px;padding:12px;background:#fff5e6;border:1px solid #c8a77c;border-radius:10px;color:#3c2b26;text-align:left}.storage-loading-help strong{font-size:.93rem}.storage-loading-help p{margin:8px 0;color:#4e433c}.storage-loading-help button{padding:8px 12px;background:#71334a;border:1px solid #71334a;border-radius:8px;color:#fff;cursor:pointer}.simple-pos button:focus-visible,.simple-catalog button:focus-visible,.parish-chat-layout button:focus-visible,.parish-chat-layout input:focus-visible,.parish-chat-layout textarea:focus-visible{outline:2px solid var(--color-focus-ring);outline-offset:2px}.simple-pos-header .simple-pos-actions button{min-height:42px;padding-inline:14px}.simple-pos .simple-search{align-items:stretch;gap:8px}.simple-pos .simple-search input{min-width:0;margin-bottom:0}.simple-pos .simple-search .simple-scan-btn{height:48px;width:48px;flex:0 0 48px}.simple-pos .simple-categories{scrollbar-width:thin;overscroll-behavior-inline:contain}.simple-pos .simple-product{transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}.simple-pos .simple-product .simple-in-cart{background:var(--color-cream-bg-soft);color:var(--color-brand-burgundy);border:1px solid var(--color-ivory-card-border);font-size:11px;font-weight:700;padding:3px 7px;border-radius:7px}.simple-pos .simple-product:not(:disabled):active{transform:scale(.985)}.simple-pos .simple-cart-lines{min-height:75px}.simple-pos .simple-cart-line{gap:10px;align-items:center;flex-wrap:wrap}.simple-pos .simple-cart-line-main{flex:1 1 120px}.simple-pos .simple-cart-line-controls{margin-left:auto}.simple-pos .simple-cart-line-controls button{min-width:36px;min-height:36px}.simple-pos .simple-cart-footer strong{font-size:21px;color:var(--color-brand-burgundy)}.simple-pos .simple-pay-channel{border:1px solid #c8ae99;border-radius:9px;background:#fffdfa;min-height:42px;padding:8px 12px;color:#533c37}.simple-pos .simple-confirm-payment{flex-direction:row!important;align-items:center;gap:12px;font-size:13px;line-height:1.4;cursor:pointer}.simple-pos .simple-confirm-payment input{width:18px;height:18px;flex:0 0 18px}.simple-pos-persist{margin:0;padding:6px 24px;background:#f4e9d6;border-bottom:1px solid #e8ddc9;color:#6b5131;font-size:12px}.simple-pos .simple-pos-message{overflow-wrap:anywhere}.simple-pos button:disabled{cursor:not-allowed}.simple-pos .simple-payment{position:relative}@media (min-width:1050px){.simple-pos .simple-pos-body{grid-template-columns:minmax(0,1fr) minmax(330px,390px);align-items:start}.simple-pos .simple-pos-right{position:sticky;top:72px;max-height:calc(100dvh - 85px);overflow-y:auto;scrollbar-width:thin}}@media (max-width:900px){.simple-pos{min-height:0}.simple-pos .simple-pos-body{gap:12px;padding:12px 12px calc(90px + var(--safe-area-bottom))}.simple-pos .simple-products{grid-template-columns:repeat(auto-fill,minmax(min(100%,135px),1fr));gap:9px}.simple-pos .simple-product{min-height:176px;padding:10px 8px}.simple-pos .simple-product-thumb{height:58px;width:58px}.simple-pos .simple-pos-header{padding:12px}.simple-pos .simple-pos-brand strong{font-size:17px}.simple-pos .simple-pos-right{gap:10px}.simple-pos .simple-payment-methods{flex-wrap:wrap}.simple-pos .simple-pay-method{min-width:80px;min-height:44px}.simple-pos .simple-cart,.simple-pos .simple-payment{padding:14px}}@media (max-width:380px){.simple-pos .simple-products{grid-template-columns:repeat(2,minmax(0,1fr))}.simple-pos .simple-product-name{font-size:13px}.simple-pos .simple-cash-fields input{min-width:0}}.sidebar .nav-search input{min-width:0}.sidebar .nav-section button[aria-current=page]{position:relative}.sidebar .nav-section button[aria-current=page]:before{content:"";position:absolute;left:2px;top:10px;bottom:10px;width:3px;background:var(--color-gold-muted);border-radius:4px}.sidebar .nav-section button .nav-section-arrow{margin-left:auto}.nav-section-title button{width:100%}.mobile-bottom-nav button{min-width:0}.mobile-bottom-nav button[aria-current=page]{color:var(--color-brand-burgundy);font-weight:700}.mobile-bottom-nav button[aria-current=page] svg{stroke-width:2.4}.parish-chat-layout{display:grid;grid-template-columns:minmax(200px,275px) minmax(0,1fr);min-height:530px;height:min(72dvh,760px);border-radius:var(--radius-lg);background:var(--color-ivory-card);border:1px solid var(--color-ivory-card-border);overflow:hidden;box-shadow:0 8px 28px var(--color-shadow)}.parish-chat-sidebar{background:#f8f2e8;border-right:1px solid var(--color-ivory-card-border);display:flex;flex-direction:column;min-width:0;overflow-y:auto}.parish-chat-side-heading{display:flex;justify-content:space-between;align-items:center;padding:18px 16px;border-bottom:1px solid var(--color-ivory-card-border);color:var(--color-brand-burgundy)}.parish-chat-side-heading strong{font-size:16px}.parish-chat-side-heading small{background:#e9dccb;padding:3px 9px;border-radius:16px;color:#6c4d31;font-weight:700}.parish-chat-room{display:flex;align-items:center;gap:11px;min-height:72px;padding:12px 14px;text-align:left;border-bottom:1px solid #ede3d7;transition:background-color .16s}.parish-chat-room:hover{background:#f2e6d5}.parish-chat-room.active{background:#eee0d0;border-left:3px solid var(--color-brand-burgundy);padding-left:11px}.parish-chat-room-icon{height:35px;width:35px;flex:0 0 35px;display:grid;place-items:center;background:#e9d8c0;color:var(--color-brand-burgundy);border-radius:11px}.parish-chat-room-summary{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.parish-chat-room-summary strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.parish-chat-room-summary small{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--color-text-muted)}.parish-chat-room-count{font-size:11px;color:var(--color-text-muted)}.parish-chat-thread{display:flex;flex-direction:column;min-width:0;min-height:0;background:#fffdf8}.parish-chat-thread-header{display:flex;align-items:center;gap:12px;min-height:74px;padding:12px 18px;border-bottom:1px solid var(--color-ivory-card-border);background:#fffaf2}.parish-chat-thread-header>div{display:flex;flex-direction:column;gap:2px;min-width:0}.parish-chat-thread-header strong{color:var(--color-brand-burgundy);font-size:16px}.parish-chat-thread-header small{font-size:11px}.parish-chat-back{display:none}.parish-chat-search{margin-left:auto;display:flex;align-items:center;gap:6px;padding:7px 9px;border-radius:9px;border:1px solid var(--color-ivory-card-border);background:#fff;min-width:0;width:min(100%,230px);color:var(--color-text-muted)}.parish-chat-search input{border:none;outline:0;min-width:0;width:100%;font-size:12px;background:transparent;color:var(--color-text-main)}.parish-chat-messages{display:flex;flex-direction:column;gap:14px;flex:1;overflow-y:auto;overscroll-behavior-y:contain;padding:22px 20px;min-height:120px;background:linear-gradient(145deg,#fffdf8,#f8f1e7)}.parish-chat-bubble{max-width:min(83%,580px);min-width:130px;align-self:flex-start;background:#fff;border:1px solid #e9ddce;border-radius:4px 15px 15px;padding:12px 13px;box-shadow:0 2px 9px #3a1a1e0a}.parish-chat-bubble.own{align-self:flex-end;background:#f1e6de;border-color:#e5cfc4;border-radius:15px 4px 15px 15px}.parish-chat-bubble header{display:flex;align-items:baseline;justify-content:space-between;gap:12px;font-size:13px}.parish-chat-bubble header strong{color:var(--color-brand-burgundy)}.parish-chat-bubble time{white-space:nowrap;color:var(--color-text-muted);font-size:11px}.parish-chat-bubble p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.5;margin:9px 0 5px}.parish-chat-bubble footer{display:flex;align-items:center;justify-content:flex-end;gap:10px}.parish-chat-bubble footer small{font-size:11px}.parish-chat-bubble footer button{display:grid;place-items:center;border-radius:6px;min-height:28px;min-width:28px;color:var(--color-brand-burgundy)}.parish-chat-bubble footer button:hover{background:#651c2b14}.parish-chat-reply-preview,.parish-chat-reply-target{font-size:12px;color:#79563e;border-left:2px solid var(--color-gold-muted);padding-left:8px;margin-top:7px;overflow-wrap:anywhere}.parish-chat-reply-target{display:flex;align-items:center;gap:8px;margin:0 0 7px}.parish-chat-reply-target span{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.parish-chat-reply-target button{height:28px;width:28px;display:grid;place-items:center;border-radius:6px}.parish-chat-composer{padding:14px 16px;background:#fffaf2;border-top:1px solid var(--color-ivory-card-border)}.parish-chat-compose-row{display:flex;align-items:stretch;gap:9px}.parish-chat-compose-row textarea{flex:1;min-width:0;max-height:150px;resize:vertical;border:1px solid #c9b29a;border-radius:11px;padding:10px 12px;background:#fffdfa;color:var(--color-text-main)}.parish-chat-compose-row textarea:focus{outline:2px solid var(--color-focus-ring);outline-offset:1px}.parish-chat-send{display:flex;gap:6px;align-items:center;justify-content:center;min-height:45px;padding:0 16px;border-radius:11px;background:var(--color-brand-burgundy);color:#fff;font-weight:700}.parish-chat-send:hover:not(:disabled){background:var(--color-brand-burgundy-dark)}.parish-chat-send:disabled{opacity:.45;cursor:not-allowed}.parish-chat-composer>small{font-size:11px;display:block;margin-top:6px;line-height:1.4}.parish-chat-empty{margin:auto;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;padding:20px;text-align:center;color:var(--color-text-muted)}.parish-chat-empty strong{font-size:15px}.parish-chat-empty span{font-size:12px}.parish-chat-warning{display:flex;align-items:flex-start;gap:8px;margin-top:12px}@media (max-width:780px){.parish-chat-layout{height:calc(100dvh - 225px);min-height:380px;grid-template-columns:1fr}.parish-chat-layout .parish-chat-thread,.parish-chat-layout.chat-conversation-open .parish-chat-sidebar{display:none}.parish-chat-layout.chat-conversation-open .parish-chat-thread{display:flex}.parish-chat-thread-header{min-height:64px;padding:9px 11px;gap:7px}.parish-chat-back{display:grid;place-items:center;height:38px;width:34px;flex:0 0 34px}.parish-chat-search{width:min(100%,170px)}.parish-chat-messages{padding:13px 10px}.parish-chat-bubble{max-width:92%}.parish-chat-composer{padding:9px}.parish-chat-send span{display:none}.parish-chat-send{padding-inline:12px}.parish-chat-composer>small{font-size:10px}}@media (prefers-reduced-motion:reduce){.simple-pos .simple-product,.parish-chat-room{transition:none}}.report-period-presets{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.report-period-presets button{min-height:40px;padding:8px 14px;border:1px solid var(--color-ivory-card-border);border-radius:9px;background:var(--color-ivory-card);color:var(--color-brand-burgundy);font-weight:600}.report-period-presets button:hover{background:var(--color-cream-bg-soft);border-color:var(--color-gold-muted)}.report-period-presets button:focus-visible{outline:2px solid var(--color-focus-ring);outline-offset:2px}:root{--color-brand-burgundy:#215cb9;--color-brand-burgundy-dark:#16478d;--color-brand-burgundy-light:#3879d4;--color-gold-muted:#4e94c9;--color-gold-muted-dark:#2f6eac;--color-cream-bg:#f4f8fd;--color-cream-bg-soft:#eaf3fd;--color-ivory-card:#fff;--color-ivory-card-border:#dbe7f5;--color-text-main:#172c48;--color-text-muted:#59708b;--color-text-on-burgundy:#f4f8ff;--color-border-soft:#d6e3f3;--color-focus-ring:#2486da;--font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;--color-danger:#b42333;--craft-edge:#8ab8e6;--craft-deep:#184a89;--craft-paper:#fff}html,body,#root{min-width:0;background:#f4f8fd;color:#172c48}body{font-family:var(--font-family-ui);line-height:1.55}:where(h1,h2,h3,h4,h5,h6){font-family:var(--font-family-ui);letter-spacing:-.018em;line-height:1.35}button,input,select,textarea{font-family:var(--font-family-ui);line-height:1.4}button:not(:disabled){cursor:pointer}button:disabled{cursor:not-allowed;opacity:.58}:where(button,a,input,select,textarea,summary):focus-visible{outline:3px solid #328be6!important;outline-offset:2px}:where(.app,.main,.workspace,.simple-pos,.simple-catalog,.simple-home,.quick-receiving-page){min-width:0;max-width:100%}.sidebar{background:linear-gradient(170deg,#183e6e,#102d54)!important;color:#f4f8ff;box-shadow:3px 0 18px #163f6b1f}.sidebar .brand{background:linear-gradient(135deg,#215587,#17385e)!important;background-image:linear-gradient(135deg,#215587,#17385e)!important;border-color:#3c6694}.sidebar .brand-icon{color:#d2eaff;border-color:#78a9da;background:#ffffff18}.sidebar .brand strong,.sidebar .brand small{color:#f4f8ff}.sidebar .nav-section h2,.sidebar .nav-section-title,.sidebar .nav-section-toggle,.sidebar .nav-section-toggle span{color:#bad9fb!important}.sidebar .nav-section button:not(.active){color:#f1f7ff}.sidebar .nav-section button:hover:not(.active){background:#ffffff18;color:#fff}.sidebar .nav-section button.active,.sidebar .nav-section button[aria-current=page]{background:#e8f3ff;color:#173d70;box-shadow:inset 3px 0 #3b97ee,0 2px 7px #102d5424}.sidebar .nav-section button.active svg{color:#2565b1}.sidebar .nav-section button[aria-current=page]:before{background:#2e8adf}.sidebar .nav-section .nav-section-arrow{color:#d2e8ff}.sidebar .nav-search{background:#ffffff12;border-color:#ffffff3b}.sidebar .nav-search input{color:#fff}.sidebar .nav-search input::placeholder{color:#c5dbf3}.sidebar-foot,.sidebar .hub-help{color:#c6defa!important}.sidebar .small-btn{min-width:0!important;justify-content:center!important;background:transparent!important;border:1px solid #9ec7ef!important;color:#e9f5ff!important;padding:10px 12px!important;border-radius:10px!important}.sidebar .small-btn.active{background:#e9f5ff!important;color:#164779!important;border:1px solid #e9f5ff!important;font-weight:750}.main{background:#f4f8fd!important;min-width:0;max-width:none}.topbar{background:#fff;border-color:#dbe7f5;box-shadow:0 1px 8px #18476b10}.topbar h1{font:700 clamp(19px,1.5vw,25px)/1.3 var(--font-family-ui);color:#183c65}.topbar .ornament{color:#63a4df}.top-right{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;min-width:0}.top-right .operator{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.top-right select,.top-right .small-btn{background:#fff;border:1px solid #bfd4ed;color:#183c65;border-radius:9px;min-height:39px}.storage-indicator{background:#e9f7ef;color:#226944}.workspace{width:100%;max-width:1800px;padding:clamp(14px,1.7vw,26px)}.workspace-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 18px;padding-bottom:14px;border-bottom:1px solid #dce7f3}.workspace-head h2{display:flex;align-items:center;gap:9px;font:700 clamp(20px,1.6vw,26px)/1.35 var(--font-family-ui);color:#1b4b80}.workspace-head>span{color:#617992;line-height:1.45}.workspace h3,.simple-product-list h3{color:#204d7e}.workspace :is(input,textarea,select):not([type=checkbox]):not([type=radio]),.simple-catalog :is(input,select,textarea):not([type=checkbox]){background:#fff;border-color:#bbd1ea;color:#193451;min-height:42px;border-radius:9px}.workspace :is(input,textarea,select):focus-visible,.simple-catalog :is(input,select,textarea):focus-visible{outline:2px solid #388edf!important;outline-offset:1px}.workspace .small-btn,.simple-btn-outline{background:#fff;color:#1b5898;border:1px solid #aac7e6;border-radius:9px;min-height:39px}.workspace .pay,.cash-layout .pay,.simple-btn-primary{background:#2264bd!important;color:#fff!important;border-color:#2264bd!important;box-shadow:0 3px 10px #215fb526}.workspace .pay:not(:disabled):hover,.cash-layout .pay:not(:disabled):hover,.simple-btn-primary:hover{background:#174c98!important}.workspace-panel,.user-card,.report-card,.treasury-doc,.report-metrics article{background:#fff;border-color:#dce8f4;box-shadow:0 3px 13px #164e7e0b}.simple-home,.simple-catalog,.simple-pos{background:#f4f8fd!important;min-height:calc(100dvh - 74px)}.simple-home-header,.simple-catalog-head,.simple-pos-header{background:#edf6ff!important;border-bottom:1px solid #d4e7fa!important;color:#183b65!important;padding:clamp(14px,2vw,22px) clamp(16px,2vw,28px)!important;min-height:auto}.simple-home-header h2,.simple-catalog-head h2,.simple-pos-header h2,.simple-home-header strong,.simple-pos-brand strong,.simple-catalog-head strong{color:#173d68!important;font:700 clamp(19px,1.6vw,25px)/1.35 var(--font-family-ui)!important}.simple-home-header span,.simple-catalog-head span,.simple-pos-header small,.simple-pos-brand small{color:#4e729a!important;line-height:1.5}.simple-home-status{background:#e0f0ff;color:#245181;border:1px solid #c7e1fc}.simple-home-header>div,.simple-catalog-head>div{min-width:0;display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px}.simple-home-header>div:first-child{display:flex;flex-direction:column;align-items:flex-start;gap:5px}.simple-home-header h2{display:flex;align-items:center;gap:9px;margin:0}.simple-home-header h2 svg,.simple-catalog-head h2 svg{color:#2774c7}.simple-home-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,245px),1fr));gap:13px;padding:20px clamp(14px,2vw,25px)}.simple-home-card{background:#fff!important;border:1px solid #dce8f5!important;border-radius:15px;box-shadow:0 4px 13px #153b670d;align-items:stretch;min-height:154px;padding:17px;gap:12px}.simple-home-card:hover:not(:disabled){border-color:#6fa7e7!important;box-shadow:0 6px 18px #1a528a18}.simple-home-card-icon{background:#e7f3ff;color:#266ab1;border-radius:11px}.simple-home-card>div:nth-child(2){display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0;text-align:left}.simple-home-card strong{display:block;color:#183c67;font-size:15px;line-height:1.4}.simple-home-card span{display:block;color:#5c7390;margin:0;line-height:1.5}.simple-home-quick{margin:0 clamp(14px,2vw,25px) 20px;background:#fff;border-color:#dce8f5}.simple-home-quick h3{color:#204e84}.simple-home-quick-item{background:#f7fbff;color:#235184;border-color:#c6d9ee}.simple-home-footer{color:#5e7692}.simple-catalog-head .simple-btn-primary{min-height:44px;width:auto!important;padding:10px 18px}.simple-catalog-toolbar{margin:17px clamp(14px,2vw,26px) 0;gap:10px 14px}.simple-catalog-toolbar label{min-width:0;display:flex;gap:8px;align-items:center}.simple-catalog-toolbar input{min-width:min(220px,70vw);width:min(420px,100%)}.simple-product-form,.simple-category-editor,.simple-product-card{background:#fff!important;border-color:#d9e7f6!important;box-shadow:0 3px 12px #1e4b770b!important}.simple-product-form{margin:16px clamp(14px,2vw,26px);padding:clamp(16px,1.7vw,23px)}.simple-product-form h3{color:#1a4a81}.simple-product-list{margin:18px clamp(14px,2vw,26px)}.simple-product-list h3{font:700 18px/1.4 var(--font-family-ui);margin-bottom:12px}.simple-product-card-info strong{line-height:1.5;color:#183c65}.simple-product-card-price{color:#205bad}.simple-form-grid{gap:14px 18px}.simple-form-grid label{line-height:1.45;gap:7px}.simple-form-actions{justify-content:flex-end;flex-wrap:wrap}.simple-form-actions .primary{min-width:170px;min-height:44px;border-radius:10px;color:#fff;background:#2264bd;padding:10px 18px}.simple-form-actions button:not(.primary){padding:10px 14px;border:1px solid #c1d6ed;border-radius:9px}.simple-category-node-row{background:#f7fbff;border-color:#d5e5f5}.simple-catalog .simple-btn-outline{color:#21578f}.simple-product-grid.view-list{display:flex;flex-direction:column;gap:7px}.simple-product-grid.view-list .simple-product-card{display:grid;grid-template-columns:58px minmax(0,1fr) 130px 170px;align-items:center;gap:14px;min-height:78px;padding:10px 14px}.simple-product-grid.view-list .simple-product-card-image{margin:0;max-width:54px;max-height:54px}.simple-product-grid.view-list .simple-product-card-info{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:5px 14px}.simple-product-grid.view-list .simple-product-card-info strong{flex:1 1 100%}.simple-product-grid.view-list .simple-product-card-price{margin:0;text-align:right}.simple-product-grid.view-list .simple-product-card-actions{margin:0;justify-content:flex-end;flex-wrap:wrap}.simple-product-grid.view-list .simple-product-card:not(:has(.simple-product-card-image)):before{content:"○";display:grid;place-items:center;width:52px;height:52px;background:#edf5fe;color:#7197be;border-radius:10px;font-size:25px}.simple-product-list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}.simple-product-list-toolbar h3{margin:0}.simple-product-view-actions{display:flex;align-items:center;gap:5px}.simple-product-view-actions button{padding:8px 11px;min-height:37px;border:1px solid #c6daf0;border-radius:8px;color:#275887;background:#fff}.simple-product-view-actions button[aria-pressed=true]{background:#e4f1ff;border-color:#5499de;font-weight:700}.simple-product-load-more{display:block;margin:14px auto;min-width:220px;padding:10px 18px;border:1px solid #9ec2e8;color:#1b5798;border-radius:10px;background:#fff;font-weight:650}.simple-pos .simple-pos-body{max-width:none;margin:0 auto;grid-template-columns:minmax(0,1fr) minmax(320px,365px);gap:clamp(12px,1.7vw,22px);padding:clamp(12px,1.7vw,24px)}.simple-pos .simple-search input,.simple-pos .simple-cash-fields input{background:#fff;border-color:#bfd4eb;color:#183452}.simple-pos .simple-categories{gap:8px}.simple-pos .simple-cat-btn{background:#fff;border-color:#c5d9ef;color:#205389;border-radius:9px}.simple-pos .simple-cat-btn.simple-cat-active,.simple-pos .simple-pay-method.simple-pay-active{background:#2264bd!important;border-color:#2264bd!important;color:#fff!important}.simple-pos .simple-product{background:#fff;border-color:#d7e6f4;box-shadow:0 3px 13px #1e55820c}.simple-pos .simple-product-thumb{background:#e9f4ff;color:#2a72b6}.simple-pos .simple-product-name{color:#173c64;line-height:1.45}.simple-pos .simple-product-code{background:#eaf3fc;color:#426f99}.simple-pos .simple-product-price,.simple-pos .simple-cart-footer strong{color:#205aab}.simple-pos .simple-cart,.simple-pos .simple-payment{background:#fff;border:1px solid #d9e6f5;box-shadow:0 3px 14px #1e54800d}.simple-pos .simple-icon-btn{color:#215b91;border-color:#cbdff2;background:#f8fbff}.simple-pos .simple-pay-method{background:#fff;color:#215486;border-color:#b5cfe9}.simple-pos .simple-denoms button{background:#f8fbff;color:#174d88;border-color:#c2d8ef}.simple-pos .simple-btn-primary{background:#2464ba;color:#fff}.simple-pos-persist{background:#e9f4ff;color:#39688d;border-color:#cce2f7}.simple-pos .simple-pos-right{min-width:0;max-height:none}.cash-layout .checkout,.workspace-panel{background:#fff;border-color:#d7e5f3}.cash-layout .product,.cash-layout .searchbar{background:#fff;border-color:#d8e5f3;color:#1b3956}.cash-layout .categories button.selected{background:#2364b6;border-color:#2364b6;color:#fff}.cash-layout .categories button.selected svg{color:#fff}.cash-layout .product-illustration{background:#ebf4ff;color:#2c71b8}.cash-layout .product-name{color:#172f4e}.stocktake .stocktake-meta{display:flex;flex-wrap:wrap;align-items:stretch;gap:12px;background:#fff;border:1px solid #d9e7f5;border-radius:13px;padding:16px;margin:12px 0;color:#324e68}.stocktake .stocktake-meta>span,.stocktake .stocktake-meta>strong{display:flex;flex-direction:column;align-items:flex-start;flex:1 1 150px;gap:4px;line-height:1.4;padding:5px 8px}.stocktake .stocktake-meta>h4{flex:1 1 100%;font-size:16px;margin:0;color:#224e7a}.stocktake .stocktake-meta>label{display:flex;flex:1 1 180px;flex-direction:column;gap:6px;line-height:1.4}.stocktake .stocktake-meta>label input,.stocktake .stocktake-meta>label select{width:100%;max-width:100%;min-height:44px;padding:9px}.stocktake .stocktake-meta>button{align-self:end;min-height:43px}.stocktake .stocktake-actions{background:#fff;border:1px solid #d9e7f5;border-radius:13px;padding:16px;gap:14px}.stocktake .stocktake-actions label{flex:1 1 180px;line-height:1.4}.stocktake .stocktake-actions input{width:100%;min-height:44px}.stocktake .stocktake-actions button{min-height:44px}.stocktake .stocktake-scroll{overflow-x:auto;border:1px solid #d9e7f5;border-radius:12px}.quick-receiving-guide{display:flex;align-items:flex-start;gap:10px;margin:4px 0 17px!important;padding:12px 14px;border:1px solid #c7dff7;border-radius:11px;background:#eaf5ff;color:#284f79!important;font-size:13px}.quick-receiving-guide svg{flex:0 0 18px}.quick-receiving-workflow{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,340px);gap:16px;align-items:start}.quick-receiving-main,.quick-receiving-side{background:#fff;border:1px solid #d5e5f4;border-radius:14px;padding:18px;min-width:0;box-shadow:0 3px 14px #2457830b}.quick-receiving-toolbar{display:flex;gap:8px;align-items:flex-end;flex-wrap:wrap}.quick-receiving-toolbar label{display:flex;flex:1 1 220px;flex-direction:column;align-items:flex-start;gap:7px;font-weight:650;color:#254b73}.quick-receiving-toolbar input{width:100%;padding:10px}.quick-receiving-toolbar .small-btn{display:flex;gap:6px;align-items:center;justify-content:center;min-height:44px}.quick-receiving-count{margin:10px 0;font-size:12px!important;color:#66819b!important}.quick-receiving-list{display:flex;flex-direction:column;gap:6px;max-height:min(62dvh,600px);overflow-y:auto}.quick-receive-item{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 12px;text-align:left;padding:12px;border:1px solid #dae7f5;border-radius:10px;background:#fbfdff;color:#183e69}.quick-receive-item strong{line-height:1.4;overflow-wrap:anywhere}.quick-receive-item small{grid-row:2;color:#657d97}.quick-receive-item span{grid-column:2;grid-row:1/3;color:#215c9d;font-weight:700}.quick-receive-item:hover,.quick-receive-item.selected{background:#edf6ff;border-color:#569cdd}.quick-receive-item.selected{box-shadow:inset 3px 0 #297dd0}.quick-receiving-side{display:flex;flex-direction:column;gap:12px;position:sticky;top:12px}.quick-receiving-side h3{display:flex;align-items:center;gap:9px;margin:0 0 5px;font-size:18px}.quick-receiving-side label{display:flex;flex-direction:column;gap:6px;font-weight:600;font-size:13px;color:#395d7d}.quick-receiving-side select,.quick-receiving-side input{padding:10px 12px;min-height:46px}.quick-receiving-selection{display:flex;flex-direction:column;gap:5px;padding:13px;background:#eaf5ff;border:1px solid #d1e5f8;border-radius:10px;color:#235381;line-height:1.5}.quick-receiving-selection.muted{color:#68809a}.quick-receiving-side .pay{display:flex;align-items:center;justify-content:center;gap:8px;margin:4px 0 0}.quick-receiving-empty{padding:25px 13px;text-align:center;color:#617994;display:flex;flex-direction:column;align-items:center;gap:10px}.quick-receiving-error{color:#a42130;background:#fff0f0;border-color:#f0bbc1}.quick-receiving-permission{font-size:12px;color:#9d3b37}.module-settings,.admin-bootstrap{background:#fff;border:1px solid #d5e4f3;border-radius:15px;margin:20px 0;padding:clamp(16px,2vw,25px);box-shadow:0 3px 13px #1848790c}.module-settings-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;flex-wrap:wrap}.module-settings-heading h3,.admin-bootstrap h3{color:#1d4d83;margin:0 0 5px;font-size:20px}.module-settings-heading p,.admin-bootstrap p{color:#5e7690;font-size:13px;margin:0 0 12px;max-width:830px}.module-settings-count{padding:6px 11px;background:#eaf4ff;color:#205b9c;border-radius:20px;white-space:nowrap;font-size:12px;font-weight:700}.module-settings-list{display:flex;flex-direction:column}.module-settings-row{display:grid;grid-template-columns:minmax(0,1fr) 150px 150px;gap:14px;align-items:center;padding:15px 6px;border-bottom:1px solid #e5eef8}.module-settings-row:last-child{border-bottom:0}.module-settings-description{display:flex;flex-direction:column;gap:5px}.module-settings-description strong{color:#1a3c66;line-height:1.4}.module-settings-description small{color:#69809a;line-height:1.4;font-size:12px}.module-settings-control{display:flex;align-items:center;gap:9px;color:#2c577d;font-size:12px;font-weight:600;cursor:pointer;white-space:normal}.module-settings-control input{width:18px;height:18px;accent-color:#256bc0;flex:0 0 18px}.module-settings-error{background:#fff0f0;border:1px solid #f5bfca;border-radius:9px;color:#a32131;padding:11px}.module-settings-success{display:flex;align-items:center;gap:8px;background:#edf9f0;color:#23663b;padding:10px 13px;border-radius:9px}.module-settings-foot,.settings-footnote{color:#637b95;font-size:12px}.settings-section-title{margin-top:25px}.admin-bootstrap{border-color:#89b8eb;background:#f2f8ff}.admin-bootstrap-fields{display:flex;gap:11px;align-items:end;flex-wrap:wrap}.admin-bootstrap-fields label{display:flex;flex-direction:column;gap:5px;flex:1 1 185px;font-size:13px}.admin-bootstrap-fields input{padding:10px}.admin-bootstrap-fields button{min-height:44px}.settings-intro{background:#e9f4ff;border:1px solid #d0e4f9;color:#174c80}.settings-link{border-color:#d8e7f5;background:#fff}.settings-link-icon{background:#e7f3ff;color:#2474b6}.settings-page,.receiving-page,.stocktake,.treasury-page,.parish-chat-layout{font-family:var(--font-family-ui)}.receiving-page .receiving-review-card,.receiving-page .treasury-form{background:#fff;border-color:#d6e5f5}.receiving-page .receiving-worklist-stats>div{background:#fff;border-color:#d4e4f3}.parish-chat-sidebar{background:#f0f7ff;border-color:#d6e7f5}.parish-chat-thread,.parish-chat-messages,.parish-chat-composer,.parish-chat-thread-header{background:#fff}.parish-chat-room.active{background:#dceeff;border-color:#367fc2}.parish-chat-room-icon{background:#d5eaff;color:#236baa}.parish-chat-bubble.own{background:#e9f4ff;border-color:#d0e5fa}.parish-chat-send{background:#2265b9;color:#fff}.parish-chat-send:hover:not(:disabled){background:#174b93}@media (max-width:1100px){.topbar .top-right{width:100%;margin-left:0;justify-content:flex-start}.simple-pos .simple-pos-body{grid-template-columns:minmax(0,1fr) minmax(280px,330px)}}@media (max-width:900px){.simple-pos .simple-pos-body,.quick-receiving-workflow{grid-template-columns:1fr}.quick-receiving-side{position:static}.module-settings-row{grid-template-columns:minmax(0,1fr) 130px 140px}}@media (max-width:650px){.simple-home-grid{grid-template-columns:1fr 1fr;gap:10px}.simple-home-card{min-height:140px;padding:14px}.simple-product-grid.view-list .simple-product-card{grid-template-columns:minmax(0,1fr) auto;gap:8px}.simple-product-grid.view-list .simple-product-card-image,.simple-product-grid.view-list .simple-product-card:before{display:none!important}.simple-product-grid.view-list .simple-product-card-actions{grid-column:1/-1;justify-content:flex-start}.module-settings-row{grid-template-columns:minmax(0,1fr) auto;gap:10px}.module-settings-description{grid-column:1/-1}.simple-catalog-head .simple-btn-primary{width:100%!important}.simple-pos .simple-pos-body{padding:12px 12px calc(88px + var(--safe-area-bottom))}}@media (max-width:400px){.simple-home-grid{grid-template-columns:1fr}}.supplier-invoices{--pi-ink:#183153;--pi-blue:#2563eb;--pi-border:#d5e2f1;--pi-muted:#627792;--pi-paper:#fff;color:var(--pi-ink);max-width:1680px;margin:0 auto;padding:clamp(14px,2vw,32px);box-sizing:border-box}.supplier-invoices *,.supplier-invoices *:before,.supplier-invoices *:after{box-sizing:border-box}.supplier-invoices .workspace-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:12px;margin:0 0 20px;padding:0 0 15px;border-bottom:1px solid var(--pi-border);background:none;color:var(--pi-ink)}.supplier-invoices .workspace-head h2{display:flex;align-items:center;gap:10px;color:var(--pi-ink);font-size:clamp(22px,2vw,30px);line-height:1.32;margin:0;font-family:inherit}.supplier-invoices .workspace-head>span{color:var(--pi-muted);font-size:13px;line-height:1.5}.purchase-invoice-layout{display:grid;grid-template-columns:minmax(240px,330px) minmax(0,1fr);gap:18px;align-items:start}.purchase-invoice-list,.purchase-invoice-main{background:var(--pi-paper);border:1px solid var(--pi-border);border-radius:16px;box-shadow:0 6px 25px #184f8720;min-width:0;overflow:hidden}.purchase-invoice-list{position:sticky;top:16px;max-height:calc(100vh - 170px);overflow-y:auto;scrollbar-width:thin}.purchase-invoice-tools{display:grid;gap:10px;padding:16px;border-bottom:1px solid var(--pi-border)}.purchase-invoice-tools label{display:grid;gap:5px;font-weight:600;font-size:13px;color:var(--pi-ink)}.purchase-invoice-tools label svg{display:inline;vertical-align:middle;margin-right:5px}.purchase-invoice-items{display:grid;gap:3px;padding:7px}.supplier-invoices .purchase-invoice-item{display:grid;gap:6px;text-align:left;background:transparent;border:1px solid transparent;border-radius:10px;padding:12px;min-width:0;color:var(--pi-ink);font:inherit;line-height:1.35;cursor:pointer;transition:background .12s,border-color .12s}.supplier-invoices .purchase-invoice-item:hover,.supplier-invoices .purchase-invoice-item:focus-visible{background:#edf5ff;border-color:#a9c8ef;color:var(--pi-ink)}.supplier-invoices .purchase-invoice-item.current{background:#e8f2ff;border-color:#7aacee;color:#134584}.supplier-invoices .purchase-invoice-item strong{font-size:15px;overflow-wrap:anywhere}.supplier-invoices .purchase-invoice-item span,.supplier-invoices .purchase-invoice-item small{font-size:12px;color:var(--pi-muted);overflow-wrap:anywhere;line-height:1.45}.purchase-invoice-main{padding:clamp(16px,2vw,28px);min-height:460px}.supplier-invoices h3{display:flex;align-items:center;gap:8px;line-height:1.4;margin:0 0 13px;color:var(--pi-ink);font-family:inherit;font-size:19px}.supplier-invoices h4{font-family:inherit;color:var(--pi-ink);margin:0 0 12px}.supplier-invoices p{line-height:1.55;margin:7px 0 15px;color:var(--pi-ink)}.supplier-invoices .purchase-muted,.supplier-invoices .purchase-help{color:var(--pi-muted);font-size:13px}.purchase-invoice-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-bottom:20px}.supplier-invoices label{display:grid;gap:6px;color:var(--pi-ink);font-size:13px;line-height:1.45;font-weight:600;min-width:0}.supplier-invoices input,.supplier-invoices select,.supplier-invoices textarea{width:100%;min-width:0;max-width:100%;background:#fff;color:#152d4b;border:1px solid #b9cbe1;border-radius:9px;padding:10px 12px;line-height:1.4;font-size:14px;font-weight:400;font-family:inherit;min-height:42px;box-shadow:none}.supplier-invoices :is(input,select,textarea):focus-visible{outline:2px solid #529af5;outline-offset:2px;border-color:#529af5}.supplier-invoices button{font-family:inherit;min-height:40px;line-height:1.35;white-space:normal;overflow-wrap:anywhere}.supplier-invoices .pay,.supplier-invoices .small-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;width:auto;padding:10px 15px;border-radius:9px;font-size:13px;font-weight:650;cursor:pointer;text-align:center}.supplier-invoices .pay{background:#2563eb;color:#fff;border:1px solid #2563eb}.supplier-invoices .pay:hover:not(:disabled){background:#184cbf;color:#fff}.supplier-invoices .small-btn{background:#fff;color:#1d5189;border:1px solid #a8c0de}.supplier-invoices .small-btn:hover:not(:disabled){background:#edf5ff;color:#183d6e}.supplier-invoices button:disabled{opacity:.58;cursor:not-allowed}.purchase-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:22px 0 12px}.purchase-heading h3{margin:0}.purchase-lines{display:grid;gap:8px}.purchase-line{display:grid;grid-template-columns:30px minmax(150px,3fr) minmax(85px,1fr) minmax(120px,1fr) auto;gap:10px;align-items:end;padding:12px;background:#f7faff;border:1px solid var(--pi-border);border-radius:11px}.purchase-line-index{color:#6781a1;text-align:center;font-size:13px;padding-bottom:12px}.purchase-search,.purchase-notes{margin-bottom:15px}.purchase-product-creation{margin:15px 0}.purchase-new-product{padding:18px;margin-top:12px;border:1px solid #bdd5f3;background:#f4f9ff;border-radius:13px}.purchase-new-product small{font-size:12px;color:var(--pi-muted);line-height:1.5}.purchase-actions{display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin:17px 0 20px}.purchase-actions label{width:min(230px,100%)}.purchase-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0}.purchase-metrics>div{display:flex;flex-direction:column;gap:7px;background:#f1f7ff;border:1px solid var(--pi-border);border-radius:12px;padding:15px;min-width:0}.purchase-metrics small{font-size:12px;color:var(--pi-muted);line-height:1.4}.purchase-metrics b{font-size:clamp(16px,1.7vw,21px);color:#153e70;overflow-wrap:anywhere}.purchase-table-wrap{max-width:100%;overflow-x:auto;border:1px solid var(--pi-border);border-radius:12px;margin:12px 0 18px}.supplier-invoices .purchase-table{width:100%;border-collapse:collapse;min-width:640px;background:#fff;line-height:1.4}.supplier-invoices .purchase-table th,.supplier-invoices .purchase-table td{padding:12px 11px;border-bottom:1px solid #e6edf6;text-align:left;vertical-align:middle;color:var(--pi-ink);font-size:13px}.supplier-invoices .purchase-table th{background:#eef5fc;color:#345673;font-weight:700;white-space:nowrap}.supplier-invoices .purchase-table td small{display:block;margin-top:5px;color:var(--pi-muted)}.supplier-invoices .purchase-table td input{min-width:85px}.purchase-docs{display:grid;gap:8px;margin-bottom:18px}.purchase-docs article{display:flex;align-items:start;gap:12px;background:#f8fbff;border:1px solid var(--pi-border);padding:12px;border-radius:11px;color:#225a94}.purchase-docs article div{display:grid;gap:6px;min-width:0}.purchase-docs article strong{overflow-wrap:anywhere;color:var(--pi-ink)}.purchase-docs article small{font-size:12px;color:var(--pi-muted)}.purchase-link{display:flex;align-items:end;gap:10px;flex-wrap:wrap;padding:15px;background:#f0f7ff;border-radius:10px;margin:14px 0}.purchase-link label{flex:1;min-width:240px}.purchase-empty,.purchase-welcome{text-align:center;padding:24px 16px;color:var(--pi-muted)}.purchase-welcome{display:grid;justify-items:center;align-content:center;gap:8px;min-height:360px}.purchase-welcome>svg{color:#4183cc}.purchase-welcome p{max-width:440px}.purchase-warning{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border-radius:10px;background:#fff7e6;color:#72501b!important;border:1px solid #f0d298}.supplier-invoices .warehouse-warning,.supplier-invoices .production-message{display:block;background:#eff8f2;color:#16604b;border:1px solid #b6e6cc;padding:12px 14px;border-radius:10px;line-height:1.5;margin-bottom:14px}.supplier-invoices p[role=alert]{color:#922f2f;background:#fff0f0;border-color:#f6bbbb}@media (max-width:1024px){.purchase-invoice-layout{grid-template-columns:minmax(210px,280px) minmax(0,1fr)}.purchase-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:750px){.purchase-invoice-layout{display:flex;flex-direction:column}.purchase-invoice-list{position:static;width:100%;max-height:330px}.purchase-invoice-main{width:100%;min-height:330px}.purchase-invoice-fields{grid-template-columns:1fr}.purchase-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.purchase-line{grid-template-columns:24px minmax(0,1fr) minmax(0,1fr);gap:10px}.purchase-line label:nth-of-type(1){grid-column:2 / -1}.purchase-line button{align-self:end}.supplier-invoices .workspace-head>span{max-width:100%}}@media (max-width:450px){.supplier-invoices{padding:10px}.purchase-invoice-main{padding:15px}.purchase-metrics{grid-template-columns:1fr 1fr}.purchase-metrics>div{padding:10px}.purchase-line{grid-template-columns:1fr 1fr}.purchase-line-index{display:none}.purchase-line label:nth-of-type(1){grid-column:1 / -1}.purchase-actions>button{flex:1;min-width:130px}.purchase-invoice-list{max-height:260px}}.import-mapping-panel{background:var(--surface,#fff);border:1px solid #cadef2;border-radius:14px;padding:16px;margin-block:12px;max-width:100%;color:var(--text,#183153)}.import-mapping-panel h4{margin:0 0 8px;color:#183153;font-size:1rem}.import-mapping-panel p{font-size:.875rem;line-height:1.55;color:#455a73}.import-mapping-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:12px}.import-mapping-grid label,.import-mapping-panel label{display:flex;flex-direction:column;gap:6px;min-width:0;font-weight:600;font-size:.85rem}.import-mapping-panel select{width:100%;min-height:42px;padding:7px 10px;background:#fff;color:#183153;border:1px solid #a9bfd9;border-radius:9px}.import-mapping-panel select:focus-visible{outline:2px solid #0ea5e9;outline-offset:2px}.purchase-invoice-status-filter{padding:12px 16px 9px;border-bottom:1px solid #d5e2f1}.purchase-invoice-status-filter select{width:100%;min-height:40px;background:#fff;color:#183153;border:1px solid #b9cbe1;border-radius:9px;padding:8px}.supplier-invoices .purchase-reprice-tools{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:14px 16px;margin:16px 0;border:1px solid #b9d2ef;border-radius:12px;background:#f1f7ff}.supplier-invoices .purchase-reprice-tools>div{display:grid;gap:4px;min-width:0}.supplier-invoices .purchase-reprice-tools strong{color:#173d69;font-size:14px}.supplier-invoices .purchase-reprice-tools small{color:#526b87;font-size:12px;line-height:1.45}.supplier-invoices .purchase-reprice-panel{padding:16px;margin:12px 0 20px;border:1px solid #9dbde4;border-radius:14px;background:#f8fbff;min-width:0}.supplier-invoices .purchase-reprice-panel>p{color:#435b77;font-size:13px}.supplier-invoices .purchase-reprice-panel>small{display:block;color:#5e7289;font-size:12px;line-height:1.5}.supplier-invoices .purchase-reprice-error{padding:10px 12px;background:#fff0f0;border:1px solid #efbcbc;border-radius:9px;color:#8f2525!important}.supplier-invoices .purchase-reprice-preview{display:grid;gap:8px;padding:13px;margin:12px 0;border:1px solid #b9d8c8;border-radius:10px;background:#f1faf5;color:#174d38}.supplier-invoices .purchase-reprice-preview>div{display:flex;justify-content:space-between;gap:12px;font-size:13px}.supplier-invoices .purchase-reprice-preview>div b{font-variant-numeric:tabular-nums;text-align:right}.supplier-invoices .purchase-reprice-preview>p{font-size:12px;color:#6b5528;background:#fff8e8;border-radius:7px;padding:8px}@media (max-width:600px){.supplier-invoices .purchase-reprice-tools{align-items:stretch}.supplier-invoices .purchase-reprice-tools button{width:100%}.supplier-invoices .purchase-reprice-panel{padding:12px}}:root{--work-blue:#2563eb;--work-sky:#0ea5e9;--work-ink:#173453;--work-muted:#637b94;--work-stroke:#d9e7f5;--work-bg:#f5f9ff}.workspace.stocktake,.workspace.simple-catalog{color:var(--work-ink);max-width:1680px;margin-inline:auto;min-width:0}.stocktake>.workspace-head{margin-bottom:18px}.stocktake .stocktake-meta{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(185px,100%),1fr));gap:10px!important;border-radius:14px!important;padding:16px!important;align-items:stretch;background:#fff!important;box-shadow:0 5px 22px #134e880d}.stocktake .stocktake-meta>span,.stocktake .stocktake-meta>strong{display:flex;flex-direction:column;justify-content:center;align-items:start;gap:6px;border:1px solid #e4ecf5;border-radius:9px;padding:13px!important;line-height:1.45;min-width:0;overflow-wrap:anywhere;white-space:normal;background:#f9fbff;color:#43607b;font-size:13px}.stocktake .stocktake-meta>strong{font-size:15px;color:#174778;font-weight:700;background:#edf5ff}.stocktake .stocktake-meta>h4{grid-column:1/-1;font-size:17px;margin:0 0 4px;color:#184a7b}.stocktake .stocktake-meta>label{display:grid;gap:7px;min-width:0;font-size:13px;color:#365672}.stocktake :is(input,select){width:100%;min-width:0;min-height:44px!important;padding:10px 12px;border:1px solid #bacfe6;border-radius:9px;background:#fff;color:#173453;font:inherit;line-height:1.45;box-sizing:border-box}.stocktake :is(input,select):focus-visible{outline:3px solid #81b8ff;outline-offset:1px}.stocktake :is(button){min-height:42px;border-radius:9px;line-height:1.4;white-space:normal;overflow-wrap:anywhere}.stocktake :is(button):disabled{cursor:not-allowed;opacity:.6}.stocktake .stocktake-actions{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(210px,100%),1fr));gap:15px;padding:18px;background:#fff;border:1px solid var(--work-stroke);border-radius:14px;box-shadow:0 4px 20px #123e700d}.stocktake .stocktake-actions label{display:grid;min-width:0;gap:7px;line-height:1.45}.stocktake .stocktake-actions button{align-self:end}.stocktake h3{font:700 clamp(17px,1.5vw,21px)/1.4 system-ui,-apple-system,"Segoe UI",sans-serif;color:#1e4a78;margin:20px 0 12px}.stocktake .stocktake-scroll{width:100%;overflow-x:auto;background:#fff;border:1px solid var(--work-stroke);border-radius:12px;box-shadow:0 2px 15px #123e700a}.stocktake .stocktake-scroll table{width:100%;min-width:700px;border-collapse:collapse}.stocktake .stocktake-scroll th{background:#eef5ff;color:#244f7c;font-weight:700}.stocktake .stocktake-scroll td,.stocktake .stocktake-scroll th{padding:12px 14px;line-height:1.5;text-align:left}.stocktake .stocktake-scroll tr:not(:last-child) td{border-bottom:1px solid #e7eff7}.stocktake .shift-accuracy-note{display:flex;align-items:flex-start;gap:8px;color:#56718c;font-size:12px;line-height:1.55;background:#f2f7fe;border:1px solid #dce9f8;border-radius:10px;padding:12px 14px;margin-top:16px}.stocktake .shift-accuracy-note svg{flex:0 0 auto;color:#3183ce}.catalog-pagination{display:flex;justify-content:center;align-items:center;gap:13px;flex-wrap:wrap;margin:18px auto 26px;padding:10px 14px;border:1px solid var(--work-stroke);background:#fff;border-radius:12px;color:var(--work-muted);width:max-content;max-width:calc(100% - 24px);font-size:13px}.catalog-pagination button{min-height:40px;background:#eef6ff;color:#20568e;border-color:#a9c9eb;padding:9px 16px}.catalog-pagination button:hover{background:#e0efff}.supplier-invoices .purchase-docs article{align-items:center;flex-wrap:wrap;gap:10px;min-width:0}.supplier-invoices .purchase-docs article>div{flex:1 1 200px}.supplier-invoices .purchase-docs article>button{margin-left:auto}@media (max-width:720px){.stocktake .stocktake-meta{grid-template-columns:repeat(2,minmax(0,1fr))}.stocktake .stocktake-actions{grid-template-columns:1fr}.stocktake .stocktake-meta>span{font-size:12px}.supplier-invoices .purchase-docs article>button{margin:0}}@media (max-width:410px){.stocktake .stocktake-meta{grid-template-columns:1fr}.catalog-pagination{width:calc(100% - 20px)}}.mass-import-page .treasury-form{display:grid;gap:14px;max-width:100%;min-width:0}.mass-import-page .treasury-form>label{display:grid;gap:8px;min-width:0;line-height:1.5;font-weight:600;color:#244565}.mass-import-page :is(textarea,input[type=file]){max-width:100%;border:1px solid #b9d2ed;background:#fff;color:#193653;border-radius:10px;line-height:1.5;padding:11px;min-width:0}.mass-import-page textarea{resize:vertical;font:13px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace}.import-notice{background:#eaf4ff;color:#244e79!important;border:1px solid #c9dff8;border-radius:10px;padding:12px 14px;line-height:1.55}.import-preview{border:1px solid #cbdff4;border-radius:13px;background:#fff;padding:15px;min-width:0;display:grid;gap:12px}.import-preview>p{font-size:13px;color:#43607b;margin:0}.import-preview-table{overflow-x:auto;max-height:460px;border:1px solid #dbe8f5;border-radius:9px}.import-preview-table table{width:100%;border-collapse:collapse;min-width:660px}.import-preview-table td,.import-preview-table th{padding:10px 13px;border-bottom:1px solid #e4eef8;text-align:left;line-height:1.4}.import-preview-table th{background:#eef6ff;color:#214f7c;position:sticky;top:0}.import-problems{background:#fff3f3;color:#8b2636;border:1px solid #eab4bd;border-radius:10px;padding:12px;max-height:350px;overflow-y:auto}.import-problems p{color:#8b2636;margin:5px 0;line-height:1.45}.mass-import-page .import-unmapped{display:flex;align-items:flex-start;gap:12px;font-size:13px;padding:12px;border:1px solid #f2d49a;background:#fff8eb;border-radius:10px;color:#7c5415;line-height:1.5}.import-unmapped input{width:18px;height:18px;flex:0 0 18px;margin-top:1px;accent-color:#236fbd}.mass-import-page button:disabled{opacity:.53;cursor:not-allowed}@media (max-width:640px){.import-preview{padding:11px}.mass-import-page .treasury-actions{display:flex;flex-wrap:wrap}.mass-import-page .treasury-actions button{flex:1 1 180px;min-height:44px}}.mass-import-page .import-update-fields{display:grid;gap:9px;margin-top:12px;padding:12px;border:1px solid #d8e7f7;border-radius:10px;background:#f7fbff}.mass-import-page .import-update-field{display:flex;align-items:flex-start;gap:10px;min-width:0;padding:8px 10px;border:1px solid #e0eaf5;border-radius:8px;background:#fff;color:#244565;font-size:13px;line-height:1.45}.mass-import-page .import-update-field input{flex:0 0 auto;width:17px;height:17px;margin-top:1px;accent-color:#2563eb}.mass-import-page .treasury-doc>label{display:grid;gap:6px;margin-top:10px;color:#244565;font-size:13px;font-weight:600}.mass-import-page .treasury-doc select{width:100%;min-height:40px;padding:8px 10px;border:1px solid #b9d2ed;border-radius:8px;background:#fff;color:#193653}:root{--ui-surface:#fff;--ui-canvas:#f3f7fc;--ui-ink:#1b324b;--ui-secondary:#516983;--ui-line:#d5e2f0;--ui-soft:#f7faff;--ui-primary:#215daa;--ui-radius:12px;--ui-input-h:46px;--ui-gap:16px;--sidebar-width:254px}html,body,#root{max-width:100%;min-width:0}body{line-height:1.55;overflow-wrap:normal}.app,.main,.workspace{min-width:0}.main{background:var(--ui-canvas)!important}.workspace{max-width:1660px;padding:clamp(16px,2.1vw,30px);margin-inline:auto}.workspace :is(h1,h2,h3,h4){line-height:1.35;letter-spacing:-.012em;overflow-wrap:break-word}.workspace h2{font-size:clamp(20px,1.65vw,27px)}.workspace p,.workspace li,.workspace small,.workspace span,.workspace strong,.workspace label{overflow-wrap:break-word;word-break:normal}.workspace :is(.workspace-panel,.treasury-doc,.receiving-review-card,.invoice-row-card,.supplier-subsection,.invoice-attachments){min-width:0}.workspace-head{align-items:flex-start;gap:12px 22px;margin-bottom:22px;padding-bottom:16px}.workspace-head>h2,.workspace-head>h3{margin:0}.workspace-head>span{max-width:670px;font-size:13px;line-height:1.5}.workspace :is(.treasury-form,.supplier-fields,.invoice-price-controls,.report-controls,.receiving-review-fields,.simple-form-grid)>label,.workspace :is(.receiving-correction-form,.receiving-lines-section,.stocktake-meta)>label,.workspace .product-chooser>label,.workspace .invoice-text-entry{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:8px;min-width:0;max-width:100%;font-size:13px;line-height:1.5;font-weight:600;color:var(--ui-secondary);white-space:normal}.workspace :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea),.simple-pos :is(input:not([type=checkbox]),select,textarea),.simple-catalog :is(input:not([type=checkbox]),select,textarea){box-sizing:border-box;max-width:100%;min-width:0;width:100%;min-height:var(--ui-input-h);padding:10px 13px!important;border:1px solid #b9cce1!important;border-radius:10px!important;color:var(--ui-ink)!important;background:#fff!important;font-size:15px;line-height:1.45}.workspace :is(input[type=file]){max-width:100%;font-size:13px;line-height:1.45;padding:8px}.workspace textarea,.simple-catalog textarea{min-height:94px;resize:vertical}.workspace :is(input,select,textarea):disabled{background:#eef3f8!important;color:#536b83!important}.workspace :is(input,select,textarea):focus-visible{outline:2px solid #327fcf!important;outline-offset:2px!important;border-color:#327fcf!important}.workspace :is(input,textarea)::placeholder{color:#71849a;opacity:1}.workspace label:has(>input[type=checkbox]),.workspace label:has(>input[type=radio]){display:flex;flex-direction:row;align-items:flex-start;gap:10px;line-height:1.5}.workspace :is(input[type=checkbox],input[type=radio]){flex:0 0 auto;width:19px!important;height:19px!important;min-width:19px;min-height:19px;margin:2px 0 0;accent-color:var(--ui-primary)}.workspace :is(.small-btn,.pay),.topbar :is(.small-btn,.icon-btn){box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 15px;max-width:100%;border-radius:10px;line-height:1.4;text-align:center;white-space:normal;overflow-wrap:break-word}.workspace button svg,.topbar button svg{flex:0 0 auto}.workspace :is(.treasury-form,.supplier-fields,.simple-form-grid){grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:18px 20px;align-items:end}.workspace :is(.treasury-form,.supplier-fields,.simple-form-grid)>h3{grid-column:1/-1;margin:0}.workspace .treasury-form>button{align-self:end;min-height:46px}.workspace .treasury-actions,.workspace .report-controls{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.workspace .treasury-actions>button{flex:0 1 auto}.workspace .report-controls>label{min-width:min(240px,100%)}.workspace :is(.table-scroll,.stocktake-scroll,.import-preview-table){overflow-x:auto;max-width:100%;overscroll-behavior-x:contain}.workspace table :is(td,th){padding:12px 14px;line-height:1.5;vertical-align:top}.workspace table td :is(button,input,select){max-width:100%}.workspace details>summary{cursor:pointer;line-height:1.5}.sidebar{overflow:hidden}.sidebar .brand{min-height:118px!important;padding:17px 14px 13px!important}.sidebar .brand-icon{width:39px;height:39px;margin:0 auto 6px}.sidebar .brand strong{font-size:18px}.sidebar .brand small{font-size:11px}.sidebar .nav-search{margin:10px 12px!important}.sidebar .nav-search input{min-height:42px!important;line-height:1.4!important}.sidebar nav{padding:6px 10px 20px!important;gap:8px!important;min-height:0;overscroll-behavior:contain}.sidebar .nav-section{gap:3px}.sidebar .nav-section h2{margin:0!important}.sidebar .nav-section .nav-section-toggle{font-size:12px!important;min-height:40px;padding:10px 12px;font-weight:700!important;letter-spacing:0!important;text-transform:none!important}.sidebar .nav-section button:not(.nav-section-toggle){font-size:13px;line-height:1.45;min-height:40px;padding:9px 12px;gap:10px}.sidebar .nav-section button span{min-width:0;white-space:normal;overflow-wrap:break-word}.nav-quick-links{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:6px 12px 10px;border-bottom:1px solid #ffffff25}.nav-quick-links .nav-quick-title{grid-column:1/-1;font-size:11px;font-weight:700;letter-spacing:.035em;color:#c2dafa}.sidebar .nav-quick{display:flex;align-items:center;gap:7px;text-align:left;min-height:42px;padding:9px;border-radius:9px;border:1px solid #9fc4e344;background:#ffffff0d;color:#eaf4ff;font-size:12px;font-weight:650;line-height:1.3;overflow-wrap:break-word}.sidebar .nav-quick svg{flex:0 0 auto}.sidebar .nav-quick.active{background:#e7f3ff;color:#1a4a80;border-color:#b8d7fa}.sidebar .nav-quick:hover:not(.active){background:#fff2}.topbar{min-height:66px;gap:10px 18px;padding:10px 18px}.topbar h1{flex:0 1 auto;margin:0;min-width:0;line-height:1.35}.top-right{gap:9px 12px;align-items:center;min-width:0;flex-wrap:wrap}.top-right .operator{gap:5px;min-width:0;white-space:normal;line-height:1.4}.top-right select{min-height:40px;max-width:min(220px,100%);padding:7px 10px}.top-right .status{white-space:normal}.context-guide{max-width:100%}.context-guide :is(summary,.context-guide-content){line-height:1.5}.receiving-page{--ui-receiving-line:#d9e5f3}.receiving-intro{font-size:14px;color:#526d87;margin:0 0 16px;max-width:1000px;line-height:1.6}.receiving-intro strong{color:#244d7b}.receiving-steps{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:0 0 22px;padding:0}.receiving-steps li{display:flex;gap:11px;align-items:center;min-height:62px;padding:12px 13px;background:#fff;border:1px solid #d9e6f5;border-radius:12px;font-size:13px;font-weight:600;color:#5a7189;line-height:1.45;min-width:0}.receiving-step-number{flex:0 0 30px;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#eef3fa;color:#426180;font-variant-numeric:tabular-nums;font-weight:800}.receiving-steps li.complete{background:#f3faf6;border-color:#cce8d7;color:#267347}.receiving-steps li.complete .receiving-step-number{background:#d8efe1;color:#236f43}.receiving-steps li.current{border-color:#82b4ec;background:#edf6ff;color:#1c5492;box-shadow:inset 0 0 0 1px #82b4ec}.receiving-steps li.current .receiving-step-number{background:#2366b7;color:#fff}.receiving-create-panel,.receiving-editor,.receiving-lines-section{border:1px solid var(--ui-receiving-line);border-radius:16px;background:#fff;padding:clamp(16px,1.8vw,25px);margin:18px 0 22px;min-width:0;box-shadow:0 3px 12px #173f6e0a}.receiving-panel-heading,.receiving-editor-heading{display:grid;gap:5px;margin:0 0 18px}.receiving-panel-heading h3,.receiving-editor-heading h3{margin:0;color:#1c4c80;font-size:19px}.receiving-panel-heading p,.receiving-editor-heading p{margin:0;font-size:13px;color:#5a738c;line-height:1.6}.receiving-create-fields{margin:0!important;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr))!important;gap:15px 18px!important}.receiving-create-fields>button{align-self:end}.receiving-worklist-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.receiving-worklist-stats>div{padding:15px;border:1px solid #d9e6f4;background:#fff;border-radius:11px;min-height:84px}.receiving-worklist-stats strong{color:#23568b;font-size:24px;line-height:1.2}.receiving-worklist-stats small{color:#5a7188;font-size:12px;line-height:1.5}.receiving-page .workspace-head:has(>h3){align-items:center}.receiving-page .workspace-head>label{display:grid;gap:7px;min-width:min(260px,100%);font-size:13px;color:#5e7187}.receiving-filter-bar{gap:12px;margin:8px 0 18px}.receiving-filter-bar>label{display:grid!important;gap:6px!important;align-items:start!important;min-width:min(250px,100%);font-size:13px;color:#4b6785}.receiving-filter-bar select{max-width:100%!important}.receiving-document-entry{width:100%;display:grid;grid-template-columns:minmax(150px,1fr) minmax(140px,1fr) minmax(120px,.8fr) minmax(170px,1.4fr);gap:12px 20px;align-items:center;text-align:left!important;padding:15px 18px!important;border:1px solid #dae6f2!important;border-radius:12px;background:#fff!important;min-height:76px}.receiving-document-entry:hover{border-color:#7daee1!important;background:#f6faff!important}.receiving-document-entry strong{color:#1e5088;font-size:15px}.receiving-document-entry span,.receiving-document-entry small{font-size:13px;color:#586e86;line-height:1.5}.receiving-document-toolbar{padding:13px 16px;background:#fff;border:1px solid #d9e6f3;border-radius:12px;margin:8px 0 16px;gap:10px 14px}.receiving-document-toolbar strong{font-size:18px;color:#204d7a}.receiving-document-toolbar>span{border-radius:7px;background:#f1f6fc;padding:7px 10px;line-height:1.4;color:#536d85;font-size:13px}.receiving-status-actions{border:1px solid #dce8f6;background:#f6faff;padding:14px 16px;border-radius:12px;margin:12px 0 18px}.receiving-status-actions button{min-height:47px}.receiving-page .receiving-summary{display:flex;flex-wrap:wrap;gap:12px;align-items:stretch;padding:14px!important;margin:18px 0;background:#f1f7fe;border:1px solid #d6e6f6;border-radius:12px}.receiving-page .receiving-summary>span{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:1 1 190px;min-width:0;padding:6px 11px;font-size:13px;line-height:1.5}.receiving-page .receiving-summary strong,.receiving-page .receiving-summary b{color:#194e89;font-variant-numeric:tabular-nums}.receiving-review-card{min-width:0;border:1px solid #dbe6f3!important;background:#fff!important;border-radius:12px!important;padding:16px!important;margin:0;box-shadow:none!important}.receiving-review-list{display:grid;gap:12px;margin:16px 0}.receiving-review-title{display:grid;gap:4px;margin-bottom:15px;min-width:0}.receiving-review-title strong{font-size:15px;color:#1e4976;line-height:1.45}.receiving-review-title small{font-size:12px;color:#667e97;line-height:1.5}.receiving-review-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(185px,100%),1fr));gap:14px 16px;align-items:end}.receiving-review-fields>label{gap:7px}.receiving-review-fields .product-chooser{align-self:start}.receiving-review-fields>button{min-height:46px;align-self:end}.receiving-editor-heading{margin-bottom:17px}.receiving-editor-tabs{display:flex;gap:7px;flex-wrap:wrap;border-bottom:1px solid #d9e6f3;padding-bottom:9px;margin-bottom:18px}.receiving-editor-tabs>button{display:inline-flex;gap:10px;align-items:center;justify-content:center;min-height:46px;padding:10px 16px;border:1px solid #cddfee;background:#f5f9fe;color:#365a80;border-radius:10px;font-size:13px;font-weight:700;line-height:1.5;text-align:center}.receiving-editor-tabs>button.selected{color:#fff;background:#245fa6;border-color:#245fa6}.receiving-editor-tabs>button:not(.selected):hover{background:#e6f1fc;border-color:#91bde7}.receiving-tab-count{display:inline-grid;place-items:center;min-width:25px;height:25px;border-radius:50%;background:#d7eaff;color:#225785;font-size:12px;font-variant-numeric:tabular-nums}.receiving-editor-tabs>button.selected .receiving-tab-count{background:#fff;color:#1a5392}.receiving-editor-content{min-width:0}.receiving-editor-content .invoice-intake{margin:0;padding:0;border:0;background:transparent;box-shadow:none}.receiving-editor-content .invoice-intake>.workspace-head{margin-bottom:15px}.receiving-editor-content .invoice-intake>.workspace-head>h3{font-size:18px}.receiving-manual{margin:0!important;grid-template-columns:repeat(auto-fit,minmax(min(215px,100%),1fr))!important;gap:17px 18px!important}.receiving-manual .product-chooser{align-self:stretch}.receiving-pane-help{margin:4px 0 16px;color:#576f87;font-size:13px;line-height:1.6}.receiving-lines-section>.receiving-review-list{margin-bottom:0}.invoice-input-grid{grid-template-columns:minmax(0,.9fr) minmax(0,1.2fr);gap:16px}.invoice-file-picker{border-color:#88b2e1;background:#f1f7ff;color:#235b99;line-height:1.5;padding:18px;gap:10px}.invoice-source-notes{border:1px solid #dae8f6;background:#f7fbff;padding:15px;color:#4e6a85}.invoice-source-notes p{color:#516a83;line-height:1.6;font-size:13px}.invoice-page-toolbar{gap:8px;padding:5px 2px 12px;margin:16px 0}.invoice-page-toolbar .invoice-page-tab{background:#f2f7fd;color:#285687;border-color:#bdd5ee}.invoice-page-toolbar .invoice-page-tab.selected{background:#245fa6;border-color:#245fa6;color:#fff}.invoice-current-page{background:#fff;border-color:#dbe8f5;padding:clamp(14px,1.8vw,22px)}.invoice-current-page .invoice-text-entry{color:#4f6983;line-height:1.5;gap:8px}.invoice-text-entry textarea{min-height:140px}.invoice-row-card{background:#fff!important;border-color:#dbe6f3!important;padding:clamp(15px,1.5vw,21px)}.invoice-row-heading{gap:12px;align-items:center;margin-bottom:14px}.invoice-row-heading strong{color:#254f79}.invoice-row-heading small{color:#607b96}.invoice-approve{align-items:flex-start;gap:10px;background:#eef6ff;color:#315879;padding:13px 14px;line-height:1.5}.invoice-price-controls{background:#f4f8fd;border:1px solid #dce8f5;padding:16px;gap:14px 18px;align-items:end}.invoice-price-controls label{flex:1 1 185px;min-width:min(185px,100%)}.invoice-page-register-row{border-color:#dce8f5;background:#f9fbfe}.receiving-count-row{border-color:#dce8f5;background:#fff}.receiving-correction-panel{max-width:100%}:where(.workspace,.simple-catalog,.simple-pos) :is(.supplier-fields,.treasury-form,.receiving-review-fields,.invoice-input-grid,.invoice-row-card,.report-controls,.invoice-price-controls,.simple-form-grid,.receiving-create-fields)>*{min-width:0;max-width:100%}.workspace :is(.settings-link,.user-card,.simple-product-card,.treasury-doc,.report-card){overflow-wrap:break-word}.workspace :is(.settings-link,.user-card,.simple-product-card)>*{min-width:0}@media (max-width:1200px){.receiving-steps,.receiving-document-entry{grid-template-columns:repeat(2,minmax(0,1fr))}.top-right{justify-content:flex-start}}@media (max-width:920px){.sidebar{width:min(88vw,340px)!important}.main{margin-left:0!important;width:100%!important}.topbar{padding:12px 14px;align-items:center}.topbar h1{font-size:19px}.top-right{width:100%;gap:7px}.top-right .operator{flex:1 1 170px;max-width:100%}.top-right select{width:100%;max-width:100%}.receiving-editor-tabs>button{flex:1 1 185px}}@media (max-width:680px){.workspace{padding:14px 12px 22px}.workspace-head{gap:10px}.receiving-steps{gap:7px}.receiving-steps li{min-height:66px;padding:9px 10px;font-size:12px;gap:8px}.receiving-step-number{width:27px;height:27px;flex-basis:27px}.receiving-worklist-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.receiving-create-panel,.receiving-editor,.receiving-lines-section{padding:15px 13px}.receiving-document-entry{grid-template-columns:1fr;gap:5px;padding:13px!important}.receiving-document-entry>small{margin-top:6px;padding-top:8px;border-top:1px solid #e8eff8}.receiving-document-toolbar{gap:8px}.invoice-input-grid{grid-template-columns:1fr}.invoice-price-controls label{min-width:min(180px,100%)}.receiving-page .receiving-summary>span{flex:1 1 100%}.workspace .treasury-actions>button{flex:1 1 190px}}@media (max-width:375px){.receiving-steps{grid-template-columns:1fr 1fr}.receiving-steps li{font-size:11px}.receiving-editor-tabs>button{flex:1 1 100%}.top-right .small-btn{flex:1 1 110px}}.cash-layout,.simple-pos-body{min-width:0;gap:16px}.cash-layout>.catalog,.cash-layout>.checkout,.simple-pos-body>*{min-width:0}.cash-layout .product,.simple-pos .simple-product{min-width:0;min-height:168px;gap:8px;text-align:left}.cash-layout .product-name,.simple-pos .simple-product-name{min-width:0;max-width:100%;white-space:normal;overflow-wrap:break-word;word-break:normal;line-height:1.5!important;min-height:0}.cash-layout .product-bottom,.simple-pos .simple-product-price{margin-top:auto;min-width:0}.cash-layout .product-bottom{display:flex;justify-content:space-between;gap:8px;align-items:center}.cash-layout .product-bottom b,.simple-pos .simple-product-price{font-variant-numeric:tabular-nums;white-space:nowrap}.cash-layout .checkout,.simple-pos .simple-cart,.simple-pos .simple-payment{background:#fff!important;border:1px solid #d6e4f3!important;border-radius:15px;box-shadow:0 4px 17px #164b800d}.cash-layout .panel-heading,.simple-pos .simple-cart-head{display:flex;gap:10px 14px;align-items:center;justify-content:space-between;flex-wrap:wrap}.cash-layout .panel-heading h2,.simple-pos .simple-payment h3,.simple-pos .simple-cart-head h3{color:#194a7c;line-height:1.4}.cash-layout .panel-heading>div{display:flex;flex-wrap:wrap;gap:7px}.cash-layout .panel-heading button{display:inline-flex;align-items:center;gap:6px;white-space:normal;line-height:1.4;min-height:39px;padding:8px 10px}.cash-layout .line,.cash-layout .line-title,.cash-layout .lines,.cash-layout .checkout{min-width:0}.cash-layout .line{display:flex;flex-wrap:wrap;align-items:center;gap:10px;justify-content:space-between}.cash-layout .line-title{flex:1 1 130px}.cash-layout .line-title b{display:block;overflow-wrap:break-word;line-height:1.5}.cash-layout .line-title small{display:block;line-height:1.5}.cash-layout .quantity{flex:0 0 auto;gap:5px}.cash-layout .quantity button{min-width:35px;min-height:37px}.cash-layout .cash-fields label,.cash-layout .payment-extra label,.simple-pos .simple-cash-fields label,.simple-pos .simple-card-fields label{display:grid;gap:8px;align-items:start;line-height:1.45;font-size:13px;color:#526a82;min-width:0}.cash-layout .cash-fields :is(input,select),.cash-layout .payment-extra :is(input,select),.simple-pos .simple-cash-fields input,.simple-pos .simple-card-fields input{min-height:46px;width:100%;min-width:0;padding:10px 13px!important;line-height:1.45;border-radius:9px;border:1px solid #b9cde1;background:#fff;color:#1c3858}.simple-pos .simple-payment-methods{display:flex;flex-wrap:wrap;gap:7px}.simple-pos .simple-pay-method{flex:1 1 95px;min-height:45px;padding:10px;white-space:normal;line-height:1.4}.simple-pos .simple-denoms{display:grid;grid-template-columns:repeat(auto-fit,minmax(64px,1fr));gap:7px}.simple-pos .simple-denoms button{width:auto;min-width:0;min-height:43px;height:auto;padding:8px;line-height:1.3;white-space:normal}.simple-pos .simple-cart-line{gap:9px;padding:12px 4px;line-height:1.5}.simple-pos .simple-cart-line-main{flex:1 1 140px;min-width:0}.simple-pos .simple-cart-line-controls{flex:0 0 auto}.simple-pos .simple-cart-line-total{font-variant-numeric:tabular-nums}.simple-pos .simple-btn{min-height:48px;padding:10px 16px;line-height:1.45;white-space:normal}.simple-catalog .simple-product-form,.simple-catalog .simple-category-editor{padding:clamp(16px,1.9vw,25px);border:1px solid #d9e6f4;border-radius:15px}.simple-catalog .simple-form-grid{align-items:start;gap:17px 19px}.simple-catalog .simple-form-grid label{display:grid;gap:8px;line-height:1.5;color:#506d89;font-size:13px}.simple-catalog .simple-form-grid label small{margin-top:0;font-size:12px;line-height:1.5}.simple-catalog .simple-form-actions{gap:10px;flex-wrap:wrap;justify-content:flex-end;margin-top:20px}.simple-catalog .simple-form-actions button{min-height:45px;padding:10px 16px;line-height:1.4}.simple-catalog .simple-product-card{gap:10px;padding:17px;min-width:0}.simple-catalog .simple-product-card-info{min-width:0;gap:5px;line-height:1.5}.simple-catalog .simple-product-card-actions{flex-wrap:wrap;gap:8px}.simple-catalog .simple-product-card-actions button{flex:1 1 100px;min-height:40px;padding:9px 11px;line-height:1.45;white-space:normal}.simple-home-card{line-height:1.5;text-align:left}.simple-home-card span{line-height:1.55}.settings-hub{gap:14px!important}.settings-link{min-width:0;min-height:100px;gap:13px;padding:16px!important;align-items:flex-start}.settings-link-icon{flex:0 0 43px}.settings-link>div:not(.settings-link-icon){min-width:0}.settings-link strong,.settings-link small{overflow-wrap:break-word;line-height:1.5}.settings-link small{margin-top:5px}.receiving-export-menu{flex:1 1 210px;min-width:180px;max-width:100%}.receiving-export-menu>summary,.receiving-preflight-details>summary,.receiving-evidence>summary{display:flex;align-items:center;gap:8px;max-width:100%;min-height:42px;padding:10px 13px;background:#f3f8ff;border:1px solid #cedfed;border-radius:9px;font-weight:650;font-size:13px;color:#285988;line-height:1.5;overflow-wrap:break-word}.receiving-export-menu>summary{width:max-content;max-width:100%;margin-left:auto;justify-content:flex-end}.receiving-export-menu[open]>summary,.receiving-preflight-details[open]>summary,.receiving-evidence[open]>summary{background:#e5f1ff}.receiving-export-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:9px;margin-top:12px}.receiving-export-actions button{flex:1 1 180px}.receiving-preflight-details{margin-top:12px}.receiving-preflight-details>summary{width:max-content}.receiving-evidence{margin:12px 0;padding:0!important;background:#fff!important;border:0!important;box-shadow:none!important}.receiving-evidence>summary{margin-bottom:8px}.receiving-evidence>.invoice-attachment,.receiving-evidence>.invoice-page-register{padding:10px 14px;border:1px solid #dce8f5;border-radius:10px;background:#fff}.receiving-editor-content[hidden]{display:none!important}@media (max-width:680px){.cash-layout .line{align-items:center}.simple-pos-body{padding:14px 12px 80px!important;gap:13px}.simple-pos .simple-cart,.simple-pos .simple-payment{padding:14px}.simple-pos .simple-product{padding:11px}.simple-pos .simple-product-name{font-size:13px}.simple-catalog .simple-product-form,.simple-catalog .simple-category-editor{margin:13px 12px;padding:15px}.simple-catalog .simple-product-list{margin:14px 12px}.simple-catalog .simple-catalog-toolbar{margin-inline:12px}.simple-catalog .simple-form-actions button{flex:1 1 145px}.receiving-export-menu{flex:1 1 100%;min-width:0}.receiving-export-menu>summary{width:100%;justify-content:center}.receiving-preflight-details>summary{width:100%}}.workspace .product-chooser>label.product-chooser-search{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;column-gap:8px;row-gap:7px}.workspace .product-chooser-search>svg{grid-column:1;grid-row:1;min-width:0}.workspace .product-chooser-search>input{grid-column:1/-1;grid-row:2}.settings-task-tabs{display:flex;flex-wrap:wrap;gap:8px;padding:8px;margin:16px 0 20px;background:#eaf2fb;border:1px solid #d5e3f2;border-radius:13px}.settings-task-tabs>button{flex:1 1 190px;min-width:0;min-height:46px;padding:11px 16px;border-radius:10px;font-weight:700;font-size:13px;line-height:1.5;background:#fff;border:1px solid #cbdcf0;color:#355f88;text-align:center;white-space:normal}.settings-task-tabs>button.selected{background:#235fa9;border-color:#235fa9;color:#fff;box-shadow:0 2px 7px #235fa926}.settings-task-tabs>button:not(.selected):hover{background:#f4f9ff;border-color:#86b8ec}.module-settings{padding:clamp(15px,2vw,24px);border:1px solid #d7e5f3;border-radius:15px;background:#fff}.module-settings-heading{align-items:flex-start;gap:14px;line-height:1.55}.module-settings-heading :is(h3,p){margin-bottom:6px}.module-settings-row{gap:12px 16px;padding:15px 12px;min-width:0;align-items:center;line-height:1.5}.module-settings-description{min-width:0}.module-settings-description strong,.module-settings-description small{display:block;line-height:1.5;overflow-wrap:break-word}.module-settings-control{min-width:0;gap:9px;align-items:flex-start;line-height:1.5}.settings-page .settings-intro{gap:14px;padding:17px 19px;border:1px solid #d7e6f5;background:#f1f7fe;color:#244f7c}.settings-page .settings-intro strong{color:#244f7c;font-size:18px}.settings-page .settings-intro p{color:#526d86;font-size:13px}.settings-page .settings-section-title{margin:17px 0 13px;color:#23548b}.settings-page .settings-hub{grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr))}.settings-page .settings-summary{gap:14px;grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr))}.settings-page .settings-summary>div{background:#fff;border:1px solid #d7e5f3;padding:18px}.settings-page .settings-summary :is(strong,p){color:#2d5176;line-height:1.55}.admin-bootstrap{padding:clamp(16px,2vw,24px);border-radius:15px;border:1px solid #bdd9f6;background:#f0f7ff}.admin-bootstrap-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(210px,100%),1fr));gap:15px;align-items:end}.admin-bootstrap-fields label{display:grid;gap:8px;min-width:0;font-size:13px;color:#415f7e;line-height:1.5}.admin-bootstrap-fields input{width:100%;min-width:0;min-height:46px;padding:10px 13px;border:1px solid #bdd0e5;border-radius:10px;background:#fff;box-sizing:border-box}.admin-bootstrap-fields button{align-self:end;min-height:46px;line-height:1.4;white-space:normal;padding:10px 15px}@media (max-width:680px){.settings-task-tabs{padding:7px}.settings-task-tabs>button{flex:1 1 100%}.module-settings-row{display:flex;flex-wrap:wrap}.module-settings-control{flex:1 1 130px}}.receiving-line-search{display:grid;gap:8px;max-width:520px;min-width:0;margin:15px 0;color:#506984;font-size:13px;font-weight:600;line-height:1.5}.receiving-compact-line{padding:0!important;overflow:hidden}.receiving-line-details{min-width:0}.receiving-line-details>summary.receiving-review-title{display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px;padding:15px 18px;margin:0;min-height:68px;background:#fff;color:#244e77;list-style:none;cursor:pointer}.receiving-line-details>summary::-webkit-details-marker{display:none}.receiving-line-details>summary:hover,.receiving-line-details[open]>summary{background:#f3f8fe}.receiving-line-heading{flex:1 1 220px;display:grid;gap:4px;min-width:0}.receiving-line-heading strong{line-height:1.45;overflow-wrap:break-word}.receiving-line-quantity{flex:0 1 260px;min-width:0;color:#57728e;font-size:13px;line-height:1.5;overflow-wrap:break-word}.receiving-line-expand{flex:0 0 auto;margin-left:auto;color:#1e609f;font-size:12px;font-weight:700;line-height:1.5}.receiving-line-expand:before{content:"+";font-size:18px;font-weight:600;margin-right:7px;vertical-align:-1px}.receiving-line-details[open] .receiving-line-expand:before{content:"−"}.receiving-line-body{padding:18px;border-top:1px solid #dbe8f5;display:grid;gap:15px}.receiving-line-body>label{display:grid;gap:8px;min-width:0;line-height:1.5}@media (max-width:680px){.receiving-line-details>summary.receiving-review-title{padding:12px;gap:8px}.receiving-line-heading{flex-basis:100%}.receiving-line-quantity{flex:1 1 180px}.receiving-line-body{padding:13px}}:root{--work-gap:18px;--work-panel-border:#d6e3f1;--work-focus:#176fbd;--work-muted:#4e647b}.workspace,.supplier-invoices{min-width:0}.workspace *,.supplier-invoices *{box-sizing:border-box}.workspace :is(.treasury-doc,.treasury-doc-meta,.treasury-doc-title,.report-metrics,.report-controls,.workspace-panel,.module-settings-row),.supplier-invoices :is(.purchase-invoice-layout,.purchase-invoice-main,.purchase-invoice-list,.purchase-heading,.purchase-actions,.purchase-docs,.purchase-docs article){min-width:0}.workspace :is(.treasury-doc-title,.treasury-doc-meta,.warehouse-warning,.production-message,.report-metrics),.supplier-invoices :is(.purchase-heading,.purchase-docs strong,.purchase-docs small,.purchase-invoice-tools,.purchase-invoice-item,.purchase-help){overflow-wrap:anywhere}.workspace :is(button,input,select,textarea),.supplier-invoices :is(button,input,select,textarea){font-family:inherit}.workspace button:focus-visible,.supplier-invoices button:focus-visible{outline:3px solid var(--work-focus);outline-offset:3px}.workspace :is(.treasury-doc,.treasury-docs article){padding:clamp(14px,1.5vw,20px);line-height:1.55}.workspace .treasury-doc-title{display:flex;gap:8px 14px;align-items:baseline;flex-wrap:wrap}.workspace .treasury-doc-title strong{min-width:0;overflow-wrap:anywhere}.workspace .treasury-doc-meta{line-height:1.6;margin-top:8px;font-size:13px;color:var(--work-muted)}.workspace :is(.warehouse-warning,.production-message){line-height:1.65;padding:14px 17px;margin-block:13px}.workspace .treasury-actions{gap:10px 12px;align-items:center;flex-wrap:wrap}.workspace .treasury-actions button{min-height:44px;white-space:normal;text-align:center;overflow-wrap:break-word}.workspace label:has(>input:not([type=checkbox])){min-width:0;line-height:1.55}.supplier-invoices .purchase-workflow-tabs,.workspace .payroll-task-tabs,.workspace .document-task-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:22px 0 18px;padding:8px;background:#eaf2fc;border:1px solid var(--work-panel-border);border-radius:14px}.workspace .payroll-task-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.supplier-invoices .purchase-workflow-tabs button,.workspace .payroll-task-tabs button,.workspace .document-task-tabs button{display:flex;align-items:center;justify-content:center;gap:8px 10px;padding:11px 14px;min-height:48px;min-width:0;border:1px solid #c5d7eb;border-radius:10px;background:#fff;color:#284f7b;font-size:13px;font-weight:700;line-height:1.45;white-space:normal;overflow-wrap:break-word;cursor:pointer}.supplier-invoices .purchase-workflow-tabs button svg,.workspace .payroll-task-tabs button svg{flex:0 0 auto}.supplier-invoices .purchase-workflow-tabs button span,.workspace .payroll-task-tabs button span{display:inline-flex;align-items:center;justify-content:center;min-width:23px;padding:1px 6px;background:#ebf2fa;color:#31577d;border-radius:100px;font-size:12px;font-variant-numeric:tabular-nums}.supplier-invoices .purchase-workflow-tabs button.selected,.workspace .payroll-task-tabs button.selected,.workspace .document-task-tabs button.selected,.supplier-invoices .purchase-workflow-tabs button[aria-selected=true],.workspace .payroll-task-tabs button[aria-selected=true],.workspace .document-task-tabs button[aria-selected=true]{background:#205b9d;border-color:#205b9d;color:#fff;box-shadow:0 2px 8px #215d9e20}.supplier-invoices .purchase-workflow-tabs button[aria-selected=true] span,.workspace .payroll-task-tabs button[aria-selected=true] span{background:#ffffff30;color:#fff}.supplier-invoices .purchase-task-panel,.workspace .payroll-task-panel,.workspace .document-task-panel{min-width:0;overflow:visible;background:#fff;border:1px solid var(--work-panel-border);border-radius:14px;padding:clamp(15px,2vw,25px);margin-bottom:19px}.supplier-invoices .purchase-task-intro,.workspace .document-task-help,.workspace .payroll-hint{background:#f1f7ff;border-left:3px solid #4c89cc;border-radius:7px;padding:12px 15px;margin:0 0 20px;color:#395a79;font-size:13px;line-height:1.6}.supplier-invoices .purchase-task-intro strong{display:block;color:#204f82;font-size:15px;margin-bottom:5px}.supplier-invoices .purchase-task-intro p{color:#395a79;margin:0;line-height:1.6}.supplier-invoices .purchase-task-panel>h3{margin:22px 0 12px}.supplier-invoices .purchase-task-panel>h3:first-of-type{margin-top:10px}.supplier-invoices .purchase-invoice-main{overflow:visible}.supplier-invoices .purchase-actions{gap:11px 13px}.supplier-invoices .purchase-actions>label{width:clamp(200px,32%,400px);min-width:0;flex:1 1 240px}.supplier-invoices .purchase-actions>button{flex:0 1 auto}.supplier-invoices .purchase-table-wrap{overflow-x:auto;max-width:100%;overscroll-behavior-x:contain}.supplier-invoices .purchase-table td{overflow-wrap:anywhere}.supplier-invoices .purchase-docs article{flex-wrap:wrap;gap:10px 13px;align-items:center}.supplier-invoices .purchase-docs article>div{flex:1 1 190px;min-width:0}.supplier-invoices .purchase-docs article>button{flex:0 1 auto}.supplier-invoices .purchase-invoice-status-filter{padding:12px 16px}.supplier-invoices .purchase-invoice-status-filter select{margin-top:5px}.workspace.payroll-page .payroll-task-panel h3{font-size:19px;margin:2px 0 14px;color:#1a4777}.workspace.payroll-page .payroll-task-panel h4{font-size:16px;line-height:1.45;margin:23px 0 11px;color:#224e7d}.workspace.payroll-page .payroll-filter-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(195px,100%),1fr));gap:17px 19px;align-items:end;margin:0 0 18px}.workspace.payroll-page .payroll-filter-grid>label{display:flex;flex-direction:column;align-items:stretch;gap:8px;min-width:0;font-size:13px;color:#475f79;font-weight:600;line-height:1.5}.workspace.payroll-page .payroll-filter-grid>button{min-height:46px}.workspace.payroll-page .payroll-results{border-top:1px solid #e2eaf3;margin-top:18px;padding-top:17px}.workspace.payroll-page .payroll-result-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 16px;margin:15px 0;padding:13px 16px;background:#f2f8ff;border:1px solid #d7e4f2;border-radius:11px}.workspace.payroll-page .payroll-result-actions p{flex:1 1 270px;margin:0;color:#49647e;line-height:1.55;font-size:13px}.workspace.payroll-page .payroll-table-scroll{width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;border-radius:11px;border:1px solid #d5e1ec}.workspace.payroll-page .payroll-table-scroll table{min-width:640px;width:100%;border-collapse:collapse;margin:0}.workspace.payroll-page .payroll-table-scroll th{background:#edf5fe;color:#355b80;font-weight:700}.workspace.payroll-page .payroll-table-scroll :is(th,td){padding:12px 14px;text-align:left;vertical-align:top;line-height:1.5;border-bottom:1px solid #e1eaf3}.workspace.payroll-page .payroll-empty{padding:19px;background:#f7faff;border:1px dashed #ccdded;border-radius:11px;color:#58718a;font-size:13px;line-height:1.6}.workspace.payroll-page .payroll-rule-editor{padding:clamp(14px,1.7vw,22px);border-radius:12px;border:1px solid #d9e7f5;background:#f8fbff}.workspace.payroll-page .payroll-rule-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:10px}.workspace.payroll-page .payroll-rule-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));gap:11px}.workspace.payroll-page .payroll-rule-card{padding:17px;border:1px solid #dce7f2;border-radius:11px;background:#fff;min-width:0;line-height:1.55}.workspace.payroll-page .payroll-rule-card div{display:flex;align-items:flex-start;flex-wrap:wrap;justify-content:space-between;gap:7px 12px}.workspace.payroll-page .payroll-rule-card strong{color:#1c4d7f;min-width:0;overflow-wrap:anywhere}.workspace.payroll-page .payroll-rule-card span{font-size:12px;color:#506983}.workspace.payroll-page .payroll-rule-card p{margin:10px 0 0;color:#183b60;font-weight:700}.workspace.payroll-page .payroll-disclaimer{margin-top:18px}.workspace.document-templates-page .document-task-panel{display:grid;gap:16px;min-width:0}.workspace.document-templates-page .document-task-panel>h3{font-size:19px;color:#1e4b7b;margin:5px 0}.workspace.document-templates-page .document-task-panel>.treasury-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr));align-items:start;gap:16px 18px;padding:clamp(14px,2vw,22px);min-width:0}.workspace.document-templates-page .document-task-panel>.treasury-form>h3,.workspace.document-templates-page .document-task-panel>.treasury-form>.document-preset-selector,.workspace.document-templates-page .document-task-panel>.treasury-form>.document-layout-mode,.workspace.document-templates-page .document-task-panel>.treasury-form>.document-layout-editor,.workspace.document-templates-page .document-task-panel>.treasury-form>.hub-help,.workspace.document-templates-page .document-task-panel>.treasury-form>.treasury-actions{grid-column:1/-1;min-width:0}.workspace.document-templates-page .document-preset-selector{gap:12px 14px;padding:16px;border-radius:12px;min-width:0}.workspace.document-templates-page .document-preset-selector label{flex:1 1 270px;min-width:0}.workspace.document-templates-page .document-layout-mode{gap:10px;padding:11px;border:1px solid #dae7f3;border-radius:11px}.workspace.document-templates-page .document-layout-block-head{flex-wrap:wrap;gap:10px 15px}.workspace.document-templates-page .document-layout-actions{min-width:0;max-width:100%}.workspace.document-templates-page .document-layout-block{min-width:0;overflow:visible;padding:clamp(13px,1.6vw,20px)}.workspace.document-templates-page .document-layout-add{gap:9px;max-width:100%}.workspace.document-templates-page .document-layout-add>button{min-height:42px}.workspace.document-templates-page .document-layout-scroll{overflow-x:auto;max-width:100%}.workspace.document-templates-page .document-layout-preview{max-width:100%;width:100%}.workspace.document-templates-page .document-template-search{display:grid;gap:8px;max-width:520px;font-size:13px;font-weight:600;color:#4c6580}.workspace.document-templates-page .document-task-panel>.treasury-docs{display:grid;gap:12px}.workspace.document-templates-page .document-template-history pre{white-space:pre-wrap;overflow-wrap:anywhere}@media (max-width:860px){.supplier-invoices .purchase-workflow-tabs,.workspace .document-task-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.supplier-invoices .purchase-workflow-tabs button:last-child,.workspace .document-task-tabs button:last-child{grid-column:1/-1}.supplier-invoices .purchase-invoice-list{position:static;max-height:300px}}@media (max-width:560px){.supplier-invoices .purchase-workflow-tabs,.workspace .document-task-tabs,.workspace .payroll-task-tabs{grid-template-columns:minmax(0,1fr);gap:7px;padding:7px}.supplier-invoices .purchase-workflow-tabs button:last-child,.workspace .document-task-tabs button:last-child{grid-column:auto}.supplier-invoices .purchase-workflow-tabs button,.workspace .document-task-tabs button,.workspace .payroll-task-tabs button{justify-content:flex-start;padding:11px 12px;text-align:left;min-height:46px}.supplier-invoices .purchase-invoice-list{max-height:250px}.supplier-invoices .purchase-task-panel,.workspace .payroll-task-panel,.workspace .document-task-panel{padding:14px;border-radius:12px}.supplier-invoices .purchase-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.supplier-invoices .purchase-actions>button{width:100%;flex:1 1 100%}.workspace.payroll-page .payroll-filter-grid{grid-template-columns:1fr;gap:14px}.workspace.payroll-page .payroll-result-actions>button{width:100%}.workspace.document-templates-page .document-task-panel>.treasury-form{grid-template-columns:1fr}.workspace.document-templates-page .document-layout-mode>button{flex:1 1 100%}.workspace.document-templates-page .document-layout-add button{flex:1 1 125px}}@media (prefers-reduced-motion:reduce){.workspace *,.supplier-invoices *{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}.workspace.shifts-workspace .shift-task-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:20px 0 18px;padding:8px;background:#eaf2fc;border:1px solid var(--work-panel-border);border-radius:14px}.workspace.shifts-workspace .shift-task-tabs button{display:flex;align-items:center;justify-content:center;gap:9px;min-width:0;min-height:48px;padding:11px;border:1px solid #c5d7eb;border-radius:10px;background:#fff;color:#284f7b;font-size:13px;font-weight:700;line-height:1.45;white-space:normal;cursor:pointer}.workspace.shifts-workspace .shift-task-tabs button.selected{color:#fff;background:#205b9d;border-color:#205b9d}.workspace.shifts-workspace .shift-task-tabs button:disabled{opacity:.55;cursor:not-allowed}.workspace.shifts-workspace .shift-task-panel{border:1px solid var(--work-panel-border);border-radius:14px;padding:clamp(15px,2vw,25px);background:#fff;min-width:0}.workspace.shifts-workspace .shift-task-panel :is(h3,h4){color:#244f7e;line-height:1.45;margin:5px 0 16px}.workspace.shifts-workspace .shift-hint{color:#4a6885;font-size:13px;line-height:1.65;margin:0 0 18px;background:#f1f7ff;border-left:3px solid #4c89cc;padding:12px 15px;border-radius:7px;overflow-wrap:anywhere}.workspace.shifts-workspace .shift-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(190px,100%),1fr));gap:12px;margin-bottom:23px}.workspace.shifts-workspace .shift-summary-grid>div{display:grid;align-content:center;gap:8px;padding:15px 17px;background:#f2f7ff;border:1px solid #dae7f5;border-radius:11px;min-width:0;line-height:1.5}.workspace.shifts-workspace .shift-summary-grid small{color:#526c86;font-size:12px;line-height:1.45;overflow-wrap:break-word}.workspace.shifts-workspace .shift-summary-grid strong{font-size:clamp(17px,1.65vw,23px);color:#1d507e;line-height:1.35;overflow-wrap:anywhere}.workspace.shifts-workspace .shift-action-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(190px,100%),1fr));align-items:end;gap:16px 18px;margin-bottom:18px}.workspace.shifts-workspace .shift-action-form>label{display:flex;flex-direction:column;align-items:stretch;gap:8px;min-width:0;font-size:13px;color:#536a82;font-weight:600;line-height:1.55}.workspace.shifts-workspace .shift-action-form>button{min-height:46px}.workspace.shifts-workspace .shift-close-card{padding:clamp(15px,1.6vw,23px);margin-top:21px;border:1px solid #d8e3ef;background:#f8fbff;border-radius:12px;min-width:0}.workspace.shifts-workspace .shift-inline-actions{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0 18px}.workspace.shifts-workspace .shift-table-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;border:1px solid #dce6f2;border-radius:11px;margin:14px 0 17px}.workspace.shifts-workspace .shift-table-scroll table{border-collapse:collapse;width:100%;min-width:660px}.workspace.shifts-workspace .shift-table-scroll th{background:#f0f6fd;color:#385875}.workspace.shifts-workspace .shift-table-scroll :is(th,td){padding:11px 13px;line-height:1.55;vertical-align:top;border-bottom:1px solid #e2eaf3;overflow-wrap:anywhere}.workspace.shifts-workspace .shift-table-scroll details{margin-top:6px;min-width:0}.workspace.shifts-workspace .shift-accuracy-note{margin-top:18px;line-height:1.6}@media (max-width:560px){.workspace.shifts-workspace .shift-task-tabs{grid-template-columns:1fr;padding:7px;gap:7px}.workspace.shifts-workspace .shift-task-tabs button{justify-content:flex-start;text-align:left;padding:11px 13px}.workspace.shifts-workspace .shift-task-panel{padding:14px}.workspace.shifts-workspace .shift-action-form{grid-template-columns:1fr}.workspace.shifts-workspace .shift-action-form button{width:100%}}.workspace .workspace-task-navigation{min-width:0;margin:19px 0 20px}.workspace .workspace-task-tabs{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(175px,100%),1fr));gap:10px;padding:8px;border:1px solid #d4e3f2;background:#edf4fd;border-radius:14px}.workspace .workspace-task-tabs>button{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:flex;align-items:center;gap:10px;min-width:0;min-height:66px;padding:11px 13px;text-align:left;color:#315470;background:#fff;border:1px solid #d9e4f0;border-radius:10px;line-height:1.45;cursor:pointer;transition:background .12s ease,border-color .12s ease}.workspace .workspace-task-tabs>button:is(:hover,:focus-visible){border-color:#6a9dd3;outline-offset:2px}.workspace .workspace-task-tabs>button:focus-visible{outline:3px solid #80aee2}.workspace .workspace-task-tabs>button.is-active{background:#205b9d;border-color:#205b9d;color:#fff;box-shadow:0 3px 7px #16467724}.workspace .workspace-task-tabs>button:disabled{opacity:.52;cursor:not-allowed}.workspace .workspace-task-number{display:grid;place-items:center;flex:0 0 29px;width:29px;height:29px;border-radius:9px;background:#eaf2fa;color:#285c90;font-weight:800;font-size:13px}.workspace .workspace-task-tabs>button.is-active .workspace-task-number{background:#ffffff28;color:#fff}.workspace .workspace-task-label{display:grid;flex:1 1 auto;gap:3px;min-width:0;overflow-wrap:anywhere}.workspace .workspace-task-label strong{font-size:13px;line-height:1.35;font-weight:750}.workspace .workspace-task-label small{color:#637b94;font-size:11px;line-height:1.45;font-weight:500}.workspace .workspace-task-tabs>button.is-active .workspace-task-label small{color:#e2eefb}.workspace .workspace-task-count{flex:0 0 auto;min-width:24px;padding:3px 6px;text-align:center;border-radius:8px;background:#e8f0fa;color:#255b95;font-size:11px;font-weight:750}.workspace .workspace-task-tabs>button.is-active .workspace-task-count{background:#ffffff30;color:#fff}.workspace .workspace-task-panel{box-sizing:border-box;min-width:0;max-width:100%;margin:0 0 19px;padding:clamp(15px,2vw,24px);border:1px solid #d8e5f2;border-radius:14px;background:#fff}.workspace .workspace-task-panel>h3:first-child{font-size:clamp(16px,1.3vw,20px);font-weight:750;line-height:1.4;margin:0 0 15px;color:#244e79}.workspace .workspace-task-panel>p{line-height:1.6}.workspace .workspace-task-hint{margin:0 0 17px;color:#506d88;font-size:13px;line-height:1.6}.workspace .workspace-empty-note{padding:18px 20px;background:#f4f8fe;border:1px dashed #c9dced;border-radius:10px;color:#526e88;font-size:13px;line-height:1.6}.workspace .workspace-task-status{border-left:4px solid #4285c7;padding:12px 15px;background:#f0f6fe;border-radius:8px;overflow-wrap:anywhere}.workspace .workspace-filter-bar{display:flex;gap:16px 18px;flex-wrap:wrap;align-items:end;margin:0 0 19px}.workspace .workspace-filter-bar>label{display:grid;gap:8px;flex:1 1 240px;min-width:0;max-width:460px;color:#4b6781;font-size:13px;font-weight:650;line-height:1.45}.workspace .workspace-data-scroll{box-sizing:border-box;overflow-x:auto;overscroll-behavior-x:contain;max-width:100%;border:1px solid #d7e4f0;border-radius:10px;margin:14px 0}.workspace .workspace-data-scroll:focus-visible{outline:3px solid #6a9fd6;outline-offset:3px}.workspace .workspace-data-scroll table{border-collapse:collapse;margin:0;width:100%;min-width:660px;table-layout:auto}.workspace .workspace-data-scroll :is(th,td){box-sizing:border-box;padding:12px 14px!important;line-height:1.5!important;vertical-align:top;border-bottom:1px solid #e0eaf4;overflow-wrap:anywhere;word-break:normal;min-width:0}.workspace .workspace-data-scroll th{background:#f0f6fe;color:#365b7d;font-weight:750;text-align:left}.workspace .workspace-data-scroll td:first-child{min-width:140px}.workspace .workspace-data-scroll :is(input,select){min-width:88px}.workspace :is(.treasury-doc,.production-line,.production-card,.transfer-review,.treasury-panel){box-sizing:border-box;min-width:0;max-width:100%;overflow-wrap:anywhere}.workspace :is(.treasury-doc-title,.production-title,.treasury-doc-meta,.treasury-actions,.production-toolbar){min-width:0;flex-wrap:wrap;gap:9px 14px}.workspace :is(.treasury-doc-title strong,.production-title strong,.treasury-doc-meta span){min-width:0;overflow-wrap:anywhere}.workspace .treasury-task-panels{display:block!important;max-width:100%}.workspace .treasury-task-panels>.workspace-task-panel{max-width:100%;width:100%;margin:0 0 20px}.workspace.treasury-page .treasury-docs{display:grid;gap:13px;min-width:0;max-width:100%}.workspace.treasury-page .treasury-doc{padding:clamp(14px,1.4vw,20px);border:1px solid #d9e5f1;border-radius:12px;background:#fff}.workspace.treasury-page .treasury-doc-title strong{font-size:15px;color:#244e7d}.workspace.treasury-page .treasury-doc-meta{line-height:1.55;margin:6px 0;color:#54708c}.workspace.treasury-page .treasury-audit-area>details{max-width:100%;min-width:0}.workspace.returns-workspace .returns-find-receipt{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));align-items:start;gap:17px}.workspace.returns-workspace .returns-step-heading{font-size:17px;color:#245783;margin:22px 0 12px}.workspace.returns-workspace .stocktake-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:end}.workspace.returns-workspace .stocktake-actions>label{min-width:min(230px,100%);flex:1 1 250px;display:grid;gap:8px}.workspace.returns-workspace .stocktake-actions .stocktake-controls{width:100%;flex:1 1 100%}.workspace.returns-workspace .receipt-totals{max-width:100%;overflow-wrap:anywhere}.workspace.production-page .production-form{display:block;min-width:0}.workspace.production-page .production-form>.production-card{margin:0 0 18px;max-width:100%}.workspace.production-page .production-form>.workspace-task-navigation{margin:0 0 17px}.workspace.production-page .production-line{padding:clamp(14px,1.5vw,20px)}.workspace.production-page .production-grid{min-width:0;gap:16px 18px}.workspace.production-page .production-grid>label{min-width:0;line-height:1.55}.workspace.production-page .production-title{align-items:flex-start;gap:12px}.workspace.production-page .production-title>.production-toolbar{max-width:100%;justify-content:flex-start}.workspace.warehouses-page .workspace-task-panel .treasury-form{margin:0 0 15px}.workspace.warehouses-page .treasury-doc{padding:16px;border:1px solid #dbe6f1;border-radius:11px}.workspace.warehouses-page .treasury-docs{display:grid;gap:13px;min-width:0}.workspace.stock-levels-workspace .report-controls{margin-bottom:16px}.workspace.stock-levels-workspace .workspace-task-panel>.workspace-filter-bar{margin:0 0 12px}.workspace.stock-levels-workspace .report-metrics{margin-bottom:20px}.workspace :is(.workspace-task-panel,.treasury-doc,.production-card) :is(button,input,select,textarea){max-width:100%}.workspace .workspace-task-panel :is(input,textarea,select){line-height:1.5}.workspace .workspace-task-panel label{line-height:1.5}@media (max-width:700px){.workspace .workspace-task-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.workspace .workspace-task-tabs>button{min-height:61px;padding:10px}.workspace .workspace-task-label small{font-size:11px}.workspace .workspace-data-scroll{margin:12px 0}.workspace .workspace-filter-bar>label{flex:1 1 100%;max-width:none}}@media (max-width:420px){.workspace .workspace-task-tabs{grid-template-columns:minmax(0,1fr)}.workspace .workspace-task-tabs>button{min-height:55px;padding:9px 11px}.workspace .workspace-task-number{width:26px;height:26px;flex-basis:26px}.workspace .workspace-task-panel{padding:14px}.workspace .workspace-task-panel .treasury-actions>button,.workspace.returns-workspace .stocktake-actions>button{flex:1 1 100%}}@media (prefers-reduced-motion:reduce){.workspace .workspace-task-tabs>button{transition:none}}.workspace .workspace-list-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 16px;margin:12px 0 18px;padding:12px 15px;border:1px solid #d7e4f1;border-radius:10px;background:#f6faff;color:#506b85;font-size:13px;line-height:1.5}.workspace .workspace-list-footer>button{flex:0 1 auto;min-height:42px}@media (max-width:420px){.workspace .workspace-list-footer>button{width:100%}}@media (max-width:700px){.workspace.stock-levels-workspace .mobile-cards,.workspace.returns-workspace .mobile-cards{border:0;background:transparent;overflow:visible}.workspace.stock-levels-workspace .mobile-cards .balance-data-table,.workspace.returns-workspace .mobile-cards .return-lines-table{display:block!important;width:100%;min-width:0!important;background:transparent}.workspace.stock-levels-workspace .balance-data-table thead,.workspace.returns-workspace .return-lines-table thead{display:none}.workspace.stock-levels-workspace .balance-data-table tbody,.workspace.returns-workspace .return-lines-table tbody{display:grid;gap:12px;min-width:0}.workspace.stock-levels-workspace .balance-data-table tr,.workspace.returns-workspace .return-lines-table tr{display:grid;grid-template-columns:minmax(0,1fr);min-width:0;padding:10px 13px;border:1px solid #d8e4f1;border-radius:10px;background:#f9fbff}.workspace.stock-levels-workspace .balance-data-table td,.workspace.returns-workspace .return-lines-table td{display:grid;grid-template-columns:minmax(98px,38%) minmax(0,1fr);gap:8px 12px;align-items:center;min-width:0!important;width:100%;padding:9px 5px!important;border-bottom:1px solid #e5edf7;overflow-wrap:anywhere}.workspace.stock-levels-workspace .balance-data-table td:first-child,.workspace.returns-workspace .return-lines-table td:first-child{display:block;width:100%;min-width:0}.workspace.stock-levels-workspace .balance-data-table td:first-child:before,.workspace.returns-workspace .return-lines-table td:first-child:before{display:block;margin-bottom:6px}.workspace.stock-levels-workspace .balance-data-table td:last-child,.workspace.returns-workspace .return-lines-table td:last-child{border-bottom:0}.workspace.stock-levels-workspace .balance-data-table td:before,.workspace.returns-workspace .return-lines-table td:before{content:attr(data-label);color:#526e89;font-size:12px;font-weight:750;line-height:1.4}.workspace.returns-workspace .return-lines-table input{min-width:0;width:100%}.workspace.returns-workspace .workspace-data-scroll:not(.mobile-cards):before,.workspace.stock-levels-workspace .workspace-data-scroll:not(.mobile-cards):before{content:"Прокрутите таблицу в сторону, чтобы увидеть остальные столбцы";display:block;position:sticky;left:0;width:max-content;max-width:calc(100vw - 65px);padding:9px 12px;font-size:12px;line-height:1.45;color:#446885;background:#edf5ff;border-bottom:1px solid #d6e4f2;z-index:1;white-space:normal}}.workspace .money-cell{white-space:nowrap!important;font-variant-numeric:tabular-nums;overflow-wrap:normal!important}.workspace .workspace-data-scroll th{overflow-wrap:break-word;word-break:normal}.workspace.stocktake-workspace,.workspace.mass-import-page,.workspace.inventory-journal-workspace,.workspace.price-approvals-workspace{min-width:0;max-width:100%}.workspace .workspace-task-panel,.workspace .workspace-task-panel :is(.warehouse-panel,.treasury-form,.import-preview,.import-mapping-panel,.treasury-docs,.report-receipts){box-sizing:border-box;min-width:0;max-width:100%}.workspace .workspace-task-panel :is(h3,h4,p,small,strong,span){overflow-wrap:anywhere}.workspace .workspace-task-panel :is(label,fieldset){min-width:0;line-height:1.55}.workspace .workspace-task-panel label:not(.import-update-field):not(.import-unmapped){font-weight:650}.workspace .workspace-task-panel :is(input:not([type=checkbox]):not([type=radio]),select,textarea){box-sizing:border-box;max-width:100%;min-width:0;min-height:43px;padding:10px 12px;line-height:1.45;font-size:14px}.workspace .workspace-task-panel textarea{min-height:100px;resize:vertical}.workspace .workspace-task-panel :is(button,[role=button]){box-sizing:border-box;min-height:42px;max-width:100%;line-height:1.35;white-space:normal;overflow-wrap:anywhere}.workspace .workspace-task-panel :is(input,select,textarea,button):focus-visible{outline:3px solid #7caedf;outline-offset:2px}.workspace .workspace-task-panel :is(input,select,textarea):disabled{opacity:.7}.workspace .workspace-task-panel :is(.treasury-actions,.stocktake-actions,.workspace-actions){display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px}.workspace.stocktake-workspace .stocktake-summary{display:flex;align-items:center;flex-wrap:wrap;gap:8px 15px;margin:0 0 18px;padding:12px 16px;border-radius:11px;border:1px solid #d5e3f1;background:#f0f6fd;color:#385c7d;font-size:13px;line-height:1.55}.workspace.stocktake-workspace .stocktake-summary strong{font-size:15px;color:#1f507f}.workspace.stocktake-workspace .stocktake-document-list{display:grid;gap:10px}.workspace.stocktake-workspace .stocktake-document-card{display:flex;align-items:center;justify-content:space-between;gap:12px 22px;flex-wrap:wrap;min-width:0;padding:15px 17px;border:1px solid #dbe7f1;border-radius:10px;background:#f9fbff}.workspace.stocktake-workspace .stocktake-document-card>div{display:grid;gap:4px;min-width:0;max-width:100%;overflow-wrap:anywhere}.workspace.stocktake-workspace .stocktake-document-card strong{color:#264f78;font-size:14px}.workspace.stocktake-workspace .stocktake-document-card small{font-size:12px;color:#58738c;line-height:1.5}.workspace.stocktake-workspace .stocktake-document-card button{flex:0 1 auto}.workspace.stocktake-workspace .stocktake-participants{display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px;padding:12px 14px;border:1px solid #deebf5;background:#f6faff;border-radius:10px;overflow-wrap:anywhere;font-size:13px;line-height:1.5;margin:0 0 17px}.workspace.stocktake-workspace .stocktake-count-table{min-width:750px;width:100%;table-layout:fixed}.workspace.stocktake-workspace .stocktake-count-table th:nth-child(1){width:29%}.workspace.stocktake-workspace .stocktake-count-table th:nth-child(2){width:13%}.workspace.stocktake-workspace .stocktake-count-table th:nth-child(3){width:18%}.workspace.stocktake-workspace .stocktake-count-table th:nth-child(4){width:40%}.workspace.stocktake-workspace .stocktake-count-table td>input{width:100%;min-width:0}.workspace.stocktake-workspace .stocktake-reason-fields{display:grid;grid-template-columns:minmax(0,1fr);gap:9px;margin:10px 0}.workspace.stocktake-workspace .stocktake-count-table td small{display:block;font-size:11px;color:#5c7590;line-height:1.55;margin-top:8px}.workspace.stocktake-workspace .stocktake-conflicts{display:grid;gap:9px;overflow-wrap:anywhere}.workspace.stocktake-workspace .stocktake-conflicts>div{display:grid;gap:7px;padding:10px;background:#fff6ed;border:1px solid #f3d9b8;border-radius:9px}.workspace.stocktake-workspace .stocktake-decision-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(175px,100%),1fr));gap:12px;margin-bottom:22px}.workspace.stocktake-workspace .stocktake-decision-summary p{margin:0;padding:12px 14px;background:#f4f8fe;border:1px solid #dce7f3;border-radius:9px;font-size:13px}.workspace.stocktake-workspace .stocktake-decision-comment{flex:1 1 260px;display:grid;gap:7px}.workspace.stocktake-workspace .stocktake-scroll{max-height:min(72vh,700px);overflow:auto}.workspace.stocktake-workspace .stocktake-count-table :is(td,th){overflow-wrap:anywhere;vertical-align:top}.workspace.mass-import-page .workspace-task-panel>.treasury-form{padding:0;margin:0;border:0;background:transparent;box-shadow:none}.workspace.mass-import-page .workspace-task-panel>.import-preview{margin:0 0 15px}.workspace.mass-import-page .import-mapping-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(205px,100%),1fr));gap:13px 16px}.workspace.mass-import-page .import-mapping-grid>label{display:grid;gap:7px}.workspace.mass-import-page .import-preview-table{overflow-x:auto;max-width:100%;border:1px solid #d7e4f0;border-radius:10px}.workspace.mass-import-page .import-preview-table table{min-width:670px;width:100%}.workspace.mass-import-page .import-preview-table :is(th,td){padding:11px 12px;line-height:1.5;overflow-wrap:anywhere}.workspace.mass-import-page .import-update-fields{display:grid;gap:10px}.workspace.mass-import-page .import-update-field{display:flex;align-items:flex-start;gap:12px;line-height:1.55}.workspace.mass-import-page .import-update-field input{width:18px;height:18px;flex:0 0 18px;margin-top:3px}.workspace.mass-import-page .import-update-field span{min-width:0;overflow-wrap:anywhere}.workspace.mass-import-page .workspace-task-panel .treasury-doc{margin:0 0 12px}.workspace.mass-import-page .workspace-task-panel .treasury-doc-title strong{font-size:14px;overflow-wrap:anywhere}.workspace.mass-import-page .import-notice{line-height:1.65}.workspace.mass-import-page .workspace-task-panel .treasury-actions{gap:10px;flex-wrap:wrap}.workspace.mass-import-page .workspace-task-panel .report-metrics{min-width:0}.workspace.inventory-journal-workspace .journal-list{display:grid;gap:10px;min-width:0}.workspace.inventory-journal-workspace .journal-list article{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px 18px;min-width:0;max-width:100%;padding:13px 15px;border:1px solid #dfebf5;border-radius:10px;background:#fbfdff}.workspace.inventory-journal-workspace .journal-list article>div{display:grid;gap:4px;min-width:0;flex:1 1 200px;overflow-wrap:anywhere}.workspace.inventory-journal-workspace .journal-list article strong{color:#2b537a;font-size:14px}.workspace.inventory-journal-workspace .journal-list article small{color:#5c7289;font-size:12px;line-height:1.55}.workspace.inventory-journal-workspace .journal-amount{padding:7px 11px;border-radius:8px;font-variant-numeric:tabular-nums;white-space:nowrap}.workspace.inventory-journal-workspace .journal-amount.negative{color:#963d49;background:#fff1f1}.workspace.inventory-journal-workspace .journal-amount.positive{color:#276b4b;background:#eaf8f1}.workspace.price-approvals-workspace .workspace-task-panel .warehouse-panel{margin:0;background:transparent;box-shadow:none}.workspace.price-approvals-workspace .workspace-task-panel .warehouse-transfer-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr));gap:16px;align-items:end}.workspace.price-approvals-workspace .workspace-task-panel .warehouse-transfer-form label{min-width:0;display:grid;gap:8px}.workspace.price-approvals-workspace .workspace-task-panel .report-receipts{display:grid;gap:12px}.workspace.price-approvals-workspace .workspace-task-panel .report-receipts article{min-width:0;max-width:100%;overflow-wrap:anywhere}.workspace.price-approvals-workspace .workspace-task-panel .report-receipts article>div{min-width:0}.workspace.price-approvals-workspace .workspace-task-panel .report-receipts article small{line-height:1.6}@media (max-width:700px){.workspace.stocktake-workspace .stocktake-scroll.mobile-cards{max-height:none;overflow:visible;border:0;background:transparent}.workspace.stocktake-workspace .mobile-cards .stocktake-count-table{display:block!important;min-width:0!important;width:100%;background:transparent}.workspace.stocktake-workspace .mobile-cards .stocktake-count-table thead{display:none}.workspace.stocktake-workspace .mobile-cards .stocktake-count-table tbody{display:grid;gap:12px}.workspace.stocktake-workspace .mobile-cards .stocktake-count-table tr{display:grid;grid-template-columns:minmax(0,1fr);min-width:0;padding:11px 14px;border:1px solid #d9e5f1;border-radius:11px;background:#f9fbff}.workspace.stocktake-workspace .mobile-cards .stocktake-count-table td{display:grid;grid-template-columns:minmax(98px,37%) minmax(0,1fr);align-items:start;gap:8px 12px;min-width:0!important;width:100%;padding:10px 3px!important;border-bottom:1px solid #e2eaf3}.workspace.stocktake-workspace .mobile-cards .stocktake-count-table td:first-child{display:block;font-weight:650}.workspace.stocktake-workspace .mobile-cards .stocktake-count-table td:last-child{border:0}.workspace.stocktake-workspace .mobile-cards .stocktake-count-table td:before{content:attr(data-label);color:#526e89;font-size:12px;font-weight:750;line-height:1.4}.workspace.stocktake-workspace .mobile-cards .stocktake-count-table td:first-child:before{display:block;margin-bottom:5px}.workspace.stocktake-workspace .mobile-cards .stocktake-count-table td :is(input,select){width:100%;min-width:0}.workspace.stocktake-workspace .stocktake-document-card button{width:100%}.workspace.mass-import-page .import-preview-table:before{content:"Таблицу можно прокрутить в сторону";display:block;position:sticky;left:0;padding:8px 12px;background:#edf5ff;color:#4f6e8d;font-size:12px;white-space:normal;max-width:calc(100vw - 68px)}.workspace.mass-import-page .workspace-task-panel .treasury-actions button{flex:1 1 100%}}@media (max-width:420px){.workspace.stocktake-workspace .mobile-cards .stocktake-count-table td{grid-template-columns:minmax(0,1fr);gap:5px}.workspace.stocktake-workspace .stocktake-decision-summary{grid-template-columns:minmax(0,1fr)}.workspace.inventory-journal-workspace .journal-list article{align-items:flex-start}}.workspace.reports-workspace .reports-period-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(205px,100%),1fr));gap:14px 18px;max-width:640px;margin:0 0 21px}.workspace.reports-workspace .reports-period-fields>label{display:grid;gap:7px;line-height:1.55;font-weight:650;color:#4c6681}.workspace.reports-workspace .reports-period-fields input{width:100%;min-height:43px}.workspace.reports-workspace .report-period-presets{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:18px}.workspace.reports-workspace .report-period-presets button{min-height:42px;white-space:normal}.workspace.reports-workspace .workspace-task-panel .reports-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(175px,100%),1fr));gap:12px 14px;margin:0 0 22px}.workspace.reports-workspace .workspace-task-panel .report-card{min-width:0;max-width:100%;overflow-wrap:anywhere}.workspace.reports-workspace .workspace-task-panel .report-card-value{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.workspace.reports-workspace .workspace-task-panel .reports-section{margin:19px 0 0;min-width:0;max-width:100%}.workspace.reports-workspace .workspace-task-panel .treasury-line{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:8px 18px;overflow-wrap:anywhere}.workspace.reports-workspace .workspace-task-panel .treasury-line>span{min-width:0;overflow-wrap:anywhere;line-height:1.55}.workspace.reports-workspace .workspace-task-panel .treasury-line>span:last-child{font-variant-numeric:tabular-nums}@media (max-width:420px){.workspace.reports-workspace .workspace-task-panel .reports-grid{grid-template-columns:minmax(0,1fr)}}.workspace [hidden]{display:none!important}.workspace .workspace-task-tabs>button{scroll-margin:12px}.workspace .workspace-task-tabs>button:focus-visible{outline:3px solid #4b8dcf;outline-offset:3px;position:relative;z-index:1}.workspace .workspace-task-tabs>button .workspace-task-label{overflow-wrap:anywhere;word-break:normal}.workspace .workspace-task-panel :is(button,label,legend,summary,th,td){overflow-wrap:anywhere}.workspace .workspace-task-panel :is(input:not([type=checkbox]):not([type=radio]),textarea,select){width:100%;max-width:100%;box-sizing:border-box}.workspace .workspace-task-panel label{min-width:0;max-width:100%;line-height:1.55}.workspace .workspace-task-panel button{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}.workspace .workspace-error-message{border:1px solid #e5a2a5;background:#fff2f2;color:#8a2d38;padding:12px 14px;border-radius:9px;line-height:1.55;max-width:100%}.workspace .workspace-task-panel input[aria-invalid=true]{border-color:#b94450;outline-color:#b94450;background:snow}.workspace .workspace-task-panel :is(.report-card-value,.money-cell){font-variant-numeric:tabular-nums}@media (max-width:700px){.workspace .workspace-task-panel .treasury-actions>button{min-height:44px}.workspace .workspace-task-tabs>button:focus-visible{outline-offset:2px}}@media (prefers-reduced-motion:reduce){.workspace .workspace-task-tabs>button{scroll-behavior:auto}}.workspace .workspace-task-label strong{font-size:14px;line-height:1.45}.workspace .workspace-task-label small{font-size:12px;line-height:1.5;color:#506b85}.workspace .workspace-task-count{font-size:12px}.workspace .workspace-task-panel .workspace-task-hint{font-size:13px;line-height:1.65}.workspace.settings-page .settings-feedback{display:flex;align-items:flex-start;gap:10px;margin:12px 0 18px;padding:12px 15px;border-radius:10px;line-height:1.55;overflow-wrap:anywhere}.workspace.settings-page .settings-feedback svg{flex:0 0 17px;margin-top:3px}.workspace.settings-page .admin-bootstrap-fields label{min-width:0}.workspace.settings-page .admin-bootstrap-fields button{min-width:0;overflow-wrap:anywhere}.workspace.settings-page .settings-link>span:nth-child(2){min-width:0;overflow-wrap:anywhere}.workspace.stock-levels-workspace .workspace-filter-bar>label.stock-low-filter{display:flex;align-items:center;justify-content:flex-start;gap:9px;flex:0 1 auto;min-height:44px;max-width:100%;white-space:normal}.workspace.stock-levels-workspace .stock-low-filter>input{width:18px;height:18px;flex:0 0 18px;margin:0}.workspace.stock-levels-workspace .report-metrics article{min-width:0}.workspace.stock-levels-workspace .report-metrics small{line-height:1.5;overflow-wrap:anywhere}:where(.app,.main,.workspace,.simple-pos,.simple-catalog) *,:where(.app,.main,.workspace,.simple-pos,.simple-catalog) *:before,:where(.app,.main,.workspace,.simple-pos,.simple-catalog) *:after{box-sizing:border-box}:where(.workspace,.simple-pos,.simple-catalog) :is(section,article,form,div,fieldset,label,button,span,p,strong,small,input,select,textarea,summary){min-width:0;max-width:100%}:where(.workspace,.simple-pos,.simple-catalog) :is(label,p,span,strong,small,summary,h2,h3,h4,button){overflow-wrap:break-word;word-break:normal;line-height:1.5}:where(.workspace,.simple-pos,.simple-catalog) :is(input,textarea,select){min-width:0;max-width:100%;box-sizing:border-box}:where(.workspace,.simple-pos,.simple-catalog) button{white-space:normal;overflow-wrap:break-word;min-height:40px;line-height:1.35}:where(.workspace,.simple-pos,.simple-catalog) :is(label,button):focus-within{isolation:isolate}:where(.workspace,.simple-pos,.simple-catalog) button:focus-visible{outline:3px solid #246dc2;outline-offset:2px}:where(.workspace,.simple-pos,.simple-catalog) :is(.report-card,.report-metrics article,.production-card,.supplier-editor,.supplier-directory,.supplier-offers,.invoice-intake,.workspace-task-panel,.simple-product-form){overflow-wrap:break-word;min-width:0}.simple-catalog-head{gap:12px 22px;align-items:center!important}.simple-catalog-intro{margin:0;font-size:14px;color:#516d87;max-width:670px;line-height:1.55}.simple-catalog .simple-form-grid{grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr))!important;align-items:start!important;gap:18px 20px!important}.simple-catalog .simple-form-grid>label{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:7px!important;padding:0;margin:0;min-width:0}.simple-catalog .simple-form-grid>label>small{display:block;line-height:1.5;color:#587089;font-weight:400}.simple-catalog .simple-form-grid input:not([type=checkbox]),.simple-catalog .simple-form-grid select{min-height:46px!important;width:100%;max-width:100%}.simple-catalog .simple-form-grid input[type=file],.workspace.mass-import-page input[type=file],.workspace.receiving-page input[type=file]{display:block!important;position:static!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;width:100%!important;min-height:48px!important;height:auto!important;padding:9px!important;border:1px solid #b8d0e9!important;background:#fff!important;border-radius:10px!important;color:#214d7e!important;cursor:pointer}:where(.simple-catalog,.workspace) input[type=file]::file-selector-button{padding:9px 13px;margin-right:11px;border:1px solid #a8c8e7;border-radius:8px;color:#174b82;background:#eff7ff;font-size:13px;line-height:1.3;font-weight:600;cursor:pointer}.simple-inline-link{display:block;width:100%;min-height:42px;padding:9px 12px;border:1px dashed #92b7db;border-radius:9px;text-align:left;color:#1d5c9a;background:#f5faff;font-weight:600}.simple-inline-category-builder{display:grid;gap:10px;padding:14px;border:1px solid #bfd5eb;background:#f6fbff;border-radius:12px;align-self:start}.simple-inline-category-builder>label{display:grid;gap:8px}.simple-inline-category-builder p{font-size:12px;color:#597087;margin:0}.simple-inline-category-builder button{padding:10px 14px;border:1px solid #a9c8e8;border-radius:9px;color:#1b5794;background:#fff;cursor:pointer}.simple-image-preview{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:10px;border:1px solid #d9e6f3;border-radius:10px}.simple-image-preview button{width:auto!important;min-height:40px}.simple-catalog-toast,.simple-pos-toast{position:fixed!important;inset:90px 18px auto auto!important;z-index:4000;display:flex;align-items:flex-start;justify-content:space-between;gap:14px;width:min(430px,calc(100vw - 32px));max-height:45vh;overflow:auto;border:1px solid #a8cbea;border-radius:11px;padding:13px 15px;background:#ecf7ff;color:#173e65;box-shadow:0 12px 36px #17385b30;font-size:14px;line-height:1.5}.simple-catalog-toast.is-error,.simple-pos-toast{border-color:#e8b4b4;background:#fff1f0;color:#76232a}.simple-catalog-toast>span,.simple-pos-toast>span{flex:1;min-width:0;overflow-wrap:anywhere}.simple-catalog-toast>button,.simple-pos-toast>button{flex:0 0 32px;width:32px;min-height:32px!important;border:0;border-radius:8px;background:transparent;font-size:22px;color:inherit;cursor:pointer}.simple-pos-body{grid-template-columns:minmax(0,1fr) minmax(330px,390px)!important;align-items:start}.simple-pos-left,.simple-pos-right,.simple-products,.simple-cart,.simple-payment{min-width:0;max-width:100%}.simple-products{grid-template-columns:repeat(auto-fill,minmax(min(100%,180px),1fr))!important;gap:13px}.simple-pos .simple-product{display:flex!important;flex-direction:column;align-items:stretch;gap:9px;min-width:0;min-height:0!important;padding:13px!important;cursor:default}.simple-pos .simple-product-main{display:flex;flex:1;flex-direction:column;align-items:center;gap:7px;width:100%;height:auto;background:transparent;border:0;padding:0 4px 5px;color:inherit;cursor:pointer;text-align:center}.simple-pos .simple-product-main:disabled{cursor:not-allowed}.simple-pos .simple-product-name{width:100%;min-height:0;font-size:14px!important;overflow-wrap:anywhere;line-height:1.4}.simple-pos .simple-product-stock{margin-top:0;font-size:12px}.simple-pos .simple-product-price{margin-top:auto;white-space:nowrap}.simple-pick-controls{display:grid;grid-template-columns:40px minmax(45px,1fr) 40px;gap:5px;width:100%;align-items:stretch}.simple-pick-controls button{width:40px;min-height:42px;border:1px solid #acc9e7;border-radius:8px;background:#f4faff;color:#205b99;font-size:18px;font-weight:700;padding:0}.simple-pos .simple-pick-controls input{width:100%;min-height:42px!important;padding:6px 5px!important;text-align:center;font-variant-numeric:tabular-nums;font-size:15px}.simple-product-add{width:100%;min-height:42px;border:1px solid #2864a9;border-radius:9px;background:#2468bc;color:#fff;font-weight:700;cursor:pointer;padding:9px}.simple-product-add:disabled{opacity:.5;cursor:not-allowed}.simple-pos .simple-payment{position:relative!important;display:flex;flex-direction:column;align-items:stretch;gap:12px;padding:18px!important}.simple-pos .simple-payment h3{margin:0!important}.simple-pos .simple-payment-methods{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:0}.simple-pos .simple-pay-method{width:100%;display:flex;flex-direction:column;align-items:center;min-height:54px;padding:9px 5px;font-size:12px;line-height:1.3;text-align:center}.simple-pos .simple-pay-method svg{flex:0 0 18px}.simple-pos .simple-cash-fields,.simple-pos .simple-card-fields{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}.simple-pos .simple-cash-fields>label,.simple-pos .simple-card-fields>label{display:grid!important;grid-template-columns:minmax(0,1fr);gap:7px;margin:0;min-width:0}.simple-pos .simple-cash-fields input:not([type=checkbox]),.simple-pos .simple-card-fields input{min-height:45px!important;width:100%;max-width:100%}.simple-pos .simple-change{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-height:30px;margin:0;padding:6px 0;border-bottom:1px solid #e1eaf4}.simple-pos .simple-change strong{white-space:nowrap;justify-self:end;font-variant-numeric:tabular-nums}.simple-pos .simple-denoms{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:stretch;width:100%;margin:0}.simple-pos .simple-denoms button{width:100%!important;min-height:44px!important;height:auto!important;max-width:100%;padding:9px 6px;white-space:normal!important;overflow-wrap:normal!important;font-size:14px;line-height:1.35}.simple-pos .simple-denoms .simple-denom-exact{grid-column:1/-1;font-weight:700;min-height:46px!important}.simple-pos .simple-checkout-button{position:static!important;display:flex!important;flex:0 0 auto;width:100%!important;min-width:0;min-height:54px!important;margin:3px 0 0!important;z-index:auto!important;white-space:normal!important;padding:12px 16px!important}.simple-pos .simple-disclaimer{display:block;position:static!important;width:100%;line-height:1.55;margin:0;overflow-wrap:anywhere}.cash-layout .checkout{min-width:0;display:flex;flex-direction:column;gap:12px;overflow:visible}.cash-layout .checkout>*{min-width:0;max-width:100%}.cash-layout .denoms{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(95px,100%),1fr));align-items:stretch;gap:8px}.cash-layout .denoms button{position:static!important;width:auto!important;min-width:0!important;min-height:43px!important;height:auto!important;padding:9px 12px!important;white-space:normal!important;overflow-wrap:break-word}.cash-layout .checkout>.pay{position:static!important;min-height:52px!important;width:100%!important;margin:6px 0 0!important;white-space:normal!important}.cash-layout .checkout .change{display:flex;flex-wrap:wrap;gap:8px 14px}.cash-layout .checkout .cash-fields{display:grid;gap:11px}.cash-layout .checkout .cash-fields>label{display:grid;gap:7px}.workspace.assembly-page .production-card{padding:clamp(16px,2vw,24px);margin:15px 0;border:1px solid #d9e6f4;border-radius:14px}.workspace.assembly-page .assembly-line{padding:16px;background:#f8fbff;border:1px solid #d2e2f1;border-radius:12px;margin:12px 0;gap:14px}.workspace.assembly-page .production-grid,.workspace.assembly-page .assembly-line .production-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr))!important;gap:16px 18px!important;align-items:start!important}.workspace.assembly-page .production-grid>*{min-width:0;width:100%;max-width:100%;align-self:start}.workspace.assembly-page .production-grid>label,.workspace.assembly-page .production-grid .product-chooser{display:grid;gap:8px;align-content:start;line-height:1.45}.workspace.assembly-page .production-grid :is(input,select,button){width:100%;max-width:100%;min-height:44px;white-space:normal!important;overflow-wrap:break-word}.workspace.assembly-page .assembly-line-end{display:flex;flex-direction:column;align-items:stretch;gap:9px;font-size:13px;padding:9px 0}.workspace.assembly-page .assembly-line-end .small-btn{width:100%;white-space:normal}.workspace.assembly-page .assembly-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:stretch}.workspace.assembly-page .assembly-actions>*{flex:0 1 auto;max-width:100%}.workspace.assembly-page .assembly-header{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between}.workspace.mass-import-page .workspace-task-panel>.treasury-form{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(320px,100%),1fr))!important;gap:16px 18px!important;align-items:start!important}.workspace.mass-import-page .workspace-task-panel>.treasury-form>h3,.workspace.mass-import-page .workspace-task-panel>.treasury-form>.import-notice,.workspace.mass-import-page .workspace-task-panel>.treasury-form>.import-mapping-panel,.workspace.mass-import-page .workspace-task-panel>.treasury-form>.treasury-actions{grid-column:1/-1;min-width:0}.workspace.mass-import-page .workspace-task-panel>.treasury-form>.import-notice{display:block;width:100%;padding:16px 18px;line-height:1.62;white-space:normal;overflow-wrap:break-word}.workspace.mass-import-page .workspace-task-panel>.treasury-form>label{display:flex;flex-direction:column;align-items:stretch;gap:8px;min-width:0;width:100%}.workspace.mass-import-page .workspace-task-panel>.treasury-form textarea{width:100%;min-height:160px;line-height:1.5}.workspace.mass-import-page .import-mapping-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:14px}.workspace.mass-import-page .import-mapping-grid>label{display:grid;gap:7px;min-width:0}.workspace.reports-workspace .reports-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(210px,100%),1fr));gap:13px}.workspace.reports-workspace .report-card{display:flex!important;flex-direction:column;align-items:flex-start;gap:9px;padding:17px 18px!important;border:1px solid #d7e5f3;border-radius:13px;min-height:150px;background:#fff}.workspace.reports-workspace .report-card-icon{width:42px;height:42px;display:grid;place-items:center;border:1px solid #dbe9f6;border-radius:10px;background:#f0f7ff;color:#2565a6;flex:0 0 auto;margin:0}.workspace.reports-workspace .report-card-value{font-size:clamp(19px,2vw,27px);font-weight:700;font-variant-numeric:tabular-nums;line-height:1.2;margin:0;overflow-wrap:anywhere}.workspace.reports-workspace .report-card-label{font-size:13px;line-height:1.5;white-space:normal;overflow-wrap:break-word;margin:0;color:#52708b}.workspace.reports-workspace .treasury-line{padding:12px 14px;border-bottom:1px solid #e4edf5;gap:8px 15px}.workspace.reports-workspace .treasury-line>span:last-child{font-variant-numeric:tabular-nums}.workspace.suppliers-page .supplier-basic{padding:14px 16px;margin-bottom:13px;background:#f3f9ff;border:1px solid #d5e7f6;border-radius:12px}.workspace.suppliers-page .supplier-basic label{display:grid;gap:8px;font-weight:700;color:#244d78;font-size:14px}.workspace.suppliers-page .supplier-basic p{font-size:12px;line-height:1.5;color:#58718b;margin:10px 0 0}.workspace.suppliers-page .supplier-advanced{display:block;padding:0;margin-bottom:17px;border:1px solid #dae5f1;border-radius:12px;background:#fff}.workspace.suppliers-page .supplier-advanced>summary{padding:13px 16px;cursor:pointer;font-weight:700;color:#245c9b;border-radius:12px;background:#f9fcff}.workspace.suppliers-page .supplier-advanced[open]>summary{border-bottom:1px solid #e0eaf3}.workspace.suppliers-page .supplier-advanced>.supplier-fields{padding:16px}.workspace.suppliers-page .supplier-advanced>.supplier-subsection{margin:15px 16px;padding:14px}.workspace.suppliers-page .supplier-layout{grid-template-columns:minmax(230px,.7fr) minmax(0,1.5fr);gap:18px}.workspace.suppliers-page .supplier-editor .treasury-actions{padding:9px 0;align-items:center}.workspace.category-manager-page .category-tree,.simple-catalog .simple-category-tree{display:grid;gap:9px}.workspace.category-manager-page .category-row,.simple-catalog .simple-category-node-row{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-start!important;gap:9px 12px!important;min-height:51px;padding:11px 14px!important;border:1px solid #d7e5f3!important;border-radius:10px;background:#fff}.workspace.category-manager-page .category-view{display:flex;align-items:center;gap:9px 12px;flex-wrap:wrap;width:100%}.workspace.category-manager-page .category-count,.simple-catalog .simple-category-count{display:inline-flex!important;align-items:center;white-space:nowrap;padding:4px 9px;margin:0!important;background:#eef5fe;border:1px solid #dceaf9;border-radius:8px;color:#496984;font-size:12px}.workspace.category-manager-page .category-actions{display:flex;flex-wrap:wrap;gap:8px;margin-left:auto}.workspace.category-manager-page .category-actions button,.simple-catalog .simple-category-node-row button{min-height:36px!important;width:auto!important;padding:7px 12px!important;white-space:normal!important}.simple-catalog .simple-category-node{padding-left:min(var(--category-indent,0px),26px);max-width:100%}.workspace.notifications-page .notification-preferences{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr))!important;gap:9px 14px!important;align-items:stretch}.workspace.notifications-page .notification-preferences>h3{grid-column:1/-1}.workspace.notifications-page .notification-preferences>label{display:flex!important;align-items:center!important;gap:10px!important;flex-direction:row!important;min-height:51px;padding:11px 13px;border:1px solid #d8e5f3;border-radius:10px;background:#fff;line-height:1.4;font-size:13px}.workspace.notifications-page .notification-preferences>label input{flex:0 0 19px;margin:0}.workspace.notifications-page .notification-compose{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(235px,100%),1fr));gap:14px}.workspace.notifications-page .notification-compose>h3{grid-column:1/-1}.workspace.notifications-page .notification-compose>label{display:grid;gap:7px}.workspace.notifications-page .notification-compose>label:has(textarea){grid-column:1/-1}.workspace.notifications-page .notification-compose>button{justify-self:start;padding:10px 16px}@media (max-width:1080px){.simple-pos-body{grid-template-columns:minmax(0,1fr)!important}.workspace.suppliers-page .supplier-layout{grid-template-columns:1fr}}@media (max-width:650px){.simple-pos-body{padding:12px 11px 85px!important;gap:13px}.simple-pos .simple-payment{padding:15px!important}.simple-pos .simple-products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px}.simple-pos .simple-product{padding:10px!important}.simple-pos .simple-product-main{gap:5px}.simple-pos .simple-product-name{font-size:13px!important}.simple-pos .simple-pick-controls{grid-template-columns:34px minmax(0,1fr) 34px;gap:4px}.simple-pos .simple-pick-controls button{width:34px;min-height:40px}.simple-pos .simple-payment-methods{gap:5px}.simple-pos .simple-pay-method{font-size:11px}.workspace.assembly-page .assembly-line{padding:13px}.workspace.assembly-page .production-grid,.workspace.assembly-page .assembly-line .production-grid{grid-template-columns:minmax(0,1fr)!important}.workspace.mass-import-page .workspace-task-panel>.treasury-form{grid-template-columns:minmax(0,1fr)!important}.workspace.reports-workspace .reports-grid,.workspace.notifications-page .notification-preferences{grid-template-columns:minmax(0,1fr)!important}.simple-catalog-toast,.simple-pos-toast{inset:74px 10px auto 10px!important;width:auto!important}}.simple-category-picker{display:grid;grid-template-columns:minmax(0,1fr);gap:9px;min-width:0;align-content:start}.simple-category-picker>.simple-inline-link{justify-self:start;max-width:100%;white-space:normal;text-align:left}.simple-catalog .simple-image-preview{display:flex;align-items:start;flex-direction:column;gap:8px;min-width:0}.simple-catalog .simple-photo-file{display:block;max-width:100%;width:100%}.cash-layout .products .product-full-card{min-width:0;display:flex;flex-direction:column;gap:8px;padding:10px;border-radius:12px;overflow:hidden}.cash-layout .product-full-card .product-main{width:100%;min-width:0;display:flex;flex-direction:column;align-items:stretch;gap:6px;text-align:left;flex:1;white-space:normal;overflow-wrap:anywhere}.cash-layout .product-full-card .product-qty-actions{display:grid;grid-template-columns:36px minmax(52px,1fr) 36px;gap:5px;min-width:0}.cash-layout .product-full-card .product-qty-actions input{width:100%;min-width:0;text-align:center}.cash-layout .product-full-card .product-qty-actions button{height:36px;min-width:0;padding:0}.cash-layout .product-full-card>.product-qty-add{width:100%;white-space:normal;min-height:40px}.cash-layout .quantity input{width:58px;min-width:48px;text-align:center;padding:5px 2px}.cash-layout .quick-actions>div:last-child{display:flex;flex-wrap:wrap;gap:8px;max-height:24rem;overflow-y:auto;align-items:flex-start}.cash-layout .quick-actions>div:last-child>button{max-width:100%;white-space:normal;overflow-wrap:anywhere;text-align:left}@media (max-width:430px){.cash-layout .products .product-full-card{padding:8px}.cash-layout .product-full-card .product-qty-actions{grid-template-columns:30px minmax(40px,1fr) 30px}}.simple-pos .simple-cart-line-controls{display:flex;flex-wrap:wrap;align-items:center;gap:7px;min-width:0}.simple-pos .simple-cart-qty-input{width:70px!important;min-width:55px!important;max-width:90px!important;height:38px;text-align:center;padding:5px 4px}.simple-pos .simple-cart-line-controls button{flex:0 0 auto;min-width:38px;min-height:38px}.field-help{display:inline-grid;place-items:center;width:20px;height:20px;min-width:20px;border:1px solid #8aaad0;border-radius:50%;color:#245b9a;background:#eff6ff;font-size:13px;font-weight:800;line-height:1;vertical-align:middle;cursor:help;margin-inline-start:5px;-webkit-user-select:none;user-select:none}.field-help:focus-visible{outline:3px solid #3d83cc;outline-offset:2px}.simple-catalog .simple-photo-file{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;clip-path:inset(50%)}.simple-catalog .simple-photo-picker-button{display:inline-flex;justify-self:start;align-items:center;min-height:44px;max-width:100%;white-space:normal}.simple-pos .simple-quick-products{min-width:0;margin:12px 0 17px;padding:13px 14px;border:1px solid #d5e4f5;border-radius:13px;background:#f8fbff}.simple-pos .simple-quick-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-bottom:10px}.simple-pos .simple-quick-heading strong{font-size:15px}.simple-pos .simple-quick-heading button{padding:7px 12px;min-height:38px;max-width:100%;white-space:normal;border:1px solid #b1cde9;border-radius:8px;background:#fff;color:#1b588e;font-weight:600}.simple-pos .simple-quick-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(136px,100%),1fr));gap:9px;max-height:390px;overflow-y:auto}.simple-pos .simple-quick-tile{display:flex;flex-direction:column;gap:7px;min-width:0;min-height:69px;padding:11px 12px;text-align:left;border:1px solid #bfd5ed;border-radius:10px;background:#fff;color:#143e67;overflow-wrap:anywhere;white-space:normal}.simple-pos .simple-quick-tile b{font-size:13px;color:#255b99}.simple-pos .simple-quick-empty{font-size:12px;line-height:1.5;margin:0;color:#637c92}.simple-pos .simple-quick-editor{display:grid;gap:11px;padding-top:12px;border-top:1px solid #dae8f5}.simple-pos .simple-quick-editor>label{display:grid;gap:7px}.simple-pos .simple-quick-editor input[type=text]{width:100%;min-width:0}.simple-pos .simple-quick-options{max-height:310px;overflow:auto;display:grid;gap:6px}.simple-pos .simple-quick-options label{display:flex;gap:9px;align-items:center;flex-wrap:wrap;padding:9px 11px;border:1px solid #d4e6f7;border-radius:8px;background:#fff;line-height:1.4}.simple-pos .simple-quick-options label>input{width:18px;min-width:18px;height:18px}.simple-pos .simple-quick-options label>span{flex:1 1 130px;overflow-wrap:anywhere}.simple-pos .simple-quick-options label>small{font-size:11px;color:#5a7288}@media (max-width:420px){.simple-pos .simple-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.simple-pos-toast.is-success{border-color:#b6d9c8!important;background:#effaf3!important;color:#215940!important}.product-chooser{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;align-items:start!important;width:100%;max-width:100%}.product-chooser>label{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:7px!important;min-width:0;width:100%!important;line-height:1.45}.product-chooser>label svg{display:inline-block;vertical-align:middle;flex-shrink:0}.product-chooser>label input,.product-chooser>label select{width:100%;min-width:0!important;max-width:100%;min-height:42px}.receiving-unified{display:grid;gap:14px;min-width:0;width:100%;max-width:100%}.receiving-unified [hidden],.receiving-unified .receiving-editor-content[hidden]{display:none!important}.receiving-unified-header{padding:17px 20px;background:#fff;border:1px solid #d6e5f2;border-radius:14px}.receiving-unified-header h2{margin:0 0 5px;color:#234e7a;font-size:clamp(20px,2vw,26px)}.receiving-unified-header p{margin:0;font-size:14px;line-height:1.5;color:#526d85;overflow-wrap:anywhere}.receiving-unified-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.receiving-unified-choices button{display:flex;gap:11px;align-items:flex-start;min-height:100px;text-align:left;padding:14px;border:1px solid #d4e2f1;border-radius:13px;background:#fff;color:#244e7d;cursor:pointer;min-width:0;max-width:100%;line-height:1.45}.receiving-unified-choices button[aria-pressed=true]{border:2px solid #2870c9;padding:13px;background:#eef6ff;box-shadow:0 2px 8px #225d9914}.receiving-unified-choices button>svg{flex:0 0 auto;margin-top:2px}.receiving-unified-choices button>span{display:grid;gap:7px;min-width:0}.receiving-unified-choices strong{font-size:14px;overflow-wrap:anywhere}.receiving-unified-choices small{font-size:12px;color:#546e87;line-height:1.5;overflow-wrap:break-word}.receiving-unified-panel{min-width:0;max-width:100%}.receiving-unified-panel>.workspace{margin-top:0;max-width:100%}.receiving-unified-panel>.workspace>.workspace-head:first-child{display:none}.receiving-unified-editor{display:grid;gap:16px}.receiving-file-source{border:1px solid #d9e6f2;border-radius:12px;min-width:0;background:#fff}.receiving-file-source>summary{display:flex;align-items:center;gap:10px;cursor:pointer;padding:15px 17px;font-weight:650;color:#245c96;line-height:1.45;overflow-wrap:anywhere}.receiving-file-source[open]>summary{border-bottom:1px solid #dce8f3;background:#f3f8ff}.receiving-file-source>.invoice-intake,.receiving-file-source>section,.receiving-file-source>div{max-width:100%;min-width:0;padding:14px}.receiving-unified-editor>.receiving-manual{border:1px solid #dce8f3;border-radius:12px;background:#fff;padding:18px;min-width:0}.inline-supplier-editor{grid-column:1/-1;min-width:0;max-width:100%;display:grid;gap:10px;align-self:start}.inline-supplier-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.inline-supplier-actions>*{min-width:0;overflow-wrap:break-word}.inline-supplier-form{display:grid;gap:13px;min-width:0;padding:16px 18px;border:1px solid #c9dcec;border-radius:12px;background:#f8fbff}.inline-supplier-form-head{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#244b78}.inline-supplier-form p{margin:0;color:#59738a;font-size:13px;line-height:1.6}.inline-supplier-form label{display:grid;gap:7px;min-width:0;font-size:13px;color:#294d71}.inline-supplier-form :is(input,textarea){min-width:0;max-width:100%;width:100%;box-sizing:border-box;min-height:44px;padding:10px 12px;border:1px solid #b9ccde;border-radius:9px;font:inherit;background:#fff}.inline-supplier-form button.pay{justify-self:start;min-height:44px;max-width:100%;white-space:normal;overflow-wrap:break-word}.receiving-unified .receiving-manual :is(label,button),.supplier-invoices .purchase-invoice-fields>*{min-width:0;max-width:100%}@media (max-width:850px){.receiving-unified-choices{grid-template-columns:1fr}.receiving-unified-choices button{min-height:70px}.receiving-unified-header{padding:14px 16px}}@media (max-width:550px){.inline-supplier-form{padding:12px}.receiving-unified-panel>.workspace{padding-left:12px;padding-right:12px}.receiving-unified-choices button{padding:11px}.receiving-unified-choices button[aria-pressed=true]{padding:10px}}.simple-catalog .simple-form-grid input.simple-photo-file[type=file]{display:block!important;position:static!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;width:100%!important;height:auto!important;min-height:48px!important;clip-path:none!important;clip:auto!important;overflow:visible!important;padding:9px 11px!important;background:#fff!important;border:1px solid #9ab9d9!important;border-radius:9px!important}.simple-catalog input.simple-photo-file::file-selector-button{border:1px solid #a6c8e8;border-radius:8px;background:#eaf5ff;color:#1b548a;padding:9px 13px;margin-right:12px;cursor:pointer}.simple-pos .simple-cart-qty-input:focus-visible{outline:3px solid #327ac8;outline-offset:1px}.returns-workspace .returns-quote-box{display:grid;gap:10px;padding:16px;margin:16px 0;background:#f2f8ff;border:1px solid #c6dcf1;border-radius:12px;min-width:0;max-width:100%;line-height:1.5}.returns-workspace .returns-quote-box>div{display:flex;gap:8px 16px;flex-wrap:wrap;align-items:baseline;justify-content:space-between}.returns-workspace .returns-quote-box strong{font-size:20px;font-variant-numeric:tabular-nums;color:#184f82}.returns-workspace .returns-quote-box small{font-size:13px;color:#506b84;line-height:1.55}.returns-workspace .returns-quote-box button{width:max-content;max-width:100%;white-space:normal;min-height:44px}@media (max-width:520px){.returns-workspace .returns-quote-box{padding:13px}.returns-workspace .returns-quote-box button{width:100%}}
