@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap";.pos-receipt{box-sizing:border-box;width:80mm;max-width:100%;padding:4mm;margin:0 auto;background:#fff;color:#111;font:12px Arial,sans-serif}.pos-receipt header,.pos-receipt h3,.pos-receipt footer{text-align:center}.pos-receipt h2{font-size:16px;margin:0 0 6px}.pos-receipt h3{font-size:14px;border-top:1px dashed;padding-top:8px}.pos-receipt section{line-height:1.5;overflow-wrap:anywhere}.pos-receipt table{width:100%;border-collapse:collapse;margin:10px 0;font-size:10px;table-layout:auto}.pos-receipt th,.pos-receipt td{text-align:right;padding:4px 1px;white-space:nowrap}.pos-receipt th:first-child,.pos-receipt td:first-child{text-align:left}.pos-receipt thead{border-top:1px dashed;border-bottom:1px dashed}.pos-receipt .pos-description td{white-space:normal;overflow-wrap:anywhere}.pos-summary{border-top:1px dashed;padding-top:8px}.pos-summary div{display:flex;justify-content:space-between;gap:8px}.pos-grand{font-size:15px;border-top:1px solid;margin-top:6px;padding-top:6px}.pos-receipt footer{border-top:1px dashed;margin-top:12px;padding-top:10px}@media print{body.pos-print .print-actions{display:none!important}body.pos-print .pos-receipt{position:relative;top:0;margin:0;max-width:none}body.pos-print .modal,body.pos-print .modal-body{width:80mm!important;padding:0!important;margin:0!important;max-height:none;overflow:visible}body.pos-print .modal-head,body.pos-print .modal-foot{display:none!important}}:root{--ink: #12232b;--muted: #718087;--line: #e3eaf4;--surface: #ffffff;--canvas: #f4f7fc;--teal: #0b63ce;--teal-dark: #084a9b;--mint: #e3f1ff;--orange: #e8894a;--orange-soft: #fff0e5;--red: #d95c58;--red-soft: #fff0ef;--purple: #7258a9;--shadow: 0 15px 45px rgba(23, 51, 53, .08)}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--canvas);font-family:DM Sans,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}.app{min-height:100vh;display:flex}.sidebar{width:246px;background:#0d2342;color:#dbe9ff;display:flex;flex-direction:column;padding:26px 16px;flex-shrink:0}.brand{display:flex;align-items:center;gap:11px;padding:0 12px 30px;color:#fff}.brand-mark{width:35px;height:35px;border-radius:11px;background:#0d2342 url(/jelvara-logo.png) center / contain no-repeat;color:transparent;display:grid;place-items:center;font-family:Manrope;font-weight:800;font-size:0}.brand-name{width:92px;height:24px;background:url(/jelvara-wordmark.png) center / contain no-repeat;color:transparent;font-size:0;letter-spacing:0}.nav-label{color:#7da0c9;text-transform:uppercase;font-size:10px;letter-spacing:1.2px;margin:12px 12px 10px}.nav{display:grid;gap:4px}.nav-master{display:grid;gap:2px}.nav-master-title{color:#dbe9ff;padding:11px 12px 7px;display:flex;align-items:center;gap:12px;font-size:14px;font-weight:700;cursor:pointer;user-select:none}.nav-master.active .nav-master-title{color:#fff}.nav-chevron{margin-left:auto;width:18px;color:#9fc1eb;font-size:16px;line-height:1;text-align:center}.nav-master-title:hover .nav-chevron{color:#fff}.nav-master.collapsed .nav-children{display:none}.nav-children{display:grid;gap:2px;padding-left:14px;border-left:1px solid #2b4d78;margin-left:21px}.nav-children button{padding:8px 10px;font-size:12px}.nav-children .nav-icon{font-size:14px;width:17px}.nav button{border:0;background:transparent;color:#b9cdeb;text-align:left;padding:11px 12px;border-radius:9px;display:flex;align-items:center;gap:12px;font-size:14px}.nav button:hover,.nav button.active{color:#fff;background:#123b72}.nav-icon{width:20px;text-align:center;font-size:17px}.sidebar-bottom{margin-top:auto;border-top:1px solid #25456e;padding:18px 10px 0}.user-chip{display:flex;gap:10px;align-items:center}.avatar{width:34px;height:34px;border-radius:50%;background:#e2a76b;color:#163b38;display:grid;place-items:center;font-weight:700;font-size:12px}.user-chip strong{font-size:13px;color:#fff;display:block}.user-chip small{color:#7e9d98;font-size:11px}.content{min-width:0;flex:1}.topbar{height:80px;border-bottom:1px solid var(--line);background:#ffffffd6;display:flex;align-items:center;justify-content:space-between;padding:0 40px}.company-topbar{gap:20px}.company-current{display:grid;gap:3px;min-width:0}.company-current span,.company-controls label{color:var(--muted);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.5px}.company-current strong{color:var(--ink);font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.company-controls{display:flex;align-items:center;gap:10px}.company-controls select{max-width:290px;min-width:180px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);padding:10px 12px;font:inherit;font-size:13px}.company-controls .secondary{white-space:nowrap}@media(max-width:760px){.company-topbar{height:auto;min-height:80px;flex-wrap:wrap;padding-top:12px;padding-bottom:12px}.company-controls{width:100%;flex-wrap:wrap}.company-controls label{display:none}.company-controls select{flex:1;min-width:130px}}.access-screen{--access-navy: #082e56;--access-blue: #075de4;min-height:100vh;display:grid;place-items:center;padding:30px;background:radial-gradient(circle at 82% 12%,#075de426,transparent 28%),radial-gradient(circle at 9% 90%,#075de41a,transparent 30%),#e7f1fc;color:var(--access-navy);font-family:Inter,Segoe UI,Arial,sans-serif}.access-screen *{box-sizing:border-box}.access-shell{width:min(1040px,100%);min-height:640px;display:grid;grid-template-columns:.92fr 1.08fr;overflow:hidden;border:1px solid #7ea6d25c;border-radius:28px;box-shadow:0 28px 75px #082e5629;background:#f8fbff}.access-brand-panel{position:relative;display:flex;flex-direction:column;padding:54px 48px 42px;overflow:hidden;color:#fff;background:linear-gradient(145deg,#063764,#082e56 52%,#075de4 145%)}.access-brand-panel:before,.access-brand-panel:after{content:"";position:absolute;border-radius:50%;border:1px solid #ffffff22;pointer-events:none}.access-brand-panel:before{width:310px;height:310px;right:-175px;top:-92px}.access-brand-panel:after{width:390px;height:390px;left:-245px;bottom:-220px}.access-brand,.access-brand-copy,.access-trust,.access-brand-foot{position:relative;z-index:1}.access-brand,.access-mobile-brand{display:flex;align-items:center;gap:12px;font-size:31px;font-weight:800;letter-spacing:.11em;line-height:1}.access-brand img,.access-mobile-brand img{width:48px;height:48px;object-fit:contain}.access-brand small,.access-mobile-brand small{display:block;margin-top:7px;font-size:10px;font-weight:700;letter-spacing:.37em}.access-brand-copy{margin-top:84px;max-width:360px}.access-eyebrow{display:block;margin-bottom:13px;color:#8fc8ff;font-size:12px;font-weight:800;letter-spacing:.14em}.access-brand-copy h1{margin:0 0 15px;font-size:clamp(30px,3.6vw,45px);line-height:1.07;letter-spacing:-.04em}.access-brand-copy p{margin:0;color:#cbe3fb;font-size:15px;line-height:1.6}.access-trust{display:grid;gap:12px;margin:27px 0 34px;padding:0;list-style:none}.access-trust li{display:flex;align-items:center;gap:10px;color:#d8ebff;font-size:13px}.access-trust span{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:#ffffff1c;color:#91caff;font-weight:900}.access-brand-foot{margin-top:auto;color:#8fb3d8;font-size:11px}.access-form-panel{display:grid;align-items:center;padding:48px 68px;background:#f8fcfff5}.access-form-wrap{width:min(440px,100%);margin:auto}.access-mobile-brand{display:none;color:#082e56}.access-home-link{display:inline-block;margin-bottom:24px;color:var(--access-blue);font-size:14px;font-weight:700;text-decoration:none}.access-home-link:hover{text-decoration:underline}.access-form-wrap>.access-eyebrow{color:var(--access-blue)}.access-form-wrap h2{margin:0 0 9px;color:#052541;font-size:32px;line-height:1.14;letter-spacing:-.025em}.access-intro{margin:0 0 30px;color:#587696;font-size:15px;line-height:1.55}.access-field{margin-bottom:18px}.access-field label{display:block;margin-bottom:8px;color:#153c65;font-size:14px;font-weight:750}.access-input-wrap{position:relative}.access-input-icon{position:absolute;left:17px;top:50%;transform:translateY(-50%);width:18px;color:#6484a5;font-size:19px;line-height:1;pointer-events:none}.access-field input,.access-field select{width:100%;height:54px;padding:0 50px 0 46px;border:1px solid #c4d9f1;border-radius:13px;outline:none;background:#fff;color:var(--access-navy);font:inherit;font-size:15px}.access-field select{padding-left:15px}.access-field input::placeholder{color:#8ca2ba}.access-field input:focus,.access-field select:focus{border-color:var(--access-blue);box-shadow:0 0 0 4px #075de41c}.access-toggle-password{position:absolute;right:9px;top:50%;transform:translateY(-50%);padding:8px;border:0;border-radius:8px;background:transparent;color:#577795;font-size:12px;font-weight:700;cursor:pointer}.access-toggle-password:hover{background:#edf5ff;color:var(--access-blue)}.access-submit{width:100%;height:54px;margin-top:5px;border:0;border-radius:13px;color:#fff;background:linear-gradient(95deg,#064fc5,var(--access-blue));box-shadow:0 12px 26px #075de438;font-size:15px;font-weight:800;cursor:pointer}.access-submit:hover{box-shadow:0 15px 29px #075de447}.access-submit:disabled{opacity:.68;cursor:wait}.access-trial-button{display:block;width:100%;margin-top:18px;border:1px solid #9bbce5;border-radius:13px;padding:13px 16px;background:#eef6ff;color:#0755b9;font:inherit;font-size:14px;font-weight:800;cursor:pointer}.access-trial-button:hover{background:#e1efff;border-color:#075de4}.access-trial-note{margin:8px 0 0;color:#718ba5;text-align:center;font-size:12px}.access-trial-overlay{position:fixed;inset:0;z-index:50;display:grid;place-items:center;padding:20px;background:#082e5688}.access-trial-card{position:relative;width:min(520px,100%);max-height:calc(100vh - 40px);overflow:auto;padding:30px;border-radius:20px;background:#f8fcff;box-shadow:0 25px 80px #082e564d}.access-trial-card h2{margin:8px 0;color:#052541;font-size:28px}.access-trial-card>p{margin:0 0 20px;color:#6a829a;font-size:13px;line-height:1.5}.access-trial-close{position:absolute;top:16px;right:16px;border:0;background:transparent;color:#718ba5;font-size:25px;cursor:pointer}#accessError{min-height:20px;margin:12px 0 0;color:#a72d37;font-size:12px;line-height:1.4}.access-secure-note{margin:12px 0 0;color:#718ba5;text-align:center;font-size:12px}.access-support{margin:29px 0 0;padding-top:19px;border-top:1px solid #dce9f6;color:#6a829a;text-align:center;font-size:12px;line-height:1.5}.access-screen [hidden]{display:none!important}@media(max-width:800px){.access-screen{padding:18px}.access-shell{width:min(540px,100%);min-height:0;display:block;border-radius:22px}.access-brand-panel{display:none}.access-form-panel{padding:38px 30px 34px}.access-mobile-brand{display:flex;margin-bottom:38px;font-size:26px}}@media(max-width:430px){.access-screen{padding:0;background:#f8fbff}.access-shell{min-height:100vh;border:0;border-radius:0;box-shadow:none}.access-form-panel{padding:30px 22px}.access-form-wrap h2{font-size:28px}}@media(max-height:850px){.access-screen{padding:12px}.access-shell{min-height:0}.access-brand-panel{padding:32px 36px 28px}.access-form-panel{padding:26px 46px}.access-brand-copy{margin-top:42px}.access-form-wrap h2{font-size:28px}.access-intro{margin-bottom:18px}.access-field{margin-bottom:12px}.access-field input,.access-field select{height:48px}.access-support{margin-top:12px;padding-top:10px}.access-home-link{margin-bottom:12px}}@media(max-width:800px)and (max-height:850px){.access-form-panel{padding:24px}.access-mobile-brand{margin-bottom:22px}}@media(max-width:430px){.access-screen{padding:0}}.breadcrumb{color:var(--muted);font-size:13px}.breadcrumb strong{color:var(--ink);font-size:14px;margin-left:7px}.top-actions{display:flex;gap:12px;align-items:center}.icon-btn{border:1px solid var(--line);background:#fff;width:38px;height:38px;border-radius:9px;color:#62727a}.main{padding:34px 40px 50px;max-width:1500px}.page-head{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:27px}.eyebrow{color:var(--teal);font-weight:700;font-size:12px;text-transform:uppercase;letter-spacing:1.3px;margin-bottom:6px}h1,h2,h3,p{margin-top:0}h1{font:800 29px Manrope;letter-spacing:-.9px;margin-bottom:5px}h2{font:700 18px Manrope;letter-spacing:-.4px}h3{font:700 15px Manrope}.subtle{color:var(--muted);font-size:13px}.primary{background:var(--teal);color:#fff;border:0;border-radius:8px;padding:11px 16px;font-weight:700;font-size:13px;box-shadow:0 5px 12px #0f766e29}.primary:hover{background:var(--teal-dark)}.secondary{background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:8px;padding:10px 14px;font-weight:600;font-size:13px}.danger{color:var(--red);background:var(--red-soft);border:0;border-radius:7px;padding:7px 10px;font-size:12px}.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:20px}.metric{background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px;box-shadow:0 4px 12px #17333505}.metric-top{display:flex;justify-content:space-between;color:var(--muted);font-size:12px;font-weight:600}.metric-icon{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;font-size:17px}.metric-value{font:800 24px Manrope;letter-spacing:-.8px;margin:12px 0 8px}.metric-trend{font-size:11px;color:var(--teal);font-weight:700}.metric-trend.negative{color:var(--red)}.dashboard-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:20px;margin-bottom:20px}.card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:22px}.card-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.card-head h2{margin-bottom:0}.chart-area{height:218px;display:flex;align-items:stretch;gap:14px;padding:12px 6px 0;border-bottom:1px solid var(--line)}.bar-col{flex:1;display:flex;flex-direction:column;justify-content:flex-end;gap:8px;align-items:center;min-width:0}.bar-wrap{height:175px;display:flex;align-items:flex-end;width:100%}.bar{width:100%;max-width:28px;margin:auto;background:#8fc8ff;border-radius:5px 5px 2px 2px;min-height:8px}.bar.current{background:var(--teal)}.bar-label{color:var(--muted);font-size:11px}.legend{display:flex;gap:17px;margin-top:14px;font-size:11px;color:var(--muted)}.dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:5px;background:#8fc8ff}.dot.dark{background:var(--teal)}.activity{display:grid;gap:15px}.activity-item{display:flex;justify-content:space-between;align-items:center;gap:10px}.activity-left{display:flex;gap:11px;align-items:center;min-width:0}.activity-avatar{width:32px;height:32px;border-radius:9px;background:var(--mint);color:var(--teal);display:grid;place-items:center;font-size:15px;flex-shrink:0}.activity-title{font-size:12px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.activity-meta{color:var(--muted);font-size:11px;margin-top:3px}.activity-amount{font-size:12px;font-weight:700;white-space:nowrap}.table-card{overflow:hidden;padding:0}.table-card .card-head{padding:21px 22px 13px;margin-bottom:0}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left}th{color:var(--muted);font-size:10px;letter-spacing:.6px;text-transform:uppercase;font-weight:700;padding:12px 22px;background:#fbfcfc;white-space:nowrap}td{padding:14px 22px;border-top:1px solid #eef2f1;font-size:12px;white-space:nowrap}tbody tr:hover{background:#fcfdfd}.id{color:var(--teal);font-weight:700}.status{padding:5px 8px;border-radius:5px;font-size:10px;font-weight:700}.status.paid,.status.active,.status.issued{background:var(--mint);color:var(--teal)}.status.processing,.status.unissued{background:var(--orange-soft);color:#9a6700}.status.rejected{background:var(--red-soft);color:var(--red)}.fiscal-output-options{display:flex;gap:12px;flex-wrap:wrap;padding:12px 0}.fiscal-output-options button{min-width:140px}.import-mapping-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}.import-preview{max-height:42vh;overflow:auto}#dataImportForm .field label{color:#173653;font-size:14px;font-weight:700}#dataImportError,#commitImportError,#importedCollectionError{color:#a02222;font-weight:650}@media screen{.fiscal-direct-print-pages{display:none!important}}@media print{body.fiscal-direct-print{margin:0!important;padding:0!important;height:auto!important;overflow:visible!important;background:#fff!important}body.fiscal-direct-print>:not(.fiscal-direct-print-pages){display:none!important}body.fiscal-direct-print .fiscal-direct-print-pages,body.fiscal-direct-print .fiscal-direct-print-pages *{visibility:visible!important;position:static!important;margin:0!important;padding:0!important}body.fiscal-direct-print .fiscal-direct-print-pages{display:block!important}body.fiscal-direct-print .fiscal-direct-print-pages section{display:block!important;break-after:page;overflow:hidden}body.fiscal-direct-print .fiscal-direct-print-pages section:last-child{break-after:auto}body.fiscal-direct-print .fiscal-direct-print-pages canvas{display:block!important;width:100%!important;height:100%!important}}.status.pending,.status.low{background:var(--orange-soft);color:#c26d31}.status.overdue,.status.out{background:var(--red-soft);color:var(--red)}.status.inactive{background:#eef1f1;color:#718087}.danger:disabled{opacity:.45;cursor:not-allowed}.content-page{display:none}.content-page.visible{display:block}.toolbar{display:flex;gap:9px;align-items:center}.inventory-tabs{display:flex;gap:5px;border-bottom:1px solid var(--line);margin-bottom:20px}.inventory-tab{border:0;background:transparent;color:var(--muted);padding:10px 14px 12px;font-size:13px;font-weight:700;border-bottom:2px solid transparent}.inventory-tab:hover,.inventory-tab.active{color:var(--teal);border-bottom-color:var(--teal)}.inventory-tab span{display:inline-grid;place-items:center;min-width:21px;height:20px;margin-left:5px;padding:0 5px;border-radius:10px;background:#eef4fc;color:var(--muted);font-size:11px}.inventory-tab.active span{background:var(--mint);color:var(--teal)}.detail-tabs{display:flex;gap:5px;border-bottom:1px solid var(--line);margin:-4px 0 18px}.detail-tab{border:0;background:transparent;color:var(--muted);padding:9px 12px 11px;font-size:12px;font-weight:700;border-bottom:2px solid transparent}.detail-tab:hover,.detail-tab.active{color:var(--teal);border-bottom-color:var(--teal)}.entry-head,.entry-row{grid-template-columns:1fr 1.5fr .75fr .75fr}.entry-row{font-size:12px}.entry-summary{margin-bottom:14px}.accounting-panel-hidden{display:none}.accounting-tabs{display:flex;gap:5px;border-bottom:1px solid var(--line);margin:20px 0}.accounting-tab{border:0;background:transparent;color:var(--muted);padding:10px 14px 12px;font-size:13px;font-weight:700;border-bottom:2px solid transparent}.accounting-tab:hover,.accounting-tab.active{color:var(--teal);border-bottom-color:var(--teal)}.accounting-tab span{display:inline-grid;place-items:center;min-width:21px;height:20px;margin-left:5px;padding:0 5px;border-radius:10px;background:#eef4fc;color:var(--muted);font-size:11px}.accounting-tab.active span{background:var(--mint);color:var(--teal)}.account-catalog-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}.opening-balances-form{display:grid;gap:0}.opening-balance-head,.opening-balance-row{display:grid;grid-template-columns:90px 1fr 150px 150px;gap:10px;align-items:center;padding:9px 0;border-bottom:1px solid var(--line);font-size:12px}.opening-balance-head{color:var(--muted);font-size:10px;font-weight:700;text-transform:uppercase}.opening-balance-row strong{color:var(--teal)}.opening-balance-row input{width:100%;border:1px solid var(--line);border-radius:7px;padding:8px 9px;outline:0;font-size:12px}.opening-balance-row input:focus{border-color:var(--teal);box-shadow:0 0 0 3px #0f766e14}.search{position:relative}.search input{border:1px solid var(--line);border-radius:8px;padding:10px 12px 10px 35px;width:220px;outline:0;font-size:12px}.search span{position:absolute;left:12px;top:9px;color:var(--muted)}.page-grid{display:grid;grid-template-columns:1fr 300px;gap:20px}.stat-mini{display:flex;justify-content:space-between;padding:13px 0;border-bottom:1px solid var(--line);font-size:12px}.stat-mini:last-child{border-bottom:0}.stat-mini span{color:var(--muted)}.empty{color:var(--muted);text-align:center;padding:35px 20px;font-size:13px}.modal-backdrop{position:fixed;inset:0;background:#091b1d75;display:none;place-items:center;z-index:10;padding:18px}.modal-backdrop.open{display:grid}.modal{width:min(720px,100%);max-height:calc(100vh - 36px);overflow:auto;background:#fff;border-radius:14px;box-shadow:var(--shadow)}.modal-head{padding:21px 24px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.modal-head h2{margin:0}.close{background:transparent;border:0;font-size:22px;color:var(--muted)}.modal-body{padding:22px 24px}.modal-foot{padding:16px 24px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:9px}.modal-backdrop:has(.client-editor-modal){left:246px;padding:18px;place-items:center}.client-editor-modal{width:min(1400px,100%);height:auto;max-height:calc(100vh - 36px);border-radius:14px;font-size:14px}.client-editor-modal .modal-head{padding:16px 22px}.client-editor-modal .modal-head h2{font-size:20px}.client-editor-modal .modal-body{padding:16px 22px;background:#f5f8fc;overflow:auto}.client-editor-modal .modal-foot{padding:12px 22px;background:#fff}.client-editor-modal .lookup-box{margin-bottom:14px;padding:13px 15px}.client-editor-modal .lookup-title{margin-bottom:7px}.client-editor-modal .lookup-row{gap:8px}.client-editor-modal .client-form{grid-template-columns:repeat(5,minmax(0,1fr));gap:9px 11px}.client-editor-modal .field{gap:5px}.client-editor-modal .field label{font-size:12px}.client-editor-modal .field input,.client-editor-modal .field select,.client-editor-modal .field textarea{padding:9px 11px;font-size:14px}.client-editor-modal .form-section-title{margin-top:6px;padding:9px 12px;font-size:13px}.client-editor-modal .builder-note,.client-editor-modal .dgii-note{padding:9px 11px;font-size:12px}@media(max-width:1100px)and (min-width:761px){.client-editor-modal .client-form{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-height:760px)and (min-width:1101px){.client-editor-modal .modal-body{overflow:auto}}@media(max-width:760px){.modal-backdrop:has(.client-editor-modal){left:66px;padding:9px}.client-editor-modal{max-height:calc(100vh - 18px)}.client-editor-modal .modal-body{padding:10px}.client-editor-modal .client-form{grid-template-columns:1fr}.client-editor-modal .form-section-title,.client-editor-modal .field.full{grid-column:auto}}.print-preview-modal{width:min(900px,100%)}.quote-print-footer{border-top:1px solid #dbe3eb;margin-top:28px;padding-top:12px;color:#62748a;font-size:11px}.quote-print-note{margin:12px 0;max-width:420px}.quote-print-note p{white-space:normal;overflow-wrap:anywhere}@media print{.quote-print-document thead{display:table-header-group}.quote-print-document tr,.quote-print-document .print-bottom{break-inside:avoid}}.print-document{background:#fff;color:#17262b;padding:12px 6px 4px;font-size:12px}.print-document-header{display:flex;justify-content:space-between;gap:28px;padding-bottom:20px;border-bottom:2px solid #153e78;line-height:1.55}.print-document-header h2{margin:2px 0 4px;font-size:19px}.print-brand{width:100px;height:24px;background:url(/jelvara-wordmark.png) center / contain no-repeat;filter:brightness(0) saturate(100%);color:transparent;font-size:0}.print-document-meta{min-width:185px;display:grid;gap:4px;text-align:right;color:var(--muted)}.print-document-meta strong{color:var(--ink);font:800 14px Manrope}.print-document-meta span{font-size:11px}.print-client{display:grid;grid-template-columns:1.5fr 1fr 1.3fr 1fr;gap:12px;padding:18px 0;border-bottom:1px solid var(--line)}.print-client div{display:grid;gap:4px}.print-client strong{color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.5px}.print-client span{font-weight:600}.print-table{margin-top:20px}.print-table th,.print-table td{padding:10px 8px;font-size:11px}.print-table th{background:#f4f8f7;color:var(--muted)}.print-table td{white-space:normal}.print-table .numeric{text-align:right;white-space:nowrap}.print-bottom{display:flex;justify-content:space-between;gap:30px;margin-top:24px}.print-note{color:var(--muted);font-size:11px;line-height:1.6}.print-totals{width:255px}.print-totals div{display:flex;justify-content:space-between;padding:5px 0;color:var(--muted)}.print-totals .grand{margin-top:5px;padding-top:10px;border-top:2px solid var(--ink);color:var(--ink);font:800 15px Manrope}@media print{@page{size:A4;margin:12mm}body *{visibility:hidden!important}#modalBackdrop,#modalBackdrop *{visibility:visible!important}#modalBackdrop{position:absolute;inset:0;display:block;padding:0;background:#fff}.print-preview-modal{width:100%;max-height:none;overflow:visible;box-shadow:none;border-radius:0}.print-preview-modal .modal-head,.print-preview-modal .modal-foot{display:none}.print-preview-modal .modal-body,.print-document{padding:0}}.invoice-workspace-modal{width:min(1080px,100%)}.invoice-workspace-modal .modal-body{background:#f3f7fc}.modal-backdrop:has(.invoice-reference-modal){left:246px;padding:0;background:#f4f7fc}.invoice-reference-modal{width:100%;height:100vh;max-height:100vh;border-radius:0;box-shadow:none;display:flex;flex-direction:column}.invoice-reference-modal .modal-head{flex:0 0 auto;padding:17px 30px;background:#fff}.invoice-reference-modal .modal-head h2{color:#102448;font-size:28px;letter-spacing:-.035em}.invoice-reference-modal .modal-body{flex:1 1 auto;min-height:0;overflow-y:auto;padding:20px 30px 28px;background:#f4f7fc}.invoice-reference-modal .modal-foot{flex:0 0 auto;padding:13px 30px;background:#fff}.invoice-reference-form{display:grid;gap:13px;max-width:1420px;margin:0 auto}.invoice-reference-card,.invoice-reference-modal .invoice-reference-products,.invoice-reference-modal .invoice-reference-totals{background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 2px 9px #0f2a5309;padding:17px 20px}.invoice-reference-heading{display:flex;align-items:center;gap:12px;margin-bottom:15px}.invoice-reference-heading h3{margin:0;color:#152947;font-size:16px}.invoice-reference-heading p{margin:3px 0 0;color:#697a8e;font-size:12px}.invoice-reference-icon{flex:0 0 29px;height:29px;display:grid;place-items:center;border-radius:6px;background:#e8f2ff;color:#075ac8;font-size:18px;font-weight:800}.invoice-reference-client-fields{display:grid;grid-template-columns:minmax(0,2fr) minmax(180px,1fr);gap:16px}.invoice-reference-fiscal{border-color:#83b0ec;background:#f8fbff}.invoice-reference-fiscal-fields{display:grid;grid-template-columns:minmax(0,1.5fr) repeat(2,minmax(150px,.8fr));gap:16px}.invoice-reference-pending{margin-left:auto;padding:7px 11px;border-radius:100px;background:#fff3df;color:#875316;font-size:11px;font-weight:800;white-space:nowrap}.invoice-reference-ready,.invoice-reference-testing{margin-left:auto;padding:7px 11px;border-radius:100px;font-size:11px;font-weight:800;white-space:nowrap}.invoice-reference-ready{background:#def7ec;color:#087443}.invoice-reference-testing{background:#e5efff;color:#1457a6}.invoice-reference-fiscal-note{margin:12px 0 0;padding:9px 11px;border-radius:6px;background:#eaf3ff;color:#365b86;font-size:11px}.invoice-reference-modal .field label{color:#344760;font-size:12px}.invoice-reference-modal .field input,.invoice-reference-modal .field select{background:#fff;border-color:#ccd7e5;border-radius:5px;font-size:13px;min-height:39px}.invoice-reference-modal .field input[readonly]{background:#f5f7fa;color:#5d6c7f}.invoice-reference-modal .invoice-reference-products .builder-section-head{margin-bottom:10px}.invoice-reference-modal .invoice-reference-products .eyebrow{display:none}.invoice-reference-modal .invoice-reference-products h3{color:#152947;font-size:16px}.invoice-reference-modal .invoice-product-tools input{width:min(280px,32vw)}.invoice-reference-modal .invoice-lines{margin-top:12px;border-color:#e3eaf1;border-radius:5px}.invoice-reference-modal .invoice-product-head{background:#edf2f7;color:#364c67}.invoice-reference-modal .invoice-product-line{min-height:48px}.invoice-reference-bottom{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.8fr);gap:13px;align-items:start}.invoice-reference-modal .invoice-reference-totals{position:static}.invoice-reference-modal .invoice-reference-totals .eyebrow{display:none}.invoice-reference-modal .invoice-reference-totals h3{color:#152947;font-size:16px}.invoice-reference-modal .invoice-reference-totals .invoice-summary{width:100%;padding-top:0}.invoice-reference-modal .invoice-reference-totals .invoice-summary div{font-size:13px;padding:4px 0}.invoice-reference-modal .invoice-reference-totals .invoice-summary .total{margin-top:8px;padding:12px 10px;background:#eaf2ff;border-top:0;color:#075ac8;font-size:17px}.invoice-reference-modal .builder-note{font-size:11px}.invoice-reference-modal .modal-head{padding:10px 22px}.invoice-reference-modal .modal-head h2{font-size:23px}.invoice-reference-modal .modal-body{padding:11px 22px 14px}.invoice-reference-modal .modal-foot{padding:9px 22px}.invoice-reference-form{gap:8px}.invoice-reference-card,.invoice-reference-modal .invoice-reference-products,.invoice-reference-modal .invoice-reference-totals{padding:10px 13px}.invoice-reference-heading{gap:8px;margin-bottom:8px}.invoice-reference-icon{flex-basis:24px;height:24px;font-size:15px}.invoice-reference-client-fields,.invoice-reference-fiscal-fields{gap:9px}.invoice-reference-modal .field{gap:3px}.invoice-reference-modal .field input,.invoice-reference-modal .field select{min-height:33px;padding-top:5px;padding-bottom:5px}.invoice-reference-fiscal-note{margin-top:7px;padding:6px 9px}.invoice-reference-modal .invoice-reference-products .builder-section-head{margin-bottom:6px}.invoice-reference-modal .invoice-lines{margin-top:7px}.invoice-reference-modal .invoice-product-line{min-height:40px}.invoice-reference-bottom{gap:8px}@media(min-width:1101px){.invoice-reference-form{grid-template-columns:minmax(0,1.6fr) minmax(290px,.75fr);align-items:start}.invoice-reference-client{grid-column:1;grid-row:1}.invoice-reference-fiscal{grid-column:2;grid-row:1}.invoice-reference-products{grid-column:1;grid-row:2}.invoice-reference-bottom{grid-column:2;grid-row:2;grid-template-columns:1fr}.invoice-reference-fiscal-fields{grid-template-columns:minmax(0,1.25fr) minmax(150px,1fr)}}.invoice-reference-modal [hidden]{display:none!important}@media(max-width:1100px){.invoice-reference-fiscal-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.invoice-reference-fiscal-fields .field:first-child{grid-column:1 / -1}}@media(max-width:760px){.modal-backdrop:has(.invoice-reference-modal){left:66px}.invoice-reference-modal .modal-head,.invoice-reference-modal .modal-foot{padding:13px 15px}.invoice-reference-modal .modal-head h2{font-size:22px}.invoice-reference-modal .modal-body{padding:13px}.invoice-reference-client-fields,.invoice-reference-fiscal-fields,.invoice-reference-bottom{grid-template-columns:1fr}.invoice-reference-fiscal-fields .field:first-child{grid-column:auto}.invoice-reference-heading{flex-wrap:wrap}.invoice-reference-pending,.invoice-reference-ready,.invoice-reference-testing{margin-left:0}.invoice-reference-modal .invoice-reference-products .builder-section-head{align-items:flex-start;flex-direction:column}.invoice-reference-modal .invoice-product-tools input{width:auto}}.invoice-builder{display:grid;gap:16px}.invoice-builder-head{display:grid;grid-template-columns:1.45fr 1.2fr .85fr .85fr;gap:12px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:15px}.note-reference-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px;padding:13px 15px;background:#fff8ed;border:1px solid #f1d7a9;border-radius:10px}.credit-note-modal{width:min(1180px,100%)}.credit-note-modal .modal-body{background:#edf4fb}.journal-entry-modal{width:min(1080px,100%)}.journal-entry-modal .modal-body{background:#f5f6fb;padding:18px}.entry-journal-form{color:#163a66}.journal-subtitle{margin:0 0 16px;color:#294f7b;font-size:12px}.journal-card{background:#fff;border:1px solid #dce2ee;border-radius:8px;padding:14px 12px 0;margin-bottom:12px;overflow:hidden}.journal-card h3{margin:0 0 14px;font-size:17px;font-weight:500;color:#1b3d6b}.journal-basic-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;align-items:start}.journal-observations{grid-column:3;grid-row:1 / span 2}.journal-observations textarea{min-height:78px;resize:vertical}.journal-entry-modal .field label{color:#294f7b}.journal-entry-modal .field input,.journal-entry-modal .field select,.journal-entry-modal .field textarea{border-color:#c9d5e8;background:#fff;color:#23466e}.journal-entry-modal .field input:disabled{background:#f2f5fa;color:#a1afc4}.journal-table{overflow-x:auto;margin:0 -12px}.journal-head,.journal-line{min-width:940px;display:grid;grid-template-columns:17px 22px 1.35fr 1fr .72fr 1fr .68fr .68fr 22px;gap:10px;align-items:center;padding:9px 10px}.journal-head{background:#f7f8fb;border-top:1px solid #edf0f5;border-bottom:1px solid #e1e6ef;color:#244b78;font-size:10px}.journal-line{border-bottom:1px solid #edf0f5}.journal-line select,.journal-line input{width:100%;min-width:0;height:29px;border:1px solid #c9d5e8;border-radius:6px;background:#fff;color:#23466e;padding:5px 7px;font-size:11px;outline:0}.journal-line select:focus,.journal-line input:focus{border-color:#5c87bd;box-shadow:0 0 0 2px #3f70ac1f}.journal-handle{color:#a2a9b7;letter-spacing:-2px;font-size:14px}.journal-index{color:#214a7b;font-size:12px}.icon-button{border:0;background:transparent;color:#ef6a60;font-size:16px;padding:3px}.link-button{border:0;background:transparent;color:#168d87;padding:11px 0 13px;font-size:11px}.journal-total-row,.journal-difference{display:grid;grid-template-columns:1fr 110px 110px;gap:12px;justify-content:end;padding:12px 20px;border-top:1px solid #e7eaf0;text-align:right;font-size:11px}.journal-total-row strong{color:#1e324d;font-weight:500}.journal-difference{color:#ff655f;padding-top:10px;padding-bottom:12px}.journal-difference strong{color:#ff655f;font-weight:500}.journal-difference.balanced,.journal-difference.balanced strong{color:#158477}.journal-required{color:#355c8c;font-size:10px;margin:4px 0 0}.journal-entry-modal .modal-foot{background:#f5f6fb;border-top-color:#dce2ee}.journal-entry-modal .modal-foot button:disabled{opacity:.4;cursor:not-allowed}.credit-note-form{display:flex;flex-direction:column;gap:14px}.credit-note-toolbar{display:grid;grid-template-columns:1.2fr 1.8fr;gap:14px;padding:14px;background:#dceafa;border:1px solid #b5cde8;border-radius:9px}.credit-note-identity,.credit-note-client,.credit-note-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;align-items:end}.credit-note-client{grid-template-columns:.8fr 1.7fr}.credit-note-box{padding:14px;background:#f8fbff;border:1px solid #c5d9ee;border-radius:9px}.credit-note-box-title{margin-bottom:10px;color:#355b82;font-size:13px;font-weight:800}.credit-note-grid{grid-template-columns:repeat(4,1fr)}.credit-note-grid .field.full{grid-column:1 / -1}.credit-note-modal .field label{font-size:16px;font-weight:750;color:#183653;line-height:1.4}.credit-note-modal .field input,.credit-note-modal .field select,.credit-note-modal .field textarea{font-size:15px;color:#172f46;min-height:44px}.credit-note-modal .credit-note-box-title{font-size:16px;color:#183653}.credit-note-modal .check-field{font-size:15px;font-weight:650;color:#183653}.credit-note-modal .field:has([name=noteReason]) label{font-size:17px;font-weight:800;color:#103c69}.credit-note-modal [name=noteReason]{min-height:96px;padding:12px 14px;line-height:1.5;font-size:16px!important;background:#fff;border:2px solid #6d9bc6;resize:vertical}.credit-note-modal [name=noteReason]::placeholder{color:#52677c;opacity:1}.check-field{display:flex;align-items:center;gap:7px;min-height:38px;color:#304860;font-size:12px}.check-field input{width:15px;height:15px;accent-color:#1476bd}.form-section-title{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-top:8px;padding:10px 12px;border:1px solid #d5e4f2;border-radius:8px;background:linear-gradient(90deg,#edf6ff,#f8fbff);color:#1f4e78;font-size:12px;font-weight:800;letter-spacing:.02em}.form-section-title small{color:#71869b;font-size:10px;font-weight:500;letter-spacing:0}.credit-note-tabs{display:flex;gap:2px;overflow-x:auto;padding:5px 5px 0;background:#cfe1f4;border:1px solid #b5cde8;border-bottom:0;border-radius:9px 9px 0 0}.credit-note-tab{border:0;border-radius:7px 7px 0 0;padding:10px 13px;background:transparent;color:#45617c;cursor:pointer;font-size:12px;white-space:nowrap}.credit-note-tab.active{background:#f8fbff;color:#176aa8;font-weight:800}.credit-note-detail-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.credit-lines{overflow-x:auto;border:1px solid #c5d9ee;border-radius:7px;background:#fff}.credit-line-head,.credit-line-row{display:grid;grid-template-columns:.65fr 2fr .9fr .9fr .9fr 1fr 26px;align-items:center;gap:8px;min-width:760px;padding:8px 10px}.credit-line-head{background:#dceafa;color:#49627c;font-size:10px;font-weight:800;text-transform:uppercase}.credit-line-row{border-top:1px solid #e5edf5;color:#21374d;font-size:12px}.credit-line-row small{display:block;color:#7890a6;font-size:10px}.credit-line-row input{width:100%;min-width:0;padding:7px;border:1px solid #c8d7e5;border-radius:5px;background:#fff}.credit-line-row .credit-billed{background:#edf2f7;color:#60748a}.credit-line-row button{border:0;background:transparent;color:#b64e48;cursor:pointer;font-size:20px}.credit-note-bottom{display:grid;grid-template-columns:1.5fr .8fr;gap:15px;padding:14px;background:#f8fbff;border:1px solid #c5d9ee;border-radius:9px}.credit-note-bottom .invoice-summary{margin:0}.invoice-builder-grid{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:16px;align-items:start}.invoice-builder-main,.invoice-builder-summary{background:#fff;border:1px solid var(--line);border-radius:10px;padding:16px}.invoice-builder-summary{position:sticky;top:0}.builder-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.builder-section-head h3{margin:0}.invoice-product-tools{display:flex;align-items:center;gap:7px}.invoice-product-tools input{width:220px;border:1px solid #dce5e3;border-radius:7px;padding:9px 10px;outline:0;font-size:12px}.invoice-product-tools input:focus{border-color:var(--teal);box-shadow:0 0 0 3px #0b63ce1a}.invoice-product-head,.invoice-product-line{grid-template-columns:minmax(190px,1.7fr) .7fr .85fr .75fr .9fr 28px}.invoice-reference-modal .invoice-lines{overflow-x:auto}.invoice-reference-modal .invoice-product-head,.invoice-reference-modal .invoice-product-line{display:grid;grid-template-columns:minmax(180px,1fr) 76px 112px 100px 116px 32px;gap:6px;min-width:662px;padding:7px 9px}.invoice-reference-modal .invoice-product-line>*{min-width:0}.invoice-reference-modal .invoice-product-line .line-tax-flag{display:block;white-space:nowrap}.invoice-reference-modal .invoice-product-line .line-total{white-space:nowrap;text-align:right}.invoice-reference-modal .invoice-product-line>button{width:30px;height:30px;padding:0;border:1px solid #f1b5b5;border-radius:6px;background:#fee8e8;color:#b42323;font-size:20px;line-height:1;cursor:pointer}.invoice-reference-modal .invoice-product-line>button:hover{background:#fbd0d0;border-color:#df8585}.line-tax-flag{color:var(--teal);font-size:11px;font-weight:700}.builder-note{margin-top:15px;padding:10px;border-radius:7px;background:#f0f6ff;color:var(--muted);font-size:11px;line-height:1.45}.company-user-error{grid-column:1 / -1;min-height:18px;margin:8px 0 0;color:#a32920;font-size:12px;line-height:1.45}.company-role-error{min-height:18px;margin:8px 0 0;color:#a32920;font-size:12px;line-height:1.45}#rfceResult{display:block;margin-top:12px;font-size:13px;overflow-wrap:anywhere;user-select:text}#rfceResult.rfce-error{background:var(--red-soft);color:#9f2f2b;border:1px solid #efc4c1}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:15px}#purchaseCreditForm>.form-grid>.builder-note{grid-column:1 / -1;margin-top:0}.field{display:grid;gap:6px}.field.full{grid-column:1 / -1}.field label{font-size:11px;color:var(--muted);font-weight:700}.field input,.field select,.field textarea{width:100%;border:1px solid #dce5e3;background:#fcfdfd;border-radius:7px;outline:0;padding:10px 11px;font-size:13px;color:var(--ink)}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--teal);box-shadow:0 0 0 3px #0b63ce1a}.invoice-lines{border:1px solid var(--line);border-radius:8px;overflow:hidden;margin-top:16px}.line-head,.line-row{display:grid;grid-template-columns:1.4fr .65fr .8fr .8fr 30px;gap:8px;align-items:center;padding:9px 11px}.line-head{color:var(--muted);background:#f7f9f8;font-size:10px;text-transform:uppercase;font-weight:700}.line-row{border-top:1px solid var(--line)}.line-row select,.line-row input{border:1px solid #dce5e3;border-radius:5px;padding:7px;font-size:12px;min-width:0}.line-total{font-size:12px;font-weight:700;text-align:right}.remove-line{border:0;background:transparent;color:var(--red);font-size:17px}.invoice-summary{margin-left:auto;width:230px;padding-top:15px}.invoice-summary div{display:flex;justify-content:space-between;margin:7px 0;font-size:12px;color:var(--muted)}.invoice-summary .total{color:var(--ink);border-top:1px solid var(--line);padding-top:10px;font-size:15px;font-weight:800}.settings-grid{display:grid;grid-template-columns:230px 1fr;gap:20px}.numbering-ncf{display:grid;grid-template-columns:48px 1fr;gap:6px;align-items:center}.numbering-ncf span{padding:10px 8px;border:1px solid var(--line);border-radius:7px;background:#f7f9f8;color:var(--teal);font-weight:800;font-size:12px;text-align:center}.settings-subsection{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}.settings-nav button{border:0;background:transparent;text-align:left;padding:11px;border-radius:7px;display:block;width:100%;color:var(--muted);font-size:13px}.settings-nav button.active{background:var(--mint);color:var(--teal);font-weight:700}.toast{position:fixed;right:25px;bottom:24px;background:#123b72;color:#fff;border-radius:8px;padding:12px 16px;font-size:13px;box-shadow:var(--shadow);transform:translateY(20px);opacity:0;transition:.25s;pointer-events:none;z-index:20}.toast.show{transform:translateY(0);opacity:1}.lookup-box{background:#f0f7ff;border:1px solid #d5e6fa;border-radius:10px;padding:15px;margin-bottom:20px}.lookup-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:12px;font-size:13px}.lookup-row{display:flex;gap:8px}.lookup-row input{flex:1;min-width:0;border:1px solid #c8daf0;border-radius:7px;padding:10px 11px;outline:0;background:#fff;font-size:13px}.lookup-row input:focus{border-color:var(--teal);box-shadow:0 0 0 3px #0b63ce1a}.lookup-row button:disabled{opacity:.6;cursor:wait}.dgii-note{color:var(--muted);font-size:11px;line-height:1.5;margin-top:10px}.dgii-note a{color:var(--teal);font-weight:700}.dgii-result-list{display:grid;gap:7px;margin-top:12px}.dgii-result{width:100%;border:1px solid #d6e8e3;background:#fff;border-radius:8px;padding:10px;display:flex;justify-content:space-between;align-items:center;gap:10px;text-align:left;color:var(--ink)}.dgii-result:hover{border-color:var(--teal);background:#f5f9ff}.dgii-result strong,.dgii-result small{display:block}.dgii-result strong{font-size:12px}.dgii-result small{color:var(--muted);font-size:11px;margin-top:3px}.dgii-result .secondary{padding:6px 8px;flex-shrink:0}.hidden{display:none!important}.table-actions{display:flex;flex-wrap:wrap;gap:6px}.modal-backdrop:has(.purchase-document-modal){left:246px;padding:18px;place-items:center}.purchase-document-modal{width:min(1400px,100%);max-width:none;height:auto;max-height:calc(100vh - 36px);border-radius:14px;box-sizing:border-box;display:flex;flex-direction:column;overflow:hidden;zoom:1;font-size:14px}.purchase-document-modal .modal-head{padding:12px 20px;flex:0 0 auto}.purchase-document-modal .modal-head h2{font-size:20px}.purchase-document-modal .modal-body{background:#f4f6fb;padding:14px 18px;flex:1 1 auto;min-height:0;overflow:auto}.purchase-document-modal .modal-foot{padding:10px 20px}.purchase-document-sheet{background:#fff;border:1px solid #dce4ef;border-radius:8px;padding:14px 18px}.purchase-document-header{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;padding-bottom:6px;border-bottom:1px solid #e1e6ee}.purchase-company{display:grid;gap:3px;color:#53647a;font-size:13px}.purchase-company strong{color:#234d7c;font-size:16px}.purchase-document-number{display:grid;gap:5px;justify-items:end;color:#234d7c;font-size:14px;text-align:right}.purchase-check{color:#53647a;font-size:13px;font-weight:600}.purchase-check input{accent-color:#0b63ce;margin-right:6px}.purchase-party-grid{display:grid;grid-template-columns:1.35fr .9fr 1.05fr .9fr 1fr;gap:5px 10px;padding:7px 0 5px;border-bottom:1px solid #e1e6ee}.purchase-document-sheet .field{gap:3px}.purchase-document-sheet .field input,.purchase-document-sheet .field select{padding:8px 10px;font-size:14px}.purchase-party-grid .field:nth-child(1){grid-column:span 2}.purchase-party-grid .field label,.purchase-amounts .field label{color:#53647a;font-size:12px}.purchase-hidden-mode{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}.purchase-amounts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:5px 0}.purchase-check-grid{display:flex;flex-wrap:wrap;gap:6px 14px;padding:2px 0 5px;color:#53647a;font-size:11px}.purchase-posting-note{display:none}.purchase-posting-note .posting-icon{display:grid;place-items:center;width:18px;height:18px;flex:0 0 18px;border-radius:50%;background:#0b63ce;color:#fff;font-weight:800}.purchase-line-modern{grid-template-columns:minmax(170px,2fr) .65fr .85fr .7fr .7fr .9fr 25px!important;min-width:760px}.purchase-line-modern .purchase-discount{min-width:0;width:100%}.purchase-advanced-606{border-top:1px solid #e1e6ee;padding:7px 0}.purchase-advanced-606 summary{cursor:pointer;color:#0b63ce;font-size:13px;font-weight:700;list-style:none}.purchase-advanced-606 summary::-webkit-details-marker{display:none}.purchase-advanced-606 summary:before{content:"＋";margin-right:6px}.purchase-advanced-606[open] summary:before{content:"−"}.purchase-advanced-grid{margin-top:8px}.purchase-lines-title{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:5px 0 4px}.purchase-lines-title h3{margin:2px 0 0;color:#234d7c;font-size:15px}.purchase-document-lines{overflow:auto;max-height:min(28vh,260px);margin-top:3px}.purchase-document-lines .line-head,.purchase-document-lines .line-row{padding:8px 10px;font-size:13px}.purchase-document-lines .empty{padding:12px 14px;font-size:13px}.purchase-line-head,.purchase-line{grid-template-columns:minmax(180px,2fr) .7fr .9fr .7fr .95fr 25px;min-width:650px}.purchase-line-tax{color:#53647a;font-size:13px;text-align:center}.purchase-add-line{margin-top:4px}.purchase-bottom{display:grid;grid-template-columns:1fr;gap:6px;align-items:start;padding-top:4px}.purchase-notes{display:none}.purchase-notes textarea{border:1px solid #ccd8e6;border-radius:6px;padding:5px;resize:vertical;min-height:30px;font:inherit}.purchase-bottom .invoice-summary div{margin:4px 0;font-size:13px}.purchase-bottom .invoice-summary div:nth-child(3){display:none}.purchase-bottom .invoice-summary .total{padding-top:7px;font-size:16px}@media(max-width:760px){.modal-backdrop:has(.purchase-document-modal){left:66px;padding:9px}.purchase-document-modal{max-height:calc(100vh - 18px)}.purchase-document-header,.purchase-lines-title,.purchase-bottom{display:block}.purchase-document-number{justify-items:start;text-align:left;margin-top:12px}.purchase-party-grid,.purchase-amounts{grid-template-columns:1fr}.purchase-party-grid .field:nth-child(1){grid-column:auto}.purchase-bottom .invoice-summary{margin-top:18px}}@media(max-height:760px)and (min-width:761px){.purchase-document-modal .modal-body{overflow:auto}}@media(max-width:1100px){.metric-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid,.page-grid{grid-template-columns:1fr}}@media(max-width:760px){.sidebar{width:66px;padding:20px 9px}.brand{padding:0 6px 24px}.brand-name,.nav-label,.nav button span:not(.nav-icon),.sidebar-bottom{display:none}.nav button{justify-content:center;padding:11px 0}.topbar{padding:0 20px}.main{padding:25px 20px 40px}.page-head{align-items:flex-start;gap:15px;flex-direction:column}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.line-head,.line-row{grid-template-columns:1.1fr .5fr .7fr .7fr 25px;padding-left:7px;padding-right:7px}.entry-head,.entry-row{grid-template-columns:1.1fr 1.2fr .7fr .7fr}.invoice-builder-head,.invoice-builder-grid,.note-reference-grid{grid-template-columns:1fr}.invoice-builder-summary{position:static}.invoice-product-head{display:none}.invoice-product-line{grid-template-columns:1fr .55fr .75fr 25px}.invoice-product-line .line-tax-flag{display:none}.invoice-product-tools{width:100%;flex-wrap:wrap}.invoice-product-tools input{flex:1;min-width:150px}.metric-grid{gap:10px}.metric{padding:15px}.lookup-row,.lookup-title{flex-direction:column}}@media(max-width:760px){.credit-note-toolbar,.credit-note-bottom,.credit-note-identity,.credit-note-client,.credit-note-grid{grid-template-columns:1fr}.credit-note-grid .field.full{grid-column:auto}.credit-note-detail-head{align-items:flex-start;flex-direction:column}}@media(max-width:760px){.journal-basic-grid{grid-template-columns:1fr}.journal-observations{grid-column:auto;grid-row:auto}.journal-entry-modal .modal-body{padding:12px}.journal-total-row,.journal-difference{grid-template-columns:1fr 95px 95px;padding-left:8px;padding-right:8px}}@media(max-width:760px){.opening-balance-head,.opening-balance-row{grid-template-columns:65px 1fr 100px 100px;gap:6px;font-size:11px;min-width:480px}.opening-balances-form{overflow-x:auto}}.metric-icon[style*="#dff6ef"]{background:#e3f1ff!important;color:#0b63ce!important}.metric-icon[style*="#0f766e"]{color:#0b63ce!important}.link-button{color:#0b67c9}.journal-difference.balanced,.journal-difference.balanced strong{color:#0b62c7}.dgii-result{border-color:#d4e4f6}.quote-hero{display:flex;justify-content:space-between;gap:24px;align-items:center;padding:24px 28px;margin-bottom:20px;border-radius:16px;background:linear-gradient(110deg,#0d2342,#155ca2);color:#fff;overflow:hidden;position:relative}.quote-hero:after{content:"";position:absolute;width:260px;height:260px;border-radius:50%;border:1px solid rgba(255,255,255,.13);right:100px;top:-160px;box-shadow:0 0 0 28px #ffffff0a,0 0 0 56px #ffffff06}.quote-hero-copy{position:relative;z-index:1;max-width:680px}.quote-hero .eyebrow{color:#9fd0ff}.quote-hero h2{font-size:24px;margin:0 0 8px;color:#fff}.quote-hero p{color:#d9e8fb;margin:0 0 16px;font-size:13px}.quote-hero-steps{display:flex;gap:18px;color:#bcd6f4;font-size:12px}.quote-hero-steps b{color:#fff;margin-right:5px}.quote-hero-badge{min-width:150px;display:grid;gap:4px;align-content:center;justify-items:center;padding:18px;border:1px solid rgba(255,255,255,.18);border-radius:14px;background:#ffffff1a;position:relative;z-index:1}.quote-hero-badge span{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#8fc8ff;color:#0d2342;font-size:18px;font-weight:800}.quote-hero-badge strong{font-size:13px}.quote-hero-badge small{color:#c9dcf5;font-size:11px}.quote-table-card{padding:0;overflow:hidden}.quote-toolbar{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:22px;border-bottom:1px solid var(--line)}.quote-toolbar h2{margin:0 0 4px}.quote-filters{display:flex;gap:8px;align-items:center}.search-field{display:flex;align-items:center;gap:7px;border:1px solid var(--line);background:#fff;border-radius:8px;padding:0 10px}.search-field span{color:#7a8ca2;font-size:18px}.search-field input{width:195px;border:0;outline:0;padding:10px 0;font-size:12px}.quote-filters select{border:1px solid var(--line);border-radius:8px;padding:10px;color:var(--ink);background:#fff;font-size:12px}.quote-table td small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.quote-table td{vertical-align:middle}.quote-actions{display:flex;gap:6px;justify-content:flex-end;align-items:center}.icon-action{width:30px;height:30px;border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--teal);font-weight:800}.icon-action:hover{background:var(--mint)}.quote-actions .secondary{padding:7px 9px;font-size:11px}.quote-empty{text-align:center;padding:58px 22px 64px}.quote-empty-icon{width:52px;height:52px;display:grid;place-items:center;margin:0 auto 14px;border-radius:15px;background:#e3f1ff;color:#0b63ce;font-size:26px}.quote-empty h3{margin-bottom:7px}.quote-empty p{color:var(--muted);font-size:13px;margin-bottom:18px}.quote-workspace-modal{width:min(1120px,calc(100vw - 28px));max-width:none}.quote-workspace-modal .modal-body{background:#f7f9fc}.quote-builder{display:grid;gap:18px}.quote-builder-head{display:grid;grid-template-columns:1.5fr .75fr .75fr;gap:12px;padding:16px;border:1px solid var(--line);border-radius:12px;background:#fff}.quote-builder-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(250px,.65fr);gap:16px}.quote-builder-main,.quote-builder-summary{border:1px solid var(--line);border-radius:12px;background:#fff;padding:18px}.quote-builder-summary{align-self:start;position:sticky;top:0}.quote-builder-main .builder-section-head,.quote-builder-summary .builder-section-head{margin-bottom:14px}.quote-lines{overflow-x:auto}.quote-line{display:grid;grid-template-columns:minmax(190px,2fr) .7fr .7fr .95fr .85fr 28px;align-items:center;gap:8px;min-width:700px;padding:9px 10px;border-bottom:1px solid #edf1f6;font-size:12px}.quote-line-head{color:var(--muted);background:#f8fafc;font-weight:700;font-size:11px;border:1px solid #edf1f6;border-radius:7px 7px 0 0}.quote-line select,.quote-line input{width:100%;min-width:0;border:1px solid #d8e1ec;border-radius:6px;padding:8px;background:#fff;color:var(--ink);outline:0;font-size:12px}.quote-line select:focus,.quote-line input:focus{border-color:var(--teal);box-shadow:0 0 0 3px #0b63ce1a}.quote-line-sku{color:var(--muted);font-size:11px}.quote-line-total{text-align:right;white-space:nowrap}.remove-quote-line{border:0;background:#fff0ef;color:var(--red);width:26px;height:26px;border-radius:6px;font-size:17px}.quote-builder-notes{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px}.quote-builder-notes textarea{min-height:78px;resize:vertical}.input-suffix{position:relative}.input-suffix input{width:100%;padding-right:42px}.input-suffix span{position:absolute;right:10px;top:9px;color:var(--muted);font-size:11px}.quote-summary{display:grid;gap:10px;margin-top:12px}.quote-summary>div{display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:12px}.quote-summary>div strong{color:var(--ink)}.quote-summary .total{border-top:1px solid var(--line);padding-top:13px;margin-top:3px;color:var(--ink);font-size:14px}.quote-summary .total strong{color:var(--teal);font:800 22px Manrope}.quote-detail{display:grid;gap:16px}.quote-detail-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;padding-bottom:16px;border-bottom:1px solid var(--line)}.quote-detail-head h3{font-size:22px;margin:0 0 5px}.quote-detail-meta{display:grid;grid-template-columns:1.5fr .6fr .8fr;gap:10px}.quote-detail-meta>div{display:grid;gap:5px;padding:12px;border:1px solid var(--line);border-radius:9px;background:#f8fafc}.quote-detail-meta span{color:var(--muted);font-size:11px}.quote-detail-meta strong{font-size:13px}.quote-detail-table{border:1px solid var(--line);border-radius:9px;overflow:hidden}.quote-detail-table>div{display:grid;grid-template-columns:2fr .6fr .8fr .9fr;gap:12px;align-items:center;padding:11px 13px;border-bottom:1px solid #edf1f6;font-size:12px}.quote-detail-table>div:last-child{border-bottom:0}.quote-detail-table-head{color:var(--muted);background:#f8fafc;font-size:11px!important;font-weight:700}.quote-detail-table span:first-child{display:grid;gap:3px}.quote-detail-table small{color:var(--muted);font-size:10px}.quote-detail-note{padding:12px 14px;border-left:3px solid #8fc8ff;background:#f5f9ff;border-radius:0 8px 8px 0;font-size:12px}.quote-detail-note p{margin:5px 0 0;color:var(--muted);line-height:1.5}@media(max-width:850px){.quote-builder-head,.quote-builder-grid,.quote-builder-notes{grid-template-columns:1fr}.quote-builder-summary{position:static}.quote-toolbar,.quote-filters{align-items:stretch;flex-direction:column}.quote-filters,.search-field,.search-field input,.quote-filters select{width:100%}.quote-hero{align-items:flex-start;flex-direction:column}.quote-hero-badge{width:100%}.quote-detail-meta{grid-template-columns:1fr}}.delivery-hero{display:flex;justify-content:space-between;gap:24px;align-items:center;padding:24px 28px;margin-bottom:20px;border-radius:16px;background:linear-gradient(110deg,#0d2342,#155ca2);color:#fff;overflow:hidden;position:relative}.delivery-hero:after{content:"";position:absolute;width:250px;height:250px;border-radius:50%;border:1px solid rgba(255,255,255,.13);right:120px;top:-155px;box-shadow:0 0 0 28px #ffffff0a,0 0 0 56px #ffffff06}.delivery-hero-copy{position:relative;z-index:1;max-width:700px}.delivery-hero .eyebrow{color:#9fd0ff}.delivery-hero h2{color:#fff;font-size:24px;margin:0 0 8px}.delivery-hero p{color:#d9e8fb;font-size:13px;margin:0 0 16px}.delivery-hero-steps{display:flex;gap:18px;color:#bcd6f4;font-size:12px}.delivery-hero-steps b{color:#fff;margin-right:5px}.delivery-route-card{min-width:165px;display:grid;gap:4px;align-content:center;justify-items:center;padding:18px;border:1px solid rgba(255,255,255,.18);border-radius:14px;background:#ffffff1a;position:relative;z-index:1}.delivery-route-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#8fc8ff;color:#0d2342;font-size:18px;font-weight:800}.delivery-route-card strong{font-size:13px}.delivery-route-card small{color:#c9dcf5;font-size:11px}.delivery-table-card{padding:0;overflow:hidden}.delivery-toolbar{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:22px;border-bottom:1px solid var(--line)}.delivery-toolbar h2{margin:0 0 4px}.delivery-filters{display:flex;gap:8px;align-items:center}.delivery-filters select{border:1px solid var(--line);border-radius:8px;padding:10px;color:var(--ink);background:#fff;font-size:12px}.delivery-table td{vertical-align:middle}.delivery-table td small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.delivery-destination{display:block;max-width:190px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#4d6077;font-size:12px}.delivery-actions{display:flex;justify-content:flex-end;align-items:center;gap:6px}.delivery-actions .secondary{padding:7px 9px;font-size:11px}.delivery-empty{text-align:center;padding:58px 22px 64px}.delivery-empty-icon{width:52px;height:52px;display:grid;place-items:center;margin:0 auto 14px;border-radius:15px;background:#e3f1ff;color:#0b63ce;font-size:25px}.delivery-empty h3{margin-bottom:7px}.delivery-empty p{color:var(--muted);font-size:13px;margin-bottom:18px}.delivery-workspace-modal{width:min(1140px,calc(100vw - 28px));max-width:none}.delivery-workspace-modal .modal-body{background:#f7f9fc}.delivery-builder{display:grid;gap:16px}.delivery-builder-head{display:grid;grid-template-columns:1.4fr 1.1fr .75fr .8fr;gap:12px;padding:16px;border:1px solid var(--line);border-radius:12px;background:#fff}.delivery-builder-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(260px,.7fr);gap:16px}.delivery-builder-main,.delivery-builder-side{border:1px solid var(--line);border-radius:12px;background:#fff;padding:18px}.delivery-builder-side{align-self:start}.delivery-lines{overflow-x:auto}.delivery-line{display:grid;grid-template-columns:minmax(200px,2fr) .7fr .75fr .7fr 28px;align-items:center;gap:8px;min-width:680px;padding:9px 10px;border-bottom:1px solid #edf1f6;font-size:12px}.delivery-line-head{color:var(--muted);background:#f8fafc;font-weight:700;font-size:11px;border:1px solid #edf1f6;border-radius:7px 7px 0 0}.delivery-line select,.delivery-line input{width:100%;min-width:0;border:1px solid #d8e1ec;border-radius:6px;padding:8px;background:#fff;color:var(--ink);outline:0;font-size:12px}.delivery-line select:focus,.delivery-line input:focus{border-color:var(--teal);box-shadow:0 0 0 3px #0b63ce1a}.delivery-line-sku{color:var(--muted);font-size:11px}.remove-delivery-line{border:0;background:#fff0ef;color:var(--red);width:26px;height:26px;border-radius:6px;font-size:17px}.delivery-fields-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px}.delivery-fields-grid textarea{min-height:80px;resize:vertical}.delivery-builder-side{display:grid;gap:11px}.delivery-builder-side .builder-section-head{margin-bottom:0}.delivery-side-note{display:flex;gap:9px;align-items:flex-start;padding:11px 12px;border-radius:8px;background:#f5f9ff;color:#536980;font-size:11px;line-height:1.45}.delivery-side-note span{color:var(--teal);font-size:16px;font-weight:800}.delivery-side-note p{margin:0}.delivery-detail{display:grid;gap:16px}.delivery-detail-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;padding-bottom:16px;border-bottom:1px solid var(--line)}.delivery-detail-head h3{font-size:22px;margin:0 0 5px}.delivery-detail-meta{display:grid;grid-template-columns:1.2fr 1.4fr 1fr;gap:10px}.delivery-detail-meta>div,.delivery-detail-grid>div{display:grid;gap:5px;padding:12px;border:1px solid var(--line);border-radius:9px;background:#f8fafc}.delivery-detail-meta span,.delivery-detail-grid span{color:var(--muted);font-size:11px}.delivery-detail-meta strong,.delivery-detail-grid strong{font-size:12px}.delivery-detail-table{border:1px solid var(--line);border-radius:9px;overflow:hidden}.delivery-detail-table>div{display:grid;grid-template-columns:2fr .8fr .8fr;gap:12px;align-items:center;padding:11px 13px;border-bottom:1px solid #edf1f6;font-size:12px}.delivery-detail-table>div:last-child{border-bottom:0}.delivery-detail-table-head{color:var(--muted);background:#f8fafc;font-size:11px!important;font-weight:700}.delivery-detail-table span:first-child{display:grid;gap:3px}.delivery-detail-table small{color:var(--muted);font-size:10px}.delivery-detail-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.delivery-detail-note{padding:12px 14px;border-left:3px solid #8fc8ff;background:#f5f9ff;border-radius:0 8px 8px 0;font-size:12px}.delivery-detail-note p{margin:5px 0 0;color:var(--muted);line-height:1.5}@media(max-width:850px){.delivery-builder-head,.delivery-builder-grid,.delivery-fields-grid,.delivery-detail-meta,.delivery-detail-grid{grid-template-columns:1fr}.delivery-toolbar,.delivery-filters{align-items:stretch;flex-direction:column}.delivery-filters,.delivery-filters select,.delivery-filters .search-field,.delivery-filters .search-field input{width:100%}.delivery-hero{align-items:flex-start;flex-direction:column}.delivery-route-card{width:100%}}.purchase-toolbar,.payables-toolbar{display:flex;align-items:center;gap:10px;margin:16px 0;flex-wrap:wrap}.inventory-warehouse-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 18px;padding:14px 16px;border:1px solid #dce8f5;border-radius:12px;background:#f6faff}.inventory-warehouse-toolbar>div:first-child{display:grid;gap:3px}.inventory-warehouse-actions{display:flex;align-items:center;gap:8px}.inventory-warehouse-actions select{min-width:210px}.warehouse-manager{display:grid;gap:18px}.warehouse-list{border:1px solid var(--line);border-radius:10px;padding:0 14px}.purchase-toolbar .search,.payables-toolbar .search{flex:1 1 300px}.purchase-toolbar select,.payables-toolbar select{min-width:170px}.purchase-toolbar .secondary{margin-left:auto}.payable-row td,.purchase-row td{vertical-align:middle}.table-actions{display:flex;gap:6px;justify-content:flex-end;flex-wrap:wrap}.status.overdue{background:#fff0ef;color:#b42318}.status.pending{background:#fff7df;color:#9a6700}.status.paid{background:#e5f7ef;color:#11785c}.payables-empty{display:grid;place-items:center;gap:7px;padding:55px 20px;color:var(--muted);text-align:center}.payables-empty strong{color:var(--ink);font-size:16px}.supplier-balance-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 0;border-bottom:1px solid #edf1f6}.supplier-balance-row:last-child{border-bottom:0}.supplier-balance-row>div{display:grid;gap:4px}.supplier-balance-row .subtle{font-size:11px}.supplier-payment-form{display:grid;gap:16px}.journal-control-cell{vertical-align:top;border-bottom:2px solid #dce5ef}.journal-control-cell small{display:block;color:var(--muted);margin:4px 0 8px}.journal-control-cell .link-button{display:block;font-weight:800}.journal-editor-modal{width:min(1120px,100%);display:flex;flex-direction:column;overflow:hidden}.modal-backdrop:has(.journal-editor-modal){left:246px;padding:14px}@media(max-width:760px){.modal-backdrop:has(.journal-editor-modal){left:66px;padding:8px}}.journal-editor-modal .modal-body{overflow:auto;min-height:0;padding:14px 18px}.journal-editor-modal .modal-head,.journal-editor-modal .modal-foot{flex:none;padding:12px 18px}.journal-editor{display:grid;gap:12px}.journal-editor th,.journal-editor td{padding:7px}.journal-editor input,.journal-editor select{width:100%;min-width:95px;border:1px solid var(--line);border-radius:6px;padding:8px;font:inherit}.journal-editor input[inputmode=decimal]{text-align:right;width:150px;font-variant-numeric:tabular-nums}.journal-editor-totals{display:flex;flex-wrap:wrap;gap:20px;justify-content:flex-end;padding:10px 0}.journal-history-event{padding:10px 0;border-bottom:1px solid var(--line)}.supplier-payment-summary{display:grid;grid-template-columns:1fr auto;gap:6px 14px;padding:14px 16px;border:1px solid #dce8f5;border-radius:10px;background:#f6faff}.supplier-payment-summary span{color:var(--muted);font-size:11px}.supplier-payment-summary strong{color:var(--ink);text-align:right}.modal-backdrop:has(.supplier-payment-form){padding:10px}.modal:has(.supplier-payment-form){width:min(1000px,calc(100vw - 20px));max-height:calc(100vh - 20px)}.modal:has(.supplier-payment-form) .modal-head{padding:12px 18px}.modal:has(.supplier-payment-form) .modal-head h2{font-size:20px}.modal:has(.supplier-payment-form) .modal-body{padding:14px 18px}.modal:has(.supplier-payment-form) .modal-foot{padding:10px 18px}.supplier-payment-form{gap:10px}.supplier-payment-form .form-grid{gap:9px 12px}.supplier-payment-form .field{gap:3px}.supplier-payment-form .field input,.supplier-payment-form .field select,.supplier-payment-form .field textarea{padding:7px 9px;font-size:12px}.supplier-payment-form .field textarea{min-height:48px}.supplier-payment-form .builder-section-head{margin:10px 0 8px}.supplier-payment-form .builder-section-head h3{font-size:15px}.supplier-payment-form .table-wrap{max-height:38vh;overflow:auto}.supplier-payment-form th{padding:8px 10px;font-size:9px}.supplier-payment-form td{padding:8px 10px;font-size:11px}.supplier-payment-form .batch-payment-amount{width:92px;padding:5px 7px;font-size:11px}#payableDetailPayment{display:none!important}.payable-detail{display:grid;gap:18px}.payable-history{border-top:1px solid var(--line);padding-top:16px}.payable-history h3{margin:0 0 5px;font-size:14px}@media(max-width:850px){.purchase-toolbar,.payables-toolbar{align-items:stretch;flex-direction:column}.purchase-toolbar .search,.payables-toolbar .search,.purchase-toolbar select,.payables-toolbar select,.purchase-toolbar .secondary{width:100%;margin-left:0}.table-actions{justify-content:flex-start}.supplier-payment-summary{grid-template-columns:1fr}.supplier-payment-summary strong{text-align:left}}@media(max-width:850px){.inventory-warehouse-toolbar,.inventory-warehouse-actions{align-items:stretch;flex-direction:column}.inventory-warehouse-actions select,.inventory-warehouse-actions button{width:100%}}.product-editor-modal{width:min(980px,calc(100vw - 28px));max-width:none}.product-editor-modal .modal-head{padding:19px 26px 15px;background:#fff}.product-editor-modal .modal-head h2{font-size:20px}.product-editor-modal .modal-body{padding:0;background:#f5f8fc}.product-editor-modal .modal-foot{padding:15px 26px;background:#fff}.product-editor-form{display:grid;gap:0}.product-editor-intro{display:flex;align-items:center;gap:14px;padding:20px 26px 18px;background:linear-gradient(135deg,#f7fbff,#eef7ff);border-bottom:1px solid #deebf7}.product-editor-mark{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;flex:0 0 auto;background:#dcecff;color:#0b63ce;font-size:23px;box-shadow:inset 0 0 0 1px #c5dcf8}.product-editor-copy{min-width:0}.product-editor-copy .eyebrow{margin-bottom:4px}.product-editor-copy h3{margin:0 0 4px;font-size:18px;letter-spacing:-.35px}.product-editor-copy p{margin:0;color:var(--muted);font-size:12px}.product-status-switch{display:inline-flex;align-items:center;gap:8px;margin-left:auto;color:#45617c;font-size:12px;white-space:nowrap}.product-status-switch input{position:absolute;opacity:0;pointer-events:none}.product-status-switch span{width:34px;height:20px;border-radius:20px;background:#c6d2df;padding:3px;transition:.18s ease}.product-status-switch span:after{content:"";display:block;width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #14284140;transition:.18s ease}.product-status-switch input:checked+span{background:#0b63ce}.product-status-switch input:checked+span:after{transform:translate(14px)}.product-editor-tabs{display:flex;gap:2px;padding:0 26px;background:#fff;border-bottom:1px solid #e3eaf4;overflow-x:auto}.product-editor-tab{position:relative;border:0;background:transparent;color:#718087;padding:14px 15px 13px;font-size:12px;font-weight:700;white-space:nowrap}.product-editor-tab:after{content:"";position:absolute;left:12px;right:12px;bottom:-1px;height:2px;background:transparent;border-radius:4px 4px 0 0}.product-editor-tab:hover,.product-editor-tab.active{color:#0b63ce}.product-editor-tab.active:after{background:#0b63ce}.product-editor-panel{display:none;padding:22px 26px 24px}.product-editor-panel.active{display:block}.product-panel-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:15px}.product-panel-heading h4{margin:0;font:700 16px Manrope;letter-spacing:-.25px}.product-panel-heading .eyebrow{margin-bottom:5px}.product-required-note,.product-panel-hint{color:#8292a4;font-size:11px}.product-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.product-form-grid .field.full{grid-column:1 / -1}.product-editor-form .field{gap:6px}.product-editor-form .field label{color:#53687c;font-size:11px}.product-editor-form .field input,.product-editor-form .field select,.product-editor-form .field textarea{border-color:#d5e2ee;background:#fff;border-radius:8px;padding:11px 12px}.product-editor-form .field textarea{min-height:70px;resize:vertical}.product-editor-form .field input:focus,.product-editor-form .field select:focus,.product-editor-form .field textarea:focus{border-color:#77aeea;box-shadow:0 0 0 3px #0b63ce1c}.product-stock-card{border:1px solid #dbe7f2;border-radius:11px;overflow:hidden;background:#fff}.product-stock-row{display:grid;grid-template-columns:minmax(0,1fr) 150px 70px;align-items:center;gap:14px;padding:12px 15px;border-bottom:1px solid #edf2f7}.product-stock-row:last-child{border-bottom:0}.product-stock-row input{width:100%;border:1px solid #d5e2ee;border-radius:7px;padding:9px 10px;text-align:right;color:#123b72;font-weight:700;outline:0}.product-stock-row input:focus{border-color:#77aeea;box-shadow:0 0 0 3px #0b63ce1c}.product-stock-name{display:flex;align-items:center;gap:10px;min-width:0}.product-stock-name strong{display:block;font-size:12px}.product-stock-name small{display:block;margin-top:3px;color:#8292a4;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-stock-icon{width:29px;height:29px;display:grid;place-items:center;flex:0 0 auto;border-radius:8px;background:#e9f3ff;color:#0b63ce}.product-stock-unit{color:#8292a4;font-size:11px}.product-inventory-options{margin-top:15px;align-items:end}.product-check-field{display:flex;align-items:center;gap:8px;min-height:40px;color:#53687c;font-size:12px}.product-check-field input{width:15px;height:15px;accent-color:#0b63ce}.input-prefix{display:flex;align-items:center;overflow:hidden;border:1px solid #d5e2ee;border-radius:8px;background:#fff}.input-prefix:focus-within{border-color:#77aeea;box-shadow:0 0 0 3px #0b63ce1c}.input-prefix span{padding:0 0 0 12px;color:#8292a4;font-size:12px}.input-prefix input{min-width:0;border:0!important;box-shadow:none!important}.product-readonly-value{display:flex;align-items:center;min-height:42px;padding:0 12px;border:1px solid #dbe7f2;border-radius:8px;background:#f7faff;color:#0b63ce;font-weight:800}.product-callout,.product-accounting-note,.product-photo-tip{display:flex;gap:10px;align-items:flex-start;margin-top:18px;padding:12px 14px;border:1px solid #cfe2f6;border-radius:9px;background:#f1f7ff;color:#42617e}.product-callout>span,.product-accounting-note>span{color:#0b63ce;font-size:17px;line-height:1}.product-callout strong{display:block;font-size:12px;color:#24496b}.product-callout p,.product-accounting-note p{margin:4px 0 0;font-size:11px;line-height:1.45}.product-accounting-note{margin-top:18px}.product-photo-layout{display:grid;grid-template-columns:180px 1fr;gap:24px;align-items:start}.product-photo-preview{height:180px;display:grid;place-items:center;align-content:center;gap:7px;border:1px dashed #abc9e8;border-radius:12px;background:#edf6ff;color:#6d9ac7;font-size:34px;overflow:hidden}.product-photo-preview img{width:100%;height:100%;object-fit:cover}.product-photo-preview small{color:#6d8297;font-size:11px}.product-photo-fields{display:grid;gap:14px}.field-help{color:#8292a4;font-size:10px}.product-photo-tip{margin-top:0;display:grid;gap:4px;font-size:11px;line-height:1.4}.product-photo-tip strong{color:#24496b;font-size:12px}.report-filter-card{margin-bottom:18px}.report-filter-card .card-head{align-items:center}.report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.report-card{min-width:0}.report-card .card-head{align-items:flex-start;gap:12px}.report-card .card-head h2{margin-bottom:4px}.report-card .toolbar{flex-wrap:wrap;justify-content:flex-end}.report-card table{min-width:700px}.report-summary{display:flex;flex-wrap:wrap;gap:16px 28px;padding:13px 0;color:#5d7185;font-size:12px}.report-summary strong{color:#123b72}.report-detail{margin-top:14px;border-top:1px solid #e4edf5;padding-top:12px}.report-detail summary{cursor:pointer;color:#0b63ce;font-weight:700;font-size:12px}.report-print-area{background:#fff;color:#172b4d}.report-print-area h3{margin:0 0 6px}.report-print-area .table-wrap{overflow:visible}.report-print-area table{width:100%}.daily-sales-filter-card{margin-bottom:18px}.daily-sales-filter-title{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}.daily-sales-filter-title h2{margin:4px 0 0}.daily-sales-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:end}.daily-sales-filter-grid fieldset{min-height:42px;display:flex;align-items:center;gap:12px;margin:0;padding:8px 12px;border:1px solid #dbe7f2;border-radius:8px;color:#53687c;font-size:12px}.daily-sales-filter-grid legend{padding:0 5px;color:#24496b;font-weight:700;font-size:11px}.daily-sales-filter-grid label{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}.daily-sales-filter-grid input[type=radio]{accent-color:#0b63ce}.daily-sales-report-card .table-wrap{overflow-x:auto}.daily-sales-table{min-width:1050px!important;font-size:11px}.daily-sales-table th,.daily-sales-table td{white-space:nowrap}.daily-sales-table td:nth-child(n+5),.daily-sales-table th:nth-child(n+5){text-align:right}.daily-sales-table .report-group-row th{padding-top:14px;background:#f3f7fb;color:#123b72;text-align:left!important;font-size:11px}.daily-sales-table .report-total-row th,.daily-sales-table tfoot th{background:#eef4fa;color:#123b72;font-weight:800;text-align:right}.daily-sales-table .report-total-row th:first-child,.daily-sales-table tfoot th:first-child{text-align:left}.daily-sales-heading{display:flex;justify-content:space-between;gap:18px;margin-bottom:18px;font-size:12px}.daily-sales-heading>div:first-child{display:grid;gap:4px}.daily-sales-heading strong{font-size:15px;color:#123b72}.daily-sales-heading span{display:block}.daily-sales-generated{color:#53687c}.daily-sales-note{margin-top:12px;color:#53687c;font-size:10px}.report-check-field{display:inline-flex;align-items:center;gap:7px;min-height:42px;color:#53687c;font-size:12px}.report-check-field input{width:15px;height:15px;accent-color:#0b63ce}.product-sales-cost-card .table-wrap{overflow-x:auto}.product-sales-cost-table{min-width:1000px!important;font-size:11px}.product-sales-cost-table th,.product-sales-cost-table td{white-space:nowrap}.product-sales-cost-table th:nth-child(n+4),.product-sales-cost-table td:nth-child(n+4){text-align:right}.product-sales-cost-table .report-group-row th{padding-top:14px;background:#f3f7fb;color:#123b72;text-align:left!important}.product-sales-cost-table .report-total-row th,.product-sales-cost-table tfoot th{background:#eef4fa;color:#123b72;font-weight:800;text-align:right}.product-sales-cost-table .report-total-row th:first-child,.product-sales-cost-table tfoot th:first-child{text-align:left}.product-sales-cost-heading{display:flex;justify-content:space-between;gap:18px;margin-bottom:18px;font-size:12px}.product-sales-cost-heading>div:first-child{display:grid;gap:4px}.product-sales-cost-heading strong{font-size:15px;color:#123b72}.product-sales-cost-heading span{display:block}.product-sales-cost-print .product-sales-cost-table{width:100%;min-width:0!important}@media(max-width:1100px){.report-grid{grid-template-columns:1fr}}@media print{body *{visibility:hidden!important}.modal,.modal *{visibility:visible!important}.modal{position:absolute!important;inset:0!important;width:100%!important;max-width:none!important;box-shadow:none!important}.modal-head,.modal-foot{display:none!important}.report-print-area{padding:0!important}}@media(max-width:700px){.daily-sales-filter-grid{grid-template-columns:1fr}.daily-sales-filter-grid fieldset{flex-wrap:wrap}.daily-sales-filter-title{align-items:flex-start;flex-direction:column}.daily-sales-heading,.product-sales-cost-heading{flex-direction:column}.product-editor-intro{align-items:flex-start;flex-wrap:wrap;padding:18px}.product-status-switch{width:100%;margin-left:60px}.product-editor-tabs{padding:0 18px}.product-editor-panel{padding:19px 18px 21px}.product-form-grid,.product-photo-layout{grid-template-columns:1fr}.product-form-grid .field.full{grid-column:auto}.product-panel-heading{align-items:flex-start;flex-direction:column}.product-stock-row{grid-template-columns:minmax(0,1fr) 100px}.product-stock-unit{display:none}.product-editor-modal .modal-foot{padding:13px 18px}}.product-sales-cost-table th:nth-child(n+3),.product-sales-cost-table td:nth-child(n+3){text-align:right}.product-sales-cost-table .report-area-row th,.product-sales-cost-table .report-subgroup-row th{text-align:left!important}.product-sales-cost-table .report-area-row th{padding-top:16px;background:#f3f7fb;color:#123b72}.product-sales-cost-table .report-subgroup-row th{padding-top:12px;background:transparent;color:#172b4d}.product-sales-cost-table .report-area-total-row th,.product-sales-cost-table .report-area-total-row td,.product-sales-cost-table .report-grand-total-row th,.product-sales-cost-table .report-grand-total-row td{background:#eef4fa;color:#123b72;font-weight:800}.product-sales-cost-generated,.daily-sales-generated{display:grid;gap:4px;text-align:right;color:#53687c}.product-sales-cost-note{margin-top:14px;color:#53687c;font-size:10px;font-style:italic}.daily-sales-table .report-grand-total-row th,.daily-sales-table .report-grand-total-row td{background:#eef4fa;color:#123b72;font-weight:800}@media print{@page{size:Letter landscape;margin:.4in}.report-print-area,.daily-sales-print,.product-sales-cost-print{color:#111;font-family:Arial,Helvetica,sans-serif;font-size:10px}.daily-sales-heading,.product-sales-cost-heading{margin-bottom:24px;font-size:11px}.daily-sales-heading strong,.product-sales-cost-heading strong{color:#111;font-size:15px}.daily-sales-heading span,.product-sales-cost-heading span,.daily-sales-generated,.product-sales-cost-generated{color:#111}.daily-sales-table,.product-sales-cost-table{width:100%!important;min-width:0!important;border-collapse:collapse;table-layout:fixed}.daily-sales-table th,.daily-sales-table td,.product-sales-cost-table th,.product-sales-cost-table td{padding:4px 3px;border:0;color:#111;white-space:nowrap}.daily-sales-table thead th,.product-sales-cost-table thead th{border-bottom:1px solid #111;text-align:left;font-weight:700}.daily-sales-table th:nth-child(n+5),.daily-sales-table td:nth-child(n+5),.product-sales-cost-table th:nth-child(n+3),.product-sales-cost-table td:nth-child(n+3){text-align:right}.daily-sales-table .report-group-row th,.product-sales-cost-table .report-area-row th,.product-sales-cost-table .report-subgroup-row th{text-align:left!important;background:transparent!important;color:#111!important}.daily-sales-table .report-total-row th,.daily-sales-table .report-total-row td,.daily-sales-table .report-grand-total-row th,.daily-sales-table .report-grand-total-row td,.product-sales-cost-table .report-area-total-row th,.product-sales-cost-table .report-area-total-row td,.product-sales-cost-table .report-grand-total-row th,.product-sales-cost-table .report-grand-total-row td{background:transparent!important;color:#111!important;font-weight:700}.daily-sales-table .report-group-row,.daily-sales-table .report-total-row,.product-sales-cost-table .report-area-row,.product-sales-cost-table .report-subgroup-row,.product-sales-cost-table .report-area-total-row{break-inside:avoid}.product-sales-cost-note{color:#111}}.quote-workspace-modal.invoice-reference-modal,.delivery-workspace-modal.invoice-reference-modal{width:100%;max-width:none}.quote-workspace-modal.invoice-reference-modal .modal-body,.delivery-workspace-modal.invoice-reference-modal .modal-body{background:#f4f7fc}.document-reference-details{border-color:#83b0ec;background:#f8fbff}.document-reference-two-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.document-reference-delivery-fields{grid-template-columns:1.5fr 1fr 1fr}.document-reference-quote .quote-builder-notes{margin-top:0}.document-reference-quote .quote-builder-main .eyebrow,.document-reference-delivery .delivery-builder-main .eyebrow,.document-reference-delivery .delivery-builder-side .eyebrow{display:none}.document-reference-quote .quote-builder-main h3,.document-reference-delivery .delivery-builder-main h3,.document-reference-delivery .delivery-builder-side h3{color:#152947;font-size:16px}.document-reference-quote .quote-summary .total{margin-top:8px;padding:12px 10px;border-top:0;background:#eaf2ff;color:#075ac8}.document-reference-quote .quote-summary .total strong{color:#075ac8;font-size:17px}.document-reference-delivery .delivery-builder-side{display:grid;gap:10px}.document-reference-delivery .delivery-builder-side .builder-section-head{margin-bottom:2px}.document-reference-delivery .delivery-fields-grid{margin-top:0}.document-reference-delivery .field label{font-size:14px}.document-reference-delivery .field input,.document-reference-delivery .field select,.document-reference-delivery .field textarea,.document-reference-delivery .delivery-line,.document-reference-delivery .invoice-product-tools input,.document-reference-delivery .modal-foot button{font-size:15px}.document-reference-delivery .delivery-line-head,.document-reference-delivery .delivery-line-sku,.document-reference-delivery .delivery-side-note{font-size:13px}@media(max-width:1100px){.document-reference-delivery-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.document-reference-delivery-fields .field:first-child{grid-column:1 / -1}}@media(max-width:760px){.document-reference-two-fields,.document-reference-delivery-fields{grid-template-columns:1fr}.document-reference-delivery-fields .field:first-child{grid-column:auto}.document-reference-quote .quote-builder-notes,.document-reference-delivery .delivery-fields-grid{grid-template-columns:1fr}}.report-catalog-page{display:grid;gap:18px}.report-catalog-page .page-head{margin-bottom:0}.report-catalog-label{margin-top:4px;color:#445d77;font-size:12px;font-weight:800}.report-category-grid,.report-catalog-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(195px,1fr));gap:12px}.report-category-card,.report-catalog-card{min-width:0;border:1px solid #dce6f1;border-radius:10px;background:#fff;color:#1b3150;text-align:left;box-shadow:0 3px 12px #14335409;transition:border-color .16s,transform .16s,box-shadow .16s}.report-category-card:hover,.report-catalog-card:hover{border-color:#8db9e9;transform:translateY(-2px);box-shadow:0 8px 22px #14335416}.report-category-card:focus-visible,.report-catalog-card:focus-visible,.report-breadcrumb button:focus-visible{outline:3px solid #7bb4ef;outline-offset:2px}.report-category-card{display:grid;align-content:start;gap:8px;min-height:112px;padding:15px}.report-category-card strong{font-size:14px}.report-category-card small{color:#74869b;font-size:11px}.report-catalog-icon{width:27px;height:27px;border-radius:7px;display:grid;place-items:center;background:#e8f8ed;color:#2b9b60;font-size:14px;font-weight:800}.report-catalog-icon.accounting{background:#fff5df;color:#bd8627}.report-catalog-icon.administrative{background:#e6f4ff;color:#2280b7}.report-catalog-icon.fiscal{background:#e7f4ec;color:#267648}#sales607Period,#sales607Environment{font:inherit;font-size:14px;min-height:42px;padding:9px 12px;border:1px solid #d9e3eb;border-radius:10px;background:#fff;color:#173041}.report-catalog-card{display:grid;align-content:start;gap:6px;min-height:128px;padding:14px}.report-catalog-card-top{display:flex;justify-content:space-between;align-items:start}.report-catalog-card strong{font-size:13px}.report-catalog-card>span:last-child{color:#6a7c90;font-size:11px;line-height:1.5}.report-catalog-arrow{color:#99aabe;font-size:13px}.report-breadcrumb{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin:0 0 8px;color:#677d92;font-size:11px}.report-breadcrumb button{padding:0;border:0;background:transparent;color:#0b63ce;font-size:inherit}.report-back-button{margin:0 0 12px}.report-focused-page .metric-grid{display:none}.report-focus-grid{display:block}.report-focus-grid .report-card{width:100%}.report-focused-page .report-filter-card{padding:15px 18px}.report-focused-page .report-filter-card .card-head{margin-bottom:12px}.report-focused-page .report-filter-card .form-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.report-focused-page .report-card{padding:18px}.report-focused-page .report-card .card-head{margin-bottom:13px}@media(max-width:700px){.report-category-grid,.report-catalog-grid{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}.report-focused-page .report-card .card-head{flex-direction:column}.report-focused-page .report-card .toolbar{justify-content:flex-start}}.dgii-test-matrix-panel .form-grid{gap:9px}.dgii-test-matrix-panel .builder-note{margin-top:8px}.dgii-test-matrix-table{table-layout:fixed;min-width:690px}.dgii-test-matrix-table th,.dgii-test-matrix-table td{padding:7px 6px;font-size:10px;line-height:1.25;vertical-align:middle}.dgii-test-matrix-table th{font-size:9px;letter-spacing:.2px}.dgii-test-matrix-table .dgii-case-cell{white-space:normal}.dgii-test-matrix-table .dgii-case-code{display:block;overflow-wrap:anywhere}.dgii-test-matrix-table .prepare-dgii-xml{margin-top:4px;padding:4px 7px;font-size:10px;line-height:1.2;white-space:nowrap}.dgii-test-matrix-table .dgii-buyer-cell{overflow:hidden;text-overflow:ellipsis}.dgii-test-matrix-table .status{display:inline-block;padding:4px 5px;font-size:9px;white-space:normal}.fiscal-client-status{padding:22px;margin:16px 0 22px;border:1px solid #c8dedb;border-radius:12px;background:#f2f9f7}.fiscal-client-status h3{margin:8px 0 12px}.fiscal-client-status [role=status]{line-height:1.6;color:#24463d;margin-bottom:16px}.fiscal-client-status p{margin:14px 0 0}.fiscal-client-setup{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.fiscal-client-setup>.settings-subsection{grid-column:auto;margin:0;min-width:0;padding:18px;border:1px solid #e0e7ed;border-radius:10px}.fiscal-client-setup .form-grid{grid-template-columns:1fr}.fiscal-client-setup .card-head{align-items:flex-start;flex-wrap:wrap}.fiscal-client-setup input{max-width:100%}.fiscal-client-setup .builder-note{overflow-wrap:anywhere}.fiscal-client-setup label:has(input[type=checkbox]){display:flex;align-items:flex-start;gap:8px}.fiscal-client-setup input[type=checkbox]{width:auto;flex:0 0 auto;margin:2px 0 0}.fiscal-technical-access{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:26px;padding-top:18px;border-top:1px solid #e0e7ed}.fiscal-technical-back{margin-bottom:20px}.fiscal-flow-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}#automaticCertification{margin:20px 0;padding:18px;border:1px solid #e0e7ed;border-radius:10px}@media(max-width:1100px){.fiscal-client-setup{grid-template-columns:1fr}}.settings-grid:has(.fiscal-client-status) .settings-panel{min-width:0}@media(max-width:900px){.settings-grid:has(.fiscal-client-status){grid-template-columns:minmax(0,1fr)}.settings-grid:has(.fiscal-client-status) .settings-nav{display:flex;flex-wrap:wrap;gap:4px;padding:10px}.settings-grid:has(.fiscal-client-status) .settings-nav button{width:auto;flex:1 1 150px}}.work-plan-line{display:grid;grid-template-columns:minmax(150px,2fr) minmax(80px,1fr) minmax(140px,1.5fr) auto;gap:10px;align-items:center;margin:10px 0}.work-toolbar{padding:16px;flex-wrap:wrap}.settings-grid:has(#companyUsersPanel){grid-template-columns:230px minmax(0,1fr)}.settings-panel:has(#companyUsersPanel){min-width:0}#companyUsersPanel .card-head{gap:16px;flex-wrap:wrap}#companyUsersPanel th,#companyUsersPanel td{padding:12px}#companyUsersPanel td:first-child{min-width:140px;max-width:300px;white-space:normal;overflow-wrap:anywhere}.roles-builder{border-top:1px solid #e7eeec;margin-top:24px;padding-top:22px}.dashboard-motivation{display:flex;align-items:center;gap:14px;margin:-4px 0 24px;padding:17px 20px;border:1px solid #d8e9e5;border-radius:14px;background:linear-gradient(110deg,#eef8f4,#f5f8fc);color:#24584d}.dashboard-motivation-icon{display:grid;place-items:center;flex-shrink:0;width:38px;height:38px;border-radius:11px;background:#deeee7;color:#117760;font-size:24px}.dashboard-motivation-label{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.9px;color:#5c7e74}.dashboard-motivation p{margin:5px 0 0;font-size:14px;line-height:1.5;font-weight:500}.nav button[hidden],.nav .nav-master[hidden]{display:none!important}.role-template-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:16px 0;font-size:12px}.role-matrix-wrap{overflow:auto;max-height:48vh}.modal:has(#companyRoleForm){width:min(1000px,95vw)}#companyRoleForm>.full{grid-column:1/-1}#companyRoleForm .builder-note{font-size:12px}.role-matrix th,.role-matrix td{padding:10px;white-space:normal}.role-matrix{min-width:620px}.role-matrix td{text-align:center}.role-matrix input{width:18px;height:18px;accent-color:#087f66;cursor:pointer}.custom-role-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.custom-role-card{border:1px solid #dfe9e6;border-radius:12px;padding:16px;background:#fff;display:flex;flex-direction:column;gap:12px}.custom-role-card strong,.custom-role-card .subtle{display:block}.custom-role-card .subtle{margin-top:5px}.role-permission-summary{display:flex;flex-wrap:wrap;gap:6px;min-height:58px}.role-permission-summary span{background:#eef7f4;border-radius:999px;padding:5px 8px;font-size:11px;color:#276c5b}.role-permission-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}.role-permission-checks label{border:1px solid #dfe9e6;border-radius:9px;padding:10px;font-size:12px}@media(max-width:1000px){.settings-grid:has(#companyUsersPanel){grid-template-columns:minmax(0,1fr)}.settings-grid:has(#companyUsersPanel) .settings-nav{display:flex;flex-wrap:wrap;gap:4px;padding:10px}}@media(max-width:760px){.custom-role-grid,.role-permission-checks{grid-template-columns:1fr}}#workOrderPage>.builder-note,#workOrderContent>.builder-note{margin:16px 0}.modal-backdrop:has(.purchasing-modal){left:246px;right:0;width:auto;padding:14px;align-items:center;overflow:hidden}.modal.purchasing-modal{width:min(1320px,100%);max-width:100%;max-height:calc(100dvh - 28px);margin:0;display:flex;flex-direction:column;position:relative;inset:auto;transform:none}.purchasing-modal .modal-head,.purchasing-modal .modal-foot{padding:12px 18px;flex:0 0 auto}.purchasing-modal .modal-head h2{font-size:21px}.purchasing-modal .modal-body{padding:14px 18px;overflow:auto;min-height:0;flex:1 1 auto}.purchasing-modal #purchasingForm{display:block}.pc-header-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 12px}.purchasing-modal .field{min-width:0;gap:4px;margin:0}.purchasing-modal label{font-size:13px;line-height:1.3}.purchasing-modal input,.purchasing-modal select{font-size:15px;min-height:36px;height:auto;padding:7px 9px;width:100%;max-width:100%;min-width:0;line-height:1.35}.purchasing-modal input:disabled,.purchasing-modal select:disabled{opacity:.65;background:#edf1f4}.pc-lines-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:15px 0 8px}.pc-lines-heading h3{font-size:17px;margin:0}.purchasing-modal .pc-checkbox{display:flex;align-items:center;gap:7px;font-size:14px}.purchasing-modal .pc-checkbox input{width:17px;height:17px;min-height:0}.pc-product-search{display:flex;align-items:center;gap:10px;margin-bottom:10px}.pc-product-search input{max-width:360px}.purchasing-modal .pc-lines{min-width:690px;width:100%;table-layout:fixed}.pc-lines th:first-child{width:32%}.pc-lines th:last-child{width:44px}.purchasing-modal .pc-lines td,.purchasing-modal .pc-lines th{padding:6px;font-size:14px;white-space:normal}.pc-lines small,.pc-detail small{display:block;font-size:13px;margin:3px 0;color:#607687}.pc-lines td:first-child select{margin-top:5px}.purchasing-modal .pc-lines button{padding:5px 9px}.pc-advanced{margin:12px 0;border-top:1px solid #e0e8ed;padding-top:10px}.pc-advanced summary{cursor:pointer;color:#0863c5;font-size:14px;margin-bottom:10px}.pc-totals{display:flex;justify-content:flex-end;gap:14px 26px;flex-wrap:wrap;margin:14px 0 8px;border-top:1px solid #dce5ec;padding-top:12px}.pc-totals span{font-size:13px;color:#526b7d}.pc-totals strong{display:block;font-size:18px;color:#102c40;margin-top:4px}.pc-posting-note{font-size:12px;color:#526b7d;line-height:1.5;margin:8px 0 0}#pcError{color:#b42318;font-size:14px;line-height:1.4}.purchasing-toolbar{margin-bottom:16px;display:flex;gap:10px;flex-wrap:wrap}.purchasing-toolbar>input{max-width:360px}.pc-report-issues{padding:16px;margin:16px 0}.pc-report-issues li{margin:5px 0;line-height:1.45}#pcReportContent>.card{margin:16px 0}@media(max-width:1100px){.pc-header-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pc-product-search{flex-wrap:wrap}}@media(max-width:760px){.modal-backdrop:has(.purchasing-modal){left:66px;padding:8px}.modal.purchasing-modal{max-height:calc(100dvh - 16px)}.purchasing-modal .modal-body{padding:12px}.pc-lines-heading{align-items:flex-start;flex-direction:column}.pc-totals{justify-content:flex-start;gap:14px}.purchasing-modal .modal-foot{padding:10px}.pc-header-grid{gap:9px}}@media(max-width:480px){.pc-header-grid{grid-template-columns:minmax(0,1fr)}}#workOrderContent>.card{margin-bottom:18px}.sales-reconciliation-paper>.card{margin:14px 0}.it1-section{margin:12px 0;padding:14px}.it1-section>summary{font-weight:700;cursor:pointer}.it1-section td{vertical-align:top;padding:9px}.it1-section td:nth-child(2){min-width:240px;max-width:460px;white-space:normal}.it1-section small{display:block;margin:5px 0;color:#526b7d}.it1-values{display:flex;gap:8px;flex-wrap:wrap}.it1-values label{display:flex;flex-direction:column;gap:5px;font-size:12px;min-width:145px}.it1-values input{width:160px;padding:8px;border:1px solid #b8cbdc;border-radius:6px;text-align:right;font:inherit;font-size:14px;font-variant-numeric:tabular-nums}.it1-values input:placeholder-shown{background:#fff8df}.it1-values span{text-align:right;font-size:14px}.it1-zero{margin:10px 0;font-size:12px}.it1-review{display:flex;gap:8px;align-items:center;margin:12px 0}.it1-paper .it1-section summary{font-size:14px}.modal-backdrop:has(.it1-paper){left:246px}.modal:has(.it1-paper){width:min(1200px,100%)}@media(max-width:760px){.modal-backdrop:has(.it1-paper){left:66px}}@media print{.modal-backdrop:has(.it1-paper){left:0!important;position:absolute!important;display:block!important}.modal:has(.it1-paper){max-height:none!important;overflow:visible!important}.it1-paper table{font-size:10px}.it1-paper .it1-section td{padding:5px;min-width:0}.it1-paper .it1-values label{min-width:70px}.it1-paper .it1-values span{font-size:10px}}.sales-reconciliation-paper header h2{margin-bottom:4px}.sales-reconciliation-paper table td:not(:first-child),.sales-reconciliation-paper table th:not(:first-child){text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.sales-reconciliation-paper tfoot{font-weight:700;background:#edf4fc}.sales-reconciliation-paper .builder-note{padding:10px 16px;margin:0}.reconciliation-pair{display:grid;grid-template-columns:1fr 1fr;gap:14px}.reconciliation-pair>.card,.reconciliation-adjustment{padding:16px}.reconciliation-pair h2{font-size:18px;margin:0 0 10px}.reconciliation-pair p{margin:8px 0}.reconciliation-adjustment{margin:0 0 16px}.reconciliation-adjustment summary{cursor:pointer;font-weight:600;margin-bottom:10px}.reconciliation-adjustment input{max-width:220px;margin:0 10px}.reconciliation-alert,#reconciliationError{color:#a32920;line-height:1.5}.reconciliation-alert{background:#fff0ed;padding:12px;border-radius:8px}.modal-backdrop:has(.sales-reconciliation-paper){left:246px}.modal:has(.sales-reconciliation-paper){width:min(1200px,100%)}@media(max-width:760px){.reconciliation-pair{grid-template-columns:1fr}.modal-backdrop:has(.sales-reconciliation-paper){left:66px}}@media print{.modal-backdrop:has(.sales-reconciliation-paper){left:0!important;position:absolute!important;display:block!important}.modal:has(.sales-reconciliation-paper){max-height:none!important;overflow:visible!important}.sales-reconciliation-paper .metric-grid{grid-template-columns:repeat(2,1fr)}.sales-reconciliation-paper .card{break-inside:avoid}.sales-reconciliation-paper table{font-size:10px}.sales-reconciliation-paper td,.sales-reconciliation-paper th{padding:6px}.sales-reconciliation-paper .reconciliation-pair{display:block}.sales-reconciliation-paper .metric-value{font-size:20px}}@media(max-width:700px){.work-plan-line{grid-template-columns:1fr 1fr}.work-plan-line select:first-child{grid-column:1/-1}.work-toolbar{display:flex;gap:8px}.work-toolbar button{flex:1 1 160px}}.card:has(#purchaseCaptureResults)>.card-head{gap:16px;flex-wrap:wrap;align-items:flex-start}.card:has(#purchaseCaptureResults)>.card-head>div:first-child{flex:1 1 220px}.card:has(#purchaseCaptureResults) .table-actions{display:flex;flex-wrap:wrap;gap:8px}.purchase-capture-modal .modal-foot{flex-wrap:wrap}.purchase-capture-modal .table-actions{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}.purchase-capture-modal details{margin:14px 0}.purchase-capture-modal .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:600px){.purchase-capture-modal .form-grid{grid-template-columns:1fr}.purchase-capture-modal .modal-foot button{flex:1 1 150px}}#datedOpeningForm table{min-width:0!important;width:100%;table-layout:fixed}#datedOpeningForm th:first-child{width:56%}#datedOpeningForm td{padding:7px;white-space:normal;overflow-wrap:anywhere}#datedOpeningForm td input{width:100%;min-width:0;text-align:right;padding:7px;font-size:15px}#datedOpeningForm .table-wrap{max-height:34vh;overflow:auto}#datedOpeningForm>p{font-size:14px;margin:8px 0}#priorityReportFilters .field[hidden]{display:none!important}.settings-panel:has(#dgiiCatalogPanel){min-width:0}#dgiiCatalogPanel{min-width:0}#dgiiCatalogPanel .metric-grid{grid-template-columns:minmax(160px,1fr) minmax(0,2fr)}#dgiiCatalogPanel .metric{min-width:0}#dgiiCatalogPanel strong{overflow-wrap:anywhere}#dgiiCatalogPanel .table-wrap{max-width:100%;overflow:auto}@media(max-width:760px){#dgiiCatalogPanel .metric-grid{grid-template-columns:minmax(0,1fr)}}dialog.mixed-checkout{width:min(580px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;border:1px solid #d5e1ef;border-radius:14px;padding:20px;color:#17324d;background:#fff;box-shadow:0 20px 70px #10294540}dialog.mixed-checkout::backdrop{background:#10294570}.mixed-checkout input:not([type=checkbox]){padding:8px 10px;border:1px solid #d5e1ef;border-radius:7px;background:#fff;color:#17324d;font:inherit}.mixed-checkout input:disabled{background:#f3f6fa}.mixed-checkout button:not(.primary){padding:9px 13px;border:1px solid #d5e1ef;border-radius:8px;background:#fff;color:#17324d;font:inherit;cursor:pointer}.mixed-checkout button:disabled{opacity:.5;cursor:not-allowed}.mixed-checkout header,.mixed-checkout footer,.mixed-checkout .mixed-total{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.mixed-checkout h2{margin:0;font-size:22px}.mixed-checkout h3{font-size:16px}.mixed-client{color:#667e93}.mixed-total{background:#f1f6fe;padding:12px;border-radius:8px;margin:14px 0}.mixed-total strong{font-size:22px;color:#0865d5}.mixed-row{display:grid;grid-template-columns:1fr 170px;gap:8px;align-items:center;padding:10px 0;border-bottom:1px solid #e1e8f0}.mixed-row label{display:flex;align-items:center;gap:8px}.mixed-row input[type=text]{width:100%;min-width:0}.mixed-row [data-reference]{grid-column:1/-1}.mixed-terms{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:12px 0}.mixed-terms strong{display:block;padding-top:9px}.mixed-terms input{width:100%}.mixed-checkout footer{padding-top:14px;border-top:1px solid #e1e8f0}.mixed-checkout [hidden]{display:none!important}.delivery-print-table th:first-child{width:75%}.delivery-print-signatures{display:grid;grid-template-columns:1fr 1fr;gap:60px;margin-top:80px;padding:0 24px;break-inside:avoid;text-align:center}.delivery-print-signatures span{display:block;margin-top:7px}.delivery-signature-line{border-top:1px solid #263e50;margin-bottom:10px}.delivery-pos-signature{border-top:1px solid #111;margin:42px 3mm 8px;padding-top:6px}.delivery-pos-receipt table td:first-child{white-space:normal;overflow-wrap:anywhere}@media print{@page invoiceLetter{size:8.5in 11in;margin:.5in}html:has(.print-preview-modal :is(.print-document,.delivery-pos-receipt)),body:has(.print-preview-modal :is(.print-document,.delivery-pos-receipt)),body:has(.print-preview-modal :is(.print-document,.delivery-pos-receipt)) #app,body:has(.print-preview-modal :is(.print-document,.delivery-pos-receipt)) #app>.app{display:block!important;width:auto!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:0!important;overflow:visible!important}body:has(.print-preview-modal :is(.print-document,.delivery-pos-receipt)) #app>.app>:not(#modalBackdrop){display:none!important}#modalBackdrop:has(.print-preview-modal :is(.print-document,.delivery-pos-receipt)),#modalBackdrop:has(:is(.print-document,.delivery-pos-receipt)) .print-preview-modal,#modalBackdrop:has(:is(.print-document,.delivery-pos-receipt)) .print-preview-modal .modal-body{position:static!important;inset:auto!important;display:block!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:0!important;overflow:visible!important;transform:none!important;border:0!important;box-shadow:none!important;background:#fff!important}.print-preview-modal .print-document{page:invoiceLetter;width:100%;margin:0;padding:0}.print-preview-modal .print-document thead{display:table-header-group}.print-preview-modal .print-document tr,.print-preview-modal .print-document .print-bottom{break-inside:avoid}}@media(max-width:480px){.mixed-row{grid-template-columns:1fr 125px}.mixed-terms{grid-template-columns:1fr}.mixed-checkout footer button{width:100%}}.status.returned{background:#e9efff;color:#254ca1}.status.partial-return,.status.credited{background:#fff1da;color:#875500}.table-actions .create-credit-note:disabled{opacity:.5;cursor:not-allowed}.fiscal-compact-meta{margin:0 0 14px}.fiscal-setup-editor>summary,.fiscal-inline-help>summary{cursor:pointer;color:#155dc0;font-weight:600;font-size:14px}.fiscal-setup-editor[open]>.form-grid{margin-top:16px}.fiscal-inline-help{margin-top:16px}.fiscal-inline-help p{margin:10px 0 0}.fiscal-client-setup .card-head{margin-bottom:10px;align-items:center;justify-content:space-between}.fiscal-client-setup .card-head h3{margin:0}#automaticCertification{margin-top:20px}#automaticCertification .fiscal-flow-actions{margin-top:14px}#portalCredentialsPanel [role=status]:empty{display:none}.fiscal-production-options>summary{cursor:pointer;font-weight:600;color:#155dc0}.fiscal-production-options[open]>section{margin-top:16px}#automaticCertification .primary:disabled{opacity:.55;box-shadow:none;cursor:default}.modal:has(#adjustmentReviewRows){width:min(1200px,100%)}#adjustmentReviewRows select{max-width:280px;font:inherit;padding:7px;border:1px solid #cbd8e8;border-radius:6px}#adjustmentReviewRows td:last-child{white-space:normal;min-width:180px;max-width:260px}#adjustmentReviewRows td:first-child{white-space:normal;min-width:160px}#adjustmentReviewRows label{display:block;margin-top:8px}#inventoryAdjustmentPage .table-card h3{padding:18px 22px 0}#inventoryAdjustmentHistory>p{padding:0 22px 18px}#adjustmentReviewError,#adjustmentFileError{color:#ac2837}.page-head:has(#exportDataExcel){flex-wrap:wrap;gap:10px}
