
/* SOURCE: assets/app-1.69.0.css */

:root{--ink:#15231f;--muted:#6d7a76;--line:#dfe6e2;--bg:#f3f6f4;--surface:#fff;--deep:#12352d;--deep2:#0b2822;--green:#2ca878;--mint:#dff5eb;--gold:#d5a94c;--red:#dc615d;--blue:#4f7fe8;--shadow:0 14px 42px rgba(25,51,43,.09);font-family:'DM Sans',sans-serif;color:var(--ink)}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg)}button,input,select,textarea{font:inherit}button{cursor:pointer}.hidden{display:none!important}.loader-screen{position:fixed;inset:0;display:grid;place-content:center;gap:20px;background:#f7faf8;z-index:100}.brand-mark{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:var(--deep);color:#fff;font:800 23px Manrope;box-shadow:inset 0 0 0 1px #ffffff24}.brand-mark.light{background:#fff;color:var(--deep)}.loader-screen .brand-mark{margin:auto}.loader-bar{width:130px;height:3px;background:#dbe5e0;overflow:hidden;border-radius:9px}.loader-bar span{display:block;height:100%;width:50%;background:var(--green);animation:loading 1s infinite ease-in-out}@keyframes loading{from{transform:translateX(-100%)}to{transform:translateX(240%)}}
.login-view{min-height:100vh;display:grid;grid-template-columns:minmax(420px,1.07fr) minmax(400px,.93fr)}.login-brand{padding:46px 6vw 40px;background:radial-gradient(circle at 78% 20%,#2c5b4e 0,transparent 32%),linear-gradient(145deg,#153c33,#0a2923 70%);color:#fff;display:flex;flex-direction:column;position:relative;overflow:hidden}.login-brand:after{content:'';position:absolute;width:420px;height:420px;border:1px solid #ffffff16;border-radius:50%;right:-180px;bottom:-120px;box-shadow:0 0 0 55px #ffffff07,0 0 0 110px #ffffff05}.brand-lockup{display:flex;align-items:center;gap:12px;font:700 21px Manrope;z-index:1}.login-copy{margin:auto 0;max-width:660px;z-index:1}.eyebrow{font-size:12px!important;letter-spacing:.19em;color:#8ee1be!important;font-weight:700}.login-copy h1{font:800 clamp(44px,5vw,72px)/1.06 Manrope;margin:20px 0 24px;letter-spacing:-.045em}.login-copy h1 em{font-style:normal;color:#8ee1be}.login-copy>p{font-size:18px;line-height:1.65;color:#c8d9d4;max-width:570px}.feature-row{display:flex;flex-wrap:wrap;gap:16px;margin-top:36px}.feature-row span{font-size:13px;background:#ffffff0c;border:1px solid #ffffff1c;padding:10px 13px;border-radius:9px}.login-foot{font-size:12px;color:#88a29b;z-index:1}.login-panel{display:grid;place-items:center;padding:40px;background:#fbfcfb}.login-form{width:min(410px,100%)}.mobile-brand{display:none}.welcome-pill{font-size:10px;letter-spacing:.15em;font-weight:800;color:#247c60;background:var(--mint);padding:7px 10px;border-radius:20px}.login-form h2{font:800 37px Manrope;margin:20px 0 8px;letter-spacing:-.03em}.login-form>p{color:var(--muted);margin:0 0 34px}.login-form label,.form-grid label{display:block;font-size:13px;font-weight:700;margin:18px 0 8px}.login-form input,.form-grid input,.form-grid select,.form-grid textarea,.toolbar select,.toolbar input,.company-picker select{width:100%;border:1px solid #d7e0dc;background:#fff;border-radius:10px;padding:12px 13px;outline:0;color:var(--ink);transition:.2s}.login-form input{margin-top:8px;padding:15px}.login-form input:focus,.form-grid input:focus,.form-grid select:focus,.form-grid textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px #2ca87816}.password-wrap{position:relative}.password-wrap input{padding-right:62px}.show-password{position:absolute;right:12px;top:20px;border:0;background:transparent;color:#28775e;font-size:12px;font-weight:700}.btn{border:0;border-radius:9px;padding:11px 16px;font-weight:700;font-size:13px;display:inline-flex;align-items:center;justify-content:center;gap:10px}.btn.primary{background:var(--deep);color:#fff;box-shadow:0 7px 16px #173f3530}.btn.primary:hover{background:#1b4a3e}.btn.secondary{background:#edf2ef;color:#27423a}.btn.danger{background:#fff0ef;color:#b9433f}.btn.wide{width:100%;padding:15px 17px;margin-top:24px;justify-content:space-between}.form-error{color:#a63f3c;background:#fff0ef;padding:11px 13px;border-radius:8px;margin-top:14px;font-size:13px}.security-note{text-align:center!important;font-size:12px!important;margin:25px 0 0!important;color:#91a09b!important}
.app-shell{min-height:100vh;display:grid;grid-template-columns:244px 1fr}.sidebar{background:linear-gradient(180deg,var(--deep),var(--deep2));color:#fff;height:100vh;position:sticky;top:0;padding:22px 14px;display:flex;flex-direction:column;z-index:40}.side-brand{height:50px;padding:0 7px;display:flex;align-items:center;gap:10px}.side-brand strong{font:700 18px Manrope}.side-brand small{display:block;color:#81a69b;font-size:10px;letter-spacing:.12em;margin-top:2px}.nav-close{display:none}.sidebar nav{margin-top:28px;overflow:auto}.nav-group{margin:21px 12px 8px;color:#789c91;font-size:9px;font-weight:800;letter-spacing:.15em}.nav-item{border:0;background:transparent;color:#abc0ba;width:100%;display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:8px;margin:2px 0;text-align:left;font-size:13px}.nav-item i{font-style:normal;width:21px;font-size:16px;text-align:center;opacity:.9}.nav-item:hover{color:#fff;background:#ffffff0b}.nav-item.active{color:#fff;background:#ffffff13;box-shadow:inset 3px 0 #59d7a6}.side-user{margin-top:auto;border-top:1px solid #ffffff15;padding:18px 6px 0;display:flex;align-items:center;gap:9px}.avatar,.top-avatar{width:34px;height:34px;border-radius:10px;background:#62c9a2;color:#0d3329;display:grid;place-items:center;font-size:11px;font-weight:800}.side-user>div:nth-child(2){min-width:0;flex:1}.side-user strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}.side-user small{color:#7fa096;font-size:10px;text-transform:capitalize}.side-user button{color:#9bb1ab;border:0;background:transparent;font-size:18px}.workspace{min-width:0}.topbar{height:68px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 28px;position:sticky;top:0;z-index:30}.menu-btn{display:none}.company-picker{display:flex;align-items:center;gap:12px}.company-picker span{font-size:9px;font-weight:800;letter-spacing:.13em;color:#8b9994}.company-picker select{padding:8px 30px 8px 11px;font-weight:700;border:0;background:#f1f5f3;max-width:260px}.top-actions{margin-left:auto;display:flex;align-items:center;gap:13px}.live-status{font-size:10px;font-weight:800;color:#538471;background:#ecf7f2;padding:7px 9px;border-radius:20px}.live-status i{display:inline-block;width:6px;height:6px;background:#37b67f;border-radius:50%;margin-right:5px;box-shadow:0 0 0 3px #37b67f22}.icon-btn{border:1px solid var(--line);background:#fff;width:34px;height:34px;border-radius:9px;font-size:20px}.content{padding:27px 30px 50px;max-width:1600px;margin:auto}.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:24px}.page-head h1{font:800 27px Manrope;margin:0 0 5px;letter-spacing:-.03em}.page-head p{margin:0;color:var(--muted);font-size:13px}.head-actions{display:flex;gap:9px}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:20px}.stat-card{background:#fff;border:1px solid #e2e8e5;border-radius:13px;padding:18px;position:relative;overflow:hidden}.stat-card:after{content:'';position:absolute;right:-18px;top:-19px;width:70px;height:70px;border-radius:50%;background:#edf7f2}.stat-label{display:flex;align-items:center;gap:8px;color:#6e7d78;font-size:11px;font-weight:700;position:relative;z-index:1}.stat-icon{width:27px;height:27px;border-radius:8px;background:#e7f6ef;color:#228460;display:grid;place-items:center}.stat-value{font:800 25px Manrope;margin-top:14px}.stat-foot{font-size:10px;color:#91a09b;margin-top:5px}.dashboard-grid{display:grid;grid-template-columns:1.35fr .65fr;gap:18px}.card{background:#fff;border:1px solid #e1e8e4;border-radius:13px;box-shadow:0 2px 4px #1f3a3110}.card-head{display:flex;align-items:center;justify-content:space-between;padding:17px 19px;border-bottom:1px solid #edf1ef}.card-head h3{font:700 14px Manrope;margin:0}.card-head small{color:var(--muted)}.card-body{padding:18px}.chart{height:220px;display:flex;align-items:flex-end;gap:12px;padding:20px 8px 22px;border-bottom:1px solid var(--line)}.chart-day{height:100%;flex:1;display:flex;align-items:flex-end;justify-content:center;gap:4px;position:relative}.bar{width:min(16px,35%);border-radius:5px 5px 2px 2px;min-height:3px;background:#45b98d}.bar.purchase{background:#dfe8e4}.chart-day small{position:absolute;bottom:-20px;font-size:9px;color:#82908b}.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.quick-btn{border:1px solid var(--line);background:#fbfcfb;border-radius:10px;padding:15px 10px;text-align:left;color:var(--ink)}.quick-btn b{font-size:18px;display:block;margin-bottom:7px;color:#2b8a69}.quick-btn span{font-size:11px;font-weight:700}.quick-btn:hover{border-color:#64bd9c;background:#f4fbf8}.empty-state{text-align:center;padding:65px 20px}.empty-icon{width:58px;height:58px;border-radius:18px;background:#e8f5ef;color:#278261;display:grid;place-items:center;font-size:24px;margin:0 auto 16px}.empty-state h3{font:700 18px Manrope;margin:0 0 7px}.empty-state p{color:var(--muted);font-size:13px;margin:0 auto 18px;max-width:430px}
.nav-transaction-group{position:relative}.nav-transaction-group .nav-item>span{flex:1}.nav-expand{margin-left:auto;color:#62c9a2;font-size:16px;font-weight:500;line-height:1;transition:transform .2s ease,color .2s ease}.nav-submenu{max-height:0;opacity:0;overflow:hidden;pointer-events:none;margin:0 0 0 21px;padding:0 0 0 15px;border-left:1px solid transparent;transform:translateY(-5px);transition:max-height .3s ease,opacity .18s ease,transform .24s ease,padding .24s ease,margin .24s ease,border-color .24s ease}.nav-transaction-group.is-open .nav-submenu{max-height:520px;opacity:1;pointer-events:auto;margin:2px 0 8px 21px;padding:3px 0 4px 15px;border-left-color:#ffffff24;transform:translateY(0)}.nav-transaction-group.is-open .nav-expand{transform:rotate(45deg);color:#8be8c4}.nav-subitem{width:100%;display:flex;align-items:center;gap:8px;padding:7px 8px;border:0;border-radius:7px;background:transparent;color:#91aaa2;text-align:left;font-size:11px}.nav-subitem i{width:15px;font-style:normal;color:#62c9a2;font-weight:800}.nav-subitem:hover{background:#ffffff0d;color:#fff}.nav-subitem:hover i{color:#7de0ba}
.table-card{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}.toolbar{padding:12px 14px;border-bottom:1px solid var(--line);display:flex;gap:9px;align-items:center}.toolbar input,.toolbar select{width:auto;padding:9px 11px}.search{min-width:230px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px}th{text-align:left;padding:11px 14px;background:#fafcfb;color:#71807b;font-size:9px;letter-spacing:.08em;text-transform:uppercase;border-bottom:1px solid var(--line);white-space:nowrap}td{padding:12px 14px;border-bottom:1px solid #edf1ef;white-space:nowrap}tbody tr:hover{background:#fbfdfc}tbody tr:last-child td{border-bottom:0}.num{text-align:right;font-variant-numeric:tabular-nums}.amount{font-weight:700}.muted{color:var(--muted)}.badge{display:inline-flex;align-items:center;padding:4px 7px;border-radius:12px;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.badge.posted,.badge.active,.badge.final,.badge.unmodified{background:#e5f6ee;color:#267b5c}.badge.draft{background:#fff4d9;color:#9a6b0b}.badge.void,.badge.inactive,.badge.adverse{background:#ffebe9;color:#b44842}.badge.qualified,.badge.disclaimer{background:#fff1dc;color:#9e681b}.type-label{font-weight:700;text-transform:capitalize}.type-dot{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:7px;background:#5d90ee}.type-dot.sales,.type-dot.receipt{background:#33a879}.type-dot.purchase,.type-dot.payment{background:#e1a749}.type-dot.journal{background:#7c75dc}.click-row{cursor:pointer}.text-green{color:#208461}.text-red{color:#c24b47}.report-summary{display:flex;gap:20px;justify-content:flex-end;padding:14px 18px;background:#f8faf9;border-top:1px solid var(--line)}.report-summary div{text-align:right}.report-summary small{display:block;color:var(--muted);font-size:9px;text-transform:uppercase}.report-summary strong{font:700 17px Manrope}.company-list{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.company-card{background:#fff;border:1px solid var(--line);border-radius:13px;padding:18px}.company-card-top{display:flex;align-items:center;gap:11px}.company-logo{width:38px;height:38px;border-radius:10px;background:var(--deep);color:#fff;display:grid;place-items:center;font-weight:800}.company-card h3{margin:0;font:700 14px Manrope}.company-card p{margin:4px 0 0;color:var(--muted);font-size:11px}.company-card-foot{display:flex;justify-content:space-between;margin-top:18px;padding-top:13px;border-top:1px solid var(--line);font-size:11px}.role-chip{padding:3px 7px;border-radius:12px;background:#eef3f1;font-size:9px;text-transform:capitalize}.low-stock{color:#c24b47;font-weight:700}
.modal-backdrop{position:fixed;inset:0;background:#091f1acc;display:grid;place-items:center;padding:22px;z-index:100;backdrop-filter:blur(4px)}.modal{width:min(700px,100%);max-height:92vh;overflow:auto;background:#fff;border-radius:16px;box-shadow:0 30px 80px #0005}.modal.large{width:min(980px,100%)}.modal-head{padding:19px 22px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;background:#fff;z-index:2}.modal-head h2{font:700 18px Manrope;margin:0}.modal-close{border:0;background:#eef2f0;border-radius:8px;width:30px;height:30px;font-size:19px}.modal-body{padding:20px 22px}.modal-foot{padding:14px 22px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:9px;position:sticky;bottom:0;background:#fff}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:2px 16px}.form-grid label{margin-top:9px}.form-grid .full{grid-column:1/-1}.form-grid textarea{min-height:90px;resize:vertical;margin-top:7px}.form-grid input,.form-grid select{margin-top:7px}.voucher-lines{margin-top:20px;border:1px solid var(--line);border-radius:10px;overflow:auto}.voucher-lines table{min-width:800px}.voucher-lines input,.voucher-lines select{width:100%;padding:8px;border:1px solid #dce4e0;border-radius:7px}.voucher-lines .line-remove{border:0;background:#fff0ef;color:#b94440;border-radius:7px;padding:7px}.line-actions{display:flex;justify-content:space-between;align-items:center;margin-top:10px}.balance-check{font-size:11px;font-weight:700}.balance-check.good{color:#26815f}.balance-check.bad{color:#bc4d48}.toast-root{position:fixed;right:22px;bottom:22px;z-index:200;display:grid;gap:8px}.toast{min-width:260px;max-width:360px;background:#153a31;color:#fff;padding:13px 15px;border-radius:10px;box-shadow:var(--shadow);font-size:12px;animation:toastin .25s ease}.toast.error{background:#a63f3c}@keyframes toastin{from{transform:translateY(12px);opacity:0}}.print-only{display:none}
@media(max-width:1100px){.stats-grid{grid-template-columns:1fr 1fr}.company-list{grid-template-columns:1fr 1fr}.dashboard-grid{grid-template-columns:1fr}.app-shell{grid-template-columns:218px 1fr}.sidebar{padding-left:10px;padding-right:10px}.content{padding:24px 20px}}
@media(max-width:780px){.login-view{display:block}.login-brand{display:none}.login-panel{min-height:100vh;padding:30px 22px}.mobile-brand{display:flex;align-items:center;gap:10px;margin-bottom:65px;font:700 19px Manrope}.app-shell{display:block}.sidebar{position:fixed;left:-260px;width:244px;transition:left .25s}.sidebar.open{left:0;box-shadow:0 0 0 100vw #07191599}.nav-close{display:block;margin-left:auto;color:#fff;background:transparent;border:0;font-size:22px}.menu-btn{display:block;border:0;background:transparent;font-size:19px;margin-right:8px}.topbar{padding:0 14px}.company-picker span,.live-status{display:none}.company-picker select{max-width:175px}.content{padding:20px 13px 40px}.page-head{align-items:flex-start;flex-direction:column}.stats-grid{grid-template-columns:1fr 1fr;gap:9px}.stat-card{padding:14px}.stat-value{font-size:20px}.company-list{grid-template-columns:1fr}.head-actions{width:100%}.head-actions .btn{flex:1}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.modal-backdrop{padding:8px}.modal{max-height:96vh}.toast-root{left:12px;right:12px;bottom:12px}.toast{max-width:none}.toolbar{flex-wrap:wrap}.search{width:100%!important}}
@media print{.sidebar,.topbar,.page-head .head-actions,.toolbar,.no-print{display:none!important}.app-shell{display:block}.content{padding:0}.table-card,.card{border:0}.print-only{display:block}body{background:#fff}th{background:#eee!important;color:#222}.page-head{margin-bottom:12px}}
@media print{.account-list-card .account-child{display:table-row!important}.account-list-card .account-tree-toggle{display:none!important}.account-list-card .account-link{color:#17231f;text-decoration:none}.account-list-card .table-wrap{overflow:visible}.account-list-card table{width:100%;min-width:0}.account-list-card th,.account-list-card td{padding:8px 10px}.account-list-card .account-child td:first-child{border-left:2px solid #8bc7b1}}
.global-print-btn{font-size:16px;color:#174b3d;background:#f7faf8}.global-print-btn:hover{background:#e8f5ef;border-color:#91c8b3}
.product-query-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:18px}.product-query-summary>div{padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:#f8fbf9}.product-query-summary small,.product-query-summary strong{display:block}.product-query-summary small{color:var(--muted);font-size:10px;margin-bottom:5px}.product-query-summary strong{font-size:13px}.product-query-columns{display:grid;grid-template-columns:1fr 1fr;gap:14px}.product-query-columns section,.product-query-stock{border:1px solid var(--line);border-radius:11px;overflow:hidden}.product-query-columns h3,.product-query-stock h3{margin:0;padding:12px 14px;background:#eef8f4;color:#174f40;font:700 14px Manrope}.product-query-columns table{min-width:650px}.product-query-stock{margin-top:14px}.product-query-stock table{min-width:620px}@media(max-width:900px){.product-query-summary{grid-template-columns:1fr 1fr}.product-query-columns{grid-template-columns:1fr}}
.product-query-filter{display:flex;align-items:end;gap:10px;margin:0 0 14px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#fafcfb}.product-query-filter label{margin:0;font-size:11px}.product-query-filter input,.product-query-filter select{display:block;margin-top:5px;padding:8px 10px;border:1px solid #d7e0dc;border-radius:8px;background:#fff}.product-search-results button.keyboard-active{background:#dff5eb;box-shadow:inset 0 0 0 1px #83cdb2}.voucher-ledger-posting tfoot th{background:#f4f8f6;color:#183f35;font-size:11px}.voucher-ledger-posting tfoot .ledger-posting-difference th{color:var(--red);background:#fff1f0}@media(max-width:780px){.product-query-filter{align-items:stretch;flex-direction:column}.product-query-filter input,.product-query-filter select{width:100%}}
.global-print-header{border-bottom:2px solid #173f35;margin:0 0 16px;padding:0 0 12px;align-items:center;gap:14px}.global-print-header img{width:64px;height:64px;object-fit:contain}.global-print-header h1{margin:0 0 4px;font:800 22px Manrope,Arial,sans-serif}.global-print-header p{margin:2px 0;color:#465750;font-size:10px}.global-print-header small{display:block;margin-top:6px;color:#66766f;font-size:9px}
@media print{@page{margin:10mm}.global-print-header{display:flex!important}.content{width:100%;max-width:none}.content>.table-card,.content>.card,.report-workspace{width:100%}.table-wrap{overflow:visible!important}table{width:100%!important;min-width:0!important;font-size:10px!important}th,td{padding:6px 5px!important}.btn,.action-edit,.action-delete,.icon-btn,.row-actions,.toast-root{display:none!important}body:has(.modal-backdrop) .app-shell{display:none!important}.modal-backdrop{position:static!important;display:block!important;padding:0!important;background:#fff!important}.modal{width:100%!important;max-width:none!important;max-height:none!important;overflow:visible!important;border:0!important;box-shadow:none!important}.modal-head,.modal-body{padding-left:0!important;padding-right:0!important}.modal-foot{display:none!important}}
.row-actions{display:flex;justify-content:flex-end;gap:6px}.row-actions button{border:1px solid var(--line);background:#fff;border-radius:7px;padding:6px 10px;font-size:10px;font-weight:700}.row-actions .action-edit{color:#276f59}.row-actions .action-edit:hover{background:#edf8f3;border-color:#9ccdbb}.row-actions .action-delete{color:#b54743}.row-actions .action-delete:hover{background:#fff0ef;border-color:#efb5b2}.row-actions button:disabled{opacity:.35;cursor:not-allowed}.delete-warning{display:flex;gap:15px;align-items:flex-start;background:#fff7f6;border:1px solid #f2d0ce;border-radius:11px;padding:17px}.delete-warning>div{width:34px;height:34px;flex:0 0 34px;border-radius:9px;background:#ffe4e1;color:#b6403c;display:grid;place-items:center;font-weight:800}.delete-warning h3{margin:0 0 7px;font:700 15px Manrope}.delete-warning p{margin:5px 0;color:#6f7774;font-size:12px;line-height:1.55}
.voucher-help{margin-top:18px;padding:11px 13px;border-radius:9px;background:#eef8f3;color:#386b5a;font-size:11px;line-height:1.5}.voucher-lines tr.line-invalid{background:#fff3f2}.voucher-lines tr.line-invalid select,.voucher-lines tr.line-invalid input{border-color:#dc615d;box-shadow:0 0 0 2px #dc615d18}.voucher-lines input::placeholder{color:#a8b2ae}
.cheque-field{display:none!important}.show-cheque .cheque-field{display:block!important}.show-cheque .cheque-field.cheque-bank-other.hidden{display:none!important}.mode-journal .cheque-field{display:none!important}
.table-card .action-edit{border:1px solid var(--line);background:#fff;color:#276f59;border-radius:7px;padding:6px 10px;font-size:10px;font-weight:700}.table-card .action-edit:hover{background:#edf8f3;border-color:#9ccdbb}
.transaction-voucher-table td.amount{font-family:Manrope,Arial,sans-serif!important;font-size:12px!important;font-weight:700!important;font-style:normal!important;line-height:1.35!important;font-variant-numeric:tabular-nums lining-nums!important;font-feature-settings:"tnum" 1,"lnum" 1!important;letter-spacing:0!important}
.modal.large{width:min(1180px,100%)}.modal.large .voucher-lines table{min-width:1080px}.line-total[readonly]{background:#f2f6f4;color:#244b40;font-weight:700}
.mode-simple .advanced-col{display:none}.mode-simple .cash-amount,.mode-simple .balance-check{display:none}.mode-cash .voucher-lines,.mode-cash .line-actions,.mode-cash .warehouse-field{display:none}.mode-journal .pricing-col,.mode-journal .settlement-field,.mode-journal .cash-amount,.mode-journal .warehouse-field{display:none}.mode-journal .voucher-lines table{min-width:720px}.mode-simple .voucher-lines table{min-width:760px}.warehouse-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px;margin:0 0 16px}.warehouse-card{display:flex;justify-content:space-between;gap:12px;background:#fff;border:1px solid var(--line);border-radius:11px;padding:14px}.warehouse-card b,.warehouse-card small{display:block}.warehouse-card b{font-size:12px}.warehouse-card small{font-size:9px;color:var(--muted);margin-top:4px}.warehouse-card>div:last-child{text-align:right}.warehouse-card strong{font:700 17px Manrope}.warehouse-balance{display:inline-block;padding:3px 6px;background:#edf7f2;color:#2a7059;border-radius:10px;font-size:9px;margin:2px}
.form-grid .checkbox-label{display:flex;align-items:center;gap:10px;padding:11px 13px;border:1px solid #d7e0dc;border-radius:10px;background:#f8faf9;transition:background-color .2s ease,border-color .2s ease,box-shadow .2s ease}.form-grid .checkbox-label:has(input:checked){background:#edf9f4;border-color:#86cdb5;box-shadow:0 0 0 3px rgba(44,168,120,.08)}.form-grid .checkbox-label input[type=checkbox]{width:auto;margin:0;accent-color:var(--green);transition:transform .18s ease}.form-grid .checkbox-label input[type=checkbox]:checked{transform:scale(1.08)}.tax-registration-field,.supplier-invoice-field{overflow:hidden;transform-origin:top}
.product-code2{display:block;margin-top:4px}.product-list-name{display:flex;align-items:center;gap:9px}.product-list-name img,.product-image-placeholder{width:38px;height:38px;border-radius:9px;object-fit:cover;flex:0 0 38px}.product-image-placeholder{display:grid;place-items:center;background:#edf3f0;color:#71817a;font-size:8px;font-weight:800}.product-image-editor .company-logo-preview{width:82px;height:82px}
.product-combobox{position:relative;min-width:250px}.product-search-results{position:relative;margin-top:5px;max-height:220px;overflow:auto;padding:5px;background:#fff;border:1px solid #cbd9d3;border-radius:10px;box-shadow:0 10px 24px rgba(18,53,45,.13)}.product-search-results button{width:100%;border:0;background:#fff;display:flex;align-items:center;gap:9px;text-align:left;padding:8px;border-radius:7px;color:var(--ink)}.product-search-results button:hover,.product-search-results button:focus{background:#edf8f3}.product-search-results img,.product-result-placeholder{width:34px;height:34px;object-fit:cover;border-radius:7px;flex:0 0 34px}.product-result-placeholder{display:grid;place-items:center;background:#edf3f0;color:#71817a;font-size:7px;font-weight:800}.product-search-results b,.product-search-results small{display:block}.product-search-results b{font-size:11px}.product-search-results small{font-size:9px;color:var(--muted);margin-top:2px}.product-no-results{padding:12px;color:var(--muted);font-size:10px;text-align:center}.product-codes[readonly]{background:#f5f8f6;color:#40554e;font-weight:600}
.modal.large .voucher-lines{overflow:visible}.modal.large .voucher-lines table,.mode-simple .voucher-lines table,.mode-journal .voucher-lines table{width:100%;min-width:0;table-layout:fixed}.modal.large .voucher-lines th,.modal.large .voucher-lines td{padding-left:8px;padding-right:8px}.mode-simple .voucher-lines th:nth-child(2){width:16%}.mode-simple .voucher-lines th:nth-child(3){width:29%}.mode-simple .voucher-lines th:nth-child(4){width:12%}.mode-simple .voucher-lines th:nth-child(5){width:16%}.mode-simple .voucher-lines th:nth-child(6){width:12%}.mode-simple .voucher-lines th:nth-child(7){width:16%}.mode-simple .voucher-lines th:last-child{width:42px}.mode-journal .voucher-lines th:nth-child(1){width:31%}.mode-journal .voucher-lines th:nth-child(2){width:27%}.mode-journal .voucher-lines th:nth-child(8),.mode-journal .voucher-lines th:nth-child(9){width:19%}.mode-journal .voucher-lines th:last-child{width:42px}.product-combobox{min-width:0}.product-search-results{position:absolute;left:0;right:0;top:100%;z-index:8;margin-top:5px}.voucher-lines input,.voucher-lines select{min-width:0}.voucher-lines .line-remove{width:30px;height:36px;padding:0;display:grid;place-items:center}
.mode-simple .voucher-lines th,.mode-journal .voucher-lines th{width:auto!important}.voucher-lines .line-number-col{width:5%!important;text-align:center;padding-left:4px!important;padding-right:4px!important}.voucher-lines .line-number{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:7px;background:#edf5f1;color:#356b5a;font-size:10px;font-weight:800}.mode-simple .voucher-lines .codes-col{width:14%!important}.mode-simple .voucher-lines .product-col{width:27%!important}.mode-simple .voucher-lines .qty-col{width:10%!important}.mode-simple .voucher-lines .price-col{width:14%!important}.mode-simple .voucher-lines .discount-col{width:11%!important}.mode-simple .voucher-lines .total-col{width:15%!important}.voucher-lines .remove-col{width:4%!important;padding-left:3px!important;padding-right:3px!important}.mode-journal .voucher-lines .ledger-col{width:32%!important}.mode-journal .voucher-lines .codes-col{width:27%!important}.mode-journal .voucher-lines .debit-col{width:15%!important}.mode-journal .voucher-lines .credit-col{width:17%!important}.product-stock{display:block;margin:5px 2px 0;color:#27805f;font-size:9px;font-weight:700;white-space:normal}.product-result-stock{color:#27805f!important;font-weight:700}.product-search-results button>span:last-child{min-width:0;flex:1}.product-search-results b,.product-search-results small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.voucher-lines tr.auto-balance{display:none}
.bulk-transfer-invoice table{table-layout:fixed;min-width:900px!important}.bulk-transfer-invoice th:nth-child(1){width:5%}.bulk-transfer-invoice th:nth-child(2){width:18%}.bulk-transfer-invoice th:nth-child(3){width:32%}.bulk-transfer-invoice th:nth-child(4){width:9%}.bulk-transfer-invoice th:nth-child(5){width:13%}.bulk-transfer-invoice th:nth-child(6){width:17%}.bulk-transfer-invoice th:nth-child(7){width:6%}.bulk-transfer-invoice .bulk-transfer-unit{font-weight:700;color:var(--muted)}
.financial-report-search{min-width:220px}.financial-report-search-hidden{display:none!important}.report-search-empty{margin:12px 14px 0;padding:12px 14px;border:1px solid #d8e4df;border-radius:9px;background:#f5f9f7;color:var(--muted);font-size:12px;font-weight:700}
.outstanding-tree-table tr.credit-overdue-row>td{background:#fff0ef!important;color:#a92f2b!important;border-color:#efc3c0!important}.outstanding-tree-table tr.credit-overdue-row .account-link,.outstanding-tree-table tr.credit-overdue-row .amount{color:#a92f2b!important;font-weight:800}.outstanding-tree-table .credit-due-date{font-weight:700;white-space:nowrap}
.stock-transfer-note header{display:flex;justify-content:space-between;gap:24px;border-bottom:2px solid #173f35;padding-bottom:14px;margin-bottom:16px}.stock-transfer-note header h2,.stock-transfer-note header p{margin:0 0 4px}.stock-transfer-note header>strong{font-size:19px}.stock-transfer-meta{display:grid;grid-template-columns:1fr 1fr;gap:10px 24px;margin-bottom:16px}.stock-transfer-meta div{border-bottom:1px solid var(--line);padding:7px 0}.stock-transfer-meta small,.stock-transfer-reason small{display:block;color:var(--muted);font-size:9px;text-transform:uppercase;letter-spacing:.08em}.stock-transfer-meta b{display:block;margin-top:3px}.stock-transfer-reason{margin-top:18px;padding:12px;border:1px solid var(--line);border-radius:9px}.stock-transfer-reason p{margin:5px 0 0}.stock-transfer-note footer{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;margin-top:55px}.stock-transfer-note footer span{border-top:1px dotted #555;padding-top:7px;text-align:center;font-size:10px}@media print{.stock-transfer-note header>strong{font-size:17px}.stock-transfer-note footer{margin-top:35mm}}
.product-search-results button{min-height:62px;background:#f0faf5;border:1px solid #d7eee4}.product-search-results button:hover,.product-search-results button:focus{background:#e5f6ee;border-color:#aad9c7}.product-result-info{min-width:0;flex:1}.product-stock-badge{min-width:46px;height:42px;display:grid;place-items:center;flex:0 0 auto;padding:0 10px;border-radius:8px;background:#dcefe6;color:#173f35;font:800 22px Manrope;box-shadow:inset 0 0 0 1px #c5e4d7}.product-search-results .product-result-info b,.product-search-results .product-result-info small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.product-search-results .product-result-info em{display:block;margin-top:4px;color:#17664e;font-size:10px;font-style:normal;font-weight:800;font-variant-numeric:tabular-nums}
.contact-combobox{margin-top:6px}.contact-search-results{z-index:30;max-height:250px}.contact-result-icon{font-size:12px;font-weight:800}.party-field-label{display:block}.contact-search-results button{min-height:54px}
.allocation-invoices{margin-top:12px}.allocation-title{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:8px;font-weight:700}.allocation-title small{color:var(--muted);font-weight:500}.allocation-list{display:grid;gap:7px}.allocation-row{display:grid;grid-template-columns:minmax(150px,1fr) minmax(120px,.65fr) minmax(150px,.65fr);align-items:center;gap:14px;padding:10px 12px;border:1px solid var(--line);border-radius:9px;background:#fbfdfc}.allocation-row>div b,.allocation-row>div small{display:block}.allocation-row>div small{margin-top:2px;color:var(--muted);font-size:9px}.allocation-row .allocation-balance{text-align:right}.allocation-row label{margin:0}.allocation-row input{margin-top:4px}.allocation-empty{padding:13px;border:1px dashed #cddbd5;border-radius:9px;color:var(--muted);text-align:center;background:#fafcfb}@media(max-width:780px){.allocation-row{grid-template-columns:1fr 1fr}.allocation-row label{grid-column:1/-1}.allocation-title{align-items:flex-start;flex-direction:column}}
.allocation-row{grid-template-columns:minmax(220px,1.2fr) minmax(130px,.55fr) minmax(0,.8fr);transition:border-color .2s ease,background .2s ease,box-shadow .2s ease}.allocation-row.selected{border-color:#79c5a8;background:#f1faf6;box-shadow:0 0 0 2px #42ad8314}.allocation-choice{display:flex!important;align-items:center;gap:11px;cursor:pointer}.allocation-choice input{width:18px!important;height:18px;min-width:18px;margin:0!important;accent-color:#2ca878}.allocation-choice span b,.allocation-choice span small{display:block}.allocation-choice span small{margin-top:2px;color:var(--muted);font-size:9px}.allocation-payment{max-height:0;opacity:0;overflow:hidden;transform:translateY(-4px);transition:max-height .22s ease,opacity .18s ease,transform .22s ease}.allocation-payment.open{max-height:80px;opacity:1;overflow:visible;transform:translateY(0)}.allocation-payment label{display:block}.allocation-payment input:disabled{pointer-events:none}@media(max-width:780px){.allocation-row{grid-template-columns:1fr auto}.allocation-payment{grid-column:1/-1}}
.allocation-list{gap:4px}.allocation-row{padding:7px 10px;gap:9px}.allocation-choice>span{min-width:0;display:flex;align-items:center;gap:9px;white-space:nowrap;line-height:1.15}.allocation-choice span b,.allocation-choice span small{display:inline;margin:0;color:var(--ink);font-size:11px;font-weight:600}.allocation-choice span small+small{color:var(--muted);font-weight:500}@media(max-width:780px){.allocation-choice{gap:7px}.allocation-choice>span{gap:6px}.allocation-choice span b,.allocation-choice span small{font-size:10px}.allocation-row{padding:6px 8px}}
.allocation-list{gap:3px}.allocation-row{padding:4px 8px;min-height:38px}.allocation-row .allocation-balance b{line-height:1;margin:0}.allocation-choice input{width:16px!important;height:16px;min-width:16px}@media(max-width:780px){.allocation-row{padding:3px 7px;min-height:34px}}
.footer-only-balance{display:none!important}.footer-outstanding-balance{align-self:center;margin-right:4px;color:var(--muted);font-size:12px;white-space:nowrap}.footer-outstanding-balance strong{margin-left:5px;color:var(--ink);font-size:14px}
.footer-only-total{display:none!important}.footer-outstanding-balance{margin-right:auto;color:var(--ink)}.footer-total-payment{align-self:center;color:var(--muted);font-size:12px;white-space:nowrap}.footer-total-payment strong{margin-left:5px;color:var(--ink);font-size:15px}.allocation-list{gap:2px}.allocation-row{padding:2px 8px;min-height:31px;border-radius:7px}.allocation-row .allocation-balance b{font-size:14px}.allocation-choice>span{line-height:1;gap:8px}@media(max-width:780px){.allocation-row{padding:2px 6px;min-height:30px}.footer-outstanding-balance,.footer-total-payment{font-size:10px}.footer-outstanding-balance strong,.footer-total-payment strong{font-size:12px}}
.report-workspace>.toolbar{flex-wrap:wrap;padding:14px 16px;background:#fbfdfc}.report-date{display:flex;align-items:center;gap:7px;font-size:10px;font-weight:800;color:var(--muted);text-transform:uppercase}.report-date input{margin:0}.financial-report-head{display:flex;justify-content:space-between;gap:24px;padding:26px 28px 20px;border-bottom:1px solid var(--line);background:linear-gradient(135deg,#fbfdfc,#f2f8f5)}.financial-report-head h2{font:800 22px Manrope;margin:5px 0 2px}.financial-report-head h3{font:700 17px Manrope;margin:0}.financial-report-head p{margin:7px 0 0;color:var(--muted);font-size:11px}.report-kicker{font-size:9px;letter-spacing:.15em;color:#237b5e;font-weight:800}.report-stamp{text-align:right;display:flex;flex-direction:column;gap:5px;color:var(--muted);font-size:10px}.report-stamp b{color:var(--deep);font-size:13px}.financial-table small{display:block;color:var(--muted);font-size:9px;margin-top:3px}.financial-table thead tr:first-child th{background:#f4f8f6;color:#50645d}.financial-table tbody tr:nth-child(even){background:#fcfdfd}.statement-section{padding-top:10px}.statement-section h4{font:800 12px Manrope;text-transform:uppercase;letter-spacing:.09em;padding:10px 16px;margin:0;background:#edf5f1;color:#1e5d49}.statement-total{display:flex;justify-content:flex-end;gap:40px;padding:11px 18px;border-top:1px solid #cbd9d3;background:#fafcfb}.statement-total strong{min-width:140px;text-align:right}.ageing-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:16px}.ageing-cards div{border:1px solid var(--line);border-radius:10px;padding:13px;background:#fbfdfc}.ageing-cards small{display:block;color:var(--muted);font-size:9px;text-transform:uppercase}.ageing-cards strong{display:block;font:700 17px Manrope;margin-top:6px}.financial-report-foot{display:flex;justify-content:space-between;gap:20px;padding:14px 18px;color:var(--muted);font-size:9px;border-top:1px solid var(--line)}
.account-link{border:0;background:transparent;padding:0;color:#145b47;font:inherit;font-weight:700;text-align:left;text-decoration:underline;text-decoration-color:#77b9a3;text-underline-offset:3px;cursor:pointer}.account-link:hover{color:#0b352b;text-decoration-color:#0b352b}
.account-code-cell{display:flex;align-items:center;gap:9px}.account-tree-toggle{width:25px;height:25px;display:inline-grid;place-items:center;flex:0 0 25px;padding:0;border:1px solid #b9d4ca;border-radius:7px;background:#edf8f3;color:#155e49;font-size:16px;font-weight:800;line-height:1}.account-tree-toggle:hover{background:#dff3e9;border-color:#75b59d}.account-parent td{background:#f9fcfa}.account-parent:hover td{background:#f4faf7}.account-child td{background:#fcfefd}.account-child td:first-child{border-left:3px solid #8bc7b1}.account-child .account-code-cell{padding-left:31px}.account-child-name{position:relative;padding-left:20px}.account-child-name:before{content:'↳';position:absolute;left:0;color:#7ba694;font-weight:700}
.account-child.account-depth-2 td{background:#f8fcfa}.account-child.account-depth-2 td:first-child{border-left:6px double #6db496}.account-child.account-depth-2 .account-code-cell{padding-left:72px}.account-child.account-depth-2 .account-child-name{padding-left:45px}.account-child.account-depth-2 .account-child-name:before{content:'└──';color:#39906f;letter-spacing:1px}
.account-tree-actions{margin-left:auto;display:flex;gap:7px}.account-tree-action{display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border:1px solid #d5e2dd;border-radius:8px;background:#f7faf8;color:#214b3f;font-size:11px;font-weight:700}.account-tree-action span{font-size:17px;line-height:1;color:#18825f}.account-tree-action:hover{background:#e8f6f0;border-color:#8dc7b1}@media(max-width:780px){.account-tree-actions{width:100%;margin-left:0}.account-tree-action{flex:1}}
.party-profile{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:14px}.party-profile>div{padding:11px 12px;border:1px solid var(--line);border-radius:9px;background:#fbfdfc}.party-profile .full{grid-column:1/-1}.party-profile small{display:block;color:var(--muted);font-size:9px;text-transform:uppercase;margin-bottom:5px}.party-profile b{font-size:12px}.party-statement-filter{border:1px solid var(--line);border-radius:10px;flex-wrap:wrap}.party-statement-summary{margin:14px 0}
.reconciliation-meta{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:14px}.reconciliation-meta>div,.reconciliation-summary>div{border:1px solid var(--line);border-radius:10px;padding:13px;background:#fbfdfc}.reconciliation-meta small,.reconciliation-summary small{display:block;color:var(--muted);font-size:9px;text-transform:uppercase;letter-spacing:.05em;margin-bottom:6px}.reconciliation-meta b{font-size:12px}.reconciliation-summary{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.reconciliation-summary strong{display:block;font:700 17px Manrope}.reconciled-ok{background:#eaf7f1!important;color:#176b50}.reconciled-bad{background:#fff0ef!important;color:#aa3f3b}.reconciliation-actions{display:flex;justify-content:flex-end;gap:8px;margin:14px 0}.section-title{font:700 13px Manrope;margin:18px 0 9px}.bank-statement-table small{display:block;color:var(--muted);font-size:9px;margin-top:4px}.bank-statement-table select{min-width:230px;border:1px solid var(--line);border-radius:7px;padding:7px;background:#fff}.bank-statement-table .action-edit,.bank-statement-table .action-delete{border:1px solid var(--line);background:#fff;border-radius:7px;padding:6px 9px;font-size:10px;font-weight:700}.bank-statement-table .action-edit{color:#276f59}.bank-statement-table .action-delete{color:#b54743}
@media(max-width:780px){.reconciliation-meta,.reconciliation-summary{grid-template-columns:1fr 1fr}.reconciliation-actions{justify-content:stretch}.reconciliation-actions .btn{flex:1}}
.reconcile-workspace{display:flex;flex-direction:column;gap:14px}.reconcile-topbar{display:flex;align-items:center;justify-content:space-between;padding:2px 2px 10px}.reconcile-topbar>div:first-child{display:flex;flex-direction:column;gap:3px}.reconcile-eyebrow{color:var(--muted);font-size:9px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.reconcile-topbar strong{font-size:14px}.reconcile-topbar small{color:var(--muted)}.reconcile-balance-strip{display:grid;grid-template-columns:1fr 1fr 1.15fr;border:1px solid var(--line);border-radius:13px;overflow:hidden;background:#fff}.reconcile-balance-strip>div{padding:15px 18px;border-right:1px solid var(--line)}.reconcile-balance-strip>div:last-child{border-right:0}.reconcile-balance-strip small,.reconcile-balance-strip span{display:block;color:var(--muted);font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.reconcile-balance-strip strong{display:block;margin-top:5px;font:750 20px Manrope}.reconcile-balance-strip .reconcile-difference{position:relative;padding-right:105px}.reconcile-balance-strip .reconcile-difference span{position:absolute;right:16px;top:50%;transform:translateY(-50%);padding:5px 8px;border-radius:99px}.reconcile-balance-strip .is-ready{background:#eaf7f1;color:#176b50}.reconcile-balance-strip .is-ready span{background:#d5eee3;color:#176b50}.reconcile-balance-strip .needs-work{background:#fff5f3;color:#a6403c}.reconcile-balance-strip .needs-work span{background:#fbe1dd;color:#a6403c}.reconcile-progress{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:13px 16px;border-radius:12px;background:#0d3d35;color:#fff}.reconcile-progress-copy{display:flex;flex-direction:column;gap:3px}.reconcile-progress-copy span{font-size:10px;color:#bcd3cc}.reconcile-steps{display:flex;align-items:center;gap:6px}.reconcile-steps span{padding:6px 9px;border-radius:99px;color:#9ebbb3;font-size:9px;font-weight:750;white-space:nowrap}.reconcile-steps .done{background:#1c5b4e;color:#d8eee7}.reconcile-steps .active{background:#fff;color:#123e36}.reconcile-section{border:1px solid var(--line);border-radius:13px;background:#fff;overflow:hidden}.reconcile-section-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 18px;border-bottom:1px solid var(--line);background:#fbfdfc}.reconcile-section-head>div:first-child{position:relative;padding-left:39px}.reconcile-section-head h3{margin:0;font:750 14px Manrope}.reconcile-section-head p{margin:4px 0 0;color:var(--muted);font-size:10px}.step-number{position:absolute;left:0;top:0;display:grid;place-items:center;width:27px;height:27px;border-radius:8px;background:#dff3ec;color:#176b50;font-size:12px;font-weight:800}.reconcile-count{padding:6px 9px;border-radius:99px;background:#eef4f1;color:#526b63;font-size:10px;font-weight:750;white-space:nowrap}.reconcile-section .table-wrap{border:0;border-radius:0}.reconcile-section table{margin:0}.statement-check-col{width:96px;text-align:center!important}.statement-ledger-check{display:inline-grid;place-items:center;cursor:pointer}.statement-ledger-check input{appearance:none;width:21px;height:21px;margin:0;border:1.5px solid #9dbdb3;border-radius:6px;background:#fff;cursor:pointer}.statement-ledger-check input:checked{border-color:#1e9d76;background:#1e9d76}.statement-ledger-check input:checked:after{content:'✓';display:grid;place-items:center;color:#fff;font-size:13px;font-weight:900}.reconcile-empty-success{padding:25px!important;text-align:center;color:#20775c!important;background:#f4fbf8}.resolved-line{background:#fbfdfc}.attention-line{background:#fffaf4}.match-status-ok{display:inline-block;margin-right:7px;padding:4px 7px;border-radius:99px;background:#e4f5ee;color:#197053;font-size:9px;font-weight:800}.reconcile-footer-status{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px 17px;border:1px solid #f0cbc5;border-radius:12px;background:#fff5f3}.reconcile-footer-status.is-ready{border-color:#bde1d3;background:#eef9f4}.reconcile-footer-status>div:first-child{display:flex;flex-direction:column;gap:3px}.reconcile-footer-status b{font-size:12px}.reconcile-footer-status span{color:var(--muted);font-size:10px}.reconcile-footer-status .reconciliation-actions{margin:0}.finalize-reconciliation:disabled{cursor:not-allowed;box-shadow:none;opacity:.45}
@media(max-width:900px){.reconcile-progress{align-items:flex-start;flex-direction:column}.reconcile-steps{width:100%;overflow-x:auto}.reconcile-balance-strip{grid-template-columns:1fr 1fr}.reconcile-balance-strip .reconcile-difference{grid-column:1/-1;border-top:1px solid var(--line)}}
@media(max-width:620px){.reconcile-balance-strip{grid-template-columns:1fr}.reconcile-balance-strip .reconcile-difference{grid-column:auto}.reconcile-balance-strip>div{border-right:0;border-bottom:1px solid var(--line)}.reconcile-section-head,.reconcile-footer-status{align-items:stretch;flex-direction:column}.reconcile-section-head .btn,.reconcile-footer-status .btn{width:100%}.reconcile-progress{padding:13px}.reconcile-steps span{padding:5px 7px}.statement-check-col{width:70px}}
.reconcile-balance-strip{grid-template-columns:1fr 1fr 1fr 1.15fr}
@media(max-width:900px){.reconcile-balance-strip{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.reconcile-balance-strip{grid-template-columns:1fr}}
.subscription-warning{display:flex;gap:16px;align-items:flex-start;padding:18px;border:1px solid #efd49a;background:#fff9e9;border-radius:12px}.subscription-warning>div{width:38px;height:38px;flex:0 0 38px;border-radius:10px;background:#ffe9ad;color:#8b6200;display:grid;place-items:center;font-weight:900}.subscription-warning h3{font:700 15px Manrope;margin:0 0 8px}.subscription-warning p{color:var(--muted);font-size:12px;line-height:1.5;margin:0 0 14px}.subscription-countdown{display:block;color:#9a6800;font:800 18px Manrope}
.badge.pending,.badge.pending_user{background:#fff1cc;color:#946500}
.badge.rejected{background:#ffebe9;color:#b44842}
.billing-hero{display:flex;justify-content:space-between;gap:24px;align-items:center;padding:24px 26px;margin-bottom:18px;border-radius:14px;color:#fff;background:linear-gradient(135deg,#12352d,#1d5949);box-shadow:var(--shadow)}.billing-hero small{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#a9cfc2}.billing-hero h2{font:800 27px Manrope;margin:6px 0}.billing-hero p{margin:0;color:#c2d8d1;font-size:12px}.billing-status{text-align:right}.billing-status .badge{display:table;margin:0 0 9px auto}.billing-status strong{display:block;font:800 25px Manrope}.billing-status>small{display:block;margin-top:3px}.staff-usage{height:5px;background:#e5ece9;border-radius:8px;overflow:hidden;margin-top:12px}.staff-usage span{display:block;height:100%;background:var(--green);border-radius:8px}.billing-days{font-size:17px}.billing-details-grid{display:grid;grid-template-columns:1.4fr .6fr;gap:16px;margin-bottom:18px}.billing-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.billing-facts>div{padding:12px;border:1px solid var(--line);border-radius:9px;background:#fbfdfc}.billing-facts small,.billing-code small{display:block;color:var(--muted);font-size:9px;text-transform:uppercase;margin-bottom:5px}.billing-facts b{font-size:12px}.billing-note{font-size:12px;line-height:1.55;margin-top:0}.billing-code{padding:14px;border-radius:9px;background:#edf7f2}.billing-code strong{font:800 20px Manrope;color:var(--deep)}
@media(max-width:780px){.billing-hero{align-items:flex-start;flex-direction:column}.billing-status{text-align:left}.billing-status .badge{margin-left:0}.billing-details-grid{grid-template-columns:1fr}.billing-facts{grid-template-columns:1fr 1fr}}
.company-logo{overflow:hidden;flex:0 0 auto}.company-logo img{width:100%;height:100%;object-fit:contain;background:#fff}.company-logo-editor{display:flex;gap:16px;align-items:center;padding:14px;border:1px solid var(--line);border-radius:12px;background:#f8fbfa}.company-logo-preview{width:88px;height:88px;border-radius:14px;background:var(--deep);color:#fff;display:grid;place-items:center;font:800 24px Manrope;overflow:hidden;flex:0 0 auto}.company-logo-preview img{width:100%;height:100%;object-fit:contain;background:#fff}.company-logo-editor input[type=file]{margin-top:6px}.logo-remove{display:flex!important;flex-direction:row!important;align-items:center;gap:7px;margin-top:9px;color:#b44842}.logo-remove input{width:auto!important;margin:0}
.side-brand-copy{min-width:0;flex:1}.side-brand-copy strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.side-brand .brand-mark{overflow:hidden;flex:0 0 auto}.side-brand .brand-mark img{width:100%;height:100%;object-fit:contain;background:#fff}.side-footer{padding:11px 6px 0;text-align:center;color:#789c91;border-top:1px solid #ffffff10}.side-footer span,.side-footer small{display:block;font-size:9px;line-height:1.5}.side-footer b{color:#b8cec7}.side-footer small{margin-top:2px;color:#63877c}
.billing-console{background:linear-gradient(180deg,#f3f7f5 0,#f7f9f8 260px);min-height:calc(100vh - 68px);max-width:none!important;padding-left:3.2vw!important;padding-right:3.2vw!important}.billing-console .page-head{align-items:center;margin-bottom:20px}.billing-console .page-head h1{font-size:30px}.billing-console .page-head p{max-width:650px}.billing-console .stats-grid{gap:12px;margin-bottom:18px}.billing-console .stat-card{min-height:118px;padding:20px;border:0;box-shadow:0 8px 25px #173f350a}.billing-console .stat-card:after{width:82px;height:82px;background:#e6f4ee}.billing-console .stat-card:nth-child(2):after{background:#fff3d9}.billing-console .stat-card:nth-child(3):after{background:#fde9e7}.billing-console .stat-card:nth-child(4){background:linear-gradient(135deg,#143b32,#1d5949);color:#fff}.billing-console .stat-card:nth-child(4):after{background:#ffffff0b}.billing-console .stat-card:nth-child(4) .stat-label{color:#acd0c4}.billing-console .stat-label{text-transform:uppercase;letter-spacing:.08em;font-size:9px}.billing-console .stat-value{font-size:27px}.billing-console .section-title{font-size:15px;margin:27px 0 10px;display:flex;align-items:center;gap:9px}.billing-console .section-title:before{content:'';width:4px;height:18px;border-radius:5px;background:#37aa80}.billing-console .table-card{border:0;border-radius:14px;box-shadow:0 6px 24px #173f3508}.billing-console .table-card th{background:#f7faf8;padding-top:12px;padding-bottom:12px}.billing-console .table-card td{padding-top:14px;padding-bottom:14px}.billing-console .action-edit,.billing-console .action-delete{border-radius:8px;padding:7px 11px;background:#fff;font-weight:700}.billing-console .action-edit{border:1px solid #cfe0da;color:#185f4a}.billing-console .action-edit:hover{background:#eaf6f1}.billing-console .action-delete{border:1px solid #f0d3d1;color:#b2413e}.billing-console .voucher-help{margin:18px 0 4px;border:1px solid #cfe9de;background:#ecf8f3;border-radius:12px;padding:13px 15px;color:#376c5d}.billing-clear{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #dce9e4;border-radius:12px;padding:13px 16px;box-shadow:0 4px 18px #173f3506}.billing-clear>span{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#e4f6ee;color:#20815f;font-weight:800}.billing-clear b,.billing-clear small{display:block}.billing-clear b{font-size:12px}.billing-clear small{font-size:10px;color:var(--muted);margin-top:2px}.billing-attention{margin:18px 0 5px;border:1px solid #efdba7;border-radius:14px;background:#fffaf0;padding:14px}.billing-section-head{display:flex;justify-content:space-between;align-items:center;margin:0 3px 11px}.billing-section-head span{display:block;text-transform:uppercase;letter-spacing:.1em;color:#9b6a12;font-size:8px;font-weight:800}.billing-section-head h3{font:700 14px Manrope;margin:3px 0 0}.billing-section-head>b{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:#f4b943;color:#523700;font-size:11px}.billing-attention .table-card{box-shadow:none;border:1px solid #efe4ca}.billing-console .badge{padding:5px 8px}.billing-console .amount{font-variant-numeric:tabular-nums}
@media(max-width:780px){.billing-console{padding-left:13px!important;padding-right:13px!important}.billing-console .page-head h1{font-size:25px}.billing-console .stat-card{min-height:100px}.billing-attention{padding:9px}}
.billing-menu{display:grid;grid-template-columns:repeat(6,1fr);gap:5px;margin:0 0 20px;padding:5px;background:#e8efec;border:1px solid #dbe5e1;border-radius:13px}.billing-menu button{position:relative;border:0;border-radius:9px;background:transparent;padding:11px 14px;text-align:left;color:#536861;transition:.18s}.billing-menu button:hover{background:#f3f7f5;color:#183f34}.billing-menu button.active{background:#fff;color:#123d31;box-shadow:0 3px 12px #173f3512}.billing-menu button.active:after{content:'';position:absolute;left:14px;right:14px;bottom:0;height:3px;border-radius:4px 4px 0 0;background:#36a77e}.billing-menu span,.billing-menu small{display:block}.billing-menu span{font:700 12px Manrope}.billing-menu small{margin-top:3px;font-size:9px;color:#87958f}.billing-panel-hidden{display:none!important}.billing-module-summary{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 14px;padding:18px 20px;border:1px solid #dbe8e3;border-radius:14px;background:linear-gradient(135deg,#fff,#eef8f4)}.billing-module-summary h3{margin:7px 0 3px}.billing-module-count{min-width:120px;padding:12px 18px;border-radius:12px;background:#123f31;color:#fff;text-align:center}.billing-module-count b,.billing-module-count small{display:block}.billing-module-count b{font-size:24px}.billing-module-count small{color:#cbe7dc}@media(max-width:780px){.billing-menu{display:flex;overflow-x:auto}.billing-menu button{min-width:145px;flex:0 0 auto}.billing-module-summary{align-items:flex-start}.billing-module-count{min-width:96px}}

/* Readability and fluid screen layout */
html{font-size:clamp(14px,.28vw + 12px,16px)}body{font-size:1rem;line-height:1.45}.app-shell{grid-template-columns:clamp(228px,16vw,268px) minmax(0,1fr)}.content{width:100%;max-width:1700px;padding:clamp(20px,2.2vw,36px) clamp(16px,2.5vw,42px) 56px}.nav-item{font-size:14px;padding:11px 12px}.nav-group{font-size:10px}.side-brand small,.side-user small{font-size:11px}.side-user strong{font-size:13px}.company-picker span,.live-status{font-size:10px}.company-picker select{font-size:14px;max-width:min(290px,32vw)}.page-head h1{font-size:clamp(27px,2vw,32px)}.page-head p{font-size:14px}.btn{font-size:14px}.stats-grid{grid-template-columns:repeat(auto-fit,minmax(min(210px,100%),1fr))}.company-list{grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr))}.stat-label{font-size:12px}.stat-foot{font-size:11px}.card-head h3,.company-card h3{font-size:15px}.company-card p,.company-card-foot{font-size:12px}.table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}table{font-size:13px;min-width:max-content}th{font-size:10px}td{line-height:1.45}.badge{font-size:10px}.row-actions button,.table-card .action-edit{font-size:11px}.form-grid label,.login-form label{font-size:14px}.form-grid input,.form-grid select,.form-grid textarea,.toolbar input,.toolbar select{font-size:14px}.modal{width:min(760px,calc(100vw - 32px))}.modal.large{width:min(1120px,calc(100vw - 32px))}.modal-head h2{font-size:20px}.muted,small{line-height:1.45}.section-title{font-size:14px}.billing-console .section-title{font-size:16px}.billing-menu span{font-size:13px}.billing-menu small{font-size:10px}
@media(max-width:1100px){.app-shell{grid-template-columns:220px minmax(0,1fr)}.content{padding-left:20px;padding-right:20px}.dashboard-grid{grid-template-columns:1fr}.billing-details-grid{grid-template-columns:1fr}}
@media(max-width:780px){html{font-size:14px}.app-shell{display:block}.content{padding:19px 12px 42px}.page-head h1{font-size:26px}.page-head p{font-size:13px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-card{min-width:0}.stat-value{font-size:22px}.form-grid{grid-template-columns:1fr}.toolbar{width:100%;flex-wrap:wrap}.toolbar input,.toolbar select,.search{width:100%!important;min-width:0}.modal,.modal.large{width:calc(100vw - 16px)}.modal-body,.modal-head,.modal-foot{padding-left:16px;padding-right:16px}.head-actions{width:100%;flex-wrap:wrap}.head-actions .btn{flex:1 1 150px}.company-picker select{max-width:55vw}.billing-menu{width:100%}}
@media(max-width:430px){.stats-grid{grid-template-columns:1fr}.top-actions{gap:7px}.company-picker select{max-width:52vw}.page-head h1{font-size:24px}.modal-backdrop{padding:4px}.modal,.modal.large{width:calc(100vw - 8px);max-height:98vh}.billing-facts{grid-template-columns:1fr}}
.registration-section{display:flex;align-items:center;gap:11px;margin:6px 0 8px;padding:12px 14px;border-radius:11px;background:#edf7f3;border:1px solid #d7ebe3}.registration-section>span{width:30px;height:30px;flex:0 0 auto;display:grid;place-items:center;border-radius:9px;background:var(--deep);color:#fff;font:800 12px Manrope}.registration-section h3{margin:0;font:700 14px Manrope}.registration-section p{margin:3px 0 0;color:var(--muted);font-size:11px}.registration-section:not(:first-child){margin-top:22px}.subscription-create-note{align-self:end;margin:9px 0 0;padding:11px 12px;border-radius:9px;background:#fff8e7;border:1px solid #f0dfb3}.subscription-create-note b,.subscription-create-note small{display:block}.subscription-create-note b{font-size:12px;color:#7c5914}.subscription-create-note small{margin-top:3px;color:#806f4d;font-size:10px}
.badge.suspended,.badge.past_due{background:#ffebe9;color:#b44842}.billing-console .row-actions .action-delete{background:#fff7f6}.billing-console .row-actions .action-delete:hover{background:#ffecea}
.billing-status em{display:block;margin-top:5px;color:#a9cdc1;font-size:10px;font-style:normal}.billing-total-fact{background:#e5f5ee!important;border-color:#bfe2d3!important}.billing-total-fact b{font-size:15px!important;color:#176c51}
.free-billing-hero{background:linear-gradient(135deg,#0b5744,#148562)}.free-billing-hero .billing-status strong{font-size:30px;letter-spacing:.04em}.free-billing-hero .badge{background:#dff8ec;color:#08704f}
.available-plan-section{margin-top:18px}.available-plan-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:10px}.available-plan-head span{color:#177058;font:800 9px Manrope;letter-spacing:.13em}.available-plan-head h3{margin:3px 0;font:800 16px Manrope}.available-plan-head p{margin:0;color:var(--muted);font-size:12px}.available-plan-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,270px));justify-content:start;gap:12px}.available-plan-card{display:flex;flex-direction:column;gap:10px;min-height:245px;padding:16px;border:1px solid #d7e6e0;border-radius:14px;background:#fff;box-shadow:0 8px 24px rgba(18,57,47,.06)}.available-plan-card>div:first-child>span{color:#177058;font:800 9px Manrope;letter-spacing:.1em}.available-plan-card h3{margin:5px 0;font:800 16px Manrope}.available-plan-card p{margin:0;min-height:32px;color:var(--muted);font-size:10px}.available-plan-price strong{display:block;color:#10513f;font:800 21px Manrope}.available-plan-price small{color:var(--muted)}.available-plan-card .btn{margin-top:auto;width:100%;min-height:37px;justify-content:center}.available-plan-empty{grid-column:1/-1;padding:22px;border:1px dashed #cbded7;border-radius:12px;background:#f8fbfa;color:var(--muted);text-align:center}
@media(max-width:650px){.available-plan-grid{grid-template-columns:1fr}}
.badge.scheduled{background:#fff4d9;color:#93650e}.badge.removed{background:#edf0ef;color:#65736e}
.badge.pending_price_approval,.badge.pending.price.approval{background:#fff1cc;color:#8b5d00}.line-price.price-overridden{border-color:#e2a638!important;background:#fff9e9!important;box-shadow:0 0 0 3px #e2a63818}.line-price.price-overridden:focus{box-shadow:0 0 0 3px #e2a63830}
.price-approval-box{margin:0 0 16px;padding:13px 15px;border:1px solid #efd28d;border-radius:10px;background:#fff9e9;color:#76510c}.price-approval-box>div b,.price-approval-box>div small{display:block}.price-approval-box>div small{margin-top:3px}.price-approval-box p{display:flex;justify-content:space-between;gap:18px;margin:10px 0 0;padding-top:9px;border-top:1px solid #f0dfb8}.price-approval-box p span{font-variant-numeric:tabular-nums}
.user-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.user-summary>div{position:relative;overflow:hidden;min-height:92px;padding:17px 18px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 5px 18px #173f3507}.user-summary>div:after{content:'';position:absolute;right:-22px;top:-24px;width:72px;height:72px;border-radius:50%;background:#edf7f2}.user-summary small,.user-summary strong{display:block;position:relative;z-index:1}.user-summary small{color:var(--muted);font-size:10px;font-weight:800;letter-spacing:.07em;text-transform:uppercase}.user-summary strong{margin-top:10px;font:800 22px Manrope}.users-card{border-radius:14px;box-shadow:0 6px 25px #173f3508}.user-toolbar{padding:14px 15px;background:#fbfdfc}.user-toolbar .user-search{flex:1;min-width:260px}.user-toolbar select{min-width:160px}.user-identity{display:flex;align-items:center;gap:11px;min-width:215px}.user-identity>span{width:35px;height:35px;flex:0 0 35px;display:grid;place-items:center;border-radius:10px;background:#e4f5ed;color:#1b7658;font:800 11px Manrope}.user-identity b,.user-identity small{display:block}.user-identity b{font-size:13px}.user-identity small{margin-top:2px;color:var(--muted);font-size:10px}.row-actions .immediate-delete{background:#fff7f6;border-color:#efcfcc}.row-actions .immediate-delete:hover{background:#ffe9e7;border-color:#e8aaa6}
@media(max-width:900px){.user-summary{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.user-summary{grid-template-columns:1fr}.user-toolbar .user-search,.user-toolbar select{width:100%;min-width:0}}
.custom-access-panel{margin-top:5px;padding:16px;border:1px solid #cfe2da;border-radius:12px;background:#f6fbf8}.custom-access-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:13px}.custom-access-head b,.custom-access-head small{display:block}.custom-access-head small{margin-top:3px;color:var(--muted);font-size:11px}.permission-bulk-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.permission-select-all,.permission-clear-all{border:1px solid #bad7cb;border-radius:8px;background:#fff;color:#216c54;padding:7px 10px;font-size:11px;font-weight:700}.permission-clear-all{border-color:#e2c4c1;color:#a33d37}.permission-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.permission-grid label{display:flex!important;align-items:flex-start;gap:10px;margin:0!important;padding:11px;border:1px solid #dce8e3;border-radius:9px;background:#fff;cursor:pointer}.permission-grid input{width:auto!important;margin:3px 0 0!important;accent-color:var(--green)}.permission-grid span,.permission-grid b,.permission-grid small{display:block}.permission-grid b{font-size:12px}.permission-grid small{margin-top:2px;color:var(--muted);font-size:10px;font-weight:400}.permission-grid label:has(input:checked){border-color:#72bea0;background:#edf8f3;box-shadow:0 0 0 2px #2ca8780d}.badge.custom_access{background:#e8edff;color:#465fb2}
@media(max-width:640px){.permission-grid{grid-template-columns:1fr}.custom-access-head{align-items:flex-start}}
.permission-matrix{overflow:hidden;border:1px solid #dce8e3;border-radius:10px;background:#fff}.permission-matrix-head,.permission-matrix-row{display:grid;grid-template-columns:minmax(240px,1fr) repeat(4,minmax(76px,105px));align-items:stretch}.permission-matrix-head{background:#eef5f2;color:#61736c;font-size:9px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.permission-matrix-head span{padding:10px;text-align:center}.permission-matrix-head span:first-child{text-align:left}.permission-matrix-row{border-top:1px solid #e8efec}.permission-matrix-row>div{padding:11px 12px}.permission-matrix-row>div b,.permission-matrix-row>div small{display:block}.permission-matrix-row>div b{font-size:12px}.permission-matrix-row>div small{margin-top:2px;color:var(--muted);font-size:10px}.permission-matrix-row label{display:flex!important;align-items:center;justify-content:center;gap:6px;margin:0!important;padding:10px;border-left:1px solid #e8efec;cursor:pointer}.permission-matrix-row label:has(input:checked){background:#eaf7f1;color:#176b50}.permission-matrix-row input{width:auto!important;margin:0!important;accent-color:var(--green)}.permission-matrix-row label span{display:none}.permission-matrix-row:hover>div{background:#fbfdfc}
@media(max-width:720px){.permission-matrix{overflow-x:auto}.permission-matrix-head,.permission-matrix-row{min-width:650px}}
.permission-matrix-row label.dependency-auto{background:#fff0f0!important;color:#b42318!important;box-shadow:inset 0 0 0 1px #f2a7a2}.permission-matrix-row label.dependency-auto input{accent-color:#d92d20}.permission-dependency-note{margin:0 0 12px;padding:10px 12px;border:1px solid #f2a7a2;border-radius:9px;background:#fff3f2;color:#9f1c14;font-size:11px;line-height:1.6}.permission-dependency-note b{margin-right:5px}.permission-dependency-note small{display:inline;color:#b42318;font-size:9px}
.permission-search,.approval-search{display:flex;align-items:center;gap:12px;margin:12px 0;padding:10px 12px;border:1px solid #dce8e3;border-radius:10px;background:#f8fbfa}.permission-search span,.approval-search span{font-size:11px;font-weight:800;white-space:nowrap}.permission-search input,.approval-search input{margin:0!important;min-width:240px}.approval-section-list{display:grid;gap:16px}.approval-section>header{display:flex;align-items:center;justify-content:space-between;margin:0 0 7px;padding:0 3px}.approval-section>header h3{margin:0;font-size:14px}.approval-section>header span{color:var(--muted);font-size:10px}.hidden{display:none!important}
.modal:has(.custom-access-panel) .permission-section>header{position:static;margin:0;padding:10px 13px;border:1px solid #d6e5df;border-bottom:0;border-radius:10px 10px 0 0;background:#f0f7f4}.modal:has(.custom-access-panel) .permission-matrix{border-radius:0 0 10px 10px}.modal:has(.custom-access-panel) .permission-matrix-head{display:none}.permission-sticky-guide{position:sticky;top:0;z-index:8;display:grid;grid-template-columns:minmax(240px,1fr) repeat(4,minmax(76px,105px));align-items:center;margin:0 0 10px;border:1px solid #bad5cb;border-radius:9px;background:#eaf4f0;box-shadow:0 5px 12px rgba(11,55,44,.13);color:#254f44}.permission-sticky-guide b{padding:10px 12px;font-size:11px}.permission-sticky-guide span{padding:10px 5px;border-left:1px solid #d1e2dc;text-align:center;font-size:9px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}.permission-child-row[data-permission-module^="action_"] .permission-main-toggle small{display:none!important}
.modal:has(.custom-access-panel) .permission-matrix-row .permission-main-toggle{min-height:34px;padding:5px 10px!important;line-height:1.2}.modal:has(.custom-access-panel) .permission-matrix-row>label:not(.permission-main-toggle){min-height:34px;padding:5px!important}.modal:has(.custom-access-panel) .permission-child-row .permission-main-toggle{padding-left:24px!important}.modal:has(.custom-access-panel) .permission-matrix-row .permission-main-toggle small{margin-top:1px!important;line-height:1.2}
.modal:has(.custom-access-panel) .permission-matrix-row .permission-main-toggle small{display:none!important}.modal:has(.custom-access-panel) .permission-matrix-row .permission-main-toggle{min-height:30px!important;padding-top:4px!important;padding-bottom:4px!important}
.modal:has(.custom-access-panel) .custom-access-head{flex-wrap:wrap}.permission-auto-save-status{flex:0 0 100%;margin-left:auto;color:#26745d!important;text-align:right;font-size:10px!important;font-weight:700}
.session-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.session-summary>div{padding:17px 18px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 5px 18px #173f3507}.session-summary small,.session-summary strong{display:block}.session-summary small{color:var(--muted);font-size:10px;font-weight:800;letter-spacing:.07em;text-transform:uppercase}.session-summary strong{margin-top:9px;font:800 23px Manrope}.sessions-card{border-radius:14px;box-shadow:0 6px 25px #173f3508}.session-toolbar .session-search{flex:1;min-width:260px}.session-toolbar select{min-width:170px}.session-live-note{margin-left:auto;color:var(--muted);font-size:10px}.session-live-note i,.session-state i{display:inline-block;width:7px;height:7px;margin-right:6px;border-radius:50%;background:#31ad7c;box-shadow:0 0 0 3px #31ad7c1d}.session-state{display:inline-flex;align-items:center;padding:5px 8px;border-radius:15px;font-size:10px;font-weight:800}.session-state.working{background:#e6f6ee;color:#22795a}.session-state.idle{background:#fff3d9;color:#90620b}.session-state.idle i{background:#d5a13a;box-shadow:0 0 0 3px #d5a13a1d}.sessions-card code{font:11px Consolas,monospace;color:#52635d;background:#f2f5f4;padding:4px 6px;border-radius:6px}
@media(max-width:900px){.session-summary{grid-template-columns:1fr 1fr}.session-live-note{width:100%;margin-left:0}}
@media(max-width:500px){.session-summary{grid-template-columns:1fr}}
.content-refreshing{position:relative}.content-refreshing:before{content:"";position:fixed;top:0;left:0;right:0;height:3px;z-index:50;background:linear-gradient(90deg,transparent,#2cad80,transparent);background-size:45% 100%;animation:pageRefresh 1s linear infinite}.modal-loading{max-width:440px}.action-loading{min-height:125px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;color:var(--muted)}.action-loading span{width:32px;height:32px;border:3px solid #dcebe5;border-top-color:#2ca878;border-radius:50%;animation:actionSpin .7s linear infinite}.action-loading p{margin:0}@keyframes actionSpin{to{transform:rotate(360deg)}}@keyframes pageRefresh{from{background-position:-50% 0}to{background-position:150% 0}}
.nav-subitem.active{color:#fff;background:#ffffff12}.po-lines select{min-width:0}.po-lines table{width:100%;min-width:0;table-layout:fixed}.po-lines .line-number-col{width:5%!important}.po-lines .codes-col{width:14%!important}.po-lines .product-col{width:27%!important}.po-lines .qty-col{width:10%!important}.po-lines .price-col{width:14%!important}.po-lines .discount-col{width:11%!important}.po-lines .total-col{width:15%!important}.po-lines .remove-col{width:4%!important}.po-grand-total{margin-left:auto;font-size:16px;color:var(--ink)}
.receive-lines .po-not-delivered{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:700;color:#9b4b32;white-space:nowrap}.receive-lines .po-not-delivered input{width:17px;min-width:17px;height:17px}.receive-lines .cancel-reason{margin-top:7px;font-size:10px}.badge.closed{background:#e9edf3;color:#42526b}
.modal.large .receive-lines{overflow-x:auto;overflow-y:visible}.receive-lines table{width:100%;min-width:1040px!important;table-layout:fixed}.receive-lines th{white-space:normal;line-height:1.25;vertical-align:middle}.receive-lines th:nth-child(1){width:19%}.receive-lines th:nth-child(2){width:8%}.receive-lines th:nth-child(3){width:12%}.receive-lines th:nth-child(4){width:8%}.receive-lines th:nth-child(5){width:11%}.receive-lines th:nth-child(6){width:13%}.receive-lines th:nth-child(7){width:10%}.receive-lines th:nth-child(8){width:19%}.receive-lines td{vertical-align:middle}.receive-lines .receive-value{white-space:nowrap}.receive-lines .receive-qty,.receive-lines .receive-cost{min-width:88px}.receive-lines .po-not-delivered{white-space:normal;line-height:1.3}
@media(max-width:780px){.receive-lines table{min-width:980px!important}.receive-lines th,.receive-lines td{padding-left:7px!important;padding-right:7px!important}}
.required-mark{color:#d93025;font-weight:800;margin-left:2px}
.voucher-date-field .readonly-date-value{display:flex;align-items:center;min-height:46px;padding:0 14px;border-bottom:1px solid #d9e3df;color:var(--ink);font-size:14px;font-weight:700}.voucher-date-field .readonly-date-value.hidden{display:none}
.po-progress{width:110px;height:7px;border-radius:999px;background:#e6efeb;overflow:hidden;margin-bottom:5px}.po-progress span{display:block;height:100%;background:#2ca878;border-radius:inherit}.po-receive-note{margin-top:14px;padding:12px 14px;border-radius:10px;background:#eff9f4;color:#286653;font-size:12px}.receive-lines td:first-child b,.receive-lines td:first-child small{display:block}.po-receipt-history{margin-top:18px}.po-receipt-history h3{margin:0 0 10px}.po-receipt-history>div{display:grid;grid-template-columns:1.1fr .8fr .8fr 1fr;gap:8px 14px;padding:11px 12px;border:1px solid var(--line);border-radius:10px;margin-top:8px}.po-receipt-history>div small{grid-column:1/-1;color:var(--muted)}.badge.partially_received{background:#fff1cf;color:#8a5a00}.badge.received{background:#dff5ea;color:#147653}@media(max-width:780px){.po-receipt-history>div{grid-template-columns:1fr 1fr}}
.po-receipt-history .po-receipt-history-head,.po-receipt-history .po-receipt-history-row{display:grid;grid-template-columns:minmax(190px,1.25fr) minmax(105px,.72fr) minmax(125px,.75fr) minmax(125px,.72fr) minmax(150px,1fr);align-items:center;gap:10px 18px}.po-receipt-history .po-receipt-history-head{margin:0;padding:9px 13px;border:0;border-radius:9px;background:#f3f7f5;color:#687a73;font-size:9px;font-weight:800;letter-spacing:.07em;text-transform:uppercase}.po-receipt-history .po-receipt-history-row{margin-top:7px;padding:13px;border:1px solid var(--line);border-radius:10px;background:#fff}.po-receipt-history-row>b{font-size:13px}.po-receipt-history-row strong{font-size:13px;text-align:right;font-variant-numeric:tabular-nums}.po-receipt-history-row span>b,.po-receipt-history-row span>small{display:block}.po-receipt-history-row span>small{margin-top:2px;color:#a24b3f;font-size:9px}.po-receipt-history .po-receipt-notes{grid-column:1/-1;margin:0;padding-top:8px;border-top:1px dashed #dfe8e4;color:var(--muted)}@media(max-width:780px){.po-receipt-history .po-receipt-history-head{display:none}.po-receipt-history .po-receipt-history-row{grid-template-columns:1fr 1fr}.po-receipt-history-row strong{text-align:left}.po-receipt-history .po-receipt-notes{grid-column:1/-1}}
.transaction-filter-bar{flex-wrap:wrap}.transaction-date-range{display:flex;align-items:center;gap:7px;margin-left:auto}.transaction-date-range>span{color:var(--muted);font-size:10px}.transaction-date-range label{display:flex;align-items:center;gap:6px;color:#667872;font-size:9px;font-weight:800;text-transform:uppercase}.transaction-date-range input{width:145px!important}.transaction-filter-note{display:flex;align-items:center;justify-content:space-between;padding:8px 15px;border-bottom:1px solid var(--line);background:#f7faf8;color:var(--muted);font-size:10px}.transaction-filter-note span:first-child b{color:var(--deep)}.transaction-filter-note i{padding:0 4px;font-style:normal;color:#9baaa5}@media(max-width:900px){.transaction-date-range{width:100%;margin-left:0}.transaction-date-range label{flex:1}.transaction-date-range input{width:100%!important}.transaction-current-month{flex:1}}@media(max-width:520px){.transaction-date-range{align-items:stretch;flex-direction:column}.transaction-date-range>span{display:none}.transaction-date-range label{display:block}.transaction-date-range input{margin-top:4px}.transaction-filter-note{align-items:flex-start;flex-direction:column;gap:3px}}
.transaction-list-card,.transaction-list-card>.toolbar{overflow:visible}.transaction-payment-method{min-width:170px}.transaction-client-picker{width:230px;z-index:35}.transaction-client-picker>input{width:100%!important}.transaction-client-results{z-index:80;max-height:300px}.transaction-client-results button{min-height:38px}@media(max-width:900px){.transaction-client-picker{width:min(100%,280px)}}@media(max-width:620px){.transaction-search,.transaction-type,.transaction-payment-method,.transaction-client-picker{width:100%!important}}
.settings-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:18px;align-items:start}.settings-menu{position:sticky;top:82px;padding:8px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 6px 24px #173f3508}.settings-menu button{display:block;width:100%;padding:13px 14px;border:0;border-radius:10px;background:transparent;color:var(--ink);text-align:left;cursor:pointer}.settings-menu button+button{margin-top:3px}.settings-menu button:hover{background:#f2f7f5}.settings-menu button.active{background:#e7f5ef;color:var(--deep);box-shadow:inset 3px 0 #2ca878}.settings-menu b,.settings-menu small{display:block}.settings-menu b{font-size:12px}.settings-menu small{margin-top:3px;color:var(--muted);font-size:9px;line-height:1.35}.settings-panel{min-width:0}.settings-panel-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:14px;padding:18px 20px;border:1px solid var(--line);border-radius:14px;background:#fff}.settings-panel-head h2{margin:0;font:800 20px Manrope}.settings-panel-head p{margin:5px 0 0;color:var(--muted);font-size:11px}.settings-loading{min-height:230px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:var(--muted)}.settings-loading span{width:30px;height:30px;border:3px solid #dcebe5;border-top-color:#2ca878;border-radius:50%;animation:actionSpin .7s linear infinite}.settings-panel .year-close-card,.settings-panel .factory-reset-card{margin-top:0}.settings-panel .company-import-card{margin-top:0}@media(max-width:850px){.settings-layout{grid-template-columns:1fr}.settings-menu{position:static;display:flex;overflow-x:auto}.settings-menu button{min-width:170px}.settings-menu button+button{margin:0 0 0 4px}.settings-menu button.active{box-shadow:inset 0 -3px #2ca878}.settings-panel-head{align-items:stretch;flex-direction:column}.settings-panel-head .btn{width:100%}}
.module-assignment-list{display:grid;gap:10px}.module-assignment{display:grid;grid-template-columns:minmax(0,1fr) 190px auto;align-items:center;gap:18px;padding:15px;border:1px solid var(--line);border-radius:12px;background:#fff}.module-enable{display:flex!important;align-items:flex-start;gap:11px}.module-enable input{width:18px!important;height:18px;margin-top:2px}.module-enable b,.module-enable small{display:block}.module-enable small{margin-top:3px;color:var(--muted);font-size:10px}.module-assignment>label:nth-child(2){font-size:10px;font-weight:700}.module-assignment .module-price{margin-top:5px}@media(max-width:700px){.module-assignment{grid-template-columns:1fr}.module-assignment>label:nth-child(2){width:100%}}
.module-store-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px;margin-bottom:24px}.module-store-card{display:flex;min-height:190px;flex-direction:column;justify-content:space-between;gap:15px;padding:20px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 7px 24px #173f3508}.module-store-card h3{margin:12px 0 6px;font:800 17px Manrope}.module-store-card p{margin:0;color:var(--muted);font-size:11px;line-height:1.55}.module-store-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:14px;border-top:1px solid var(--line)}.module-store-foot strong{font:800 18px Manrope}.module-store-foot strong small{font:600 9px Manrope;color:var(--muted)}@media(max-width:520px){.module-store-foot{align-items:stretch;flex-direction:column}.module-store-foot .btn{width:100%}}
.badge.pending_approval{background:#fff1cf;color:#8a5a00}.badge.pending_payment{background:#ffe5df;color:#a33e32}
.year-close-card{margin-top:18px;border:1px solid #bcd9ce;border-radius:14px;overflow:hidden;background:#fff}.year-close-head{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 24px;background:linear-gradient(135deg,#f4fbf8,#eaf6f1)}.year-close-head h3{margin:13px 0 5px;font:800 19px Manrope}.year-close-head p{max-width:720px;margin:0;color:var(--muted);font-size:12px}.year-close-current{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #d5e6df;border-bottom:1px solid var(--line)}.year-close-current>div{padding:13px 20px}.year-close-current>div+div{border-left:1px solid var(--line)}.year-close-current small,.year-close-current b{display:block}.year-close-current small{margin-bottom:4px;color:var(--muted);font-size:9px;text-transform:uppercase}.year-close-empty{padding:22px;text-align:center;color:var(--muted)}.year-close-warning{margin-bottom:15px;padding:14px;border:1px solid #edc8a8;border-radius:10px;background:#fff8ed;color:#704b26}.year-close-warning p{margin:5px 0 0;font-size:11px;line-height:1.55}.year-close-confirm{display:flex!important;align-items:flex-start;gap:9px;padding:12px;border:1px solid var(--line);border-radius:10px;background:#f7faf8}.year-close-confirm input{width:auto!important;margin:2px 0 0}.badge.closed{background:#e5f6ee;color:#267b5c}.badge.reopened{background:#fff1dc;color:#9e681b}@media(max-width:700px){.year-close-head{align-items:stretch;flex-direction:column;padding:18px}.year-close-head .btn{width:100%}.year-close-current{grid-template-columns:1fr}.year-close-current>div+div{border-left:0;border-top:1px solid var(--line)}}
.inline-selling-price{appearance:none;border:0;background:transparent;color:inherit;font:inherit;font-weight:700;padding:4px 6px;border-radius:7px;cursor:default}
.inline-selling-price:not(:disabled){cursor:text}
.inline-selling-price:not(:disabled):hover{background:#edf7f3;outline:1px dashed #79ad9f}
.inline-selling-input{width:118px!important;min-width:0!important;text-align:right;padding:7px 9px!important;border-color:#2ca77d!important;box-shadow:0 0 0 3px rgba(44,167,125,.12)}
.selling-price-cell{min-width:175px}
.price-cost-warning{display:block;margin-top:3px;color:#c34b3f;font-size:11px;line-height:1.35;font-weight:600;white-space:normal}
.selling-below-po{background:#fff8f0}
.latest-purchase-cell{min-width:150px}
.latest-purchase-cell small{display:block;margin-top:3px;color:#718079;font-size:10px;white-space:nowrap}
.factory-reset-card{margin-top:22px;padding:22px 24px;border:1px solid #efb8b3;border-radius:15px;background:#fff8f7;display:flex;align-items:center;justify-content:space-between;gap:24px}
.factory-reset-card h3{margin:7px 0 6px;color:#8f2f27}
.factory-reset-card p{margin:0 0 6px;max-width:820px;color:#4c5c56}
.factory-reset-card small{color:#78857f}
.danger-kicker{font-size:10px;font-weight:800;letter-spacing:.13em;color:#bd3e34}
.btn.danger{background:#b83d34;color:#fff;border-color:#b83d34;white-space:nowrap}
.btn.danger:hover{background:#982e27}
.factory-reset-warning{display:flex;gap:16px;padding:16px;border:1px solid #efb8b3;border-radius:12px;background:#fff5f4;margin-bottom:18px}
.factory-reset-warning>div{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#bd3e34;color:#fff;font-weight:800;flex:0 0 auto}
.factory-reset-warning h3{margin:0 0 7px;color:#8f2f27}
.factory-reset-warning p{margin:5px 0;color:#4c5c56}
.factory-reset-warning ul{margin:9px 0;padding-left:20px;color:#4c5c56}
.factory-code-label{display:block;margin-bottom:14px}
.factory-code-label input{margin-top:8px;text-transform:uppercase}
.factory-confirm-check{display:flex!important;align-items:center;gap:9px;padding:12px;border:1px solid #e1e8e5;border-radius:10px;background:#f7faf9}
.factory-confirm-check input{width:18px!important;height:18px;min-width:18px}
@media(max-width:700px){.factory-reset-card{align-items:stretch;flex-direction:column}.factory-reset-card .btn{width:100%}}
.permission-main-toggle{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:11px!important;padding:0 10px!important;text-align:left!important;cursor:pointer}.permission-main-toggle input{width:17px!important;height:17px!important;flex:0 0 auto}.permission-main-toggle span,.permission-main-toggle b,.permission-main-toggle small{display:block}.permission-main-toggle small{margin-top:3px;color:var(--muted)}
.permission-matrix-row .permission-main-toggle{border-left:0!important;padding:9px 12px!important}.permission-matrix-row .permission-main-toggle>span,.permission-matrix-row .permission-main-toggle b,.permission-matrix-row .permission-main-toggle small{display:block!important}.permission-matrix-row .permission-main-toggle b{font-size:12px;color:var(--ink)}.permission-matrix-row .permission-main-toggle small{margin-top:2px;font-size:10px;color:var(--muted)}
.permission-child-row .permission-main-toggle{padding-left:30px!important;background:#fbfdfc}.permission-child-row .permission-main-toggle b{font-weight:650!important;color:#365b50!important}
.stock-lookup-trigger{display:grid;place-items:center;color:#185c49}.stock-lookup-trigger svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.stock-lookup-trigger:hover{background:#edf8f3;border-color:#a9d7c5}.stock-lookup{display:flex;flex-direction:column;gap:12px}.stock-lookup-search{position:relative}.stock-lookup-search svg{position:absolute;left:14px;top:50%;transform:translateY(-50%);width:19px;height:19px;fill:none;stroke:#71827c;stroke-width:1.8;stroke-linecap:round}.stock-lookup-search input{width:100%;padding:13px 14px 13px 44px;font-size:14px}.stock-lookup-meta{font-size:10px}.stock-lookup-results{display:flex;flex-direction:column;gap:8px;max-height:58vh;overflow:auto;padding-right:3px}.stock-lookup-item{display:grid;grid-template-columns:minmax(220px,1.5fr) minmax(125px,.55fr) minmax(115px,.5fr) minmax(230px,1fr);align-items:center;gap:16px;border:1px solid var(--line);border-radius:11px;padding:12px;background:#fff}.stock-lookup-product{display:flex;align-items:center;gap:11px;min-width:0}.stock-lookup-product img,.stock-lookup-product>.product-image-placeholder{width:42px;height:42px;border-radius:9px;object-fit:cover;flex:0 0 auto}.stock-lookup-product>div{min-width:0}.stock-lookup-product b,.stock-lookup-product small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stock-lookup-product small,.stock-on-hand small,.stock-selling small{color:var(--muted);font-size:9px;margin-top:4px}.stock-on-hand strong,.stock-selling strong{display:block;margin-top:3px;font-size:14px}.stock-on-hand.is-low strong{color:#bd4844}.stock-warehouse-list{display:flex;flex-direction:column;gap:5px}.stock-warehouse-balance{display:flex;justify-content:space-between;gap:12px;padding:5px 8px;border-radius:7px;background:#f0f7f4;font-size:10px}.stock-warehouse-balance span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stock-warehouse-balance small{color:#789089}.stock-warehouse-balance strong{white-space:nowrap;color:#185c49}.stock-lookup-empty{padding:42px;text-align:center;border:1px dashed var(--line);border-radius:11px}.stock-lookup-empty b,.stock-lookup-empty span{display:block}.stock-lookup-empty span{color:var(--muted);font-size:11px;margin-top:6px}@media(max-width:780px){.stock-lookup-item{grid-template-columns:1fr 1fr}.stock-lookup-product,.stock-warehouse-list{grid-column:1/-1}.top-actions{gap:7px}.stock-lookup-results{max-height:64vh}}
.product-stock-badge{min-width:27px!important;height:24px!important;padding:1px 5px!important;border-radius:5px!important;font-size:11px!important;line-height:1!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:3px!important}.product-stock-badge small{font:700 7px Manrope!important;color:#52766a!important;line-height:1!important;max-width:22px;overflow:hidden;text-overflow:ellipsis}
.stock-lookup-bar{width:170px;height:36px;display:flex;align-items:center;gap:8px;padding:0 11px;border:1px solid var(--line);border-radius:9px;background:#fff;color:#7b8984;text-align:left;font:500 11px Manrope;transition:border-color .15s,box-shadow .15s,background .15s}.stock-lookup-bar svg{width:16px;height:16px;flex:0 0 auto;fill:none;stroke:#286f59;stroke-width:1.8;stroke-linecap:round}.stock-lookup-bar:hover,.stock-lookup-bar:focus{outline:0;border-color:#6bc19f;background:#fbfefc;box-shadow:0 0 0 3px #48ad8618}.stock-lookup-bar span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:780px){.stock-lookup-bar{width:38px;padding:0;justify-content:center}.stock-lookup-bar span{display:none}}
.top-stock-search{position:relative;width:190px;height:36px}.top-stock-search>svg{position:absolute;z-index:1;left:10px;top:10px;width:16px;height:16px;fill:none;stroke:#286f59;stroke-width:1.8;stroke-linecap:round;pointer-events:none}.top-stock-search>input{width:100%;height:36px;padding:0 10px 0 33px;border:1px solid var(--line);border-radius:9px;background:#fff;font-size:11px}.top-stock-search>input:focus{border-color:#55b68f;box-shadow:0 0 0 3px #48ad8618}.top-stock-results{position:absolute;right:0;top:43px;width:310px;max-height:420px;overflow:auto;padding:5px;z-index:100;border:1px solid #cfe0d9;border-radius:10px;background:#fff;box-shadow:0 14px 34px #173a3028}.top-stock-result{width:100%;min-height:58px;display:flex;align-items:center;gap:9px;padding:7px;border:1px solid #d7eee4;border-radius:8px;background:#f0faf5;color:var(--ink);text-align:left;margin-bottom:5px}.top-stock-result:last-child{margin-bottom:0}.top-stock-result:hover{background:#e5f6ee;border-color:#aad9c7}.top-stock-image{width:34px;height:34px;display:grid;place-items:center;flex:0 0 auto;border-radius:7px;background:#e7f1ed;color:#82938d;font-size:7px;overflow:hidden}.top-stock-image img{width:100%;height:100%;object-fit:cover}.top-stock-info{min-width:0;flex:1}.top-stock-info b,.top-stock-info small,.top-stock-info em{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.top-stock-info b{font-size:10px}.top-stock-info small{margin-top:2px;color:#7c8b86;font-size:7px}.top-stock-info em{margin-top:4px;color:#087456;font-size:8px;font-style:normal;font-weight:700}.top-stock-qty{min-width:29px;height:25px;display:flex;align-items:center;justify-content:center;gap:3px;padding:0 5px;border-radius:6px;background:#dcefe6;color:#173f35;font:800 11px Manrope;box-shadow:inset 0 0 0 1px #c5e4d7}.top-stock-qty small{font:700 7px Manrope;color:#52766a}.top-stock-message{padding:20px;text-align:center;color:var(--muted);font-size:10px}.top-stock-message.error{color:#b44842}@media(max-width:780px){.top-stock-search{width:135px}.top-stock-results{position:fixed;left:10px;right:10px;top:62px;width:auto}.top-stock-search>input{font-size:10px}}
.invoice-tax-controls{display:flex;align-items:end;gap:14px;margin-top:10px}.invoice-tax-controls label{margin:0}.invoice-tax-toggle{min-height:44px;display:flex!important;align-items:center;gap:9px;padding:0 13px;border:1px solid var(--line);border-radius:9px;background:#f7faf9}.invoice-tax-toggle input{width:17px!important;margin:0!important;accent-color:var(--green)}.tax-mode-field{min-width:210px}.invoice-total-summary{width:min(360px,100%);margin:15px 0 0 auto;padding:11px 15px;border:1px solid var(--line);border-radius:10px;background:#f8fbf9}.invoice-total-summary>div{display:flex;justify-content:space-between;gap:20px;padding:5px 0;color:#667670;font-size:11px}.invoice-total-summary strong{color:var(--ink);font-size:13px}.invoice-grand-row{margin-top:4px;padding-top:9px!important;border-top:1px solid var(--line);font-weight:800}.invoice-grand-row strong{font-size:17px}.post-print{border-color:#8fc8b3;color:#175d49}@media(max-width:600px){.invoice-tax-controls{align-items:stretch;flex-direction:column}.tax-mode-field{width:100%;min-width:0}.invoice-total-summary{width:100%}}
.ledger-tree-account td{background:#edf7f2!important;border-top:2px solid #c8ddd4!important;padding:12px 14px!important;color:#164d3e}.ledger-tree-account:first-child td{border-top:0!important}.ledger-tree-account td:first-child{font-size:13px}.ledger-tree-account small{margin-left:10px;color:#71827b;font-size:9px}.ledger-tree-toggle{display:inline-grid;place-items:center;width:20px;height:20px;margin-right:8px;border-radius:5px;background:#d7ece3;color:#197257}.ledger-tree-entry td:first-child{position:relative;width:55px;background:#fbfdfc}.ledger-tree-branch{display:block;padding-left:12px;color:#7aa694;font:600 16px/1 monospace}.ledger-tree-entry:hover td{background:#f7fbf9}
.voucher-lines tr.service-line .qty-col{position:relative;background:#f7faf9}.voucher-lines tr.service-line .qty-col input{display:block}.voucher-lines tr.service-line .qty-col::after{content:attr(data-unit);display:block;text-align:right;color:#477064;font-size:9px;font-weight:700;text-transform:none;letter-spacing:0}
.outstanding-chart{margin:24px 20px 4px;padding:20px;border:1px solid var(--line);border-radius:14px;background:#fbfdfc}.outstanding-chart-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:18px}.outstanding-chart-head small{display:block;color:#258264;font-size:9px;font-weight:800;letter-spacing:.12em}.outstanding-chart-head h3{margin:5px 0 0;font-size:17px}.outstanding-chart-head>strong{font-size:20px}.outstanding-chart-body{display:grid;grid-template-columns:220px minmax(280px,1fr);align-items:center;gap:32px}.outstanding-pie{width:210px;aspect-ratio:1;border-radius:50%;display:grid;place-items:center;box-shadow:0 10px 28px #173f3517}.outstanding-pie>div{width:54%;aspect-ratio:1;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fff;box-shadow:0 2px 10px #173f3515}.outstanding-pie small{color:var(--muted);font-size:9px}.outstanding-pie b{margin-top:4px;font-size:14px}.outstanding-legend{display:grid;grid-template-columns:repeat(2,minmax(190px,1fr));gap:8px 18px}.outstanding-legend>div{display:grid;grid-template-columns:10px minmax(0,1fr) auto;align-items:center;gap:9px;padding:8px 10px;border-bottom:1px solid #e5ece9}.outstanding-legend i{width:9px;height:9px;border-radius:3px}.outstanding-legend span{min-width:0}.outstanding-legend b,.outstanding-legend small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.outstanding-legend b{font-size:11px}.outstanding-legend small{margin-top:2px;color:var(--muted);font-size:9px}.outstanding-legend strong{font-size:11px}@media(max-width:720px){.outstanding-chart-body{grid-template-columns:1fr}.outstanding-pie{margin:auto}.outstanding-legend{grid-template-columns:1fr}}
.outstanding-tree-party td{background:#edf7f2!important;border-top:2px solid #c8ddd4!important;padding:11px 14px!important;color:#164d3e}.outstanding-tree-party:first-child td{border-top:0!important}.outstanding-tree-party small{margin-left:10px;color:#71827b;font-size:9px}.outstanding-tree-document td:first-child{width:62px;background:#fbfdfc}.outstanding-tree-document:hover td{background:#f7fbf9}
.inline-select-action{display:flex;gap:8px;align-items:stretch}.inline-select-action select,.inline-select-action .referrer-combobox{flex:1;min-width:0}.inline-select-action .btn{padding:0 14px}.referrer-field{align-self:end}.referrer-search{height:100%}
.reconciliation-console{width:min(1500px,calc(100vw - 28px))!important;height:min(94vh,960px);max-height:94vh;display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;border-radius:18px}.reconciliation-console>.modal-head{position:static;padding:14px 20px}.reconciliation-console>.modal-body{min-height:0;overflow:hidden;padding:14px 18px}.reconciliation-console>.modal-foot{position:static;padding:10px 18px}.reconciliation-console .reconcile-workspace{height:100%;min-height:0;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);grid-template-rows:auto auto auto minmax(0,1fr) auto;gap:10px}.reconciliation-console .reconcile-topbar,.reconciliation-console .reconcile-balance-strip,.reconciliation-console .reconcile-progress,.reconciliation-console .reconcile-footer-status{grid-column:1/-1}.reconciliation-console .reconcile-topbar{padding:0 2px 3px}.reconciliation-console .reconcile-balance-strip>div{padding:10px 14px}.reconciliation-console .reconcile-balance-strip strong{font-size:17px}.reconciliation-console .reconcile-progress{padding:9px 13px}.reconciliation-console .reconcile-section{min-width:0;min-height:0;display:flex;flex-direction:column}.reconciliation-console .reconcile-section-head{flex:0 0 auto;padding:11px 13px}.reconciliation-console .reconcile-section-head h3{font-size:12px}.reconciliation-console .reconcile-section-head p{font-size:9px}.reconciliation-console .reconcile-section .table-wrap{min-height:0;flex:1;overflow:auto;overscroll-behavior:contain}.reconciliation-console .reconcile-section table{width:100%;min-width:680px}.reconciliation-console .reconcile-section thead{position:sticky;top:0;z-index:2;background:#f7faf8;box-shadow:0 1px 0 var(--line)}.reconciliation-console .reconcile-section th,.reconciliation-console .reconcile-section td{padding:9px 11px}.reconciliation-console .reconcile-footer-status{padding:10px 13px}.reconcile-review-tools{display:flex;align-items:center;gap:8px;flex:0 0 auto;padding:8px 10px;border-bottom:1px solid var(--line);background:#fff}.reconcile-search{position:relative;flex:1;min-width:150px}.reconcile-search span{position:absolute;left:10px;top:50%;transform:translateY(-50%);color:#668079;font-size:16px}.reconcile-search input{width:100%;height:34px;padding:7px 10px 7px 31px;border:1px solid var(--line);border-radius:8px;font-size:11px}.reconcile-direction{width:145px;height:34px;padding:6px 9px;border:1px solid var(--line);border-radius:8px;background:#fff;font-size:10px}.reconcile-visible-count{white-space:nowrap;color:var(--muted);font-size:9px;font-weight:750}.reconciliation-console .statement-ledger-check input{width:19px;height:19px}.reconciliation-console .ledger-review-panel{grid-column:1}.reconciliation-console .statement-activity-panel{grid-column:2}.reconciliation-console .reconcile-footer-status{margin-top:0}@media(max-width:1050px){.reconciliation-console{height:96vh;max-height:96vh}.reconciliation-console>.modal-body{overflow:auto}.reconciliation-console .reconcile-workspace{height:auto;display:flex}.reconciliation-console .reconcile-section .table-wrap{max-height:42vh}.reconciliation-console .reconcile-balance-strip{grid-template-columns:repeat(2,1fr)}}@media(max-width:620px){.reconciliation-console{width:calc(100vw - 8px)!important;height:98vh;max-height:98vh}.reconciliation-console>.modal-body{padding:10px}.reconcile-review-tools{align-items:stretch;flex-wrap:wrap}.reconcile-search{flex-basis:100%}.reconcile-direction{flex:1}.reconciliation-console .reconcile-section .table-wrap{max-height:48vh}}
.temporary-check-grid{display:grid;grid-template-columns:repeat(4,minmax(180px,240px));gap:10px;margin:12px 0 16px}.temporary-check-card{min-height:auto;padding:12px 14px;background:#fff1f1;border-color:#efb4b4;box-shadow:inset 3px 0 0 #b43d3d}.temporary-check-card .stat-value{font-size:18px;margin-top:5px;color:#a62f2f}.temporary-check-card .stat-label{font-size:11px;color:#8f2828}.temporary-check-card .stat-foot{font-size:10px;color:#a15b5b}@media(max-width:960px){.temporary-check-grid{grid-template-columns:repeat(2,minmax(180px,1fr))}}@media(max-width:760px){.temporary-check-grid{grid-template-columns:1fr}}
.product-search-results button.keyboard-active{background:#dff5ed!important;border-color:#218a70!important;box-shadow:inset 3px 0 0 #16745d;outline:none}
.party-mode-tabs{display:inline-flex;align-items:center;gap:5px}.party-mode-tabs button{appearance:none;border:0;background:none;padding:0;color:#61736d;font:inherit;font-weight:700;cursor:pointer}.party-mode-tabs button:hover,.party-mode-tabs button.active{color:#116b56;text-decoration:underline;text-underline-offset:3px}.party-mode-tabs>span{color:#9aa8a3}
.localized-date-input{display:block;position:relative;width:100%}.localized-date-display{width:100%;padding-right:42px!important}.localized-date-native{position:absolute!important;z-index:2;right:0;top:0;width:42px!important;height:100%;opacity:0;cursor:pointer;padding:0!important;border:0!important}.localized-date-input:after{content:"";position:absolute;right:14px;top:50%;width:13px;height:13px;transform:translateY(-50%);pointer-events:none;background:linear-gradient(#52655f,#52655f) 1px 3px/11px 1px no-repeat,linear-gradient(#52655f,#52655f) 3px 0/1px 4px no-repeat,linear-gradient(#52655f,#52655f) 9px 0/1px 4px no-repeat;border:1px solid #52655f;border-radius:2px}.localized-date-input:has(.localized-date-native.hidden){display:none}
.settlement-account-balance{display:block;margin-top:5px;color:#397461;font-size:11px;font-weight:700;font-variant-numeric:tabular-nums}.settlement-account-balance.negative{color:#b44842}
.report-warehouse-picker{position:relative;min-width:190px}.report-warehouse-picker>summary{height:38px;display:flex;align-items:center;padding:0 34px 0 12px;border:1px solid #d4e1dc;border-radius:9px;background:#fff;font-size:11px;font-weight:700;cursor:pointer;list-style:none}.report-warehouse-picker>summary::-webkit-details-marker{display:none}.report-warehouse-picker>summary:after{content:"⌄";position:absolute;right:12px;font-size:14px}.report-warehouse-picker>div{position:absolute;z-index:120;top:43px;left:0;width:max-content;min-width:100%;max-height:310px;overflow:auto;padding:7px;border:1px solid #d7e3de;border-radius:10px;background:#fff;box-shadow:0 15px 35px rgba(18,53,45,.18)}.report-warehouse-picker label{display:flex;align-items:center;gap:8px;min-width:220px;padding:8px 9px;border-radius:7px;font-size:11px;cursor:pointer}.report-warehouse-picker label:hover{background:#eef8f3}.report-warehouse-picker label input{width:auto!important}.report-warehouse-picker label span{font-weight:700}.report-warehouse-picker label small{display:block;color:var(--muted);font-size:9px;margin-top:2px}
.stock-moving-wrap{max-height:calc(100vh - 245px);overflow:auto}.stock-moving-table{min-width:1480px;border-collapse:separate;border-spacing:0}.stock-moving-table th,.stock-moving-table td{padding:10px 11px;white-space:nowrap}.stock-moving-table thead th{text-align:center!important;vertical-align:middle;background:#edf5f1;border-bottom:1px solid #ccdcd5}.stock-moving-table thead tr:first-child th{font-size:10px;letter-spacing:.09em}.stock-moving-table thead tr:nth-child(2) th{font-size:9px;color:#61746d}.stock-moving-table .stock-moving-group{font-weight:800;color:#294f43}.stock-moving-table tbody tr:nth-child(even) td{background-color:#f8fbf9}.stock-moving-table tbody tr:hover td{background-color:#edf8f3}.stock-moving-table tbody td:nth-child(n+3){text-align:right;font-variant-numeric:tabular-nums}.stock-moving-table tbody td:nth-child(3),.stock-moving-table tbody td:nth-child(6),.stock-moving-table tbody td:nth-child(9),.stock-moving-table tbody td:nth-child(12),.stock-moving-table thead tr:nth-child(2) th:nth-child(1),.stock-moving-table thead tr:nth-child(2) th:nth-child(4),.stock-moving-table thead tr:nth-child(2) th:nth-child(7),.stock-moving-table thead tr:nth-child(2) th:nth-child(10){border-left:2px solid #c8d9d2}.stock-moving-table tbody td:nth-child(n+3):nth-child(-n+5){background-image:linear-gradient(rgba(72,133,111,.025),rgba(72,133,111,.025))}.stock-moving-table tbody td:nth-child(n+6):nth-child(-n+8){background-image:linear-gradient(rgba(44,168,120,.035),rgba(44,168,120,.035))}.stock-moving-table tbody td:nth-child(n+9):nth-child(-n+11){background-image:linear-gradient(rgba(213,169,76,.035),rgba(213,169,76,.035))}.stock-moving-table tbody td:nth-child(n+12):nth-child(-n+14){background-image:linear-gradient(rgba(79,127,232,.035),rgba(79,127,232,.035))}.stock-moving-table th:first-child,.stock-moving-table td:first-child{position:sticky;left:0;z-index:3;min-width:185px;background-color:#fff}.stock-moving-table th:nth-child(2),.stock-moving-table td:nth-child(2){position:sticky;left:185px;z-index:3;min-width:250px;background-color:#fff;box-shadow:5px 0 8px rgba(25,51,43,.05)}.stock-moving-table thead th:first-child,.stock-moving-table thead th:nth-child(2){z-index:6;background:#edf5f1}.stock-moving-table tfoot th{position:sticky;bottom:0;z-index:5;padding:11px;background:#e5f1eb;border-top:2px solid #a9c7ba;text-align:right;font-weight:800}.stock-moving-table tfoot th:first-child{text-align:left}.stock-moving-table tfoot th:nth-child(3),.stock-moving-table tfoot th:nth-child(6),.stock-moving-table tfoot th:nth-child(9),.stock-moving-table tfoot th:nth-child(12){border-left:2px solid #a9c7ba}
.stock-moving-table{width:100%;min-width:1160px;table-layout:fixed}.stock-moving-table th,.stock-moving-table td{padding:9px 6px;font-size:11px}.stock-moving-table th:first-child,.stock-moving-table td:first-child{width:150px;min-width:150px;max-width:150px}.stock-moving-table th:nth-child(2),.stock-moving-table td:nth-child(2){left:150px;width:210px;min-width:210px;max-width:210px}.stock-moving-table tbody td:first-child,.stock-moving-table tbody td:nth-child(2){overflow:hidden;text-overflow:ellipsis}.stock-moving-table tbody td:nth-child(n+3),.stock-moving-table tfoot th:nth-child(n+3){padding-left:5px;padding-right:7px}
.stock-moving-table col.stock-item-code-col{width:150px}.stock-moving-table col.stock-item-name-col{width:210px}.stock-moving-table col.stock-metric-col{width:67px}
.stock-moving-table tbody td:nth-child(3),.stock-moving-table tbody td:nth-child(6),.stock-moving-table tbody td:nth-child(9),.stock-moving-table tbody td:nth-child(12),.stock-moving-table tfoot th:nth-child(3),.stock-moving-table tfoot th:nth-child(6),.stock-moving-table tfoot th:nth-child(9),.stock-moving-table tfoot th:nth-child(12){text-align:center!important;padding-left:6px;padding-right:6px}
.stock-moving-table tbody td:nth-child(4),.stock-moving-table tbody td:nth-child(7),.stock-moving-table tbody td:nth-child(10),.stock-moving-table tbody td:nth-child(13),.stock-moving-table tfoot th:nth-child(4),.stock-moving-table tfoot th:nth-child(7),.stock-moving-table tfoot th:nth-child(10),.stock-moving-table tfoot th:nth-child(13){text-align:center!important;padding-left:6px;padding-right:6px}
.stock-moving-table tfoot .stock-total-qty,.stock-moving-table tfoot .stock-total-unit{text-align:center!important}.stock-moving-table tfoot .stock-total-value{text-align:right!important}.stock-moving-table tfoot .stock-total-group-start{border-left:2px solid #a9c7ba}.stock-moving-table tfoot .stock-total-unit{color:#788b84;font-weight:600}.stock-moving-table tfoot th{border-right:1px solid #c4d8cf}.stock-moving-table tfoot th:last-child{border-right:0}
@media(max-width:900px){.stock-moving-table{min-width:1120px}.stock-moving-table col.stock-item-code-col,.stock-moving-table th:first-child,.stock-moving-table td:first-child{width:135px;min-width:135px;max-width:135px}.stock-moving-table col.stock-item-name-col,.stock-moving-table th:nth-child(2),.stock-moving-table td:nth-child(2){left:135px;width:185px;min-width:185px;max-width:185px}}
.account-balance-link{font-weight:800;white-space:nowrap}.account-balance-link small{margin-left:3px;color:var(--muted);font-size:9px;text-decoration:none}.account-breakdown .running-balance{color:#174f40}
.report-workspace{overflow:visible}.report-workspace>.toolbar{position:relative;z-index:30;overflow:visible}.report-workspace #reportResult{position:relative;z-index:1}.report-account-combobox{width:min(380px,35vw);min-width:260px;position:relative;z-index:40}.report-account-combobox>input{width:100%!important}.report-account-combobox .product-search-results{z-index:100;max-height:min(360px,calc(100vh - 190px));background:#fff;box-shadow:0 16px 38px rgba(13,49,39,.2)}.report-account-combobox .product-search-results button b{font-variant-numeric:tabular-nums}
.ledger-report-group td{background:#f3f7f5;color:#526c63;text-transform:uppercase;letter-spacing:.06em}.ledger-report-indent{display:inline-block;width:calc(var(--ledger-depth,0)*18px)}.ledger-report-toggle{width:22px;height:22px;margin-right:7px;border:0;border-radius:7px;background:#d7efe5;color:#176448;font-weight:900}.ledger-tree-account td>small,.ledger-tree-account td>b{display:block}.ledger-tree-account td:first-child>b,.ledger-tree-account td:first-child>small{display:inline}.ledger-tree-account td:first-child>small{margin-left:8px}.ledger-tree-account td.num small{color:#5e776e;font-size:9px;text-transform:uppercase}.ledger-tree-account td.num b{margin-top:3px;white-space:nowrap}
.opening-bill-editor{margin-top:8px;padding:14px;border:1px solid #cee2d9;border-radius:11px;background:#f8fbfa}.opening-bill-head{display:flex;align-items:center;justify-content:space-between;gap:14px}.opening-bill-head b,.opening-bill-head small{display:block}.opening-bill-head small{margin-top:4px;color:var(--muted);font-size:9px}.opening-bill-columns,.opening-bill-row{display:grid;grid-template-columns:1fr 140px 1.2fr 1.4fr 150px 34px;gap:7px;align-items:center}.opening-bill-columns{margin-top:13px;padding:0 4px;color:#6d7d77;font-size:8px;font-weight:800;text-transform:uppercase}.opening-bill-row{margin-top:7px}.opening-bill-row input{min-width:0}.opening-bill-remove{height:37px;border:0;border-radius:8px;background:#fff0ed;color:#bd4a42;font-weight:900}.opening-bill-summary{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin-top:11px;padding-top:10px;border-top:1px solid #dbe8e3}.opening-bill-summary span,.opening-bill-summary small{font-size:9px;color:var(--muted)}.opening-bill-summary strong{font-size:14px}.opening-bill-summary small.text-red{color:#b33d37;font-weight:800}@media(max-width:850px){.opening-bill-columns{display:none}.opening-bill-row{grid-template-columns:1fr 1fr}.opening-bill-row .opening-bill-description,.opening-bill-row .opening-bill-party{grid-column:span 1}.opening-bill-row .opening-bill-amount{grid-column:1}.opening-bill-head{align-items:stretch;flex-direction:column}}
.opening-bill-editor{grid-column:1/-1!important;min-width:0}.opening-bill-columns,.opening-bill-row{grid-template-columns:minmax(160px,1fr) minmax(125px,.7fr) minmax(110px,.65fr) 72px 34px}@media(max-width:850px){.opening-bill-row{grid-template-columns:1fr 1fr}.opening-bill-row .opening-bill-amount{grid-column:1}.opening-bill-remove{grid-column:2;grid-row:3}}
.profit-gross-total{display:flex;align-items:center;justify-content:flex-end;gap:40px;padding:12px 18px;border-top:2px solid #2b8065;border-bottom:2px solid #2b8065;background:#edf8f3}.profit-gross-total span{font-weight:800;text-transform:uppercase;letter-spacing:.05em}.profit-gross-total strong{min-width:140px;text-align:right;font-size:17px}
.statement-amount-table{table-layout:fixed}.statement-amount-table .statement-code-col{width:19%}.statement-amount-table .statement-account-col{width:63%}.statement-amount-table .statement-value-col{width:18%}.statement-section .statement-total,#reportResult>.statement-total{display:grid;grid-template-columns:19% 63% 18%;gap:0}.statement-section .statement-total span,#reportResult>.statement-total span{grid-column:2;text-align:right;padding-right:28px}.statement-section .statement-total strong,#reportResult>.statement-total strong{grid-column:3;min-width:0}
.statement-amount-table{width:100%!important;min-width:0!important}.statement-account-name{display:flex;align-items:center;gap:7px;padding-left:calc(var(--statement-depth)*22px);min-width:0}.statement-account-name i{color:#6c998b;font-style:normal}.statement-account-name .account-link{display:inline-block!important;color:#145b47!important}.statement-parent-account td{background:#f7fbf9!important;font-weight:750}
.statement-tree-toggle,.statement-tree-spacer{width:22px;height:22px;flex:0 0 22px}.statement-tree-toggle{display:inline-grid;place-items:center;padding:0;border:1px solid #a9c9bd;border-radius:6px;background:#fff;color:#17664e;font-size:16px;font-weight:800;line-height:1;cursor:pointer}.statement-tree-toggle:hover,.statement-tree-toggle:focus{background:#e4f4ed;border-color:#4d9d82;outline:none}.statement-tree-spacer{display:inline-block}.line-account-combobox{width:100%}.line-account-combobox>input{width:100%;margin:0!important}.line-account-results{min-width:340px;max-height:260px}.line-account-results button{min-height:48px}.line-account-results button b{font-variant-numeric:tabular-nums}
.statement-two-amounts .statement-code-col{width:19%}.statement-two-amounts .statement-account-col{width:55%}.statement-two-amounts .statement-value-col,.statement-two-amounts .statement-total-col{width:13%}.statement-two-amounts th:nth-last-child(-n+2){border-left:1px solid #dce6e2}.statement-two-amounts .statement-less-amount{color:#8b453d}.statement-two-column.statement-total{grid-template-columns:19% 55% 13% 13%!important}.statement-two-column.statement-total span{grid-column:2!important}.statement-two-column.statement-total strong{grid-column:4!important}.statement-two-column.statement-deduction strong{grid-column:3!important;color:#8b453d}.statement-two-column.statement-result{border-top:1px solid #9fbdb2}
.statement-deduction-value{color:#c43f3f!important;font-weight:750}
.trial-control-alert{margin:0 0 12px;padding:13px 15px;border:1px solid #e8aaa6;border-radius:11px;background:#fff2f1;color:#922f2b}.trial-control-alert>div:first-child b,.trial-control-alert>div:first-child small{display:block}.trial-control-alert>div:first-child small{margin-top:3px;font-size:9px;color:#a45a55}.trial-control-alert>div:last-child{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.trial-control-alert button{display:grid;grid-template-columns:auto auto;gap:2px 10px;padding:8px 10px;border:1px solid #e6b5b1;border-radius:8px;background:#fff;color:#8d302c;text-align:left}.trial-control-alert button span{font-size:8px}.trial-control-alert button strong{grid-column:1/-1;font-size:10px}.financial-table tr.trial-control-row td{background:#fff0ef!important;color:#9b302b!important;border-color:#efc4c0!important}.financial-table tr.trial-control-row td:first-child{box-shadow:inset 4px 0 0 #c83f38}.financial-table tr.trial-control-row .amount{color:#b52f2a!important}
.trial-control-alert{margin:0 0 12px;padding:13px 15px;border:1px solid #e8aaa6;border-radius:11px;background:#fff2f1;color:#922f2b}.trial-control-alert>div:first-child b,.trial-control-alert>div:first-child small{display:block}.trial-control-alert>div:first-child small{margin-top:3px;font-size:9px;color:#a45a55}.trial-control-alert>div:last-child{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.trial-control-alert button{display:grid;grid-template-columns:auto auto;gap:2px 10px;padding:8px 10px;border:1px solid #e6b5b1;border-radius:8px;background:#fff;color:#8d302c;text-align:left}.trial-control-alert button span{font-size:8px}.trial-control-alert button strong{grid-column:1/-1;font-size:10px}.financial-table tr.trial-control-row td{background:#fff0ef!important;color:#9b302b!important;border-color:#efc4c0!important}.financial-table tr.trial-control-row td:first-child{box-shadow:inset 4px 0 0 #c83f38}.financial-table tr.trial-control-row .amount{color:#b52f2a!important}
.voucher-ledger-posting{margin:18px 0 4px;border:1px solid #cfe0d9;border-radius:11px;overflow:hidden}.voucher-ledger-posting-head{padding:11px 14px;background:#edf7f2;border-bottom:1px solid #cfe0d9}.voucher-ledger-posting-head b,.voucher-ledger-posting-head small{display:block}.voucher-ledger-posting-head small{margin-top:3px;color:#698078;font-size:9px}.voucher-ledger-posting table{width:100%}.voucher-ledger-posting th,.voucher-ledger-posting td{padding:9px 12px;border-bottom:1px solid #e4ece8}.voucher-ledger-posting tbody tr:last-child td{border-bottom:0}


/* SOURCE: assets/reconciliation-1.69.2.css */

.reconciliation-console .reconcile-progress{display:none}.reconciliation-console .reconcile-workspace{grid-template-rows:auto auto minmax(0,1fr) auto}.reconciliation-console .reconcile-topbar>div:first-child{flex-direction:row;align-items:center;gap:12px}.reconciliation-console .reconcile-topbar>div:first-child small{padding-left:12px;border-left:1px solid var(--line)}@media(max-width:620px){.reconciliation-console .reconcile-topbar>div:first-child{flex-wrap:wrap;gap:4px 9px}.reconciliation-console .reconcile-topbar>div:first-child small{width:100%;padding-left:0;border-left:0}}


/* SOURCE: assets/reconciliation-1.69.3.css */

.reconciliation-console .reconcile-section .table-wrap {
  overflow-x: hidden !important;
  overflow-y: auto;
}

.reconciliation-console .reconcile-section table {
  width: 100%;
  min-width: 0 !important;
  table-layout: fixed;
}

.reconciliation-console .reconcile-section th,
.reconciliation-console .reconcile-section td {
  white-space: normal;
  overflow-wrap: anywhere;
}

.reconciliation-console .ledger-review-panel th:nth-child(1) { width: 14%; }
.reconciliation-console .ledger-review-panel th:nth-child(2) { width: 19%; }
.reconciliation-console .ledger-review-panel th:nth-child(3) { width: 22%; }
.reconciliation-console .ledger-review-panel th:nth-child(4) { width: 27%; }
.reconciliation-console .ledger-review-panel th:nth-child(5) { width: 18%; }
.reconciliation-console .statement-activity-panel th:nth-child(1) { width: 17%; }
.reconciliation-console .statement-activity-panel th:nth-child(2) { width: 31%; }
.reconciliation-console .statement-activity-panel th:nth-child(3) { width: 17%; }
.reconciliation-console .statement-activity-panel th:nth-child(4) { width: 27%; }
.reconciliation-console .statement-activity-panel th:nth-child(5) { width: 8%; }


/* SOURCE: assets/company-import-1.57.1.css */

.company-import-card {
  margin-top: 22px;
  padding: 22px 24px;
  border: 1px solid #cfe4dc;
  border-radius: 15px;
  background: linear-gradient(135deg, #f5fbf8, #ffffff);
  display: block;
}

.company-import-head {
  margin-bottom: 18px;
}

.company-import-card h3 {
  margin: 9px 0 6px;
  color: #173e34;
}

.company-import-card p {
  max-width: 820px;
  margin: 0 0 6px;
  color: #4c5c56;
}

.company-import-card small {
  color: #78857f;
}

.company-import-card .row-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.import-section-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.import-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
  padding: 15px 16px;
  border: 1px solid #dbe8e3;
  border-radius: 12px;
  background: #fff;
}

.import-section b,
.import-section small {
  display: block;
}

.import-section b {
  margin-bottom: 4px;
  color: #173e34;
}

.import-preview {
  padding: 12px 14px;
  border: 1px solid #dbe8e3;
  border-radius: 10px;
  background: #f7faf9;
}

@media (max-width: 800px) {
  .import-section-grid {
    grid-template-columns: 1fr;
  }

  .import-section {
    align-items: stretch;
    flex-direction: column;
  }

  .import-section .row-actions,
  .import-section .btn,
  .import-section .action-edit {
    width: 100%;
  }
}


/* SOURCE: assets/bank-check-1.56.3.css */

.statement-ledger-check{display:inline-flex;align-items:center;justify-content:flex-end;gap:6px;color:#17664e;font-size:11px;font-weight:700;cursor:pointer;white-space:nowrap}
.statement-ledger-check input{width:16px;height:16px;margin:0;accent-color:#2ca878;cursor:pointer}
.statement-ledger-check input:disabled{cursor:wait;opacity:.65}


/* SOURCE: assets/account-toggle-1.55.7.css */

.account-tree-toggle{
  width:18px;
  height:18px;
  flex:0 0 18px;
  padding:0;
  border:0;
  border-radius:4px;
  background:transparent;
  color:#2ca878;
  font-size:12px;
  font-weight:700;
}
.account-tree-toggle:hover{
  border:0;
  background:#e8f6ef;
  color:#187356;
}
.account-code-cell{gap:5px}


/* SOURCE: assets/quick-item-1.55.4.css */

.quick-item-backdrop{z-index:120;background:#091f1ae6}
.product-search-results .quick-create-product{background:#e7f6ef;border-color:#91cfb7;color:#185d49}
.product-search-results .quick-create-product:hover{background:#d8f1e5;border-color:#62b996}
.quick-create-icon{width:34px;height:34px;border-radius:9px;background:#2ca878;color:#fff;display:grid;place-items:center;flex:0 0 34px;font-size:20px}
.required-mark{color:#d84d49;margin-left:3px}


/* SOURCE: assets/backup-1.70.0.css */

.backup-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:18px}.backup-card{border:1px solid var(--line,#d9e3df);border-radius:14px;padding:20px;background:#fff;display:grid;gap:13px;align-content:start}.backup-card h3,.backup-card p{margin:0}.backup-card label{display:grid;gap:7px;font-weight:600}.backup-card input,.backup-card select{width:100%}.backup-card .row-actions{justify-content:flex-start;flex-wrap:wrap}@media(max-width:850px){.backup-grid{grid-template-columns:1fr}}


/* SOURCE: assets/backup-progress-1.70.2.css */

.backup-progress-backdrop{z-index:9999}.backup-progress-modal{max-width:540px}.backup-progress-modal .modal-body{text-align:center;padding:34px}.backup-live-icon{width:58px;height:58px;border-radius:18px;background:#e7f8f1;color:#128365;display:grid;place-items:center;margin:0 auto 16px;font-size:30px;font-weight:800;animation:backupPulse 1.4s ease-in-out infinite}.backup-progress-modal h3{margin:0 0 6px}.backup-live-track{height:12px;background:#e8efec;border-radius:999px;overflow:hidden;margin:24px 0 10px}.backup-live-track span{height:100%;display:block;border-radius:inherit;background:linear-gradient(90deg,#123f34,#23b889,#71dbb9);background-size:200% 100%;transition:width .45s ease;animation:backupFlow 1.2s linear infinite}.backup-live-meta{display:flex;justify-content:space-between;color:#48645d;font-size:13px}@keyframes backupPulse{50%{transform:translateY(-3px);box-shadow:0 10px 25px rgba(18,131,101,.2)}}@keyframes backupFlow{to{background-position:-200% 0}}


/* SOURCE: assets/backup-inline-1.70.3.css */

.snapshot-progress{width:150px;max-width:100%;height:7px;margin-top:7px;border-radius:99px;background:#e1ebe7;overflow:hidden}.snapshot-progress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#13745c,#43c99f,#13745c);background-size:200% 100%;transition:width .4s ease;animation:backupFlow 1.1s linear infinite}.snapshot-progress+small{display:block;margin-top:5px;white-space:nowrap;color:#54736a}


/* SOURCE: assets/billing-premium-1.71.0.css */

.billing-console{--premium:#0d4539;--premium-soft:#e6f6f0}.billing-menu{position:sticky;top:0;z-index:5;display:flex;gap:6px;padding:7px;background:rgba(255,255,255,.92);backdrop-filter:blur(12px);border:1px solid var(--line);border-radius:16px;margin-bottom:20px;box-shadow:0 8px 30px rgba(20,55,46,.06)}.billing-menu button{flex:1;border:0;background:transparent;border-radius:11px;padding:11px 12px;text-align:left;color:#60716c;cursor:pointer}.billing-menu button span,.billing-menu button small{display:block}.billing-menu button span{font-weight:800;color:#263c36}.billing-menu button small{font-size:10px;margin-top:2px}.billing-menu button.active{background:var(--premium);box-shadow:0 7px 18px rgba(13,69,57,.2)}.billing-menu button.active span,.billing-menu button.active small{color:#fff}.billing-hero{border:0!important;background:linear-gradient(125deg,#0c3f34,#156a56)!important;color:#fff;box-shadow:0 18px 45px rgba(13,69,57,.18)}.billing-hero p,.billing-hero small{color:#cce5dc!important}.module-store-grid{grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:16px}.module-store-card{border-radius:18px!important;border:1px solid #dce8e4!important;box-shadow:0 10px 28px rgba(22,57,48,.07);transition:.2s ease}.module-store-card:hover{transform:translateY(-3px);box-shadow:0 16px 38px rgba(22,57,48,.12)}.premium-order{text-align:center;padding:8px 4px}.premium-order-icon{width:64px;height:64px;border-radius:20px;background:linear-gradient(145deg,#dff8ef,#bcebdc);color:#087258;display:grid;place-items:center;font-size:34px;margin:0 auto 14px}.premium-order h2{margin:10px 0 6px}.premium-order>p{color:#667973;max-width:440px;margin:0 auto 18px}.premium-order-price{display:flex;justify-content:center;align-items:baseline;gap:7px;background:#f3f8f6;border-radius:14px;padding:15px}.premium-order-price small{margin-right:8px}.premium-order-price strong{font-size:27px;color:#0d5948}.premium-order-flow{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:18px 0}.premium-order-flow>div{display:flex;gap:8px;text-align:left;border:1px solid #e0eae6;border-radius:12px;padding:11px}.premium-order-flow b{width:25px;height:25px;border-radius:8px;background:#dff5ed;color:#087258;display:grid;place-items:center}.premium-order-flow span strong,.premium-order-flow span small{display:block}.premium-order-flow span small{font-size:10px;color:#71827d}.premium-confirm{display:flex!important;align-items:center;gap:9px!important;text-align:left;background:#fff8e8;border:1px solid #f2dfad;padding:12px;border-radius:12px}.premium-confirm input{width:auto!important}.module-picker-head{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:4px 2px 18px}.module-picker-head h3,.module-picker-head p{margin:4px 0}.premium-module-picker{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.premium-module-picker .module-assignment{position:relative;display:grid!important;grid-template-columns:1fr auto;gap:12px;border:1px solid #dfe9e5!important;border-radius:16px!important;padding:16px!important;background:#fff;transition:.2s}.premium-module-picker .module-assignment.selected{border-color:#30ad88!important;background:#f0fbf7;box-shadow:0 8px 20px rgba(17,116,88,.09)}.premium-module-picker .module-enable{align-items:flex-start}.premium-module-picker .module-enable span small{display:block;margin-top:4px}.premium-module-picker .module-enable input{accent-color:#128467}.premium-module-picker .module-current-state{grid-column:1/-1}.module-billing-note{display:flex;gap:12px;background:#edf8f4;border-radius:13px;padding:13px;margin-top:15px}.module-billing-note>span{width:25px;height:25px;border-radius:50%;background:#168268;color:#fff;display:grid;place-items:center}.module-billing-note b,.module-billing-note small{display:block}.guided-user-form{gap:14px!important}.guided-form-step{display:flex;align-items:center;gap:12px;margin-top:5px;padding:11px 13px;border-radius:13px;background:linear-gradient(90deg,#e8f7f2,#f7fbfa)}.guided-form-step span{width:29px;height:29px;border-radius:9px;background:#13775f;color:#fff;display:grid;place-items:center;font-weight:800}.guided-form-step b,.guided-form-step small{display:block}.guided-form-step small{color:#6d7f79}.generate-password{border:0;background:transparent;color:#087258;font-weight:700;text-align:left;padding:5px 0;cursor:pointer}@media(max-width:800px){.billing-menu{overflow:auto}.billing-menu button{min-width:130px}.premium-module-picker,.premium-order-flow{grid-template-columns:1fr}.module-picker-head{align-items:flex-start;flex-direction:column}}


/* SOURCE: assets/reconciliation-actions-1.72.0.css */

.bank-statement-table{width:100%;table-layout:fixed}.bank-statement-table th:nth-child(1){width:112px}.bank-statement-table th:nth-child(3){width:125px}.bank-statement-table th:nth-child(4){width:210px}.bank-statement-table th:nth-child(5){width:66px}.bank-statement-table th:last-child,.bank-statement-table td:last-child{white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;text-align:center!important;padding-left:6px!important;padding-right:6px!important}.icon-action{width:34px;height:34px;display:inline-grid;place-items:center;border:1px solid #cfe0da;border-radius:10px;background:#fff;color:#096c55;font-size:18px;font-weight:800;line-height:1;cursor:pointer;margin:2px;transition:.18s}.icon-action:hover{background:#e8f7f2;border-color:#6fc9ad;transform:translateY(-1px)}.icon-action.danger{color:#c83e38;border-color:#efd2d0}.icon-action.danger:hover{background:#fff0ef;border-color:#e29b96}.bank-line-one-step .one-step-title{display:flex;align-items:center;gap:12px;padding:13px 15px;margin-bottom:17px;border-radius:13px;background:linear-gradient(90deg,#e2f7ef,#f5fbf9)}.one-step-title>span{padding:7px 10px;border-radius:9px;background:#08765b;color:#fff;font-weight:800;font-size:11px;text-transform:uppercase}.one-step-title b,.one-step-title small{display:block}.one-step-title small{color:#637a73;margin-top:2px}.bank-line-one-step .inline-select-action{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px}.bank-line-one-step .quick-create-bank-ledger{white-space:nowrap}@media(max-width:900px){.bank-statement-table{table-layout:fixed;font-size:12px}.bank-statement-table th:nth-child(n){width:auto}.bank-statement-table th:first-child{width:88px}.bank-statement-table th:nth-child(3){width:90px}.bank-statement-table th:last-child{width:58px}.bank-line-one-step .inline-select-action{grid-template-columns:1fr}.bank-line-one-step .quick-create-bank-ledger{width:100%}}


/* SOURCE: assets/reconciliation-unified-1.72.1.css */

.reconciliation-console .reconcile-workspace{display:grid;grid-template-columns:1fr;grid-template-rows:auto auto minmax(0,1fr) auto;gap:10px}
.reconciliation-console .ledger-review-panel{grid-column:1;min-height:0}
.reconciliation-console .unified-reconciliation-table{width:100%;min-width:0;table-layout:fixed}
.reconciliation-console .unified-reconciliation-table th:nth-child(1){width:112px}
.reconciliation-console .unified-reconciliation-table th:nth-child(2){width:130px}
.reconciliation-console .unified-reconciliation-table th:nth-child(3){width:31%}
.reconciliation-console .unified-reconciliation-table th:nth-child(4){width:34%}
.reconciliation-console .unified-reconciliation-table th:nth-child(5){width:145px}
.reconcile-head-actions,.check-action-group,.inline-match{display:flex;align-items:center;gap:8px}
.reconcile-head-actions{justify-content:flex-end}
.reconcile-head-actions .btn{min-height:34px;padding:7px 13px;white-space:nowrap}
.check-action-group{justify-content:center}
.statement-ledger-check.locked-check{cursor:not-allowed}
.statement-ledger-check input:disabled{opacity:1;cursor:not-allowed}
.review-status.pending{display:inline-block;padding:4px 8px;border-radius:99px;background:#fff2d8;color:#8a5a00;font-size:9px;font-weight:800}
.unified-reconciliation-table td small{display:block;margin-top:3px;color:var(--muted)}
.inline-match{width:100%}
.inline-match select{min-width:0;flex:1;height:34px}
.inline-match .icon-action{flex:0 0 34px}
.unified-reconciliation-table .post-statement-ledger{margin:5px 0 0}
@media(max-width:760px){.reconciliation-console .unified-reconciliation-table{table-layout:auto;min-width:0}.reconciliation-console .unified-reconciliation-table th:nth-child(n){width:auto}.reconciliation-console .unified-reconciliation-table th,.reconciliation-console .unified-reconciliation-table td{padding:7px 5px;font-size:10px}.reconciliation-console .unified-reconciliation-table th:nth-child(1){width:72px}.reconciliation-console .unified-reconciliation-table th:nth-child(2){width:88px}.reconciliation-console .unified-reconciliation-table th:nth-child(5){width:92px}.reconcile-section-head{align-items:flex-start}.reconcile-head-actions{flex-direction:column;align-items:flex-end}.inline-match{flex-wrap:wrap}.inline-match select{flex-basis:100%}}


/* SOURCE: assets/reconciliation-premium-actions-1.72.2.css */

.reconciliation-console .unified-reconciliation-table th:nth-child(1){width:96px}
.reconciliation-console .unified-reconciliation-table th:nth-child(2){width:122px}
.reconciliation-console .unified-reconciliation-table th:nth-child(3){width:30%}
.reconciliation-console .unified-reconciliation-table th:nth-child(4){width:32%}
.reconciliation-console .unified-reconciliation-table th:nth-child(5){width:135px}
.reconciliation-console .unified-reconciliation-table th:nth-child(6){width:92px}
.action-heading,.row-actions{text-align:center!important}
.row-actions>div{display:flex;align-items:center;justify-content:center;gap:7px}
.premium-icon{position:relative;width:34px;height:34px;display:inline-grid;place-items:center;flex:0 0 34px;padding:0;border:1px solid #c9ded7;border-radius:10px;background:linear-gradient(180deg,#fff 0%,#f5faf8 100%);color:#176c56;box-shadow:0 2px 7px rgba(11,61,51,.07);cursor:pointer;transition:border-color .16s,background .16s,box-shadow .16s,transform .16s}
.premium-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.premium-icon:hover{transform:translateY(-1px);border-color:#78bea9;background:#eaf8f3;box-shadow:0 5px 12px rgba(11,61,51,.12)}
.premium-icon:active{transform:translateY(0);box-shadow:0 2px 5px rgba(11,61,51,.09)}
.premium-icon.undo{color:#9b6512;border-color:#ead6b3;background:linear-gradient(180deg,#fffdf8,#fff8e9)}
.premium-icon.undo:hover{border-color:#d8ae67;background:#fff2d8}
.premium-icon.danger{color:#c83c36;border-color:#efcfcc;background:linear-gradient(180deg,#fff,#fff7f6)}
.premium-icon.danger:hover{border-color:#df8f89;background:#ffedeb}
.premium-icon.confirm{color:#08765b;border-color:#b9ddcf;background:linear-gradient(180deg,#f7fffc,#eaf8f3)}
.premium-icon:disabled{opacity:.42;cursor:not-allowed;transform:none;box-shadow:none}
.unified-reconciliation-table .match-ledger{width:100%;height:34px;min-width:0}
@media(max-width:760px){.reconciliation-console .unified-reconciliation-table th:nth-child(6){width:76px}.premium-icon{width:30px;height:30px;flex-basis:30px;border-radius:9px}.premium-icon svg{width:15px;height:15px}.row-actions>div{gap:4px}}


/* SOURCE: assets/reconciliation-steady-1.72.3.css */

#modalRoot.reconciliation-steady>.modal-backdrop,#modalRoot.reconciliation-steady>.modal-backdrop>.modal{animation:none!important;transition:none!important}
.reconciliation-console .row-actions{padding-left:10px!important;padding-right:10px!important;border-left:1px solid #edf2f0}
.reconciliation-console .action-heading{padding-left:10px!important;padding-right:10px!important;text-align:center!important}
.reconciliation-console .row-actions>div{min-height:36px;gap:6px}
.reconciliation-console .premium-icon,.reconciliation-console .premium-icon.undo,.reconciliation-console .premium-icon.danger,.reconciliation-console .premium-icon.confirm{width:34px;height:34px;flex:0 0 34px;border-color:#d3e0dc;background:#fff;box-shadow:0 2px 6px rgba(13,61,53,.06)}
.reconciliation-console .premium-icon.undo{color:#b37313}
.reconciliation-console .premium-icon.danger{color:#d14942}
.reconciliation-console .premium-icon.confirm{color:#08765b}
.reconciliation-console .premium-icon:hover{border-color:currentColor;background:#f8fbfa;box-shadow:0 5px 12px rgba(13,61,53,.11)}
.reconciliation-console .premium-icon svg{width:16px;height:16px;stroke-width:1.8}
@media(max-width:760px){.reconciliation-console .row-actions{padding-left:4px!important;padding-right:4px!important}.reconciliation-console .premium-icon,.reconciliation-console .premium-icon.undo,.reconciliation-console .premium-icon.danger,.reconciliation-console .premium-icon.confirm{width:30px;height:30px;flex-basis:30px}}


/* SOURCE: assets/reconciliation-icons-1.72.4.css */

.reconciliation-console .unified-reconciliation-table th:nth-child(6){width:78px}
.reconciliation-console .action-heading,.reconciliation-console .row-actions{box-sizing:border-box;width:78px;min-width:78px;max-width:78px;padding-left:8px!important;padding-right:8px!important;text-align:center!important;vertical-align:middle!important}
.reconciliation-console .row-actions>div{width:100%;min-height:34px;display:flex;align-items:center;justify-content:center;gap:6px;margin:0 auto}
.reconciliation-console button.premium-icon,.reconciliation-console button.premium-icon.undo,.reconciliation-console button.premium-icon.danger,.reconciliation-console button.premium-icon.confirm{box-sizing:border-box;width:32px;height:32px;min-width:32px;max-width:32px;flex:0 0 32px;display:flex;align-items:center;justify-content:center;margin:0;padding:0;border:1px solid #d5e1dd;border-radius:9px;background:#fff;line-height:0;box-shadow:0 2px 5px rgba(13,61,53,.06)}
.reconciliation-console button.premium-icon svg{display:block;width:16px;height:16px;margin:0;transform:none;overflow:visible}
.reconciliation-console button.premium-icon.undo svg{transform:translateX(-.25px)}
.reconciliation-console button.premium-icon:hover{transform:translateY(-1px);box-shadow:0 4px 10px rgba(13,61,53,.12)}
@media(max-width:760px){.reconciliation-console .unified-reconciliation-table th:nth-child(6),.reconciliation-console .action-heading,.reconciliation-console .row-actions{width:68px;min-width:68px;max-width:68px;padding-left:4px!important;padding-right:4px!important}}


/* SOURCE: assets/reconciliation-search-1.72.5.css */

.reconciliation-console .reconcile-section-head{gap:14px}
.reconciliation-console .reconcile-section-head>div:first-child{flex:0 0 auto}
.reconciliation-console .reconcile-head-actions{flex:1;min-width:0;display:flex;align-items:center;justify-content:flex-end;gap:8px}
.reconciliation-console .reconcile-review-tools-inline{flex:1;min-width:260px;max-width:680px;display:flex;align-items:center;gap:7px;padding:0;border:0;background:transparent}
.reconciliation-console .reconcile-review-tools-inline .reconcile-search{flex:1;min-width:180px}
.reconciliation-console .reconcile-review-tools-inline .reconcile-search input{height:34px;background:#fff}
.reconciliation-console .reconcile-review-tools-inline .reconcile-direction{flex:0 0 140px;width:140px}
.reconciliation-console .reconcile-review-tools-inline .reconcile-visible-count{display:none}
@media(max-width:980px){.reconciliation-console .reconcile-section-head{align-items:stretch;flex-direction:column}.reconciliation-console .reconcile-section-head>div:first-child{width:100%}.reconciliation-console .reconcile-head-actions{width:100%}.reconciliation-console .reconcile-review-tools-inline{max-width:none}}
@media(max-width:620px){.reconciliation-console .reconcile-head-actions{align-items:stretch;flex-wrap:wrap;flex-direction:row}.reconciliation-console .reconcile-review-tools-inline{order:3;flex-basis:100%;min-width:0}.reconciliation-console .reconcile-review-tools-inline .reconcile-search{min-width:0}.reconciliation-console .reconcile-review-tools-inline .reconcile-direction{flex-basis:118px;width:118px}}


/* SOURCE: assets/reconciliation-header-1.72.6.css */

.reconciliation-console .ledger-review-panel>.reconcile-section-head{min-height:58px;padding:10px 12px;background:linear-gradient(135deg,#f7fbfa 0%,#eef7f4 100%);border-bottom:1px solid #d8e6e1}
.reconciliation-console .ledger-review-panel>.reconcile-section-head>div:first-child{min-width:310px;padding-left:42px}
.reconciliation-console .ledger-review-panel>.reconcile-section-head h3{font-size:13px;font-weight:800;color:#17342e;letter-spacing:-.01em}
.reconciliation-console .ledger-review-panel>.reconcile-section-head p{font-size:9px;color:#71847e;white-space:nowrap}
.reconciliation-console .ledger-review-panel .step-number{width:30px;height:30px;border:1px solid #cce9df;background:#dcf3eb;box-shadow:inset 0 1px 0 #fff}
.reconciliation-console .reconcile-head-actions{gap:9px}
.reconciliation-console .reconcile-review-tools-inline{gap:8px;max-width:none}
.reconciliation-console .reconcile-review-tools-inline .reconcile-search input{height:36px;border-color:#d2e1dc;border-radius:10px;background:#fff;box-shadow:0 1px 2px rgba(13,61,53,.03);font-size:10px;transition:border-color .15s,box-shadow .15s}
.reconciliation-console .reconcile-review-tools-inline .reconcile-search input:focus{outline:0;border-color:#61b99f;box-shadow:0 0 0 3px rgba(31,157,118,.1)}
.reconciliation-console .reconcile-review-tools-inline .reconcile-direction{height:36px;border-color:#d2e1dc;border-radius:10px;background:#fff;color:#314a43}
.reconciliation-console .reconcile-count{height:30px;display:inline-flex;align-items:center;padding:0 11px;border:1px solid #dce9e5;background:#fff;color:#4d6961;box-shadow:0 1px 2px rgba(13,61,53,.03)}
.reconciliation-console .reconcile-head-actions>.btn{height:36px;border-color:#cfe0da;border-radius:10px;background:#e7f0ed;color:#23483e;font-weight:800;box-shadow:none}
.reconciliation-console .reconcile-head-actions>.btn:hover{border-color:#78bea9;background:#dceee8;transform:translateY(-1px)}
.reconciliation-console .unified-reconciliation-table{border-collapse:collapse!important;border-spacing:0!important}
.reconciliation-console .unified-reconciliation-table thead{background:#f5f9f7}
.reconciliation-console .unified-reconciliation-table th{height:34px;padding-top:8px!important;padding-bottom:8px!important;color:#60766f;font-size:9px;letter-spacing:.075em;border:0!important;border-bottom:1px solid #dce7e3!important}
.reconciliation-console .unified-reconciliation-table td{height:54px;padding-top:9px!important;padding-bottom:9px!important;border:0!important;border-bottom:1px solid #e8efec!important;background:transparent;vertical-align:middle}
.reconciliation-console .unified-reconciliation-table tbody tr:last-child td{border-bottom:0!important}
.reconciliation-console .unified-reconciliation-table tbody tr{transition:background .14s}
.reconciliation-console .unified-reconciliation-table tbody tr:hover{background:#f7fbf9}
.reconciliation-console .unified-reconciliation-table .row-actions{border-left:1px solid #e6eeeb!important}
.reconciliation-console .unified-reconciliation-table .action-heading{border-left:1px solid #dce7e3!important}
.reconciliation-console .unified-reconciliation-table td small{margin-top:4px;font-size:9px;line-height:1.25}
.reconciliation-console .unified-reconciliation-table .account-link{font-weight:750}
@media(max-width:1180px){.reconciliation-console .ledger-review-panel>.reconcile-section-head{align-items:stretch;flex-direction:column}.reconciliation-console .ledger-review-panel>.reconcile-section-head>div:first-child{width:100%;min-width:0}.reconciliation-console .reconcile-head-actions{width:100%}}
@media(max-width:620px){.reconciliation-console .ledger-review-panel>.reconcile-section-head p{white-space:normal}.reconciliation-console .reconcile-review-tools-inline{flex-basis:100%}}


/* SOURCE: assets/reconciliation-search-expand-1.72.7.css */

.reconciliation-console .reconcile-review-tools-inline{flex:0 1 auto;min-width:0}
.reconciliation-console .reconcile-search-shell{height:36px;display:flex;align-items:center;flex:0 0 36px;width:36px;overflow:hidden;border:1px solid #d2e1dc;border-radius:10px;background:#fff;box-shadow:0 1px 2px rgba(13,61,53,.03);transition:width .22s ease,border-color .15s,box-shadow .15s}
.reconciliation-console .reconcile-search-shell.expanded{width:min(410px,32vw);flex-basis:min(410px,32vw);border-color:#61b99f;box-shadow:0 0 0 3px rgba(31,157,118,.1)}
.reconciliation-console .reconcile-search-toggle{width:34px;height:34px;min-width:34px;display:grid;place-items:center;padding:0;border:0;background:transparent;color:#526f66;cursor:pointer}
.reconciliation-console .reconcile-search-toggle svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.reconciliation-console .reconcile-search-shell .reconcile-search{flex:1;min-width:0;margin:0}
.reconciliation-console .reconcile-search-shell .reconcile-search input{width:100%;height:34px!important;padding:6px 10px 6px 2px!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}
.bank-line-one-step .custom-bank-ledger{display:block!important}
.bank-line-one-step .custom-bank-ledger>.inline-select-action{margin-top:7px}
@media(max-width:760px){.reconciliation-console .reconcile-search-shell.expanded{width:min(300px,70vw);flex-basis:min(300px,70vw)}}


/* SOURCE: assets/premium-confirm-1.73.0.css */

.premium-confirm-backdrop{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:20px;background:rgba(7,30,26,.56);backdrop-filter:blur(5px);animation:premiumConfirmFade .16s ease-out}
.premium-confirm{width:min(440px,calc(100vw - 32px));display:grid;grid-template-columns:48px minmax(0,1fr);column-gap:15px;row-gap:18px;padding:22px;border:1px solid rgba(255,255,255,.75);border-radius:18px;background:linear-gradient(145deg,#fff 0%,#f8fbfa 100%);box-shadow:0 24px 70px rgba(2,24,20,.3),0 4px 14px rgba(2,24,20,.12);animation:premiumConfirmRise .2s cubic-bezier(.2,.8,.2,1)}
.premium-confirm-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:14px;border:1px solid #efd2cf;background:#fff1ef;color:#c9433c;box-shadow:inset 0 1px 0 #fff}
.premium-confirm-icon.safe{border-color:#bee2d5;background:#e9f8f2;color:#157158}
.premium-confirm-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.premium-confirm-copy{min-width:0;padding-top:1px}
.premium-confirm-eyebrow{display:block;margin-bottom:5px;color:#7b8d87;font-size:9px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.premium-confirm h3{margin:0;color:#172a25;font:800 18px/1.25 Manrope,sans-serif;letter-spacing:-.02em}
.premium-confirm p{margin:8px 0 0;color:#5d706a;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.premium-confirm-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:9px;padding-top:3px}
.premium-confirm-actions .btn{min-width:92px;height:39px;border-radius:10px;font-weight:800;box-shadow:none}
.premium-confirm-actions .premium-confirm-cancel{border-color:#d9e4e0;background:#f1f5f3;color:#385149}
.premium-confirm-actions .premium-confirm-cancel:hover{background:#e7efec}
.premium-confirm-actions .premium-confirm-ok.danger{border:1px solid #bf3933;background:linear-gradient(180deg,#dc514a,#c83d37);color:#fff;box-shadow:0 7px 16px rgba(200,61,55,.2)}
.premium-confirm-actions .premium-confirm-ok.danger:hover{background:linear-gradient(180deg,#cf453f,#b9332e);transform:translateY(-1px)}
.premium-confirm-actions .premium-confirm-ok.primary{border-color:#0c4a3e;background:linear-gradient(180deg,#13584a,#0c4036);color:#fff;box-shadow:0 7px 16px rgba(12,64,54,.2)}
@keyframes premiumConfirmFade{from{opacity:0}to{opacity:1}}
@keyframes premiumConfirmRise{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:none}}
@media(max-width:520px){.premium-confirm{grid-template-columns:40px minmax(0,1fr);padding:18px;column-gap:12px;border-radius:15px}.premium-confirm-icon{width:40px;height:40px;border-radius:12px}.premium-confirm-actions .btn{flex:1}}
@media(prefers-reduced-motion:reduce){.premium-confirm-backdrop,.premium-confirm{animation:none}}


/* SOURCE: assets/premium-confirm-layout-1.73.2.css */

.premium-confirm.app-confirm-dialog{width:min(470px,calc(100vw - 32px));display:grid!important;grid-template-columns:52px minmax(0,1fr)!important;grid-template-rows:auto auto!important;grid-template-areas:"icon copy" "actions actions"!important;align-items:start!important;column-gap:16px!important;row-gap:20px!important;padding:24px!important;text-align:left!important;background:linear-gradient(145deg,#fff 0%,#f8fbfa 100%)!important;border:1px solid rgba(255,255,255,.8)!important;border-radius:18px!important}
.app-confirm-dialog>.premium-confirm-icon{grid-area:icon;margin:0!important}
.app-confirm-dialog>.premium-confirm-copy{grid-area:copy;min-width:0;padding:0!important}
.app-confirm-dialog>.premium-confirm-copy h3{max-width:none;margin:0!important;font-size:19px!important;line-height:1.25!important;white-space:normal}
.app-confirm-dialog>.premium-confirm-copy p{max-width:340px;margin:8px 0 0!important;font-size:12px!important;line-height:1.55!important}
.app-confirm-dialog>.premium-confirm-actions{grid-area:actions!important;width:100%;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;margin:0!important;padding:15px 0 0!important;border-top:1px solid #e5ece9}
.app-confirm-dialog>.premium-confirm-actions .btn{width:auto!important;min-width:100px!important;height:40px!important;margin:0!important;padding:8px 18px!important}
@media(max-width:520px){.premium-confirm.app-confirm-dialog{grid-template-columns:44px minmax(0,1fr)!important;padding:19px!important;column-gap:12px!important}.app-confirm-dialog>.premium-confirm-actions .btn{min-width:0!important;flex:1}}


/* SOURCE: assets/billing-admin-1.75.0.css */

.billing-premium-panel{margin-top:18px}
.billing-panel-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:16px;padding:4px 2px}
.billing-panel-heading h2{margin:7px 0 4px;font:800 24px/1.2 Manrope;color:#19332c;letter-spacing:-.03em}
.billing-panel-heading p{margin:0;color:#70817c;font-size:12px}
.billing-panel-heading>b{padding:8px 11px;border:1px solid #dce8e4;border-radius:10px;background:#fff;color:#49645c;font-size:11px}
.billing-company-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(390px,1fr));gap:15px}
.billing-company-card{overflow:hidden;border:1px solid #dbe7e3;border-radius:18px;background:#fff;box-shadow:0 10px 30px rgba(18,57,47,.06)}
.billing-company-card>header{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:12px;padding:17px 18px;border-bottom:1px solid #e5edea;background:linear-gradient(135deg,#fbfdfc,#f2f8f6)}
.billing-company-mark{width:44px;height:44px;display:grid;place-items:center;border-radius:13px;background:#153f35;color:#fff;font-weight:800}
.billing-company-card h3{margin:0;font:800 15px Manrope}.billing-company-card header small{color:#75857f}
.billing-company-metrics{display:grid;grid-template-columns:repeat(3,1fr);border-bottom:1px solid #e8efec}
.billing-company-metrics>div{padding:12px 16px;border-right:1px solid #e8efec}.billing-company-metrics>div:last-child{border:0}
.billing-company-metrics span,.billing-company-metrics strong{display:block}.billing-company-metrics span{color:#7b8b86;font-size:9px;text-transform:uppercase;letter-spacing:.06em}.billing-company-metrics strong{margin-top:3px;font:800 17px Manrope}
.billing-member-list{max-height:220px;overflow:auto;padding:8px 16px}
.billing-member-list>div{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:9px;padding:8px 0;border-bottom:1px solid #edf2f0}.billing-member-list>div:last-child{border:0}
.billing-member-list>div>span{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:#e7f5f0;color:#147057;font-size:10px;font-weight:800}
.billing-member-list p{margin:0}.billing-member-list p b,.billing-member-list p small{display:block}.billing-member-list p b{font-size:11px}.billing-member-list p small{color:#7a8a85;font-size:9px;margin-top:2px}
.billing-company-card>footer{display:flex;justify-content:flex-end;gap:8px;padding:12px 16px;border-top:1px solid #e8efec;background:#fbfdfc}
.billing-price-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px}
.billing-price-card{position:relative;display:flex;flex-direction:column;min-height:330px;padding:20px;border:1px solid #dbe7e3;border-radius:20px;background:#fff;box-shadow:0 12px 34px rgba(18,57,47,.07);transition:.2s}
.billing-price-card:hover{transform:translateY(-3px);box-shadow:0 18px 42px rgba(18,57,47,.11)}
.billing-price-card.inactive{opacity:.72}.billing-price-top{display:flex;justify-content:space-between;align-items:center}.billing-price-card h3{margin:20px 0 6px;font:800 20px Manrope}.billing-price-card>p{min-height:38px;margin:0;color:#71817c;font-size:11px}
.billing-plan-price{display:flex;align-items:baseline;gap:5px;margin:20px 0;padding:15px;border-radius:14px;background:#edf8f4;color:#114f40}.billing-plan-price strong{font:800 25px Manrope}.billing-plan-price span{font-size:10px;color:#6f817b}
.billing-plan-facts{display:grid;gap:8px;margin-bottom:18px}.billing-plan-facts>div{display:flex;justify-content:space-between;color:#667b74;font-size:10px}.billing-plan-facts b{color:#243c35}.billing-price-card>.btn{margin-top:auto;width:100%}
.billing-addon-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:15px}
.billing-addon-card{position:relative;display:flex;flex-direction:column;min-height:275px;padding:19px;border:1px solid #dbe7e3;border-radius:18px;background:linear-gradient(145deg,#fff,#f8fbfa);box-shadow:0 10px 30px rgba(18,57,47,.06)}
.billing-addon-card.inactive{filter:saturate(.55);opacity:.7}.billing-addon-icon{width:45px;height:45px;display:grid;place-items:center;border-radius:14px;background:#def3eb;color:#117158;font-size:24px}.billing-addon-status{position:absolute;right:17px;top:17px}
.billing-addon-card h3{margin:16px 0 6px;font:800 16px Manrope}.billing-addon-card>p{margin:0;color:#71817c;font-size:11px;line-height:1.55}
.billing-addon-price{display:flex;align-items:baseline;gap:5px;margin:18px 0;color:#164f41}.billing-addon-price strong{font:800 22px Manrope}.billing-addon-price span{font-size:10px;color:#72837d}.billing-addon-actions{margin-top:auto}.billing-addon-actions .btn{width:100%}
@media(max-width:720px){.billing-panel-heading{align-items:flex-start;flex-direction:column}.billing-company-grid{grid-template-columns:1fr}.billing-company-card>header{grid-template-columns:40px minmax(0,1fr)}.billing-company-card>header>.badge{grid-column:2}.billing-company-metrics>div{padding:10px}.billing-company-card>footer{flex-direction:column}.billing-price-grid,.billing-addon-grid{grid-template-columns:1fr}}


/* SOURCE: assets/billing-companies-1.75.1.css */

.billing-premium-panel[data-billing-panel="companies"]{padding:0 2px}
.billing-company-grid{grid-template-columns:repeat(auto-fill,minmax(390px,520px));align-items:start;justify-content:start;gap:18px}
.billing-company-card{width:100%;border-color:#d8e6e1;border-radius:20px;box-shadow:0 12px 34px rgba(18,57,47,.08);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.billing-company-card:hover{transform:translateY(-2px);border-color:#bdd8cf;box-shadow:0 18px 42px rgba(18,57,47,.12)}
.billing-company-card>header{min-height:78px;padding:16px 17px;background:linear-gradient(135deg,#f7fbf9 0%,#edf7f3 100%)}
.billing-company-card>header>div:nth-child(2){min-width:0}
.billing-company-card>header h3{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16px;color:#17352d}
.billing-company-card>header small{display:block;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}
.billing-company-mark{width:46px;height:46px;border-radius:14px;background:linear-gradient(145deg,#164f41,#0b382f);box-shadow:0 7px 16px rgba(12,64,54,.18)}
.billing-company-card>header>.badge{justify-self:end;white-space:nowrap}
.billing-company-metrics{background:#fff}
.billing-company-metrics>div{padding:13px 15px}
.billing-company-metrics span{font-size:8px;font-weight:800;letter-spacing:.08em}
.billing-company-metrics strong{font-size:18px;color:#19372f}
.billing-member-list{max-height:238px;padding:9px 14px;background:#fcfefd}
.billing-member-list>div{grid-template-columns:34px minmax(0,1fr) auto;min-height:52px;padding:8px 3px}
.billing-member-list>div>span{width:32px;height:32px;border:1px solid #d3ebe2;background:#e8f6f1;color:#116b54}
.billing-member-list p{min-width:0}.billing-member-list p b,.billing-member-list p small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.billing-member-list p b{font-size:11px;color:#253d36}.billing-member-list p small{max-width:285px;font-size:9px}
.billing-member-list .badge{justify-self:end;white-space:nowrap}
.billing-company-card>footer{padding:13px 16px;background:#f6faf8}
.billing-company-card>footer .btn{min-height:38px;border-radius:10px;padding:8px 14px}
@media(min-width:1250px){.billing-company-grid{grid-template-columns:repeat(3,minmax(360px,1fr));}.billing-company-card{max-width:none}}
@media(min-width:760px) and (max-width:1249px){.billing-company-grid{grid-template-columns:repeat(2,minmax(330px,1fr))}}
@media(max-width:759px){.billing-company-grid{grid-template-columns:1fr}.billing-company-card{max-width:none}.billing-member-list p small{max-width:55vw}}


/* SOURCE: assets/billing-bills-1.77.0.css */

.billing-bills-card{overflow:hidden;border:1px solid #dbe8e3;box-shadow:0 14px 38px rgba(16,58,48,.07)}
.billing-bills-card .toolbar{display:flex;gap:12px;padding:14px 16px;background:#f7fbf9;border-bottom:1px solid #e2ece8}
.billing-bills-card .toolbar .search{flex:1;min-width:220px}
.billing-bills-card .bill-status-filter{width:180px}
.billing-bills-card td small{display:block;margin-top:4px;color:#71817b}
.billing-bills-card .row-actions{justify-content:flex-end;flex-wrap:wrap}
.refund-bill-summary{margin-bottom:20px;padding:20px;border:1px solid #bfe2d5;border-radius:14px;background:linear-gradient(135deg,#f1fbf7,#e6f6f0)}
.refund-bill-summary small{font-size:10px;font-weight:800;letter-spacing:.14em;color:#20735f}
.refund-bill-summary h3{margin:8px 0 2px;font:700 19px Manrope,sans-serif;color:#17352d}
.refund-bill-summary p{margin:0;color:#63756e}
.refund-bill-summary strong{display:block;margin-top:16px;font:800 25px Manrope,sans-serif;color:#123f34}
@media(max-width:720px){.billing-bills-card .toolbar{align-items:stretch;flex-direction:column}.billing-bills-card .bill-status-filter{width:100%}}


/* SOURCE: assets/client-portal-1.78.0.css */

.client-portal-launch{min-width:190px;justify-content:center}.client-portal-launch span{font-size:18px;line-height:1}.client-portal-modal{width:min(1380px,calc(100vw - 28px))!important;background:#f5f8f7}.client-portal-modal .modal-head{background:#fff}.client-portal-modal .modal-body{padding:0}.client-portal{color:#17352d}.client-portal-hero{display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:16px;padding:22px 26px;background:linear-gradient(125deg,#0c4438,#176552);color:#fff}.client-portal-mark{width:58px;height:58px;border-radius:17px;display:grid;place-items:center;background:#fff;color:#104b3d;font:800 21px Manrope;box-shadow:0 10px 24px #062b234d}.client-portal-hero span,.portal-card-head span,.portal-table-head span,.client-service>span{font:800 9px Manrope;letter-spacing:.14em}.client-portal-hero h2{margin:4px 0 2px;font:800 24px Manrope}.client-portal-hero p{margin:0;color:#cce5dc;font-size:12px}.client-portal-status{display:grid;justify-items:end;gap:7px}.client-portal-status small{color:#d8ece5}.client-portal-tabs{display:flex;gap:4px;padding:10px 14px;overflow:auto;background:#fff;border-bottom:1px solid #dce7e3}.client-portal-tabs button{border:0;border-radius:9px;background:transparent;color:#60726c;padding:10px 13px;white-space:nowrap;font:700 12px Manrope;cursor:pointer}.client-portal-tabs button:hover{background:#edf5f2;color:#124c3e}.client-portal-tabs button.active{background:#123f35;color:#fff}.client-portal-tabs b{display:inline-grid;place-items:center;min-width:19px;height:19px;margin-left:4px;border-radius:9px;background:#d8eee6;color:#155544;font-size:9px}.client-portal-panel{display:none;padding:20px}.client-portal-panel.active{display:block}.client-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.client-summary-grid article{padding:17px;border:1px solid #dce8e4;border-radius:14px;background:#fff;box-shadow:0 8px 22px rgba(19,63,53,.05)}.client-summary-grid span{display:block;color:#71817c;font:800 9px Manrope;letter-spacing:.09em;text-transform:uppercase}.client-summary-grid strong{display:block;margin:8px 0 4px;color:#103e33;font:800 21px Manrope}.client-summary-grid small{color:#81908b}.client-portal-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.client-portal-card{min-width:0;padding:0 15px 15px;border:1px solid #dbe6e2;border-radius:14px;background:#fff;overflow:hidden}.client-portal-card.wide{padding:0 20px 22px}.client-portal-card>h3{margin:0 -15px 12px;padding:13px 15px;background:#eef4f2;color:#134a3c;text-align:center;font:800 14px Manrope}.client-portal-card dl{margin:0}.client-portal-card dl>div{display:grid;grid-template-columns:minmax(95px,.8fr) minmax(0,1.2fr);gap:10px;padding:8px 0;border-bottom:1px solid #edf2f0}.client-portal-card dt{color:#71817c;font-size:11px}.client-portal-card dd{margin:0;text-align:right;overflow-wrap:anywhere;font-size:11px;font-weight:700}.portal-text-action{width:100%;border:0;background:transparent;color:#14705a;padding:12px 3px 0;text-align:left;font:800 11px Manrope;cursor:pointer}.client-quick-actions{display:grid;gap:7px}.client-quick-actions button{border:1px solid #dce8e4;border-radius:9px;background:#fff;color:#194d40;padding:9px 10px;text-align:left;font:700 11px Manrope;cursor:pointer}.client-quick-actions button:hover{background:#eaf5f1;border-color:#b9d8cd}.portal-card-head,.portal-table-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 0;border-bottom:1px solid #e5ece9}.portal-card-head h3,.portal-table-head h3{margin:3px 0 0;font:800 18px Manrope}.client-detail-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0 28px}.client-detail-grid>div{grid-template-columns:1fr 1fr!important;padding:13px 0!important}.portal-action-bar{display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap;padding-top:5px}.client-services-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:13px;margin-bottom:16px}.client-service{padding:19px;border:1px solid #dae7e2;border-radius:15px;background:#fff}.client-service.primary{background:linear-gradient(140deg,#0e493c,#176954);color:#fff}.client-service h3{margin:7px 0;font:800 17px Manrope}.client-service>strong{display:block;margin:10px 0;font:800 23px Manrope}.client-service p{min-height:34px;color:#73837e;font-size:11px}.client-service.primary p{color:#cbe3da}.client-service.primary .btn{background:#fff;color:#124b3d}.client-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.client-action-grid>button{display:flex;align-items:center;gap:14px;border:1px solid #d9e6e1;border-radius:14px;background:#fff;padding:17px;color:#173e34;text-align:left;cursor:pointer;box-shadow:0 7px 20px rgba(19,63,53,.04)}.client-action-grid>button:hover{transform:translateY(-1px);border-color:#a9cfc2;background:#f9fcfb}.client-action-grid>button>b{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:#e4f3ed;color:#12614d;font-size:18px}.client-action-grid span{display:grid;gap:3px}.client-action-grid strong{font:800 13px Manrope}.client-action-grid small{color:#75857f}.portal-table-head{padding:0 0 14px;margin-bottom:14px}.client-portal-panel table td small{display:block;color:#87958f;margin-top:3px}.client-portal-panel .table-card{box-shadow:none}.client-portal-modal .modal-close{background:#eef4f2;color:#17483c}
@media(max-width:1050px){.client-portal-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.client-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.client-portal-modal{width:calc(100vw - 8px)!important}.client-portal-hero{grid-template-columns:46px minmax(0,1fr);padding:17px}.client-portal-mark{width:46px;height:46px;border-radius:13px}.client-portal-status{grid-column:2;justify-items:start}.client-portal-panel{padding:12px}.client-summary-grid,.client-portal-overview,.client-action-grid,.client-detail-grid{grid-template-columns:1fr!important}.client-detail-grid>div{grid-template-columns:1fr 1fr!important}.client-portal-tabs{padding:8px}.portal-action-bar .btn{flex:1 1 140px}}


/* SOURCE: assets/module-manager-1.79.0.css */

.modal:has(.premium-module-picker){width:min(1160px,calc(100vw - 28px));background:#f6f9f8;border:1px solid rgba(255,255,255,.7);box-shadow:0 34px 90px rgba(4,35,28,.34)}
.modal:has(.premium-module-picker) .modal-head{padding:18px 24px;background:#fff;border-bottom:1px solid #e2ebe8}.modal:has(.premium-module-picker) .modal-head h2{color:#143d33;font-size:19px;letter-spacing:-.02em}.modal:has(.premium-module-picker) .modal-close{background:#edf3f1;color:#31584d;transition:.18s}.modal:has(.premium-module-picker) .modal-close:hover{background:#dcebe6;transform:rotate(4deg)}
.modal:has(.premium-module-picker) .modal-body{padding:0 24px 22px}.modal:has(.premium-module-picker) .modal-foot{padding:15px 24px;background:#fff;border-top:1px solid #dfe9e5;box-shadow:0 -8px 24px rgba(17,62,51,.04)}.modal:has(.premium-module-picker) .modal-foot .btn{min-height:43px;border-radius:11px;padding:10px 18px}.modal:has(.premium-module-picker) .modal-foot .save{min-width:190px;box-shadow:0 8px 20px rgba(12,69,56,.18)}
.module-picker-head{margin:0 -24px 22px;padding:24px;background:linear-gradient(125deg,#0d4539 0%,#176754 100%);color:#fff}.module-picker-head .welcome-pill{background:rgba(218,250,239,.15);border:1px solid rgba(218,250,239,.24);color:#8ff0ce}.module-picker-head h3{margin:8px 0 4px;font:800 23px Manrope;letter-spacing:-.025em}.module-picker-head p{color:#c6e1d8;font-size:13px}.module-picker-head>b{align-self:center;min-width:86px;padding:10px 14px;border:1px solid rgba(255,255,255,.18);border-radius:11px;background:rgba(255,255,255,.09);text-align:center;font:800 12px Manrope;letter-spacing:.06em}
.premium-module-picker{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:15px!important}.premium-module-picker .module-assignment{min-height:218px;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto 1fr auto!important;align-items:start!important;gap:14px 18px!important;padding:20px!important;border:1px solid #d9e6e1!important;border-radius:18px!important;background:#fff!important;box-shadow:0 8px 26px rgba(17,62,51,.055);overflow:hidden;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease,background .2s ease}.premium-module-picker .module-assignment:hover{transform:translateY(-2px);border-color:#b9d4cb!important;box-shadow:0 15px 34px rgba(17,62,51,.1)}.premium-module-picker .module-assignment.selected{border-color:#20a47e!important;background:linear-gradient(145deg,#f7fffc,#eaf9f4)!important;box-shadow:0 14px 34px rgba(10,119,87,.13)}.premium-module-picker .module-assignment.selected:before{content:"ENABLED";position:absolute;top:0;right:0;padding:6px 13px 7px 15px;border-radius:0 17px 0 13px;background:#118262;color:#fff;font:800 8px Manrope;letter-spacing:.11em}
.premium-module-picker .module-enable{grid-column:1/-1;display:grid!important;grid-template-columns:44px minmax(0,1fr);gap:14px!important;margin:0!important;cursor:pointer}.premium-module-picker .module-enable>input{appearance:none;width:42px!important;height:24px!important;margin:1px 0 0!important;border:0!important;border-radius:999px;background:#cbd8d4;box-shadow:inset 0 0 0 1px #bdccc7;position:relative;cursor:pointer;transition:.2s}.premium-module-picker .module-enable>input:after{content:"";position:absolute;width:18px;height:18px;left:3px;top:3px;border-radius:50%;background:#fff;box-shadow:0 2px 6px rgba(9,45,36,.25);transition:.2s}.premium-module-picker .module-enable>input:checked{background:#128668;box-shadow:none}.premium-module-picker .module-enable>input:checked:after{transform:translateX(18px)}.premium-module-picker .module-enable b{padding-right:65px;color:#163a31;font:800 16px Manrope;line-height:1.3}.premium-module-picker .module-enable small{max-width:440px;margin-top:7px!important;color:#70817b!important;font-size:11px!important;line-height:1.5}.premium-module-picker .module-enable small strong{display:inline-block;margin-top:5px;padding:3px 8px;border-radius:7px;background:#eef4f2;color:#28584b;font:800 9px Manrope;letter-spacing:.05em;text-transform:uppercase}
.premium-module-picker .module-assignment>label:nth-child(2){grid-column:1/-1;align-self:end;display:grid!important;grid-template-columns:auto minmax(150px,210px);align-items:center;justify-content:space-between;gap:14px;margin:0;padding:13px 14px;border:1px solid #e0e9e6;border-radius:12px;background:#f6f9f8;color:#5f716b;font:800 9px Manrope!important;letter-spacing:.08em;text-transform:uppercase}.premium-module-picker .module-price{height:40px;margin:0!important;padding:8px 12px!important;border:1px solid #cbdcd6!important;border-radius:9px!important;background:#fff!important;color:#173d33;font:800 13px Manrope;box-shadow:0 3px 10px rgba(17,62,51,.04)}.premium-module-picker .module-price:focus{border-color:#168466!important;box-shadow:0 0 0 3px rgba(22,132,102,.12)}.premium-module-picker .module-price:disabled{background:#edf2f0!important;color:#93a09c;box-shadow:none}.premium-module-picker .module-assignment>.badge{grid-column:1/-1;justify-self:start;margin:0;padding:6px 10px;border-radius:8px;font-size:8px;letter-spacing:.07em}
.modal:has(.premium-module-picker) .voucher-help{margin-top:18px;padding:13px 15px;border:1px solid #cfe6dd;border-radius:12px;background:#eaf6f2;color:#42665c;font-size:11px;line-height:1.5}.modal:has(.premium-module-picker) .voucher-help:before{content:"i";display:inline-grid;place-items:center;width:20px;height:20px;margin-right:8px;border-radius:50%;background:#147d62;color:#fff;font:800 11px Manrope}
@media(max-width:820px){.premium-module-picker{grid-template-columns:1fr!important}.premium-module-picker .module-assignment{min-height:0}.module-picker-head{align-items:flex-start}.module-picker-head>b{align-self:flex-start}.modal:has(.premium-module-picker){width:calc(100vw - 10px)}}
@media(max-width:520px){.modal:has(.premium-module-picker) .modal-body{padding:0 13px 15px}.module-picker-head{margin:0 -13px 15px;padding:18px 15px}.module-picker-head h3{font-size:20px}.premium-module-picker .module-assignment{padding:16px!important}.premium-module-picker .module-assignment>label:nth-child(2){grid-template-columns:1fr}.premium-module-picker .module-enable b{padding-right:55px}.modal:has(.premium-module-picker) .modal-foot{padding:12px 14px}.modal:has(.premium-module-picker) .modal-foot .save{min-width:0}}


/* SOURCE: assets/ui-density-1.80.0.css */

/* Compact professional density: preserve readability while prioritising working data. */
.content{padding:20px 24px 38px!important}.page-head{margin-bottom:14px!important}.page-head h1{font-size:27px!important;line-height:1.18}.page-head p{margin-top:4px!important}.head-actions{gap:7px!important}.stats-grid{gap:10px!important;margin-bottom:14px!important}.stat-card{padding:14px!important}.stat-value{margin-top:5px!important;font-size:22px!important}.card-head{padding:13px 15px!important}.card-body{padding:14px 15px!important}.section-title{margin:15px 0 8px!important}.toolbar{padding:9px 11px!important;gap:7px!important}.table-card{border-radius:12px!important}th{padding:8px 10px!important}td{padding:8px 10px!important}.row-actions{gap:5px!important}.row-actions button,.table-card .action-edit,.table-card .action-delete{padding:6px 9px!important}.badge{padding:4px 7px!important}
.modal-backdrop{padding:8px!important}.modal,.modal.large{max-height:97vh!important}.modal-head{padding:13px 18px!important}.modal-head h2{font-size:18px!important}.modal-close{width:30px!important;height:30px!important}.modal-body{padding:13px 18px!important}.modal-foot{padding:10px 18px!important}.modal-foot .btn{min-height:38px!important;padding:8px 14px!important}.form-grid{gap:0 12px!important}.form-grid label{margin-top:6px!important;font-size:12px!important}.form-grid input,.form-grid select,.form-grid textarea{margin-top:4px!important;padding:9px 11px!important;min-height:38px}.form-grid textarea{min-height:68px!important}.voucher-lines{margin-top:12px!important;border-radius:9px!important}.voucher-lines th{padding:7px 8px!important}.voucher-lines td{padding:7px 8px!important}.voucher-lines input,.voucher-lines select{height:36px!important;padding:7px 8px!important}.line-actions{margin-top:8px!important}.line-actions .btn{min-height:36px!important;padding:7px 12px!important}.product-search-results{margin-top:2px!important}
.po-lines .line-number{width:25px!important;height:25px!important}.po-lines .line-remove{height:34px!important}.po-grand-total{font-size:15px!important}.po-receive-note{margin-top:9px!important;padding:9px 11px!important}.po-receipt-history{margin-top:12px!important}.po-receipt-history>div{padding:8px 10px!important;margin-top:5px!important}
.billing-menu{margin-bottom:13px!important;padding:5px!important}.billing-menu button{padding:8px 10px!important}.billing-premium-panel{padding-top:4px!important}.billing-panel-heading{margin-bottom:12px!important}.billing-company-grid,.billing-price-grid,.billing-addon-grid{gap:12px!important}.billing-company-card>header{min-height:65px!important;padding:12px 14px!important}.billing-company-metrics>div{padding:9px 12px!important}.billing-company-card>footer{padding:9px 12px!important}.billing-price-card,.billing-addon-card{padding:15px!important}
.client-portal-hero{padding:15px 20px!important}.client-portal-mark{width:48px!important;height:48px!important;border-radius:14px!important}.client-portal-hero h2{font-size:21px!important}.client-portal-tabs{padding:6px 10px!important}.client-portal-tabs button{padding:8px 10px!important}.client-portal-panel{padding:13px!important}.client-summary-grid{gap:8px!important;margin-bottom:10px!important}.client-summary-grid article{padding:12px!important}.client-summary-grid strong{margin:5px 0 2px!important;font-size:18px!important}.client-portal-overview{gap:8px!important}.client-portal-card{padding:0 11px 11px!important}.client-portal-card>h3{margin:0 -11px 8px!important;padding:9px 11px!important}.client-portal-card dl>div{padding:6px 0!important}.portal-card-head,.portal-table-head{padding:10px 0!important;margin-bottom:9px!important}.client-detail-grid>div{padding:8px 0!important}.client-services-grid{gap:9px!important;margin-bottom:10px!important}.client-service{padding:13px!important}.client-action-grid{gap:8px!important}.client-action-grid>button{padding:12px!important}.portal-action-bar{gap:6px!important}
.modal:has(.premium-module-picker) .modal-body{padding:0 18px 14px!important}.module-picker-head{margin:0 -18px 14px!important;padding:16px 18px!important}.module-picker-head h3{margin:5px 0 2px!important;font-size:20px!important}.premium-module-picker{gap:10px!important}.premium-module-picker .module-assignment{min-height:174px!important;padding:14px!important;gap:9px 13px!important}.premium-module-picker .module-enable{gap:10px!important}.premium-module-picker .module-enable small{margin-top:4px!important;line-height:1.35!important}.premium-module-picker .module-assignment>label:nth-child(2){padding:8px 10px!important}.premium-module-picker .module-price{height:35px!important}.modal:has(.premium-module-picker) .voucher-help{margin-top:11px!important;padding:9px 11px!important}.modal:has(.premium-module-picker) .modal-foot{padding:9px 18px!important}
.settings-layout{gap:13px!important}.settings-menu{padding:7px!important}.settings-menu button{padding:9px 10px!important}.settings-panel-head{margin-bottom:11px!important}.company-list{gap:10px!important}.company-card{padding:13px!important}
@media(max-width:780px){.content{padding:14px 10px 30px!important}.page-head h1{font-size:23px!important}.modal-backdrop{padding:3px!important}.modal-body{padding:11px 12px!important}.modal-head,.modal-foot{padding-left:12px!important;padding-right:12px!important}.form-grid{gap:0!important}.client-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:430px){.client-summary-grid{grid-template-columns:1fr!important}.content{padding-left:8px!important;padding-right:8px!important}}


/* SOURCE: assets/transaction-density-1.80.1.css */

/* Transaction editors: maximise visible data rows without sacrificing control clarity. */
#modalRoot:is(.mode-simple,.mode-cash,.mode-journal) .modal.large{width:min(1320px,calc(100vw - 12px))!important;max-height:99vh!important;border-radius:13px}
#modalRoot:is(.mode-simple,.mode-cash,.mode-journal) .modal-head{padding:10px 16px!important}
#modalRoot:is(.mode-simple,.mode-cash,.mode-journal) .modal-head h2{font-size:17px!important}
#modalRoot:is(.mode-simple,.mode-cash,.mode-journal) .modal-body{padding:9px 16px 10px!important}
#modalRoot:is(.mode-simple,.mode-cash,.mode-journal) .modal-foot{padding:8px 16px!important}
#modalRoot:is(.mode-simple,.mode-cash,.mode-journal) .modal-foot .btn{min-height:36px!important;padding:7px 13px!important}
#modalRoot:is(.mode-simple,.mode-cash,.mode-journal) .form-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;column-gap:12px!important;row-gap:0!important}
#modalRoot:is(.mode-simple,.mode-cash,.mode-journal) .form-grid>label{margin-top:4px!important;font-size:11px!important;line-height:1.25}
#modalRoot:is(.mode-simple,.mode-cash,.mode-journal) .form-grid>label.full,#modalRoot:is(.mode-simple,.mode-cash,.mode-journal) .form-grid>div.full{grid-column:1/-1}
#modalRoot:is(.mode-simple,.mode-cash,.mode-journal) .form-grid input,#modalRoot:is(.mode-simple,.mode-cash,.mode-journal) .form-grid select{height:34px!important;min-height:34px!important;margin-top:3px!important;padding:6px 9px!important;font-size:12px!important}
#modalRoot:is(.mode-simple,.mode-cash,.mode-journal) .inline-select-action{gap:5px!important}
#modalRoot:is(.mode-simple,.mode-cash,.mode-journal) .inline-select-action .btn{width:34px!important;height:34px!important;min-height:34px!important;padding:0!important}
#modalRoot:is(.mode-simple,.mode-cash,.mode-journal) .invoice-tax-controls{min-height:34px!important;margin-top:6px!important;gap:8px!important}
#modalRoot:is(.mode-simple,.mode-cash,.mode-journal) .invoice-tax-toggle{min-height:34px!important;height:34px!important;padding:0 10px!important}
#modalRoot:is(.mode-simple,.mode-cash,.mode-journal) .tax-mode-field{min-width:180px!important}
#modalRoot:is(.mode-simple,.mode-cash,.mode-journal) .voucher-lines{margin-top:8px!important;max-height:42vh;overflow:auto!important}
#modalRoot:is(.mode-simple,.mode-cash,.mode-journal) .voucher-lines thead{position:sticky;top:0;z-index:3;background:#f6f9f8}
#modalRoot:is(.mode-simple,.mode-cash,.mode-journal) .voucher-lines th{height:27px;padding:5px 7px!important;font-size:8px!important}
#modalRoot:is(.mode-simple,.mode-cash,.mode-journal) .voucher-lines td{height:39px;padding:4px 7px!important}
#modalRoot:is(.mode-simple,.mode-cash,.mode-journal) .voucher-lines input,#modalRoot:is(.mode-simple,.mode-cash,.mode-journal) .voucher-lines select{height:31px!important;min-height:31px!important;padding:5px 7px!important;font-size:11px!important}
#modalRoot:is(.mode-simple,.mode-cash,.mode-journal) .voucher-lines .line-number{width:23px!important;height:23px!important}
#modalRoot:is(.mode-simple,.mode-cash,.mode-journal) .voucher-lines .line-remove{width:29px!important;height:29px!important}
#modalRoot:is(.mode-simple,.mode-cash,.mode-journal) .product-stock{margin-top:2px!important}
#modalRoot:is(.mode-simple,.mode-cash,.mode-journal) .line-actions{height:35px;margin-top:5px!important}
#modalRoot:is(.mode-simple,.mode-cash,.mode-journal) .line-actions .btn{min-height:33px!important;padding:6px 11px!important;font-size:11px!important}
#modalRoot:is(.mode-simple,.mode-cash,.mode-journal) .invoice-total-summary{width:min(330px,100%)!important;margin:5px 0 0 auto!important;padding:6px 12px!important}
#modalRoot:is(.mode-simple,.mode-cash,.mode-journal) .invoice-total-summary>div{padding:3px 0!important;font-size:10px!important}
#modalRoot:is(.mode-simple,.mode-cash,.mode-journal) .invoice-grand-row{margin-top:2px!important;padding-top:5px!important}
#modalRoot:is(.mode-simple,.mode-cash,.mode-journal) .invoice-grand-row strong{font-size:15px!important}
#modalRoot.mode-cash .allocation-invoices{margin-top:6px!important}
#modalRoot.mode-cash .allocation-title{margin-bottom:4px!important;font-size:12px!important}
#modalRoot.mode-cash .allocation-list{gap:4px!important;max-height:28vh;overflow:auto}
#modalRoot.mode-cash .allocation-empty{padding:9px!important}
#modalRoot.mode-cash .allocation-row{gap:8px!important;padding:6px 9px!important}
#modalRoot.mode-journal .voucher-lines{max-height:50vh}
@media(max-width:1000px){#modalRoot:is(.mode-simple,.mode-cash,.mode-journal) .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:650px){#modalRoot:is(.mode-simple,.mode-cash,.mode-journal) .form-grid{grid-template-columns:1fr!important}#modalRoot:is(.mode-simple,.mode-cash,.mode-journal) .form-grid>label.full,#modalRoot:is(.mode-simple,.mode-cash,.mode-journal) .form-grid>div.full{grid-column:1}#modalRoot:is(.mode-simple,.mode-cash,.mode-journal) .voucher-lines{max-height:38vh}}


/* SOURCE: assets/report-density-1.80.2.css */

.page-head:has(+.report-workspace){min-height:0!important;margin-bottom:9px!important;padding:0 2px 9px!important;border-bottom:1px solid #dce6e2}.page-head:has(+.report-workspace) h1{font-size:24px!important}.page-head:has(+.report-workspace) p{font-size:12px!important}.page-head:has(+.report-workspace) .btn{min-height:36px;padding:7px 13px}
.report-workspace>.toolbar{display:grid!important;grid-template-columns:minmax(210px,1.2fr) minmax(180px,1fr) auto auto auto;align-items:end;gap:8px!important;padding:8px 10px!important}.report-workspace>.toolbar select,.report-workspace>.toolbar input{height:35px;padding:7px 9px;font-size:11px}.report-workspace>.toolbar .report-date{gap:5px;font-size:8px}.report-workspace>.toolbar .btn{height:35px;padding:7px 12px;white-space:nowrap}
.financial-report-head{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px!important;padding:11px 14px!important;background:linear-gradient(100deg,#fbfdfc,#f2f8f5)!important}.financial-report-head>div:first-child{display:grid;grid-template-columns:minmax(180px,.72fr) minmax(260px,1.28fr);grid-template-rows:auto auto auto;align-items:center;gap:1px 22px;min-width:0}.financial-report-head .report-kicker{grid-column:1;grid-row:1;font-size:8px}.financial-report-head h2{grid-column:1;grid-row:2/4;margin:2px 0 0!important;font-size:18px!important;align-self:start}.financial-report-head h3{grid-column:2;grid-row:1/3;margin:0!important;font-size:15px!important;align-self:end}.financial-report-head p{grid-column:2;grid-row:3;margin:2px 0 0!important;font-size:10px!important;align-self:start}.report-stamp{min-width:145px;gap:2px!important;padding-left:14px;border-left:1px solid #d8e5e0}.report-stamp b{font-size:11px!important}.report-stamp span{font-size:8px}
.financial-table th{padding:6px 9px!important}.financial-table td{padding:6px 9px!important}.statement-section{padding-top:5px!important}.statement-section h4{padding:7px 11px!important}.statement-total{gap:24px!important;padding:7px 12px!important}.ageing-cards{gap:7px!important;padding:9px!important}.ageing-cards div{padding:9px!important}.ageing-cards strong{margin-top:3px!important;font-size:15px!important}.financial-report-foot{padding:8px 11px!important}.report-summary{padding:8px 11px!important}
@media(max-width:900px){.report-workspace>.toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.report-workspace>.toolbar .btn{width:100%}.financial-report-head>div:first-child{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.report-workspace>.toolbar{grid-template-columns:1fr}.financial-report-head{grid-template-columns:1fr!important}.financial-report-head>div:first-child{grid-template-columns:1fr;display:block}.financial-report-head h2,.financial-report-head h3,.financial-report-head p{margin-top:3px!important}.report-stamp{min-width:0;padding:7px 0 0;border-left:0;border-top:1px solid #d8e5e0;text-align:left}}
@media print{.financial-report-head{padding:7mm 0 4mm!important}.financial-report-head>div:first-child{grid-template-columns:1fr 1fr}.report-stamp{padding-left:5mm}}


/* SOURCE: assets/report-toolbar-1.80.3.css */

.page-head:has(+.report-workspace) p:empty{display:none}.page-head:has(+.report-workspace){align-items:center!important}.page-head:has(+.report-workspace) h1{font-size:23px!important;letter-spacing:-.025em}
.report-workspace>.toolbar{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:8px!important;padding:8px!important}.report-workspace>.toolbar>#reportType{flex:1 1 320px;max-width:520px;height:38px;border-radius:9px}.report-workspace>.toolbar>#ledgerAccount:not(.hidden){flex:1 1 240px;max-width:380px;height:38px;border-radius:9px}.report-workspace>.toolbar>.report-period{flex:0 0 155px;height:38px;border-radius:9px}.report-workspace>.toolbar>.report-date{flex:0 0 188px;position:relative;display:grid!important;grid-template-columns:42px 1fr;align-items:center;gap:0!important;height:38px;padding:0 5px 0 11px;border:1px solid #d4e1dc;border-radius:9px;background:#f8fbfa;color:#6d7e78;font-size:8px!important;letter-spacing:.08em}.report-workspace>.toolbar>.report-date:focus-within{border-color:#258b6d;box-shadow:0 0 0 3px rgba(37,139,109,.1)}.report-workspace>.toolbar>.report-date input{width:100%;height:30px!important;padding:4px 7px!important;border:0!important;background:transparent;font-size:11px;font-weight:700;color:#1c3d34;box-shadow:none!important}.report-workspace>.toolbar>.btn{flex:0 0 auto;height:38px!important;border-radius:9px;padding:7px 15px!important}
.financial-report-head.compact-report-title{display:block!important;padding:8px 11px!important}.financial-report-head.compact-report-title>div:first-child{display:flex!important;align-items:baseline;justify-content:space-between;gap:15px}.financial-report-head.compact-report-title h3{margin:0!important;font-size:14px!important}.financial-report-head.compact-report-title p{margin:0!important;font-size:9px!important}.financial-report-foot{display:none!important}
@media(max-width:820px){.report-workspace>.toolbar>#reportType,.report-workspace>.toolbar>#ledgerAccount:not(.hidden){max-width:none}.report-workspace>.toolbar>.report-date{flex:1 1 180px}.report-workspace>.toolbar>.btn{flex:1 1 160px}}
.ageing-cards .ageing-card{appearance:none;width:100%;border:1px solid var(--line);border-radius:10px;padding:13px;background:#fbfdfc;color:inherit;text-align:left;cursor:pointer;transition:.15s ease}.ageing-cards .ageing-card:hover{border-color:#62a992;background:#f2faf6}.ageing-cards .ageing-card.active{border-color:#188064;background:#e9f7f1;box-shadow:0 0 0 2px rgba(24,128,100,.12)}.ageing-bucket-note{margin:0 10px 9px;padding:8px 11px;border-radius:8px;background:#eef7f3;color:#315e51;font-size:11px}
.inventory-ageing-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:14px 16px 4px}.inventory-ageing-meta>div{padding:11px 12px;border:1px solid var(--line);border-radius:9px;background:#fbfdfc}.inventory-ageing-meta small{display:block;color:var(--muted);font-size:9px;text-transform:uppercase;font-weight:800;letter-spacing:.05em}.inventory-ageing-meta b{display:block;margin-top:4px;color:var(--deep);font-size:12px}.inventory-ageing-cards{grid-template-columns:repeat(4,minmax(0,1fr))}.inventory-ageing-table tfoot th{background:#edf5f1;color:#174c3d}@media(max-width:1050px){.inventory-ageing-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.inventory-ageing-meta,.inventory-ageing-cards{grid-template-columns:1fr}}
.inventory-ageing-search{flex:1 1 240px!important;min-width:210px;max-width:360px;height:38px!important}.inventory-ageing-table .report-sort-header{cursor:pointer;user-select:none}.inventory-ageing-table .report-sort-header:after{content:"↕";display:inline-block;margin-left:6px;color:#8aa198;font-size:11px}.inventory-ageing-table .report-sort-header.active-sort[data-direction="asc"]:after{content:"↑";color:#16785e}.inventory-ageing-table .report-sort-header.active-sort[data-direction="desc"]:after{content:"↓";color:#16785e}.inventory-ageing-table .report-sort-header:focus-visible{outline:2px solid #2b9979;outline-offset:-2px}.inventory-ageing-item{display:inline-flex!important;align-items:center;gap:6px;font:inherit!important;text-align:inherit!important;white-space:nowrap!important}.inventory-ageing-item small{display:inline!important;margin:0!important;white-space:nowrap}.inventory-ageing-item small:before{content:"· ";color:var(--muted)}
@media(max-width:1050px){.ageing-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.ageing-cards{grid-template-columns:1fr}}
@media(max-width:480px){.report-workspace>.toolbar>*{flex-basis:100%!important}.financial-report-head.compact-report-title>div:first-child{align-items:flex-start;flex-direction:column;gap:2px}}


/* SOURCE: assets/report-generated-date-1.80.4.css */

.financial-report-head.compact-report-title p{display:flex;align-items:center;gap:14px}.financial-report-head.compact-report-title p span+span{padding-left:14px;border-left:1px solid #d4e1dc;color:#45675d;font-weight:700}
@media(max-width:600px){.financial-report-head.compact-report-title p{align-items:flex-start;flex-direction:column;gap:2px}.financial-report-head.compact-report-title p span+span{padding-left:0;border-left:0}}


/* SOURCE: assets/server-admin-1.82.0.css */

.server-tabs{display:flex;gap:8px;margin:0 0 16px;padding:6px;background:#eaf1ee;border:1px solid #d9e5e0;border-radius:13px;width:max-content}.server-tabs button{border:0;background:transparent;color:#53645e;border-radius:9px;padding:10px 18px;font:600 13px inherit;cursor:pointer}.server-tabs button.active{background:#123f35;color:#fff;box-shadow:0 5px 14px #123f3524}.server-overview{display:grid;grid-template-columns:repeat(5,minmax(150px,1fr));gap:12px;margin-bottom:16px}.server-overview article,.server-meta>div{background:#fff;border:1px solid #dce7e2;border-radius:14px;padding:17px}.server-overview small,.server-meta small,.email-readiness span:first-child,.server-setting small{display:block;color:#74847e;font-size:10px;font-weight:700;letter-spacing:.08em}.server-overview strong{display:block;font:700 23px Manrope,sans-serif;margin:7px 0;color:#172821}.server-overview article>span{font-size:12px;color:#71817b}.server-health,.server-state{display:inline-flex!important;align-items:center;gap:7px}.server-health i,.server-state i{width:8px;height:8px;border-radius:50%;background:currentColor;box-shadow:0 0 0 4px currentColor15}.healthy{color:#12815f!important}.warning{color:#a36b08!important}.critical{color:#c33d35!important}.server-services{margin-bottom:16px}.server-services td small{display:block}.server-state{font-weight:700;text-transform:capitalize}.server-meta{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.server-meta b{display:block;margin-top:6px}.email-readiness{display:flex;align-items:center;justify-content:space-between;padding:20px;border:1px solid;border-radius:15px;margin-bottom:16px}.email-readiness.ready{background:#ecfaf4;border-color:#bee6d5}.email-readiness.pending{background:#fff8e8;border-color:#ecd9a6}.email-readiness h3{margin:5px 0}.email-readiness p{margin:0;color:#65746f}.server-email-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:16px}.email-settings-card{align-self:start}.server-setting{padding:11px 0;border-bottom:1px solid #e5ece9}.server-setting b{display:block;margin-top:4px;word-break:break-word}@media(max-width:1050px){.server-overview{grid-template-columns:repeat(2,1fr)}.server-meta{grid-template-columns:repeat(2,1fr)}.server-email-grid{grid-template-columns:1fr}}@media(max-width:600px){.server-overview,.server-meta{grid-template-columns:1fr}.server-tabs{width:100%}.server-tabs button{flex:1}}


/* SOURCE: assets/bank-adjustment-1.56.4.css */

.post-statement-ledger {
  margin-right: 6px;
}

.match-line:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}


/* SOURCE: assets/package-price-chart-1.81.8.css */

.package-price-chart{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:2px 0 4px}.package-price-chart>div{border:1px solid #d8e4df;border-radius:12px;background:#f7fbf9;padding:12px}.package-price-chart>div>span{display:block;color:#08745d;font-size:10px;font-weight:800;letter-spacing:.12em;margin-bottom:8px}.package-price-chart label{gap:5px}.package-price-chart input{background:#fff}@media(max-width:700px){.package-price-chart{grid-template-columns:1fr}}
.pricing-section-title{display:flex;align-items:end;justify-content:space-between;margin-top:6px;padding-bottom:6px;border-bottom:1px solid #e1e9e5}.pricing-section-title b{font-size:11px;letter-spacing:.12em;color:#08745d}.pricing-section-title small{color:#708079}.extra-user-price-chart>div{background:#fbfaf5;border-color:#e8e1ca}.extra-user-price-chart>div>span{color:#8a6816}
.package-price-chart input[readonly]{background:#eef3f1;color:#49615a;cursor:not-allowed}.package-price-chart [data-base-multiplier="1"] .term-discount{opacity:.65}


/* SOURCE: assets/table-sort-1.81.20.css */

.table-sort-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
}

.table-sort-button:hover,
.table-sort-button:focus-visible {
  color: #176b54;
}

.table-sort-button span {
  font-size: 11px;
  line-height: 1;
  color: #238165;
}


/* SOURCE: assets/account-header-highlight-1.81.26.css */

.account-list-card .account-header-row td {
  background: #e8f4ef;
  border-top-color: #c3ddd2;
  border-bottom-color: #c3ddd2;
}

.account-list-card .account-header-row td:first-child {
  border-left: 4px solid #278267;
}

.account-list-card .account-header-row:hover td {
  background: #dcefe7;
}

.account-list-card .account-header-row td:nth-child(2) b {
  color: #123f34;
  font-weight: 800;
  letter-spacing: .01em;
}


/* SOURCE: assets/custom-tax-report-1.81.28.css */

.custom-tax-builder{padding:20px;border-top:1px solid #dbe6e1;border-bottom:1px solid #dbe6e1;background:#f7fbf9}.custom-tax-preset{display:grid;grid-template-columns:minmax(260px,1fr) minmax(300px,430px);align-items:center;gap:28px;margin-bottom:18px;padding:20px 22px;border:1px solid #cfdfd8;border-radius:14px;background:linear-gradient(135deg,#fff 0%,#f1f8f5 100%);box-shadow:0 8px 24px rgba(18,53,45,.06)}.custom-tax-preset-copy h3{margin:4px 0 5px;font-size:17px;color:#172a25}.custom-tax-preset-copy p{margin:0;color:#708079;font-size:13px}.custom-tax-eyebrow{display:block;color:#168263;font-size:10px;font-weight:800;letter-spacing:.15em}.custom-tax-select-label{display:block;margin:0;color:#43544e;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.07em}.custom-tax-select-wrap{position:relative;margin-top:7px}.custom-tax-select-wrap select{width:100%;height:46px;padding:0 44px 0 14px;border:1px solid #bfcfc8;border-radius:10px;background:#fff;color:#172a25;font-family:inherit;font-size:14px;font-weight:600;line-height:46px;appearance:none;-webkit-appearance:none;cursor:pointer;box-shadow:0 2px 7px rgba(18,53,45,.05);transition:border-color .18s,box-shadow .18s}.custom-tax-select-wrap select:hover{border-color:#79aa98}.custom-tax-select-wrap select:focus{outline:none;border-color:#188365;box-shadow:0 0 0 3px rgba(24,131,101,.13)}.custom-tax-select-wrap i{position:absolute;right:16px;top:50%;width:8px;height:8px;border-right:2px solid #315e51;border-bottom:2px solid #315e51;transform:translateY(-70%) rotate(45deg);pointer-events:none}.custom-tax-fields{display:grid;grid-template-columns:repeat(4,minmax(180px,1fr));gap:9px}.custom-tax-fields label{display:flex;align-items:flex-start;gap:8px;padding:10px;border:1px solid #d8e4df;border-radius:9px;background:#fff;font-size:13px}.custom-tax-fields input{margin-top:2px}.custom-report-export{display:flex;gap:8px}.custom-tax-table{min-width:max-content}@media(max-width:900px){.custom-tax-preset{grid-template-columns:1fr;gap:16px}.custom-tax-fields{grid-template-columns:repeat(2,minmax(160px,1fr))}}@media(max-width:540px){.custom-tax-builder{padding:12px}.custom-tax-preset{padding:16px}.custom-tax-fields{grid-template-columns:1fr}}@media print{.custom-tax-builder{display:none!important}.custom-tax-table{font-size:9px}.custom-tax-table th,.custom-tax-table td{padding:6px}}


/* SOURCE: assets/stock-search-code-1.81.29.css */

.top-stock-results .top-stock-info small {
  font-size: 9px;
  line-height: 1.35;
  font-weight: 600;
}


/* SOURCE: assets/invoice-product-search-1.81.30.css */

/* Let invoice product suggestions float over the rows instead of becoming part of the table scrollbar. */
#modalRoot.mode-simple .voucher-lines {
  max-height: none !important;
  overflow: visible !important;
}

#modalRoot.mode-simple .voucher-lines tbody,
#modalRoot.mode-simple .voucher-lines tr,
#modalRoot.mode-simple .voucher-lines td,
#modalRoot.mode-simple .product-combobox {
  overflow: visible !important;
}

#modalRoot.mode-simple .product-search-results {
  z-index: 40;
  max-height: 260px;
  overflow-x: hidden;
  overflow-y: auto;
  box-shadow: 0 16px 34px rgba(18, 53, 45, .22);
}


/* SOURCE: assets/credit-debit-formats-1.81.32.css */

.note-format-selector {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  padding: 10px 12px;
  border: 1px solid #d8e4df;
  border-radius: 12px;
  background: #f5faf8;
}
.note-format-selector > span { font-weight: 700; margin-right: 4px; }
.note-format-selector label {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid #cfddd7;
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
}
.note-format-selector input { accent-color: #0d6652; }
.note-format-selector.hidden { display: none; }


/* SOURCE: assets/account-header-nesting-1.81.35.css */

.account-list-card .account-child.account-depth-3 .account-code-cell {
  padding-left: 104px;
}

.account-list-card .account-child.account-depth-3 .account-child-name {
  padding-left: 68px;
}

.account-list-card .account-child.account-depth-3 .account-child-name::before {
  content: "└────";
}

.account-list-card .account-child.account-depth-4 .account-code-cell {
  padding-left: 136px;
}

.account-list-card .account-child.account-depth-4 .account-child-name {
  padding-left: 92px;
}

.account-list-card .account-child.account-depth-4 .account-child-name::before {
  content: "└──────";
}

.account-list-card .account-header-row.account-child td {
  background: #e4f3ec;
}


/* SOURCE: assets/account-tree-navigation-1.81.44.css */

.account-list-card {
  --tree-accent: #168469;
  --tree-line: #9fc8ba;
  --tree-indent: 25px;
}

.account-list-card .toolbar {
  gap: 14px;
  padding: 12px 14px;
  background: #fff;
}

.account-list-card .account-tree-actions {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.account-list-card .account-tree-action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #d7e2de;
  border-radius: 9px;
  background: #f7faf9;
  color: #284b42;
  font-weight: 700;
  cursor: pointer;
}

.account-list-card .account-tree-action:hover {
  border-color: #8dbbae;
  background: #eef7f3;
}

.account-list-card tbody tr td {
  height: 34px;
  padding-top: 4px;
  padding-bottom: 4px;
}

.account-list-card .account-header-row td {
  background: #f3f8f6;
  border-color: #dce9e4;
}

.account-list-card .account-header-row td:first-child {
  border-left: 0;
}

.account-list-card .account-header-row:hover td {
  background: #edf6f2;
}

.account-list-card .account-header-row[data-tree-depth="1"] td {
  background: #e3f1ec;
  border-top: 1px solid #bcd8cf;
}

.account-list-card .account-header-row[data-tree-depth="1"] td:first-child {
  box-shadow: inset 4px 0 0 var(--tree-accent);
}

.account-list-card .account-header-row[data-tree-depth="1"] .account-tree-node-label b {
  font-size: 12px;
  letter-spacing: .035em;
}

.account-list-card .account-tree-node {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.account-list-card .account-child.account-depth-2 .account-child-name {
  padding-left: var(--tree-indent);
}

.account-list-card .account-child.account-depth-3 .account-child-name {
  padding-left: calc(var(--tree-indent) * 2);
}

.account-list-card .account-child.account-depth-4 .account-child-name {
  padding-left: calc(var(--tree-indent) * 3);
}

.account-list-card .account-child.account-depth-2 .account-child-name::before,
.account-list-card .account-child.account-depth-3 .account-child-name::before,
.account-list-card .account-child.account-depth-4 .account-child-name::before {
  display: none;
}

.account-list-card .account-child.account-depth-2 .account-child-name::after,
.account-list-card .account-child.account-depth-3 .account-child-name::after,
.account-list-card .account-child.account-depth-4 .account-child-name::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 12px;
  border-top: 1px solid var(--tree-line);
}

.account-list-card .account-child.account-depth-2 .account-child-name::before {
  left: 9px;
}

.account-list-card .account-child.account-depth-2 .account-child-name::after {
  left: 10px;
}

.account-list-card .account-child.account-depth-3 .account-child-name::before {
  left: calc(var(--tree-indent) + 9px);
}

.account-list-card .account-child.account-depth-3 .account-child-name::after {
  left: calc(var(--tree-indent) + 10px);
}

.account-list-card .account-child.account-depth-4 .account-child-name::before {
  left: calc(var(--tree-indent) * 2 + 9px);
}

.account-list-card .account-child.account-depth-4 .account-child-name::after {
  left: calc(var(--tree-indent) * 2 + 10px);
}

.account-list-card .account-tree-toggle,
.account-list-card .account-tree-toggle-spacer {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.account-list-card .account-tree-toggle {
  position: relative;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--tree-accent);
  cursor: pointer;
}

.account-list-card .account-tree-toggle:hover {
  background: #e5f4ee;
}

.account-list-card .account-tree-toggle span::before,
.account-list-card .account-tree-toggle span::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 3px;
  width: 10px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
}

.account-list-card .account-tree-toggle span::after {
  transform: rotate(90deg);
  transition: transform .16s ease;
}

.account-list-card .account-tree-toggle.is-open span::after {
  transform: rotate(0);
}

.account-list-card .account-tree-node-label {
  min-width: 0;
}

.account-list-card .account-tree-count {
  display: none;
}

.account-list-card .account-ledger-row td {
  background: #fff;
}

.account-list-card .account-ledger-row:hover td {
  background: #fafcfb;
}

.account-list-card .account-code-cell {
  justify-content: flex-start;
  min-width: 0;
  padding-left: 0;
}

.account-list-card .account-ledger-row.system-account-row td {
  background: #fff0ef;
  border-color: #f1cfcc;
}

.account-list-card .account-ledger-row.system-account-row td:first-child {
  box-shadow: inset 3px 0 0 #d94b43;
}

.account-list-card .account-ledger-row.system-account-row:hover td {
  background: #ffe7e5;
}

.account-list-card table th:first-child,
.account-list-card table td:first-child {
  width: 82px;
  min-width: 82px;
  max-width: 82px;
  padding-left: 10px;
  padding-right: 6px;
}

.account-list-card .account-child .account-code-cell,
.account-list-card .account-child.account-depth-2 .account-code-cell,
.account-list-card .account-child.account-depth-3 .account-code-cell,
.account-list-card .account-child.account-depth-4 .account-code-cell {
  padding-left: 0;
}

/* Full-height connector rails are painted on table cells so row clipping cannot break them. */
.account-list-card .account-child.account-depth-2 td:nth-child(2) {
  background-image: linear-gradient(to right, transparent 9px, var(--tree-line) 9px, var(--tree-line) 10px, transparent 10px);
  background-repeat: no-repeat;
}

.account-list-card .account-child.account-depth-3 td:nth-child(2) {
  background-image:
    linear-gradient(to right, transparent 9px, var(--tree-line) 9px, var(--tree-line) 10px, transparent 10px),
    linear-gradient(to right, transparent 34px, var(--tree-line) 34px, var(--tree-line) 35px, transparent 35px);
  background-repeat: no-repeat;
}

.account-list-card .account-child.account-depth-4 td:nth-child(2) {
  background-image:
    linear-gradient(to right, transparent 9px, var(--tree-line) 9px, var(--tree-line) 10px, transparent 10px),
    linear-gradient(to right, transparent 34px, var(--tree-line) 34px, var(--tree-line) 35px, transparent 35px),
    linear-gradient(to right, transparent 59px, var(--tree-line) 59px, var(--tree-line) 60px, transparent 60px);
  background-repeat: no-repeat;
}

/* Table-safe tree rails: real positioned lines remain visible between every row. */
.account-list-card .account-parent td:nth-child(2),
.account-list-card .account-child td:nth-child(2) {
  position: relative;
}

.account-list-card .account-parent td:nth-child(2):has(.account-tree-toggle.is-open)::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 50%;
  bottom: -1px;
  left: 9px;
  width: 1px;
  background: #72aa98;
}

.account-list-card .account-child.account-depth-2 td:nth-child(2)::before,
.account-list-card .account-child.account-depth-3 td:nth-child(2)::before,
.account-list-card .account-child.account-depth-4 td:nth-child(2)::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: -1px;
  bottom: -1px;
  width: 1px;
  background: #72aa98;
  pointer-events: none;
}

.account-list-card .account-child.account-depth-2 td:nth-child(2)::before {
  left: 9px;
}

.account-list-card .account-child.account-depth-3 td:nth-child(2)::before {
  left: calc(var(--tree-indent) + 9px);
  box-shadow: calc(var(--tree-indent) * -1) 0 0 #72aa98;
}

.account-list-card .account-child.account-depth-4 td:nth-child(2)::before {
  left: calc(var(--tree-indent) * 2 + 9px);
  box-shadow:
    calc(var(--tree-indent) * -1) 0 0 #72aa98,
    calc(var(--tree-indent) * -2) 0 0 #72aa98;
}

.account-list-card .account-child td:nth-child(2),
.account-list-card .account-child:hover td:nth-child(2) {
  background-image: none;
}

.account-list-card .account-child .account-child-name::after {
  z-index: 3;
  border-color: #72aa98;
}

@media (max-width: 760px) {
  .account-list-card {
    --tree-indent: 18px;
  }

  .account-list-card .toolbar {
    align-items: stretch;
  }

  .account-list-card .account-tree-actions {
    margin-left: 0;
  }

  .account-list-card .account-tree-action {
    flex: 1;
    justify-content: center;
  }

  .account-list-card table th:first-child,
  .account-list-card table td:first-child {
    width: 72px;
    min-width: 72px;
    max-width: 72px;
    padding-left: 7px;
    padding-right: 4px;
  }

  .account-list-card .account-child.account-depth-3 td:nth-child(2) {
    background-image:
      linear-gradient(to right, transparent 9px, var(--tree-line) 9px, var(--tree-line) 10px, transparent 10px),
      linear-gradient(to right, transparent 27px, var(--tree-line) 27px, var(--tree-line) 28px, transparent 28px);
  }

  .account-list-card .account-child.account-depth-4 td:nth-child(2) {
    background-image:
      linear-gradient(to right, transparent 9px, var(--tree-line) 9px, var(--tree-line) 10px, transparent 10px),
      linear-gradient(to right, transparent 27px, var(--tree-line) 27px, var(--tree-line) 28px, transparent 28px),
      linear-gradient(to right, transparent 45px, var(--tree-line) 45px, var(--tree-line) 46px, transparent 46px);
  }

  .account-list-card .account-child.account-depth-3 td:nth-child(2)::before {
    left: 27px;
    box-shadow: -18px 0 0 #72aa98;
  }

  .account-list-card .account-child.account-depth-4 td:nth-child(2)::before {
    left: 45px;
    box-shadow: -18px 0 0 #72aa98, -36px 0 0 #72aa98;
  }
}

/* Polished ledger tree: shared origin keeps toggles, rails and elbows connected. */
.account-list-card table td:nth-child(2) {
  padding-left: 0;
}

.account-list-card .account-tree-toggle,
.account-list-card .account-tree-toggle-spacer {
  width: 18px;
  height: 18px;
  flex-basis: 18px;
}

.account-list-card .account-tree-toggle {
  z-index: 5;
  border: 1px solid #0d6b55;
  border-radius: 50%;
  background: #0f745b;
  color: #fff;
  box-shadow: 0 0 0 2px #fff;
}

.account-list-card .account-tree-toggle:hover {
  border-color: #07513f;
  background: #075f4a;
}

.account-list-card .account-tree-toggle span::before,
.account-list-card .account-tree-toggle span::after {
  top: 7px;
  left: 4px;
  width: 8px;
  height: 1.5px;
}

.account-list-card .account-child .account-tree-toggle-spacer {
  width: 0;
  flex: 0 0 0;
}

.account-list-card .account-tree-node {
  gap: 7px;
}

.account-list-card .account-child.account-depth-2 .account-child-name {
  padding-left: var(--tree-indent);
}

.account-list-card .account-child.account-depth-3 .account-child-name {
  padding-left: calc(var(--tree-indent) * 2);
}

.account-list-card .account-child.account-depth-4 .account-child-name {
  padding-left: calc(var(--tree-indent) * 3);
}

.account-list-card .account-child.account-depth-2 .account-child-name::after,
.account-list-card .account-child.account-depth-3 .account-child-name::after,
.account-list-card .account-child.account-depth-4 .account-child-name::after {
  top: 50%;
  width: 16px;
  height: 8px;
  border-top: 1px solid #72aa98;
  border-radius: 0 7px 0 0;
}

.account-list-card .account-child.account-depth-2 .account-child-name::after {
  left: 10px;
}

.account-list-card .account-child.account-depth-3 .account-child-name::after {
  left: calc(var(--tree-indent) + 10px);
}

.account-list-card .account-child.account-depth-4 .account-child-name::after {
  left: calc(var(--tree-indent) * 2 + 10px);
}

.account-list-card .account-parent td:nth-child(2):has(.account-tree-toggle.is-open)::after,
.account-list-card .account-child.account-depth-2 td:nth-child(2)::before {
  left: 9px;
}

.account-list-card .account-header-row[data-tree-depth="1"] .account-tree-node-label b,
.account-list-card .account-parent .account-tree-node-label .account-link {
  font-weight: 750;
  letter-spacing: .015em;
}

/* SVG connectors avoid table-cell clipping and provide smooth nested curves. */
.account-list-card .table-wrap {
  position: relative;
}

.account-list-card .account-tree-connectors {
  position: absolute;
  inset: 0 auto auto 0;
  z-index: 2;
  overflow: visible;
  pointer-events: none;
}

.account-list-card .account-tree-connectors path {
  fill: none;
  stroke: #739a8e;
  stroke-width: 1.15;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.account-list-card .account-tree-node,
.account-list-card .account-link,
.account-list-card .account-tree-toggle {
  position: relative;
  z-index: 4;
}

.account-list-card .account-parent td:nth-child(2)::after,
.account-list-card .account-child td:nth-child(2)::before,
.account-list-card .account-child .account-child-name::before,
.account-list-card .account-child .account-child-name::after {
  display: none !important;
}

/* Neutral accounting palette: hierarchy without status-like red/green decoration. */
.account-list-card {
  --tree-accent: #46534f;
  --tree-line: #aeb7b3;
}

.account-list-card .account-header-row td,
.account-list-card .account-header-row[data-tree-depth="1"] td,
.account-list-card .account-ledger-row.system-account-row td {
  background: #f5f6f6;
  border-color: #dfe3e1;
}

.account-list-card .account-header-row:hover td,
.account-list-card .account-ledger-row.system-account-row:hover td {
  background: #eef1f0;
}

.account-list-card .account-header-row td:first-child,
.account-list-card .account-header-row[data-tree-depth="1"] td:first-child,
.account-list-card .account-ledger-row.system-account-row td:first-child {
  border-left: 0;
  box-shadow: none;
}

.account-list-card .account-tree-toggle {
  border-color: #46534f;
  background: #46534f;
  color: #fff;
}

.account-list-card .account-tree-toggle:hover {
  border-color: #27312e;
  background: #27312e;
}

.account-list-card .account-link,
.account-list-card .account-tree-node-label b {
  color: #26312e;
  text-decoration-color: #aab2af;
}

.account-list-card .role-chip {
  background: #e9eceb;
  color: #59635f;
}

.account-list-card .account-tree-connectors path {
  stroke: #aeb7b3;
}


/* SOURCE: assets/account-tree-neutral-1.82.20.css */

/* Final chart-of-accounts presentation overrides. Kept in a new asset to bypass stale proxy caches. */
.account-list-card {
  --tree-accent: #46504d !important;
  --tree-line: #aeb5b2 !important;
}

.account-list-card .account-header-row td,
.account-list-card .account-header-row.account-child td,
.account-list-card .account-header-row[data-tree-depth="1"] td,
.account-list-card .account-ledger-row.system-account-row td,
.account-list-card .account-parent td {
  background-color: #f6f7f7 !important;
  border-color: #e2e5e4 !important;
}

.account-list-card .account-header-row:hover td,
.account-list-card .account-header-row.account-child:hover td,
.account-list-card .account-ledger-row.system-account-row:hover td,
.account-list-card .account-parent:hover td {
  background-color: #f0f2f1 !important;
}

.account-list-card .account-header-row td:first-child,
.account-list-card .account-header-row[data-tree-depth="1"] td:first-child,
.account-list-card .account-ledger-row.system-account-row td:first-child,
.account-list-card .account-parent td:first-child {
  border-left: 0 !important;
  box-shadow: none !important;
}

.account-list-card table td:nth-child(2) {
  border-left: 0 !important;
}

/* The SVG draws the account hierarchy. Remove the legacy code-column stripe so
   expanded groups show one connector only. */
@media screen {
  .account-list-card .account-child td:first-child,
  .account-list-card .account-child.account-depth-2 td:first-child {
    border-left: 0 !important;
  }
}

.account-list-card .account-link,
.account-list-card .account-tree-node-label b {
  color: #26302d !important;
  text-decoration-color: #aab0ae !important;
}

.account-list-card .account-tree-toggle {
  border-color: #46504d !important;
  background: #46504d !important;
  color: #fff !important;
}

.account-list-card .account-tree-toggle:hover {
  border-color: #252d2a !important;
  background: #252d2a !important;
}

.account-list-card .role-chip {
  background: #e9ebea !important;
  color: #5c6461 !important;
}

.account-list-card .account-tree-connectors path {
  stroke: #aeb5b2 !important;
}

/* Virtual headers use the exact same connector origin and indentation as ledger parents. */
.account-list-card .account-header-row .account-tree-node {
  margin-left: 0 !important;
}

.account-list-card .account-header-row.account-child.account-depth-2 .account-child-name {
  padding-left: var(--tree-indent) !important;
}

.account-list-card .account-header-row.account-child.account-depth-3 .account-child-name {
  padding-left: calc(var(--tree-indent) * 2) !important;
}

.account-list-card .account-header-row.account-child.account-depth-4 .account-child-name {
  padding-left: calc(var(--tree-indent) * 3) !important;
}


/* SOURCE: assets/global-compact-actions-1.82.67.css */

/* Compact data lists and consistent Edit/Delete actions across the application. */
#appView .table-card td,
#appView .financial-table td,
#appView .outstanding-tree-table td {
  padding-top: 7px !important;
  padding-bottom: 7px !important;
  line-height: 1.25 !important;
}

#appView .row-actions {
  gap: 5px;
}

button.has-edit-icon,
button.has-delete-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 30px;
  min-width: 30px;
  min-height: 28px;
  padding: 5px !important;
  font-size: 0 !important;
}

button.has-edit-icon::before,
button.has-delete-icon::before {
  content: "";
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.visual-canvas{position:relative;padding:0!important;overflow:hidden;background-color:#fff;background-size:100% 100%;background-repeat:no-repeat;flex:none;transform-origin:top center}.visual-canvas.page-a4{width:630px;height:891px}.visual-canvas.page-a5{width:445px;height:630px}.visual-canvas.page-thermal{width:302px;height:760px}.invoice-canvas-field{position:absolute;min-height:24px;padding:4px;border:1px dashed #24a97b;background:rgba(235,255,247,.82);cursor:move;touch-action:none;line-height:1.3;user-select:none}.invoice-canvas-field:hover{border-style:solid;box-shadow:0 0 0 2px rgba(36,169,123,.15)}.invoice-canvas-field img{display:block;max-width:100%;max-height:56px;object-fit:contain}.invoice-canvas-field hr{border:0;border-top:1px solid currentColor;margin:3px 0}.field-items_table{color:#1c2925!important}.invoice-designer .invoice-design-preview-wrap{display:flex;align-items:flex-start;justify-content:center;max-height:72vh}.invoice-designer-controls .voucher-help{margin:0}@media(max-width:850px){.visual-canvas{transform:scale(.72);margin-bottom:-25%}.invoice-designer .invoice-design-preview-wrap{justify-content:flex-start}}
.invoice-designer-tools{display:grid;grid-template-columns:1fr 1fr;gap:7px}.invoice-designer-tools .btn{padding:8px 7px}.invoice-canvas-field.selected{border:2px solid #08775b;box-shadow:0 0 0 3px rgba(8,119,91,.18);z-index:5}.canvas-resize-handle{display:none;position:absolute;right:-5px;bottom:-5px;width:12px;height:12px;border-radius:2px;background:#08775b;cursor:nwse-resize}.invoice-canvas-field.selected .canvas-resize-handle{display:block}.visual-canvas.snap-grid:not([style*="background-image: url"]){background-image:linear-gradient(rgba(19,95,75,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(19,95,75,.07) 1px,transparent 1px)!important;background-size:2% 2%!important}.invoice-designer-controls input[type=range]{padding:0}
.invoice-element-tools{display:grid;gap:10px;padding:12px;border:1px solid #d8e5df;border-radius:11px;background:#f5faf8}.invoice-element-tools>b{font-size:12px;color:#175646}.invoice-element-tools label{display:grid;gap:5px;font-size:11px;font-weight:600}.invoice-element-tools .invoice-designer-check{display:flex}.invoice-element-tools .btn.danger{background:#fff4f2;color:#b13c34;border-color:#f0c8c3}.invoice-canvas-field{overflow:hidden}.invoice-canvas-field br{line-height:1.7}

.invoice-designer{display:grid;grid-template-columns:285px minmax(0,1fr);gap:18px;min-height:600px}.invoice-designer-controls{display:flex;flex-direction:column;gap:12px}.invoice-designer-controls>label:not(.invoice-designer-check){display:grid;gap:5px;font-size:12px;font-weight:600}.invoice-designer-controls input,.invoice-designer-controls select{width:100%}.invoice-designer-check{display:flex;align-items:center;gap:8px;font-size:13px}.invoice-designer-check input{width:auto}.invoice-design-preview-wrap{background:#e8eeeb;border:1px solid #d7e2dd;border-radius:12px;padding:18px;overflow:auto}.invoice-design-paper{background:#fff;max-width:720px;min-height:560px;margin:auto;padding:30px;color:#1b2924;box-shadow:0 8px 24px rgba(19,57,47,.12)}.invoice-design-company{border-bottom:2px solid;padding-bottom:13px;margin-bottom:18px}.invoice-design-company img{display:block;max-width:115px;max-height:60px;object-fit:contain;margin:0 auto 8px}.invoice-design-company h2{margin:0 0 5px}.invoice-design-company p{margin:3px 0}.invoice-design-meta{display:grid;grid-template-columns:1fr 1fr;gap:8px 22px;margin:16px 0}.invoice-design-meta span{border-bottom:1px solid #dce4e0;padding:6px 0}.invoice-design-meta small{display:block;color:#718079;margin-bottom:3px}.invoice-design-paper table{width:100%;border-collapse:collapse}.invoice-design-paper th,.invoice-design-paper td{padding:9px 6px;border-bottom:1px solid #dce4e0}.invoice-design-paper table.striped tbody tr:nth-child(even){background:#f2f7f5}.invoice-design-paper table.minimal th,.invoice-design-paper table.minimal td{border-bottom:0}.invoice-design-total{display:flex;justify-content:space-between;width:230px;margin:18px 0 0 auto;padding-top:8px;border-top:2px solid;font-size:1.2em}.invoice-design-footer{text-align:center;margin-top:38px;padding-top:10px;border-top:1px solid #dce4e0;color:#697871}@media(max-width:850px){.invoice-designer{grid-template-columns:1fr}.invoice-design-preview-wrap{padding:8px}.invoice-design-paper{padding:18px;min-height:450px}}

/* Compact payment allocations and keep the four payment selectors on one row. */
#modalRoot.mode-cash .form-grid,
#modalRoot.mode-cash .transaction-form-grid {
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  column-gap:12px;
}
#modalRoot .allocation-list {
  gap:5px !important;
  overflow:visible !important;
  max-height:none !important;
}
#modalRoot .allocation-row {
  position:relative;
  padding:0 7px !important;
  min-height:0 !important;
  height:34px;
  gap:8px;
}
#modalRoot .allocation-row.selected {
  height:34px;
  box-shadow:none !important;
}
#modalRoot .allocation-choice {
  min-height:0;
  line-height:1;
}
#modalRoot .allocation-choice input[type="checkbox"] {
  margin:0 !important;
}
#modalRoot .allocation-choice > span,
#modalRoot .allocation-choice > span b,
#modalRoot .allocation-choice > span small {
  line-height:1 !important;
}
#modalRoot .allocation-payment input {
  margin:0 !important;
  box-sizing:border-box;
  display:block !important;
  width:100% !important;
  height:24px !important;
  min-height:24px !important;
  padding:1px 8px !important;
  border-radius:6px !important;
  line-height:20px !important;
}
#modalRoot .allocation-payment {
  min-width:0;
  position:absolute;
  right:7px;
  top:50%;
  width:30%;
  height:24px !important;
  max-height:24px !important;
  transform:translateY(-50%) !important;
  overflow:hidden !important;
  opacity:0 !important;
  visibility:hidden;
}
#modalRoot .allocation-payment.open {
  height:24px !important;
  max-height:24px !important;
  overflow:hidden !important;
  transform:translateY(-50%) !important;
  opacity:1 !important;
  visibility:visible;
}
#modalRoot .allocation-payment label {
  display:block;
  height:24px !important;
  margin:0 !important;
  padding:0 !important;
  line-height:1;
}
@media(min-width:901px){
  #modalRoot.mode-cash .modal { grid-template-rows:auto auto auto; }
  #modalRoot.mode-cash .modal > .modal-body {
    overflow:hidden !important;
    min-height:auto;
  }
}
@media(max-width:900px){
  #modalRoot.mode-cash .form-grid,
  #modalRoot.mode-cash .transaction-form-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
}
@media(max-width:600px){
  #modalRoot.mode-cash .form-grid,
  #modalRoot.mode-cash .transaction-form-grid { grid-template-columns:1fr !important; }
  #modalRoot .allocation-row { height:32px; }
  #modalRoot .allocation-row.selected { height:auto; min-height:34px !important; }
  #modalRoot .allocation-payment,
  #modalRoot .allocation-payment.open {
    position:static;
    width:auto;
    transform:none !important;
  }
}

button.has-edit-icon::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 17.25V20h2.75L17.81 8.94l-2.75-2.75L4 17.25Zm15.71-10.42a1 1 0 0 0 0-1.42l-1.12-1.12a1 1 0 0 0-1.42 0l-1.24 1.24 2.75 2.75 1.03-1.45Z'/%3E%3Cpath d='M4 4h8v2H6v12h12v-6h2v8H4V4Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 17.25V20h2.75L17.81 8.94l-2.75-2.75L4 17.25Zm15.71-10.42a1 1 0 0 0 0-1.42l-1.12-1.12a1 1 0 0 0-1.42 0l-1.24 1.24 2.75 2.75 1.03-1.45Z'/%3E%3Cpath d='M4 4h8v2H6v12h12v-6h2v8H4V4Z'/%3E%3C/svg%3E");
}

button.has-delete-icon::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 4V2h8v2h5v2H3V4h5Zm-2 4h12l-1 14H7L6 8Zm3 2 .5 9h2L11 10H9Zm4 0-.5 9h2l.5-9h-2Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 4V2h8v2h5v2H3V4h5Zm-2 4h12l-1 14H7L6 8Zm3 2 .5 9h2L11 10H9Zm4 0-.5 9h2l.5-9h-2Z'/%3E%3C/svg%3E");
}


/* SOURCE: assets/number-input-clean-1.81.42.css */

/* Number fields stay directly editable without browser spinner controls. */
input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}


/* SOURCE: assets/modal-viewport-1.81.43.css */

/* Use the available viewport first; scroll only when real form content cannot fit. */
.modal-backdrop {
  padding: 8px !important;
}

.modal,
.modal.large {
  max-height: calc(100dvh - 16px) !important;
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden !important;
}

.modal.large {
  width: min(1500px, calc(100vw - 16px)) !important;
}

.modal > .modal-head,
.modal > .modal-foot {
  position: static !important;
}

.modal > .modal-body {
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
}

/* Search suggestions float above the modal and never create a modal scrollbar. */
#modalRoot .product-search-results {
  position: fixed !important;
  right: auto !important;
  overflow-y: auto !important;
  z-index: 10000 !important;
}

/* Keep payment actions visible; only the invoice allocation rows scroll. */
#modalRoot.mode-cash .modal {
  grid-template-rows: auto minmax(0, 1fr) auto !important;
}
#modalRoot.mode-cash .modal > .modal-body {
  overflow: hidden !important;
}
#modalRoot.mode-cash .allocation-list {
  max-height: clamp(180px, calc(100dvh - 330px), 430px) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding-right: 4px;
}
@media(max-width:600px){
  #modalRoot.mode-cash .allocation-list {
    max-height: clamp(160px, calc(100dvh - 390px), 360px) !important;
  }
}

@media (max-width: 780px) {
  .modal,
  .modal.large {
    width: calc(100vw - 6px) !important;
    max-height: calc(100dvh - 6px) !important;
  }
}


/* Credit refund compact row alignment */
#modalRoot .credit-refund-row .allocation-balance{display:flex;align-items:center;justify-content:flex-end;gap:6px;min-width:0;white-space:nowrap;line-height:1}#modalRoot .credit-refund-row .allocation-balance small,#modalRoot .credit-refund-row .allocation-balance b{display:inline!important;margin:0!important;line-height:1!important}


/* Keep the template visible while its long settings panel is edited. */
.invoice-designer-mobile-tabs{display:none}
#modalRoot.mode-invoice-designer .modal{height:min(94vh,920px);max-height:94vh;overflow:hidden;display:grid;grid-template-rows:auto minmax(0,1fr) auto}
#modalRoot.mode-invoice-designer .modal-body{min-height:0;overflow:hidden;padding-top:14px;padding-bottom:14px}
#modalRoot.mode-invoice-designer .invoice-designer{height:100%;min-height:0}
#modalRoot.mode-invoice-designer .invoice-designer-controls{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-right:8px;scrollbar-width:thin;scrollbar-color:#78a99b transparent}
#modalRoot.mode-invoice-designer .invoice-designer-controls::-webkit-scrollbar{width:7px}
#modalRoot.mode-invoice-designer .invoice-designer-controls::-webkit-scrollbar-track{background:transparent}
#modalRoot.mode-invoice-designer .invoice-designer-controls::-webkit-scrollbar-thumb{background:#78a99b;border-radius:10px}
#modalRoot.mode-invoice-designer .invoice-design-preview-wrap{height:100%;min-height:0;max-height:none;position:sticky;top:0;overscroll-behavior:contain}
@media(max-width:850px){
#modalRoot.mode-invoice-designer .modal-body{display:grid;grid-template-rows:auto minmax(0,1fr);gap:10px}
.invoice-designer-mobile-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px}
#modalRoot.mode-invoice-designer .invoice-designer{display:block}
#modalRoot.mode-invoice-designer .invoice-designer-controls{height:100%}
#modalRoot.mode-invoice-designer .invoice-design-preview-wrap{display:none;height:100%}
#modalRoot.mode-invoice-designer .invoice-designer.show-preview .invoice-designer-controls{display:none}
#modalRoot.mode-invoice-designer .invoice-designer.show-preview .invoice-design-preview-wrap{display:flex}
#modalRoot.mode-invoice-designer .visual-canvas{transform:scale(.72);margin-bottom:-25%}
}

/* Word-style rich text invoice editor */
#modalRoot.mode-invoice-designer .modal.large{width:min(1480px,calc(100vw - 28px))}
#modalRoot.mode-invoice-designer .invoice-designer{grid-template-columns:285px minmax(420px,1fr) 235px}
.rich-text-area-tools{position:sticky;bottom:0;z-index:4;background:#f5faf8}
.invoice-rich-toolbar{display:grid;grid-template-columns:1fr 62px repeat(6,34px) 38px;gap:5px;align-items:center}
.invoice-rich-toolbar select{min-width:0;height:34px;padding:4px}
.invoice-rich-toolbar button{height:34px;border:1px solid #cadbd5;border-radius:6px;background:#fff;color:#173f35;cursor:pointer}
.invoice-rich-toolbar input[type=color]{width:38px;height:34px;padding:2px}
.invoice-data-palette{min-height:0;overflow-y:auto;padding:14px;border:1px solid #d7e2dd;border-radius:12px;background:#f7faf9}
.invoice-data-palette>b,.invoice-data-palette>small{display:block;margin-bottom:10px}
.invoice-data-palette>small{color:#6f7f79;line-height:1.45}
.invoice-token-list{display:grid;gap:7px}
.invoice-token-list button{display:grid;gap:3px;width:100%;padding:9px;border:1px solid #cfe0da;border-radius:8px;background:#fff;color:#194d40;text-align:left;cursor:pointer}
.invoice-token-list button:hover{border-color:#35ac86;background:#ebf8f3}
.invoice-token-list button b{font-family:Consolas,monospace;font-size:11px}
.invoice-token-list button span{color:#73827d;font-size:10px}
.invoice-canvas-field[contenteditable=true]{cursor:text;outline:3px solid rgba(35,174,132,.24);border-style:solid;user-select:text;overflow:auto}
@media(max-width:1100px){#modalRoot.mode-invoice-designer .invoice-designer{grid-template-columns:260px minmax(380px,1fr) 205px}.invoice-rich-toolbar{grid-template-columns:1fr 58px repeat(3,32px)}}
@media(max-width:850px){#modalRoot.mode-invoice-designer .invoice-designer{display:grid;grid-template-columns:1fr}.invoice-data-palette{display:none}#modalRoot.mode-invoice-designer .invoice-designer.show-preview .invoice-data-palette{display:block;position:absolute;right:18px;top:72px;z-index:8;width:210px;max-height:55vh;box-shadow:0 12px 30px #0002}}

/* Centre the document-style formatting ribbon above the design canvas. */
#modalRoot.mode-invoice-designer .modal-body{display:grid;grid-template-rows:auto minmax(0,1fr);gap:10px}
#modalRoot.mode-invoice-designer .rich-text-area-tools{position:static;display:flex;align-items:center;justify-content:center;gap:10px;min-width:0;padding:8px 12px;border-radius:10px}
#modalRoot.mode-invoice-designer .rich-text-area-tools>b{white-space:nowrap}
#modalRoot.mode-invoice-designer .rich-text-area-tools>small{display:none}
#modalRoot.mode-invoice-designer .invoice-rich-toolbar{display:flex;justify-content:center;flex-wrap:wrap}
#modalRoot.mode-invoice-designer .invoice-rich-toolbar select:first-child{width:150px}
#modalRoot.mode-invoice-designer .invoice-rich-toolbar select:nth-child(2){width:64px}
@media(max-width:850px){
#modalRoot.mode-invoice-designer .modal-body{grid-template-rows:auto auto minmax(0,1fr)}
#modalRoot.mode-invoice-designer .rich-text-area-tools{overflow-x:auto;justify-content:flex-start;flex-wrap:nowrap}
#modalRoot.mode-invoice-designer .rich-text-area-tools>b{display:none}
#modalRoot.mode-invoice-designer .invoice-rich-toolbar{flex-wrap:nowrap}
}

/* Direct canvas editing and compact delete action. */
#modalRoot.mode-invoice-designer .rich-text-area-tools>b,
#modalRoot.mode-invoice-designer #invoiceRichEdit{display:none!important}
#modalRoot.mode-invoice-designer #invoiceDesignDelete{flex:0 0 38px;width:38px;height:36px;padding:0;display:grid;place-items:center;font-size:15px}
#modalRoot.mode-invoice-designer .invoice-canvas-field:not([contenteditable=true]){cursor:move}
#modalRoot.mode-invoice-designer .invoice-canvas-field[contenteditable=true]{cursor:text}

/* Compact history actions at the left edge of the formatting ribbon. */
#modalRoot.mode-invoice-designer .rich-text-area-tools>#invoiceDesignUndo{flex:0 0 auto;min-width:76px}
#modalRoot.mode-invoice-designer .rich-text-area-tools>#invoiceDesignDelete.has-delete-icon{flex:0 0 30px;width:30px;min-width:30px;height:30px;min-height:30px;padding:5px!important;border:1px solid #efc9c6;background:#fff7f6;color:#b54743}
#modalRoot.mode-invoice-designer .invoice-designer-controls>[hidden]{display:none!important}

/* Designer toolbar icons. */
#modalRoot.mode-invoice-designer .rich-text-area-tools>.invoice-undo-icon{flex:0 0 34px;width:34px;min-width:34px;height:30px;min-height:30px;padding:5px!important;background:#eef4f1 url("icons/invoice-undo.png") center/18px 18px no-repeat;border:1px solid #dbe6e2;font-size:0}
#modalRoot.mode-invoice-designer .rich-text-area-tools>#invoiceDesignDelete.has-delete-icon::before{content:"";display:block;width:15px;height:15px;background-color:#b54743;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 4V2h8v2h5v2H3V4h5Zm-2 4h12l-1 14H7L6 8Zm3 2 .5 9h2L11 10H9Zm4 0-.5 9h2l.5-9h-2Z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 4V2h8v2h5v2H3V4h5Zm-2 4h12l-1 14H7L6 8Zm3 2 .5 9h2L11 10H9Zm4 0-.5 9h2l.5-9h-2Z'/%3E%3C/svg%3E") center/contain no-repeat}

/* Polished document-editor controls. */
#modalRoot.mode-invoice-designer .invoice-rich-toolbar{gap:4px;padding-left:2px}
#modalRoot.mode-invoice-designer .invoice-rich-toolbar select{appearance:none;-webkit-appearance:none;height:34px;padding:0 30px 0 10px;border:1px solid #cbd9d4;border-radius:7px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23465f57' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") right 10px center/10px 7px no-repeat;color:#20352f;font:600 12px Manrope,Arial,sans-serif;box-shadow:0 1px 2px rgba(19,63,53,.04)}
#modalRoot.mode-invoice-designer .invoice-rich-toolbar select:hover{border-color:#9bbdb1}
#modalRoot.mode-invoice-designer .invoice-rich-toolbar select:focus{outline:0;border-color:#188566;box-shadow:0 0 0 3px rgba(24,133,102,.12)}
#modalRoot.mode-invoice-designer .invoice-rich-toolbar button{display:grid;place-items:center;width:32px;min-width:32px;height:32px;padding:0;border:1px solid transparent;border-radius:7px;background:transparent;color:#29473e;font:700 14px Manrope,Arial,sans-serif}
#modalRoot.mode-invoice-designer .invoice-rich-toolbar button:hover{border-color:#cfe0da;background:#fff}
#modalRoot.mode-invoice-designer .invoice-rich-toolbar button svg{width:17px;height:17px;fill:currentColor}
#modalRoot.mode-invoice-designer .rich-text-area-tools>.invoice-undo-icon{width:34px;min-width:34px;height:32px;min-height:32px;background-color:#fff;background-size:16px 16px;border-color:#cbd9d4;border-radius:7px}
#modalRoot.mode-invoice-designer .rich-text-area-tools>.invoice-undo-icon:hover{background-color:#eaf5f1;border-color:#9bc7b8}
#modalRoot.mode-invoice-designer .rich-text-area-tools>.invoice-toolbar-delete{flex:0 0 32px!important;width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important;padding:0!important;display:grid!important;place-items:center;border:1px solid transparent!important;border-radius:7px!important;background:transparent!important;color:#b54743!important}
#modalRoot.mode-invoice-designer .rich-text-area-tools>.invoice-toolbar-delete:hover{border-color:#efc9c6!important;background:#fff3f2!important}
#modalRoot.mode-invoice-designer .invoice-toolbar-delete svg{display:block;width:17px;height:17px;fill:currentColor}
#modalRoot.mode-invoice-designer #invoiceRichColor{width:32px;height:32px;padding:3px;border:1px solid #cbd9d4;border-radius:7px;background:#fff;cursor:pointer}

/* Free built-in print template selection. */
.free-template-note{display:flex;align-items:center;gap:12px;margin:12px 0;padding:11px 13px;border:1px solid #cce6dc;border-radius:10px;background:#eef8f4;color:#315e51}
.free-template-note b{white-space:nowrap;color:#12634d}
.free-template-note span{font-size:11px}
#printTemplates .print-theme{min-width:125px;border-color:#bcd5cc;background-color:#f8fbfa;font-weight:700;color:#194f40}

/* Built-in print template preview. */
.print-template-preview{width:31px;height:29px;display:grid;place-items:center;padding:0;border:1px solid #c7dbd4;border-radius:7px;background:#fff;color:#17634f;cursor:pointer}
.print-template-preview:hover{border-color:#75b39f;background:#eaf6f1}
.print-template-preview svg{width:16px;height:16px;fill:currentColor}
.free-print-preview-shell{display:grid;place-items:center;padding:18px;border-radius:12px;background:#e8eeeb;overflow:auto}
.free-print-preview{width:min(720px,100%);min-height:720px;padding:42px;background:#fff;color:#17231f;box-shadow:0 10px 30px rgba(19,57,47,.14);font:12px Arial,sans-serif}
.free-print-preview header{display:flex;align-items:center;justify-content:center;gap:15px;padding-bottom:15px;border-bottom:2px solid #173f35;text-align:center}
.free-preview-logo{width:50px;height:50px;display:grid;place-items:center;border-radius:10px;background:#173f35;color:#fff;font-size:22px;font-weight:800}
.free-print-preview h1{margin:0 0 5px;font-size:24px}.free-print-preview p{margin:2px}.free-print-preview h2{margin:20px 0 14px;color:#173f35}
.free-preview-meta{display:grid;grid-template-columns:1fr 1fr;gap:8px 20px;margin-bottom:18px}.free-preview-meta div{padding:7px 0;border-bottom:1px solid #d7e0dc}.free-preview-meta small{display:block;margin-bottom:3px;color:#72817c}
.free-print-preview table{width:100%;border-collapse:collapse}.free-print-preview th,.free-print-preview td{padding:9px 6px;border-bottom:1px solid #d7e0dc;text-align:left}.free-print-preview th:not(:first-child),.free-print-preview td:not(:first-child){text-align:right}
.free-preview-total{display:flex;justify-content:space-between;width:240px;margin:18px 0 0 auto;padding-top:8px;border-top:2px solid #173f35;font-size:16px}.free-print-preview footer{margin-top:45px;padding-top:10px;border-top:1px solid #d7e0dc;text-align:center;color:#72817c}
.free-print-preview.theme-modern{border:1px solid #d8e5e0;padding:30px}.free-print-preview.theme-modern header{justify-content:flex-start;padding:20px;border:0;border-radius:11px;background:#173f35;color:#fff;text-align:left}.free-print-preview.theme-modern .free-preview-logo{background:#fff;color:#173f35}.free-print-preview.theme-modern h2{padding-bottom:10px;border-bottom:3px solid #2aa77e}.free-print-preview.theme-modern thead{background:#e8f5f0}
.free-print-preview.theme-compact{min-height:560px;padding:28px;font-size:10px}.free-print-preview.theme-compact header{justify-content:flex-start;padding-bottom:8px;text-align:left}.free-print-preview.theme-compact .free-preview-logo{width:38px;height:38px;font-size:17px}.free-print-preview.theme-compact h1{font-size:18px}.free-print-preview.theme-compact h2{margin:10px 0 7px;font-size:16px}.free-print-preview.theme-compact .free-preview-meta{gap:3px 12px;margin-bottom:8px}.free-print-preview.theme-compact .free-preview-meta div,.free-print-preview.theme-compact th,.free-print-preview.theme-compact td{padding:4px 3px}.free-print-preview.theme-compact footer{margin-top:14px}
.free-print-preview.theme-government{position:relative;padding:38px;color:#000;font:12px "Times New Roman",serif}.theme-government .gov-form-code{position:absolute;top:39px;left:38px;font-weight:700}.theme-government .gov-gazette{text-align:center;border-bottom:1px solid #000;padding:0 30px 8px;font-size:9px}.free-print-preview.theme-government h2{width:max-content;margin:14px auto 16px;padding:7px 20px;border:1px solid #000;color:#000;font-size:18px}.theme-government .gov-two{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:7px}.theme-government .gov-two>div,.theme-government .gov-box,.theme-government .gov-parties>div{border:1px solid #000;padding:6px 8px}.theme-government .gov-parties{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:7px}.theme-government .gov-parties>div{min-height:125px;line-height:1.65}.theme-government .gov-parties span{display:block;margin-top:37px}.theme-government .gov-box{margin-bottom:8px}.free-print-preview.theme-government th,.free-print-preview.theme-government td{border:1px solid #000;padding:6px;text-align:left}.free-print-preview.theme-government th{text-align:center}.free-print-preview.theme-government th:not(:first-child),.free-print-preview.theme-government td:not(:first-child){text-align:inherit}.theme-government .gov-summary td:first-child{font-weight:700}.free-print-preview.theme-government footer{margin-top:26px;padding-top:0;border:0;color:#000;text-align:left}.free-print-preview.theme-government footer small{display:block;margin-top:64px;border-top:3px double #000;padding-top:3px;text-align:center;font-size:8px}

/* Preserve the selected physical page proportions in free-template previews. */
.free-print-preview-shell{max-height:72vh;align-items:start}
.free-print-preview.page-a4{width:720px;min-height:1018px}
.free-print-preview.page-a5{width:510px;min-height:720px;padding:30px}
.free-print-preview.page-thermal{width:302px;min-height:760px;padding:18px 14px;font-size:8px}
.free-print-preview.page-thermal header{gap:8px;padding-bottom:7px}.free-print-preview.page-thermal .free-preview-logo{width:34px;height:34px;font-size:15px}.free-print-preview.page-thermal h1{font-size:15px}.free-print-preview.page-thermal h2{margin:9px 0 7px;font-size:14px}.free-print-preview.page-thermal .free-preview-meta{grid-template-columns:1fr;gap:2px;margin-bottom:7px}.free-print-preview.page-thermal .free-preview-meta div{padding:3px 0}.free-print-preview.page-thermal th,.free-print-preview.page-thermal td{padding:4px 2px;font-size:7px}.free-print-preview.page-thermal .free-preview-total{width:170px;margin-top:8px;font-size:11px}.free-print-preview.page-thermal footer{margin-top:15px}
.free-print-preview.page-thermal.theme-modern{padding:12px}.free-print-preview.page-thermal.theme-modern header{padding:10px}.free-print-preview.page-thermal.theme-compact{min-height:760px;padding:12px}
@media(max-width:600px){.free-print-preview.page-a4{width:630px;min-height:891px}.free-print-preview.page-a5{width:445px;min-height:630px}}

/* In-app voucher print preview: no browser tab is opened. */
.voucher-print-preview-layer .modal{width:min(1280px,calc(100vw - 28px));height:min(94vh,920px);display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden}
.voucher-print-preview-layer .modal-body{min-height:0;padding:12px;background:#e4e9e7}
.voucher-print-preview{height:100%;overflow:hidden;border:1px solid #d2ddd9;border-radius:10px;background:#737876}
.voucher-print-preview iframe{display:block;width:100%;height:100%;border:0;background:#fff}
.voucher-print-preview-layer .modal-foot{position:static}

/* Compact voucher detail header and actions. */
#modalRoot.mode-voucher-detail .modal-body{padding-top:14px}
.petty-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px}.petty-detail-grid>div{min-width:0}.petty-detail-grid .full{grid-column:1/-1}.petty-detail-grid small{display:block;margin-bottom:6px;color:#667872;font-size:11px}.petty-detail-grid b{display:block;font-size:14px;line-height:1.45;overflow-wrap:anywhere}.petty-detail-grid~.voucher-help{margin-top:20px!important}@media(max-width:560px){.petty-detail-grid{grid-template-columns:1fr;gap:14px}.petty-detail-grid .full{grid-column:auto}}
.report-export-actions{display:inline-flex;align-items:center;gap:4px;flex-wrap:nowrap;margin-left:auto;padding:3px;border:1px solid #d6e5df;border-radius:10px;background:#f3f8f6}.report-export-actions button{appearance:none;border:0;background:transparent;border-radius:7px;padding:8px 11px;color:#224b40;font:700 11px Manrope,Arial,sans-serif;cursor:pointer;white-space:nowrap}.report-export-actions button:hover,.report-export-actions button:focus-visible{background:#e2f1eb;outline:none}@media(max-width:650px){.report-export-actions{width:100%;justify-content:flex-end;margin-left:0}.report-export-actions button{flex:1 1 auto;text-align:center}}
.report-export-overlay{position:fixed;inset:0;z-index:500;background:#0d2721c9;display:grid;place-items:center;padding:20px}.report-export-modal{width:min(1320px,100%);height:min(94vh,1000px);background:#fff;border-radius:16px;box-shadow:0 25px 70px #0005;display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden}.report-export-head,.report-export-foot{display:flex;align-items:center;gap:10px;padding:13px 20px;background:#fff}.report-export-head{justify-content:space-between;border-bottom:1px solid #dbe6e0;font-size:15px}.report-export-head button{border:0;border-radius:8px;background:#edf3f0;font-size:22px;width:32px;height:32px;cursor:pointer}.report-export-foot{justify-content:flex-end;border-top:1px solid #dbe6e0}.report-export-foot span{margin-right:auto;color:#63756c;font-size:11px}.report-export-scroll{overflow:auto;background:#edf4f1;padding:22px}.report-export-sheet{max-width:1100px;min-height:600px;margin:auto;padding:32px 40px;background:#fff;box-shadow:0 2px 16px #14392d1a;color:#182921}.report-export-sheet header{text-align:center;border-bottom:2px solid #244e40;padding-bottom:16px;margin-bottom:22px}.report-export-sheet header h1{font-size:21px;margin:0 0 5px}.report-export-sheet header h2{font-size:17px;margin:14px 0 6px}.report-export-sheet header p{margin:2px 0;color:#45564e;font-size:11px}.report-export-sheet header small{color:#687a71}.report-export-sheet section{margin:0 0 24px}.report-export-sheet section h2{font-size:14px;margin:0 0 9px}.report-export-sheet table{border-collapse:collapse;width:100%;font-size:10px}.report-export-sheet th,.report-export-sheet td{border:1px solid #d4e1da;padding:7px 8px;text-align:left;overflow-wrap:anywhere}.report-export-sheet th{background:#eff6f2}.report-export-sheet tr{break-inside:avoid}@media(max-width:700px){.report-export-overlay{padding:5px}.report-export-modal{height:98vh}.report-export-scroll{padding:10px}.report-export-sheet{padding:20px;min-width:680px}.report-export-foot{flex-wrap:wrap}.report-export-foot span{flex:1 1 100%}}@media print{@page{size:A4 landscape;margin:10mm}body:has(#reportExportPreview)>:not(#reportExportPreview){display:none!important}#reportExportPreview{position:static!important;display:block!important;padding:0!important;background:#fff!important}#reportExportPreview .report-export-modal{display:block!important;width:100%!important;height:auto!important;overflow:visible!important;box-shadow:none!important}#reportExportPreview .report-export-head,#reportExportPreview .report-export-foot{display:none!important}#reportExportPreview .report-export-scroll{display:block!important;overflow:visible!important;padding:0!important;background:#fff!important}#reportExportPreview .report-export-sheet{min-height:0!important;min-width:0!important;max-width:none!important;padding:0!important;box-shadow:none!important}#reportExportPreview table{width:100%!important;min-width:0!important}}
#modalRoot.mode-voucher-detail .form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 24px;margin-bottom:10px}
#modalRoot.mode-voucher-detail .form-grid>div{min-height:0}
#modalRoot.mode-voucher-detail .form-grid p{margin:4px 0 2px;line-height:1.35}
#modalRoot.mode-voucher-detail .form-grid .full{grid-column:auto}
#modalRoot.mode-voucher-detail .voucher-help{margin:0 0 8px;padding:9px 12px}
#modalRoot.mode-voucher-detail .voucher-lines{margin-top:10px}
#modalRoot.mode-voucher-detail .modal-head h2{display:flex;align-items:center;gap:9px}
#modalRoot.mode-voucher-detail .voucher-title-status{display:inline-flex;align-items:center}
#modalRoot.mode-voucher-detail .voucher-title-status .badge{font-size:9px;padding:4px 8px}
#modalRoot.mode-voucher-detail .credit-note-refund{margin-right:auto}
@media(max-width:700px){#modalRoot.mode-voucher-detail .form-grid{grid-template-columns:1fr 1fr}#modalRoot.mode-voucher-detail .form-grid .full{grid-column:1/-1}}

#modalRoot.mode-voucher-detail .credit-summary-footer{flex:0 1 auto;min-width:0;padding:7px 10px;border:1px solid #cfe7de;border-radius:8px;background:#eef8f4;color:#376c5d;font-size:11px;line-height:1.35;text-align:left}
#modalRoot.mode-voucher-detail .credit-note-refund{margin-right:0}
#modalRoot.mode-voucher-detail .print-voucher{margin-left:auto}
@media(max-width:900px){#modalRoot.mode-voucher-detail .modal-foot{flex-wrap:wrap}#modalRoot.mode-voucher-detail .credit-summary-footer{flex:1 1 100%}#modalRoot.mode-voucher-detail .credit-note-refund{margin-right:auto}}

.badge.printed{background:#e7efff;color:#315fa8}
/* Clear customer billing summary */
.billing-plain-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 18px}.billing-plain-summary>div{display:flex;flex-direction:column;gap:5px;padding:18px 20px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 7px 22px rgba(19,56,46,.05)}.billing-plain-summary small{color:var(--muted);font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}.billing-plain-summary strong{font:800 24px Manrope;color:var(--deep)}.billing-plain-summary span{font-size:11px;color:var(--muted)}.billing-help-card{background:#fbfdfc}.billing-steps{margin:0 0 18px;padding-left:22px;color:#52645f;font-size:12px;line-height:1.7}.billing-steps li+li{margin-top:7px}.billing-section-help{margin:-7px 0 13px;font-size:12px}.billing-details-grid+.section-title{margin-top:26px}.my-billing-page .table-card{margin-bottom:22px}@media(max-width:780px){.billing-plain-summary{grid-template-columns:1fr}.billing-plain-summary>div{padding:15px}.billing-plain-summary strong{font-size:21px}}
.customer-billing-menu button.active{background:#0d4539!important;color:#fff!important;box-shadow:0 7px 18px rgba(13,69,57,.2)!important}.customer-billing-menu button.active span,.customer-billing-menu button.active small{color:#fff!important}

/* Keep the Government invoice grid inside both physical preview sizes. */
.free-print-preview.theme-government{overflow:hidden}
.free-print-preview.theme-government table{width:100%!important;max-width:100%;min-width:0!important;table-layout:fixed}
.free-print-preview.theme-government th,.free-print-preview.theme-government td{min-width:0;white-space:normal!important;overflow-wrap:anywhere;word-break:normal;line-height:1.25}
.free-print-preview.theme-government th:nth-child(1){width:13%}
.free-print-preview.theme-government th:nth-child(2){width:35%}
.free-print-preview.theme-government th:nth-child(3){width:12%}
.free-print-preview.theme-government th:nth-child(4){width:16%}
.free-print-preview.theme-government th:nth-child(5){width:24%}
.free-print-preview.theme-government.page-a5{padding:30px;font-size:10px}
.free-print-preview.theme-government.page-a5 th,.free-print-preview.theme-government.page-a5 td{padding:4px 5px;font-size:9px}
.free-print-preview.theme-government.page-a5 h2{margin:12px auto 14px;padding:5px 16px;font-size:16px}
.free-print-preview.theme-government.page-a5 .gov-two,.free-print-preview.theme-government.page-a5 .gov-parties{gap:8px}
.narration-heading{display:flex;align-items:center;gap:8px;margin-bottom:6px;font-size:12px;font-weight:600}.narration-add,.narration-remove{display:inline-flex;align-items:center;justify-content:center;border:1px solid #cbd9d4;background:#edf5f2;color:#0d6654;cursor:pointer}.narration-add{order:-1;width:24px;height:24px;border-radius:7px;font-size:17px;font-weight:700}.narration-lines{display:grid;gap:7px}.narration-line{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;align-items:center}.narration-line:first-child{grid-template-columns:1fr}.narration-remove{width:34px;height:34px;border-radius:8px;color:#ba3f3f;background:#fff0f0;border-color:#f1d1d1;font-size:18px}
.conversion-state{display:inline-block;padding:5px 4px;color:#17705c;font-size:12px;font-weight:700;letter-spacing:.02em;text-transform:uppercase;white-space:nowrap}
.row-actions .conversion-state{order:-1;text-align:right}
.row-actions button[onclick*="convertDeliveryNoteInvoice"]{order:-1}
.transaction-voucher-table tbody td:nth-child(3)>small{display:none!important}
.inventory-table-card table th:nth-child(8),.inventory-table-card table td:nth-child(8),.inventory-table-card table th:nth-child(9),.inventory-table-card table td:nth-child(9){display:none!important}
.inventory-table-card table th:nth-child(8),.inventory-table-card table td:nth-child(8){display:table-cell!important}
.inventory-table-card table th:nth-child(8){font-size:9px!important}
.inventory-table-card table th:nth-child(9),.inventory-table-card table td:nth-child(9){display:table-cell!important}
.inventory-table-card table th:nth-child(9){font-size:9px!important}
.inventory-value-total-row td{background:#f4f8f6!important;border-top:2px solid #cddbd5;font-weight:800}.inventory-value-total-row td:first-child{text-align:right;color:#526961}.inventory-total-value-sum{font-size:14px;color:#123f34}
.toolbar>.auto-filter-reset{margin-left:auto;flex:0 0 auto;white-space:nowrap}.generic-sort-header{position:relative;padding-right:24px!important;cursor:pointer;user-select:none;transition:color .15s ease,background .15s ease}.generic-sort-header:hover{background:#eaf4f0!important;color:#145f4b}.generic-sort-header::after{content:"↕";position:absolute;right:9px;top:50%;transform:translateY(-50%);color:#8a9b95;font-size:12px;font-weight:700;line-height:1}.generic-sort-header.sort-asc::after{content:"↑";color:#0e7558;font-size:14px}.generic-sort-header.sort-desc::after{content:"↓";color:#0e7558;font-size:14px}.generic-sort-header:focus-visible{outline:2px solid #2b9474;outline-offset:-2px}@media(max-width:720px){.toolbar>.auto-filter-reset{margin-left:0;width:100%}}
.product-search-results .keyboard-active,.writeoff-ledger-results .keyboard-active,.top-stock-results .keyboard-active,[role=listbox] .keyboard-active{background:#dff5ed!important;border-color:#218a70!important;box-shadow:inset 3px 0 0 #16745d!important;outline:none!important}
.referral-report-filter{display:flex;align-items:end;gap:9px;flex-wrap:wrap;padding:12px 16px;border-bottom:1px solid var(--line);background:#fbfdfc}.referral-report-filter label{display:grid;gap:4px;min-width:230px;color:#62756e;font-size:10px;font-weight:800;text-transform:uppercase}.referral-report-filter input,.referral-report-filter select{height:36px;margin:0;font-size:12px;text-transform:none}.referral-report-filter button{height:36px}.referral-group-row td{background:#edf6f2!important;color:#174f41}.referral-group-row small{display:block;margin:3px 0 0 30px;color:#668178;font-size:10px}.referral-group-toggle{width:23px;height:23px;margin-right:7px;border:0;border-radius:6px;background:#d5ebe2;color:#145e4b;font-size:16px;font-weight:800;line-height:1;cursor:pointer}.referral-invoice-row td:first-child{padding-left:32px!important}.referral-invoice-row .muted{font-size:11px}@media(max-width:720px){.referral-report-filter label{flex:1 1 100%}.referral-report-filter button{flex:1}}
.referral-report-filter{align-items:flex-end;padding:10px 14px;gap:8px}.referral-search-field{min-width:280px!important}.referral-search-field span{font-size:9px;letter-spacing:.08em}.referral-picker{position:relative;min-width:235px}.referral-picker summary{height:36px;display:flex;align-items:center;padding:0 31px 0 11px;border:1px solid #d4e1dc;border-radius:8px;background:#fff;color:#263e35;font-size:12px;font-weight:700;list-style:none;cursor:pointer;position:relative;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.referral-picker summary::-webkit-details-marker{display:none}.referral-picker summary:after{content:"⌄";position:absolute;right:11px;color:#59746a;font-size:15px}.referral-picker[open] summary{border-color:#2e9e78;box-shadow:0 0 0 2px #2e9e7818}.referral-picker-options{position:absolute;z-index:24;top:42px;left:0;width:100%;max-height:250px;overflow:auto;padding:5px;border:1px solid #cbdad4;border-radius:9px;background:#fff;box-shadow:0 12px 24px #173f3522}.referral-picker-options button{display:block!important;width:100%;height:auto!important;min-height:31px;padding:7px 9px;border:0!important;border-radius:6px!important;background:transparent!important;color:#243b33!important;text-align:left;font-size:11px!important;font-weight:700}.referral-picker-options button:hover,.referral-picker-options button.active{background:#eaf6f1!important;color:#126348!important}.referral-print{height:36px!important;padding:0 13px!important;font-size:11px!important}.referral-report-filter button:disabled{opacity:.45;cursor:not-allowed}@media(max-width:720px){.referral-search-field,.referral-picker{flex:1 1 100%;min-width:0!important}.referral-report-filter .referral-print{flex:1}}
.referral-combobox-field{display:grid;gap:5px;flex:0 1 430px;width:430px;min-width:320px}.referral-combobox-field>span{color:#62756e;font-size:9px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.referral-combobox{width:100%;position:relative}.referral-combobox>input{display:block;width:100%!important;box-sizing:border-box;height:38px!important;margin:0!important;padding:0 40px 0 12px!important;border:1px solid #cddbd5!important;border-radius:9px!important;background:#fff!important;color:#203a31;font-size:12px!important}.referral-combobox>input:focus{border-color:#238b6c!important;box-shadow:0 0 0 3px rgba(35,139,108,.12)!important;outline:0}.referral-search-clear{position:absolute;z-index:3;right:6px;top:6px;width:26px!important;height:26px!important;padding:0!important;border:0!important;border-radius:7px!important;background:#edf4f1!important;color:#42665b!important;font-size:16px!important;line-height:1!important}.referral-search-clear:hover{background:#dfeee8!important;color:#145b47!important}.referral-search-results{top:43px!important;left:0!important;right:0!important;max-height:270px!important;z-index:30!important}.referral-search-results button.selected{background:#e9f6f1!important;color:#126348!important}.referral-search-results small{display:block!important;margin-top:2px!important}.referral-report-filter>.referral-print{align-self:end;height:38px!important}.referral-report-filter>#referralPrintAll{margin-left:2px}@media(max-width:720px){.referral-combobox-field{flex:1 1 100%;width:100%;min-width:0}.referral-report-filter>.referral-print{flex:1 1 calc(50% - 4px)}}
@media print{.content>.page-head,.report-workspace>.toolbar,.report-workspace>#customTaxBuilder,.referral-report-head{display:none!important}.report-workspace{border:0!important;box-shadow:none!important}.report-workspace>#reportResult{border:0!important}}
.subscription-change-approvals{margin:14px 0}.subscription-change-approvals td small{display:block;margin-top:3px;color:var(--muted)}.subscription-change-pending{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:12px 0;padding:13px 15px;border:1px solid #e5d6a8;border-radius:10px;background:#fff9e9;color:#725715}.subscription-change-pending b{font-size:12px}.subscription-change-pending span{font-size:11px}.available-plan-head p{margin:5px 0 0;color:var(--muted);font-size:11px}@media(max-width:720px){.subscription-change-pending{align-items:flex-start;flex-direction:column;gap:4px}}
.petty-cash-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.petty-cash-summary>div{border:1px solid var(--line);border-radius:12px;background:#fff;padding:16px}.petty-cash-summary small{display:block;color:var(--muted);font-size:10px;text-transform:uppercase;font-weight:700}.petty-cash-summary strong{display:block;margin-top:5px;font-size:22px;color:var(--deep)}.petty-cash-title{display:flex;flex-direction:column;align-items:center;padding:14px;border-bottom:1px solid var(--line);color:var(--deep)}.petty-cash-title strong{font-size:13px;margin-top:4px;text-decoration:underline}.petty-cash-table{min-width:1450px}.petty-cash-table th,.petty-cash-table td{white-space:normal;vertical-align:middle}.petty-cash-table th:nth-child(n+4),.petty-cash-table td:nth-child(n+4){min-width:115px}.petty-cash-table td:nth-child(3){min-width:300px}.petty-cash-table tfoot th{background:#edf5f1;color:#174c3d}@media(max-width:800px){.petty-cash-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
.petty-category-list{display:grid;gap:9px}.petty-category-map{display:grid;grid-template-columns:minmax(180px,1fr) minmax(240px,1.4fr) 38px;gap:8px;align-items:center}.petty-category-map input,.petty-category-map select{width:100%}.petty-category-map .petty-ledger-combobox,.petty-ledger-combobox .petty-ledger-search{width:100%;min-width:0}@media(max-width:650px){.petty-category-map{grid-template-columns:1fr 42px}.petty-category-map select,.petty-category-map .petty-ledger-combobox{grid-column:1/2}}
.petty-float-row{background:#fbfdfc}.petty-float-row td:first-child,.petty-float-row td:nth-child(4){font-weight:700}.petty-cash-table tfoot tr:not(:first-child) th{background:#fff;border-top:1px solid var(--line)}
.petty-cash-table{table-layout:fixed;min-width:1540px}.petty-cash-table th:nth-child(1),.petty-cash-table td:nth-child(1){width:90px}.petty-cash-table th:nth-child(2),.petty-cash-table td:nth-child(2){width:105px}.petty-cash-table th:nth-child(3),.petty-cash-table td:nth-child(3){width:130px}.petty-cash-table th:nth-child(4),.petty-cash-table td:nth-child(4){width:320px}.petty-cash-table th:nth-child(5),.petty-cash-table td:nth-child(5){width:110px}.petty-cash-table th:nth-child(n+6),.petty-cash-table td:nth-child(n+6){width:120px}.petty-cash-table .petty-description{line-height:1.35;overflow-wrap:anywhere}.petty-cash-table tbody td{padding-top:10px;padding-bottom:10px}.petty-float-row .petty-description{text-transform:uppercase;letter-spacing:.01em}.petty-cash-table th{line-height:1.25}
.petty-cash-table th,.petty-cash-table td{min-width:0!important}
.petty-voucher-link{font-weight:800!important;white-space:nowrap}

/* Advanced footer editor: compact controls and a scaled A4-style live preview. */
#modalRoot.advanced-footer-editor .modal.large{width:min(1240px,96vw);max-width:1240px}
#modalRoot.advanced-footer-editor .modal-body{max-height:calc(100vh - 150px);overflow:auto;padding:22px}
#modalRoot.advanced-footer-editor .advanced-footer-layout{grid-template-columns:minmax(330px,410px) minmax(0,1fr)!important;gap:24px!important;align-items:start}
#modalRoot.advanced-footer-editor .advanced-footer-controls{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;align-content:start}
#modalRoot.advanced-footer-editor .advanced-footer-controls .full{grid-column:1/-1}
#modalRoot.advanced-footer-editor .advanced-footer-controls .advanced-signature-field{grid-column:auto}
#modalRoot.advanced-footer-editor .advanced-footer-controls label:first-child{display:flex;align-items:center;gap:10px;padding:11px 13px;background:#eef8f4;border:1px solid #c9e4d8;border-radius:10px;font-weight:700}
#modalRoot.advanced-footer-editor .advanced-footer-controls input[name=enabled]{width:18px;height:18px;min-width:18px;margin:0;accent-color:#173f35}
#modalRoot.advanced-footer-editor .advanced-footer-controls textarea[name=text]{height:148px;min-height:148px;resize:vertical;font-weight:400;line-height:1.45}
#modalRoot.advanced-footer-editor .advanced-footer-controls .advanced-signature-field input{font-weight:500}
#modalRoot.advanced-footer-editor .advanced-footer-preview-column{position:sticky;top:0;min-width:0}
#modalRoot.advanced-footer-editor .advanced-footer-preview-column>b{display:block;font-size:14px;margin:2px 0 10px}
#modalRoot.advanced-footer-editor .advanced-footer-preview{height:min(68vh,610px);min-height:430px!important;padding:16px!important;background:#eaf1ee!important;border:1px solid #d2e0d9!important;border-radius:12px;overflow:auto}
#modalRoot.advanced-footer-editor .advanced-preview-paper{min-height:100%;background:#fff;border:1px solid #d4ddd8;box-shadow:0 8px 24px #152d2520;padding:22px;display:flex;flex-direction:column;color:#26332f}
#modalRoot.advanced-footer-editor .advanced-preview-top{display:flex;justify-content:space-between;border-bottom:1px solid #ced8d3;padding-bottom:8px;color:#92a19a;font-size:9px;font-weight:700;letter-spacing:.1em}
#modalRoot.advanced-footer-editor .advanced-preview-blank{flex:1;min-height:110px;background:repeating-linear-gradient(to bottom,transparent 0,transparent 34px,#eef2ef 35px);opacity:.55}
#modalRoot.advanced-footer-editor .advanced-preview-content{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(145px,1fr);gap:16px;border-top:1px solid #6e7e76;padding-top:10px;line-height:1.4}
#modalRoot.advanced-footer-editor .advanced-preview-notes h3{margin:0 0 6px;font-size:1.08em}
#modalRoot.advanced-footer-editor .advanced-preview-notes p{margin:3px 0;overflow-wrap:anywhere}
#modalRoot.advanced-footer-editor .advanced-preview-placeholder{color:#98a69e;font-style:italic}
#modalRoot.advanced-footer-editor .advanced-preview-totals{border-left:1px solid #bcc9c1;padding-left:10px}
#modalRoot.advanced-footer-editor .advanced-preview-totals>div{display:flex;justify-content:space-between;gap:10px;padding:3px 0}
#modalRoot.advanced-footer-editor .advanced-preview-net{border-top:1px solid #9eada4;margin-top:4px;font-weight:700}
#modalRoot.advanced-footer-editor .advanced-preview-signatures{display:grid;gap:12px;margin-top:38px}
#modalRoot.advanced-footer-editor .advanced-preview-signatures>div{border-top:1px dotted #62736a;text-align:center;padding-top:5px;font-size:10px;overflow-wrap:anywhere}
#modalRoot.advanced-footer-editor .advanced-preview-disabled{border-top:1px solid #ddd;padding:15px;color:#7c8b83;text-align:center;font-size:12px}
@media(max-width:850px){#modalRoot.advanced-footer-editor .advanced-footer-layout{grid-template-columns:1fr!important}#modalRoot.advanced-footer-editor .advanced-footer-preview-column{position:static}#modalRoot.advanced-footer-editor .advanced-footer-preview{height:390px;min-height:390px!important}}

.petty-cash-tabs{display:inline-flex;align-items:center;gap:4px;width:max-content;max-width:100%;padding:4px;margin:16px 0 12px;border:1px solid #d5e4de;border-radius:12px;background:#eef5f2}
.petty-cash-controls{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:16px 0 12px}.petty-cash-controls .petty-cash-tabs{flex:0 0 auto;margin:0}.petty-cash-control-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-left:auto;flex-wrap:nowrap}.petty-cash-control-actions .btn{white-space:nowrap}@media(max-width:1100px){.petty-cash-controls{flex-wrap:wrap}.petty-cash-control-actions{flex-wrap:wrap}}@media(max-width:600px){.petty-cash-controls{align-items:stretch}.petty-cash-control-actions{width:100%;justify-content:flex-end}.petty-cash-control-actions .btn{flex:0 1 auto}}
.petty-cash-tabs .report-tab{appearance:none;border:0;border-radius:9px;background:transparent;color:#526860;padding:10px 18px;font-family:inherit;font-size:13px;font-weight:700;line-height:1.2;white-space:nowrap;cursor:pointer;transition:background .15s ease,color .15s ease,box-shadow .15s ease}
.petty-cash-tabs .report-tab:hover{background:#e0eee8;color:#173f35}
.petty-cash-tabs .report-tab.active{background:#fff;color:#173f35;box-shadow:0 1px 5px #173f3520}
.petty-cash-tabs .report-tab:focus-visible{outline:2px solid #35aa80;outline-offset:2px}
@media(max-width:480px){.petty-cash-tabs{display:flex;width:100%}.petty-cash-tabs .report-tab{flex:1;text-align:center;padding:10px 8px}}

/* Compact petty cash summary and transaction rows. */
.petty-cash-summary{gap:10px;margin-bottom:10px}
.petty-cash-summary>div{padding:9px 14px;border-radius:10px}
.petty-cash-summary strong{margin-top:2px;font-size:20px;line-height:1.15}
.petty-cash-card .toolbar{padding-top:9px;padding-bottom:9px}
.petty-cash-table thead th{padding-top:7px!important;padding-bottom:7px!important}
.petty-cash-table tbody td{padding-top:5px!important;padding-bottom:5px!important}
.petty-cash-table tfoot th{padding-top:5px!important;padding-bottom:5px!important;line-height:1.15}
.cash-count-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:14px}.cash-count-summary>div{padding:13px 15px;border:1px solid var(--line);border-radius:11px;background:#f7fbf9}.cash-count-summary small,.cash-count-summary strong{display:block}.cash-count-summary small{color:var(--muted);font-size:9px;font-weight:800;text-transform:uppercase}.cash-count-summary strong{margin-top:5px;color:var(--deep);font-size:20px}.cash-count-summary strong.negative{color:#bc4742}.cash-denomination-head,.cash-denomination-row{display:grid;grid-template-columns:110px minmax(120px,1fr) 20px minmax(110px,1fr) minmax(130px,1fr) 36px;align-items:center;gap:8px}.cash-denomination-head{padding:7px 9px;color:var(--muted);font-size:9px;font-weight:800;text-transform:uppercase}.cash-denomination-row{padding:7px 9px;border-top:1px solid var(--line)}.cash-denomination-row input,.cash-denomination-row select{width:100%;height:38px;padding:7px 9px;border:1px solid #d7e0dc;border-radius:8px;background:#fff}.cash-denomination-line{text-align:right;color:var(--deep)}.cash-denomination-list{margin-bottom:10px;border:1px solid var(--line);border-radius:10px;overflow:hidden}.cash-denomination-empty{padding:28px;text-align:center;color:var(--muted)}.cash-count-help{margin-top:14px}@media(max-width:700px){.cash-count-summary{grid-template-columns:1fr}.cash-denomination-head{display:none}.cash-denomination-row{grid-template-columns:90px 1fr 15px 1fr}.cash-denomination-line{grid-column:1/4}.cash-denomination-row .line-remove{grid-column:4;grid-row:2}}
.cash-denomination-modal .modal-head{padding-top:10px;padding-bottom:10px}.cash-denomination-modal .modal-body{padding-top:10px;padding-bottom:10px}.cash-denomination-modal .modal-foot{padding-top:8px;padding-bottom:8px}.cash-denomination-modal .cash-count-summary{gap:8px;margin-bottom:6px}.cash-denomination-modal .cash-count-summary>div{padding:8px 12px;border-radius:9px}.cash-denomination-modal .cash-count-summary strong{margin-top:2px;font-size:18px}.cash-denomination-modal .cash-denomination-head{padding:4px 8px}.cash-denomination-modal .cash-denomination-row{padding:3px 8px;gap:7px}.cash-denomination-modal .cash-denomination-row input,.cash-denomination-modal .cash-denomination-row select{height:30px;padding:3px 8px}.cash-denomination-modal .cash-denomination-row .line-remove{width:30px;height:28px;min-height:0;padding:2px}.cash-denomination-modal .cash-denomination-list{margin-bottom:7px}.cash-denomination-modal .cash-denomination-add{min-height:32px;padding:6px 12px}.cash-denomination-modal .cash-count-help{margin-top:7px;padding:8px 10px}
.cash-denomination-modal .modal-head h2{font-size:16px!important}.cash-denomination-modal .cash-count-summary small{font-size:8px}.cash-denomination-modal .cash-count-summary strong{font-size:16px}.cash-denomination-modal .cash-denomination-row input,.cash-denomination-modal .cash-denomination-row select{font-size:13px}.cash-denomination-modal .cash-denomination-line{font-size:14px}.cash-denomination-modal .cash-denomination-add,.cash-denomination-modal .modal-foot .btn{font-size:12px}.cash-denomination-modal .cash-count-help{font-size:10px}
.po-receipt-history .po-receipt-extra{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:8px;border-top:1px dashed #dfe8e4;color:var(--muted)}
.po-receipt-history .po-receipt-extra .row-actions{display:flex;gap:8px;margin-left:auto}

/* Responsive desktop fit: keep page chrome inside the viewport and confine wide data to its table. */
html,body{max-width:100%;overflow-x:hidden}
.app-shell,.workspace,.content,.page-head,.head-actions,.toolbar,.petty-cash-controls,.petty-cash-control-actions{min-width:0}
.workspace,.content{width:100%;max-width:100%}
.page-head,.head-actions,.toolbar,.petty-cash-controls,.petty-cash-control-actions{flex-wrap:wrap}
.company-picker{min-width:0}.company-picker select{width:auto;max-width:min(290px,38vw);text-overflow:ellipsis}
.table-card,.petty-cash-card,.table-wrap{max-width:100%;min-width:0}
.table-wrap{overflow-x:auto;overscroll-behavior-inline:contain}
.petty-cash-table{width:100%;min-width:max(100%,1100px)}

@media (max-width:1450px) and (min-width:781px){
  .app-shell{grid-template-columns:208px minmax(0,1fr)}
  .sidebar{padding:16px 10px}
  .topbar{padding-inline:16px}
  .content{padding:18px 16px 32px!important}
  .page-head{align-items:flex-start;gap:12px}
  .head-actions{justify-content:flex-end}
  .petty-cash-controls{gap:10px;margin-block:10px}
  .petty-cash-control-actions{gap:6px}
  .petty-cash-control-actions .btn,.head-actions .btn{padding-inline:13px}
  .toolbar input,.toolbar select{min-width:0;max-width:100%}
}

@media (max-height:850px) and (min-width:781px){
  .sidebar{padding-top:12px;padding-bottom:10px}
  .side-brand{height:42px}
  .sidebar nav{margin-top:10px}
  .nav-group{margin:12px 10px 5px}
  .nav-item{padding:7px 10px;margin-block:1px}
  .side-user{padding-top:9px}
  .topbar{height:56px}
  .content{padding-top:14px!important;padding-bottom:24px!important}
  .page-head{margin-bottom:12px!important}
  .page-head h1{font-size:24px!important}
  .stats-grid{margin-bottom:10px!important}
  .stat-card{padding:10px 13px!important}
  .stat-value{font-size:20px!important}
  .petty-cash-summary>div{padding:8px 12px}
  .petty-cash-controls{margin-block:8px}
}

@media (max-width:1350px) and (min-width:781px){
  .app-shell{display:block}
  .workspace{width:100vw!important;max-width:100vw!important}
  .sidebar{position:fixed;left:0;top:0;width:244px;height:100vh;transform:translateX(-105%);transition:transform .2s ease;box-shadow:8px 0 30px #08271f30;pointer-events:none}
  .sidebar.open{transform:translateX(0);pointer-events:auto}
  .menu-btn{display:inline-grid;place-items:center}
  .nav-close{display:inline-grid}
  .content{padding-inline:14px!important}
  .top-stock-search{width:150px}
  .page-head{align-items:flex-start}
  .petty-cash-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
}
.petty-history-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:14px}.petty-history-meta>div{padding:11px 12px;border:1px solid var(--line);border-radius:9px;background:#f7fbf9}.petty-history-meta small,.petty-history-meta b{display:block}.petty-history-meta small{margin-bottom:4px;color:var(--muted);font-size:9px;font-weight:800;text-transform:uppercase}.petty-history-meta b{font-size:12px}.petty-history-detail-table{min-width:760px}.petty-history-categories{margin:12px 2px 0}.petty-history-register td small{display:block;margin-top:3px}@media(max-width:800px){.petty-history-meta{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Petty Cash workspace: reduce unused vertical space without shrinking controls. */
.content:has(.petty-cash-card) .page-head{margin-bottom:7px!important}
.content:has(.petty-cash-card) .page-head h1{margin-bottom:2px!important;line-height:1.08}
.content:has(.petty-cash-card) .page-head p{margin-top:1px!important;line-height:1.25}
.petty-cash-summary{gap:8px!important;margin-bottom:5px!important}
.petty-cash-summary>div{padding:6px 12px!important}
.petty-cash-summary small{font-size:8px;line-height:1.15}
.petty-cash-summary strong{margin-top:2px!important;font-size:18px!important;line-height:1.05}
.petty-cash-controls{gap:8px!important;margin:5px 0 7px!important}
.petty-cash-tabs{padding:3px;margin:0!important;border-radius:10px}
.petty-cash-tabs .report-tab{padding:8px 16px}
.petty-cash-card .toolbar{padding-top:6px!important;padding-bottom:6px!important}

/* Petty Cash control hierarchy and sizing. */
.content:has(.petty-cash-card) .page-head p{font-size:11px!important;color:#71817b}
.petty-cash-summary{grid-template-columns:repeat(4,minmax(150px,1fr))}
.petty-cash-summary>div{min-height:46px;display:flex;flex-direction:column;justify-content:center}
.petty-cash-summary small{font-size:7.5px!important;letter-spacing:.025em}
.petty-cash-summary strong{font-size:17px!important;font-weight:800}
.petty-cash-tabs{min-height:38px}
.petty-cash-tabs .report-tab{min-height:32px;padding:6px 15px;font-size:11px;letter-spacing:.01em}
.petty-cash-control-actions .btn{min-height:38px;padding:8px 15px;font-size:11.5px;gap:6px;border-radius:8px}
.petty-cash-card .toolbar{min-height:48px;gap:7px!important;padding-inline:10px!important}
.petty-cash-card .toolbar .report-date{gap:5px;font-size:8px;letter-spacing:.035em}
.petty-cash-card .toolbar input,.petty-cash-card .toolbar select{height:36px;min-height:36px;padding:7px 10px;border-radius:8px;font-size:11.5px}
.petty-cash-card .toolbar .report-date input{width:220px}
.petty-cash-card .toolbar .search{width:240px;min-width:190px}
.petty-cash-card .toolbar .btn{min-height:36px;height:36px;padding:7px 13px;border-radius:8px;font-size:11px}
.petty-cash-card .toolbar .export-group{min-height:36px}
.petty-cash-card .toolbar .export-group button{min-height:34px;padding:6px 11px;font-size:9.5px}
@media(max-width:1200px){.petty-cash-card .toolbar .report-date input{width:180px}.petty-cash-card .toolbar .search{width:210px}.petty-cash-control-actions .btn{padding-inline:12px}}

/* Keep the desktop navigation anchored while the workspace scrolls. */
@media(min-width:1351px){
  .app-shell{display:block;min-height:100vh}
  .sidebar{position:fixed;inset:0 auto 0 0;width:clamp(228px,16vw,268px);height:100dvh;max-height:100dvh}
  .sidebar nav{min-height:0;overscroll-behavior:contain}
  .workspace{width:calc(100% - var(--active-sidebar-width,clamp(228px,16vw,268px)));min-height:100vh;margin-left:var(--active-sidebar-width,clamp(228px,16vw,268px));transition:width .2s ease,margin-left .2s ease}
}

/* Report preview and print: always fit every column inside the selected sheet. */
.report-export-sheet{width:min(1100px,100%);min-width:0!important}
.report-export-sheet section{width:100%;min-width:0;overflow:hidden}
.report-export-sheet table{width:100%!important;max-width:100%;min-width:0!important;table-layout:fixed}
.report-export-sheet th,.report-export-sheet td{min-width:0!important;padding:6px 5px;overflow-wrap:anywhere;word-break:break-word;white-space:normal;vertical-align:top}
.report-export-sheet thead th{font-size:clamp(7px,.7vw,10px);line-height:1.25}
.report-export-sheet tbody td,.report-export-sheet tfoot th{font-size:clamp(7px,.68vw,10px);line-height:1.3}
.report-export-sheet tfoot th{background:#eef5f2;font-weight:800}
@media print{
  @page{size:landscape;margin:10mm}
  #reportExportPreview .report-export-sheet{width:100%!important}
  #reportExportPreview .report-export-sheet th,#reportExportPreview .report-export-sheet td{font-size:8px!important;padding:4px 3px!important}
}

/* PDC register: keep long action labels visible and present the total as a clear summary row. */
.modal.large.pdc-register-modal{width:min(1460px,calc(100vw - 24px))!important}
.pdc-register-modal .modal-body{overflow-x:auto}
.pdc-register-modal .pdc-register-search{width:min(520px,100%)!important;min-width:300px}
.pdc-register-table{width:100%;min-width:1250px;table-layout:auto}
.pdc-register-table th:last-child,.pdc-register-table td:last-child{min-width:300px}
.pdc-register-table .row-actions{flex-wrap:nowrap;justify-content:flex-start}
.pdc-register-table .pdc-action{min-height:38px;padding:9px 13px!important;font-size:12px!important;white-space:nowrap}
.pdc-register-table tfoot th{border-top:1px solid #cbdad4!important;border-bottom:1px solid #cbdad4!important;background:#f4f8f6!important;padding:9px 10px!important;font-size:11px!important;font-weight:700!important}
.pdc-register-table tfoot .pdc-total-label{text-align:right;color:#61736d;letter-spacing:.06em;text-transform:uppercase}
.pdc-register-table .pdc-register-total{font-size:13px!important;font-weight:700!important;color:#173f35}
.stock-moving-column-tools{display:flex;justify-content:flex-end;margin:0 0 10px;position:relative;z-index:4}.stock-moving-column-tools details{position:relative}.stock-moving-column-tools summary{list-style:none;cursor:pointer;border:1px solid var(--line);background:#f2f7f4;border-radius:9px;padding:9px 14px;font-size:12px;font-weight:700;color:#244b40}.stock-moving-column-tools summary::-webkit-details-marker{display:none}.stock-moving-column-tools summary:after{content:" ▾"}.stock-moving-column-menu{position:absolute;right:0;top:calc(100% + 6px);width:270px;max-height:430px;overflow:auto;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 14px 35px #153a3126;padding:10px;display:grid;gap:3px}.stock-moving-column-menu label{display:flex;align-items:center;gap:8px;padding:7px 8px;border-radius:7px;font-size:12px}.stock-moving-column-menu label:hover{background:#f0f6f3}.stock-moving-column-menu input{width:15px;height:15px}.stock-columns-show-all{margin-top:6px;width:100%}
.stock-moving-report-controls{display:flex;align-items:center;gap:10px;padding:7px 10px;border-bottom:1px solid var(--line)}.stock-moving-report-controls>p{display:flex;align-items:center;gap:12px;margin:0;color:#677970;font-size:10px;white-space:nowrap}.stock-moving-report-controls>p span+span{border-left:1px solid #cad9d3;padding-left:12px;font-weight:700;color:#47645b}.stock-moving-report-controls .stock-moving-column-tools{margin:0 0 0 auto}.stock-moving-report-controls .report-export-actions{margin-left:0}@media(max-width:850px){.stock-moving-report-controls{flex-wrap:wrap}.stock-moving-report-controls>p{flex:1 1 100%;white-space:normal}.stock-moving-report-controls .stock-moving-column-tools{margin-left:0}.stock-moving-report-controls .report-export-actions{width:auto;margin-left:auto}}
.stock-moving-table col.stock-supplier-col{width:120px}
.stock-moving-table th:nth-child(3),.stock-moving-table td:nth-child(3){width:120px!important;min-width:120px!important;max-width:120px!important;text-align:left!important;white-space:normal!important;overflow-wrap:anywhere;line-height:1.25}
.stock-moving-table tbody td:nth-child(n+4){text-align:right;font-variant-numeric:tabular-nums}
.stock-moving-table tbody td:nth-child(4),.stock-moving-table tbody td:nth-child(7),.stock-moving-table tbody td:nth-child(10),.stock-moving-table tbody td:nth-child(13){border-left:2px solid #c8d9d2;text-align:center!important}
.stock-moving-table tbody td:nth-child(5),.stock-moving-table tbody td:nth-child(8),.stock-moving-table tbody td:nth-child(11),.stock-moving-table tbody td:nth-child(14){text-align:center!important}
.stock-moving-table tfoot th{border-left:0!important}.stock-moving-table tfoot th:nth-child(4),.stock-moving-table tfoot th:nth-child(7),.stock-moving-table tfoot th:nth-child(10),.stock-moving-table tfoot th:nth-child(13){border-left:2px solid #a9c7ba!important}.stock-moving-table tfoot th:nth-child(3n+4),.stock-moving-table tfoot th:nth-child(3n+5){text-align:center!important}
.stock-moving-table thead th{position:relative}.stock-column-resizer{position:absolute;top:0;right:-4px;width:9px;height:100%;cursor:col-resize;z-index:8;touch-action:none}.stock-column-resizer:after{content:"";position:absolute;top:20%;bottom:20%;left:4px;width:1px;background:#a9beb5;opacity:.45}.stock-column-resizer:hover:after{width:2px;background:#238266;opacity:1}.stock-columns-auto-fit,.stock-columns-show-all{margin-top:6px;width:100%}
.stock-moving-wrap{background:#fff;border-top:1px solid #d9e5e0}.stock-moving-table{border-collapse:separate;border-spacing:0;color:#263a34;font-size:11px}.stock-moving-table thead tr:first-child th{height:34px;padding-block:8px!important;background:#e9f2ee!important;color:#31594e;border-bottom:1px solid #bfd4cb!important;font-size:9px!important;font-weight:800;letter-spacing:.11em}.stock-moving-table thead tr:nth-child(2) th{height:31px;padding-block:7px!important;background:#f3f8f6!important;color:#60756e;border-bottom:1px solid #cdded7!important;font-size:8px!important;font-weight:800;letter-spacing:.08em}.stock-moving-table thead th[rowspan="2"]{vertical-align:middle;border-bottom:1px solid #bfd4cb!important}.stock-moving-table thead .stock-moving-group{border-left:2px solid #b9d1c7!important;text-align:center}.stock-moving-table tbody td{height:31px;padding:7px 9px!important;border-bottom:1px solid #e5ece9!important;background:#fff;transition:background .12s ease}.stock-moving-table tbody tr:nth-child(even) td{background:#f7faf8}.stock-moving-table tbody tr:hover td{background:#eaf6f1!important}.stock-moving-table tbody td:first-child{color:#183e34;font-weight:800}.stock-moving-table tbody td:nth-child(2){color:#445750}.stock-moving-table tbody td.amount{background:#f3f7f9;font-weight:800;color:#203b34}.stock-moving-table tbody tr:nth-child(even) td.amount{background:#edf3f5}.stock-moving-table tbody tr:hover td.amount{background:#deefe8!important}.stock-moving-table tfoot th{height:38px;padding:9px!important;background:#dfeee8!important;border-top:2px solid #90b8a8!important;border-bottom:1px solid #aac9bc!important;color:#174b3d;font-size:10px!important;font-weight:800!important}.stock-moving-table tfoot th:first-child{text-transform:uppercase;letter-spacing:.1em}.stock-moving-table tfoot .stock-total-value{font-size:11px!important;color:#103d32}.stock-moving-table .generic-sort-header.sort-asc,.stock-moving-table .generic-sort-header.sort-desc{background:#d9ebe4!important;color:#0e664e!important}

/* Inventory moving report: fit every column to the viewport and keep one vertical scroller. */
.workspace:has(.stock-moving-table){height:100dvh;overflow:hidden}.content:has(.stock-moving-table){height:calc(100dvh - 68px);max-height:calc(100dvh - 68px);display:flex;flex-direction:column;overflow:hidden}.content:has(.stock-moving-table)>.page-head{flex:0 0 auto}.report-workspace:has(.stock-moving-table){display:flex;flex:1 1 auto;min-height:0;flex-direction:column;overflow:hidden}.report-workspace:has(.stock-moving-table)>.toolbar{flex:0 0 auto}.report-workspace:has(.stock-moving-table)>#reportResult{display:flex;flex:1 1 auto;min-height:0;flex-direction:column;overflow:hidden}.report-workspace:has(.stock-moving-table) #reportResult>.financial-report-head,.report-workspace:has(.stock-moving-table) #reportResult>.stock-moving-report-controls{flex:0 0 auto}.stock-moving-wrap{flex:1 1 auto;min-height:0;max-width:100%;overflow-x:hidden!important;overflow-y:auto!important;scrollbar-gutter:stable}.stock-moving-table{width:100%!important;min-width:0!important;max-width:100%!important;table-layout:fixed}.stock-moving-table col{width:auto!important}.stock-moving-table col:nth-child(1){width:12%!important}.stock-moving-table col:nth-child(2){width:17%!important}.stock-moving-table col:nth-child(3){width:12%!important}.stock-moving-table col:nth-child(n+4){width:4.91%!important}.stock-moving-table th,.stock-moving-table td{min-width:0!important;max-width:none!important;padding-left:5px!important;padding-right:5px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap!important}.stock-moving-table th{font-size:7.5px!important}.stock-moving-table td{font-size:9px!important}.stock-moving-table th:nth-child(3),.stock-moving-table td:nth-child(3){width:auto!important;min-width:0!important;max-width:none!important;white-space:nowrap!important}.stock-moving-table thead{position:sticky;top:0;z-index:3}.stock-moving-table tfoot{position:sticky;bottom:0;z-index:3}.stock-moving-table .generic-sort-header{padding-right:16px!important}.stock-moving-table .generic-sort-header::after{right:4px}.stock-moving-table .stock-column-resizer{display:none}.stock-moving-table tbody td:nth-child(4),.stock-moving-table tbody td:nth-child(7),.stock-moving-table tbody td:nth-child(10),.stock-moving-table tbody td:nth-child(13),.stock-moving-table tfoot th:nth-child(4),.stock-moving-table tfoot th:nth-child(7),.stock-moving-table tfoot th:nth-child(10),.stock-moving-table tfoot th:nth-child(13){border-left-width:1px!important}@media(max-height:850px) and (min-width:781px){.content:has(.stock-moving-table){height:calc(100dvh - 56px);max-height:calc(100dvh - 56px)}}@media(max-width:780px){.workspace:has(.stock-moving-table){height:100dvh}.content:has(.stock-moving-table){height:calc(100dvh - 68px);max-height:calc(100dvh - 68px)}}
.content:has(.stock-moving-table){padding-bottom:6px!important}.stock-moving-table thead{position:static}.stock-moving-table thead th{position:sticky!important;z-index:5}.stock-moving-table thead tr:first-child th{top:0}.stock-moving-table thead tr:nth-child(2) th{top:34px;z-index:6}.stock-moving-table thead tr:first-child th[rowspan="2"]{top:0;z-index:7}.stock-moving-table tfoot{position:static}.stock-moving-table tfoot th{position:sticky;bottom:0;z-index:5}
.stock-moving-report-controls{position:relative;z-index:20;min-height:46px;background:#fbfdfc}.stock-moving-report-controls>h3{flex:0 0 auto;margin:0 14px 0 0;color:#1c342d;font:700 14px Manrope,sans-serif;white-space:nowrap}.stock-moving-report-controls>.stock-moving-column-tools{position:relative;z-index:22}.stock-moving-report-controls .stock-moving-column-menu{z-index:30}.stock-moving-report-controls+.stock-moving-wrap{position:relative;z-index:1}@media(max-width:1050px){.stock-moving-report-controls{flex-wrap:wrap}.stock-moving-report-controls>h3{flex:1 1 auto}.stock-moving-report-controls>p{order:3;flex:1 1 100%}}

/* Outbound/inbound payment form: balanced three-column layout. */
#modalRoot.mode-cash .modal.large{width:min(1220px,calc(100vw - 24px))!important}#modalRoot.mode-cash .form-grid,#modalRoot.mode-cash .transaction-form-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px 12px!important}#modalRoot.mode-cash .payment-entry-selector{margin-bottom:10px;padding:10px 12px;border:1px solid #d4e3dd;border-radius:11px;background:#f3f8f6}#modalRoot.mode-cash .voucher-date-field,#modalRoot.mode-cash .party-field,#modalRoot.mode-cash .settlement-field,#modalRoot.mode-cash .cheque-field{margin-top:0!important}#modalRoot.mode-cash.show-cheque .cheque-field{display:block!important}#modalRoot.mode-cash .allocation-invoices{margin-top:4px!important}#modalRoot.mode-cash .narration-field{margin-top:2px;padding-top:2px;border-top:1px solid #e2ebe7}@media(max-width:900px){#modalRoot.mode-cash .form-grid,#modalRoot.mode-cash .transaction-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media(max-width:600px){#modalRoot.mode-cash .form-grid,#modalRoot.mode-cash .transaction-form-grid{grid-template-columns:1fr!important}}
#modalRoot.mode-cash .party-field .contact-combobox{margin-top:0!important}
.reconciliation-print{width:34px!important;height:34px!important;padding:7px!important}.reconciliation-print svg{display:block;width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.row-actions>button[onclick^="viewBankReconciliation"]{order:1}.row-actions>button[onclick^="reopenBankReconciliation"]{order:2}.row-actions>.reconciliation-print{order:3}.row-actions>button[onclick^="openEditBankReconciliation"]{order:4}.row-actions>button[onclick^="openDeleteBankReconciliation"]{order:5}
.reconciliation-print-backdrop{padding:24px!important}.reconciliation-print-modal{display:flex!important;flex-direction:column;width:min(1120px,calc(100vw - 48px))!important;height:min(92vh,920px)!important;max-height:92vh!important;overflow:hidden!important}.reconciliation-print-modal>.modal-head{flex:0 0 auto}.reconciliation-print-modal>.modal-body{flex:1 1 auto;min-height:0;padding:0!important;overflow:hidden!important;background:#e7ecea}.reconciliation-report-frame{display:block;width:100%;height:100%;border:0;background:#e7ecea}@media(max-width:700px){.reconciliation-print-backdrop{padding:8px!important}.reconciliation-print-modal{width:calc(100vw - 16px)!important;height:calc(100vh - 16px)!important;max-height:calc(100vh - 16px)!important}}
.reconciliation-print-modal>.modal-foot{flex:0 0 auto}
.unified-reconciliation-table .action-heading{min-width:92px;text-align:center}.uncheck-all-reconciliation{border:1px solid #b9d2c9;border-radius:7px;padding:6px 9px;background:#fff;color:#155746;font:600 10px/1.1 inherit;white-space:nowrap;cursor:pointer}.uncheck-all-reconciliation:hover{background:#eaf5f1}.uncheck-all-reconciliation:disabled{opacity:.55;cursor:wait}
.statement-amount-table .statement-tree-toggle{border:0;border-radius:50%;background:#4d5d57;color:#fff;width:20px;height:20px;flex-basis:20px}.statement-amount-table .statement-tree-toggle:hover,.statement-amount-table .statement-tree-toggle:focus{background:#17664e;color:#fff}.statement-amount-table .statement-account-header td{background:#f2f7f5!important}.statement-amount-table .statement-account-header .statement-account-name>b{font-weight:750;letter-spacing:.01em}
.financial-report-head.compact-report-title{position:relative}.financial-tree-controls{display:flex;align-items:center;gap:6px;margin-left:12px}.financial-tree-controls button{display:inline-grid;place-items:center;width:25px;height:25px;padding:0;border:1px solid #a9c9bd;border-radius:7px;background:#fff;color:#155e49;font:800 17px/1 Manrope;cursor:pointer}.financial-tree-controls button:hover,.financial-tree-controls button:focus{background:#17664e;border-color:#17664e;color:#fff;outline:none}.financial-report-head.compact-report-title:has(.financial-tree-controls){display:flex!important;align-items:center;justify-content:space-between}
.report-export-sheet.report-export-portrait{width:210mm;max-width:210mm;min-height:297mm;box-sizing:border-box;padding:14mm 15mm}.report-export-sheet.report-export-landscape{width:297mm;max-width:297mm;min-height:210mm;box-sizing:border-box;padding:12mm 14mm}.report-export-sheet .report-export-meta{display:flex;justify-content:space-between;gap:18px;margin-top:12px;color:#52665e;font-size:9px;text-align:left}.report-export-sheet .report-export-meta span:last-child{white-space:nowrap}.report-export-sheet section{margin:0 0 14px}.report-export-sheet section h2{margin:0;padding:7px 9px;border:1px solid #cadad3;border-bottom:0;background:#eaf3ef;color:#174f3d;font-size:11px;text-transform:uppercase;letter-spacing:.08em}.report-export-sheet th{color:#405a50;font-size:8px;text-transform:uppercase;letter-spacing:.07em}.report-export-sheet td{font-size:9px}.report-export-sheet th:last-child,.report-export-sheet td:last-child{text-align:right;font-variant-numeric:tabular-nums}.report-export-sheet td:nth-child(2){white-space:pre-wrap}.report-export-sheet tfoot th{background:#f4f8f6;color:#172a24;font-size:9px}.report-export-document-foot{display:flex;justify-content:space-between;gap:20px;margin-top:18px;padding-top:8px;border-top:1px solid #cad8d2;color:#708078;font-size:8px}@media print{@page report-portrait{size:A4 portrait;margin:0}@page report-landscape{size:A4 landscape;margin:0}.report-export-sheet.report-export-portrait{page:report-portrait;width:210mm!important;min-height:297mm!important;padding:14mm 15mm!important}.report-export-sheet.report-export-landscape{page:report-landscape;width:297mm!important;min-height:210mm!important;padding:12mm 14mm!important}.report-export-sheet thead{display:table-header-group}.report-export-sheet tfoot{display:table-row-group}.report-export-sheet section{break-inside:auto}.report-export-document-foot{break-inside:avoid}}
.statement-amount-table tbody td:last-child,.statement-section .statement-total strong,#reportResult>.statement-total strong{font-family:Manrope,Arial,sans-serif!important;font-size:12px!important;font-weight:700!important;line-height:1.35!important;font-variant-numeric:tabular-nums lining-nums!important;font-feature-settings:"tnum" 1,"lnum" 1!important;letter-spacing:0!important}.statement-amount-table .statement-parent-account td:last-child{font-size:12px!important;font-weight:700!important}
.statement-amount-table .statement-code-col{width:12%!important}.statement-amount-table .statement-account-col{width:70%!important}.statement-amount-table .statement-value-col{width:18%!important}.statement-section .statement-total,#reportResult>.statement-total{grid-template-columns:12% 70% 18%!important}.report-export-sheet section table:has(thead th:nth-child(3):last-child){table-layout:fixed;font-size:10.5pt}.report-export-sheet section table:has(thead th:nth-child(3):last-child) th:first-child,.report-export-sheet section table:has(thead th:nth-child(3):last-child) td:first-child{width:10%}.report-export-sheet section table:has(thead th:nth-child(3):last-child) th:nth-child(2),.report-export-sheet section table:has(thead th:nth-child(3):last-child) td:nth-child(2){width:66%}.report-export-sheet section table:has(thead th:nth-child(3):last-child) th:last-child,.report-export-sheet section table:has(thead th:nth-child(3):last-child) td:last-child{width:24%;text-align:right!important}.report-export-sheet section table:has(thead th:nth-child(3):last-child) td{font-size:10.5pt!important}
.statement-section .statement-total span,#reportResult>.statement-total span,.statement-section .statement-total strong,#reportResult>.statement-total strong{font-family:Manrope,Arial,sans-serif!important;font-size:14px!important;font-weight:700!important;line-height:1.35!important}.report-export-sheet tfoot th{font-size:11px!important;font-weight:700!important}
.statement-amount-table.statement-two-amounts .statement-code-col{width:12%!important}.statement-amount-table.statement-two-amounts .statement-account-col{width:62%!important}.statement-amount-table.statement-two-amounts .statement-value-col,.statement-amount-table.statement-two-amounts .statement-total-col{width:13%!important}.statement-two-column.statement-total{grid-template-columns:12% 62% 13% 13%!important}.statement-amount-table.statement-two-amounts{width:100%!important;max-width:100%!important;table-layout:fixed!important}.statement-amount-table.statement-two-amounts th,.statement-amount-table.statement-two-amounts td{box-sizing:border-box;min-width:0}.statement-amount-table.statement-two-amounts th:nth-last-child(-n+2),.statement-amount-table.statement-two-amounts td:nth-last-child(-n+2){text-align:right}
.statement-amount-table.statement-two-amounts .statement-code-col{width:12%!important}.statement-amount-table.statement-two-amounts .statement-account-col{width:56%!important}.statement-amount-table.statement-two-amounts .statement-value-col,.statement-amount-table.statement-two-amounts .statement-total-col{width:16%!important}.statement-two-column.statement-total{grid-template-columns:12% 56% 16% 16%!important;gap:0!important;box-sizing:border-box;width:100%;max-width:100%;min-width:0}.statement-section .statement-total,#reportResult>.statement-total{gap:0!important;box-sizing:border-box;width:100%;max-width:100%;min-width:0}.statement-section .statement-total span,#reportResult>.statement-total span,.statement-section .statement-total strong,#reportResult>.statement-total strong{box-sizing:border-box;min-width:0;max-width:100%}.statement-two-column.statement-total strong{justify-self:stretch;width:100%;padding-right:0;text-align:right;white-space:nowrap}
.statement-amount-table.statement-two-amounts .statement-deduction-value,.statement-two-column.statement-total .statement-deduction-value{color:inherit!important}
#reportResult>.statement-total.statement-two-column{grid-template-columns:12% 56% 16% 16%!important;gap:0!important;box-sizing:border-box;width:100%;max-width:100%;min-width:0}#reportResult>.statement-total.statement-two-column>span{grid-column:2!important;min-width:0;padding-right:28px;text-align:right}#reportResult>.statement-total.statement-two-column>strong{grid-column:4!important;justify-self:stretch;width:100%;min-width:0;padding-right:0;text-align:right;white-space:nowrap}#reportResult>.statement-total.statement-two-column.statement-deduction>strong{grid-column:3!important}
.statement-section .statement-total.statement-two-column.statement-less-total>strong{grid-column:4!important;color:inherit!important}
/* POS Base add-in */
.pos-hero{display:flex;justify-content:space-between;gap:24px;align-items:center;padding:26px 28px;margin-bottom:18px;border-radius:18px;background:linear-gradient(135deg,#123d34,#1d6a57);color:#fff;box-shadow:0 12px 30px rgba(18,61,52,.16)}
.pos-hero h2{margin:6px 0;font-size:26px}.pos-hero p{margin:0;color:#d9eee8}.pos-hero>div>span{font-size:11px;font-weight:800;letter-spacing:.14em;color:#9fe0cf}
.pos-shift-state{min-width:230px;padding:16px 18px;border:1px solid rgba(255,255,255,.22);border-radius:14px;background:rgba(0,0,0,.12);display:grid;gap:3px}.pos-shift-state b{font-size:21px}.pos-shift-state span{font-size:12px;color:#d9eee8}.pos-shift-state.open{background:rgba(57,190,142,.2)}
.pos-stats{margin-bottom:18px}.pos-setup{padding:0 22px 22px}.pos-setup .card-head{margin:0 -22px 20px;padding:18px 22px}.pos-mode-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:22px}.pos-mode-card{position:relative;display:grid;gap:7px;min-height:132px;padding:17px;border:1px solid #d6e4df;border-radius:14px;background:#fbfdfc;cursor:pointer;transition:.18s ease}.pos-mode-card:hover,.pos-mode-card.selected{border-color:#1f8a6c;background:#eef8f4;box-shadow:0 7px 20px rgba(28,105,84,.1)}.pos-mode-card input{position:absolute;right:13px;top:13px}.pos-mode-card b{font-size:15px}.pos-mode-card small{line-height:1.45;color:#687b75}.pos-mode-icon{font-size:24px;color:#176a56}.pos-pack-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px}.pos-pack-grid article{padding:20px;border:1px solid #d9e5e1;border-radius:14px;background:#fff}.pos-pack-grid article span{display:block;color:#1b7a62;font-size:12px;font-weight:800}.pos-pack-grid article b{display:block;margin:8px 0;font-size:15px}.pos-pack-grid article p{margin:0;color:#6d7d78;font-size:13px;line-height:1.5}
@media(max-width:900px){.pos-mode-grid,.pos-pack-grid{grid-template-columns:1fr 1fr}.pos-hero{align-items:flex-start;flex-direction:column}.pos-shift-state{width:100%}}
@media(max-width:580px){.pos-mode-grid,.pos-pack-grid{grid-template-columns:1fr}.pos-setup{padding-left:14px;padding-right:14px}}
.pos-counter{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:18px;min-height:calc(100vh - 190px)}.pos-products,.pos-basket{border:1px solid #d8e4e0;border-radius:16px;background:#fff;overflow:hidden}.pos-counter-toolbar{display:flex;align-items:center;gap:12px;padding:14px;border-bottom:1px solid #deebe7;background:#f7fbf9}.pos-search{display:flex;align-items:center;gap:9px;flex:1;padding:0 13px;border:1px solid #cadbd5;border-radius:11px;background:#fff}.pos-search input{width:100%;height:42px;border:0;outline:0;background:transparent}.pos-session-pill{padding:8px 11px;border-radius:999px;background:#f3f5f4;color:#68746f;font-size:12px;font-weight:700;white-space:nowrap}.pos-session-pill.open{background:#e0f5ec;color:#0d6b50}.pos-product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px;padding:14px;max-height:calc(100vh - 270px);overflow:auto}.pos-product-card{position:relative;display:grid;grid-template-columns:48px 1fr;gap:9px;text-align:left;padding:13px;border:1px solid #dce7e3;border-radius:13px;background:#fff;color:#21302c;cursor:pointer}.pos-product-card:hover{border-color:#22906f;box-shadow:0 6px 16px rgba(22,104,80,.1);transform:translateY(-1px)}.pos-product-image{grid-row:span 2;width:48px;height:48px;display:grid;place-items:center;border-radius:10px;background:#edf6f3;color:#167058;font-size:20px;overflow:hidden}.pos-product-image img{width:100%;height:100%;object-fit:cover}.pos-product-card b,.pos-product-card small{display:block}.pos-product-card small{margin-top:3px;color:#71817c}.pos-product-card strong{grid-column:2;color:#105f4b}.pos-product-card em{position:absolute;right:9px;bottom:9px;font-size:10px;color:#76837f;font-style:normal}.pos-no-products,.pos-empty-cart{display:grid;place-items:center;gap:5px;padding:50px 20px;color:#7a8884;text-align:center}.pos-basket{display:flex;flex-direction:column}.pos-basket-head{display:flex;justify-content:space-between;align-items:center;padding:16px 18px;border-bottom:1px solid #deebe7}.pos-basket-head h3{margin:3px 0 0}.pos-basket-head button{border:0;background:none;color:#b34040;cursor:pointer}.pos-customer{padding:13px 18px;border-bottom:1px solid #edf2f0}.pos-customer select{margin-top:6px}.pos-cart-lines{flex:1;min-height:180px;max-height:calc(100vh - 500px);overflow:auto}.pos-cart-line{display:grid;grid-template-columns:minmax(0,1fr) auto 86px;align-items:center;gap:10px;padding:13px 18px;border-bottom:1px solid #edf2f0}.pos-cart-line small{display:block;color:#77847f}.pos-cart-line>strong{text-align:right}.pos-qty{display:flex;align-items:center;border:1px solid #d4dfdb;border-radius:8px;overflow:hidden}.pos-qty button{width:28px;height:28px;border:0;background:#f2f7f5;cursor:pointer}.pos-qty span{min-width:28px;text-align:center}.pos-cart-totals{padding:13px 18px;border-top:1px solid #dce7e3;background:#f8fbfa}.pos-cart-totals>div{display:flex;justify-content:space-between;padding:4px 0}.pos-cart-totals .total{margin-top:7px;padding-top:10px;border-top:1px solid #ccdcd6;font-size:18px}.pos-payment-methods{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;padding:12px 18px}.pos-payment-methods button{padding:9px 4px;border:1px solid #d5e2de;border-radius:8px;background:#fff}.pos-payment-methods button.selected{border-color:#19785f;background:#e9f7f2;color:#12634f}.pos-pay{margin:0 18px 18px;min-height:46px}.pos-setup .form-grid select{width:100%}
@media(max-width:1050px){.pos-counter{grid-template-columns:1fr}.pos-basket{min-height:520px}.pos-product-grid{max-height:none}}
.pos-product-grid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:14px;align-content:start;padding:18px}
.pos-product-card{display:grid;grid-template-columns:58px minmax(0,1fr);grid-template-rows:auto 1fr auto;column-gap:12px;row-gap:4px;min-height:154px;padding:14px 14px 13px;border-radius:15px;overflow:hidden}
.pos-product-image{grid-column:1;grid-row:1/3;width:58px;height:58px;border-radius:12px}
.pos-product-card>span:nth-child(2){grid-column:2;grid-row:1/3;min-width:0;padding-top:2px}
.pos-product-card>span:nth-child(2) b{font-size:15px;line-height:1.3;overflow-wrap:anywhere}
.pos-product-card>span:nth-child(2) small{margin-top:6px;font-size:11px;line-height:1.35;color:#74847f;overflow-wrap:anywhere}
.pos-product-card strong{grid-column:1/2;grid-row:3;align-self:end;font-size:17px;line-height:1;color:#08624d;white-space:nowrap}
.pos-product-card em{position:static;grid-column:2;grid-row:3;align-self:end;justify-self:end;max-width:100%;padding:4px 7px;border-radius:999px;background:#f0f5f3;color:#65756f;font-size:10px;line-height:1;white-space:nowrap}
.pos-product-card:hover em{background:#dff3eb;color:#17664f}
@media(max-width:700px){.pos-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:10px}.pos-product-card{grid-template-columns:46px minmax(0,1fr);min-height:142px;padding:11px}.pos-product-image{width:46px;height:46px}.pos-product-card strong{font-size:15px}}
@media(max-width:430px){.pos-product-grid{grid-template-columns:1fr}.pos-product-card{min-height:125px}}
.pos-customer{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px}.pos-customer-search{width:100%;height:40px;padding:0 12px;border:1px solid #cddbd6;border-radius:9px;background:#fff}.pos-customer-search:focus{outline:0;border-color:#1d8065;box-shadow:0 0 0 3px rgba(29,128,101,.1)}.pos-customer-native{display:none!important}
.custom-bank-ledger .inline-select-action .petty-ledger-combobox{flex:1;min-width:0}.custom-bank-ledger .petty-ledger-search{width:100%;height:50px;padding:0 14px;border:1px solid #c8dad4;border-radius:12px;background:#fff;font-size:15px}.custom-bank-ledger .petty-ledger-search:focus{outline:0;border-color:#14916d;box-shadow:0 0 0 3px rgba(20,145,109,.12)}.custom-bank-ledger .petty-ledger-results{max-height:280px;overflow:auto}.custom-bank-ledger .petty-ledger-results button{padding:11px 13px}
.pos-basket>.pos-payment-methods{display:none}.pos-payment-popup{display:grid;gap:18px}.pos-payment-total{display:flex;justify-content:space-between;align-items:center;padding:18px;border-radius:14px;background:#edf8f4}.pos-payment-total small{font-weight:800;letter-spacing:.1em;color:#54736a}.pos-payment-total strong{font-size:27px;color:#0c654f}.pos-payment-popup fieldset{margin:0;padding:0;border:0}.pos-payment-popup legend{margin-bottom:9px;font-weight:700}.pos-popup-methods{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.pos-popup-methods label{position:relative}.pos-popup-methods input{position:absolute;opacity:0}.pos-popup-methods span{display:grid;place-items:center;min-height:48px;border:1px solid #cddbd6;border-radius:10px;background:#fff;cursor:pointer}.pos-popup-methods input:checked+span{border-color:#118261;background:#e8f7f1;color:#096149;font-weight:700;box-shadow:0 0 0 2px rgba(17,130,97,.1)}.pos-payment-popup>label{display:grid;gap:7px;font-weight:700}.pos-payment-popup>label input{height:50px;font-size:18px;font-weight:700;text-align:right}.pos-payment-balance{display:flex;justify-content:space-between;align-items:center;padding-top:14px;border-top:1px solid #dce6e2}.pos-payment-balance strong{font-size:22px;color:#0b6b53}
.pos-close-summary{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;padding:16px;border-radius:12px;background:#edf8f4}.pos-close-summary strong{font-size:22px;color:#0b6b53}
.pos-payment-popup.professional{gap:20px}.pos-payment-popup.professional .pos-payment-total{padding:20px 22px}.pos-payment-total>div{display:grid;gap:4px}.pos-payment-total>div span{font-size:13px;color:#688078}.pos-payment-popup.professional .pos-popup-methods span{grid-template-columns:32px 1fr;grid-template-rows:auto auto;place-items:initial;align-items:center;min-height:66px;padding:10px 12px;text-align:left}.pos-popup-methods span i{grid-row:1/3;display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#eff5f3;color:#176c56;font-style:normal}.pos-popup-methods span b{font-size:14px}.pos-popup-methods span small{font-size:10px;color:#71817c}.pos-payment-fields{display:grid;gap:13px}.pos-payment-fields label{display:grid;gap:7px}.pos-payment-fields label>span{font-weight:700}.pos-payment-fields input{height:50px;padding:0 13px;border:1px solid #cbd9d4;border-radius:10px;font-size:16px}.pos-payment-fields input:focus{outline:0;border-color:#178165;box-shadow:0 0 0 3px rgba(23,129,101,.11)}.pos-payment-fields small{color:#71817c}.pos-card-reference input{font-size:22px!important;letter-spacing:.35em;font-weight:800}.pos-payment-popup.professional .pos-payment-balance{padding:15px 17px;border:0;border-radius:11px;background:#f6f9f8}.pos-payment-popup.professional .pos-payment-balance strong{font-size:25px}
.pos-shift-float{display:grid;gap:1px;min-width:105px;padding:7px 12px;border:1px solid #d5e4df;border-radius:10px;background:#fff}.pos-shift-float small{font-size:9px;text-transform:uppercase;letter-spacing:.08em;color:#71817c}.pos-shift-float b{font-size:14px;color:#125f4c}.pos-history-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:15px}.pos-history-summary>div{display:grid;gap:5px;padding:14px;border:1px solid #dce7e3;border-radius:12px;background:#f8fbfa}.pos-history-summary small{font-size:9px;letter-spacing:.1em;color:#70817b}.pos-history-summary strong{font-size:18px}.pos-history-table td small{display:block;margin-top:4px;color:#74827e}.pos-history-table .row-actions{justify-content:flex-end}@media(max-width:700px){.pos-history-summary{grid-template-columns:1fr}.pos-shift-float{display:none}}
.retail-pos-shell{margin:-8px;min-height:calc(100vh - 92px);border:1px solid #ccdcd6;border-radius:16px;background:#eef4f1;overflow:hidden}.retail-pos-topbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 16px;background:#263a35;color:#fff}.retail-pos-topbar>div:first-child{display:flex;align-items:center;gap:10px}.retail-pos-brand{display:grid;place-items:center;width:48px;height:34px;border-radius:8px;background:#9dc72d;color:#17332b;font-size:14px;font-weight:900}.retail-pos-topbar small{color:#b9c8c3}.retail-pos-top-actions{display:flex;align-items:center;gap:8px}.retail-pos-top-actions button{min-height:36px;padding:0 13px;border:1px solid #52645f;border-radius:8px;background:#344a44;color:#fff;font-weight:700;cursor:pointer}.retail-pos-top-actions button.primary{border-color:#9dc72d;background:#9dc72d;color:#1d332c}.retail-pos-workspace{display:grid;grid-template-columns:minmax(350px,39%) minmax(0,61%);min-height:calc(100vh - 150px);background:#fff}.retail-pos-sale{border:0;border-right:1px solid #cedbd6;border-radius:0}.retail-pos-searches{padding:12px 14px;border-bottom:1px solid #dce7e3;background:#f7faf9}.retail-pos-searches .pos-customer{display:block;padding:0;border:0}.retail-pos-searches .pos-customer>span{display:none}.retail-pos-searches .pos-customer-search{height:42px}.retail-cart-heading{display:grid;grid-template-columns:1fr 80px 90px;gap:8px;padding:9px 18px;background:#edf3f1;color:#50645e;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.retail-cart-heading span:nth-child(n+2){text-align:right}.retail-pos-sale .pos-cart-lines{min-height:260px;max-height:calc(100vh - 465px)}.retail-pos-sale .pos-cart-totals{margin-top:auto;background:#fff}.retail-pos-sale .pos-cart-totals .total{font-size:23px}.retail-pos-products{display:grid;grid-template-rows:auto minmax(260px,1fr) auto;border:0;border-radius:0;background:#eef4f1}.retail-pos-products .pos-counter-toolbar{padding:11px 12px;background:#fff}.retail-add-item{width:48px;height:44px;border:0;border-radius:8px;background:#a6cc2c;color:#1c352d;font-size:28px;cursor:pointer}.retail-pos-products .pos-product-grid{grid-template-columns:repeat(auto-fill,minmax(128px,1fr));gap:8px;align-content:start;max-height:calc(100vh - 405px);padding:10px;background:#eef4f1}.retail-pos-products .pos-product-card{display:grid;grid-template-columns:1fr;grid-template-rows:80px auto auto auto;gap:4px;min-height:174px;padding:0 0 9px;border:1px solid #bdd4cc;border-radius:8px;background:#fff;text-align:center;overflow:hidden}.retail-pos-products .pos-product-image{grid-column:1;grid-row:1;width:100%;height:80px;border-radius:0;background:#d8edf4;font-size:25px}.retail-pos-products .pos-product-card>span:nth-child(2){grid-column:1;grid-row:2;padding:5px 7px 0}.retail-pos-products .pos-product-card>span:nth-child(2) b{font-size:12px}.retail-pos-products .pos-product-card>span:nth-child(2) small{margin-top:2px;font-size:9px}.retail-pos-products .pos-product-card strong{grid-column:1;grid-row:3;color:#153c32;font-size:15px}.retail-pos-products .pos-product-card em{grid-column:1;grid-row:4;justify-self:center;padding:3px 7px}.retail-pos-actions{display:grid;grid-template-columns:repeat(4,minmax(90px,1fr));grid-auto-rows:74px;gap:7px;padding:9px;border-top:1px solid #c8d9d3;background:#dfeae6}.retail-pos-actions button{display:grid;place-items:center;align-content:center;gap:5px;border:0;border-radius:7px;background:#55a8c8;color:#15313a;cursor:pointer}.retail-pos-actions button span{font-size:21px}.retail-pos-actions button b{font-size:11px}.retail-pos-actions .retail-void{background:#ee555b;color:#fff}.retail-pos-actions .retail-pay{grid-column:span 3;background:#a6cc2c;color:#1e332d}.retail-pos-actions .retail-pay b{font-size:20px}.retail-pos-actions button:disabled{filter:grayscale(.6);opacity:.55;cursor:not-allowed}@media(max-width:1100px){.retail-pos-workspace{grid-template-columns:1fr}.retail-pos-sale{border-right:0;border-bottom:1px solid #cedbd6;min-height:520px}.retail-pos-products .pos-product-grid{max-height:none}.retail-pos-topbar{align-items:flex-start}.retail-pos-top-actions{flex-wrap:wrap;justify-content:flex-end}}@media(max-width:650px){.retail-pos-topbar{display:grid}.retail-pos-top-actions{justify-content:flex-start}.retail-pos-actions{grid-template-columns:repeat(2,1fr)}.retail-pos-actions .retail-pay{grid-column:span 2}.retail-pos-products .pos-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.pos-work-panel{min-height:0;overflow:auto}.pos-inline-editor,.pos-stock-panel{margin:12px;border:1px solid #cbdcd6;border-radius:12px;background:#fff;overflow:hidden}.pos-panel-head{display:flex;align-items:center;justify-content:space-between;padding:15px 17px;border-bottom:1px solid #dce7e3;background:#f5faf8}.pos-panel-head small{font-size:9px;font-weight:800;letter-spacing:.12em;color:#527168}.pos-panel-head h3{margin:3px 0 0}.pos-panel-head>button{width:34px;height:34px;border:0;border-radius:8px;background:#e8efec;font-size:20px;cursor:pointer}.pos-inline-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;padding:18px}.pos-inline-form label{display:grid;gap:6px;font-size:12px;font-weight:700}.pos-inline-form label.wide{grid-column:1/-1}.pos-inline-form input{height:43px;padding:0 12px;border:1px solid #cbd9d4;border-radius:8px}.pos-inline-form input:focus{outline:0;border-color:#168365;box-shadow:0 0 0 3px rgba(22,131,101,.1)}.pos-inline-actions{display:flex;justify-content:flex-end;gap:9px;padding:13px 18px;border-top:1px solid #e1e9e6}.pos-inline-actions button{min-height:40px;padding:0 17px;border:1px solid #cbd8d4;border-radius:8px;background:#fff;font-weight:700;cursor:pointer}.pos-inline-actions button[type=submit]{border-color:#143f34;background:#143f34;color:#fff}.pos-stock-list{max-height:calc(100vh - 340px);overflow:auto}.pos-stock-row{display:grid;grid-template-columns:minmax(170px,1fr) 90px 110px 65px;align-items:center;gap:12px;padding:12px 16px;border-bottom:1px solid #e3ebe8}.pos-stock-row.heading{position:sticky;top:0;background:#edf4f1;color:#526a62;font-size:10px;font-weight:800;text-transform:uppercase}.pos-stock-row small{display:block;margin-top:3px;color:#70817b}.pos-stock-row>button{padding:7px;border:1px solid #bad2ca;border-radius:7px;background:#fff;color:#12644f;cursor:pointer}.pos-history-inline{display:grid;grid-template-columns:minmax(180px,1fr) 90px 110px 80px;align-items:center;gap:12px;padding:13px 16px;border-bottom:1px solid #e3ebe8}.pos-history-inline small{display:block;margin-top:3px;color:#70817b}.pos-history-inline strong{text-align:right}.pos-panel-loading{display:grid;place-items:center;min-height:260px;color:#667b74}@media(max-width:650px){.pos-inline-form{grid-template-columns:1fr}.pos-inline-form label.wide{grid-column:auto}.pos-stock-row{grid-template-columns:1fr 65px 85px 55px}.pos-history-inline{grid-template-columns:1fr auto}.pos-history-inline>*:nth-child(2){display:none}}
.pos-history-open{width:100%;border:0;background:#fff;color:inherit;text-align:left;font:inherit;cursor:pointer}.pos-history-open:hover,.pos-history-open:focus-visible{background:#eff8f4;outline:2px solid #168365;outline-offset:-2px}
.pos-customer-editor{max-width:880px;margin:18px auto;border:1px solid #c9ddd6;border-radius:16px;background:#fff;overflow:hidden;box-shadow:0 12px 32px rgba(19,61,50,.09)}.pos-customer-editor .pos-panel-head{display:flex;align-items:flex-start;justify-content:space-between;padding:20px 22px;border-bottom:1px solid #dce8e3;background:linear-gradient(135deg,#f7fbf9,#edf7f3)}.pos-customer-editor .pos-panel-head small{display:block;margin-bottom:5px;color:#34705f;font-size:9px;font-weight:800;letter-spacing:.14em}.pos-customer-editor .pos-panel-head h3{margin:0;color:#1d312b;font-size:20px}.pos-customer-editor .pos-panel-head p{margin:5px 0 0;color:#6b7e77;font-size:11px}.pos-customer-editor .pos-panel-head>button{display:grid;place-items:center;width:34px;height:34px;padding:0;border:0;border-radius:9px;background:#e3eeea;color:#25473d;font-size:20px;line-height:1;cursor:pointer}.pos-customer-editor .pos-panel-head>button:hover,.pos-customer-editor .pos-panel-head>button:focus-visible{background:#d5e7e0;outline:2px solid rgba(22,131,101,.2)}.pos-customer-account-note{display:flex;align-items:center;gap:11px;margin:16px 22px 0;padding:12px 14px;border:1px solid #cce7dc;border-radius:11px;background:#effaf5;color:#235f4e}.pos-customer-account-note>span{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:9px;background:#178164;color:#fff;font-weight:800}.pos-customer-account-note div{display:grid;gap:2px}.pos-customer-account-note b{font-size:12px}.pos-customer-account-note small{color:#58766c;font-size:10px}.pos-customer-editor .pos-inline-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;padding:19px 22px 22px}.pos-customer-editor .pos-inline-form label{display:grid;align-content:start;gap:7px;color:#31463f;font-size:11px;font-weight:750}.pos-customer-editor .pos-inline-form label.wide{grid-column:1/-1}.pos-customer-editor .pos-inline-form label>span{display:flex;align-items:center;gap:3px}.pos-customer-editor .pos-inline-form label i{color:#d34d47;font-style:normal}.pos-customer-editor input,.pos-customer-editor textarea{width:100%;padding:0 13px;border:1px solid #c8d9d3;border-radius:10px;background:#fff;color:#20342d;font:inherit;font-size:13px;transition:border-color .15s,box-shadow .15s}.pos-customer-editor input{height:44px}.pos-customer-editor textarea{min-height:84px;padding-top:11px;resize:vertical}.pos-customer-editor input::placeholder,.pos-customer-editor textarea::placeholder{color:#9aa9a4}.pos-customer-editor input:focus,.pos-customer-editor textarea:focus{outline:0;border-color:#178165;box-shadow:0 0 0 3px rgba(23,129,101,.11)}.pos-customer-editor .pos-inline-actions{display:flex;justify-content:flex-end;gap:9px;padding:14px 22px;border-top:1px solid #e0e9e6;background:#fbfdfc}.pos-customer-editor .pos-inline-actions button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:112px;min-height:40px;padding:0 16px;border-radius:9px;font-weight:750;cursor:pointer}.pos-customer-cancel{border:1px solid #c8d7d2;background:#fff;color:#344a43}.pos-customer-save{border:1px solid #123f33;background:#123f33;color:#fff;box-shadow:0 4px 10px rgba(18,63,51,.14)}.pos-customer-save:hover{background:#0c5944}.pos-customer-editor .pos-inline-actions button:disabled{opacity:.55;cursor:wait}@media(max-width:760px){.pos-customer-editor{margin:10px}.pos-customer-editor .pos-inline-form{grid-template-columns:1fr}.pos-customer-editor .pos-inline-form label.wide{grid-column:auto}.pos-customer-editor .pos-panel-head,.pos-customer-editor .pos-inline-form,.pos-customer-editor .pos-inline-actions{padding-left:15px;padding-right:15px}.pos-customer-account-note{margin-left:15px;margin-right:15px}.pos-customer-editor .pos-inline-actions button{flex:1}}
.retail-pos-searches{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:9px}.pos-add-customer{width:44px;height:42px;border:0;border-radius:9px;background:#a6cc2c;color:#1c352d;font-size:25px;font-weight:700;cursor:pointer}.pos-inline-form textarea{padding:10px 12px;border:1px solid #cbd9d4;border-radius:8px;resize:vertical;font:inherit}.pos-inline-form textarea:focus{outline:0;border-color:#168365;box-shadow:0 0 0 3px rgba(22,131,101,.1)}
.pos-inventory-head{gap:15px}.pos-panel-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.pos-panel-actions button,.pos-bulk-add button{min-height:36px;padding:0 12px;border:1px solid #bdd1ca;border-radius:8px;background:#fff;color:#184b3e;font-weight:700;cursor:pointer}.pos-panel-actions button.primary{border-color:#168365;background:#168365;color:#fff}.pos-panel-actions button.close{width:34px;padding:0;border:0;background:#e8efec;font-size:20px}.pos-stock-row{grid-template-columns:minmax(170px,1fr) 80px 105px 105px 65px}.pos-stock-row>strong{text-align:right}.pos-bulk-note,.pos-receive-reference{padding:14px 17px;background:#f9fbfa;color:#647970;font-size:12px}.pos-bulk-labels,.pos-bulk-row{display:grid;grid-template-columns:120px minmax(180px,1.7fr) 75px 105px 105px 105px 36px;gap:8px;align-items:center;padding:7px 16px}.pos-bulk-labels,.pos-receive-labels{background:#edf4f1;color:#526a62;font-size:10px;font-weight:800;text-transform:uppercase}.pos-bulk-row{border-bottom:1px solid #e5ece9}.pos-bulk-row input,.pos-receive-row input,.pos-receive-row select,.pos-receive-reference input{width:100%;height:38px;padding:0 9px;border:1px solid #cad9d4;border-radius:7px;background:#fff}.pos-bulk-row>button,.pos-receive-row>button{width:32px;height:32px;border:0;border-radius:7px;background:#fff0ee;color:#c33;font-size:18px;cursor:pointer}.pos-bulk-add{padding:12px 16px}.pos-receive-reference{display:grid;grid-template-columns:minmax(240px,1fr) 1fr;gap:18px;align-items:end}.pos-receive-reference label{display:grid;gap:6px;color:#243630;font-size:12px;font-weight:700}.pos-receive-reference p{margin:0;line-height:1.55}.pos-receive-labels,.pos-receive-row{display:grid;grid-template-columns:minmax(240px,1.7fr) 120px 150px 110px 36px;gap:8px;align-items:center;padding:7px 16px}.pos-receive-row{border-bottom:1px solid #e5ece9}.pos-receive-total{text-align:right}.pos-bulk-rows,.pos-receive-rows{max-height:calc(100vh - 470px);overflow:auto}@media(max-width:900px){.pos-panel-head.pos-inventory-head{align-items:flex-start;flex-direction:column}.pos-bulk-labels,.pos-receive-labels{display:none}.pos-bulk-row{grid-template-columns:1fr 1.5fr 70px 90px 90px 90px 34px}.pos-receive-row{grid-template-columns:1.6fr 90px 110px 90px 34px}}@media(max-width:650px){.pos-stock-row{grid-template-columns:1fr 60px 80px 50px}.pos-stock-row>*:nth-child(3){display:none}.pos-bulk-row,.pos-receive-row{grid-template-columns:1fr 1fr}.pos-bulk-row>button,.pos-receive-row>button{grid-column:2;justify-self:end}.pos-receive-reference{grid-template-columns:1fr}}
.pos-receive-product{position:relative;min-width:0}.pos-receive-product .pos-receive-search{padding-left:34px;background:#fff}.pos-receive-product:before{content:'⌕';position:absolute;z-index:2;left:11px;top:8px;color:#477066;font-size:17px}.pos-receive-results{z-index:60;max-height:280px}.pos-receive-results button{min-height:58px}.pos-receive-results em{white-space:normal!important}.pos-receive-row:focus-within{position:relative;z-index:20}
.pos-receive-editor,.pos-receive-editor .pos-receive-rows{overflow:visible}.pos-receive-editor .pos-receive-rows{max-height:none}.pos-receive-editor .pos-receive-results{position:absolute;top:100%;left:0;right:0;margin-top:4px;background:#fff;box-shadow:0 14px 32px rgba(18,53,45,.2)}
.pos-stock-compact .pos-panel-head{padding:10px 16px}.pos-stock-compact .pos-panel-head h3{margin-top:1px}.pos-stock-compact .pos-stock-row{padding:8px 16px;min-height:42px}.pos-stock-compact .pos-stock-row.heading{padding-top:7px;padding-bottom:7px;min-height:34px}.pos-stock-compact .pos-stock-row b{line-height:1.2}
.pos-inline-form label>small{color:#71817b;font-size:10px;font-weight:500}.pos-unit-select{width:100%;height:38px;padding:0 28px 0 9px;border:1px solid #cad9d4;border-radius:7px;background:#fff;color:#243630}.pos-bulk-row .pos-unit-select{min-width:0}
.pos-sale-price{display:grid!important;grid-template-columns:auto auto;align-items:center;justify-content:center;gap:1px 6px}.pos-sale-price del{font-size:10px;color:#87958f;font-weight:500}.pos-sale-price strong{color:#08735b;font-size:16px}.pos-sale-price i{grid-column:1/-1;justify-self:center;padding:2px 6px;border-radius:9px;background:#e53f3f;color:#fff;font-size:8px;font-style:normal;font-weight:800}.pos-discount-total{color:#d33}.pos-list-discount{display:block;margin-top:3px;color:#08735b!important;font-weight:700}.pos-discount-editor{display:flex;flex-direction:column;height:100%}.pos-discount-toolbar{display:grid;grid-template-columns:minmax(260px,1fr) minmax(220px,360px) auto;gap:10px;align-items:center;padding:12px 16px;background:#f5faf8;border-bottom:1px solid #dce8e3}.pos-discount-toolbar div{display:grid;gap:3px}.pos-discount-toolbar span{font-size:11px;color:#657870}.pos-discount-toolbar input{height:38px;padding:0 11px;border:1px solid #c7d8d2;border-radius:8px}.pos-discount-toolbar button{height:38px;padding:0 12px;border:1px solid #e4b9b7;border-radius:8px;background:#fff5f4;color:#b63834;font-weight:700}.pos-discount-list{overflow:auto;max-height:calc(100vh - 385px)}.pos-discount-row{display:grid;grid-template-columns:minmax(210px,1.6fr) 120px 140px 120px 145px;gap:12px;align-items:center;min-height:54px;padding:7px 16px;border-bottom:1px solid #e1e9e6}.pos-discount-row.heading{position:sticky;top:0;z-index:2;min-height:34px;background:#eaf3ef;color:#50685f;font-size:9px;font-weight:800;text-transform:uppercase}.pos-discount-row>span{display:grid}.pos-discount-row small{color:#71817b;font-size:10px}.pos-discount-row>strong{text-align:right}.pos-discount-input{height:36px;padding:0 9px;border:1px solid #bcd3cb;border-radius:7px;text-align:right;font-weight:700}.pos-discount-net{color:#08735b}.pos-discount-editor>.pos-inline-actions{margin-top:auto}@media(max-width:900px){.pos-discount-toolbar{grid-template-columns:1fr}.pos-discount-row{grid-template-columns:minmax(180px,1fr) 100px 110px 100px}.pos-discount-row>*:last-child{display:none}}
.pos-receive-reference{grid-template-columns:minmax(240px,1fr) minmax(240px,1fr);gap:10px 18px}.pos-receive-reference p{grid-column:1/-1;line-height:1.4}.pos-supplier-picker{position:relative}.pos-supplier-results{z-index:70;max-height:260px}.pos-supplier-results button{min-height:54px}
.voucher-lines .free-qty-col{display:none}.mode-purchase .voucher-lines .free-qty-col{display:table-cell;width:8%!important}.mode-purchase .voucher-lines .qty-col{width:8%!important}.mode-purchase .voucher-lines .product-col{width:24%!important}.mode-purchase .voucher-lines .discount-col{width:12%!important}.purchase-discount-help{margin:10px 0 0;padding:8px 11px;border:1px solid #cfe1da;border-radius:8px;background:#f1f8f5;color:#315f52;font-size:11px}.purchase-discount-help.hidden{display:none}
.pos-receive-labels,.pos-receive-row{grid-template-columns:minmax(210px,1.7fr) 90px 110px 120px 80px 100px 36px}@media(max-width:900px){.pos-receive-row{grid-template-columns:1.5fr 80px 95px 110px 70px 85px 34px}}
.pos-product-card.out-of-stock{filter:grayscale(.72);opacity:.48;cursor:not-allowed;box-shadow:none!important;transform:none!important}.pos-product-card.out-of-stock em{background:#f8dede!important;color:#a33b3b!important}.pos-product-card.out-of-stock::after{content:'OUT OF STOCK';position:absolute;inset:8px 8px auto auto;padding:3px 6px;border-radius:5px;background:#b93f3f;color:#fff;font-size:8px;font-weight:900;letter-spacing:.05em}
.pos-selling-input{height:36px;padding:0 9px;border:1px solid #bcd3cb;border-radius:7px;text-align:right;font-weight:700;background:#fff}.pos-selling-input:focus,.pos-discount-input:focus{border-color:#168365;box-shadow:0 0 0 2px #1683651c;outline:0}.pos-category-select{width:100%;height:38px;padding:0 28px 0 9px;border:1px solid #cad9d4;border-radius:7px;background:#fff;color:#243630}
.pos-discount-editor .pos-panel-head{padding:7px 14px}.pos-discount-editor .pos-panel-head h3{font-size:16px;margin-top:0}.pos-discount-editor .pos-discount-toolbar{grid-template-columns:minmax(180px,1fr) minmax(190px,300px) 170px auto;gap:7px;padding:7px 12px}.pos-discount-toolbar input,.pos-discount-toolbar select,.pos-discount-toolbar button{height:32px!important;min-height:32px;padding-top:0;padding-bottom:0}.pos-discount-toolbar select{padding:0 26px 0 9px;border:1px solid #c7d8d2;border-radius:8px;background:#fff}.pos-discount-toolbar span{font-size:9px}.pos-discount-list{max-height:calc(100vh - 305px)}.pos-discount-row{grid-template-columns:minmax(200px,1.8fr) 110px 120px 110px 125px;gap:8px;min-height:40px;padding:4px 12px}.pos-discount-row.heading{min-height:27px;padding-top:3px;padding-bottom:3px;font-size:8px}.pos-discount-row b{font-size:12px;line-height:1.15}.pos-discount-row small{font-size:8px}.pos-discount-row .pos-selling-input,.pos-discount-row .pos-discount-input{height:29px;padding:0 7px;font-size:11px}.pos-discount-editor>.pos-inline-actions{padding:7px 12px}.pos-discount-editor>.pos-inline-actions button{min-height:34px;padding-top:6px;padding-bottom:6px}@media(max-width:1000px){.pos-discount-editor .pos-discount-toolbar{grid-template-columns:1fr 1fr}.pos-discount-row{grid-template-columns:minmax(170px,1.5fr) 95px 105px 95px}.pos-discount-row>*:last-child{display:none}}
.pos-subcategory-select{width:100%;height:38px;padding:0 28px 0 9px;border:1px solid #cad9d4;border-radius:7px;background:#fff;color:#243630}.pos-discount-editor .pos-discount-toolbar{grid-template-columns:minmax(180px,1fr) minmax(180px,280px) 145px 155px auto}.pos-discount-row{grid-template-columns:minmax(190px,1.8fr) 96px 105px 70px 70px 100px}.pos-discount-row .pos-buy-qty,.pos-discount-row .pos-free-qty{width:100%;height:29px;padding:0 7px;border:1px solid #bcd3cb;border-radius:7px;background:#fff;text-align:right;font-size:11px;font-weight:700}.pos-discount-row .pos-buy-qty:focus,.pos-discount-row .pos-free-qty:focus{outline:0;border-color:#168365;box-shadow:0 0 0 2px #1683651c}.pos-cart-line mark{display:inline-block;margin-left:6px;padding:2px 6px;border-radius:9px;background:#dff4e9;color:#08735b;font-size:9px;font-weight:800}@media(max-width:1100px){.pos-discount-editor .pos-discount-toolbar{grid-template-columns:1fr 1fr 1fr}.pos-discount-toolbar>div{grid-column:1/-1}.pos-discount-row{grid-template-columns:minmax(160px,1.5fr) 90px 100px 62px 62px 90px}}@media(max-width:720px){.pos-discount-editor .pos-discount-toolbar{grid-template-columns:1fr 1fr}.pos-discount-row{grid-template-columns:minmax(150px,1.5fr) 86px 94px 58px 58px}.pos-discount-row>*:last-child{display:none}}
.pos-stock-filters{position:sticky;top:0;z-index:4;display:grid;grid-template-columns:minmax(220px,1fr) 180px 190px auto;gap:7px;align-items:center;padding:7px 12px;border-bottom:1px solid #dce7e3;background:#f7faf9}.pos-stock-filters input,.pos-stock-filters select{width:100%;height:32px;padding:0 9px;border:1px solid #c7d8d2;border-radius:7px;background:#fff;color:#243630}.pos-stock-filters input:focus,.pos-stock-filters select:focus{outline:0;border-color:#168365;box-shadow:0 0 0 2px #1683651c}.pos-stock-filters>small{white-space:nowrap;color:#60746c}.pos-stock-compact .pos-stock-list{max-height:calc(100vh - 300px)}.pos-stock-compact .pos-stock-row{min-height:34px;padding:5px 12px;gap:8px}.pos-stock-compact .pos-stock-row.heading{min-height:27px;padding-top:4px;padding-bottom:4px}.pos-stock-compact .pos-stock-row b{font-size:12px}.pos-stock-compact .pos-stock-row small{display:inline;margin:0 8px 0 0;font-size:8px}.pos-stock-compact .pos-stock-row>button{padding:4px 6px;font-size:10px}.pos-list-promotion{color:#8a5a00!important;font-weight:700}@media(max-width:900px){.pos-stock-filters{grid-template-columns:1fr 1fr}.pos-stock-filters>small{display:none}}@media(max-width:600px){.pos-stock-filters{grid-template-columns:1fr}.pos-stock-filters>small{display:none}}
[class$="-results"] .keyboard-active,[role="listbox"] .keyboard-active{background:#dff5ed!important;border-color:#218a70!important;box-shadow:inset 3px 0 0 #16745d!important;outline:none!important}
.pos-bulk-editor{overflow:auto}.pos-bulk-editor .pos-bulk-labels,.pos-bulk-editor .pos-bulk-row{grid-template-columns:105px minmax(170px,1.7fr) 135px 145px 72px 88px 92px 96px 32px;gap:6px;min-width:1000px;padding-left:12px;padding-right:12px}.pos-bulk-editor .pos-bulk-note{padding:9px 13px}.pos-bulk-editor .pos-bulk-row input,.pos-bulk-editor .pos-bulk-row select{height:34px;min-width:0;padding-left:7px;font-size:11px}.pos-bulk-editor .pos-bulk-rows{max-height:calc(100vh - 405px);overflow:auto}.pos-bulk-editor .pos-bulk-add{padding:9px 12px}@media(max-width:1050px){.pos-bulk-editor .pos-bulk-labels,.pos-bulk-editor .pos-bulk-row{grid-template-columns:100px 180px 130px 140px 70px 85px 90px 92px 32px}.pos-bulk-editor .pos-bulk-labels{display:grid}}
.pos-qty input{width:42px;height:28px;padding:0 3px;border:0;border-left:1px solid #d4dfdb;border-right:1px solid #d4dfdb;background:#fff;text-align:center;font-weight:700;-moz-appearance:textfield}.pos-qty input::-webkit-inner-spin-button,.pos-qty input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.pos-line-payable{display:grid;justify-items:end;line-height:1.15}.pos-line-payable del{color:#8b9893;font-size:9px}.pos-line-payable strong{font-size:13px}.pos-line-discount{color:#c33;font-weight:800}.pos-customer-saving{color:#b43a35}.pos-free-summary{align-items:flex-start!important;padding:7px 0!important;color:#08735b}.pos-free-summary b{text-align:right;font-size:10px;line-height:1.45}.pos-cart-totals .total span{font-weight:800}
.pos-product-card.keyboard-active{border-color:#168365!important;background:#e8f7f1!important;box-shadow:0 0 0 3px rgba(22,131,101,.2),0 8px 20px rgba(18,67,54,.14)!important;outline:0;transform:translateY(-1px)}
.pos-qty-prompt{position:fixed;inset:0;z-index:300;display:grid;place-items:center;background:rgba(9,31,26,.38)}.pos-qty-prompt form{display:grid;grid-template-columns:auto 110px auto;gap:8px;align-items:center;padding:13px;border-radius:10px;background:#fff;box-shadow:0 18px 50px rgba(0,0,0,.28)}.pos-qty-prompt label{font-weight:800}.pos-qty-prompt input{width:110px;height:40px;padding:0 10px;border:2px solid #168365;border-radius:7px;text-align:center;font-size:18px;font-weight:800;outline:0}.pos-qty-prompt button{height:40px;padding:0 16px;border:0;border-radius:7px;background:#164d40;color:#fff;font-weight:800;cursor:pointer}
.pos-kiosk-mode{overflow:hidden}.pos-kiosk-mode .app-shell{display:block!important;width:100vw!important;height:100dvh!important;min-height:0!important;overflow:hidden!important}.pos-kiosk-mode .sidebar,.pos-kiosk-mode .topbar{display:none!important}.pos-kiosk-mode .content{width:100vw!important;height:100dvh!important;max-width:none!important;min-height:0!important;max-height:100dvh!important;margin:0!important;padding:8px!important;overflow:hidden!important}.pos-kiosk-mode .retail-pos-shell{display:flex;height:calc(100dvh - 16px);min-height:0;margin:0!important;flex:1;flex-direction:column;border-radius:10px}.pos-kiosk-mode .retail-pos-topbar{flex:0 0 auto;padding:6px 10px}.pos-kiosk-mode .retail-pos-topbar .retail-pos-brand{width:40px;height:30px}.pos-kiosk-mode .retail-pos-top-actions button{min-height:30px;padding-inline:10px}.pos-kiosk-mode .retail-pos-workspace{flex:1 1 auto;min-height:0!important;grid-template-columns:minmax(310px,34%) minmax(0,66%);overflow:hidden}.pos-kiosk-mode .retail-pos-sale{display:flex;min-height:0;flex-direction:column;overflow:hidden}.pos-kiosk-mode .retail-pos-searches{flex:0 0 auto;padding:7px 9px}.pos-kiosk-mode .retail-pos-searches .pos-customer-search{height:36px}.pos-kiosk-mode .retail-pos-sale .pos-basket-head{flex:0 0 auto;padding:8px 11px}.pos-kiosk-mode .retail-pos-sale .pos-basket-head h3{margin:2px 0;font-size:16px}.pos-kiosk-mode .retail-cart-heading{flex:0 0 auto;padding:6px 11px;font-size:9px}.pos-kiosk-mode .retail-pos-sale .pos-cart-lines{flex:1 1 auto;min-height:0;max-height:none;overflow:auto}.pos-kiosk-mode .retail-pos-sale .pos-cart-lines .pos-cart-line{padding:6px 10px;gap:6px}.pos-kiosk-mode .retail-pos-sale .pos-cart-line b{font-size:11px;line-height:1.15}.pos-kiosk-mode .retail-pos-sale .pos-cart-line small,.pos-kiosk-mode .retail-pos-sale .pos-cart-line em{font-size:9px}.pos-kiosk-mode .retail-pos-sale .pos-qty{transform:scale(.88);transform-origin:right center}.pos-kiosk-mode .retail-pos-sale .pos-line-payable strong{font-size:11px}.pos-kiosk-mode .retail-pos-sale .pos-cart-totals{flex:0 0 auto;padding:6px 10px}.pos-kiosk-mode .retail-pos-sale .pos-cart-totals>div{padding:3px 0;font-size:11px}.pos-kiosk-mode .retail-pos-sale .pos-cart-totals .total{font-size:17px}.pos-kiosk-mode .retail-pos-products{min-height:0;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden}.pos-kiosk-mode .retail-pos-products .pos-counter-toolbar{padding:7px 9px}.pos-kiosk-mode .retail-pos-products .pos-counter-toolbar .pos-search input{height:38px;font-size:15px}.pos-kiosk-mode .retail-pos-products .pos-work-panel{min-height:0;overflow:auto}.pos-kiosk-mode .retail-pos-products .pos-product-grid{grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:6px;max-height:none;padding:7px}.pos-kiosk-mode .retail-pos-products .pos-product-card{grid-template-rows:54px auto auto auto;gap:2px;min-height:128px;padding-bottom:5px}.pos-kiosk-mode .retail-pos-products .pos-product-image{height:54px;font-size:19px}.pos-kiosk-mode .retail-pos-products .pos-product-card>span:nth-child(2){padding:3px 4px 0}.pos-kiosk-mode .retail-pos-products .pos-product-card>span:nth-child(2) b{font-size:10px;line-height:1.15}.pos-kiosk-mode .retail-pos-products .pos-product-card>span:nth-child(2) small{font-size:8px}.pos-kiosk-mode .retail-pos-products .pos-product-card strong{font-size:12px}.pos-kiosk-mode .retail-pos-products .pos-product-card em{padding:2px 5px;font-size:8px}.pos-kiosk-mode .retail-pos-actions{flex:0 0 auto;grid-auto-rows:48px;gap:5px;padding:6px}.pos-kiosk-mode .retail-pos-actions button{gap:1px}.pos-kiosk-mode .retail-pos-actions button span{font-size:16px}.pos-kiosk-mode .retail-pos-actions button b{font-size:9px}.pos-kiosk-mode .retail-pos-actions .retail-pay b{font-size:15px}@media(max-width:780px){.pos-kiosk-mode .content{padding:4px!important}.pos-kiosk-mode .retail-pos-shell{height:calc(100dvh - 8px)}.pos-kiosk-mode .retail-pos-workspace{grid-template-columns:minmax(0,40%) minmax(0,60%)}.pos-kiosk-mode .retail-pos-products .pos-product-grid{grid-template-columns:repeat(auto-fill,minmax(82px,1fr));gap:4px;padding:5px}.pos-kiosk-mode .retail-pos-products .pos-product-card{min-height:116px;grid-template-rows:46px auto auto auto}.pos-kiosk-mode .retail-pos-products .pos-product-image{height:46px}.pos-kiosk-mode .retail-pos-products .pos-counter-toolbar .pos-search input{font-size:12px}.pos-kiosk-mode .retail-pos-actions{grid-auto-rows:42px}}@media(max-width:540px){.pos-kiosk-mode .retail-pos-workspace{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(38%,44%) minmax(0,1fr)}.pos-kiosk-mode .retail-pos-sale{border-right:0;border-bottom:1px solid #cedbd6}.pos-kiosk-mode .retail-pos-products{min-height:0}.pos-kiosk-mode .retail-pos-products .pos-product-grid{grid-template-columns:repeat(auto-fill,minmax(88px,1fr))}.pos-kiosk-mode .retail-pos-actions{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:38px}.pos-kiosk-mode .retail-pos-actions .retail-pay{grid-column:span 3}}
.pos-kiosk-mode .retail-pos-sale>.pos-basket-head{display:none!important}.pos-kiosk-mode .retail-pos-actions .retail-pay{grid-column:span 4!important}@media(max-width:540px){.pos-kiosk-mode .retail-pos-actions .retail-pay{grid-column:span 4!important}}
.pos-kiosk-mode .retail-pos-topbar{gap:8px;padding:4px 8px}.pos-kiosk-mode .retail-pos-top-actions{gap:5px}.pos-kiosk-mode .retail-pos-top-actions .pos-session-pill{display:inline-flex;align-items:center;gap:4px;min-height:26px;padding:3px 8px;font-size:10px}.pos-kiosk-mode .retail-pos-top-actions .pos-session-pill i{font-size:8px;font-style:normal}.pos-kiosk-mode .retail-pos-top-actions button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:27px;padding:0 8px;border-radius:7px;font-size:11px}.pos-kiosk-mode .retail-pos-top-actions button i{font-size:12px;font-style:normal}.pos-kiosk-mode .retail-pos-top-actions button.primary{font-size:11px}
.pos-shift-form{display:grid;gap:7px}.pos-shift-form>label{font-size:12px;font-weight:800;color:#263a35}.pos-shift-amount{position:relative}.pos-shift-amount>span{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#71817b;font-size:12px;font-weight:700}.pos-shift-amount input{width:100%;height:44px;margin:0!important;padding:0 12px 0 48px!important;border:1px solid #c8d9d3!important;border-radius:9px!important;background:#fbfdfc!important;font-size:18px!important;font-weight:700!important;text-align:right;box-shadow:inset 0 1px 2px rgba(14,56,45,.04)}.pos-shift-amount input:focus{outline:0;border-color:#168365!important;box-shadow:0 0 0 3px rgba(22,131,101,.13)}.pos-shift-help{display:flex;align-items:center;gap:8px;margin-top:5px;padding:10px 12px;border:1px solid #d7ebe3;border-radius:8px;background:#f1f8f5;color:#537267;font-size:11px;line-height:1.4}.pos-shift-help>span:first-child{color:#168365;font-size:15px}
.pos-kiosk-mode .retail-pos-actions .retail-pay kbd{margin-left:7px;padding:2px 5px;border:1px solid rgba(24,54,43,.25);border-radius:4px;background:rgba(255,255,255,.28);font:700 9px/1.2 inherit;vertical-align:2px}
.pos-payment-key-help{display:block;margin-top:7px;color:#71817c;font-size:10px}.pos-payment-popup.professional .pos-popup-methods input:focus-visible+span{outline:3px solid rgba(22,131,101,.28);outline-offset:2px}.pos-payment-popup.professional .pos-payment-balance{position:relative;outline:0}.pos-payment-popup.professional .pos-payment-balance:focus{box-shadow:0 0 0 3px rgba(22,131,101,.2)}.pos-payment-popup.professional .pos-payment-balance small{position:absolute;right:15px;bottom:4px;color:#71817c;font-size:9px}.pos-invoice-preview{display:grid;gap:12px}.pos-invoice-brand{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;border-radius:9px;background:#eaf6f1;color:#175e4c}.pos-invoice-brand span{font-size:10px;font-weight:800;letter-spacing:.1em}.pos-invoice-brand b{font-size:16px}.pos-invoice-meta{display:grid;grid-template-columns:1fr 1fr;gap:8px}.pos-invoice-meta>span{display:grid;gap:3px;color:#71817c;font-size:10px}.pos-invoice-meta strong{color:#233831;font-size:11px}.pos-invoice-preview table{width:100%;border-collapse:collapse}.pos-invoice-preview th,.pos-invoice-preview td{padding:7px 8px;border-bottom:1px solid #e4ece8;text-align:left;font-size:11px}.pos-invoice-preview th{background:#f2f7f5;color:#64766f;text-transform:uppercase;font-size:9px}.pos-invoice-preview td small{display:block;margin-top:3px;color:#71817c;font-size:9px}.pos-invoice-preview td.num,.pos-invoice-preview th.num{text-align:right}.pos-invoice-totals{display:grid;gap:5px;margin-left:auto;width:min(280px,100%)}.pos-invoice-totals>div{display:flex;justify-content:space-between;gap:12px;font-size:11px}.pos-invoice-totals .grand{padding-top:7px;border-top:1px solid #cbd9d4;font-size:14px}.pos-invoice-thanks{margin:0;text-align:center;color:#537267;font-size:11px}.pos-invoice-print{justify-self:end}
.pos-stock-compact .pos-stock-row:not(.heading){min-height:52px;padding-top:7px;padding-bottom:7px}.pos-stock-compact .pos-stock-row>span:first-child{display:grid;min-width:0;gap:2px}.pos-stock-compact .pos-stock-row>span:first-child>b{display:block;font-size:12px;line-height:1.25;white-space:normal}.pos-stock-compact .pos-stock-row>span:first-child>small{display:block;margin:0!important;font-size:9px;line-height:1.3;white-space:normal;overflow-wrap:anywhere}.pos-stock-compact .pos-stock-row>span:first-child>.pos-list-discount,.pos-stock-compact .pos-stock-row>span:first-child>.pos-list-promotion{width:max-content;max-width:100%;margin-top:2px!important;padding:2px 6px;border-radius:999px;background:#eaf7f2}.pos-stock-compact .pos-stock-row>span:first-child>.pos-list-promotion{background:#fff6df}
.pos-history-record{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;border-bottom:1px solid #e3ebe8}.pos-history-record .pos-history-inline{border-bottom:0}.pos-history-actions{display:flex;align-items:center;gap:6px;padding:8px 12px}.pos-history-actions button{display:grid;place-items:center;width:32px;height:32px;border:1px solid #bcd4cc;border-radius:8px;background:#fff;color:#117158;font-size:17px;cursor:pointer}.pos-history-actions button.delete{border-color:#edc8c5;color:#c83c35}.pos-history-actions button:hover:not(:disabled){background:#eaf7f2}.pos-history-actions button.delete:hover:not(:disabled){background:#fff0ef}.pos-history-actions button:disabled{opacity:.3;cursor:not-allowed}@media(max-width:700px){.pos-history-record{grid-template-columns:1fr}.pos-history-actions{justify-content:flex-end;padding-top:0}}
.pos-customer-picker{position:relative;display:grid;gap:5px}.pos-customer-input{position:relative}.pos-customer-input>span{position:absolute;left:13px;top:50%;transform:translateY(-50%);color:#55736a}.pos-customer-input .pos-customer-search{height:42px;padding:0 54px 0 36px}.pos-customer-input kbd{position:absolute;right:10px;top:50%;transform:translateY(-50%);padding:2px 6px;border:1px solid #cad9d4;border-radius:5px;background:#f1f6f4;color:#557067;font:700 9px/1.4 inherit}.pos-customer-results{position:absolute;z-index:90;top:45px;left:0;width:min(430px,100%);max-height:280px;padding:6px;border:1px solid #bfd2cb;border-radius:10px;background:#fff;box-shadow:0 14px 34px rgba(20,54,45,.2);overflow:auto}.pos-customer-results button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:50px;padding:8px 10px;border:0;border-radius:7px;background:#fff;color:#243630;text-align:left;cursor:pointer}.pos-customer-results button span{display:grid;gap:3px}.pos-customer-results button small{color:#71817b;font-size:9px}.pos-customer-results button strong{white-space:nowrap;color:#117158;font-size:11px}.pos-customer-results button:hover,.pos-customer-results button.keyboard-active{background:#e7f6f0}.pos-customer-empty{padding:18px;text-align:center;color:#71817b}.pos-customer-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:5px 9px;border:1px solid #d9e6e1;border-radius:8px;background:#f6faf8}.pos-customer-summary>span{display:grid;gap:1px;min-width:0}.pos-customer-summary b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.pos-customer-summary small{color:#71817b;font-size:9px}.pos-customer-summary strong{white-space:nowrap;color:#0c7459;font-size:10px}.pos-customer-summary i{color:#d19a00;font-style:normal}
.pos-customer-details{width:min(760px,calc(100% - 24px));margin:12px auto;border:1px solid #c9ddd5;border-radius:14px;background:#fff;box-shadow:0 10px 28px rgba(24,68,56,.08);overflow:hidden}.pos-customer-details header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 20px;border-bottom:1px solid #dce8e3;background:linear-gradient(135deg,#eff9f5,#f8fbfa)}.pos-customer-details header small{color:#16745b;font-size:9px;font-weight:900;letter-spacing:.13em}.pos-customer-details header h3{margin:4px 0 2px;font-size:21px}.pos-customer-details header p{margin:0;color:#6c7e78;font-size:11px}.pos-customer-details header button{display:grid;place-items:center;width:34px;height:34px;border:0;border-radius:9px;background:#e5efeb;color:#29463d;font-size:20px;cursor:pointer}.pos-customer-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:16px 20px}.pos-customer-detail-grid article{display:grid;grid-template-columns:34px 1fr;grid-template-rows:auto auto;column-gap:10px;padding:13px;border:1px solid #dce8e3;border-radius:11px;background:#fafcfb}.pos-customer-detail-grid article>span{grid-row:1/3;display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#e7f4ef;color:#16745b;font-weight:900}.pos-customer-detail-grid article small{color:#71817b;font-size:9px}.pos-customer-detail-grid article b{font-size:13px;overflow-wrap:anywhere}.pos-customer-detail-grid article.points>span{background:#fff4d9;color:#bc8500}.pos-customer-detail-grid article.points b{color:#0c7459}.pos-customer-detail-note{display:flex;align-items:center;gap:10px;margin:0 20px 14px;padding:12px 14px;border-radius:10px;background:#edf8f4;color:#315e51}.pos-customer-detail-note>span{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#1b8769;color:#fff}.pos-customer-detail-note div{display:grid;gap:2px}.pos-customer-detail-note small{font-size:10px}.pos-customer-continue{display:block;margin:0 20px 18px auto;min-height:40px;padding:0 17px;border:0;border-radius:9px;background:#164d40;color:#fff;font-weight:800;cursor:pointer}@media(max-width:650px){.pos-customer-detail-grid{grid-template-columns:1fr}}
.terminal-theme{border-radius:7px;background:#d9dde1;border-color:#aeb5ba}.terminal-theme .retail-pos-topbar{min-height:48px;padding:7px 10px;background:#24292f}.terminal-theme .retail-pos-brand{border-radius:4px;background:#36a24a;color:#fff}.terminal-theme .retail-pos-workspace{grid-template-columns:minmax(340px,38%) minmax(0,62%);background:#e7eaed}.terminal-theme .retail-pos-sale{background:#fff;border-right:4px solid #c7ccd0}.terminal-theme .retail-pos-searches{background:#f2f4f5;border-bottom-color:#c8cdd1}.terminal-theme .retail-cart-heading{background:#287daf;color:#fff}.terminal-theme .pos-cart-line{border-bottom-color:#d7dadd}.terminal-theme .retail-pos-products{grid-template-rows:auto auto minmax(0,1fr) auto;background:#e7eaed}.terminal-theme .pos-counter-toolbar{padding:7px!important;background:#e7eaed!important}.terminal-theme .pos-search input{border-radius:3px;border-color:#aeb6bc}.pos-terminal-categories{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(90px,1fr);gap:4px;padding:5px;background:#d2d6da;border-bottom:1px solid #aeb5ba;overflow-x:auto}.pos-terminal-categories button{display:grid;grid-template-rows:30px auto;place-items:center;min-height:66px;padding:5px;border:1px solid #b1b7bc;border-bottom:3px solid #2381b7;border-radius:2px;background:#f8f9fa;color:#242b30;cursor:pointer}.pos-terminal-categories button i{display:grid;place-items:center;width:28px;height:28px;border-radius:3px;background:#2381b7;color:#fff;font-style:normal;font-weight:900}.pos-terminal-categories button span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:800}.pos-terminal-categories button.tone-1 i{background:#39a34a}.pos-terminal-categories button.tone-2 i{background:#ed8215}.pos-terminal-categories button.tone-3 i{background:#ed2d38}.pos-terminal-categories button.tone-4 i{background:#787d84}.pos-terminal-categories button.tone-5 i{background:#8c55b1}.pos-terminal-categories button.active{border-color:#1c7cad;background:#e7f5fc;box-shadow:inset 0 0 0 2px #1c7cad}.terminal-theme .pos-work-panel{background:#e7eaed}.terminal-theme .pos-product-grid{grid-template-columns:repeat(auto-fill,minmax(118px,1fr))!important;gap:5px!important;padding:6px!important;background:#e7eaed!important}.terminal-theme .pos-product-card{min-height:142px!important;border-radius:2px!important;border-color:#b7bdc1!important;box-shadow:0 1px 2px rgba(0,0,0,.12)}.terminal-theme .pos-product-image{height:56px!important;background:#dcebf1!important}.terminal-theme .pos-product-card>span:nth-child(2) b{font-size:10px!important}.terminal-theme .retail-pos-actions{grid-auto-rows:58px;gap:2px;padding:3px;background:#24292f;border-top:0}.terminal-theme .retail-pos-actions button{border-radius:1px;background:#343b44;color:#fff}.terminal-theme .retail-pos-actions button:hover{background:#424b56}.terminal-theme .retail-pos-actions .retail-pay{background:#138566}.terminal-theme .retail-pos-actions .retail-pay:hover{background:#0d7559}.terminal-theme .retail-pos-actions button span{font-size:17px}.terminal-theme .retail-pos-actions button b{font-size:9px}.terminal-theme .retail-pos-actions .retail-pay b{font-size:15px}.terminal-theme .pos-cart-totals{border-top:3px solid #287daf}.terminal-theme .pos-cart-totals .total{background:#eef8f4;color:#075d48}@media(max-width:900px){.terminal-theme .retail-pos-workspace{grid-template-columns:minmax(300px,42%) minmax(0,58%)}.pos-terminal-categories{grid-auto-columns:82px}}@media(max-width:650px){.terminal-theme .retail-pos-workspace{grid-template-columns:1fr;grid-template-rows:minmax(38%,44%) minmax(0,1fr)}.pos-terminal-categories{grid-auto-columns:76px}.terminal-theme .pos-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
.pos-loyalty-settings{margin-top:22px;border:1px solid #cfe1da;border-radius:14px;background:#f8fbfa;overflow:hidden}.pos-loyalty-settings-head{display:flex;align-items:center;gap:12px;padding:16px 18px;border-bottom:1px solid #dce9e4;background:linear-gradient(135deg,#eaf7f2,#f9fcfb)}.pos-loyalty-settings-head>span{display:grid;place-items:center;width:39px;height:39px;border-radius:11px;background:#fff2c6;color:#b98200;font-size:21px}.pos-loyalty-settings-head>div{flex:1}.pos-loyalty-settings-head h3{margin:0 0 3px;font-size:16px}.pos-loyalty-settings-head p{margin:0;color:#6b7d77;font-size:11px}.pos-loyalty-switch{display:flex!important;align-items:center;gap:8px!important;cursor:pointer}.pos-loyalty-switch input{position:absolute;opacity:0}.pos-loyalty-switch i{position:relative;width:39px;height:22px;border-radius:999px;background:#aebbb7;transition:.18s}.pos-loyalty-switch i:after{content:"";position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0003;transition:.18s}.pos-loyalty-switch input:checked+i{background:#178469}.pos-loyalty-switch input:checked+i:after{transform:translateX(17px)}.pos-loyalty-switch b{font-size:12px}.pos-loyalty-rule{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(320px,1.2fr);gap:18px;padding:18px}.pos-loyalty-rule>label{display:grid;gap:7px;font-size:11px;font-weight:800}.pos-money-input{position:relative}.pos-money-input small{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#587269;font-weight:800}.pos-money-input input{width:100%;height:43px;padding-left:38px;font-weight:800}.pos-loyalty-example{display:grid;align-content:center;gap:4px;padding:12px 15px;border-left:3px solid #e0ae21;border-radius:8px;background:#fff}.pos-loyalty-example small{color:#8b721e;font-size:9px;font-weight:900;letter-spacing:.1em}.pos-loyalty-example b{font-size:13px}.pos-loyalty-example span{color:#6b7d77;font-size:10px}@media(max-width:720px){.pos-loyalty-settings-head{align-items:flex-start;flex-wrap:wrap}.pos-loyalty-switch{margin-left:51px}.pos-loyalty-rule{grid-template-columns:1fr}.pos-loyalty-example{border-left:0;border-top:3px solid #e0ae21}}
.pos-kiosk-mode .terminal-theme .retail-pos-workspace{grid-template-columns:minmax(0,65%) minmax(320px,35%)!important}.pos-kiosk-mode .terminal-theme .retail-pos-products{grid-template-rows:auto minmax(0,1fr) auto!important}.pos-kiosk-mode .terminal-theme .pos-counter-toolbar{padding:12px!important;background:#eef1f3!important}.pos-kiosk-mode .terminal-theme .pos-search{position:relative;height:48px;padding-left:14px;border:1px solid #aeb8bd;border-radius:6px;background:#fff}.pos-kiosk-mode .terminal-theme .pos-search input{height:46px!important;padding-right:108px;font-size:16px!important}.pos-f8-lookup{position:absolute;right:5px;top:5px;display:flex;align-items:center;gap:5px;height:36px;padding:0 9px;border:1px solid #9eaaaf;border-radius:5px;background:#edf1f2;color:#26343a;font-weight:800;cursor:pointer}.pos-f8-lookup kbd{padding:2px 5px;border-radius:3px;background:#263039;color:#fff;font:800 10px inherit}.pos-f8-lookup span{font-size:10px}.pos-sku-workspace{display:grid;place-items:center;background:#e7eaed!important}.pos-sku-workspace>div{display:grid;place-items:center;gap:7px;padding:28px;color:#788389;text-align:center}.pos-sku-workspace>div>span{font-size:34px;color:#2a819f}.pos-sku-workspace>div>b{font-size:15px;color:#415158}.pos-sku-workspace>div>small{max-width:280px;font-size:11px;line-height:1.5}.pos-sku-dropdown{position:absolute;z-index:140;top:calc(100% + 5px);left:-1px;right:-1px;max-height:370px;padding:5px;border:1px solid #9eabb0;border-radius:6px;background:#fff;box-shadow:0 15px 35px rgba(22,35,40,.24);overflow:auto}.pos-sku-dropdown button{display:flex;align-items:center;justify-content:space-between;gap:15px;width:100%;min-height:54px;padding:8px 10px;border:0;border-bottom:1px solid #e2e7e9;background:#fff;color:#233238;text-align:left;cursor:pointer}.pos-sku-dropdown button:last-child{border-bottom:0}.pos-sku-dropdown button>span{display:grid;gap:3px}.pos-sku-dropdown button>span:last-child{text-align:right}.pos-sku-dropdown button b{font-size:12px}.pos-sku-dropdown button small{color:#77848a;font-size:9px}.pos-sku-dropdown button strong{color:#087058;font-size:13px}.pos-sku-dropdown button.keyboard-active,.pos-sku-dropdown button:hover{background:#e5f4ef}.pos-sku-dropdown button:disabled{opacity:.48;cursor:not-allowed}.pos-sku-empty{padding:24px;text-align:center;color:#7b878b;font-size:11px}.pos-product-lookup{display:grid;gap:10px}.pos-product-lookup-search{position:relative}.pos-product-lookup-search>span{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:#567069}.pos-product-lookup-search input{width:100%;height:48px;padding:0 14px 0 39px;border:1px solid #b9ccc5;border-radius:9px;font-size:15px}.pos-product-lookup-search input:focus{outline:0;border-color:#168265;box-shadow:0 0 0 3px rgba(22,130,101,.12)}.pos-product-lookup-list{max-height:56vh;border:1px solid #d3dfdb;border-radius:9px;overflow:auto}.pos-product-lookup-list button{display:grid;grid-template-columns:minmax(0,1fr) 70px 110px 105px;align-items:center;gap:12px;width:100%;min-height:57px;padding:9px 13px;border:0;border-bottom:1px solid #e1e8e5;background:#fff;color:#24352f;text-align:left;cursor:pointer}.pos-product-lookup-list button:last-child{border-bottom:0}.pos-product-lookup-list button span:first-child{display:grid;gap:3px}.pos-product-lookup-list button b{font-size:12px}.pos-product-lookup-list button small{color:#74827d;font-size:9px}.pos-product-lookup-list button strong{text-align:right;color:#087058}.pos-product-lookup-list button em{text-align:right;color:#65756f;font-size:10px;font-style:normal}.pos-product-lookup-list button.keyboard-active,.pos-product-lookup-list button:hover{background:#e4f5ee;box-shadow:inset 3px 0 #168265}.pos-product-lookup-list button:disabled{opacity:.45;cursor:not-allowed}.pos-product-lookup-help{color:#6f7e79;font-size:10px}@media(max-width:900px){.pos-kiosk-mode .terminal-theme .retail-pos-workspace{grid-template-columns:minmax(0,62%) minmax(290px,38%)!important}}@media(max-width:650px){.pos-kiosk-mode .terminal-theme .retail-pos-workspace{grid-template-columns:1fr!important;grid-template-rows:minmax(58%,1fr) minmax(260px,42%)!important}.pos-product-lookup-list button{grid-template-columns:minmax(0,1fr) 70px 90px}.pos-product-lookup-list button em{display:none}}
.pos-kiosk-mode .terminal-theme .retail-pos-workspace{grid-template-columns:minmax(0,55%) minmax(380px,45%)!important}.pos-customer-compact-workspace{place-items:start stretch!important;padding:14px}.pos-customer-compact{display:grid;grid-template-columns:42px minmax(0,1fr) 120px 145px;align-items:center;gap:12px;width:100%;padding:15px 17px;border:1px solid #bdd3cb;border-radius:10px;background:#fff;box-shadow:0 7px 18px rgba(28,65,55,.08)}.pos-customer-compact>span{display:grid;place-items:center;width:42px;height:42px;border-radius:10px;background:#fff2c9;color:#b67c00;font-size:21px}.pos-customer-compact div{min-width:0}.pos-customer-compact small{color:#71827c;font-size:9px;font-weight:800;letter-spacing:.07em}.pos-customer-compact h3{margin:3px 0 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:17px}.pos-customer-compact article{display:grid;gap:4px;padding-left:13px;border-left:1px solid #dde7e3}.pos-customer-compact article b{color:#087058;font-size:15px}.pos-loyalty-advanced{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:0 18px 18px}.pos-loyalty-advanced label{display:grid;gap:6px;padding:13px;border:1px solid #d8e5e0;border-radius:10px;background:#fff;font-size:11px;font-weight:800}.pos-loyalty-advanced input,.pos-loyalty-advanced select{width:100%;height:40px}.pos-loyalty-advanced small{color:#71817b;font-size:9px;font-weight:500;line-height:1.4}.pos-loyalty-manual{display:grid;grid-template-columns:minmax(220px,1.4fr) minmax(190px,1fr) 120px minmax(200px,1.2fr) auto;align-items:end;gap:9px;margin:0 18px 18px;padding:15px;border:1px solid #d8e5e0;border-radius:11px;background:#fff}.pos-loyalty-manual h4{margin:0 0 4px;font-size:13px}.pos-loyalty-manual p{margin:0;color:#71817b;font-size:9px;line-height:1.4}.pos-loyalty-manual select,.pos-loyalty-manual input{height:40px}.pos-loyalty-manual button{height:40px;padding:0 14px;border:0;border-radius:8px;background:#176d57;color:#fff;font-weight:800;cursor:pointer}@media(max-width:1100px){.pos-loyalty-manual{grid-template-columns:1fr 1fr}.pos-loyalty-manual>div{grid-column:1/-1}}@media(max-width:750px){.pos-loyalty-advanced,.pos-loyalty-manual{grid-template-columns:1fr}.pos-customer-compact{grid-template-columns:42px 1fr}.pos-customer-compact article{grid-column:span 1}.pos-kiosk-mode .terminal-theme .retail-pos-workspace{grid-template-columns:1fr!important}}
.pos-kiosk-mode .retail-pos-sale .pos-qty{display:grid;grid-template-columns:34px minmax(58px,auto) 34px;align-items:stretch;transform:none!important;border:1px solid #c5d2ce;border-radius:8px;background:#fff;box-shadow:0 1px 3px rgba(20,48,40,.08);overflow:hidden}.pos-kiosk-mode .retail-pos-sale .pos-qty button{display:grid;place-items:center;width:34px;height:36px;padding:0;border:0;background:#edf3f1;color:#29433b;font-size:17px;font-weight:700;line-height:1;cursor:pointer;transition:.15s}.pos-kiosk-mode .retail-pos-sale .pos-qty button:hover{background:#dcebe5;color:#087058}.pos-kiosk-mode .retail-pos-sale .pos-qty .pos-qty-minus{border-right:1px solid #d5dfdc}.pos-kiosk-mode .retail-pos-sale .pos-qty .pos-qty-plus{border-left:1px solid #d5dfdc;background:#e5f4ee;color:#087058}.pos-kiosk-mode .retail-pos-sale .pos-qty-value{display:grid;grid-template-columns:minmax(34px,auto) auto;align-items:center;justify-content:center;gap:3px;min-width:58px;height:36px;padding:0 6px;background:#fff}.pos-kiosk-mode .retail-pos-sale .pos-qty-value input{width:34px;height:34px;padding:0;border:0!important;background:transparent;text-align:right;font-size:13px;font-weight:800;outline:0}.pos-kiosk-mode .retail-pos-sale .pos-qty-value small{display:block!important;margin:0;color:#6f807a;font-size:8px!important;font-weight:700;white-space:nowrap}.pos-kiosk-mode .retail-pos-sale .pos-cart-line>div:first-child small{margin-top:3px}.pos-kiosk-mode .retail-pos-sale .pos-cart-line{grid-template-columns:minmax(0,1fr) auto 92px}.pos-kiosk-mode .retail-pos-sale .pos-line-payable strong{font-size:12px}
.pos-kiosk-mode .retail-pos-sale .pos-cart-line{grid-template-columns:minmax(0,1fr) 92px 108px!important;gap:12px!important;padding:10px 14px!important}.pos-kiosk-mode .retail-pos-sale .pos-qty{display:block!important;width:92px;border:1px solid #c5d2ce;border-radius:7px;background:#fff;box-shadow:none;overflow:hidden}.pos-kiosk-mode .retail-pos-sale .pos-qty-value{display:grid!important;grid-template-columns:minmax(44px,1fr) auto!important;align-items:center!important;justify-content:stretch!important;gap:4px!important;width:100%;height:36px;padding:0 9px!important}.pos-kiosk-mode .retail-pos-sale .pos-qty-value input{width:100%!important;height:34px!important;padding:0!important;text-align:right!important;font-size:14px!important}.pos-kiosk-mode .retail-pos-sale .pos-qty-value small{padding-right:1px;font-size:9px!important}.pos-kiosk-mode .retail-pos-sale .pos-line-payable{min-width:0;text-align:right}.pos-kiosk-mode .retail-cart-heading{grid-template-columns:minmax(0,1fr) 92px 108px!important;gap:12px!important;padding-left:14px!important;padding-right:14px!important}.pos-kiosk-mode .retail-cart-heading span:nth-child(2){text-align:center!important}.pos-kiosk-mode .retail-cart-heading span:nth-child(3){text-align:right!important}
.pos-kiosk-mode .retail-pos-sale .pos-cart-line{grid-template-columns:28px minmax(0,1fr) 92px 108px!important}.pos-cart-row-number{display:grid;place-items:center;width:24px;height:24px;border-radius:6px;background:#e7f1ed;color:#176c56;font-size:11px;font-weight:900}.pos-kiosk-mode .retail-cart-heading{grid-template-columns:28px minmax(0,1fr) 92px 108px!important}.pos-kiosk-mode .retail-cart-heading:before{content:"#";grid-column:1;text-align:center}.pos-kiosk-mode .retail-cart-heading span:first-child{grid-column:2}.pos-kiosk-mode .retail-cart-heading span:nth-child(2){grid-column:3}.pos-kiosk-mode .retail-cart-heading span:nth-child(3){grid-column:4}
.pos-loyalty-decision{display:flex;align-items:center;gap:6px;white-space:nowrap}.pos-loyalty-decision>span{margin-right:3px;color:#53665f;font-size:10px;font-weight:800}.pos-loyalty-decision label{position:relative;cursor:pointer}.pos-loyalty-decision input{position:absolute;opacity:0}.pos-loyalty-decision b{display:grid;place-items:center;min-width:48px;height:34px;border:1px solid #c5d4a1;border-radius:8px;background:#fff;color:#40513c;font-size:11px}.pos-loyalty-decision input:checked+b{border-color:#6b9d18;background:#9ed41d;color:#183406;box-shadow:0 0 0 2px rgba(117,162,24,.17)}.pos-loyalty-decision input:focus-visible+b{outline:3px solid rgba(22,131,101,.27);outline-offset:2px}.pos-redeem-entry{display:grid!important;grid-template-columns:auto 78px;align-items:center;gap:4px!important}.pos-redeem-entry.hidden{display:none!important}.pos-redeem-entry input{width:78px!important;height:38px!important}.pos-redeem-entry small{grid-column:1/-1;text-align:right}
.pos-customer-loyalty-popup{display:grid;gap:16px}.pos-customer-loyalty-popup>header{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid #d6e5df;border-radius:12px;background:#eef8f4}.pos-customer-loyalty-popup>header>span{display:grid;place-items:center;width:42px;height:42px;border-radius:10px;background:#fff0bd;color:#b47b00;font-size:21px}.pos-customer-loyalty-popup header small{color:#557269;font-size:9px;font-weight:900;letter-spacing:.1em}.pos-customer-loyalty-popup header h3{margin:3px 0 0;font-size:18px}.pos-customer-loyalty-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.pos-customer-loyalty-stats article{display:grid;gap:5px;padding:13px;border:1px solid #dae5e1;border-radius:10px;background:#fff}.pos-customer-loyalty-stats small{color:#70807b;font-size:9px}.pos-customer-loyalty-stats b{color:#087058;font-size:15px}.pos-customer-redeem-choice{display:flex;align-items:center;gap:8px;padding:13px;border-radius:10px;background:#f6f9e5}.pos-customer-redeem-choice>span{flex:1;font-size:12px;font-weight:800}.pos-customer-redeem-choice label{position:relative;cursor:pointer}.pos-customer-redeem-choice input{position:absolute;opacity:0}.pos-customer-redeem-choice b{display:grid;place-items:center;width:62px;height:38px;border:1px solid #cbd6ae;border-radius:8px;background:#fff}.pos-customer-redeem-choice input:checked+b{border-color:#79a718;background:#9ed51d;color:#183406;box-shadow:0 0 0 2px rgba(121,167,24,.17)}.pos-customer-redeem-choice input:focus-visible+b{outline:3px solid rgba(22,131,101,.25);outline-offset:2px}.pos-customer-redeem-amount{display:grid;grid-template-columns:1fr 150px;align-items:center;gap:6px;padding:14px;border:1px solid #d4e2dd;border-radius:10px;background:#fff}.pos-customer-redeem-amount.hidden{display:none!important}.pos-customer-redeem-amount>span{font-size:12px;font-weight:800}.pos-customer-redeem-amount input{width:150px;height:44px;text-align:right;font-size:18px;font-weight:800}.pos-customer-redeem-amount small{grid-column:1/-1;color:#71817c;font-size:9px;text-align:right}.pos-loyalty-unavailable{padding:13px;border-radius:9px;background:#f5f6ef;color:#68736e;font-size:11px}@media(max-width:600px){.pos-customer-loyalty-stats{grid-template-columns:1fr}.pos-customer-redeem-amount{grid-template-columns:1fr}}
.pos-loyalty-section-label{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 18px 12px;padding-top:2px}.pos-loyalty-section-label b{font-size:12px;color:#203a32}.pos-loyalty-section-label span{color:#70817b;font-size:10px}.pos-money-input{display:grid;grid-template-columns:auto minmax(90px,1fr) auto;align-items:center;min-height:48px;padding:0 14px;border:1px solid #b9cec6;border-radius:10px;background:#fff;box-shadow:0 3px 10px rgba(24,70,56,.04)}.pos-money-input:focus-within{border-color:#178469;box-shadow:0 0 0 3px rgba(23,132,105,.12)}.pos-money-input small{position:static!important;transform:none!important;color:#526c63}.pos-money-input input{height:46px!important;padding:0 12px!important;border:0!important;background:transparent!important;font-size:18px!important;outline:0!important;box-shadow:none!important}.pos-money-input>b{padding-left:14px;border-left:1px solid #dce7e3;color:#087058;font-size:12px;white-space:nowrap}.pos-loyalty-rule{align-items:stretch}.pos-loyalty-example{border:1px solid #eadba4;border-left:4px solid #d9a514!important;box-shadow:0 3px 12px rgba(68,56,13,.04)}.pos-loyalty-advanced{grid-template-columns:repeat(2,minmax(0,1fr))}.pos-loyalty-manual{border-color:#cbded7;box-shadow:0 5px 16px rgba(28,65,55,.05)}@media(max-width:750px){.pos-loyalty-section-label{align-items:flex-start;flex-direction:column;gap:3px}.pos-money-input{grid-template-columns:auto minmax(70px,1fr) auto}}
.terminal-theme .retail-pos-actions{grid-auto-rows:64px!important;gap:8px!important;padding:10px!important;border-top:1px solid #cbd6d2!important;background:#eef2f1!important}.terminal-theme .retail-pos-actions button{position:relative;display:grid!important;grid-template-columns:38px minmax(0,1fr)!important;grid-template-rows:1fr!important;align-items:center!important;justify-items:start!important;gap:10px!important;min-width:0;padding:8px 12px!important;border:1px solid #cbd7d3!important;border-radius:10px!important;background:#fff!important;color:#263b34!important;box-shadow:0 2px 6px rgba(24,50,42,.08)!important;transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease,background .15s ease!important}.terminal-theme .retail-pos-actions button span{display:grid;place-items:center;width:36px;height:36px;border-radius:9px;background:#e8f3ef;color:#14765e;font-size:18px!important;font-weight:800}.terminal-theme .retail-pos-actions button b{min-width:0;font-size:11px!important;font-weight:800;line-height:1.2;text-align:left}.terminal-theme .retail-pos-actions button:hover:not(:disabled),.terminal-theme .retail-pos-actions button:focus-visible{transform:translateY(-1px);border-color:#68a995!important;background:#fbfffd!important;box-shadow:0 6px 14px rgba(20,83,66,.14)!important;outline:0}.terminal-theme .retail-pos-actions button:active:not(:disabled){transform:translateY(0);box-shadow:0 2px 5px rgba(20,83,66,.12)!important}.terminal-theme .retail-pos-actions button:nth-child(2) span{background:#eaf0fb;color:#426fae}.terminal-theme .retail-pos-actions button:nth-child(3) span{background:#fff2d9;color:#a76c05}.terminal-theme .retail-pos-actions button:nth-child(4) span{background:#f0ebfb;color:#6c4aa4}.terminal-theme .retail-pos-actions .retail-pay{grid-column:1/-1!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:12px!important;min-height:58px;padding:10px 18px!important;border-color:#08745a!important;background:linear-gradient(135deg,#0a8063,#096d55)!important;color:#fff!important;box-shadow:0 5px 14px rgba(8,116,90,.22)!important}.terminal-theme .retail-pos-actions .retail-pay span{width:34px;height:34px;background:rgba(255,255,255,.16);color:#fff}.terminal-theme .retail-pos-actions .retail-pay b{font-size:17px!important;letter-spacing:.04em;text-align:center}.terminal-theme .retail-pos-actions .retail-pay kbd{margin-left:7px;padding:3px 7px;border:1px solid rgba(255,255,255,.28);border-radius:5px;background:rgba(0,0,0,.16);color:#fff;font-size:11px}.terminal-theme .retail-pos-actions .retail-pay:disabled{border-color:#bdc8c4!important;background:#d8dfdc!important;color:#7d8a85!important;box-shadow:none!important;opacity:1!important}.terminal-theme .retail-pos-actions .retail-pay:disabled span{background:#c8d1ce;color:#87938f}.terminal-theme .retail-pos-actions .retail-pay:disabled kbd{border-color:#aeb9b5;background:#bcc5c2;color:#74807c}@media(max-width:780px){.terminal-theme .retail-pos-actions{grid-auto-rows:56px!important;gap:5px!important;padding:6px!important}.terminal-theme .retail-pos-actions button{grid-template-columns:30px minmax(0,1fr)!important;gap:6px!important;padding:6px 8px!important}.terminal-theme .retail-pos-actions button span{width:29px;height:29px;font-size:15px!important}.terminal-theme .retail-pos-actions button b{font-size:9px!important}.terminal-theme .retail-pos-actions .retail-pay{min-height:50px!important}}
.pos-kiosk-mode,.pos-kiosk-mode body{overscroll-behavior:none}.pos-kiosk-mode .workspace{height:100dvh;min-height:0;overflow:hidden}.pos-kiosk-mode .retail-pos-products .pos-work-panel{min-height:0!important;overflow:hidden!important;overscroll-behavior:contain;touch-action:pan-y}.pos-kiosk-mode .pos-stock-panel{display:flex;height:100%;min-height:0;margin:0!important;flex-direction:column;border:0!important;border-radius:0!important;overflow:hidden!important}.pos-kiosk-mode .pos-stock-panel .pos-panel-head,.pos-kiosk-mode .pos-stock-panel .pos-stock-filters{flex:0 0 auto}.pos-kiosk-mode .pos-stock-panel .pos-stock-list{flex:1 1 auto;min-height:0;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable}.pos-kiosk-mode .pos-stock-panel .pos-stock-row{min-height:58px!important;padding:8px 14px!important}.pos-kiosk-mode .pos-stock-panel .pos-stock-row.heading{min-height:38px!important;padding-top:7px!important;padding-bottom:7px!important}.pos-kiosk-mode .pos-stock-row>button,.pos-kiosk-mode .pos-panel-actions button{min-width:46px;min-height:44px;padding:8px 12px!important;border-radius:9px!important;font-size:11px!important;touch-action:manipulation}.pos-kiosk-mode .pos-stock-filters input,.pos-kiosk-mode .pos-stock-filters select{min-height:48px!important;font-size:14px!important}.pos-kiosk-mode button,.pos-kiosk-mode input,.pos-kiosk-mode select{touch-action:manipulation}.pos-kiosk-mode .pos-customer-search,.pos-kiosk-mode .pos-search input{min-height:48px!important}.pos-kiosk-mode .pos-cart-line{min-height:60px}.pos-kiosk-mode .pos-qty-value{min-height:44px!important}.pos-kiosk-mode .pos-qty-value input{min-height:42px!important;font-size:16px!important}.pos-kiosk-mode .pos-cart-lines,.pos-kiosk-mode .pos-stock-list{scrollbar-width:auto;scrollbar-color:#7f9c93 #e6ece9}.pos-kiosk-mode .pos-cart-lines::-webkit-scrollbar,.pos-kiosk-mode .pos-stock-list::-webkit-scrollbar{width:12px}.pos-kiosk-mode .pos-cart-lines::-webkit-scrollbar-track,.pos-kiosk-mode .pos-stock-list::-webkit-scrollbar-track{background:#e6ece9}.pos-kiosk-mode .pos-cart-lines::-webkit-scrollbar-thumb,.pos-kiosk-mode .pos-stock-list::-webkit-scrollbar-thumb{border:3px solid #e6ece9;border-radius:999px;background:#7f9c93}@media(pointer:coarse){.pos-kiosk-mode .retail-pos-top-actions button{min-height:44px!important}.pos-kiosk-mode .pos-f8-lookup{min-width:112px;height:42px}.pos-kiosk-mode .retail-pos-actions button{min-height:56px}.pos-kiosk-mode .pos-stock-row>button{min-width:48px;min-height:48px}.pos-kiosk-mode .pos-panel-actions{gap:8px}.pos-kiosk-mode .pos-panel-actions button{min-height:48px}}@media(max-height:700px){.pos-kiosk-mode .pos-stock-panel .pos-stock-row{min-height:52px!important}.pos-kiosk-mode .retail-pos-actions{grid-auto-rows:54px!important}.pos-kiosk-mode .retail-pos-actions .retail-pay{min-height:50px!important}}
.pos-customer-redeem-choice label b{display:inline-flex;align-items:center;gap:8px}.pos-customer-redeem-choice kbd{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 5px;border:1px solid #c8d4d0;border-radius:5px;background:#f2f6f4;color:#52655f;font:800 10px Manrope,sans-serif;box-shadow:0 1px 0 rgba(26,50,43,.12)}.pos-customer-redeem-choice input:checked+b kbd{border-color:#709000;background:#eef8cb;color:#486000}
.pos-loyalty-pro{margin-top:24px!important;border-color:#c8ddd5!important;border-radius:18px!important;background:#f5f9f7!important;box-shadow:0 12px 32px rgba(18,63,50,.06)}.pos-loyalty-pro .pos-loyalty-settings-head{padding:20px 22px!important;background:linear-gradient(135deg,#e8f6f1,#f9fcfb)!important}.pos-loyalty-pro .pos-loyalty-settings-head>span{width:46px;height:46px;border-radius:13px;font-size:23px}.pos-loyalty-pro .pos-loyalty-settings-head small{display:block;margin-bottom:2px;color:#0f8063;font-size:8px;font-weight:900;letter-spacing:.14em}.pos-loyalty-pro .pos-loyalty-settings-head h3{font-size:18px}.pos-loyalty-pro .pos-loyalty-dashboard{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(280px,.7fr);gap:16px;padding:18px}.pos-loyalty-config,.pos-loyalty-preview,.pos-loyalty-manual-card{border:1px solid #d7e5e0;border-radius:14px;background:#fff;box-shadow:0 5px 16px rgba(18,63,50,.035)}.pos-loyalty-block-head{display:flex;align-items:end;justify-content:space-between;gap:18px;padding:16px 18px;border-bottom:1px solid #e5ece9}.pos-loyalty-block-head small,.pos-loyalty-preview>small{color:#168166;font-size:8px;font-weight:900;letter-spacing:.13em}.pos-loyalty-block-head h4,.pos-loyalty-preview h4{margin:3px 0 0;font-size:14px}.pos-loyalty-block-head>span{color:#75857f;font-size:9px}.pos-loyalty-rule-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:15px}.pos-loyalty-rule-grid article{min-width:0;padding:14px;border:1px solid #dce8e4;border-radius:12px;background:#fbfdfc}.pos-loyalty-rule-grid article header{display:flex;align-items:center;gap:9px;margin-bottom:15px}.pos-loyalty-rule-grid article header i{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#e4f4ee;color:#117258;font-size:17px;font-style:normal;font-weight:900}.pos-loyalty-rule-grid article.redeem header i{background:#fff2d4;color:#9a6900}.pos-loyalty-rule-grid article.expiry header i{background:#e9effb;color:#416ca6}.pos-loyalty-rule-grid article header b{display:block;font-size:12px}.pos-loyalty-rule-grid article header small{display:block;margin-top:2px;color:#75857f;font-size:8px;line-height:1.35}.pos-loyalty-rule-grid label{display:grid;gap:6px}.pos-loyalty-rule-grid label>span,.pos-loyalty-manual label>span{font-size:9px;font-weight:800;color:#52655f}.pos-loyalty-ratio,.pos-loyalty-unit-input{display:grid;grid-template-columns:auto minmax(50px,1fr) auto;align-items:center;height:44px;border:1px solid #bfd1ca;border-radius:9px;background:#fff;overflow:hidden}.pos-loyalty-ratio:focus-within,.pos-loyalty-unit-input:focus-within{border-color:#168166;box-shadow:0 0 0 3px rgba(22,129,102,.1)}.pos-loyalty-ratio em{padding-left:11px;color:#52675f;font-size:10px;font-style:normal;font-weight:800}.pos-loyalty-ratio input,.pos-loyalty-unit-input input{width:100%;height:42px;padding:0 8px;border:0!important;background:transparent!important;box-shadow:none!important;font-size:15px!important;font-weight:800;outline:0}.pos-loyalty-ratio strong,.pos-loyalty-unit-input strong{align-self:stretch;display:flex;align-items:center;padding:0 10px;border-left:1px solid #e1e9e6;color:#08725a;font-size:9px;white-space:nowrap}.pos-loyalty-rule-grid select{width:100%;height:44px;border-radius:9px;font-size:11px}.pos-loyalty-preview{position:relative;padding:19px;background:linear-gradient(150deg,#103f34,#17624f)!important;color:#fff;overflow:hidden}.pos-loyalty-preview:after{content:'★';position:absolute;right:-18px;bottom:-42px;color:rgba(255,255,255,.055);font-size:140px}.pos-loyalty-preview .status{position:absolute;top:16px;right:16px;padding:5px 8px;border-radius:999px;background:#dff8ed;color:#0b684f;font-size:8px;font-weight:900;letter-spacing:.08em}.pos-loyalty-preview>small{color:#8ed4bd}.pos-loyalty-preview h4{max-width:190px;margin-top:5px;color:#fff;font-size:15px}.pos-loyalty-preview-main{position:relative;z-index:1;display:grid;grid-template-columns:auto 1fr;align-items:end;gap:2px 8px;margin:22px 0 16px;padding-bottom:15px;border-bottom:1px solid rgba(255,255,255,.16)}.pos-loyalty-preview-main b{font-size:22px}.pos-loyalty-preview-main span{padding-bottom:3px;color:#b8d9ce;font-size:10px}.pos-loyalty-preview-main strong{grid-column:1/-1;color:#b9f1df;font-size:13px}.pos-loyalty-preview dl{position:relative;z-index:1;margin:0}.pos-loyalty-preview dl div{display:flex;justify-content:space-between;gap:10px;padding:7px 0;border-bottom:1px solid rgba(255,255,255,.1)}.pos-loyalty-preview dt{color:#b7d3ca;font-size:9px}.pos-loyalty-preview dd{margin:0;font-size:10px;font-weight:800;text-align:right}.pos-loyalty-preview p{position:relative;z-index:1;margin:14px 0 0;padding:10px;border-radius:9px;background:rgba(255,255,255,.08);color:#d1e5df;font-size:9px;line-height:1.45}.pos-loyalty-manual-card{margin:0 18px 18px;overflow:hidden}.pos-loyalty-manual-head{display:flex;align-items:center;gap:11px;padding:15px 17px;border-bottom:1px solid #e3ebe8}.pos-loyalty-manual-head>span{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#edf3fb;color:#416da7;font-size:17px;font-weight:900}.pos-loyalty-manual-head h4{margin:0 0 2px;font-size:13px}.pos-loyalty-manual-head p{margin:0;color:#74847e;font-size:9px}.pos-loyalty-pro .pos-loyalty-manual{display:grid!important;grid-template-columns:minmax(180px,1fr) 150px minmax(220px,1.25fr) auto!important;align-items:end;gap:12px;margin:0!important;padding:15px 17px!important;border:0!important;border-radius:0!important;box-shadow:none!important}.pos-loyalty-pro .pos-loyalty-manual label{display:grid;gap:6px;min-width:0}.pos-loyalty-pro .pos-loyalty-manual select,.pos-loyalty-pro .pos-loyalty-manual input{width:100%;height:44px;border-radius:9px;font-size:11px}.pos-loyalty-pro .pos-loyalty-manual label small{color:#778782;font-size:8px}.pos-loyalty-pro .pos-loyalty-manual button{display:grid;align-content:center;min-width:150px;height:44px!important;padding:5px 16px!important;border-radius:9px!important}.pos-loyalty-pro .pos-loyalty-manual button span{font-size:11px}.pos-loyalty-pro .pos-loyalty-manual button small{color:#c8e9de;font-size:7px;font-weight:500}@media(max-width:1180px){.pos-loyalty-pro .pos-loyalty-dashboard{grid-template-columns:1fr}.pos-loyalty-rule-grid{grid-template-columns:repeat(3,minmax(180px,1fr));overflow-x:auto}.pos-loyalty-pro .pos-loyalty-manual{grid-template-columns:1fr 140px 1fr!important}.pos-loyalty-pro .pos-loyalty-manual button{grid-column:1/-1;width:100%}}@media(max-width:760px){.pos-loyalty-pro .pos-loyalty-settings-head{align-items:center!important}.pos-loyalty-pro .pos-loyalty-dashboard{padding:10px}.pos-loyalty-rule-grid{grid-template-columns:1fr;overflow:visible}.pos-loyalty-block-head{align-items:flex-start;flex-direction:column;gap:4px}.pos-loyalty-pro .pos-loyalty-manual{grid-template-columns:1fr!important}.pos-loyalty-pro .pos-loyalty-manual button{grid-column:auto}.pos-loyalty-manual-card{margin:0 10px 10px}}
.pos-close-shift-modal{width:min(680px,calc(100vw - 24px))!important}.pos-close-shift-modal .modal-body{padding:0!important;background:#f4f8f6}.pos-shift-close>header{display:flex;align-items:center;gap:13px;padding:18px 20px;border-bottom:1px solid #dce8e3;background:#fff}.pos-shift-close>header>span{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:#def4eb;color:#0d7a5d;font-size:21px;font-weight:900}.pos-shift-close>header small{color:#118064;font-size:8px;font-weight:900;letter-spacing:.13em}.pos-shift-close>header h3{margin:2px 0;font-size:17px}.pos-shift-close>header p{margin:0;color:#71817b;font-size:10px}.pos-shift-close-summary{display:grid;grid-template-columns:1fr 1.15fr;gap:12px;padding:16px 18px 12px}.pos-shift-close-summary article{display:grid;align-content:center;min-width:0;padding:16px;border:1px solid #d5e4df;border-radius:13px;background:#fff}.pos-shift-close-summary article>small,.pos-shift-close-summary label{color:#5d7069;font-size:9px;font-weight:800}.pos-shift-close-summary article>strong{display:block;margin:7px 0 3px;color:#087058;font-size:25px}.pos-shift-close-summary article>span{color:#84918d;font-size:8px}.pos-shift-close-summary .counted>div{display:grid;grid-template-columns:auto 1fr;align-items:center;height:48px;margin:8px 0 4px;border:1px solid #b8cfc7;border-radius:9px;background:#fff;overflow:hidden}.pos-shift-close-summary .counted>div:focus-within{border-color:#14836a;box-shadow:0 0 0 3px rgba(20,131,106,.11)}.pos-shift-close-summary .counted>div>span{padding-left:13px;color:#526861;font-size:10px;font-weight:800}.pos-shift-close-summary .counted input{width:100%;height:46px;padding:0 12px;border:0!important;background:transparent!important;box-shadow:none!important;text-align:right;font-size:20px!important;font-weight:800;outline:0}.pos-shift-difference{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 18px 12px;padding:13px 15px;border:1px solid;border-radius:11px}.pos-shift-difference>div{display:grid;gap:2px}.pos-shift-difference span{font-size:10px;font-weight:900}.pos-shift-difference small{font-size:8px}.pos-shift-difference strong{font-size:17px;white-space:nowrap}.pos-shift-difference.balanced{border-color:#bfe0d4;background:#eaf7f2;color:#0b7057}.pos-shift-difference.short{border-color:#f0c4c1;background:#fff1f0;color:#b33636}.pos-shift-difference.over{border-color:#ecd7a8;background:#fff8e8;color:#8e6507}.pos-shift-posting-note{display:flex;gap:10px;margin:0 18px 18px;padding:13px 15px;border:1px solid #d8e4e0;border-radius:11px;background:#fff}.pos-shift-posting-note>span{color:#3e718e;font-size:17px}.pos-shift-posting-note b{display:block;margin-bottom:3px;font-size:10px}.pos-shift-posting-note p{margin:0;color:#70807a;font-size:9px;line-height:1.5}.pos-close-shift-modal .modal-foot{padding:13px 18px!important}.pos-close-shift-modal .modal-foot button{min-height:44px;border-radius:9px}.pos-close-shift-modal .modal-foot .save{min-width:180px;background:#0e4b3d}.pos-close-shift-modal .modal-foot .save:hover{background:#0a3e32}@media(max-width:620px){.pos-shift-close-summary{grid-template-columns:1fr}.pos-shift-close>header{align-items:flex-start}.pos-shift-difference{align-items:flex-start;flex-direction:column}.pos-shift-difference strong{align-self:flex-end}.pos-close-shift-modal .modal-foot{display:grid;grid-template-columns:1fr 1fr}.pos-close-shift-modal .modal-foot .save{min-width:0}}
