:root{--comfort-bg: #f7f7f5;--soft-surface: #fafaf8;--surface-soft: #f5f5f2;--surface-tint: #f8ecef;--surface-raised: #ffffff;--soft-accent: #9a6170;--soft-accent-bg: #f2dfe4;--bg: var(--comfort-bg);--panel: #ffffff;--panel-strong: #ffffff;--ink: #252830;--muted: #606571;--line: #e0e1e3;--line-strong: #d1bdc4;--brand: #99364f;--brand-strong: #76273d;--brand-2: #bd8492;--selection-bg: #f0dce2;--selection-border: #a96375;--selection-ink: #6f3445;--info: #33777d;--info-bg: #e4f2f3;--sales: #8f4850;--sales-bg: #f8e5ea;--store: #4f715b;--store-bg: #e9f3ec;--system: #5f627b;--system-bg: #ebeef8;--payment: #9a5a35;--payment-bg: #f8eadf;--task: #775995;--task-bg: #f0e9f8;--qr: #2f7378;--qr-bg: #e4f3f4;--photo: #9a4f75;--photo-bg: #f7e5ef;--warning-bg: #fff3cd;--ok: #4f7a5a;--warn: #9f6508;--danger: #a33a30;--shadow: 0 8px 24px rgba(37, 40, 48, .06);--shadow-soft: 0 1px 3px rgba(37, 40, 48, .025);--shadow-raised: 0 12px 28px rgba(67, 41, 48, .11);--focus-ring: 0 0 0 3px rgba(147, 79, 98, .18);--radius-panel: 8px;--radius-control: 8px}*{box-sizing:border-box}html,body,#app{max-width:100%;overflow-x:hidden}img,video,canvas,table{max-width:100%}body,.card,.task-card,.cs-card,.modal-card,.calendar-day-item{overflow-wrap:anywhere}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0}:is(button,input,select,textarea,summary,a[href],[tabindex]):focus-visible{outline:2px solid var(--brand);outline-offset:2px}.primary-link,.btn.primary{background:var(--brand);color:#fff;text-decoration:none;border-radius:var(--radius-control);padding:10px 14px;display:inline-flex;align-items:center;gap:8px}.btn{min-height:40px;background:#f0efed;color:var(--ink);border-radius:var(--radius-control);padding:8px 12px;font-weight:650;display:inline-flex;align-items:center;justify-content:center;gap:7px;line-height:1.25;min-width:0;text-align:center;transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease}.btn.ghost{background:transparent;border:1px solid var(--line)}.btn.danger{background:#ffe4df;color:var(--danger)}.btn:disabled{cursor:not-allowed;opacity:.62;box-shadow:none}.btn.small{padding:7px 10px;font-size:12px}.login-page{background:var(--bg)}.login-shell{min-height:100vh;display:grid;place-items:center;padding:22px}.login-card{width:min(520px,100%);background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:24px;box-shadow:var(--shadow)}.login-card-wide{width:min(980px,100%)}.login-polish .login-card{padding:28px;box-shadow:var(--shadow)}.login-brand-row{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:18px}.login-brand-row .logo{margin-bottom:0}.login-brand-row h1{letter-spacing:0}.login-lang-toggle{min-width:72px;white-space:nowrap}.login-intro{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(300px,.72fr);gap:18px;align-items:stretch}.login-form-panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius-panel);padding:18px;box-shadow:0 8px 22px #4e25300f}.login-panel-head h3{font-size:24px;margin-top:8px}.login-panel-head p{margin:6px 0 12px}.login-submit{width:100%;min-height:48px;margin-top:8px}.login-choice-row{display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:14px;background:#fff8f6;padding:10px 12px;color:var(--muted);font-size:12px;font-weight:850;line-height:1.35}.login-choice-row input{width:auto;min-width:16px}.auth-debug-message{border:1px solid #f3d19a;background:#fff7e8;color:#7a4c00;border-radius:16px;padding:10px 12px;font-size:12px;font-weight:850;line-height:1.45}.compact-login-card{width:min(520px,100%)}.compact-login-form{display:grid;gap:12px}.security-banner{border:1px solid #f3d19a;background:#fff7e8;color:#7a4c00;border-radius:14px;padding:9px 11px;font-size:12px;font-weight:850;max-width:360px}.app-version-banner{display:flex;align-items:center;gap:8px;flex-wrap:wrap;border:1px solid #f3b8a8;background:#fff2ee;color:#823329;border-radius:14px;padding:8px 10px;font-size:12px;font-weight:850;max-width:min(640px,100%)}.app-version-banner span{color:#6f575b}.app-version-banner .btn{min-height:30px;padding:5px 9px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:14px;margin-bottom:14px}.section-heading p{max-width:520px;margin:4px 0 0}.logo{display:flex;align-items:center;gap:12px;margin-bottom:20px}.logo-mark{width:42px;height:42px;border-radius:var(--radius-panel);background:var(--brand);color:#fff;display:grid;place-items:center;font-weight:900}.kicker{text-transform:none;color:var(--brand);letter-spacing:0;font-size:12px;font-weight:900}h1,h2,h3{margin:0}p{color:var(--muted);line-height:1.55}.field{display:grid;gap:6px;margin:9px 0}.field span,.label{color:var(--muted);font-size:13px;font-weight:600}input,select,textarea{width:100%;min-height:40px;border:1px solid var(--line);border-radius:var(--radius-control);background:#fff;padding:9px 11px;color:var(--ink);transition:border-color .16s ease,box-shadow .16s ease}input:focus,select:focus,textarea:focus{border-color:var(--brand-2);box-shadow:var(--focus-ring)}textarea{min-height:88px;resize:vertical}.field-hint{font-size:11px;color:var(--brand);font-style:normal}.readonly-field,input:disabled,select:disabled,textarea:disabled{background:#f3f0f1;color:#6d5960;border-color:#d7c3c9}.locked-field{border:1px dashed #d7c3c9;border-radius:var(--radius-control);padding:8px;background:#f4edef}.payment-type-locked-field select[data-payment-type-locked=deposit-split]{pointer-events:none;cursor:not-allowed;user-select:none}.payment-type-locked-field select[data-payment-type-locked=deposit-split]:focus{outline:0;box-shadow:none}.grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.grid-4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.nav-btn{text-align:left;border-radius:var(--radius-control);padding:8px 9px;background:transparent;color:var(--muted);font-weight:800;font-size:13px;display:flex;align-items:center;gap:9px}.nav-icon{width:22px;height:22px;display:inline-grid;place-items:center;border-radius:6px;background:#ffffffd1;font-size:14px}.nav-btn.active,.nav-btn:hover{background:var(--selection-bg);color:var(--selection-ink)}.smoke-environment-notice{display:grid;gap:3px;padding:10px 12px;margin:10px 0;border:1px solid var(--line);border-radius:12px;background:#ffffffb8;color:var(--ink)}.smoke-environment-notice b{color:var(--brand)}.smoke-environment-notice :is(span,small){color:var(--muted);line-height:1.35}.smoke-environment-notice.is-warning{background:#fff6ec;border-color:#f0c59e}.smoke-mode-control{display:inline-grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;width:min(440px,100%);margin:8px 0;padding:4px;border:1px solid var(--line);border-radius:8px;background:#ffffffb8}.smoke-mode-control button{min-width:0;min-height:34px;padding:6px 10px;border:0;border-radius:6px;background:transparent;color:var(--muted);font-weight:900}.smoke-mode-control button.is-selected{background:var(--brand);color:#fff}.smoke-mode-control button:focus-visible{outline:2px solid var(--brand);outline-offset:1px}.smoke-result-row.is-warn{border-color:#e0b66d;background:#fff8e8}.lang-icon{width:44px;height:42px;padding:0;display:inline-grid;grid-template-rows:22px 12px;place-items:center;line-height:1}.lang-icon span{font-size:17px}.lang-icon b{font-size:10px;letter-spacing:0}.badge{display:inline-flex;align-items:center;border-radius:999px;padding:6px 10px;background:var(--soft-accent-bg);color:var(--brand);font-weight:900;font-size:12px}.badge.badge-role-admin,.badge.badge-role-management,.badge.badge-role-manager,.badge.badge-role-sales,.badge.badge-role-supervisor,.badge.badge-role-store{background:var(--soft-accent-bg);color:var(--brand)}.badge.module-sales,.badge.badge-sales{background:var(--sales-bg);color:var(--sales)}.badge.module-store,.badge.badge-store{background:var(--store-bg);color:var(--store)}.badge.module-system,.badge.badge-system{background:var(--system-bg);color:var(--system)}.badge.module-payment{background:var(--payment-bg);color:var(--payment)}.badge.module-task{background:var(--task-bg);color:var(--task)}.badge.module-qr{background:var(--qr-bg);color:var(--qr)}.badge.module-photo{background:var(--photo-bg);color:var(--photo)}.badge.module-audit{background:#fff0e8;color:#b5532d}.card{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-panel);padding:15px;box-shadow:var(--shadow-soft)}.card+.card{margin-top:14px}.split-records{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:14px}.page-note{margin:0 0 10px;font-size:12px;font-weight:800;color:var(--muted)}.full-record{min-width:260px;line-height:1.55}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:14px 0}.stat{background:var(--panel-strong);border:1px solid var(--line);border-radius:var(--radius-panel);padding:12px}.stat b{display:block;font-size:26px;margin-top:4px}.tabs{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:var(--radius-panel);background:#fff}.deleted-records-list .is-deleted-record{opacity:.76;background:repeating-linear-gradient(135deg,#a33a300e,#a33a300e 8px,#ffffffc7 8px 16px)}.deleted-records-list .details-row .detail-panel{opacity:.92}table{width:100%;border-collapse:collapse;min-width:760px}th,td{text-align:left;padding:11px;border-bottom:1px solid #f0e6dc;vertical-align:top}th{color:var(--muted);font-size:12px;text-transform:none;letter-spacing:0;background:var(--surface-soft)}.empty{padding:22px;text-align:center;color:var(--muted)}.confirm-box{border:1px solid var(--line);background:var(--surface-soft);border-radius:var(--radius-panel);padding:12px;margin:12px 0}.calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.day{min-height:96px;border:1px solid var(--line);border-radius:14px;background:#fff;padding:8px}.day.out{opacity:.45}.day-number{font-weight:900;margin-bottom:5px}.event{font-size:12px;border-radius:9px;padding:4px 6px;margin:4px 0;background:#efe3d5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.event.company{background:var(--system-bg)}.event.personal{background:var(--store-bg)}.event.record{background:var(--payment-bg)}.permission-row{display:grid;grid-template-columns:190px repeat(6,minmax(78px,1fr));gap:8px;align-items:center;padding:8px;border-radius:13px;background:#fff;border:1px solid var(--line)}.toggle{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--muted)}.toast{position:fixed;right:18px;bottom:18px;background:#2b2225;color:#fff;border-radius:var(--radius-panel);padding:12px 14px;box-shadow:var(--shadow-raised);z-index:20}.toast-danger{background:#8f2f3d}.toast-warning{background:#876021}.toast-success{background:#2f6f4a}.photo-list{color:var(--muted);font-size:12px;margin-top:6px}.modal-backdrop{position:fixed;inset:0;z-index:9000;display:grid;place-items:center;padding:18px;background:#2a1f227a;backdrop-filter:blur(8px)}.modal-card{width:min(760px,100%);max-width:calc(100vw - 24px);max-height:min(88vh,820px);overflow:auto;background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-panel);padding:18px;box-shadow:0 24px 64px #2a1f223d}.modal-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin-bottom:12px}.modal-head p{margin:6px 0 0}.modal-actions{justify-content:flex-end}.kk-confirm-card{width:min(440px,calc(100vw - 28px))}.kk-confirm-head p{margin:6px 0 0;color:var(--ink);font-weight:750;line-height:1.45}.kk-confirm-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.kk-confirm-actions .btn{min-height:48px}form.is-submitting{cursor:progress}form.is-submitting button[type=submit]{opacity:.78;pointer-events:none}@media(max-width:900px){.stats,.grid-3,.grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}.login-intro,.split-records{grid-template-columns:1fr}.login-brand-row{align-items:flex-start}.section-heading{align-items:start;flex-direction:column}.permission-row{grid-template-columns:1fr 1fr 1fr}}@media(max-width:560px){.login-shell{padding:12px;align-items:start}.login-polish .login-card{padding:16px;border-radius:12px}.login-card,.card{border-radius:var(--radius-panel);padding:12px}.grid-2,.grid-3,.grid-4,.stats{grid-template-columns:1fr}.calendar{gap:4px}.day{min-height:78px;padding:5px;border-radius:10px}.event{font-size:10px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
.is-hidden,.hidden{display:none!important}.guided-section-head,.task-dossier-heading{display:flex;align-items:center;gap:9px;margin:0 0 12px;font-size:15px;line-height:1.4;color:var(--ink)}.guided-step-number,.task-dossier-heading>span{display:inline-grid;place-items:center;flex:0 0 24px;width:24px;height:24px;border-radius:50%;background:var(--surface-tint);color:var(--brand-strong);font-size:12px;font-weight:650}.guided-context-note{margin:8px 0 12px;color:var(--muted);font-size:13px;line-height:1.5}.task-dossier-body{display:grid;gap:16px}.task-dossier-section{min-width:0;padding-top:14px;border-top:1px solid var(--line)}.task-dossier .task-dossier-actions{padding-top:14px;border-top:1px solid var(--line)}.task-dossier .task-card-head{padding-bottom:10px}.ordering-review-items{display:grid;gap:0;border:1px solid var(--line);border-radius:8px;overflow:hidden}.ordering-review-items>div{display:grid;grid-template-columns:minmax(100px,.6fr) minmax(0,1fr) auto;align-items:start;gap:12px;padding:12px;border-bottom:1px solid var(--line)}.ordering-review-items>div:last-child{border-bottom:0}.permission-policy-summary{margin:12px 0 20px;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}.permission-policy-summary>summary{min-height:32px;cursor:pointer;color:var(--ink);font-size:14px}.permission-policy-summary>dl{grid-template-columns:repeat(3,minmax(0,1fr));margin:12px 0 0}.permission-policy-summary :is(dt,small){color:var(--muted);font-size:12px}.permission-policy-summary dd{margin:6px 0 0;font-size:14px}.receiving-line-table .receiving-item small{display:block;color:var(--muted);padding-top:6px}.receiving-line-table .receiving-quantity input{max-width:160px}body:is(.mobile-layout-mode,.mobile-preview-mode) .permission-policy-summary>dl{grid-template-columns:1fr}body:is(.mobile-layout-mode,.mobile-preview-mode) .receiving-line-table{display:block;min-width:0}body:is(.mobile-layout-mode,.mobile-preview-mode) .receiving-line-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}body:is(.mobile-layout-mode,.mobile-preview-mode) .receiving-line-table tbody{display:grid;gap:12px}body:is(.mobile-layout-mode,.mobile-preview-mode) .receiving-line-table tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-bottom:1px solid var(--line);padding:12px}body:is(.mobile-layout-mode,.mobile-preview-mode) .receiving-line-table td{display:grid;gap:6px;min-width:0;padding:8px 0;border:0;font-size:15px}body:is(.mobile-layout-mode,.mobile-preview-mode) .receiving-line-table td:before{content:attr(data-label);font-size:12px;color:var(--muted)}body:is(.mobile-layout-mode,.mobile-preview-mode) .receiving-line-table :is(.receiving-item,.receiving-quantity){grid-column:1 / -1}body:is(.mobile-layout-mode,.mobile-preview-mode) .ordering-receiving .receiving-line-table .receiving-quantity input{width:100%;max-width:100%;min-height:44px!important;font-size:16px!important}.ops-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px solid var(--line);border-radius:18px;background:#ffffffb8;margin:14px 0}.ops-toolbar p{margin:0}.cs-filter-bar{display:grid;grid-template-columns:minmax(220px,1fr) 150px 200px minmax(310px,1fr)}.compact-table table{min-width:980px}.compact-table th,.compact-table td{padding:9px 10px}.summary-row td,.audit-summary-row td{vertical-align:middle}.details-row td,.audit-detail-row td{background:#fffafb;padding:0}.detail-panel{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:14px;padding:14px;min-width:0;max-width:100%;overflow:hidden;border-radius:16px;background:#fffdfb}.record-detail-text,.full-record{min-width:0;max-width:100%;line-height:1.7;color:var(--ink);overflow-wrap:anywhere}.record-detail-list{display:grid;gap:8px;min-width:0;max-width:100%;margin:0;padding:0;overflow:hidden}.detail-item{display:grid;grid-template-columns:minmax(112px,.34fr) minmax(0,1fr);align-items:start;gap:10px;padding:9px 10px;border:1px solid var(--line);border-radius:13px;background:#ffffffd1;min-width:0}.detail-item dt{color:var(--muted);font-size:11px;font-weight:950;text-transform:none;letter-spacing:0}.detail-item dd{margin:0;min-width:0;overflow-wrap:anywhere;word-break:break-word;font-weight:750}.detail-item-payment-row dd{white-space:normal}.split-records .detail-panel,.cs-card .detail-panel{grid-template-columns:1fr}.split-records .detail-item,.cs-card .detail-item{grid-template-columns:1fr;gap:4px}.empty-detail{padding:14px;border:1px dashed var(--line);border-radius:14px;color:var(--muted);background:#ffffffc7}.photo-badge{display:inline-flex;align-items:center;border-radius:999px;padding:6px 10px;background:var(--photo-bg);color:var(--photo);font-size:12px;font-weight:900}.payment-style-pill{display:inline-flex;align-items:center;width:max-content;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:950}.payment-style-card{background:var(--qr-bg);color:var(--qr)}.payment-style-cash{background:var(--store-bg);color:var(--store)}.payment-style-transfer{background:var(--payment-bg);color:var(--payment)}.payment-style-other{background:var(--system-bg);color:var(--system)}.amount-cell{display:grid;gap:2px;min-width:118px;line-height:1.2}.amount-cell b{color:var(--ink);font-size:13px;white-space:nowrap}.amount-cell small{color:var(--muted);font-size:11px;font-weight:850;white-space:nowrap}.amount-cell-payment small:first-of-type{color:var(--payment)}.document-link{appearance:none;display:inline-flex;align-items:center;width:max-content;max-width:100%;margin:0;padding:1px 2px;border:0;border-radius:7px;background:transparent;color:var(--brand);font:inherit;font-weight:950;text-align:left;line-height:1.2;cursor:pointer}.document-link:hover,.document-link:focus-visible{background:#fff2f5;color:var(--sales);outline:2px solid var(--brand);outline-offset:2px}.qr-scan-card{max-width:760px}.qr-scan-form{display:grid;grid-template-columns:minmax(0,1fr) 132px;gap:12px;align-items:end}.qr-scan-form .field{margin:0}.qr-scan-form .btn{min-height:46px}.qr-image-tools{display:grid;grid-template-columns:minmax(0,1fr) 132px;gap:12px;align-items:end;margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}.qr-image-tools .field{margin:0}.qr-image-tools input[type=file]{min-height:44px;padding-top:11px}.qr-image-tools .btn{min-height:46px}.operation-type-pill{display:inline-flex;align-items:center;width:max-content;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:950;background:var(--store-bg);color:var(--store)}.operation-type-delivery{background:var(--task-bg);color:var(--task)}.operation-type-customer-return{background:#fff0e8;color:#b5532d}.operation-type-supplier-return{background:var(--system-bg);color:var(--system)}.photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:10px;align-content:start}.photo-thumb{margin:0;min-height:112px;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 8px 22px #2a1f220f}button.photo-thumb{width:100%;padding:0;color:inherit;text-align:left;cursor:zoom-in}button.photo-thumb:hover{border-color:var(--photo);box-shadow:0 10px 28px #b0477e29;transform:translateY(-1px)}button.photo-thumb[data-photo-error="1"]{border-color:#be2a2a6b;background:#fff7f7;box-shadow:none}button.photo-thumb[data-photo-error="1"]:after{content:"";display:block;height:3px;margin:0 8px 8px;border-radius:999px;background:var(--danger);opacity:.72}.photo-thumb img{width:100%;height:92px;object-fit:cover;display:block;background:#f3f0f1}.photo-thumb.placeholder{display:grid;place-items:center;text-align:center;padding-top:14px}.photo-thumb.placeholder span{width:54px;height:54px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(135deg,var(--brand),var(--brand-2));color:#fff;font-weight:900;font-size:12px}.photo-thumb figcaption,.photo-thumb>span,.photo-thumb small{padding:7px 8px;color:var(--muted);font-size:11px;font-weight:800;word-break:break-word}.empty-photo{padding:14px;border:1px dashed var(--line);border-radius:16px;color:var(--muted)}.audit-detail-row pre{margin:0;padding:14px;white-space:pre-wrap;color:var(--ink);font-size:12px}.staff-name-note{appearance:none;display:inline;margin:0;padding:1px 3px;border:0;border-radius:7px;background:transparent;color:inherit;font:inherit;font-weight:inherit;text-align:inherit;cursor:pointer}.staff-name-note:hover,.staff-name-note:focus-visible{background:#fff2f5;color:var(--brand)}.staff-name-note:focus-visible{outline:2px solid var(--brand);outline-offset:2px}.staff-note-inline{display:inline-flex;align-items:center;gap:6px;margin-left:6px;padding:3px 7px;border:1px solid #eadbdd;border-radius:999px;background:#fff8fb;color:var(--muted);font-size:11px;font-weight:850;line-height:1.2;vertical-align:middle;white-space:nowrap}.staff-note-inline b{color:var(--brand);font-size:11px}.staff-note-inline small{color:var(--muted);font-size:11px;font-weight:800}.staff-note-tooltip{position:fixed;z-index:120;display:grid;gap:3px;min-width:160px;max-width:min(260px,calc(100vw - 24px));padding:10px 12px;border:1px solid #d8c6cc;border-radius:10px;background:#fffdfb;color:var(--ink);box-shadow:0 14px 34px #2a1f222e;font-size:12px;line-height:1.25}.staff-note-tooltip:before{content:"";position:absolute;left:16px;top:-6px;width:10px;height:10px;border-left:1px solid #d8c6cc;border-top:1px solid #d8c6cc;background:#fffdfb;transform:rotate(45deg)}.staff-note-tooltip b{color:var(--brand);font-size:12px}.staff-note-tooltip span{color:var(--muted);font-weight:850}@media(max-width:1100px){.cs-filter-bar,.detail-panel{grid-template-columns:1fr}.task-board{grid-template-columns:repeat(2,minmax(0,1fr))}}.secure-login-card{max-width:980px}.task-board{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr));gap:12px}.task-card{position:relative;min-width:0;display:grid;gap:10px;border:1px solid var(--line);border-radius:8px;background:var(--surface-raised);padding:12px;box-shadow:var(--shadow-soft)}.task-card.task-store{border-left:4px solid var(--store);background:#fff}.task-card.task-sales{border-left:4px solid var(--sales);background:#fff}.task-card.task-completed,.task-card.is-completed{border-left-color:var(--ok);background:#f5faf6}.task-card h3{min-width:0;margin:0;overflow-wrap:anywhere}.task-card p{margin:0}.task-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.task-card-select+div .task-card-head,.task-card-select+div h3{padding-right:42px}.task-summary-list{min-width:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(160px,100%),1fr));gap:6px;margin:8px 0 0}.task-summary-list div{min-width:0;display:grid;grid-template-columns:minmax(72px,.42fr) minmax(0,1fr);gap:7px;padding:7px 8px;border:1px solid #eee3e6;border-radius:8px;background:var(--surface-soft)}.task-summary-list dt{color:var(--muted);font-size:11px;font-weight:900;text-transform:none}.task-summary-list dd{margin:0;font-weight:800;overflow-wrap:anywhere}.payment-approval-main div:nth-child(5) dd,.payment-approval-main div:nth-child(6) dd{color:var(--brand)}.task-view-details{margin-top:10px;border:1px solid #f1e7ea;border-radius:8px;background:var(--surface-soft);overflow:hidden}.task-view-details>summary{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:10px 12px;color:var(--brand);cursor:pointer;font-size:13px;font-weight:900;list-style:none}.task-view-details>summary::-webkit-details-marker{display:none}.task-view-details>summary:after{content:"\25be";font-size:11px}.task-view-details:not([open])>summary:after{transform:rotate(-90deg)}.task-view-details .task-summary-list{margin:0 10px 10px}.task-view-details .photo-grid,.task-view-details .completion-proof,.task-view-details .task-qr-actions{margin:10px}.payment-approval-panel{grid-column:1 / -1;display:grid;gap:9px;padding:10px;border:1px dashed var(--brand-2);border-radius:14px;background:#fff8f8db}.payment-approval-panel.is-hidden{display:none}.payment-approval-panel .label{color:var(--muted);font-size:12px;font-weight:900}.payment-approval-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(96px,.45fr);gap:8px;margin:0}.task-filters{display:grid;grid-template-columns:minmax(220px,1fr) 220px minmax(240px,.8fr);gap:10px;margin:14px 0}.task-section{display:grid;gap:10px;margin-top:14px}.task-section>h3{font-size:16px;color:var(--brand)}.completed-task-section{border-top:1px dashed var(--line);padding-top:14px}.task-card.is-completed{opacity:.88;background:#f8f1f3db}.complete-proof-field{padding:10px;border:1px dashed var(--brand-2);border-radius:14px;background:#fff8f8b3}.task-qr-actions{display:grid;justify-items:center;gap:9px;margin-top:10px;padding:10px;border:1px dashed var(--line);border-radius:14px;background:#ffffffb8}.task-qr-head{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.task-qr-actions p,.task-qr-actions small{margin:0;color:var(--muted);font-size:12px;font-weight:750}.qr-code-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px}.qr-code-card{margin:0;display:grid;justify-items:center;gap:7px;padding:9px;border:1px solid var(--line);border-radius:14px;background:#fff;min-width:0}.qr-code-zoom{display:grid;place-items:center;padding:0;background:transparent;border:0;border-radius:12px;cursor:zoom-in}.qr-code-card img{width:132px;height:132px;border-radius:10px;image-rendering:pixelated;background:#fff}.qr-code-card figcaption{display:grid;gap:3px;width:100%;min-width:0;text-align:center}.qr-code-card b{color:var(--brand);font-size:12px}.qr-preview-modal .modal-card{max-width:94vw}.qr-preview-card{width:min(520px,94vw)}.qr-preview-body{display:grid;place-items:center;padding:14px;border:1px solid var(--line);border-radius:20px;background:#fff}.qr-preview-body img{width:min(420px,78vw);height:min(420px,78vw);image-rendering:pixelated}.task-card .tabs.task-action-panel{display:grid;grid-template-columns:repeat(auto-fit,minmax(132px,1fr));gap:9px;align-items:stretch;margin:12px 0 0}.task-action-panel .btn{width:100%;min-height:46px;justify-content:center;border-radius:14px}.task-primary-action{font-size:13px}.task-danger-zone{grid-column:1 / -1;display:grid;grid-template-columns:minmax(180px,1fr) auto;gap:8px;align-items:end;padding:9px;border:1px solid #f0d5d1;border-radius:16px;background:#fff8f6}.task-danger-zone .field{margin:0}.task-delete-reason textarea{min-height:72px}.task-danger-zone .btn.danger{width:auto;min-width:90px}.completion-proof{display:grid;gap:8px;margin-top:10px}@media(max-width:760px){.task-board,.date-range-control{grid-template-columns:1fr}.range-arrow{padding-bottom:0;text-align:center}}.date-range-control{display:grid;grid-template-columns:minmax(150px,1fr) auto minmax(150px,1fr);align-items:end;gap:7px;padding:6px;border:1px solid var(--line);border-radius:14px;background:#fff}.hotel-date-range label{display:grid;gap:4px}.date-range-control input{padding:8px;min-width:0}.range-start,.range-end{width:max-content;border-radius:999px;padding:5px 8px;font-size:11px;font-weight:950;color:#fff}.range-start{background:#765564}.range-end{background:var(--brand)}.range-arrow{color:var(--brand);font-weight:950;padding-bottom:9px}.calendar .day{text-align:left;border:1px solid var(--line)}.calendar .day.selected{border-color:var(--brand);box-shadow:0 0 0 3px #9b647029;background:#fff8fb}.calendar-day-panel{margin:12px 0 14px;border:1px solid var(--line);border-radius:18px;background:#ffffffd1;padding:14px}.calendar-day-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:12px;margin-bottom:12px;border-bottom:1px dashed var(--line)}.calendar-day-counts{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:7px;color:var(--muted);font-size:12px;font-weight:850}.calendar-day-counts b{color:var(--brand);font-size:28px;line-height:1}.calendar-day-counts em{border-radius:999px;padding:5px 8px;background:#f1e7ea;color:var(--brand);font-style:normal;font-weight:900}.calendar-day-list{display:grid;gap:8px}.calendar-day-item{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px;border:1px solid var(--line);border-radius:14px;background:#fff}.calendar-day-copy{display:grid;gap:3px;min-width:0}.calendar-day-copy small{color:var(--muted);font-weight:800}.calendar-day-item-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}.calendar-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin-bottom:12px}.calendar-plus-btn{width:42px;height:42px;border-radius:999px;justify-content:center;font-size:22px;line-height:1;padding:0}.calendar-event-form{margin:12px 0 14px;padding:12px;border:1px dashed var(--line);border-radius:16px;background:#ffffffb8}.more-events{color:var(--brand);font-weight:900}.card-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.photo-uploader{display:grid;gap:8px}.photo-uploader[aria-disabled=true]{opacity:.72;cursor:not-allowed}.photo-uploader[aria-disabled=true] .photo-add-card,.photo-uploader[aria-disabled=true] .photo-source-btn{background:#f6eef1;color:var(--muted);cursor:not-allowed}.photo-uploader[aria-disabled=true] input[type=file]{pointer-events:none}.completion-remark{margin:0;font-size:13px}.date-range-control{position:relative;display:block;padding:0;background:transparent;border:0}.range-summary{width:100%;display:grid;grid-template-columns:auto 1fr auto auto 1fr;align-items:center;gap:8px;padding:8px 10px;border:1px solid var(--line);border-radius:15px;background:#fff;color:var(--ink);text-align:left}.range-summary b{font-size:13px}.range-calendar-panel{position:absolute;z-index:30;right:0;top:calc(100% + 8px);width:min(390px,92vw);padding:12px;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:0 24px 70px #2a1f2233}.range-calendar-head{display:grid;grid-template-columns:42px 1fr 42px;align-items:center;gap:8px;margin-bottom:10px;text-align:center}.range-weekdays,.range-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.range-weekdays span{text-align:center;color:var(--muted);font-size:12px;font-weight:800;padding:5px 0}.range-day{position:relative;min-height:42px;border-radius:0;background:#fff;color:var(--ink);font-weight:850;display:grid;place-items:center;gap:1px}.range-day.is-blank{min-height:42px}.range-day.range-in-between{background:var(--soft-accent-bg)}.range-day.range-selected{background:var(--soft-accent);color:#fff;border-radius:999px}.range-day.range-start-cell{border-top-left-radius:999px;border-bottom-left-radius:999px}.range-day.range-end-cell{border-top-right-radius:999px;border-bottom-right-radius:999px}.range-event-dot{width:5px;height:5px;border-radius:999px;background:#f2a000;display:block}.range-selected .range-event-dot{background:#fff}.range-day:hover{background:#f5cbd4}.range-footer{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px;padding-top:10px;border-top:1px solid var(--line);color:var(--muted);font-size:12px}.cs-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.cs-card{display:grid;gap:10px;padding:14px;border:1px solid var(--line);border-radius:20px;background:#ffffffdb;box-shadow:0 10px 28px #2a1f220f}.cs-card-top{display:flex;justify-content:space-between;align-items:center;gap:8px;color:var(--muted);font-size:12px;font-weight:850}.cs-card h3{display:flex;flex-wrap:wrap;gap:7px;align-items:center;margin:0}.doc-badge{display:inline-flex;border-radius:999px;padding:7px 10px;background:#f1e7ea;color:var(--brand);font-size:12px;font-weight:950}.gr-badge{background:#fff1d8;color:#8a5a00}.cs-card-details{border-top:1px dashed var(--line);padding-top:10px;max-height:min(520px,70vh);overflow:auto;min-width:0}@media(max-width:1100px){.cs-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.range-summary{grid-template-columns:1fr}.range-calendar-panel{position:fixed;left:10px;right:10px;top:70px;width:auto}.range-footer,.cs-card-grid{grid-template-columns:1fr}}.permission-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:start}.permission-group-card{display:grid;gap:10px;padding:12px;border:1px solid var(--line);border-radius:18px;background:#ffffffc7}.permission-group-card h3{color:var(--brand);font-size:15px}.permission-save-bar{position:sticky;bottom:10px;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;padding:12px;border:1px solid var(--line);border-radius:16px;background:#fff8f8f5;box-shadow:0 14px 35px #2a1f221a}.permission-save-bar span{color:var(--muted);font-weight:800;font-size:13px}@media(max-width:1100px){.permission-grid{grid-template-columns:1fr}}.photo-card-uploader{gap:10px}.photo-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(138px,1fr));gap:10px;align-items:stretch}.photo-add-card,.photo-preview-card{min-height:122px;border:1px dashed var(--brand-2);border-radius:18px;background:#ffffffdb;color:var(--ink);display:grid;place-items:center;align-content:center;gap:6px;text-align:center;padding:12px;box-shadow:0 8px 22px #2a1f220f}.photo-add-card{cursor:pointer}.photo-add-card:hover{background:#fff8fb;border-color:var(--soft-accent)}.photo-add-card input{position:absolute;inline-size:1px;block-size:1px;opacity:0;pointer-events:none}.photo-add-icon{width:42px;height:42px;border:0;padding:0;border-radius:16px;display:grid;place-items:center;background:var(--soft-accent-bg);color:var(--brand);font-size:26px;font-weight:950;cursor:pointer}.photo-add-icon:hover,.photo-add-icon:focus-visible{background:#f2d7df;outline:2px solid rgba(157,79,104,.22);outline-offset:2px}.photo-add-card b,.photo-preview-card b{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.photo-add-card em,.photo-preview-card em{color:var(--muted);font-style:normal;font-size:11px;font-weight:850}.photo-preview-card{position:relative;border-style:solid;overflow:hidden;cursor:pointer}.photo-preview-card img{width:100%;height:76px;object-fit:cover;border-radius:12px;background:#f3f0f1}.photo-preview-card:hover em{color:var(--danger)}.photo-preview-icon{width:48px;height:48px;border-radius:16px;display:grid;place-items:center;background:#f7eef1;font-size:24px}.today-workbench{display:grid;gap:16px;margin-bottom:20px}.workbench-hero{display:flex;align-items:center;justify-content:space-between;gap:20px}.workbench-hero .dashboard-loaded-scope{max-width:72ch;margin:0;color:var(--muted);font-size:13px;line-height:1.55}.workbench-date{flex-shrink:0;display:grid;justify-items:end;gap:3px;color:var(--muted);font-size:12px}.workbench-date time{color:var(--ink);font-weight:700}.today-workbench .today-summary-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.today-workbench .today-summary-card{min-width:0;min-height:112px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;align-content:center;gap:8px 10px;padding:16px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);text-align:left;box-shadow:0 2px 6px #2a1f2206}.today-workbench .today-summary-card>:first-child{grid-column:2;grid-row:1 / 3;color:var(--brand);font-size:22px}.today-workbench .today-summary-card b{grid-column:1;grid-row:1;font-size:29px;line-height:1.1;color:var(--ink)}.today-workbench .today-summary-card em{grid-column:1;grid-row:2;font-size:13px;line-height:1.4;font-style:normal;color:var(--muted);font-weight:600;overflow-wrap:anywhere}.today-summary-card:hover,.dashboard-task-link:hover{background:var(--brand-soft, #f9f2f4)}.today-summary-card:focus-visible,.dashboard-task-link:focus-visible{outline:3px solid var(--brand);outline-offset:2px}.dashboard-workbench-columns{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:20px;align-items:start}.dashboard-panel{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:12px;background:#fff}.dashboard-panel-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 18px;border-bottom:1px solid var(--line)}.dashboard-panel-heading h2{margin:0;color:var(--ink);font-size:17px;line-height:1.4}.dashboard-panel-heading>span{color:var(--muted);font-size:12px;text-align:right}.dashboard-panel-heading .btn{min-height:40px;padding:7px 10px;font-size:13px}.dashboard-pending-table{width:100%;min-width:0;border-collapse:collapse;table-layout:fixed}.dashboard-pending-table th,.dashboard-pending-table td{padding:12px 14px;border-bottom:1px solid var(--line);text-align:left;vertical-align:middle;font-size:13px;overflow-wrap:anywhere}.dashboard-pending-table th{background:#faf8f7;color:var(--muted);font-size:12px;font-weight:600}.dashboard-pending-table th:first-child{width:45%}.dashboard-pending-table th:nth-child(2){width:13%}.dashboard-pending-table th:nth-child(3){width:21%}.dashboard-pending-table tbody tr:last-child td{border-bottom:0}.dashboard-task-link{display:grid;gap:5px;width:100%;min-height:44px;padding:3px 0;border:0;background:transparent;color:var(--ink);text-align:left;font:inherit;cursor:pointer}.dashboard-task-link span{font-weight:700;color:var(--brand);overflow-wrap:anywhere}.dashboard-task-link small{color:var(--muted);font-size:12px;line-height:1.4;overflow-wrap:anywhere}.dashboard-task-status{display:inline-flex;padding:5px 8px;border-radius:6px;color:#76521a;background:#fff5df;font-size:12px;line-height:1.4}.dashboard-task-status[data-status=accepted]{background:#eaf2f9;color:#365974}.dashboard-task-status[data-status=partially_confirmed]{background:#edf5ec;color:#3c6841}.dashboard-agenda-range{margin:16px 18px 5px;color:var(--ink);font-size:13px;font-weight:600}.dashboard-agenda-scope{margin:0 18px 16px;color:var(--muted);font-size:12px;line-height:1.5}.dashboard-agenda-days{display:grid;gap:16px;padding:0 18px 18px}.dashboard-agenda-day h3{margin:0 0 8px;color:var(--muted);font-size:12px}.dashboard-agenda-day ul{display:grid;gap:10px;list-style:none;margin:0;padding:0}.dashboard-agenda-day li{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:8px;font-size:13px;line-height:1.5;overflow-wrap:anywhere}.dashboard-event-kind{padding:2px 6px;border-radius:4px;background:#eef1f7;color:#4b5d7c;font-size:11px}.dashboard-event-kind[data-kind=personal]{background:#f4eef6;color:#745580}.dashboard-empty,.dashboard-agenda-more{margin:0;padding:24px 18px;color:var(--muted);font-size:13px;line-height:1.6}.dashboard-agenda-more{padding-top:0}.dashboard-quick-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;margin-top:20px;padding:16px 18px;border:1px solid var(--line);border-radius:12px;background:#fff}.dashboard-quick-actions h2{margin:0;font-size:14px}.dashboard-quick-actions>div{display:flex;flex-wrap:wrap;gap:8px}.dashboard-quick-actions .btn{min-height:44px;font-size:13px}@media(max-width:1050px){.dashboard-workbench-columns{grid-template-columns:minmax(0,1fr)}}body:is(.mobile-layout-mode,.mobile-preview-mode) .workbench-hero{align-items:start;flex-direction:column;gap:8px}body:is(.mobile-layout-mode,.mobile-preview-mode) .workbench-date{display:flex;flex-wrap:wrap;gap:12px}body:is(.mobile-layout-mode,.mobile-preview-mode) .today-workbench .today-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}body:is(.mobile-layout-mode,.mobile-preview-mode) .today-workbench .today-summary-card{min-height:94px;padding:14px}body:is(.mobile-layout-mode,.mobile-preview-mode) .today-workbench .today-summary-card:last-child:nth-child(odd){grid-column:1 / -1}body:is(.mobile-layout-mode,.mobile-preview-mode) .today-workbench .today-summary-card b{font-size:26px}body:is(.mobile-layout-mode,.mobile-preview-mode) .dashboard-panel-heading{flex-wrap:wrap;padding:14px}body:is(.mobile-layout-mode,.mobile-preview-mode) .dashboard-panel-heading>span{text-align:left}body:is(.mobile-layout-mode,.mobile-preview-mode) .dashboard-pending-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}body:is(.mobile-layout-mode,.mobile-preview-mode) .dashboard-pending-table tbody{display:block;padding:0 14px}body:is(.mobile-layout-mode,.mobile-preview-mode) .dashboard-pending-table tr{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;padding:14px 0;border-bottom:1px solid var(--line)}body:is(.mobile-layout-mode,.mobile-preview-mode) .dashboard-pending-table tbody tr:last-child{border-bottom:0}body:is(.mobile-layout-mode,.mobile-preview-mode) .dashboard-pending-table td{min-width:0;display:grid;align-content:start;gap:4px;padding:0;border:0;font-size:13px}body:is(.mobile-layout-mode,.mobile-preview-mode) .dashboard-pending-table td:first-child{grid-column:1 / -1}body:is(.mobile-layout-mode,.mobile-preview-mode) .dashboard-pending-table td[data-label]:before{content:attr(data-label);color:var(--muted);font-size:11px}body:is(.mobile-layout-mode,.mobile-preview-mode) .dashboard-task-link{padding:0}body:is(.mobile-layout-mode,.mobile-preview-mode) .dashboard-quick-actions{padding:14px}body:is(.mobile-layout-mode,.mobile-preview-mode) .dashboard-quick-actions>div{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}body:is(.mobile-layout-mode,.mobile-preview-mode) .dashboard-quick-actions .btn{width:100%;white-space:normal}body:is(.mobile-layout-mode,.mobile-preview-mode) .dashboard-workbench-columns{grid-template-columns:minmax(0,1fr)}.status-badge{display:inline-flex;align-items:center;width:max-content;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:950;background:#f1e7ea;color:var(--brand)}.status-badge:before{content:"";width:7px;height:7px;border-radius:999px;margin-right:6px;background:currentColor;box-shadow:0 0 0 2px #ffffffc7}.status-pending{background:var(--warning-bg);color:#8a5a00}.status-active{background:#eaf7ed;color:#287640}.status-accepted{background:var(--qr-bg);color:var(--qr)}.status-available{background:var(--store-bg);color:var(--ok)}.status-partially-confirmed{background:#fff4d6;color:#9a5c00}.status-completed{background:var(--store-bg);color:var(--ok)}.status-discontinued{background:#ece8e7;color:#786568}.status-deleted{background:#ffe4df;color:var(--danger)}.status-edited{background:var(--task-bg);color:var(--task)}.status-record{background:var(--system-bg);color:var(--system)}.status-abandoned{background:#f3f0f1;color:#6d5960}.status-edited,.status-record{background:var(--system-bg);color:var(--system)}.status-photo,.status-no-photo{background:var(--photo-bg);color:var(--photo)}.record-status-line{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}.step-form{display:grid;gap:12px}.record-step-card{position:relative;display:grid;gap:10px;padding:14px;border:1px solid var(--line);border-radius:18px;background:#ffffffb8}.record-step-card h3{padding-left:34px;color:var(--brand);font-size:15px}.step-number{position:absolute;left:14px;top:13px;width:24px;height:24px;border-radius:999px;display:grid;place-items:center;background:var(--brand);color:#fff;font-size:12px;font-weight:950}@media(max-width:760px){.record-step-card{padding:16px 12px;border-radius:16px}.record-step-card .grid-2,.record-step-card .grid-3,.record-step-card .grid-4{grid-template-columns:1fr}.nav-btn{min-height:42px}.calendar-day-item{grid-template-columns:1fr}}.duplicate-invoice-alert{display:inline-flex;margin-top:6px;padding:8px 10px;border-radius:12px;border:1px solid #f0c36d;background:#fff8e6;color:#875400;font-weight:900}.duplicate-invoice-alert:before{content:"\26a0\fe0f";margin-right:6px}.duplicate-invoice-alert.duplicate-blocked{border-color:#df9aa5;background:#fff1f3;color:#8f4f5f}.repeated-invoice-badge{display:inline-flex;align-items:center;width:max-content;margin-top:5px;padding:5px 9px;border-radius:999px;background:#ffe08a;color:#6f4000;border:2px solid #e3a51b;font-size:11px;font-weight:1000;box-shadow:0 2px 8px #8a5a0024;cursor:pointer;appearance:none}.repeated-invoice-badge:hover{background:#ffd765;transform:translateY(-1px)}.permission-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.permission-group-card{min-width:0;max-width:100%;overflow:hidden}.permission-row{display:grid;grid-template-columns:1fr;gap:10px;align-items:start;width:100%;min-width:0;padding:12px}.permission-row>b{min-width:0;font-size:16px;line-height:1.2}.permission-toggles{display:grid;grid-template-columns:repeat(auto-fit,minmax(102px,1fr));gap:8px;min-width:0}.permission-toggle{min-width:0;padding:8px 9px;border:1px solid #f1e7ea;border-radius:12px;background:#fffdfb}.permission-toggle span{white-space:normal;overflow:visible;text-overflow:clip;line-height:1.2;overflow-wrap:normal;word-break:keep-all}.active-toggle{width:max-content;max-width:100%;white-space:nowrap;margin:18px 0 8px;padding:8px 2px}.active-toggle span{white-space:nowrap}.range-summary{grid-template-columns:minmax(164px,1fr) auto minmax(164px,1fr);gap:10px}.range-boundary{display:grid;grid-template-columns:1fr;gap:4px;min-width:0;padding:10px 12px;border-radius:14px;background:#f7f3f3;color:var(--ink);text-align:left}.range-boundary.active{box-shadow:0 0 0 2px #9b647038;background:#fff8fb}.range-boundary span{width:max-content;max-width:100%}.range-boundary strong{display:block;min-width:0}.range-boundary b{display:block;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:15px;color:var(--ink)}@media(max-width:760px){.permission-grid,.range-summary{grid-template-columns:1fr}.range-arrow{display:none}}.cs-filter-bar{grid-template-columns:minmax(210px,1fr) minmax(126px,.34fr) minmax(145px,.4fr) minmax(116px,.32fr) minmax(260px,.62fr);align-items:stretch}.task-filters{grid-template-columns:minmax(220px,1fr) minmax(170px,.4fr) minmax(260px,.62fr);align-items:stretch}.date-range-control{position:relative}.range-trigger{width:100%;min-height:48px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--line);border-radius:16px;background:#fff;color:var(--ink);text-align:left;box-shadow:0 8px 22px #2a1f220d}.calendar-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:12px;background:var(--soft-accent-bg);color:var(--brand);font-size:18px}.range-picker-label{display:grid;gap:2px;min-width:0}.range-picker-label small{color:var(--muted);font-size:10px;font-weight:950;text-transform:none;letter-spacing:0}.range-picker-label b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.range-trigger-caret{color:var(--brand);font-weight:950}.range-calendar-panel{position:fixed;top:84px;right:clamp(16px,3vw,44px);width:min(430px,92vw);padding:14px;max-height:calc(100vh - 108px);overflow-y:auto;overscroll-behavior:contain}.range-mode-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px}.range-boundary{display:grid;gap:3px;min-width:0;padding:10px 12px;border:1px solid var(--line);border-radius:14px;background:#f8f4f4;color:var(--ink);text-align:left}.range-boundary.active{border-color:var(--brand);background:#fff8fb;box-shadow:0 0 0 3px #9b647024}.range-boundary span{color:var(--muted);font-size:11px;font-weight:950;text-transform:none}.range-boundary b{white-space:nowrap;font-size:13px}.range-calendar-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:4px 0 14px}.range-month-label{background:transparent;color:var(--ink);font-size:18px;font-weight:950;padding:4px 0}.range-month-actions{display:flex;align-items:center;gap:18px}.range-nav{width:36px;height:36px;display:grid;place-items:center;background:transparent;color:var(--ink);font-size:32px;line-height:1}.range-weekdays span{font-size:13px;color:var(--ink);font-weight:950}.range-calendar-grid{gap:5px}.range-day{min-height:38px;border-radius:10px;font-size:16px}.range-day.range-out{color:#9b9093}.range-day.range-selected{background:var(--brand);color:#fff;border-radius:8px;box-shadow:inset 0 0 0 3px #8f4f5f47}.range-day.range-in-between{background:var(--soft-accent-bg);color:var(--brand)}.range-footer{display:flex;justify-content:space-between;align-items:center;border-top:0;margin-top:12px;padding-top:4px}.range-footer button{background:transparent;color:var(--brand);font-size:16px;font-weight:850;padding:8px 4px}.permission-shell{overflow:visible}.permission-page-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,320px);gap:14px;align-items:start;margin-bottom:14px}.permission-role-select{margin:0}.permission-grid{display:grid;grid-template-columns:1fr;gap:14px;align-items:stretch}.permission-group-card{display:grid;gap:10px;padding:14px;overflow:visible}.permission-group-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:8px;border-bottom:1px dashed var(--line)}.permission-group-head span{color:var(--muted);font-size:12px;font-weight:900}.permission-card-list{display:grid;gap:8px}.permission-row{grid-template-columns:minmax(170px,.26fr) minmax(0,1fr);align-items:center;gap:12px}.permission-module-title{display:grid;gap:3px;min-width:0}.permission-module-title b{font-size:15px}.permission-module-title small{color:var(--muted);font-weight:850}.permission-toggles{grid-template-columns:repeat(auto-fit,minmax(116px,1fr))}.permission-toggle{padding:8px 10px}.audit-log-card>p{margin-top:0;font-size:16px}@media(max-width:760px){.permission-page-head,.permission-row{grid-template-columns:1fr}.range-calendar-panel{position:fixed;left:10px;right:10px;top:70px;width:auto}}.permission-group-card{padding:10px;gap:7px}.permission-group-head{padding-bottom:6px}.permission-group-head h3{font-size:14px}.permission-card-list{gap:6px}.permission-row{grid-template-columns:minmax(130px,.2fr) minmax(0,1fr);gap:8px;padding:6px 8px;border-radius:12px}.permission-module-title b{font-size:13px}.permission-module-title small{font-size:10px}.permission-toggles{grid-template-columns:repeat(auto-fit,minmax(88px,1fr));gap:5px}.permission-toggle{min-height:30px;padding:5px 7px;gap:4px;font-size:11px;border-radius:10px}.permission-toggle input{width:14px;height:14px}.permission-save-bar{padding:9px 10px;margin-top:10px}@media(max-width:1120px){.cs-filter-bar,.task-filters{grid-template-columns:1fr 1fr}.cs-filter-bar .date-range-control,.task-filters .date-range-control{grid-column:auto}}@media(max-width:760px){.cs-filter-bar,.task-filters{grid-template-columns:1fr}.cs-filter-bar .date-range-control,.task-filters .date-range-control{grid-column:auto}}.cs-heatmap-shell{display:grid;gap:12px;margin-top:14px}.cs-heatmap-title{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;padding:12px;border:1px solid var(--line);border-radius:18px;background:#ffffffb8}.cs-heatmap-title h3{margin-top:6px}.cs-heatmap-title p{margin:4px 0 0}.cs-heatmap-count{display:grid;justify-items:end;color:var(--muted);font-size:12px;font-weight:850}.cs-heatmap-count b{color:var(--brand);font-size:26px;line-height:1}.cs-heatmap{display:grid;grid-template-columns:repeat(7,minmax(92px,1fr));gap:8px}.cs-date-lane{min-width:0;border:1px solid var(--line);border-radius:18px;background:#fffdfbe6;overflow:hidden}.cs-date-lane.no-data{background:#faf7f6cc}.cs-date-head{display:grid;gap:2px;padding:10px;border-bottom:1px solid var(--line);background:#fff8fb}.cs-date-head span{color:var(--brand);font-size:11px;font-weight:950;text-transform:none;letter-spacing:0}.cs-date-head b{font-size:13px}.cs-date-head em{color:var(--muted);font-size:11px;font-style:normal;font-weight:850}.cs-heat-cells{display:grid;gap:7px;padding:9px;align-content:start;min-height:104px}.cs-heat-tile{width:100%;display:grid;gap:2px;text-align:left;padding:9px;border:1px solid rgba(143,79,95,.18);border-radius:13px;background:var(--soft-accent-bg);color:var(--brand);box-shadow:inset 4px 0 #8f4f5f66}.cs-heat-tile.hot{background:#fff}.cs-heat-tile.warm{background:#fff8ef}.cs-heat-tile.selected{background:var(--brand);color:#fff;box-shadow:0 0 0 3px #8f4f5f2e}.cs-heat-tile b{font-size:13px;overflow-wrap:anywhere}.cs-heat-tile span{font-size:11px;font-weight:850;opacity:.85}.cs-heat-empty{display:grid;place-items:center;min-height:64px;border:1px dashed var(--line);border-radius:13px;color:var(--muted);font-size:12px;font-weight:850;text-align:center;padding:8px}.cs-document-panel{margin-top:14px;padding:12px;border:1px solid var(--line);border-radius:20px;background:#ffffffd1}.cs-document-panel.empty-detail{display:grid;gap:4px;color:var(--muted)}.cs-document-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:10px}.cs-document-head h3{font-size:24px;color:var(--brand)}.cs-document-records{display:grid;gap:12px}.cs-card-open .detail-panel{margin-top:10px}@media(max-width:1180px){.cs-filter-bar{grid-template-columns:1fr 1fr}}@media(max-width:900px){.cs-heatmap{grid-template-columns:repeat(auto-fit,minmax(118px,1fr))}}@media(max-width:760px){.cs-heatmap-title,.cs-document-head{align-items:stretch;flex-direction:column}.cs-heatmap-count{justify-items:start}}.cs-document-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(138px,1fr));gap:7px;margin:8px 0 10px}.cs-document-summary span{display:grid;gap:2px;padding:8px 9px;border:1px solid var(--line);border-radius:13px;background:#fff8fb;color:var(--muted);font-size:11px;font-weight:850}.cs-document-summary b{color:var(--brand);font-size:14px}.cs-doc-groups{display:grid;gap:9px}.cs-doc-group{border:1px solid var(--line);border-radius:16px;background:#ffffffbd;overflow:hidden}.cs-doc-group-head{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:8px 10px;background:#fff8ef;border-bottom:1px solid var(--line)}.cs-doc-group-head b{color:var(--brand)}.cs-doc-group-head span{color:var(--muted);font-size:12px;font-weight:850}.cs-compact-row{display:grid;grid-template-columns:minmax(165px,.26fr) minmax(0,1fr) minmax(110px,.2fr);gap:8px;align-items:start;padding:8px 10px;border-top:1px solid #f5ecef}.cs-compact-row:first-of-type{border-top:0}.cs-compact-main{display:grid;gap:5px;min-width:0}.cs-compact-main strong{display:flex;flex-wrap:wrap;gap:4px;min-width:0}.cs-mini-details{display:grid;grid-template-columns:repeat(auto-fit,minmax(112px,1fr));gap:5px;min-width:0}.cs-mini-details span{min-width:0;padding:6px 7px;border:1px solid #f1e7ea;border-radius:10px;background:#fff}.cs-mini-details em{display:block;color:var(--muted);font-size:10px;font-style:normal;font-weight:950;text-transform:none;letter-spacing:0}.cs-mini-details b{display:block;margin-top:1px;color:var(--ink);font-size:12px;overflow-wrap:anywhere}.cs-photo-strip{display:flex;flex-wrap:wrap;gap:4px;justify-content:flex-end}.cs-photo-pill{max-width:118px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:999px;padding:5px 7px;background:var(--soft-accent-bg);color:var(--brand);font-size:11px;font-weight:850}.cs-detail-filter{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 10px}.cs-document-timeline{display:grid;gap:7px;margin:8px 0 10px;padding:9px;border:1px solid #f1e4e8;border-radius:15px;background:#fffdfd}.cs-document-timeline summary{cursor:pointer;color:var(--brand);font-size:13px;font-weight:950}.cs-document-timeline h4{margin:0;color:var(--brand);font-size:13px}.cs-timeline-item{display:grid;grid-template-columns:minmax(120px,.3fr) minmax(110px,.25fr) minmax(0,1fr);gap:7px;align-items:center;padding:7px 8px;border-radius:11px;background:#fff8fb;font-size:12px}.cs-timeline-item time{color:var(--brand);font-weight:900;overflow-wrap:anywhere}.cs-timeline-item span{color:var(--muted);font-weight:850}.cs-timeline-item b{min-width:0;overflow-wrap:anywhere}.cs-audit-inline{margin-top:10px;padding:9px;border:1px solid var(--line);border-radius:15px;background:#fff}.photo-preview-modal .modal-card{width:min(860px,calc(100vw - 32px));max-width:calc(100vw - 24px);max-height:calc(100vh - 24px)}.photo-preview-dialog{overflow:auto}.photo-preview-body{display:grid;place-items:center;padding:10px;background:#171112;border-radius:16px;max-height:min(66vh,620px);overflow:hidden}.photo-preview-body img{display:block;width:auto;height:auto;max-width:100%;max-height:min(62vh,560px);object-fit:contain;border-radius:12px;background:#fff}.photo-preview-placeholder{width:min(420px,100%);min-height:220px;display:grid;place-items:center;gap:6px;padding:18px;border:1px dashed rgba(255,255,255,.38);border-radius:15px;color:#fff;text-align:center}.photo-preview-placeholder img{width:min(260px,100%);aspect-ratio:1;object-fit:cover;border-radius:16px;background:#fff;opacity:.92}.photo-preview-placeholder small{color:#ffffffad}@media(max-width:980px){.cs-compact-row{grid-template-columns:1fr}.cs-photo-strip{justify-content:flex-start}.cs-timeline-item{grid-template-columns:1fr}}.ui-polish-scope,.ui-polish-scope *{min-width:0}.ui-polish-scope .card,.ui-polish-scope .task-card,.ui-polish-scope .workspace-card,.ui-polish-scope .cs-document-panel,.ui-polish-scope .permission-group-card{max-width:100%;overflow:hidden}.ui-polish-scope p,.ui-polish-scope dd,.ui-polish-scope td,.ui-polish-scope th,.ui-polish-scope span,.ui-polish-scope b,.ui-polish-scope strong{overflow-wrap:anywhere}.ui-polish-scope .card-head,.ui-polish-scope .task-card-head,.ui-polish-scope .modal-head,.ui-polish-scope .calendar-head,.ui-polish-scope .cs-document-head{flex-wrap:wrap}.compact-table td:last-child,.compact-table th:last-child{width:1%;white-space:nowrap}.compact-table .tabs{margin:0;gap:5px;justify-content:center}.compact-table .btn{padding:6px 8px;font-size:12px;min-height:32px;border-radius:10px}.record-action-cell{white-space:normal!important}.record-action-cell .record-icon-action{width:34px;min-width:34px;max-width:34px;min-height:34px;padding:0;display:inline-flex;align-items:center;justify-content:center;margin:2px;border-radius:11px;font-size:15px;line-height:1}.record-action-cell .record-transfer-status-icon{width:34px;min-width:34px;max-width:34px;min-height:34px;padding:0;justify-content:center;border-radius:11px;font-size:15px;line-height:1}.record-action-cell .record-transfer-status,.record-action-cell .deleted-record-date,.record-action-cell .record-policy-hint{white-space:normal;display:inline-flex;max-width:150px;vertical-align:middle}.record-action-cell .record-transfer-status-icon{max-width:34px;white-space:nowrap}.record-action-cell .record-policy-hint-icon{width:34px;min-width:34px;max-width:34px;min-height:34px;padding:0;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:11px;background:#fff6cf;color:#8a5a00;font-size:15px;font-weight:950;line-height:1;white-space:nowrap}.task-card .tabs.task-action-panel{align-items:center}.task-action-panel .btn{min-height:38px;padding:8px 10px;font-size:12px}.task-danger-zone{align-items:center}.task-danger-zone .btn.danger{justify-self:center;min-height:38px}.task-qr-actions{width:100%}.task-qr-head{width:100%;justify-content:center}.qr-code-grid{width:min(190px,100%);grid-template-columns:1fr}.empty,.empty-detail{display:grid;place-items:center;text-align:center}.photo-card-grid{grid-template-columns:repeat(auto-fill,minmax(128px,1fr))}.cs-photo-strip{justify-content:center}.modal-actions{gap:8px}@media(max-width:640px){.btn{width:auto}.task-danger-zone{grid-template-columns:1fr}.task-danger-zone .btn.danger,.record-bulk-toolbar{width:100%}.record-bulk-toolbar>summary{width:100%;justify-content:space-between}.record-bulk-popover{width:100%}.payment-approval-actions{grid-template-columns:1fr}.compact-table td:last-child,.compact-table th:last-child{white-space:normal}.compact-table .tabs{justify-content:flex-start}}
.task-summary-card{align-content:start}.task-summary-card h3{font-size:22px;letter-spacing:0}.task-summary-list{margin-top:12px;border:1px solid #f1e7ea;border-radius:16px;overflow:hidden;background:#ffffffb8}.task-summary-list div{grid-template-columns:120px minmax(0,1fr);padding:10px 12px;border-top:1px solid #f1e7ea}.task-summary-list div:first-child{border-top:0}.task-summary-list dd{font-size:15px;line-height:1.25}.task-qr-actions{margin-top:14px;padding:12px;background:#fffdfb}.qr-code-grid{width:min(170px,100%)}.qr-code-card img{width:116px;height:116px}.task-card .tabs.task-action-panel{grid-template-columns:repeat(2,minmax(0,1fr));align-items:center}.task-action-panel .btn{min-height:40px}.task-danger-zone{margin-top:2px;grid-template-columns:minmax(0,1fr) 104px;align-items:center}.task-delete-reason textarea{min-height:58px}.audit-summary-cell{max-width:420px;font-size:13px;line-height:1.35;overflow-wrap:anywhere}.audit-detail-row pre{max-height:360px;overflow:auto;white-space:pre-wrap;word-break:break-word;background:#fff;border-radius:14px}.audit-load-more-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px 14px;margin:14px 0 2px;padding:12px;border-top:1px solid var(--line);color:var(--muted);font-size:13px;font-weight:850}.audit-load-more-row .btn{min-width:min(220px,100%)}.ordering-card{max-width:1120px;margin-inline:auto}.ordering-hero{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:14px;padding-bottom:14px;border-bottom:1px solid #f1e4e8}.ordering-hero p{max-width:760px;margin:0;color:var(--muted);font-size:16px;line-height:1.55}.ordering-form{gap:14px}.ordering-step-card{padding:18px;background:#fffdfb}.ordering-basic-card{gap:14px}.ordering-step-card h3{font-size:17px}.ordering-details-card>h3{padding-right:48px}.ordering-reset{position:absolute;top:11px;right:12px;width:38px;min-width:38px;height:38px;min-height:38px;padding:0}.compact-readonly-grid{align-items:start}.compact-readonly-grid .locked-field{padding:0;background:transparent;border:0}.ordering-kcode-row{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(230px,.85fr);gap:12px;align-items:stretch;padding:12px;border:1px solid var(--line);border-radius:8px;background:#fff}.ordering-kcode-row .field{margin:0;align-content:start}.ordering-kcode-field{min-width:0}.kcode-combo{display:grid;grid-template-columns:48px minmax(90px,.25fr) minmax(0,1fr);align-items:stretch;gap:0;min-height:54px;border:1px solid #d9c4ca;border-radius:17px;background:#fff;overflow:hidden}.kcode-combo span{min-height:54px;display:grid;place-items:center;background:var(--soft-accent-bg);color:var(--brand);font-weight:950;font-size:19px;border-right:1px solid #eadbdd}.kcode-combo input{border:0;border-radius:0;min-height:54px;box-shadow:none;font-size:18px;font-weight:850}.kcode-combo b{min-width:0;display:flex;align-items:center;padding:0 14px;color:var(--ink);font-size:14px;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ordering-date-box{display:grid;align-items:center;min-height:54px;border:1px solid #d9c4ca;border-radius:17px;background:#fff;overflow:hidden}.ordering-date-box input{min-height:54px;border:0;border-radius:0;box-shadow:none;padding-inline:14px}.ordering-arrival-field{min-width:0}.ordering-detail-ticket{display:grid;grid-template-columns:minmax(160px,.8fr) minmax(250px,1fr) minmax(170px,.9fr) minmax(170px,.9fr);gap:12px;align-items:stretch;margin:10px 0 14px;padding:12px;border:1px solid var(--line);border-radius:8px;background:#fff}.ordering-detail-ticket .field{margin:0;align-content:start}.ordering-detail-ticket input,.ordering-detail-ticket select{min-height:54px}.ordering-detail-ticket .hidden{display:none}.ordering-detail-ticket .invoice-number-control{min-height:54px}.ordering-detail-ticket .invoice-digit-row{min-height:54px;padding:4px;align-content:center}.ordering-detail-ticket .invoice-lock-window,.ordering-detail-ticket .invoice-lock-window .invoice-digit{min-height:44px!important}.ordering-detail-ticket .invoice-lock-window .invoice-digit{font-size:24px}.ordering-item-editor{margin-top:12px}.ordering-detail-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-areas:"kcode desc desc desc" "type size quantity doc";gap:12px;align-items:start}.ordering-detail-grid .field{margin-top:0}.ordering-detail-kcode-field{grid-area:kcode}.ordering-detail-description-field{grid-area:desc}.ordering-detail-description-field textarea{min-height:48px}.ordering-detail-type-field{grid-area:type}.ordering-detail-size-field{grid-area:size}.ordering-detail-quantity-field{grid-area:quantity}.ordering-item-doc-field{grid-area:doc}.ordering-item-editor.hidden{display:none}.ordering-item-editor.has-locked-store-item-fields .ordering-detail-description-field,.ordering-item-editor.has-locked-store-item-fields .ordering-detail-type-field,.ordering-item-editor.has-locked-store-item-fields .ordering-detail-size-field,.ordering-photo-field.is-store-item-locked{border:1px dashed #d7c3c9;border-radius:16px;padding:8px;background:repeating-linear-gradient(135deg,#fbf6f7,#fbf6f7 8px,#f4ecef 8px 16px)}.ordering-item-editor.has-locked-store-item-fields textarea:disabled,.ordering-item-editor.has-locked-store-item-fields select:disabled{background:#ffffffb8;color:var(--ink);opacity:1;cursor:not-allowed}.ordering-store-item-lock-note{margin:4px 0 0;padding:6px 9px;border:1px solid #eadbdd;border-radius:12px;background:#fffaf7;color:var(--muted);font-size:11px;font-weight:850;line-height:1.3}.ordering-ticket-preview{display:grid;gap:7px;align-content:start}.ordering-ticket-preview span{color:var(--muted);font-size:13px;font-weight:800}.ordering-ticket-preview b{min-height:54px;display:flex;align-items:center;padding:0 14px;border:1px solid #d9c4ca;border-radius:17px;background:var(--sales-bg);color:var(--sales);font-size:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.item-kcode-combo{display:grid;grid-template-columns:minmax(44px,auto) minmax(0,1fr);min-height:48px;border:1px solid #d9c4ca;border-radius:15px;background:#fff;overflow:hidden}.item-kcode-combo:has(.ordering-store-item-create),.item-kcode-combo.has-store-item-create{grid-template-columns:minmax(44px,auto) minmax(0,1fr) 38px}.item-kcode-combo span{display:grid;place-items:center;padding:0 12px;background:var(--soft-accent-bg);color:var(--brand);font-weight:950;border-right:1px solid #eadbdd;white-space:nowrap}.item-kcode-combo input{border:0;border-radius:0;min-height:48px;font-weight:850}.ordering-store-item-create{width:38px;min-width:38px;border:0;border-left:1px solid var(--line);background:var(--soft-accent-bg);color:var(--brand);font-size:20px;font-weight:950;cursor:pointer}.ordering-add-item{width:min(220px,100%);margin:4px 0 10px}.ordering-add-item-card,.ordering-action-card{width:min(160px,100%);min-height:122px;border:1px dashed var(--brand-2);border-radius:18px;background:#ffffffdb;color:var(--ink);display:grid;justify-items:center;align-content:center;gap:6px;padding:12px;text-align:center;box-shadow:0 8px 22px #2a1f220f}.ordering-add-item-card span{width:42px;height:42px;border-radius:16px;display:grid;place-items:center;background:var(--soft-accent-bg);color:var(--brand);font-size:26px;font-weight:950}.ordering-add-item-card b{font-size:17px;line-height:1.05}.ordering-add-item-card small{color:var(--muted);font-size:12px;font-weight:850;line-height:1.15;max-width:130px}.ordering-items-list{display:grid;gap:8px}.ordering-item-editor-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}.ordering-profile-suggestion{display:grid;gap:8px;margin:10px 0;padding:10px;border:1px solid #eadbdd;border-radius:16px;background:#fff8ef}.ordering-profile-suggestion>b{color:var(--brand);font-size:13px}.ordering-profile-suggestion>p{margin:0;font-size:12px;line-height:1.35}.ordering-store-item-guard{min-width:0;display:grid;gap:8px;margin:10px 0;padding:10px;border:1px solid var(--line);border-radius:14px;background:#fff;font-size:12px;line-height:1.35}.ordering-store-item-guard.is-found{border-color:#d8ead6;background:#f7fff7;color:#315c34}.ordering-store-item-guard.is-missing{border-color:#f0d5a8;background:#fff8e8;color:#744b00}.ordering-store-item-guard b{font-weight:950}.ordering-store-item-guard span,.ordering-store-item-guard small{min-width:0;overflow-wrap:anywhere}.ordering-store-item-suggestions{min-width:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:6px}.ordering-store-item-suggestions .btn{min-width:0;justify-content:start;text-align:left}.ordering-store-item-suggestions .btn b,.ordering-store-item-suggestions .btn span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ordering-store-item-actions{display:flex;justify-content:flex-end}.ordering-profile-option{border:1px solid #eadbdd;border-radius:14px;background:#fff;overflow:hidden}.ordering-profile-option summary{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;align-items:center;padding:9px;cursor:pointer}.ordering-profile-option summary span{min-width:0;overflow-wrap:anywhere;font-size:12px;font-weight:950;color:var(--ink)}.ordering-profile-option .task-summary-list{padding:0 10px 10px}.ordering-item-editor-actions .btn{min-width:140px}.ordering-custom-hint{display:inline-flex;margin-top:8px;padding:8px 10px;border-radius:12px;background:#fff8ef;color:var(--brand);font-weight:850}.ordering-task-items{display:grid;gap:8px;margin:10px 0}.ordering-task-item-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px}.ordering-item-compact-card{display:grid;gap:6px;min-width:0;padding:10px;border:1px solid #eadbdd;border-radius:14px;background:#fff}.ordering-item-compact-head{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--brand);font-size:12px;font-weight:950}.ordering-item-compact-card strong{overflow-wrap:anywhere;font-size:15px}.ordering-item-compact-card p{margin:0;color:var(--muted);font-size:13px;line-height:1.25;overflow-wrap:anywhere}.ordering-item-meta{display:flex;flex-wrap:wrap;gap:5px}.ordering-item-meta span,.ordering-item-photo-pill{border-radius:999px;padding:3px 7px;background:var(--soft-accent-bg);color:var(--brand);font-size:11px;font-weight:900}.ordering-pdf-btn{margin:6px 0 10px;width:max-content}.ordering-bulk-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between;padding:8px 10px;border:1px solid var(--line);border-radius:14px;background:#fff8fb}.ordering-bulk-actions span{color:var(--brand);font-size:12px;font-weight:950}.ordering-item-check{position:relative;width:28px;height:28px;display:grid;place-items:center;margin:0;border:1px solid var(--line);border-radius:8px;background:#fff}.ordering-item-check input{position:absolute;inset:0;inline-size:100%;block-size:100%;margin:0;padding:0;opacity:0;cursor:pointer}.ordering-item-check:has(input:checked){border-color:var(--selection-border);background:var(--selection-bg);box-shadow:inset 0 0 0 2px #934f621f}.ordering-photo-field{width:min(360px,100%);margin:8px 0 0}.ordering-photo-field .photo-card-grid{grid-template-columns:repeat(auto-fill,minmax(138px,1fr))}.ordering-photo-field .photo-add-card,.ordering-photo-field .photo-preview-card{width:min(160px,100%);min-height:122px}.ordering-photo-field .photo-list{display:none}.store-db-manual-entry .store-db-manual-form,.store-db-edit-form,.shared-store-item-form{border-radius:0 0 8px 8px;background:#f7fcff94}.store-db-edit-modal,.shared-store-item-modal{width:min(980px,calc(100vw - 24px));background:#f4f9f9}.shared-store-item-modal .modal-head{margin-bottom:10px}.shared-store-item-modal .modal-head p{min-width:0;overflow-wrap:anywhere;font-weight:850}.store-db-deleted-section,.calendar-deleted-section{display:grid;gap:10px;padding:12px;border-radius:16px}.store-db-deleted-section>summary,.calendar-deleted-section>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-radius:14px;background:#fff8f4e6;cursor:pointer;list-style:none}.store-db-deleted-section>summary::-webkit-details-marker,.calendar-deleted-section>summary::-webkit-details-marker{display:none}.store-db-deleted-section>summary span,.calendar-deleted-section>summary span{min-width:0;display:grid;gap:2px}.store-db-deleted-section>summary small,.calendar-deleted-section>summary small{color:var(--brand);font-size:10px;font-weight:950}.store-db-deleted-section>summary b,.calendar-deleted-section>summary b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.store-db-deleted-section>summary em,.calendar-deleted-section>summary em{flex:0 0 auto;color:var(--muted);font-size:11px;font-style:normal;font-weight:900}.calendar-deleted-item{background:#ffffffe6}.calendar-deleted-item .calendar-day-copy small{overflow-wrap:anywhere}.task-load-more{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:10px}.task-load-more span{color:var(--muted);font-size:12px;font-weight:800}.ordering-item-summary summary{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px 12px;cursor:pointer}.ordering-item-summary summary span{color:var(--muted);font-size:12px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ordering-item-summary .task-summary-list{padding:0 12px 12px}.ordering-items-empty{padding:14px;border:1px dashed var(--line);border-radius:16px;background:#fff8ef}.ordering-note{display:flex;align-items:center;gap:8px;padding:12px 14px}.ordering-note b{white-space:nowrap}.ordering-submit{width:min(520px,100%);justify-self:center}@media(max-width:760px){.task-summary-list div{grid-template-columns:1fr;gap:3px}.task-card .tabs.task-action-panel,.task-danger-zone{grid-template-columns:1fr}.task-danger-zone .btn.danger{width:100%}.ordering-hero{display:grid}.ordering-kcode-row,.ordering-detail-ticket,.ordering-item-summary summary{grid-template-columns:1fr}.ordering-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"kcode kcode" "desc desc" "type size" "quantity doc"}.ordering-add-item-card,.ordering-photo-field,.ordering-photo-field .photo-add-card{width:100%;min-height:122px}.kcode-combo{grid-template-columns:42px minmax(80px,.35fr) minmax(0,1fr)}.ordering-profile-option summary{grid-template-columns:1fr}.ordering-profile-option summary .btn{width:100%}.ordering-submit{position:sticky;bottom:calc(88px + env(safe-area-inset-bottom));z-index:20;width:100%;min-height:54px;box-shadow:0 14px 28px #8f485038}.qr-scan-form{grid-template-columns:1fr}.qr-scan-form .btn{width:100%}.qr-image-tools{grid-template-columns:1fr}.qr-image-tools .btn{width:100%}}.details-row td{padding:10px}@media(max-width:760px){.details-row .detail-panel{max-height:68vh;overflow:auto}.compact-table table{min-width:720px}}.audit-log-list{display:grid;gap:10px}.audit-log-item{display:grid;grid-template-columns:minmax(220px,.32fr) minmax(0,1fr);gap:10px;padding:12px;border:1px solid var(--line);border-radius:16px;background:#ffffffd1}.audit-log-meta{display:grid;grid-template-columns:1fr;gap:6px;align-content:start;min-width:0}.audit-log-meta time{color:var(--brand);font-weight:950}.audit-log-meta span,.audit-log-meta em,.audit-log-meta small{min-width:0;overflow-wrap:anywhere;font-style:normal;font-weight:850}.audit-log-meta b{display:inline-flex;margin-left:4px;border-radius:999px;padding:3px 7px;background:var(--soft-accent-bg);color:var(--brand);font-size:11px}.audit-smoke-badge{width:fit-content;max-width:100%;display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;background:#edf8f7;color:#28746f;font-size:11px;font-weight:950}.audit-log-main{display:grid;gap:8px;min-width:0}.audit-log-main strong{overflow-wrap:anywhere;line-height:1.35}.audit-inline-details{min-width:0;max-width:100%}.audit-inline-details pre{margin:0;max-height:280px;overflow:auto;white-space:pre-wrap;word-break:break-word;background:#fff;border:1px solid #f1e7ea;border-radius:14px;padding:10px;font-size:12px}@media(max-width:760px){.audit-log-item{grid-template-columns:1fr}.audit-inline-details pre{max-height:220px}}.basic-entry-grid{display:grid;grid-template-columns:minmax(120px,.42fr) minmax(210px,.72fr) minmax(280px,1fr);gap:12px;align-items:start;padding:14px;border:1px solid var(--line);border-radius:8px;background:#fff}.basic-entry-grid .field{margin:0;align-content:start}.basic-entry-grid input,.basic-entry-grid select{min-height:56px}.basic-entry-grid>.field>select,.basic-entry-grid>.field>input,.basic-entry-grid .invoice-digit-row{margin-top:0}.basic-entry-grid .invoice-digit-row{min-height:56px;padding:4px;align-content:center}.basic-entry-grid .invoice-lock-window,.basic-entry-grid .invoice-lock-window .invoice-digit{min-height:46px!important}.basic-entry-grid .invoice-lock-window .invoice-digit{font-size:25px}.mobile-bottom-nav{display:none}.mobile-hub-shell,.mobile-more-sheet{display:grid;gap:14px}.mobile-hub-hero,.mobile-more-head{padding:16px;border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:0 7px 22px #5732280e}.mobile-hub-hero h2,.mobile-more-head h2{margin:8px 0 6px;font-size:clamp(24px,5vw,34px);letter-spacing:0}.mobile-hub-hero p,.mobile-more-head p{margin:0;color:var(--muted);font-weight:750;line-height:1.45}.mobile-hub-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.mobile-hub-card{width:100%;border:1px solid #ead8d0;border-radius:20px;background:#fff;padding:14px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;text-align:left;color:var(--ink);box-shadow:0 10px 24px #57322812;cursor:pointer}.mobile-hub-card .mobile-hub-icon{width:42px;height:42px;border-radius:16px;display:grid;place-items:center;background:var(--soft-accent-bg);font-size:20px}.mobile-hub-copy{min-width:0}.mobile-hub-card b{display:block;font-size:15px;font-weight:950;margin-bottom:3px}.mobile-hub-card small{display:block;color:var(--muted);font-size:12px;font-weight:750;line-height:1.35}.mobile-hub-count{justify-self:end;min-width:58px;max-width:82px;display:grid;justify-items:center;gap:1px;border-radius:14px;background:#f1e4e0;color:#7c514e;padding:6px 8px}.mobile-hub-count b{margin:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;line-height:1}.mobile-hub-count small{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#7c514e;font-size:9.5px;font-weight:950;line-height:1.1;text-transform:none;letter-spacing:0}.mobile-hub-card.module-sales{border-left:5px solid var(--sales)}.mobile-hub-card.module-store{border-left:5px solid var(--store)}.mobile-hub-card.module-system{border-left:5px solid var(--system)}.mobile-hub-card.module-payment{border-left:5px solid var(--payment)}.mobile-hub-card.module-qr{border-left:5px solid var(--qr)}.mobile-hub-card.module-audit{border-left:5px solid var(--brand)}.mobile-hub-card.module-sales .mobile-hub-icon,.mobile-hub-card.module-sales .mobile-hub-count{background:var(--sales-bg);color:var(--sales)}.mobile-hub-card.module-store .mobile-hub-icon,.mobile-hub-card.module-store .mobile-hub-count{background:var(--store-bg);color:var(--store)}.mobile-hub-card.module-system .mobile-hub-icon,.mobile-hub-card.module-system .mobile-hub-count{background:var(--system-bg);color:var(--system)}.mobile-hub-card.module-payment .mobile-hub-icon,.mobile-hub-card.module-payment .mobile-hub-count{background:var(--payment-bg);color:var(--payment)}.mobile-hub-card.module-qr .mobile-hub-icon,.mobile-hub-card.module-qr .mobile-hub-count{background:var(--qr-bg);color:var(--qr)}.mobile-hub-card.module-audit .mobile-hub-icon,.mobile-hub-card.module-audit .mobile-hub-count{background:var(--soft-accent-bg);color:var(--brand)}.mobile-hub-card.module-sales .mobile-hub-count small,.mobile-hub-card.module-store .mobile-hub-count small,.mobile-hub-card.module-system .mobile-hub-count small,.mobile-hub-card.module-payment .mobile-hub-count small,.mobile-hub-card.module-qr .mobile-hub-count small,.mobile-hub-card.module-audit .mobile-hub-count small{color:currentColor;opacity:.72}.mobile-more-sheet{border:1px solid var(--line);border-radius:8px;padding:14px;background:#fff;box-shadow:0 12px 32px #39221917}.mobile-more-handle{width:50px;height:5px;border-radius:999px;background:#d8c4bc;justify-self:center}.mobile-more-group{display:grid;gap:9px}.mobile-more-group h3{margin:4px 0 0;font-size:15px;color:var(--muted);text-transform:none;letter-spacing:0}.mobile-more-module-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px}.invoice-number-control{display:grid;gap:4px;min-width:0}.invoice-number-hidden,.amount-number-hidden{position:absolute!important;inline-size:1px!important;block-size:1px!important;width:1px!important;min-width:0!important;max-width:1px!important;height:1px!important;min-height:0!important;max-height:1px!important;padding:0!important;border:0!important;margin:0!important;opacity:0!important;color:transparent!important;font-size:0!important;line-height:0!important;visibility:hidden!important;pointer-events:none!important;clip-path:inset(50%)!important;overflow:hidden!important}.invoice-lock-control{max-width:100%}.invoice-digit-row{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:7px;min-height:76px;padding:7px;border:1px solid #d9c4ca;border-radius:19px;background:linear-gradient(180deg,#fff,#f7efee)}.invoice-lock-window{position:relative;min-width:0;min-height:62px;border-radius:16px;overflow:hidden;background:linear-gradient(180deg,#efe3e0,#fff 48%,#efe3e0);border:1px solid #dec9c7;box-shadow:inset 0 8px 12px #5936310f}.invoice-lock-window:before,.invoice-lock-window:after{content:"";position:absolute;left:0;right:0;height:20px;pointer-events:none;background:linear-gradient(180deg,#f7eeecf2,#f7eeec00);z-index:1}.invoice-lock-window:before{top:0}.invoice-lock-window:after{bottom:0;transform:rotate(180deg)}.invoice-lock-window .invoice-digit{position:relative;z-index:2;width:100%;height:100%;min-height:62px!important;padding:0;border:0;border-radius:16px;background:transparent;color:var(--ink);text-align:center;font-size:28px;font-weight:950;letter-spacing:0;caret-color:var(--brand)}.invoice-lock-window .invoice-digit:focus{outline:2px solid rgba(155,100,112,.36);outline-offset:-2px;background:#fff8fb85}.invoice-number-control.is-soft-locked .invoice-digit-row{border-color:#c9968f;background:#fff4f0;box-shadow:inset 0 0 0 1px #8f48501f}.invoice-number-control.is-soft-locked .invoice-lock-window{border-color:#c9968f;background:linear-gradient(180deg,#ead6d0,#fff7f3 48%,#ead6d0)}.invoice-number-control.is-soft-locked .invoice-digit{color:#8f4850}.invoice-digit::-webkit-inner-spin-button,.invoice-digit::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.amount-number-control{display:grid;gap:4px;min-width:0}.amount-digit-wrap{display:block;min-width:0}.amount-digit-row{grid-template-columns:repeat(5,minmax(30px,1fr)) 6px repeat(2,minmax(22px,.7fr));align-items:stretch;min-height:46px;padding:4px}.amount-lock-window,.amount-lock-window .amount-digit,.amount-lock-window .amount-cent-digit{min-height:38px!important}.amount-lock-window .amount-digit,.amount-lock-window .amount-cent-digit{font-size:24px}.amount-decimal-dot{display:grid;place-items:center;min-width:6px;color:var(--ink);font-size:22px;font-weight:950;line-height:1}.amount-cent-window{min-width:22px}.amount-number-control.is-locked .amount-digit-row{border-color:#d2aaa4;background:#fff8f5}.amount-number-control.is-locked .amount-lock-window{border-color:#cfaaa5;background:linear-gradient(180deg,#ead9d4,#fff8f5 48%,#ead9d4)}.customer-payment-details-panel{display:grid;gap:10px}.customer-payment-details-head{display:grid;grid-template-columns:repeat(3,minmax(150px,1fr)) auto;align-items:end;gap:10px}.customer-payment-quantity,.customer-payment-date{margin:0}.customer-payment-reset{justify-self:end;align-self:end;min-height:34px;width:auto;padding:6px 9px;border-radius:999px;font-size:12px}.customer-payment-rows{display:grid;gap:12px}.customer-payment-row-card,.customer-payment-extra-row,.customer-payment-primary-grid{display:grid;grid-template-columns:80px repeat(4,minmax(0,1fr));gap:10px;align-items:start;padding:10px;border:1px dashed var(--line);border-radius:8px;background:#ffffffc7}.customer-payment-primary-grid{border-color:transparent;padding:0;background:transparent}.customer-payment-row-title{grid-column:1;grid-row:1;align-self:start;padding-top:31px;color:var(--brand);font-size:10.5px;line-height:1.15;white-space:normal}.customer-payment-row-card .field{margin:0;min-width:0}.customer-payment-primary-grid>.field,.customer-payment-row-card>.field,.customer-payment-style-stack .field{display:grid;grid-template-rows:18px 52px;gap:6px;align-content:start}.customer-payment-primary-grid>.field>span,.customer-payment-row-card>.field>span,.customer-payment-style-stack .field>span{min-height:18px;line-height:18px;display:flex;align-items:center}.customer-payment-primary-grid select,.customer-payment-row-card select,.customer-payment-style-stack select,.customer-payment-style-stack input,.customer-payment-other-style-field input{height:52px;min-height:52px;padding-top:0;padding-bottom:0}.customer-payment-style-stack{grid-column:3;display:grid;gap:8px;align-self:start}.customer-payment-type-field{grid-column:2}.customer-payment-deposit-field{grid-column:4}.customer-payment-full-field{grid-column:4 / -1}.customer-payment-other-style-field{grid-column:3;grid-row:2;align-self:start}.customer-payment-row-card-fields{grid-column:2 / -1;grid-row:2;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(180px,100%),1fr));gap:8px;padding:8px;border:1px solid #f0dedb;border-radius:8px;background:var(--surface-soft)}.customer-payment-row-card-fields .field{display:grid;grid-template-rows:18px 48px;gap:5px}.customer-payment-row-card-fields .field:first-child{grid-column:1}.customer-payment-row-card-fields #otherBankField,.customer-payment-row-card-fields [data-row-other-bank-field],.customer-payment-row-card-fields [data-edit-row-other-bank-field]{grid-column:auto}.customer-payment-row-card-fields select,.customer-payment-row-card-fields input{min-height:48px;height:48px}.customer-payment-row-card.is-deposit .customer-payment-deposit-field,.customer-payment-primary-grid.is-deposit #depositAmountField{grid-column:4;grid-row:1}.customer-payment-row-card.is-deposit .customer-payment-full-field,.customer-payment-primary-grid.is-deposit #fullAmountField{grid-column:5;grid-row:1}.customer-payment-linked-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:7px 0}.customer-payment-linked-stats span{display:grid;gap:2px;padding:7px 8px;border:1px solid #f0dedb;border-radius:8px;background:var(--surface-soft);font-size:11px}.customer-payment-linked-stats b{font-size:12px}.customer-payment-linked-stats small{color:#8f4850;font-weight:850}.customer-payment-linked-stats .is-negative{border-color:#f1b8b0;background:#fff1ee;color:#9b342c}.customer-payment-linked-warning{display:inline-block;margin-top:4px;color:#9b342c;font-style:normal;font-weight:900}.customer-payment-compact-invoice{display:grid;grid-template-columns:140px minmax(220px,340px);gap:12px;align-items:end}.customer-payment-compact-invoice .field{margin:0}.customer-payment-invoice-no,.customer-payment-so-number{position:relative}.customer-payment-field-action{position:absolute;right:8px;top:0;min-width:30px;min-height:30px;padding:0 8px;border:1px solid #d9c4ca;border-radius:999px;background:#fffaf8;color:var(--brand);font-size:14px;font-weight:950;box-shadow:0 4px 14px #40202314}.customer-payment-field-action:hover{border-color:#bd8f8d;background:#fff1ef}.customer-payment-field-action.is-hidden{display:none}.step-form.is-customer-payment-review-only .customer-payment-details-panel{border-color:#d2aaa4;background:#fff8f5}.step-form.is-customer-payment-deleted-blocked .customer-payment-details-panel{border-color:#c98c8a;background:repeating-linear-gradient(135deg,#fff5f3,#fff5f3 10px,#fdecea 10px 20px)}.step-form.is-customer-payment-review-only .customer-payment-details-panel input[readonly],.step-form.is-customer-payment-review-only .customer-payment-details-panel select:disabled,.step-form.is-customer-payment-review-only #recordRemark[readonly],.step-form.is-customer-payment-review-only [data-photo-uploader] input[type=file]:disabled{cursor:not-allowed}.step-form.is-customer-payment-review-only .photo-add-card{opacity:.58}.linked-photo-preview{margin-top:10px}.linked-photo-preview:empty{display:none}.linked-photo-preview-note{margin:0 0 8px;color:var(--muted);font-size:12px;font-weight:850}.customer-payment-compact-invoice select{min-height:44px;padding:10px 12px}.customer-payment-compact-invoice .invoice-digit-row{min-height:44px;padding:4px;gap:5px}.customer-payment-compact-invoice .invoice-lock-window,.customer-payment-compact-invoice .invoice-lock-window .invoice-digit{min-height:34px!important}.customer-payment-compact-invoice .invoice-lock-window .invoice-digit{font-size:20px}.customer-payment-card-grid{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr));gap:12px;align-items:end;padding-top:2px}.customer-payment-linked-so{display:grid;grid-template-columns:120px minmax(220px,320px) minmax(260px,1fr);gap:10px;align-items:stretch;padding:10px;border:1px dashed #d8bbb8;border-radius:8px;background:var(--surface-soft)}.customer-payment-linked-so .field{margin:0;display:grid;grid-template-rows:auto 1fr}.customer-payment-linked-so .readonly-field,.customer-payment-linked-so .invoice-number-control,.customer-payment-linked-so .invoice-digit-row{height:52px;min-height:52px}.customer-payment-linked-so .invoice-digit-row{padding:4px;gap:5px}.customer-payment-linked-so .invoice-lock-window,.customer-payment-linked-so .invoice-lock-window .invoice-digit{min-height:34px!important}.customer-payment-linked-so .invoice-lock-window .invoice-digit{font-size:18px}.customer-payment-linked-summary-stack{display:grid;gap:8px;min-width:0;align-self:stretch}.customer-payment-linked-summary{align-self:stretch;min-height:44px;padding:9px 12px;border:1px solid #ead2cf;border-radius:8px;background:#fff;font-size:12px;color:#6f5a58}.customer-payment-linked-summary b{color:#3a2828}.customer-payment-linked-summary ul{margin:6px 0;padding-left:16px}.customer-payment-linked-summary li{margin:2px 0}.customer-payment-summary-head{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin-bottom:8px}.customer-payment-summary-title{color:#3a2828;font-weight:900}.customer-payment-summary-so-chip{display:inline-flex;align-items:center;justify-content:center;min-height:22px;padding:3px 9px;border-radius:999px;background:#f4e2e8;color:#9f5065;font-size:11px;font-weight:900;line-height:1}.customer-payment-linked-balance{display:inline-flex;gap:6px;align-items:center;margin-top:3px;font-weight:900;color:#8f4850}.customer-payment-amount-field{min-width:0}.customer-payment-amount-field .amount-number-control{width:100%}.customer-payment-amount-field .amount-digit-wrap{min-height:44px;padding:0;border:0;border-radius:0;background:transparent;overflow:visible}.customer-payment-amount-field .amount-digit-row{width:100%;min-width:0;grid-template-columns:repeat(5,minmax(20px,1fr)) 5px repeat(2,minmax(20px,1fr));min-height:44px;padding:4px;gap:3px;border:1px solid #d9c4ca;border-radius:8px;background:#fff;overflow:hidden}.customer-payment-amount-field .amount-lock-window{min-width:0;border-color:#eadbdd;border-radius:6px}.customer-payment-amount-field .amount-lock-window,.customer-payment-amount-field .amount-lock-window .amount-digit,.customer-payment-amount-field .amount-lock-window .amount-cent-digit{min-height:34px!important}.customer-payment-amount-field .amount-lock-window .amount-digit,.customer-payment-amount-field .amount-lock-window .amount-cent-digit{font-size:19px}.customer-payment-amount-field .amount-decimal-dot{min-width:5px;font-size:19px}.customer-payment-amount-field .amount-number-control.is-locked .amount-digit-row{border-color:#c9968f;background:#fff3ef;box-shadow:inset 0 0 0 1px #8f48501f}.customer-payment-amount-field .amount-number-control.is-locked .amount-lock-window{border-color:#c9968f;background:linear-gradient(180deg,#ead5d0,#fff7f3 48%,#ead5d0)}.customer-payment-amount-field .amount-number-control.is-locked .amount-digit,.customer-payment-amount-field .amount-number-control.is-locked .amount-cent-digit{color:#8f4850;cursor:not-allowed}.customer-payment-service-charge-row{display:grid;grid-template-columns:42px minmax(220px,320px);align-items:end;justify-content:start;gap:10px;width:max-content;max-width:100%;padding:9px 11px;border:1px dashed #ead2cf;border-radius:8px;background:var(--surface-soft)}.customer-payment-service-charge-row:not([open]){grid-template-columns:42px;padding:8px}.customer-payment-service-charge-row>summary{display:grid;place-items:center;width:42px;height:42px;border:1px solid #d9c4ca;border-radius:999px;background:#f6e2e9;color:var(--brand);font-size:22px;font-weight:950;line-height:1;cursor:pointer;list-style:none}.customer-payment-service-charge-row>summary::-webkit-details-marker{display:none}.customer-payment-service-charge-row>summary::marker{content:""}.customer-payment-service-charge-field{margin:0;min-width:0}.customer-payment-service-charge-row:not([open]) .customer-payment-service-charge-field{display:none}.modal-card #editRecordForm{display:grid;gap:10px}.modal-card .customer-payment-details-panel{gap:10px}.modal-card .customer-payment-details-head{grid-template-columns:repeat(2,minmax(140px,220px));align-items:end}.modal-card .customer-payment-rows{gap:8px}.modal-card [data-edit-customer-payment-row].customer-payment-row-card{grid-template-columns:72px minmax(150px,.95fr) minmax(132px,.78fr) minmax(172px,1fr) minmax(172px,1fr);padding:9px;gap:8px;border-radius:14px}.modal-card [data-edit-customer-payment-row] .customer-payment-row-title{padding-top:27px;font-size:10px}.modal-card [data-edit-customer-payment-row] .field,.modal-card [data-edit-customer-payment-row] .customer-payment-style-stack .field{margin:0}.modal-card [data-edit-customer-payment-row] .customer-payment-primary-grid>.field,.modal-card [data-edit-customer-payment-row]>.field,.modal-card [data-edit-customer-payment-row] .customer-payment-style-stack .field{grid-template-rows:16px 44px;gap:4px}.modal-card [data-edit-customer-payment-row] select,.modal-card [data-edit-customer-payment-row] input,.modal-card [data-edit-customer-payment-row] .customer-payment-style-stack select,.modal-card [data-edit-customer-payment-row] .customer-payment-style-stack input{min-height:44px;height:44px;padding:8px 10px;font-size:14px}.modal-card [data-edit-customer-payment-row] .customer-payment-row-card-fields{grid-template-columns:repeat(4,minmax(126px,1fr));gap:8px;padding:8px;border-radius:12px}.modal-card [data-edit-customer-payment-row] .customer-payment-row-card-fields .field{grid-template-rows:16px 40px;gap:4px}.modal-card [data-edit-customer-payment-row] .customer-payment-row-card-fields select,.modal-card [data-edit-customer-payment-row] .customer-payment-row-card-fields input{min-height:40px;height:40px}.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-digit-row{min-height:44px;padding:4px}.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window,.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .amount-digit,.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .amount-cent-digit{min-height:34px!important}.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .amount-digit,.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .amount-cent-digit{font-size:19px}.modal-card #editLinkedSOField{grid-template-columns:120px minmax(220px,320px) minmax(260px,1fr);padding:10px 12px}.amount-cent-digit{text-align:center;font:inherit;font-weight:950;color:inherit}@media(min-width:761px)and (max-width:1240px){.customer-payment-row-card,.customer-payment-extra-row,.customer-payment-primary-grid{grid-template-columns:98px minmax(0,1fr) minmax(0,1fr)}.customer-payment-row-title{grid-row:1 / span 2}.customer-payment-style-stack{grid-column:3;grid-row:1}.customer-payment-type-field{grid-column:2;grid-row:1}.customer-payment-deposit-field{grid-column:2;grid-row:2}.customer-payment-full-field{grid-column:2 / -1;grid-row:2}.customer-payment-row-card-fields,.customer-payment-other-style-field{grid-column:2 / -1;grid-row:3}.customer-payment-row-card.is-deposit .customer-payment-deposit-field,.customer-payment-primary-grid.is-deposit #depositAmountField{grid-column:2;grid-row:2}.customer-payment-row-card.is-deposit .customer-payment-full-field,.customer-payment-primary-grid.is-deposit #fullAmountField{grid-column:3;grid-row:2}}.store-phase2-fields{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px}.ordering-receiving{margin-top:12px;min-width:0}.ordering-receiving summary{cursor:pointer;font-weight:600}.ordering-receiving .table-wrap{max-width:100%;overflow-x:auto}.ordering-receiving td small{display:block;overflow-wrap:anywhere}.ordering-receiving [data-receiving-line]{width:90px;min-width:64px;max-width:100%}.ordering-receiving [data-receiving-status]{overflow-wrap:anywhere}
body.mobile-preview-mode .modal-card #editRecordForm .edit-invoice-grid{grid-template-columns:1fr!important;gap:8px}body.mobile-preview-mode .modal-card #editRecordForm .edit-invoice-grid .field,body.mobile-preview-mode .modal-card #editRecordForm .edit-invoice-grid .invoice-number-control,body.mobile-preview-mode .modal-card #editRecordForm .edit-invoice-grid .invoice-digit-row{min-width:0;width:100%;max-width:100%}body.mobile-preview-mode .modal-card #editRecordForm .edit-invoice-grid .invoice-digit-row{grid-template-columns:repeat(8,minmax(0,1fr))!important;gap:3px;padding:3px}@media(max-width:760px){.modal-card #editRecordForm .edit-invoice-grid{grid-template-columns:1fr!important;gap:8px}.modal-card #editRecordForm .edit-invoice-grid .field,.modal-card #editRecordForm .edit-invoice-grid .invoice-number-control,.modal-card #editRecordForm .edit-invoice-grid .invoice-digit-row{min-width:0;width:100%;max-width:100%}.modal-card #editRecordForm .edit-invoice-grid .invoice-digit-row{grid-template-columns:repeat(8,minmax(0,1fr))!important;gap:3px;padding:3px}}@media(max-width:760px){.mobile-bottom-nav{position:fixed;left:10px;right:10px;bottom:calc(10px + env(safe-area-inset-bottom));z-index:45;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;padding:7px;border:1px solid rgba(213,188,176,.92);border-radius:22px;background:#fffaf6f5;box-shadow:0 16px 42px #39221938;backdrop-filter:blur(14px)}.mobile-tab-btn{min-width:0;min-height:52px;border:0;border-radius:16px;background:transparent;color:#8a716b;display:grid;place-items:center;gap:1px;padding:4px 2px;font-size:10px;font-weight:900}.mobile-tab-btn span{font-size:18px;line-height:1}.mobile-tab-btn b{font-size:10px;line-height:1}.mobile-tab-btn.active{background:#8f4850;color:#fff;box-shadow:0 9px 18px #8f485038}.mobile-hub-shell{gap:10px}.mobile-hub-hero,.mobile-more-head{padding:14px;border-radius:20px}.mobile-hub-grid,.mobile-more-module-grid{grid-template-columns:1fr;gap:9px}.mobile-hub-card{min-height:78px;padding:12px;border-radius:18px;grid-template-columns:38px minmax(0,1fr) auto}.mobile-hub-card .mobile-hub-icon{width:38px;height:38px;border-radius:14px}.mobile-more-sheet{border-radius:24px;padding:12px}.basic-entry-grid{grid-template-columns:minmax(86px,.55fr) minmax(210px,1fr) minmax(230px,1fr);gap:8px;overflow-x:auto;padding:10px;-webkit-overflow-scrolling:touch}.basic-entry-grid .field{min-width:0}.basic-entry-grid input,.basic-entry-grid select{padding:10px 8px;font-size:14px}.invoice-digit-row{gap:5px;padding:6px;min-height:68px}.invoice-lock-window,.invoice-lock-window .invoice-digit{min-height:56px!important}.customer-payment-details-head,.customer-payment-compact-invoice,.customer-payment-primary-grid,.customer-payment-extra-row,.customer-payment-row-card,.customer-payment-row-card-fields,.customer-payment-card-grid,.customer-payment-linked-so{grid-template-columns:1fr}.customer-payment-row-title{grid-column:1;padding-top:0}.customer-payment-style-stack{grid-column:1}.customer-payment-other-style-field{grid-column:1;grid-row:auto}.customer-payment-details-head,.customer-payment-row-card,.customer-payment-linked-so{grid-template-columns:1fr}.customer-payment-reset{justify-self:stretch;min-height:44px}.customer-payment-amount-field,.customer-payment-amount-field .amount-digit-wrap{min-width:0}}.basic-entry-grid{align-items:stretch}.basic-entry-grid>.field{display:grid;grid-template-rows:auto 1fr}.basic-entry-grid>.field>select,.basic-entry-grid>.field>input,.basic-entry-grid .invoice-number-control,.basic-entry-grid .invoice-digit-row{height:56px;min-height:56px}.basic-entry-grid>.field>select,.basic-entry-grid>.field>input{display:flex;align-items:center}.basic-entry-grid .scheduled-time-field{min-width:280px}input[type=datetime-local]{min-width:0;overflow:visible;text-overflow:clip}input[type=datetime-local]::-webkit-date-and-time-value{text-align:left;min-width:0}.audit-filter-bar{display:grid;grid-template-columns:minmax(220px,1.2fr) repeat(3,minmax(150px,.7fr)) auto;gap:10px;align-items:end;margin:12px 0 14px;padding:12px;border:1px solid var(--line);border-radius:18px;background:#ffffffb8}.audit-filter-bar .field{margin:0}.audit-clear-filter{min-height:46px}.audit-log-actions{display:flex;flex-wrap:wrap;gap:8px}.ordering-kcode-row{align-items:start;padding:10px;gap:10px}.ordering-kcode-field .field-hint{margin-top:2px;line-height:1.25}.kcode-combo{grid-template-columns:48px minmax(70px,.2fr) minmax(0,1fr)}.kcode-combo b{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;word-break:break-word;font-size:12px;line-height:1.12;padding:6px 10px}.ordering-note{margin-bottom:10px}.ordering-submit{max-width:520px}.audit-log-list{display:grid;gap:10px}.audit-log-item{display:grid;grid-template-columns:minmax(220px,.32fr) minmax(0,1fr);gap:10px;padding:12px;border:1px solid var(--line);border-radius:16px;background:#ffffffd1}.audit-log-meta,.audit-log-main{display:grid;gap:7px;min-width:0;align-content:start}.audit-log-meta time{color:var(--brand);font-weight:950}.audit-log-meta span,.audit-log-meta em{min-width:0;overflow-wrap:anywhere;font-style:normal;font-weight:850}.audit-log-meta b{display:inline-flex;margin-left:4px;border-radius:999px;padding:3px 7px;background:var(--soft-accent-bg);color:var(--brand);font-size:11px}.audit-log-main strong{overflow-wrap:anywhere;line-height:1.35}.audit-inline-details pre{margin:0;max-height:280px;overflow:auto;white-space:pre-wrap;word-break:break-word;background:#fff;border:1px solid #f1e7ea;border-radius:14px;padding:10px;font-size:12px}@media(max-width:760px){.basic-entry-grid{grid-template-columns:minmax(92px,.42fr) minmax(190px,1fr) minmax(220px,1fr);align-items:stretch}.basic-entry-grid>.field>select,.basic-entry-grid>.field>input,.basic-entry-grid .invoice-number-control,.basic-entry-grid .invoice-digit-row{height:58px;min-height:58px}.basic-entry-grid .invoice-digit-row{align-content:stretch;padding:5px}.basic-entry-grid .invoice-lock-window,.basic-entry-grid .invoice-lock-window .invoice-digit{min-height:48px!important;height:48px}.basic-entry-grid .invoice-lock-window .invoice-digit{font-size:22px}.ordering-step-card{padding:12px;gap:8px}.ordering-basic-card .compact-readonly-grid{gap:8px}.ordering-kcode-row{padding:10px;gap:8px}.kcode-combo{grid-template-columns:40px minmax(58px,.2fr) minmax(0,1fr);min-height:50px}.kcode-combo span,.kcode-combo input{min-height:50px}.kcode-combo input{font-size:17px;padding-inline:8px}.kcode-combo b{font-size:10.5px;line-height:1.05;padding:4px 7px}.ordering-date-box,.ordering-date-box input{min-height:50px}.ordering-detail-ticket{gap:8px;margin:6px 0 10px;padding:10px}.ordering-items-empty{padding:10px;font-size:13px}.ordering-add-item-card{min-height:92px;gap:4px}.ordering-add-item-card span{width:34px;height:34px;font-size:22px;border-radius:13px}.ordering-add-item-card b{font-size:15px}.ordering-add-item-card small{font-size:11px}.ordering-note{align-items:start;padding:10px;font-size:13px;line-height:1.3}.ordering-note b{white-space:normal}.ordering-submit{position:static;width:100%;min-height:50px;margin-top:6px;box-shadow:none}.audit-log-item{grid-template-columns:1fr;padding:10px}.audit-filter-bar{grid-template-columns:1fr;gap:8px}.audit-inline-details pre{max-height:220px}}.photo-source-card{gap:8px}.photo-source-card-icons{justify-items:stretch;align-content:center}.photo-source-actions{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.photo-source-actions.photo-source-two-actions{width:100%;grid-template-columns:repeat(2,minmax(0,1fr))}.photo-source-btn{display:grid;place-items:center;min-height:36px;border:0;border-radius:12px;background:var(--soft-accent-bg);color:var(--brand);font-family:inherit;font-size:12px;font-weight:950;text-align:center;cursor:pointer}.photo-source-btn input,.photo-source-input{position:absolute;inline-size:1px;block-size:1px;opacity:0;pointer-events:none}.photo-source-btn.icon-stack{gap:6px;min-height:74px;padding:8px;border-radius:16px}.photo-source-btn.icon-stack b{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.12}.photo-camera-icon{width:42px;height:42px;border-radius:16px;display:grid;place-items:center;background:#f2d7df;font-size:20px;line-height:1}@media(max-width:760px){.permission-shell{padding:12px}.permission-page-head{gap:8px;margin-bottom:10px}.permission-page-head p{margin:4px 0 0;font-size:12px;line-height:1.35}.permission-group-card{padding:10px;gap:8px;border-radius:18px}.permission-group-head{padding-bottom:6px}.permission-card-list{gap:8px}.permission-row{grid-template-columns:1fr;gap:7px;padding:9px;align-items:stretch}.permission-module-title{position:sticky;top:0;z-index:1;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;margin:-9px -9px 0;padding:8px 9px;border-bottom:1px dashed #eadbdd;border-radius:14px 14px 0 0;background:#fffdfbf5}.permission-module-title b{font-size:14px;line-height:1.15}.permission-module-title small{justify-self:end;max-width:120px;border-radius:999px;padding:4px 8px;background:var(--soft-accent-bg);color:var(--brand);font-size:11px;font-weight:950;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.permission-toggles{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.permission-toggle{min-height:38px;padding:6px 8px;border-radius:12px;font-size:12px}.permission-toggle input{width:18px;height:18px;flex:0 0 auto}.permission-save-bar{bottom:calc(88px + env(safe-area-inset-bottom));align-items:center;padding:8px 10px}.permission-save-bar span{font-size:11px}.photo-source-card{min-height:132px}.photo-source-actions{grid-template-columns:1fr 1fr}.photo-source-btn{min-height:38px}.photo-source-btn.icon-stack{min-height:70px}}.staff-user-card-list{display:none}@media(max-width:760px){.record-step-card,.record-step-card .compact-readonly-grid{gap:8px}.compact-readonly-grid .field{margin:4px 0}.compact-readonly-grid input.readonly-field{min-height:46px;padding:9px 12px;font-size:15px}.basic-entry-grid{grid-template-columns:1fr!important;overflow-x:visible;gap:8px;padding:9px}.basic-entry-grid>.field{display:grid;grid-template-rows:auto auto;gap:5px}.basic-entry-grid .field span{display:flex;flex-wrap:wrap;gap:4px;align-items:center;line-height:1.15}.basic-entry-grid>.field>select,.basic-entry-grid>.field>input,.basic-entry-grid .invoice-number-control,.basic-entry-grid .invoice-digit-row{width:100%;height:48px;min-height:48px}.basic-entry-grid .invoice-digit-row{grid-template-columns:repeat(8,minmax(0,1fr));padding:4px;gap:4px}.basic-entry-grid .invoice-lock-window,.basic-entry-grid .invoice-lock-window .invoice-digit{height:38px;min-height:38px!important}.basic-entry-grid .invoice-lock-window .invoice-digit{font-size:19px}#scheduledDeliveryTime,#editScheduledDeliveryTime{font-size:14px;text-align:center;white-space:nowrap}.ordering-kcode-row{overflow:hidden}.kcode-combo{grid-template-columns:40px minmax(64px,84px) minmax(0,1fr)}.kcode-combo input{overflow-x:auto;white-space:nowrap;-webkit-overflow-scrolling:touch}.kcode-combo b{display:block;max-height:50px;overflow:auto;-webkit-overflow-scrolling:touch;white-space:normal}.staff-users-card .staff-user-table{display:none}.staff-user-card-list{display:grid;gap:10px}.staff-user-card{display:grid;gap:9px;padding:12px;border:1px solid var(--line);border-radius:18px;background:#fff}.staff-user-main{display:grid;gap:3px;min-width:0}.staff-user-main b{font-size:18px;color:var(--ink)}.staff-user-main span{color:var(--muted);font-size:13px;font-weight:850;overflow-wrap:anywhere}.staff-user-meta{display:flex;flex-wrap:wrap;gap:6px}.staff-user-meta span,.staff-user-meta em{border-radius:999px;padding:5px 8px;background:var(--soft-accent-bg);color:var(--brand);font-style:normal;font-size:12px;font-weight:950}.staff-user-meta em.active{background:var(--store-bg);color:var(--store)}.staff-user-card.is-inactive-staff{background:#f5e7ebb8;border-style:dashed}.staff-user-meta em.inactive{background:#f7e3e8;color:var(--danger)}.staff-user-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.staff-user-actions .btn{width:100%;min-height:38px}.modal-backdrop{padding:10px;place-items:end center}.modal-card{width:100%;max-height:88vh;border-radius:24px;padding:14px}.modal-head{gap:8px;margin-bottom:8px}.modal-head h2{font-size:26px;line-height:1.05}.modal-head p{font-size:13px;line-height:1.35}.modal-head .badge{font-size:11px;padding:5px 8px}.modal-card .field{margin:8px 0;gap:5px}.modal-card input,.modal-card select{min-height:48px;padding:10px 12px;font-size:15px}.modal-card .active-toggle{margin:10px 0;padding:4px 0}.modal-card .active-toggle input{width:24px;height:24px}.modal-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin:10px 0 0}.modal-actions .btn{min-height:46px;padding:10px 12px}.permission-save-bar{position:static;display:grid;grid-template-columns:1fr;gap:8px;margin-top:12px;background:#fff8fb;box-shadow:none;border-radius:16px}.permission-save-bar .btn{width:100%;min-height:46px}}.ordering-supplier-hidden-select{display:none}@media(max-width:760px){.basic-entry-grid .scheduled-time-field{margin-top:2px;padding:8px;border:1px solid #eadbdd;border-radius:16px;background:#fffdfb}.basic-entry-grid .scheduled-time-field span{font-size:14px;font-weight:950;color:var(--brand)}.basic-entry-grid .scheduled-time-field .field-hint{font-size:11px;padding:2px 6px;border-radius:999px;background:var(--soft-accent-bg)}.basic-entry-grid .scheduled-time-field input{height:46px!important;min-height:46px!important;border-radius:14px;font-size:14px!important;padding:8px 10px}.ordering-supplier-hidden-select{display:block;min-height:46px;padding:8px 10px;font-size:14px;font-weight:850;border-radius:14px}.ordering-kcode-field .kcode-combo{margin-top:6px}.ordering-kcode-field .field-hint{font-size:11px;line-height:1.2}.kcode-combo{min-height:44px;grid-template-columns:34px minmax(52px,68px) minmax(0,1fr)}.kcode-combo span,.kcode-combo input{min-height:44px}.kcode-combo span{font-size:17px}.kcode-combo input{font-size:16px;padding-inline:6px}.kcode-combo b{max-height:44px;padding:4px 7px;font-size:10px;line-height:1.05}.modal-backdrop{place-items:center;padding:16px}.modal-card{width:min(420px,calc(100vw - 28px));max-height:min(82vh,720px);border-radius:24px;overflow-y:auto}.modal-head h2{font-size:28px}.modal-actions{grid-template-columns:1fr 110px}}@media(max-width:760px){.record-step-card,.basic-entry-grid,.basic-entry-grid *{max-width:100%}.basic-entry-grid,.basic-entry-grid .field{min-width:0;width:100%;overflow:hidden}.basic-entry-grid .invoice-number-control,.basic-entry-grid .invoice-digit-row{width:100%;max-width:100%;overflow:hidden}.basic-entry-grid .invoice-digit-row{grid-template-columns:repeat(8,minmax(0,1fr));gap:3px;padding:4px;border-radius:16px}.basic-entry-grid .invoice-lock-window{min-width:0;border-radius:13px}.basic-entry-grid .scheduled-time-field{width:100%;margin-inline:0;overflow:hidden}.basic-entry-grid .scheduled-time-field input{width:100%;max-width:100%;overflow:hidden}.ordering-kcode-row{padding:8px;gap:8px}.ordering-kcode-field{gap:5px}.ordering-supplier-hidden-select{display:none;margin-top:6px;max-height:46px}.ordering-supplier-hidden-select.is-open{display:block}.kcode-combo{grid-template-columns:34px minmax(54px,68px) 38px minmax(0,1fr);min-height:46px}.ordering-supplier-choose{display:grid;place-items:center;min-height:46px;border-left:1px solid #eadbdd;border-right:1px solid #eadbdd;background:#fff8fb;color:var(--brand);font-size:20px;font-weight:950;padding:0}.kcode-combo span,.kcode-combo input{min-height:46px}.kcode-combo input{font-size:18px;font-weight:950;text-align:center;padding:0 4px}.kcode-combo b{display:flex;align-items:center;max-height:46px;min-height:46px;padding:4px 8px;font-size:12px;line-height:1.12;font-weight:950;overflow:auto;white-space:normal}.ordering-kcode-field .field-hint{margin-top:0;font-size:10.5px}}@media(min-width:761px){.ordering-supplier-choose{display:none}}@media(max-width:760px){.basic-entry-grid .scheduled-time-field{padding:0!important;border:0!important;background:transparent!important;border-radius:0!important}.basic-entry-grid .scheduled-time-field span{margin-bottom:5px;font-size:15px;color:var(--muted)}.basic-entry-grid .scheduled-time-field input{height:54px!important;min-height:54px!important;border:1px solid #d9c4ca;border-radius:17px;background:#fff;box-shadow:none;text-align:center;font-size:17px!important;color:var(--ink)}.kcode-combo{position:relative;grid-template-columns:40px minmax(68px,82px) 34px minmax(0,1fr)!important;min-height:48px}.kcode-combo span,.kcode-combo input{min-height:48px}.kcode-combo input{font-size:18px;text-align:center}.kcode-combo b{min-height:48px;max-height:54px;font-size:13px;line-height:1.12;padding:5px 9px}.ordering-supplier-choose{display:grid;place-items:center;min-height:48px;border:0;border-left:1px solid #eadbdd;border-right:1px solid #eadbdd;background:#fff8fb;color:var(--brand);font-size:19px;font-weight:950;padding:0}.ordering-supplier-hidden-select{position:absolute;right:0;bottom:0;width:1px;height:1px;opacity:0;pointer-events:none}}@media(min-width:761px){.ordering-supplier-choose,.ordering-supplier-hidden-select{display:none}}@media(min-width:761px){.kcode-combo{grid-template-columns:48px minmax(118px,132px) minmax(0,1fr)}.kcode-combo input#salesOrderKNumber{width:100%;min-width:0;padding:0 10px;font-size:18px;text-align:left}}@media(max-width:760px){.basic-entry-grid .scheduled-time-field{box-sizing:border-box;overflow:visible!important;min-width:0}.basic-entry-grid .scheduled-time-field input#scheduledDeliveryTime{display:block;width:100%!important;max-width:100%!important;box-sizing:border-box;overflow:hidden;-webkit-appearance:none;appearance:none;border:1px solid #d9c4ca!important;border-radius:17px!important;padding-inline:12px!important;background-clip:padding-box}.kcode-combo .ordering-supplier-choose{position:relative;z-index:1}.kcode-combo .ordering-supplier-hidden-select{display:block!important;position:absolute!important;top:0;bottom:0;left:calc(40px + min(82px,max(68px,22vw)));width:42px;height:100%;min-height:48px;opacity:.01;pointer-events:auto;z-index:2;border:0;padding:0}}.permission-head-actions{display:flex;align-items:end;gap:10px;flex-wrap:wrap;justify-content:flex-end}.blueprint-shell{overflow:hidden}.blueprint-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.blueprint-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.blueprint-actions select{min-height:36px;border:1px solid var(--line);border-radius:12px;padding:8px 10px;background:#fff;color:var(--ink)}.blueprint-canvas{position:relative;min-height:520px;min-width:940px;overflow:auto;border:1px solid var(--line);border-radius:22px;background:radial-gradient(circle at 8% 12%,rgba(143,79,95,.12),transparent 26%),linear-gradient(135deg,#fffdfb,#f7efec)}.blueprint-canvas svg{position:absolute;inset:0;width:1240px;height:500px;pointer-events:none}.blueprint-edge{fill:none;stroke:#8f4f5f7a;stroke-width:2.2;marker-end:url(#bpArrow);stroke-linecap:round;stroke-linejoin:round}.blueprint-edge-curve{stroke:#8f485080}.blueprint-edge-arc{stroke:#b0477e80;stroke-dasharray:7 5}.blueprint-edge-elbow{stroke:#7a62527a}.blueprint-canvas text{fill:var(--muted);font-size:10px;font-weight:800;paint-order:stroke;stroke:#fffaf8;stroke-width:4px;stroke-linejoin:round}.blueprint-canvas marker path{fill:#8f4f5f8c}.blueprint-node{position:absolute;width:168px;height:78px;text-align:left;border-radius:18px;padding:11px 28px 11px 12px;border:1px solid var(--line);background:#fff;box-shadow:0 14px 34px #4e25301c;color:var(--ink)}.blueprint-node b{display:block;font-size:13px}.blueprint-node span{display:block;color:var(--muted);font-size:10px;line-height:1.35;margin-top:3px}.blueprint-node em{position:absolute;top:7px;right:9px;font-style:normal;color:var(--muted);font-weight:900}.blueprint-sales{border-color:#8f485059;background:var(--sales-bg)}.blueprint-store{border-color:#7a625259;background:var(--store-bg)}.blueprint-system{border-color:#76556459;background:var(--system-bg)}.blueprint-security{border-color:#8f4f5f59;background:var(--soft-accent-bg)}.blueprint-photo{border-color:#b0477e59;background:var(--photo-bg)}.blueprint-data{border-color:#b46a0059;background:var(--payment-bg)}.blueprint-completion-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}.blueprint-completion-grid article{border:1px solid var(--line);border-radius:16px;background:#fffaf8;padding:12px;display:grid;gap:4px}.blueprint-completion-grid b{font-size:13px}.blueprint-completion-grid span{color:var(--brand);font-weight:900;font-size:12px}.blueprint-completion-grid small{color:var(--muted)}@media(max-width:820px){.permission-head-actions,.blueprint-head,.blueprint-actions{align-items:stretch;justify-content:stretch;flex-direction:column}.blueprint-completion-grid{grid-template-columns:1fr}}.blueprint-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,320px);gap:12px;align-items:stretch}.blueprint-legend{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}.blueprint-legend span{display:inline-flex;align-items:center;gap:7px;border:1px solid var(--line);background:#fffaf8;border-radius:999px;padding:7px 10px;color:var(--muted);font-size:12px;font-weight:850}.blueprint-legend i{width:28px;height:0;border-top:3px solid rgba(143,79,95,.55);display:inline-block}.blueprint-legend .legend-curve{border-color:#8f485094;border-radius:999px}.blueprint-legend .legend-elbow{border-color:#7a625294;border-style:solid}.blueprint-legend .legend-arc{border-color:#b0477e94;border-style:dashed}.blueprint-node.selected{outline:3px solid rgba(143,79,95,.28);box-shadow:0 18px 42px #4e253033;transform:translateY(-1px)}.blueprint-node em{font-size:9px;text-transform:none}.blueprint-detail-panel{border:1px solid var(--line);border-radius:22px;padding:16px;background:#fffaf8;display:grid;align-content:start;gap:12px;box-shadow:0 14px 34px #4e253014}.blueprint-detail-panel h3{margin:4px 0 6px}.blueprint-detail-panel p{color:var(--muted);margin:0;font-size:13px;line-height:1.5}.blueprint-detail-tags{display:flex;flex-wrap:wrap;gap:6px}.blueprint-detail-tags span{border:1px solid var(--line);border-radius:999px;padding:6px 8px;background:#fff;color:var(--muted);font-size:11px;font-weight:850}.blueprint-detail-cols{display:grid;gap:10px}.blueprint-detail-cols div{border:1px solid var(--line);border-radius:14px;padding:10px;background:#fff;display:grid;gap:5px}.blueprint-detail-cols b{font-size:12px;color:var(--brand)}.blueprint-detail-cols small{color:var(--muted);line-height:1.4}.blueprint-detail-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}.blueprint-detail-empty{border:1px dashed var(--line);border-radius:18px;padding:16px;color:var(--muted);background:#fffaf8}@media(max-width:1180px){.blueprint-workspace{grid-template-columns:1fr}.blueprint-canvas{min-width:100%}}.blueprint-actions.rich{display:grid;grid-template-columns:minmax(180px,220px) minmax(240px,1fr);align-items:start;max-width:560px}.blueprint-actions.rich .blueprint-custom-form{grid-column:1 / -1}.blueprint-option-info{border:1px solid var(--line);border-radius:16px;background:#fffaf8;padding:10px;display:grid;gap:4px;font-size:12px;line-height:1.35}.blueprint-option-info b{color:var(--brand)}.blueprint-option-info span,.blueprint-option-info small{color:var(--muted)}.blueprint-custom-form{display:grid;grid-template-columns:minmax(150px,.8fr) minmax(220px,1.3fr) auto;gap:8px;align-items:end}.blueprint-custom-form textarea{resize:vertical;min-height:58px}.blueprint-hidden-tray{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px;border:1px dashed var(--line);border-radius:16px;padding:10px;background:#fffdfb}.blueprint-hidden-tray b{color:var(--brand);font-size:12px}.blueprint-hidden-tray small{color:var(--muted)}.blueprint-canvas{touch-action:pan-x pan-y;-webkit-overflow-scrolling:touch;cursor:grab}.blueprint-node{touch-action:none;user-select:none;cursor:grab;overflow:hidden}.blueprint-node:active{cursor:grabbing}@media(max-width:820px){.blueprint-actions.rich{grid-template-columns:1fr;max-width:none}.blueprint-custom-form{grid-template-columns:1fr}.blueprint-canvas{min-height:620px;overflow:auto}.blueprint-canvas svg{width:1240px;height:560px}}.blueprint-unsaved{border-color:#f2c15a!important;box-shadow:0 0 0 3px #f2c15a38,var(--shadow)}.blueprint-node.dirty,.blueprint-detail-panel.dirty{background:#fff7d6!important;border-color:#e1ac27!important}.blueprint-note-editor{width:100%;margin-top:8px;border:1px solid #e1ac27;border-radius:12px;padding:10px;background:#fffdf2}.blueprint-edit-hint{display:block;color:var(--warn);font-weight:850;margin-top:6px}.blueprint-top-buttons{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.blueprint-actions.rich{grid-template-columns:minmax(220px,260px) minmax(280px,1fr);gap:12px}.blueprint-actions.rich>label.field{grid-row:span 1}.blueprint-custom-form{grid-column:1 / -1;align-items:end;background:#fffaf8;border:1px solid var(--line);border-radius:18px;padding:12px}.blueprint-custom-form .field{margin:0}.blueprint-custom-form button{min-height:42px}@media(max-width:820px){.blueprint-actions.rich{grid-template-columns:1fr}.blueprint-top-buttons{justify-content:stretch}.blueprint-top-buttons .btn{flex:1}}
.blueprint-head{display:grid;grid-template-columns:minmax(280px,.9fr) minmax(520px,1.1fr);align-items:start}.blueprint-head>div:first-child h2:empty{display:none}.blueprint-actions.rich{max-width:none;display:grid;grid-template-columns:minmax(280px,.9fr) minmax(360px,1.1fr);gap:14px;align-items:stretch}.blueprint-switch-card,.blueprint-add-card{border:1px solid var(--line);border-radius:20px;background:#fffaf8;padding:14px;display:grid;gap:10px}.blueprint-switch-card .field,.blueprint-add-card .field{margin:0}.blueprint-add-card>b{color:var(--brand);font-size:13px;letter-spacing:0;text-transform:none}.blueprint-add-card .blueprint-custom-form{display:grid;grid-template-columns:minmax(160px,.75fr) minmax(260px,1fr) auto;gap:10px;align-items:end;padding:0;border:0;background:transparent}.blueprint-add-card .blueprint-custom-form textarea{min-height:74px}.blueprint-top-buttons{grid-column:1 / -1;justify-content:flex-start;padding-top:2px}.blueprint-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}.blueprint-toolbar .blueprint-legend{margin:0}.blueprint-zoom{display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:#fffaf8;border-radius:999px;padding:6px}.blueprint-zoom span{min-width:46px;text-align:center;color:var(--brand);font-weight:900;font-size:12px}.blueprint-canvas{min-width:0;min-height:560px;overflow:auto;cursor:grab;overscroll-behavior:contain}.blueprint-canvas.panning{cursor:grabbing}.blueprint-stage-inner{position:absolute;left:0;top:0;width:1240px;height:560px;transform-origin:0 0}.blueprint-stage-inner svg{position:absolute;inset:0;width:1240px;height:500px;pointer-events:none}.blueprint-stage-inner .blueprint-node{position:absolute}@media(max-width:1180px){.blueprint-head,.blueprint-actions.rich,.blueprint-add-card .blueprint-custom-form{grid-template-columns:1fr}}@media(max-width:820px){.blueprint-toolbar{align-items:stretch}.blueprint-zoom{justify-content:center;width:100%}}.blueprint-node.dirty{background:#fff1b8!important;border-color:#d99000!important;box-shadow:0 0 0 3px #d990002e,0 18px 42px #784c002e!important}.blueprint-node .dirty-field,.blueprint-detail-panel .dirty-field,.blueprint-note-editor.dirty-field{background:#fff1b8!important;color:#6d4300!important;border:1px solid #d99000!important;border-radius:10px;padding:6px 8px}.blueprint-detail-panel.dirty{background:#fff8dc!important;border-color:#d99000!important;box-shadow:0 0 0 3px #d9900024,0 18px 42px #784c001f!important}.blueprint-detail-panel.dirty .blueprint-edit-hint:after{content:"  \2022";color:#a86600}.blueprint-add-card.dirty{background:#fff8dc!important;border-color:#d99000!important;box-shadow:0 0 0 3px #d9900024,0 18px 42px #784c001a!important}.blueprint-add-card input.dirty-field,.blueprint-add-card textarea.dirty-field{background:#fff1b8!important;color:#6d4300!important;border-color:#d99000!important}.blueprint-add-card.dirty>b:after{content:" \2022";color:#a86600;text-transform:none;letter-spacing:0}.blueprint-stage-inner svg{z-index:1}.blueprint-stage-inner .blueprint-node{z-index:2}.blueprint-edge{opacity:.72}.blueprint-shell{position:relative}.blueprint-canvas{position:relative;min-width:0!important;min-height:560px;overflow:auto;cursor:grab;overscroll-behavior:contain}.blueprint-stage{position:relative;min-width:100%;min-height:100%}.blueprint-stage-inner{position:relative!important;left:auto!important;top:auto!important;transform:none!important;transform-origin:0 0}.blueprint-stage-inner svg{position:absolute;inset:0;width:100%!important;height:100%!important;pointer-events:auto!important;z-index:1}.blueprint-stage-inner .blueprint-node{position:absolute;z-index:2;width:168px;height:78px;overflow:hidden;cursor:grab}.blueprint-edge{fill:none;stroke-width:2.4;marker-end:url(#bpArrow);stroke-linecap:round;stroke-linejoin:round;pointer-events:stroke;cursor:pointer;opacity:.82}.blueprint-edge:hover,.blueprint-edge.hovered,.blueprint-edge.selected-edge{stroke-width:4;opacity:1;filter:drop-shadow(0 0 4px rgba(143,79,95,.28))}.blueprint-edge-tooltip{position:absolute;z-index:20;min-width:160px;max-width:260px;padding:9px 11px;border:1px solid rgba(143,79,95,.25);border-radius:14px;background:#fffaf8f5;box-shadow:0 14px 34px #4e253029;display:none;pointer-events:none}.blueprint-edge-tooltip.show{display:grid;gap:3px}.blueprint-edge-tooltip b{color:var(--brand);font-size:12px}.blueprint-edge-tooltip span{color:var(--muted);font-size:12px}.blueprint-edge-note{border:1px solid rgba(143,72,80,.24);background:#fff8fb;border-radius:14px;padding:10px;display:grid;gap:4px}.blueprint-edge-note b{color:var(--brand);font-size:12px}.blueprint-edge-note span,.blueprint-edge-note small{color:var(--muted)}.blueprint-zoom span{display:none}.blueprint-overlap-warning{position:sticky;top:10px;left:10px;z-index:12;width:fit-content;max-width:320px;display:none;align-items:center;gap:8px;margin:10px;border:1px solid rgba(198,88,38,.32);border-radius:999px;background:#fff3e8f0;color:#7a3c13;padding:8px 11px;box-shadow:0 10px 26px #7a3c1324;backdrop-filter:blur(8px);pointer-events:none}.blueprint-overlap-warning.show{display:inline-flex}.blueprint-overlap-warning b{color:#9b4415;font-size:11px;text-transform:none;letter-spacing:0;white-space:nowrap}.blueprint-overlap-warning span{font-size:11px;line-height:1.25}.blueprint-node.overlap-warning{border-color:#d95f1f!important;background:#fff0e5!important;box-shadow:0 0 0 4px #d95f1f33,0 18px 42px #7a3c1333!important}.blueprint-node.overlap-warning em{color:#b54815}.blueprint-node.overlap-warning:after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:repeating-linear-gradient(135deg,rgba(217,95,31,.12) 0,rgba(217,95,31,.12) 6px,transparent 6px,transparent 12px)}
.deleted-records-card{border-style:dashed;background:#ffffffdb}.deleted-records-card .table-wrap{opacity:1;filter:none}.deleted-records-card .summary-row{background:#fffaf8d6}.deleted-records-list{max-height:min(560px,58vh);overflow:auto;padding-right:2px}.deleted-record-date{display:inline-block;margin-left:8px;font-size:.78rem}.collapsible-records-card{overflow:hidden}.collapsible-records-card>summary{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:-2px -2px 10px;padding:10px 12px;border-radius:14px;background:#fff8f4d1;cursor:pointer;list-style:none}.collapsible-records-card>summary::-webkit-details-marker{display:none}.collapsible-records-card>summary:after{content:"\25be";color:var(--brand);font-weight:1000;transition:transform .18s ease}.collapsible-records-card:not([open])>summary{margin-bottom:0}.collapsible-records-card:not([open])>summary:after{transform:rotate(-90deg)}.collapsible-records-card>summary span{display:grid;gap:2px;min-width:0}.collapsible-records-card>summary em{color:var(--muted);font-size:12px;font-style:normal;font-weight:900;white-space:nowrap}.record-bulk-toolbar{width:max-content;max-width:100%;margin:6px 0 10px auto;position:relative}.record-bulk-toolbar>summary{display:inline-flex;align-items:center;justify-content:flex-end;gap:8px;min-height:40px;padding:8px 12px;border:1px solid #f0dedb;border-radius:999px;background:#fffaf7;cursor:pointer;list-style:none;box-shadow:0 8px 20px #4e25300f}.record-bulk-toolbar>summary::-webkit-details-marker{display:none}.record-bulk-toolbar>summary:after{content:"";width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:5px solid currentColor;color:var(--brand)}.record-bulk-toolbar[open]>summary{border-color:var(--brand-2)}.record-bulk-toolbar span,.record-bulk-toolbar b{color:var(--muted);font-size:12px;font-weight:900}.record-bulk-toolbar b{color:var(--brand)}.record-bulk-popover{position:absolute;right:0;top:calc(100% + 6px);z-index:20;display:grid;gap:8px;min-width:min(280px,calc(100vw - 36px));padding:10px;border:1px solid #f0dedb;border-radius:14px;background:#fffaf7;box-shadow:0 16px 34px #2a1f2224}.record-bulk-popover .tabs{margin:0;justify-content:flex-end}.record-bulk-popover .btn{white-space:nowrap}.record-list-card>.page-note,.deleted-records-card>.page-note,.deleted-records-list .page-note{margin-top:0}@media(max-width:640px){.record-bulk-toolbar{width:100%}.record-bulk-toolbar>summary{width:100%;justify-content:space-between}.record-bulk-popover{width:100%}}.task-card-select,.audit-select,.task-bulk-select-all,.audit-bulk-select-all{position:relative;display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-size:12px;font-weight:900;line-height:1}.task-card-select{position:absolute;top:12px;right:12px;z-index:4;display:grid;place-items:center;width:34px;height:34px;padding:0;border:1px solid var(--line);border-radius:10px;background:#ffffffeb;box-shadow:0 8px 20px #2a1f2214}.task-card-select input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}.task-card-select:has(input:checked){border-color:var(--selection-border);background:var(--selection-bg);color:var(--selection-ink)}.task-card-select span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.audit-log-item .audit-select{align-self:start}.audit-select,.task-bulk-select-all,.audit-bulk-select-all{min-height:32px;padding:6px 8px;border:1px solid var(--line);border-radius:8px;background:#fff;cursor:pointer}.audit-select input,.task-bulk-select-all input,.audit-bulk-select-all input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}.audit-select:has(input:checked),.task-bulk-select-all:has(input:checked),.audit-bulk-select-all:has(input:checked){border-color:var(--selection-border);background:var(--selection-bg);color:var(--selection-ink)}.audit-log-item.is-deleted{opacity:.72}.pagination-row{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin-top:10px}.pagination-row span{color:var(--muted);font-size:12px;font-weight:900}.record-pagination{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin-top:10px}.record-pagination span{color:var(--muted);font-size:12px;font-weight:900}.select-col{width:38px!important;text-align:center;white-space:nowrap}.record-select-chip{position:relative;display:inline-grid;place-items:center;width:32px;height:32px;margin:auto;border:1px solid var(--line);border-radius:8px;background:#fff;cursor:pointer}.record-select-chip input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}.record-select-chip:has(input:checked){border-color:var(--selection-border);background:var(--selection-bg);box-shadow:inset 0 0 0 2px #934f621f}.summary-row.is-jump-highlight td{animation:record-jump-highlight 1.8s ease}@keyframes record-jump-highlight{0%,to{background:transparent}18%,72%{background:#fff0cb}}.deleted-tasks-section{margin-top:18px;padding:14px;border:1px dashed var(--line);border-radius:18px;background:#ffffffad}.deleted-tasks-section .task-board{opacity:.86;filter:grayscale(.08)}.task-card.is-deleted,.task-card.task-deleted{border-style:dashed;background:#f4e7ebb8}@media(max-width:760px){html{scroll-behavior:smooth}body.has-app{background:var(--bg)}button,.btn,input,select,textarea{font-size:16px}.card,.record-step-card,.task-card,.cs-card,.mobile-hub-card,.mobile-more-sheet{box-shadow:0 8px 22px #4e25300e}.card-head{align-items:flex-start}.card-head h2{font-size:22px;line-height:1.08}.field{margin:9px 0;gap:5px}.field span,.label{font-size:12px;line-height:1.25}input,select,textarea{min-height:48px;border-radius:14px;padding:10px 12px}textarea{min-height:78px}.mobile-bottom-nav{left:8px;right:8px;bottom:calc(8px + env(safe-area-inset-bottom));padding:6px;border-radius:20px}.mobile-tab-btn{position:relative;min-height:50px;border-radius:15px}.mobile-tab-btn span{font-size:19px}.mobile-tab-btn b{font-size:10.5px}.mobile-tab-btn.active:after{content:"";position:absolute;left:50%;bottom:5px;width:18px;height:3px;border-radius:999px;background:#ffffffd1;transform:translate(-50%)}.mobile-hub-hero,.mobile-more-head{padding:13px}.mobile-hub-hero h2,.mobile-more-head h2{font-size:25px;margin:5px 0 4px}.mobile-hub-hero p,.mobile-more-head p{font-size:13px;line-height:1.35}.mobile-hub-card{min-height:76px;gap:10px;padding:11px;grid-template-columns:40px minmax(0,1fr) minmax(54px,auto)}.mobile-hub-card .mobile-hub-icon{width:40px;height:40px;border-radius:14px}.mobile-hub-copy b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-hub-card small{font-size:11.5px;line-height:1.25}.mobile-hub-count{min-width:54px;max-width:74px;padding:6px 7px}.mobile-hub-count b{font-size:13px}.mobile-hub-count small{font-size:8.8px}.mobile-more-group h3{font-size:12px;margin-top:2px}.step-form{gap:10px}.record-step-card{padding:13px 11px}.record-step-card h3{font-size:15px}.record-step-card:last-child .tabs{position:static;display:grid;grid-template-columns:minmax(0,1fr) 104px;gap:8px;margin:10px -2px 0;padding:8px;border:1px solid rgba(234,219,221,.94);border-radius:18px;background:#fffaf8f5}.record-step-card:last-child .tabs .btn{width:100%;min-height:48px}.confirm-box{margin:10px 0;padding:11px;font-size:13px;line-height:1.4}.photo-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.photo-add-card,.photo-preview-card{min-height:116px;padding:10px;border-radius:16px}.photo-source-actions{gap:6px}.photo-source-btn{min-height:42px;font-size:12px}.photo-preview-card img{height:70px}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.photo-thumb{min-height:104px;border-radius:14px}.photo-thumb img{height:82px}.task-board{gap:10px}.task-card{padding:12px;border-radius:18px}.task-card h3{font-size:18px;line-height:1.16}.task-card-head{align-items:flex-start}.task-summary-list{margin-top:8px;border-radius:14px}.task-summary-list div{padding:8px 10px}.task-card .tabs.task-action-panel{margin-top:10px}.task-action-panel .btn{min-height:44px;font-size:13px}.task-action-panel .field,.task-danger-zone{grid-column:1 / -1}.complete-proof-field{padding:9px}.table-wrap{border-radius:14px}.compact-table table{min-width:680px}th,td{padding:9px}.detail-panel{padding:10px;gap:10px}.detail-item{padding:8px}.cs-card-grid{gap:9px}.modal-backdrop{padding:10px}.modal-card{width:min(440px,calc(100vw - 20px));max-height:calc(88vh - env(safe-area-inset-bottom))}.modal-actions{grid-template-columns:minmax(0,1fr) 104px}.toast{left:12px;right:12px;bottom:calc(86px + env(safe-area-inset-bottom));text-align:center}}@media(max-width:380px){.mobile-tab-btn b{font-size:9.5px}.photo-card-grid,.photo-grid{grid-template-columns:1fr}.record-step-card:last-child .tabs,.modal-actions{grid-template-columns:1fr}}@media(max-width:760px){.customer-payment-details-panel{gap:10px}.customer-payment-details-head{grid-template-columns:1fr;align-items:end;gap:8px}.customer-payment-reset{grid-column:1 / -1;justify-self:stretch;width:100%;min-height:42px;border-radius:14px}.customer-payment-compact-invoice{grid-template-columns:92px minmax(0,1fr);gap:8px}.customer-payment-compact-invoice select,.customer-payment-compact-invoice .invoice-digit-row,.customer-payment-linked-so .readonly-field,.customer-payment-linked-so .invoice-number-control,.customer-payment-linked-so .invoice-digit-row{height:44px;min-height:44px}.customer-payment-compact-invoice .invoice-digit-row,.customer-payment-linked-so .invoice-digit-row{grid-template-columns:repeat(8,minmax(0,1fr));gap:4px;padding:4px}.customer-payment-compact-invoice .invoice-lock-window,.customer-payment-compact-invoice .invoice-lock-window .invoice-digit,.customer-payment-linked-so .invoice-lock-window,.customer-payment-linked-so .invoice-lock-window .invoice-digit{height:34px;min-height:34px!important}.customer-payment-compact-invoice .invoice-lock-window .invoice-digit,.customer-payment-linked-so .invoice-lock-window .invoice-digit{font-size:18px}.customer-payment-row-card,.customer-payment-extra-row,.customer-payment-primary-grid{grid-template-columns:1fr;gap:10px;padding:10px;border-style:solid;border-color:#eadbdd;background:#fffaf7}.customer-payment-row-title{position:sticky;top:calc(58px + env(safe-area-inset-top));z-index:4;grid-column:1;margin:-10px -10px 0;border-bottom:1px solid #eadbdd;border-radius:16px 16px 0 0;background:#fffaf7fa;color:var(--payment);white-space:normal}.customer-payment-style-stack,.customer-payment-other-style-field,.customer-payment-type-field,.customer-payment-deposit-field,.customer-payment-full-field,.customer-payment-row-card-fields,.customer-payment-primary-grid.is-deposit #depositAmountField,.customer-payment-primary-grid.is-deposit #fullAmountField{grid-column:1;grid-row:auto}.customer-payment-primary-grid>.field,.customer-payment-row-card>.field,.customer-payment-style-stack .field,.customer-payment-row-card-fields .field,.customer-payment-linked-so .field{grid-template-rows:auto auto;gap:5px}.customer-payment-primary-grid select,.customer-payment-primary-grid input,.customer-payment-row-card select,.customer-payment-row-card input,.customer-payment-row-card-fields select,.customer-payment-row-card-fields input,.customer-payment-style-stack select,.customer-payment-style-stack input,.customer-payment-other-style-field input{width:100%;min-height:46px;height:46px}.customer-payment-row-card-fields,.customer-payment-card-grid,.customer-payment-linked-so,.customer-payment-linked-summary-stack,.customer-payment-linked-stats{grid-template-columns:1fr}.customer-payment-row-card-fields{gap:8px;padding:9px;background:#fff}.customer-payment-linked-so{gap:8px;padding:9px}.customer-payment-linked-stats{margin:6px 0}.customer-payment-linked-stats span{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px}.customer-payment-linked-stats small,.customer-payment-linked-stats b{justify-self:end}.customer-payment-linked-summary{padding:9px;font-size:12px;overflow-wrap:anywhere}.customer-payment-amount-field .amount-digit-wrap{min-height:42px}.customer-payment-amount-field .amount-digit-row{grid-template-columns:repeat(5,minmax(0,1fr)) 5px repeat(2,minmax(0,1fr));min-height:42px}.customer-payment-amount-field .amount-lock-window,.customer-payment-amount-field .amount-lock-window .amount-digit,.customer-payment-amount-field .amount-lock-window .amount-cent-digit{height:32px;min-height:32px!important}.customer-payment-amount-field .amount-lock-window .amount-digit,.customer-payment-amount-field .amount-lock-window .amount-cent-digit{font-size:17px}.customer-payment-amount-field .amount-decimal-dot{min-width:6px;font-size:16px}.ordering-form{gap:10px}.ordering-step-card{padding:12px 10px;gap:10px}.ordering-reset{top:8px;right:8px;width:34px;min-width:34px;height:34px;min-height:34px}.ordering-kcode-row,.ordering-detail-ticket,.ordering-detail-grid{grid-template-columns:1fr;gap:8px}.ordering-detail-grid{grid-template-areas:"kcode" "desc" "type" "size" "quantity" "doc"}.ordering-detail-description-field textarea{min-height:84px}.ordering-item-doc-field{grid-area:doc}.ordering-item-editor{display:grid;gap:10px}.ordering-item-editor.hidden{display:none}.ordering-photo-field{width:100%;margin-top:0}.ordering-photo-field .photo-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ordering-photo-field .photo-source-card{grid-column:1 / -1}.ordering-photo-field .photo-add-card,.ordering-photo-field .photo-preview-card{width:100%;min-height:108px}.ordering-item-editor-actions{position:sticky;bottom:calc(78px + env(safe-area-inset-bottom));z-index:24;display:grid;grid-template-columns:minmax(0,1fr) 104px;gap:8px;margin:2px -2px 0;padding:8px;border:1px solid rgba(234,219,221,.94);border-radius:18px;background:#fffaf8f5;box-shadow:0 12px 28px #4e253024;backdrop-filter:blur(12px)}.ordering-item-editor-actions .btn{min-width:0;width:100%;min-height:46px}.ordering-add-item-card{width:100%;min-height:92px;border-radius:18px}.ordering-bulk-actions{display:grid;grid-template-columns:1fr;gap:7px}.ordering-bulk-actions .btn{width:100%}.ordering-item-summary{border-radius:16px;overflow:hidden;background:#fff}.ordering-item-summary summary{grid-template-columns:28px minmax(0,1fr);gap:8px;padding:9px}.ordering-item-summary summary>.btn{grid-column:1 / -1;width:100%;min-height:40px}.ordering-task-item-grid{grid-template-columns:1fr}.ordering-note{display:grid;grid-template-columns:1fr;gap:4px}.ordering-submit{position:sticky;bottom:calc(78px + env(safe-area-inset-bottom));z-index:23;width:100%;min-height:52px;margin-top:4px;box-shadow:0 14px 28px #8f485038}.photo-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.photo-source-card{grid-column:1 / -1;min-height:112px;align-content:center}.photo-source-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.photo-source-btn{min-height:42px}.photo-preview-card{min-height:112px}.photo-preview-card img{height:72px}.task-card .tabs.task-action-panel,.modal-actions{display:grid;grid-template-columns:minmax(0,1fr) 104px;gap:8px}.modal-actions{position:sticky;bottom:calc(78px + env(safe-area-inset-bottom));z-index:22;padding:8px;border:1px solid rgba(234,219,221,.94);border-radius:18px;background:#fffaf8f5;box-shadow:0 12px 28px #4e253024;backdrop-filter:blur(12px)}.record-step-card:last-child .tabs{display:grid;grid-template-columns:minmax(0,1fr) 104px;gap:8px;margin:12px 0 0;padding:0;border:0;background:transparent;box-shadow:none;backdrop-filter:none}.task-card .tabs.task-action-panel{grid-template-columns:repeat(2,minmax(0,1fr))}.task-action-panel .btn,.record-step-card:last-child .tabs .btn,.modal-actions .btn{width:100%;min-width:0}}@media(max-width:380px){.customer-payment-details-head,.customer-payment-compact-invoice,.ordering-item-editor-actions,.ordering-photo-field .photo-card-grid,.photo-card-grid,.photo-grid,.record-step-card:last-child .tabs,.task-card .tabs.task-action-panel,.modal-actions{grid-template-columns:1fr}.photo-source-card,.ordering-photo-field .photo-source-card{grid-column:1}.customer-payment-row-title{top:calc(54px + env(safe-area-inset-top))}}.modal-card:has(#editRecordForm){width:min(1120px,calc(100vw - 32px));overflow-x:hidden}.modal-card #editRecordForm,.modal-card #editRecordForm *{min-width:0}.modal-card #editRecordForm>.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.modal-card #editRecordForm .invoice-digit-row{grid-template-columns:repeat(8,minmax(0,1fr))}.modal-card #editCustomerPaymentRows{display:grid;gap:10px}.modal-card [data-edit-customer-payment-row].customer-payment-row-card{grid-template-columns:92px minmax(180px,1fr) minmax(160px,.86fr)!important;grid-auto-rows:auto}.modal-card [data-edit-customer-payment-row] .customer-payment-row-title{grid-column:1;grid-row:1 / span 3;padding-top:28px;line-height:1.2}.modal-card [data-edit-customer-payment-row] .customer-payment-style-stack{grid-column:3;grid-row:1}.modal-card [data-edit-customer-payment-row] .customer-payment-type-field{grid-column:2;grid-row:1}.modal-card [data-edit-customer-payment-row] .customer-payment-deposit-field{grid-column:2;grid-row:2}.modal-card [data-edit-customer-payment-row] .customer-payment-full-field{grid-column:3;grid-row:2}.modal-card [data-edit-customer-payment-row] .customer-payment-row-card-fields{grid-column:2 / -1;grid-row:3;grid-template-columns:repeat(3,minmax(150px,1fr))!important}.modal-card [data-edit-row-other-bank-field]:not(.is-hidden){grid-column:1 / -1}.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-digit-row{grid-template-columns:repeat(5,minmax(24px,1fr)) 5px repeat(2,minmax(24px,.78fr))}.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window,.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .amount-digit,.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .amount-cent-digit{min-height:34px!important}.modal-card #editLinkedSOField{grid-template-columns:92px minmax(180px,240px) minmax(0,1fr)!important;align-items:start;overflow:hidden}.modal-card #editLinkedSOBalanceSummary{max-height:260px;overflow:auto}.customer-payment-linked-summary ul{display:grid;gap:7px;margin:8px 0 0;padding-left:0;list-style:none}.customer-payment-linked-summary li{display:grid;grid-template-columns:minmax(120px,.7fr) minmax(150px,1fr) minmax(92px,.5fr) minmax(0,1.35fr);gap:6px;align-items:start;padding:7px 8px;border:1px solid #f0dedb;border-radius:12px;background:#fff}.customer-payment-linked-summary li small,.customer-payment-linked-summary li span{overflow-wrap:anywhere}.modal-card .photo-card-grid{grid-template-columns:repeat(auto-fit,minmax(132px,176px));justify-content:start}.modal-card textarea{min-height:96px;max-height:180px}.audit-log-list{gap:8px}.audit-log-item{grid-template-columns:minmax(170px,220px) minmax(0,1fr);align-items:center;padding:10px 12px}.audit-log-meta{grid-template-columns:minmax(0,1fr);gap:4px}.audit-log-meta:has(.audit-select){grid-template-columns:30px minmax(0,1fr)}.audit-log-meta:has(.audit-select) .audit-select{grid-column:1;grid-row:1 / span 3;display:grid;place-items:center;width:30px;height:30px;margin:0}.audit-log-meta:has(.audit-select) .audit-select span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.audit-log-meta:has(.audit-select) time,.audit-log-meta:has(.audit-select)>span,.audit-log-meta:has(.audit-select) em{grid-column:2}.audit-log-main{grid-template-columns:minmax(0,1fr) auto;align-items:center}.audit-log-main>strong{font-size:16px;line-height:1.25}.audit-log-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.audit-inline-details{grid-column:1 / -1}.audit-detail-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:8px}.audit-detail-summary>div,.audit-change-grid{border:1px solid #f1e0e4;border-radius:12px;background:#ffffffd6;padding:9px 10px}.audit-detail-summary b,.audit-change-grid b{display:block;color:var(--muted);font-size:11px;text-transform:none}.audit-detail-summary span{display:block;overflow-wrap:anywhere}.audit-link-strip{display:grid;gap:6px;margin-top:8px;padding:9px 10px;border:1px solid #f1e0e4;border-radius:12px;background:#ffffffd6}.audit-link-strip>b,.audit-link-chip small{display:block;color:var(--muted);font-size:11px;font-weight:950;text-transform:none}.audit-link-strip>div{display:flex;flex-wrap:wrap;gap:6px;min-width:0}.audit-link-chip{display:inline-grid;gap:2px;max-width:100%;min-height:34px;padding:6px 9px;border:1px solid #eadbdd;border-radius:10px;background:#fffafb;color:var(--ink);font-size:12px;font-weight:850;overflow-wrap:anywhere}.audit-change-grid{display:grid;gap:6px;margin-top:8px}.audit-change-grid>div{display:grid;grid-template-columns:minmax(110px,.5fr) repeat(2,minmax(0,1fr));gap:8px;align-items:start}.audit-change-grid span{overflow-wrap:anywhere}.audit-raw-json{margin-top:8px}.backup-storage-monitor{display:grid;gap:12px;margin-top:16px;padding:14px;border:1px solid #f1e0e4;border-radius:16px;background:#fffafb}.backup-storage-monitor .card-head.compact{margin:0}.backup-storage-monitor .card-head.compact h3{margin:2px 0 0;font-size:20px}.backup-note-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.backup-note-grid>div{min-width:0;padding:10px;border:1px solid #eadbdd;border-radius:12px;background:#fff}.backup-note-grid b,.backup-data-groups summary{color:var(--muted);font-size:12px;font-weight:950}.backup-note-grid span{display:block;margin-top:4px;overflow-wrap:anywhere;color:var(--ink);font-size:13px;font-weight:750}.backup-data-groups{min-width:0}.backup-key-list{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.backup-key-list span{max-width:100%;padding:5px 8px;border:1px solid #eadbdd;border-radius:999px;background:#fff;color:var(--ink);font-size:12px;font-weight:850;overflow-wrap:anywhere}@media(max-width:820px){.modal-card:has(#editRecordForm){width:min(560px,calc(100vw - 20px))}.modal-card #editRecordForm>.grid-2,.modal-card [data-edit-customer-payment-row].customer-payment-row-card,.modal-card #editLinkedSOField,.customer-payment-linked-summary li,.audit-log-item,.audit-log-main,.backup-note-grid{grid-template-columns:1fr!important}.modal-card [data-edit-customer-payment-row] .customer-payment-row-title,.modal-card [data-edit-customer-payment-row] .customer-payment-style-stack,.modal-card [data-edit-customer-payment-row] .customer-payment-type-field,.modal-card [data-edit-customer-payment-row] .customer-payment-deposit-field,.modal-card [data-edit-customer-payment-row] .customer-payment-full-field,.modal-card [data-edit-customer-payment-row] .customer-payment-row-card-fields{grid-column:1;grid-row:auto}.modal-card [data-edit-customer-payment-row] .customer-payment-row-title{padding-top:0}.audit-detail-summary,.audit-change-grid>div{grid-template-columns:1fr}}@media(min-width:821px)and (max-width:1180px){.modal-card:has(#editRecordForm){width:min(860px,calc(100vw - 24px))}.modal-card #editRecordForm>.grid-2{grid-template-columns:minmax(0,.72fr) minmax(0,1fr)}.modal-card [data-edit-customer-payment-row].customer-payment-row-card{grid-template-columns:78px minmax(0,1fr) minmax(0,1fr)!important}.modal-card [data-edit-customer-payment-row] .customer-payment-row-title{grid-row:1 / span 4;padding-top:28px}.modal-card [data-edit-customer-payment-row] .customer-payment-style-stack{grid-column:3;grid-row:1}.modal-card [data-edit-customer-payment-row] .customer-payment-type-field{grid-column:2;grid-row:1}.modal-card [data-edit-customer-payment-row] .customer-payment-deposit-field{grid-column:2;grid-row:2}.modal-card [data-edit-customer-payment-row] .customer-payment-full-field{grid-column:3;grid-row:2}.modal-card [data-edit-customer-payment-row] .customer-payment-row-card-fields{grid-column:2 / -1;grid-row:3;grid-template-columns:repeat(3,minmax(0,1fr))!important}.modal-card #editLinkedSOField{grid-template-columns:92px minmax(0,.88fr) minmax(0,1.3fr)!important}.customer-payment-linked-summary li{grid-template-columns:minmax(96px,.55fr) minmax(120px,.8fr) minmax(90px,.5fr)}.customer-payment-linked-summary li small{grid-column:1 / -1}}.cs-heatmap-detail-outside{display:block}@media(max-width:760px){.record-form-card,.record-list-card,.deleted-records-card,.record-step-card,.customer-payment-row-card,.customer-payment-primary-grid,.customer-payment-linked-so{max-width:100%;overflow:hidden}.record-form-card,.record-list-card,.deleted-records-card{padding:12px 10px;border-radius:20px}.record-step-card{padding:12px 10px;border-radius:18px}.record-step-card .step-number{width:34px;height:34px;font-size:16px}.record-step-card h3{min-width:0;font-size:20px;line-height:1.08;overflow-wrap:anywhere}.compact-readonly-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.compact-readonly-grid input.readonly-field,.customer-payment-details-head select,.customer-payment-details-head input,.customer-payment-date input,.customer-payment-quantity select{width:100%;max-width:100%;box-sizing:border-box}.customer-payment-details-head .field,.customer-payment-date,.customer-payment-quantity{min-width:0;overflow:hidden}.customer-payment-date input[type=date]{-webkit-appearance:none;appearance:none;text-align:center;font-size:17px}.customer-payment-reset{margin-top:2px}.customer-payment-compact-invoice{grid-template-columns:minmax(84px,104px) minmax(0,1fr)!important;align-items:end;width:100%;max-width:100%;overflow:hidden}.customer-payment-compact-invoice .invoice-number-control,.customer-payment-compact-invoice .invoice-digit-row,.customer-payment-linked-so .invoice-number-control,.customer-payment-linked-so .invoice-digit-row{width:100%;min-width:0;max-width:100%;box-sizing:border-box;overflow:hidden}.customer-payment-row-card,.customer-payment-primary-grid{grid-template-columns:1fr!important;padding:9px}.customer-payment-row-title{position:static;margin:-9px -9px 0;padding:8px 10px}.customer-payment-amount-field,.customer-payment-amount-field .amount-digit-wrap,.customer-payment-amount-field .amount-digit-row{width:100%;max-width:100%;min-width:0;box-sizing:border-box;overflow:hidden}.customer-payment-amount-field .amount-digit-row{grid-template-columns:repeat(5,minmax(0,1fr)) 5px repeat(2,minmax(0,1fr))!important;gap:3px;padding:3px}.customer-payment-amount-field .amount-lock-window{min-width:0;max-width:100%;border-radius:13px}.customer-payment-amount-field .amount-lock-window .amount-digit,.customer-payment-amount-field .amount-lock-window .amount-cent-digit{font-size:16px}.record-list-card>summary,.deleted-records-card>summary{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}.record-list-card>summary b,.deleted-records-card>summary b{font-size:18px;line-height:1.15;overflow-wrap:anywhere}.record-list-card .page-note,.deleted-records-card .page-note{font-size:12px;line-height:1.3}.record-list-card .compact-table,.deleted-records-card .compact-table{border:0;background:transparent;overflow:visible}.record-list-card .compact-table table,.record-list-card .compact-table thead,.record-list-card .compact-table tbody,.record-list-card .compact-table tr,.record-list-card .compact-table td,.deleted-records-card .compact-table table,.deleted-records-card .compact-table thead,.deleted-records-card .compact-table tbody,.deleted-records-card .compact-table tr,.deleted-records-card .compact-table td{display:block;width:100%;min-width:0!important;box-sizing:border-box}.record-list-card .compact-table thead,.deleted-records-card .compact-table thead{display:none}.record-list-card .compact-table tbody,.deleted-records-card .compact-table tbody{display:grid;gap:10px}.record-list-card .summary-row,.deleted-records-card .summary-row{position:relative;display:grid;gap:7px;padding:12px 10px 10px;border:1px solid var(--line);border-radius:17px;background:#fff;box-shadow:0 8px 20px #4e25300e}.record-list-card .summary-row td,.deleted-records-card .summary-row td{display:grid;grid-template-columns:minmax(92px,.42fr) minmax(0,1fr);gap:10px;align-items:start;padding:0;border:0;font-size:14px}.record-list-card .summary-row td:before,.deleted-records-card .summary-row td:before{content:attr(data-cell);color:var(--muted);font-size:10px;font-weight:950;line-height:1.2;text-transform:none}.record-list-card .summary-row .select-col,.deleted-records-card .summary-row .select-col{position:absolute;top:10px;right:10px;width:auto!important;padding:0}.record-list-card .summary-row .select-col:before,.deleted-records-card .summary-row .select-col:before{display:none}.record-list-card .summary-row .select-col+td,.deleted-records-card .summary-row .select-col+td{padding-right:42px}.record-list-card .record-action-cell,.deleted-records-card .record-action-cell{grid-template-columns:1fr}.record-list-card .record-action-cell:before,.deleted-records-card .record-action-cell:before{margin-bottom:-2px}.record-list-card .record-action-cell .btn,.deleted-records-card .record-action-cell .btn{width:100%;margin:0 0 6px}.record-list-card .details-row,.deleted-records-card .details-row{display:block}.record-list-card .details-row.hidden,.deleted-records-card .details-row.hidden{display:none!important}.record-list-card .details-row td,.deleted-records-card .details-row td{display:block;padding:0;border:0}.record-list-card .details-row td:before,.deleted-records-card .details-row td:before{display:none}.amount-cell-payment{gap:2px}.cs-heatmap{grid-template-columns:1fr!important}.cs-heatmap-title{padding:12px}.cs-date-lane{overflow:hidden}.cs-document-panel{padding:10px;border-radius:16px}.cs-document-summary,.cs-document-timeline .cs-timeline-item,.compact-fact-grid{grid-template-columns:1fr}}@media(max-width:380px){.record-list-card .summary-row td,.deleted-records-card .summary-row td{grid-template-columns:1fr;gap:3px}.customer-payment-compact-invoice{grid-template-columns:1fr!important}}.photo-uploaded-card{grid-template-rows:minmax(0,1fr) auto;padding:8px}.photo-uploaded-preview{width:100%;min-width:0;display:grid;place-items:center;gap:6px;padding:0;border:0;background:transparent;color:inherit;cursor:pointer}.photo-uploaded-preview img{width:100%;height:76px;object-fit:cover;border-radius:12px;background:#f3f0f1}.photo-remove-btn{width:100%;min-height:30px;border:0;border-radius:999px;background:#fde4df;color:#a13d34;font-size:14px;font-weight:950;display:inline-grid;place-items:center}.photo-remove-btn:hover{background:#f9d4ce}.modal-card:has(#editRecordForm){width:min(980px,calc(100vw - 28px))}.modal-card #editRecordForm .edit-invoice-grid{grid-template-columns:minmax(120px,170px) minmax(230px,340px)!important;justify-content:start;align-items:end;gap:10px}.modal-card #editRecordForm .edit-invoice-grid select{min-height:44px;height:44px;padding:8px 12px}.modal-card #editRecordForm .edit-invoice-grid .invoice-digit-row{grid-template-columns:repeat(8,minmax(0,1fr))!important;justify-content:start;gap:4px;min-height:44px!important;padding:4px;border-radius:15px}.modal-card #editRecordForm .edit-invoice-grid .invoice-lock-window,.modal-card #editRecordForm .edit-invoice-grid .invoice-lock-window .invoice-digit{min-height:34px!important;height:34px;border-radius:12px}.modal-card #editRecordForm .edit-invoice-grid .invoice-lock-window .invoice-digit{font-size:18px}.modal-card [data-edit-customer-payment-row].customer-payment-row-card{grid-template-columns:72px minmax(170px,.82fr) minmax(150px,.72fr) minmax(270px,1fr) minmax(270px,1fr)!important;overflow:visible;align-items:start}.modal-card [data-edit-customer-payment-row] .customer-payment-row-title{grid-column:1!important;grid-row:1 / span 2!important}.modal-card [data-edit-customer-payment-row] .customer-payment-style-stack{grid-column:3!important;grid-row:1!important}.modal-card [data-edit-customer-payment-row] .customer-payment-type-field{grid-column:2!important;grid-row:1!important}.modal-card [data-edit-customer-payment-row] .customer-payment-deposit-field{grid-column:4!important;grid-row:1!important}.modal-card [data-edit-customer-payment-row] .customer-payment-full-field{grid-column:5!important;grid-row:1!important}.modal-card [data-edit-customer-payment-row] .customer-payment-row-card-fields{grid-column:2 / -1!important;grid-row:2!important}.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-digit-wrap{max-width:100%}.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-digit-row{grid-template-columns:repeat(5,minmax(0,31px)) 5px repeat(2,minmax(0,31px))!important;justify-content:start;min-height:36px!important;gap:3px;padding:3px;border-radius:14px;overflow:visible}.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window,.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .amount-digit,.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .amount-cent-digit{min-height:28px!important;height:28px;border-radius:11px}.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .amount-digit,.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .amount-cent-digit,.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-decimal-dot{font-size:16px}@media(max-width:760px){.modal-card #editRecordForm .edit-invoice-grid{grid-template-columns:1fr!important}.modal-card #editRecordForm .edit-invoice-grid .invoice-digit-row{grid-template-columns:repeat(8,minmax(0,1fr))!important}.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-digit-row{grid-template-columns:repeat(5,minmax(22px,1fr)) 4px repeat(2,minmax(22px,1fr))!important}}.icon-btn{min-width:42px;width:42px;padding:0;display:inline-grid;place-items:center}.cs-amount-stats,.function-role-grid{display:grid;gap:10px}.cs-amount-stats{grid-template-columns:repeat(3,minmax(160px,1fr));margin:12px 0}.cs-amount-stats span,.function-status-alert,.function-status-row,.function-role-pill{border:1px solid #ead8dc;border-radius:14px;background:#ffffffc7}.cs-amount-stats span{display:grid;gap:3px;padding:10px 12px}.cs-amount-stats em,.function-status-title small,.function-role-pill small,.function-role-pill em{color:var(--muted);font-style:normal;font-size:12px}.cs-amount-stats b{color:var(--brand);font-size:18px}.function-status-page{display:grid;gap:14px}.system-health-panel{display:grid;gap:12px;padding:14px;border:1px solid #cfe1de;border-radius:8px;background:#f4faf8}.system-health-panel.is-warning{border-color:#ead39f;background:#fff9eb}.system-health-panel.is-error{border-color:#e5b5bc;background:#fff3f4}.system-health-head,.system-health-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}.system-health-head h2{margin:2px 0 0;font-size:20px}.system-health-actions{justify-content:flex-end}.system-health-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.system-health-grid article{display:grid;align-content:start;gap:5px;min-width:0;padding:9px 10px;border:1px solid rgba(94,128,120,.22);border-radius:8px;background:#fffc}.system-health-grid span,.system-health-check span{color:var(--muted);font-size:12px;font-weight:800}.system-health-grid b{min-width:0;font-size:13px;overflow-wrap:anywhere}.system-health-grid .btn.compact{justify-self:start;min-height:30px;margin-top:2px;padding:5px 8px;font-size:11px}.system-health-role-chips{display:flex;flex-wrap:wrap;gap:4px}.system-health-role-chip{padding:3px 6px;border:1px solid rgba(95,72,78,.14);border-radius:999px;background:#ffffffb8;color:var(--muted);font-size:10px;font-weight:900}.system-health-role-chip.is-present{border-color:#bddbcf;background:#edf8f3;color:#2f755a}.system-health-role-chip.is-missing{border-color:#ead39f;background:#fff6df;color:#8a5b0a}.system-health-error{margin:0;color:#a13a48;font-weight:700}.system-health-details>summary{color:var(--brand);cursor:pointer;font-weight:800}.system-health-details[open]>summary{margin-bottom:8px}.system-health-readiness{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.system-health-readiness-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 8px;align-items:center;min-width:0;padding:8px 9px;border:1px solid rgba(95,72,78,.14);border-radius:8px;background:#ffffffc7}.system-health-readiness-row span,.system-health-readiness-row small{min-width:0;overflow-wrap:anywhere}.system-health-readiness-row span{color:var(--muted);font-size:12px;font-weight:800}.system-health-readiness-row small{grid-column:1 / -1;color:var(--muted);font-size:10px}.system-health-readiness-row.is-healthy b{color:#2f755a}.system-health-readiness-row.is-warning b{color:#9b6a12}.system-health-readiness-row.is-error b{color:#a13a48}.system-health-check{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 10px;align-items:center;padding:7px 9px;border-top:1px solid rgba(95,72,78,.12)}.system-health-check:first-of-type{border-top:0}.system-health-check b{min-width:28px;text-align:right}.system-health-check small{grid-column:1 / -1;max-height:4.5em;overflow:auto;color:var(--muted);overflow-wrap:anywhere}.system-health-check.is-error b{color:#a13a48}.system-health-check.is-warning b{color:#9b6a12}.system-health-check.is-healthy b{color:#2f755a}.function-status-alert{display:grid;grid-template-columns:180px minmax(0,1fr);gap:10px;padding:12px;background:#fff8e7;border-color:#f1d58b}.function-status-list{display:grid;gap:10px}.function-status-row{display:grid;grid-template-columns:minmax(180px,.42fr) minmax(0,1fr);gap:12px;padding:12px}.function-status-title{display:grid;gap:4px;align-content:start}.function-role-grid{grid-template-columns:repeat(3,minmax(160px,1fr))}.function-role-pill{display:grid;gap:2px;padding:8px 10px;min-width:0;width:100%;color:inherit;font:inherit;text-align:left}.function-role-pill:is(button){cursor:pointer}.function-role-pill:is(button):disabled{cursor:not-allowed}.function-role-pill b,.function-role-pill small,.function-role-pill em{min-width:0;overflow-wrap:anywhere}.function-role-pill em{display:block;max-height:2.8em;overflow:hidden}.function-role-pill.is-online{border-color:#cfe4d7;background:#f3fbf5}.function-role-pill.is-offline{border-color:#f1c9c2;background:#fff3ef}.function-role-pill.no-access{opacity:.62}.module-switch-group{display:grid;gap:10px}.module-switch-group-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 2px}.module-switch-group-head h3{margin:0;font-size:14px;color:var(--brand);text-transform:none;letter-spacing:.04em}.module-switch-group-head span{color:var(--muted);font-size:12px;font-weight:900}.module-switch-row{grid-template-columns:minmax(190px,.35fr) 128px minmax(0,1fr);align-items:center}.module-switch-title b{display:inline-flex;align-items:center;gap:8px}.module-switch-control{display:grid;justify-items:center}.module-power-toggle{width:104px;height:46px;display:grid;grid-template-columns:1fr 1fr;align-items:center;padding:4px;border:1px solid #d9cbd0;border-radius:999px;background:#f4f1ef;box-shadow:inset 0 1px 3px #2a1f2214}.module-power-toggle button{min-width:0;height:36px;border:0;border-radius:999px;background:transparent;color:#8a7378;font-size:11px;font-weight:950;letter-spacing:.02em;cursor:pointer}.module-power-toggle.is-on button[data-module-online=true]{background:#21b99a;color:#fff;box-shadow:0 4px 12px #21b99a38}.module-power-toggle.is-off button[data-module-online=false]{background:#ef4e69;color:#fff;box-shadow:0 4px 12px #ef4e6938}.module-power-toggle button:disabled{cursor:not-allowed;opacity:.72}.task-section{grid-template-columns:minmax(0,1fr) auto;align-items:start}.task-section>h3{grid-column:1}.task-section>.card-head{grid-column:1 / -1}.task-section>.record-bulk-toolbar{grid-column:2;justify-self:end;align-self:start}.task-section>.task-board,.task-section>.empty,.task-section>.pagination-row{grid-column:1 / -1}.deleted-tasks-section>p.muted{grid-column:1;margin:0;align-self:center}.deleted-tasks-section>p.muted+.record-bulk-toolbar{grid-column:2;justify-self:end}@media(max-width:1280px){.modal-card [data-edit-customer-payment-row].customer-payment-row-card{grid-template-columns:72px repeat(2,minmax(0,1fr))!important}.modal-card [data-edit-customer-payment-row] .customer-payment-style-stack{grid-column:3!important;grid-row:1!important}.modal-card [data-edit-customer-payment-row] .customer-payment-type-field{grid-column:2!important;grid-row:1!important}.modal-card [data-edit-customer-payment-row] .customer-payment-deposit-field{grid-column:2!important;grid-row:2!important}.modal-card [data-edit-customer-payment-row] .customer-payment-full-field{grid-column:3!important;grid-row:2!important}.modal-card [data-edit-customer-payment-row] .customer-payment-row-card-fields{grid-column:2 / -1!important;grid-row:3!important}}@media(max-width:760px){.cs-amount-stats,.function-status-alert,.function-status-row,.function-role-grid,.task-section{grid-template-columns:1fr}.task-section>.record-bulk-toolbar,.deleted-tasks-section>p.muted+.record-bulk-toolbar{grid-column:1;justify-self:stretch}.task-section>.card-head,.task-section>h3,.deleted-tasks-section>p.muted{grid-column:1}}.modal-card:has(#editRecordForm){width:min(1120px,calc(100vw - 28px));overflow-x:hidden}.modal-card #editRecordForm .edit-invoice-grid{grid-template-columns:180px minmax(288px,330px)!important;max-width:540px}.modal-card #editRecordForm .edit-invoice-grid .invoice-digit-row{grid-template-columns:repeat(8,minmax(0,1fr))!important;width:100%;max-width:100%}.modal-card [data-edit-customer-payment-row].customer-payment-row-card{grid-template-columns:74px minmax(210px,1fr) minmax(172px,.75fr) 252px 252px!important;gap:10px;overflow:hidden}.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field{max-width:252px}.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-digit-wrap{overflow:visible}.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-digit-row{grid-template-columns:repeat(5,28px) 5px repeat(2,28px)!important;width:max-content;max-width:100%;gap:4px;padding:4px}.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window,.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .amount-digit,.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .amount-cent-digit{min-height:30px!important;height:30px}.existing-customer-payment-preview{display:grid;gap:8px;margin-top:8px;padding:10px;border:1px solid #f0c36d;border-radius:14px;background:#fff8e6;color:#6f4000;max-width:100%;overflow:visible}.existing-customer-payment-preview.duplicate-blocked{border-color:#df9aa5;background:#fff1f3;color:#8f4f5f}.existing-customer-payment-preview-head{display:flex;flex-wrap:wrap;align-items:center;gap:7px}.existing-customer-payment-preview-head b{color:var(--ink)}.existing-customer-payment-preview-head span{display:inline-flex;align-items:center;min-height:26px;padding:4px 8px;border-radius:999px;background:#ffffffb8;color:currentColor;font-size:12px;font-weight:900}.existing-customer-payment-preview p{margin:0;color:#745a61;font-size:13px;font-weight:800;line-height:1.35}.confirm-box .existing-customer-payment-preview,.confirm-box .existing-invoice-summary{overflow:visible}.confirm-box .existing-invoice-summary{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.confirm-box .existing-invoice-summary div{min-width:0}.task-section.deleted-tasks-section.collapsible-records-card{display:block;padding:0;background:#ffffffb8}.task-section.deleted-tasks-section.collapsible-records-card>summary{padding:16px 18px}.task-section.deleted-tasks-section.collapsible-records-card>p,.task-section.deleted-tasks-section.collapsible-records-card>.record-bulk-toolbar,.task-section.deleted-tasks-section.collapsible-records-card>.task-board,.task-section.deleted-tasks-section.collapsible-records-card>.empty,.task-section.deleted-tasks-section.collapsible-records-card>.pagination-row{margin-inline:16px}.audit-filter-bar{grid-template-columns:minmax(220px,1.4fr) minmax(150px,.8fr) minmax(150px,.8fr) minmax(170px,.9fr) auto;align-items:end}.audit-section-card>summary{min-height:58px}.audit-section-helper{margin:8px 0 10px;font-size:14px}.audit-bulk-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0 10px}.audit-bulk-select-inline{min-height:38px;padding:8px 12px;border:1px solid var(--line);border-radius:12px;background:#fffaf7}.audit-log-item{grid-template-columns:minmax(210px,260px) minmax(0,1fr);align-items:center;min-height:96px}.audit-log-meta{gap:5px}.audit-log-meta .audit-done-by{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.audit-log-meta .audit-done-by small{color:var(--muted);font-size:10px;font-weight:950;text-transform:none}.audit-log-main{gap:8px 12px}.function-status-alert{align-items:center}.function-status-alert .btn{justify-self:end;white-space:nowrap}@media(max-width:1280px){.modal-card [data-edit-customer-payment-row].customer-payment-row-card{grid-template-columns:74px minmax(0,1fr) minmax(0,1fr)!important}}@media(max-width:760px){.modal-card #editRecordForm .edit-invoice-grid{grid-template-columns:1fr!important;max-width:none}.modal-card #editRecordForm .edit-invoice-grid .invoice-digit-row{width:100%;grid-template-columns:repeat(8,minmax(0,1fr))!important}.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field{max-width:none}.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-digit-row{width:100%;grid-template-columns:repeat(5,minmax(26px,1fr)) 5px repeat(2,minmax(26px,1fr))!important}.audit-filter-bar,.audit-log-item,.audit-bulk-row{grid-template-columns:1fr;display:grid}.function-status-alert .btn{justify-self:stretch}}details.permission-row.permission-card{display:block;padding:0;overflow:hidden}details.permission-row.permission-card>summary{display:grid;grid-template-columns:minmax(180px,1fr) minmax(0,2fr) auto;gap:10px;align-items:center;padding:12px 14px;cursor:pointer;list-style:none}details.permission-row.permission-policy-row{border:1px solid #ead8dc;border-radius:14px;background:#ffffffc7}.permission-module-name{display:grid;gap:3px;min-width:0}.permission-module-name b{display:inline-flex;align-items:center;gap:8px;min-width:0}.permission-module-name small,.permission-module-note{min-width:0;overflow-wrap:anywhere}@media(max-width:760px){.module-switch-row,details.permission-row.permission-card>summary{grid-template-columns:1fr}.module-switch-control{justify-items:stretch}.module-power-toggle{justify-self:start}.function-role-grid,.permission-toggle-grid,.task-payment-row-detail dl{grid-template-columns:1fr}}.permission-toggle-grid{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:8px}.permission-toggle{min-width:0}.permission-toggle span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-payment-rows{display:grid;gap:8px;margin-top:10px}.task-payment-rows h4{margin:0;color:var(--brand);font-size:13px}.task-payment-row-detail{display:grid;gap:8px;padding:10px;border:1px solid #eadbdd;border-radius:12px;background:#fffaf7}.task-payment-row-detail dl{display:grid;grid-template-columns:repeat(3,minmax(120px,1fr));gap:6px;margin:0}.task-payment-row-detail div{min-width:0}.task-payment-row-detail dt{color:var(--muted);font-size:10px;font-weight:950;text-transform:none}.task-payment-row-detail dd{margin:0;min-width:0;font-size:13px;font-weight:850;overflow-wrap:anywhere}.confirm-preview-head{display:flex;align-items:center;min-width:0;padding-bottom:8px;border-bottom:1px solid var(--line)}.confirm-preview-head b{color:var(--brand);font-size:13px}.confirm-preview-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(210px,100%),1fr));gap:0 12px;min-width:0}.confirm-preview-item{display:grid;grid-template-columns:minmax(76px,.38fr) minmax(0,1fr);gap:8px;align-items:start;min-width:0;padding:8px 0;border-bottom:1px solid color-mix(in srgb,var(--line) 72%,transparent)}.confirm-preview-item span{min-width:0;color:var(--muted);font-size:10px;font-weight:900;line-height:1.2}.confirm-preview-item b{min-width:0;font-size:12px;line-height:1.28;overflow-wrap:anywhere}.confirm-preview-note{grid-column:1 / -1;min-width:0;padding:8px 0;overflow-wrap:anywhere}.confirm-preview-grid+.submission-photo-preview:not(:empty){margin-top:10px;padding-top:10px;border-top:1px solid var(--line)}.field-help{display:block;margin-top:4px;color:var(--muted);font-size:10px;font-weight:800;line-height:1.3;overflow-wrap:anywhere}
.task-summary-list dd,.record-table td,.cs-mini-details,.document-click-tooltip,.native-title-tooltip,.task-payment-row-detail,.permission-module-note{min-width:0;overflow-wrap:anywhere}details.permission-row.permission-card>summary::-webkit-details-marker{display:none}details.permission-row.permission-card>summary:after{content:"\25be";justify-self:end;color:var(--brand);font-weight:950}details.permission-row.permission-card[open]>summary:after{transform:rotate(180deg)}details.permission-row.permission-card>summary em{justify-self:end;color:var(--muted);font-size:12px;font-style:normal;font-weight:900}details.permission-row.permission-card>.permission-toggles{padding:0 14px 14px}.document-click-tooltip{position:fixed;z-index:2000;max-width:min(380px,calc(100vw - 24px));padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#2b1e1f;color:#fffaf7;box-shadow:0 10px 24px #261b1f2e;font-size:13px;font-weight:850;pointer-events:none}.document-click-tooltip>b,.document-click-tooltip>span,.document-click-tooltip small{display:block}.document-click-tooltip>b{font-size:14px}.document-click-tooltip>span,.document-click-tooltip small{color:#eadbdd;font-weight:750}.document-click-tooltip ul{display:grid;gap:7px;margin:9px 0 0;padding:0;list-style:none}.document-click-tooltip li{display:grid;gap:2px;padding-top:7px;border-top:1px solid rgba(255,255,255,.16)}.document-click-tooltip li span{color:#fff2ef;font-size:12px}.native-title-tooltip{position:fixed;z-index:2147483000;max-width:min(280px,calc(100vw - 24px));padding:7px 9px;border:1px solid rgba(255,255,255,.14);border-radius:9px;background:#2b1e1f;color:#fffaf7;box-shadow:0 10px 24px #261b1f2e;font-size:12px;line-height:1.35;font-weight:850;pointer-events:none}.photo-storage-monitor{display:grid;gap:14px}.photo-storage-headbar{display:flex;align-items:start;justify-content:space-between;gap:12px}.photo-storage-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.photo-storage-results{display:grid;gap:14px;min-width:0}.storage-monitor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start;min-width:0}.storage-monitor-card{min-width:0;display:grid;gap:12px;align-content:start;padding:14px;border:1px solid var(--line);border-radius:18px;background:#ffffffe0;box-shadow:0 10px 24px #2a1f220d}.storage-monitor-card-head{min-width:0;display:flex;justify-content:space-between;gap:10px}.storage-monitor-card-head h3{margin:0;color:var(--ink);font-size:22px;line-height:1.05}.storage-monitor-card-head p{margin:4px 0 0;color:var(--muted);font-size:12px;font-weight:850;line-height:1.35;overflow-wrap:anywhere}.storage-monitor-metrics{min-width:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.storage-monitor-metric{min-width:0;display:grid;gap:3px;padding:10px;border:1px solid #e3f0ed;border-radius:14px;background:#f4fbf9c7}.storage-monitor-metric b,.storage-monitor-metric span,.storage-monitor-metric small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.storage-monitor-metric b{color:var(--muted);font-size:11px;font-weight:950}.storage-monitor-metric span{color:var(--ink);font-size:18px;font-weight:950}.storage-monitor-metric small{color:var(--muted);font-size:10px;font-weight:850}.storage-bucket-breakdown{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px}.storage-bucket-chip{min-width:0;display:grid;gap:3px;padding:9px 10px;border:1px solid #e3f0ed;border-radius:14px;background:#f4fbf9c7}.storage-bucket-chip :is(b,span,small){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.storage-bucket-chip span{color:var(--ink);font-size:17px;font-weight:950}.storage-bucket-chip small{color:var(--muted);font-size:10px;font-weight:850}.storage-bucket-internal{border-color:#d7ece8;background:#effaf7db}.storage-bucket-product{border-color:#ead4dc;background:#fceff5e0}.storage-bucket-backup{border-color:#d9d8ef;background:#f3f3fce6}.storage-bucket-external{border-color:#eadfca;background:#fff9ece6}.storage-monitor-details{min-width:0;display:grid;gap:10px;border-top:1px solid #e6f0ed;padding-top:10px}.storage-monitor-details>summary{cursor:pointer;color:var(--brand);font-size:12px;font-weight:950}.storage-monitor-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.storage-monitor-key-list{min-width:0}@media(max-width:860px){.storage-monitor-grid,.storage-monitor-detail-grid{grid-template-columns:1fr}.storage-monitor-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.storage-monitor-card{padding:11px;border-radius:16px}.storage-monitor-card-head h3{font-size:18px}.storage-monitor-metric{padding:8px}.storage-monitor-metric span{font-size:14px}}.photo-storage-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}.photo-storage-stat,.photo-storage-panel{min-width:0;border:1px solid var(--line);border-radius:14px;background:#ffffffdb;box-shadow:0 8px 22px #2a1f220d}.photo-storage-stat{display:grid;gap:4px;padding:12px}.photo-storage-stat b,.photo-storage-panel h3{color:var(--muted);font-size:12px;font-weight:950;text-transform:none}.photo-storage-stat span{color:var(--ink);font-size:22px;font-weight:950}.photo-storage-stat small{color:var(--muted);font-size:11px;font-weight:800}.photo-storage-stat-warning{border-color:#e4b8a5;background:#fff5ed}.photo-storage-limit-row{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}.photo-storage-limit-row>div{min-width:0}.photo-storage-limit-row p{margin:4px 0 0}.photo-storage-progress{width:100%;height:10px;overflow:hidden;border:1px solid #ead4dc;border-radius:999px;background:#fff7f4}.photo-storage-progress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#9d5062,#d889a0)}.photo-storage-verification{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.photo-storage-verification>div{min-width:0;display:grid;gap:3px;padding:8px 10px;border:1px solid var(--line);border-radius:12px;background:#fffaf7}.photo-storage-verification b,.photo-storage-verification span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.photo-storage-verification b{color:var(--brand);font-size:11px;font-weight:950}.photo-storage-verification span{color:var(--ink);font-size:12px;font-weight:850}.photo-storage-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0}.photo-storage-panel{display:grid;gap:10px;align-content:start;padding:12px}.photo-storage-wide{grid-column:1 / -1}.photo-storage-table{display:grid;gap:6px;min-width:0}.photo-storage-count{margin:-2px 0 2px;font-size:12px;font-weight:800}.photo-storage-row{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(86px,.45fr) minmax(86px,.45fr) minmax(86px,.45fr);gap:8px;align-items:center;min-width:0;padding:8px 9px;border:1px solid #f0e0e5;border-radius:12px;background:#fff}.photo-storage-panel:not(.photo-storage-wide) .photo-storage-row{grid-template-columns:minmax(0,1fr) minmax(72px,.35fr) minmax(82px,.4fr)}.photo-storage-row b,.photo-storage-row span,.photo-storage-row code{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.photo-storage-row b{color:var(--ink);font-size:13px;font-weight:950}.photo-storage-row span,.photo-storage-row code{color:var(--muted);font-size:12px;font-weight:850}.photo-storage-row code{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}.photo-storage-orphan-toolbar{display:flex;align-items:end;justify-content:space-between;gap:10px}.photo-storage-orphan-toolbar p{margin:0;min-width:0}.photo-storage-orphan-toolbar p small{display:block;margin-top:4px;color:var(--accent);font-weight:900}.photo-storage-reviewed-delete{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto}.photo-storage-orphan-list{display:grid;gap:7px;min-width:0}.photo-storage-orphan-row{position:relative;display:grid;grid-template-columns:minmax(180px,1.25fr) minmax(150px,.75fr);gap:7px 10px;align-items:center;min-width:0;padding:9px;border:1px solid #eadbdd;border-radius:8px;background:#fff}.photo-storage-orphan-row.is-reviewable{border-color:#d4a4ad;background:#fffafb}.photo-storage-orphan-row.is-protected{background:#f8f6f6}.photo-storage-orphan-row>input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}.photo-storage-orphan-row:has(>input:checked){border-color:var(--selection-border);background:var(--selection-bg);box-shadow:inset 0 0 0 2px #934f621f}.photo-storage-orphan-main,.photo-storage-orphan-state{display:grid;gap:2px;min-width:0}.photo-storage-orphan-main b,.photo-storage-orphan-state b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ink);font-size:12px;font-weight:950}.photo-storage-orphan-state b{color:var(--accent)}.photo-storage-orphan-main small,.photo-storage-orphan-state small,.photo-storage-orphan-reason{min-width:0;color:var(--muted);font-size:10px;font-weight:800;overflow-wrap:anywhere}.photo-storage-orphan-reason{grid-column:1 / -1}.photo-storage-head{background:var(--soft-accent-bg)}@media(max-width:760px){.photo-storage-headbar,.photo-storage-limit-row{display:grid;justify-items:stretch}.photo-storage-actions{justify-content:stretch}.photo-storage-actions .btn,.photo-storage-limit-row .btn{width:100%}.photo-storage-orphan-toolbar{display:grid;align-items:stretch}.photo-storage-reviewed-delete{width:100%;justify-content:center}.photo-storage-orphan-row{grid-template-columns:minmax(0,1fr)}.photo-storage-orphan-state,.photo-storage-orphan-reason{grid-column:1}.photo-storage-stats,.photo-storage-grid,.photo-storage-verification{grid-template-columns:1fr}.photo-storage-stat span{font-size:18px}.photo-storage-row,.photo-storage-panel:not(.photo-storage-wide) .photo-storage-row{grid-template-columns:minmax(0,1fr) minmax(64px,.35fr) minmax(72px,.4fr)}.photo-storage-wide .photo-storage-row{grid-template-columns:minmax(0,1fr) minmax(54px,.28fr) minmax(70px,.34fr) minmax(70px,.34fr)}}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.storage-monitor-grid,.storage-monitor-detail-grid,.photo-storage-grid){grid-template-columns:1fr}body:is(.mobile-layout-mode,.mobile-preview-mode) .photo-storage-monitor,body:is(.mobile-layout-mode,.mobile-preview-mode) .storage-monitor-card{gap:8px}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.storage-monitor-card,.photo-storage-panel,.photo-storage-stat){padding:9px;border-radius:13px}body:is(.mobile-layout-mode,.mobile-preview-mode) .storage-monitor-card-head h3{font-size:18px;line-height:1.02}body:is(.mobile-layout-mode,.mobile-preview-mode) .storage-monitor-card-head p{font-size:10.5px;line-height:1.2}body:is(.mobile-layout-mode,.mobile-preview-mode) .storage-monitor-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}body:is(.mobile-layout-mode,.mobile-preview-mode) .storage-monitor-metric{padding:7px 6px;border-radius:11px}body:is(.mobile-layout-mode,.mobile-preview-mode) .storage-monitor-metric :is(b,small){font-size:9px}body:is(.mobile-layout-mode,.mobile-preview-mode) .storage-monitor-metric span{font-size:13px}body:is(.mobile-layout-mode,.mobile-preview-mode) .photo-storage-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}body:is(.mobile-layout-mode,.mobile-preview-mode) .photo-storage-stat span{font-size:16px}body:is(.mobile-layout-mode,.mobile-preview-mode) .photo-storage-table{overflow-x:auto;overscroll-behavior-x:contain}body:is(.mobile-layout-mode,.mobile-preview-mode) .photo-storage-row{min-width:360px;grid-template-columns:minmax(150px,1fr) 82px 70px minmax(120px,.8fr);gap:6px;padding:7px}.cs-compact-row{grid-template-columns:minmax(190px,.28fr) minmax(0,1fr) auto}.cs-compact-main{align-content:start;gap:8px}.cs-system-facts{display:grid;gap:6px;margin-top:8px}.cs-system-facts span{display:grid;gap:2px;padding:7px 9px;border:1px solid #eadbdd;border-radius:10px;background:#fffaf7}.cs-system-facts em{color:var(--muted);font-size:10px;font-style:normal;font-weight:950;text-transform:none}.cs-system-facts b{font-size:13px;line-height:1.2}.modal-card:has(#editRecordForm){width:min(1240px,calc(100vw - 28px))}.modal-card [data-edit-customer-payment-row].customer-payment-row-card{grid-template-columns:78px minmax(220px,1fr) minmax(170px,.75fr) minmax(292px,292px) minmax(292px,292px)!important;overflow:visible}.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field{max-width:292px}.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-digit-row{grid-template-columns:repeat(5,31px) 5px repeat(2,31px)!important}.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window{min-width:31px;width:31px;overflow:visible}.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .amount-digit,.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .amount-cent-digit{width:31px;min-width:31px;line-height:30px}.cs-filter-bar{align-items:start;grid-template-columns:minmax(280px,1fr) minmax(160px,.34fr) minmax(170px,.36fr) minmax(160px,.34fr) minmax(250px,.52fr) 46px}.cs-multi-filter{position:relative;min-width:0;border:1px solid var(--line);border-radius:16px;background:#fffdfb}.cs-multi-filter>summary{min-height:52px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 16px;cursor:pointer;font-weight:850;list-style:none;min-width:0}.cs-multi-filter>summary span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cs-multi-filter>summary::-webkit-details-marker{display:none}.cs-multi-filter>summary:after{content:"";width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:5px solid currentColor;color:var(--accent)}.cs-multi-filter[open]>summary:after{transform:rotate(180deg)}.cs-multi-filter>div{position:absolute;z-index:90;top:calc(100% + 8px);left:0;width:min(300px,88vw);min-width:min(260px,88vw);max-width:min(340px,92vw);max-height:min(420px,58vh);overflow:auto;display:grid;gap:4px;padding:10px;border:1px solid var(--line);border-radius:14px;background:#fffaf7;box-shadow:0 16px 34px #3c2a2d29}.cs-multi-filter[data-cs-multi=module]>div,.cs-multi-filter[data-cs-multi=branch]>div{right:0;left:auto}.cs-multi-filter[data-cs-multi=module]>div{width:min(340px,92vw)}.cs-multi-filter label{display:grid;grid-template-columns:22px minmax(0,1fr);align-items:center;gap:8px;min-height:34px;padding:6px 8px;border-radius:10px;font-weight:800;font-size:14px}.cs-multi-filter label span{min-width:0;overflow-wrap:break-word;word-break:normal;line-height:1.2}.cs-multi-filter label:hover{background:#f6eceb}.completed-task-section.collapsible-records-card>summary{grid-column:1 / -1;padding:16px 18px}.completed-task-section.collapsible-records-card>.record-bulk-toolbar{grid-column:1 / -1;justify-self:end}.completed-task-section.collapsible-records-card>.task-board,.completed-task-section.collapsible-records-card>.empty,.completed-task-section.collapsible-records-card>.pagination-row{grid-column:1 / -1}.locked-confirm-payment{border-color:#b9c5b0!important;background:#eef5eb!important;color:#47734d!important;cursor:not-allowed}.task-card.is-completed{border-color:#d6e2d1;background:linear-gradient(180deg,#fbfffa,#fffaf7)}.existing-invoice-summary{flex-basis:100%;display:grid;grid-template-columns:repeat(auto-fit,minmax(132px,1fr));gap:7px;margin:6px 0 0}.existing-invoice-summary div{display:grid;gap:2px;padding:7px 9px;border:1px solid #eadbdd;border-radius:10px;background:#fffaf7}.existing-invoice-summary .wide{grid-column:1 / -1}.existing-invoice-summary dt{color:var(--muted);font-size:10px;font-weight:950;text-transform:none}.existing-invoice-summary dd{margin:0;color:var(--ink);font-size:12px;font-weight:850;line-height:1.25;overflow-wrap:break-word;word-break:normal}.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-digit-row{border-radius:18px;background:#fffaf7;box-shadow:inset 0 1px #ffffffd1}.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window{border-radius:12px;background:linear-gradient(180deg,#fff,#f4ecea);box-shadow:inset 0 -8px 16px #8f48500d}@media(max-width:1380px){.modal-card [data-edit-customer-payment-row].customer-payment-row-card{grid-template-columns:78px minmax(210px,1fr) minmax(160px,.76fr) minmax(270px,270px) minmax(270px,270px)!important}.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field{max-width:270px}.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-digit-row{grid-template-columns:repeat(5,28px) 5px repeat(2,28px)!important}.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window,.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .amount-digit,.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .amount-cent-digit{width:28px;min-width:28px}}@media(max-width:1180px){.modal-card [data-edit-customer-payment-row].customer-payment-row-card{grid-template-columns:78px minmax(0,1fr) minmax(0,1fr)!important}.modal-card [data-edit-customer-payment-row] .customer-payment-deposit-field,.modal-card [data-edit-customer-payment-row] .customer-payment-full-field{max-width:none}.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-digit-row{width:100%;grid-template-columns:repeat(5,minmax(28px,1fr)) 5px repeat(2,minmax(28px,1fr))!important}.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window,.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .amount-digit,.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .amount-cent-digit{width:100%;min-width:0}}@media(max-width:760px){details.permission-row.permission-card>summary,.cs-compact-row{grid-template-columns:1fr}details.permission-row.permission-card>summary em{justify-self:start}}.task-filters{grid-template-columns:minmax(320px,1.15fr) minmax(170px,.42fr) minmax(220px,.58fr) minmax(260px,.62fr)!important;align-items:stretch}.task-filters>input,.task-filters>select,.task-filters>.date-range-control{min-width:0}.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-digit-row{width:max-content;grid-template-columns:repeat(5,32px) 7px repeat(2,32px)!important;justify-content:start;min-height:42px;padding:4px 5px}.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window{width:32px;min-width:32px}.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .amount-digit,.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .amount-cent-digit{height:32px;min-height:32px!important}.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-decimal-dot{width:7px;align-self:center;text-align:center}@media(max-width:1120px){.cs-filter-bar{grid-template-columns:1fr 1fr}.cs-filter-bar .date-range-control{grid-column:auto}.task-filters{grid-template-columns:1fr 1fr!important}}@media(max-width:760px){.cs-filter-bar{grid-template-columns:1fr}.cs-multi-filter>div,.cs-multi-filter[data-cs-multi=module]>div,.cs-multi-filter[data-cs-multi=branch]>div{right:auto;left:0;max-width:100%}.task-filters{grid-template-columns:1fr!important}.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-digit-row{width:100%;grid-template-columns:repeat(5,minmax(24px,1fr)) 6px repeat(2,minmax(24px,1fr))!important}.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window{width:auto;min-width:0}}.audit-log-card{display:grid;gap:12px}.audit-log-card>p{margin:0;max-width:none;font-size:14px;line-height:1.45}.audit-filter-bar{grid-template-columns:minmax(260px,1.25fr) repeat(3,minmax(150px,.55fr)) auto!important;gap:10px;align-items:end;padding:10px;border:1px solid var(--line);border-radius:16px;background:#ffffffb8}.audit-filter-bar .field{margin:0}.audit-filter-bar input,.audit-filter-bar select{min-height:46px}.audit-log-item{grid-template-columns:minmax(180px,230px) minmax(0,1fr)!important}.audit-log-main strong,.audit-detail-summary span,.audit-change-grid span,.audit-raw-json pre{overflow-wrap:anywhere}.cs-filter-bar{grid-template-columns:minmax(260px,1.1fr) repeat(3,minmax(150px,.38fr)) minmax(240px,.56fr) 46px!important;gap:10px;align-items:start}.cs-multi-filter>div{width:min(340px,calc(100vw - 40px));min-width:min(280px,calc(100vw - 40px));max-width:min(340px,calc(100vw - 40px))}.cs-multi-filter[data-cs-multi=module]>div{width:min(380px,calc(100vw - 40px));min-width:min(320px,calc(100vw - 40px));max-width:min(380px,calc(100vw - 40px))}.cs-multi-filter label{grid-template-columns:22px minmax(0,1fr);min-height:36px;font-size:13px;align-items:center}.cs-multi-filter label input{width:16px;height:16px;margin:0;justify-self:center}.cs-multi-filter label span{white-space:normal;word-break:keep-all;overflow-wrap:normal;line-height:1.25}.customer-payment-amount-field .amount-number-control{width:100%}.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-digit-row{max-width:none;grid-template-columns:repeat(5,minmax(28px,1fr)) 6px repeat(2,minmax(28px,1fr))!important;gap:4px;overflow:visible}.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window{height:34px}.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .invoice-digit,.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .amount-digit,.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .amount-cent-digit{width:100%;min-width:0;height:100%;min-height:0!important;padding:0;box-sizing:border-box;line-height:32px;font-size:17px;font-variant-numeric:tabular-nums}@media(max-width:1120px){.audit-filter-bar,.cs-filter-bar{grid-template-columns:1fr 1fr!important}.cs-filter-bar .date-range-control{grid-column:auto}}@media(max-width:760px){.audit-filter-bar,.audit-log-item,.cs-filter-bar{grid-template-columns:1fr!important}.cs-multi-filter>div,.cs-multi-filter[data-cs-multi=module]>div,.cs-multi-filter[data-cs-multi=branch]>div{right:auto;left:0;width:min(100%,calc(100vw - 40px));min-width:0;max-width:min(100%,calc(100vw - 40px))}.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-digit-row{grid-template-columns:repeat(5,minmax(24px,1fr)) 5px repeat(2,minmax(24px,1fr))!important}}.task-summary-grid,.cs-doc-groups,.cs-document-summary,.cs-amount-stats,.cs-mini-details,.task-summary-list,.audit-change-grid{min-width:0}.task-board.task-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));justify-content:stretch;justify-items:stretch;align-items:start}.task-board.task-summary-grid>.task-summary-card{width:100%;max-width:none}.task-card,.task-summary-card,.cs-document-panel,.cs-doc-group,.cs-compact-row,.audit-log-item,.existing-invoice-summary{max-width:100%;overflow:hidden}.task-summary-list dd,.task-summary-list dt,.cs-mini-details span,.cs-mini-details b,.cs-system-facts span,.cs-timeline-item,.audit-log-main,.audit-detail-summary,.document-click-tooltip{overflow-wrap:anywhere}.task-filters,.cs-filter-bar,.audit-filter-bar{max-width:100%}.task-filters>*,.cs-filter-bar>*,.audit-filter-bar>*,.cs-multi-filter>summary,.record-bulk-toolbar>summary{min-width:0}.table-wrap,.compact-table{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.cs-multi-filter[open]{z-index:40}.cs-multi-filter>div{max-height:min(420px,calc(100vh - 220px));overflow:auto}.document-click-tooltip{width:min(360px,calc(100vw - 32px));max-height:min(420px,calc(100vh - 40px));overflow:auto}.modal-card [data-edit-customer-payment-row].customer-payment-row-card{align-items:start}.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-digit-row,.customer-payment-row-card .customer-payment-amount-field .amount-digit-row{align-items:center}.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .invoice-digit,.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .amount-digit,.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .amount-cent-digit,.customer-payment-row-card .customer-payment-amount-field .amount-lock-window .invoice-digit,.customer-payment-row-card .customer-payment-amount-field .amount-lock-window .amount-digit,.customer-payment-row-card .customer-payment-amount-field .amount-lock-window .amount-cent-digit{display:block;appearance:none;border:0;overflow:hidden;line-height:1;text-align:center;font-size:clamp(15px,1.1vw,17px);font-weight:950}@media(max-width:1180px){.task-filters,.cs-filter-bar,.audit-filter-bar{grid-template-columns:1fr 1fr!important}.task-filters .date-range-control,.cs-filter-bar .date-range-control{grid-column:auto!important}.cs-compact-row{grid-template-columns:1fr}}@media(max-width:760px){.btn.small,.record-bulk-toolbar>summary,.audit-bulk-row .record-bulk-toolbar>summary{min-height:44px}.card,.modal-card,.collapsible-records-card{min-width:0}table,.compact-table table,.table-wrap table{min-width:0!important;table-layout:fixed}th,td,.compact-table td:last-child,.compact-table th:last-child{width:auto;max-width:100%;white-space:normal;overflow-wrap:anywhere}.task-board.task-summary-grid,.cs-document-summary,.cs-amount-stats,.cs-mini-details,.task-summary-list{grid-template-columns:1fr!important}.task-card-select{position:static;grid-template-columns:22px minmax(0,1fr);align-items:center;width:100%}.payment-approval-main{grid-template-columns:1fr!important}.cs-heatmap{grid-template-columns:1fr}.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .invoice-digit,.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .amount-digit,.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .amount-cent-digit,.customer-payment-row-card .customer-payment-amount-field .amount-lock-window .invoice-digit,.customer-payment-row-card .customer-payment-amount-field .amount-lock-window .amount-digit,.customer-payment-row-card .customer-payment-amount-field .amount-lock-window .amount-cent-digit{font-size:15px}}.modal-card [data-edit-customer-payment-row].customer-payment-row-card{grid-template-columns:82px minmax(168px,.9fr) minmax(148px,.72fr) minmax(208px,1fr) minmax(208px,1fr)!important;gap:10px;padding:12px;border-radius:18px}.modal-card [data-edit-customer-payment-row] .customer-payment-row-title{grid-column:1;grid-row:1;padding-top:31px}.modal-card [data-edit-customer-payment-row] .customer-payment-style-stack{grid-column:3;grid-row:1}.modal-card [data-edit-customer-payment-row] .customer-payment-type-field{grid-column:2;grid-row:1}.modal-card [data-edit-customer-payment-row] .customer-payment-deposit-field{grid-column:4;grid-row:1}.modal-card [data-edit-customer-payment-row] .customer-payment-full-field{grid-column:5;grid-row:1}.modal-card [data-edit-customer-payment-row] .customer-payment-row-card-fields{grid-column:2 / -1;grid-row:2;grid-template-columns:repeat(4,minmax(150px,1fr))!important}.modal-card #editLinkedSOField.customer-payment-linked-so{grid-template-columns:120px minmax(220px,320px) minmax(260px,1fr)!important}.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field{max-width:none}.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-digit-wrap{min-height:44px;padding:0;border:0;border-radius:0;background:transparent;overflow:visible}.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-digit-row{width:100%;min-width:0;max-width:100%;grid-template-columns:repeat(5,minmax(20px,1fr)) 5px repeat(2,minmax(20px,1fr))!important;min-height:44px;padding:4px;gap:3px;border:1px solid #d9c4ca;border-radius:19px;background:linear-gradient(180deg,#fff,#fff8f6);overflow:hidden;align-items:center}.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window{display:grid;place-items:center;width:auto;min-width:0;height:auto;min-height:34px!important;border-color:#eadbdd;border-radius:13px;box-sizing:border-box}.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .amount-digit,.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .amount-cent-digit{display:grid;place-items:center;width:100%;min-width:0;height:auto;min-height:34px!important;padding:0;line-height:1;font-size:19px}.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-decimal-dot{min-width:5px;font-size:19px}@media(max-width:760px){.modal-card [data-edit-customer-payment-row].customer-payment-row-card,.modal-card #editLinkedSOField.customer-payment-linked-so{grid-template-columns:1fr!important}.modal-card [data-edit-customer-payment-row] .customer-payment-row-title,.modal-card [data-edit-customer-payment-row] .customer-payment-style-stack,.modal-card [data-edit-customer-payment-row] .customer-payment-type-field,.modal-card [data-edit-customer-payment-row] .customer-payment-deposit-field,.modal-card [data-edit-customer-payment-row] .customer-payment-full-field,.modal-card [data-edit-customer-payment-row] .customer-payment-row-card-fields{grid-column:auto;grid-row:auto}.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-digit-row{grid-template-columns:repeat(5,minmax(20px,1fr)) 5px repeat(2,minmax(20px,1fr))!important}.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .amount-digit,.modal-card [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .amount-cent-digit{font-size:15px}}
.record-guided-form{display:grid;gap:16px;min-width:0}.record-guided-form [data-record-guide-panel][hidden],.record-guided-form [data-record-guide-actions][hidden],.record-guided-form [data-record-guide-next][hidden]{display:none!important}.record-guide-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;border-bottom:1px solid var(--line);padding-bottom:12px}.record-guide-tab{display:flex;align-items:center;gap:8px;min-width:0;min-height:44px;padding:8px 10px;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--muted);font:inherit;text-align:left;cursor:pointer}.record-guide-tab>span{display:grid;place-items:center;flex:0 0 28px;height:28px;border:1px solid var(--line);border-radius:50%;background:var(--panel);font-size:13px}.record-guide-tab>b{font-size:14px;font-weight:600;line-height:1.4}.record-guide-tab[aria-current=step]{color:var(--brand);background:var(--soft-accent-bg, #f7edf0)}.record-guide-tab[aria-current=step]>span{background:var(--brand);border-color:var(--brand);color:#fff}.record-guide-tab:focus-visible{outline:2px solid var(--brand);outline-offset:2px}.record-guide-context{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 12px;font-size:13px;line-height:1.6}.record-guide-context output{font-variant-numeric:tabular-nums}.record-guide-context .record-photo-shortcut{margin-left:auto;min-height:44px;display:inline-flex;align-items:center;gap:8px;white-space:normal}.record-guide-draft{color:var(--muted)}.record-draft-notice{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:var(--soft-accent-bg, #f7edf0);color:var(--ink);font-size:14px}.record-draft-notice>span{flex:1 1 180px}.record-draft-notice>button{min-height:44px;flex:0 0 auto}.record-guided-form>.record-guide-panel{min-width:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.record-guide-panel>h3{margin:0 0 16px;font-size:18px;font-weight:600}.record-guide-panel>h3:focus{outline:none}.record-guide-description{margin:0 0 16px;color:var(--muted)}.record-guide-review{margin:0 0 16px;padding:14px;border:1px solid var(--line);border-radius:8px;background:var(--panel);white-space:pre-line;font-size:14px;line-height:1.8;font-variant-numeric:tabular-nums}.record-guide-review:empty{display:none}.record-guide-footer{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding-top:16px;border-top:1px solid var(--line)}.record-guide-position{color:var(--muted);font-size:13px}.record-guide-controls,.record-guide-submit{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.record-guide-controls .btn{min-height:44px}.record-guided-editor.modal-card{width:min(1000px,calc(100vw - 32px))}.record-guided-editor .record-guide-footer{position:sticky;bottom:-18px;background:var(--panel);padding-bottom:16px;z-index:2}body .modal-card.record-guided-editor.record-guided-editor-scroll{display:flex;flex-direction:column;height:min(860px,calc(100dvh - 32px));max-height:calc(100dvh - 32px)!important;min-height:0;overflow:hidden!important}.record-guided-editor-scroll>.modal-head{flex:0 0 auto}.record-guided-editor-scroll>#editRecordForm.record-guided-form{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;overflow:hidden}.record-guided-editor-scroll>.record-guided-form>:not(.record-guide-panel){flex:0 0 auto}.record-guided-editor-scroll>.record-guided-form>.record-guide-panel{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable;scroll-padding:12px;padding:0 8px 16px 0}.record-guided-editor-scroll .record-guide-footer{position:static;bottom:auto;z-index:auto;padding-bottom:0}.record-guided-form .customer-payment-details-panel{padding:0;border:0;background:transparent}body.mobile-preview-mode .record-guided-form{gap:14px}body.mobile-preview-mode .record-guide-tab{padding:6px 2px;gap:5px}body.mobile-preview-mode .record-guide-tab>b{font-size:13px}body.mobile-preview-mode .record-guide-tab>span{flex-basis:24px;height:24px}body.mobile-preview-mode .record-guide-footer{align-items:stretch}body.mobile-preview-mode .record-guide-controls{width:100%}@media(max-width:700px){.record-guided-form{gap:14px}.record-guide-nav{gap:4px}.record-guide-tab{padding:6px 2px;gap:5px}.record-guide-tab>b{font-size:13px}.record-guide-tab>span{flex-basis:24px;height:24px}.record-guide-footer{align-items:stretch}.record-guide-controls{width:100%}.record-guide-controls>.btn{flex:1}.record-guide-submit,.record-guide-submit .btn{flex:1}.record-guided-form input:not([type=checkbox]):not([type=radio]):not(.invoice-digit):not(.amount-digit):not(.amount-cent-digit),.record-guided-form select,.record-guided-form textarea{font-size:16px}.record-guided-editor.modal-card{width:100%;max-width:100%;max-height:100dvh;border-radius:0}}.record-filter-bar{display:grid;grid-template-columns:minmax(220px,1.35fr) repeat(4,minmax(132px,.72fr)) minmax(260px,.95fr) auto;gap:10px;align-items:end;margin:10px 0 12px;padding:10px;border:1px solid #eadbdd;border-radius:18px;background:#fffaf7d1}.record-filter-bar .field{margin:0;min-width:0}.record-filter-branch{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;align-items:end;min-width:0}.record-branch-staff-scope{min-height:44px;min-width:78px;padding:0 10px;border:1px solid var(--line);border-radius:14px;background:#fff;color:var(--muted);font-size:12px;font-weight:900}.record-branch-staff-scope.is-active{border-color:var(--brand);background:var(--soft-accent-bg);color:var(--brand)}.record-branch-staff-scope:disabled{opacity:.5}.record-filter-search{min-width:220px}.record-filter-bar input,.record-filter-bar select{min-height:44px;border-radius:14px;font-size:14px}.record-filter-bar .date-range-control{min-width:0}.record-filter-bar .range-trigger{min-height:44px;border-radius:14px}.record-filter-bar .range-picker-label b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.record-filter-reset{min-width:46px;min-height:44px;padding-inline:12px;border-radius:14px}.mobile-preview-settings{max-width:620px}body.mobile-preview-mode{min-height:100vh;background:radial-gradient(circle at top,#fffaf6f2,#f4eae7eb 44%,#efe5e2)}body.mobile-preview-mode #app{width:min(430px,100vw);min-height:100vh;margin:0 auto;border-inline:1px solid rgba(213,188,176,.88);background:#fffaf7;box-shadow:0 18px 54px #39221938;overflow:hidden}body.mobile-preview-mode .record-step-card,body.mobile-preview-mode .card,body.mobile-preview-mode .task-card{border-radius:18px}body.mobile-preview-mode .record-filter-bar{grid-template-columns:1fr}body.mobile-preview-mode .mobile-bottom-nav{position:fixed;left:50%;right:auto;bottom:calc(8px + env(safe-area-inset-bottom));z-index:45;display:grid;width:min(410px,calc(100vw - 18px));grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;padding:6px;border:1px solid rgba(213,188,176,.92);border-radius:20px;background:#fffaf6f5;box-shadow:0 16px 42px #39221938;backdrop-filter:blur(14px);transform:translate(-50%)}body.mobile-preview-mode .mobile-tab-btn{min-width:0;min-height:50px;border:0;border-radius:15px;background:transparent;color:#8a716b;display:grid;place-items:center;gap:1px;padding:4px 2px;font-size:10px;font-weight:900}body.mobile-preview-mode .mobile-tab-btn span{font-size:19px;line-height:1}body.mobile-preview-mode .mobile-tab-btn b{font-size:10.5px;line-height:1}body.mobile-preview-mode .mobile-tab-btn.active{background:#8f4850;color:#fff;box-shadow:0 9px 18px #8f485038}body.mobile-preview-mode .record-form-body,body.mobile-preview-mode .record-step-card,body.mobile-preview-mode .customer-payment-details-panel,body.mobile-preview-mode .customer-payment-row-card,body.mobile-preview-mode .customer-payment-linked-so{min-width:0}body.mobile-preview-mode .basic-entry-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;overflow:visible;padding:10px}body.mobile-preview-mode .basic-info-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}body.mobile-preview-mode .basic-entry-grid .field{min-width:0}body.mobile-preview-mode .basic-info-grid .field{min-width:0;margin:0}body.mobile-preview-mode .basic-entry-grid input,body.mobile-preview-mode .basic-entry-grid select,body.mobile-preview-mode .basic-info-grid input,body.mobile-preview-mode .basic-info-grid select{width:100%;min-width:0;padding:10px 8px;font-size:14px}body.mobile-preview-mode .customer-payment-details-head{grid-template-columns:1fr;gap:8px}body.mobile-preview-mode .customer-payment-reset{grid-column:1 / -1;justify-self:stretch;width:100%;min-height:42px;border-radius:14px}body.mobile-preview-mode .customer-payment-compact-invoice{grid-template-columns:92px minmax(0,1fr);gap:8px}body.mobile-preview-mode .customer-payment-primary-grid,body.mobile-preview-mode .customer-payment-extra-row,body.mobile-preview-mode .customer-payment-row-card,body.mobile-preview-mode .customer-payment-row-card-fields,body.mobile-preview-mode .customer-payment-card-grid,body.mobile-preview-mode .customer-payment-linked-so,body.mobile-preview-mode .customer-payment-linked-summary-stack,body.mobile-preview-mode .customer-payment-linked-stats{grid-template-columns:1fr}body.mobile-preview-mode .customer-payment-row-title,body.mobile-preview-mode .customer-payment-style-stack,body.mobile-preview-mode .customer-payment-other-style-field,body.mobile-preview-mode .customer-payment-type-field,body.mobile-preview-mode .customer-payment-deposit-field,body.mobile-preview-mode .customer-payment-full-field,body.mobile-preview-mode .customer-payment-primary-grid.is-deposit #depositAmountField,body.mobile-preview-mode .customer-payment-primary-grid.is-deposit #fullAmountField{grid-column:1;grid-row:auto}body.mobile-preview-mode .customer-payment-row-title{padding-top:0}body.mobile-preview-mode .customer-payment-primary-grid select,body.mobile-preview-mode .customer-payment-primary-grid input,body.mobile-preview-mode .customer-payment-row-card select,body.mobile-preview-mode .customer-payment-row-card input,body.mobile-preview-mode .customer-payment-row-card-fields select,body.mobile-preview-mode .customer-payment-row-card-fields input,body.mobile-preview-mode .customer-payment-style-stack select,body.mobile-preview-mode .customer-payment-style-stack input,body.mobile-preview-mode .customer-payment-other-style-field input{width:100%;min-width:0;min-height:46px;height:46px}body.mobile-preview-mode .customer-payment-amount-field .amount-digit-row{grid-template-columns:repeat(5,minmax(0,1fr)) 5px repeat(2,minmax(0,1fr));min-width:0;min-height:42px;gap:3px}body.mobile-preview-mode .customer-payment-amount-field .amount-lock-window,body.mobile-preview-mode .customer-payment-amount-field .amount-lock-window .amount-digit,body.mobile-preview-mode .customer-payment-amount-field .amount-lock-window .amount-cent-digit{min-height:32px!important}body.mobile-preview-mode .customer-payment-amount-field .amount-lock-window .amount-digit,body.mobile-preview-mode .customer-payment-amount-field .amount-lock-window .amount-cent-digit{font-size:17px}body.mobile-preview-mode .customer-payment-linked-so .readonly-field,body.mobile-preview-mode .customer-payment-linked-so .invoice-number-control,body.mobile-preview-mode .customer-payment-linked-so .invoice-digit-row,body.mobile-preview-mode .customer-payment-compact-invoice .invoice-digit-row{min-height:44px;height:44px}body.mobile-preview-mode .customer-payment-compact-invoice .invoice-lock-window,body.mobile-preview-mode .customer-payment-compact-invoice .invoice-lock-window .invoice-digit,body.mobile-preview-mode .customer-payment-linked-so .invoice-lock-window,body.mobile-preview-mode .customer-payment-linked-so .invoice-lock-window .invoice-digit{min-height:34px!important}@media(max-width:900px){.module-switch-row{grid-template-columns:1fr}.module-switch-control{justify-items:start}.function-role-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.record-filter-bar{grid-template-columns:1fr 1fr}.record-filter-search,.record-filter-bar .date-range-control{grid-column:1 / -1}.record-filter-reset{width:100%}}@media(max-width:760px){.module-switch-group-head,.module-switch-title b{align-items:flex-start}.function-role-grid{grid-template-columns:1fr}.record-filter-bar{grid-template-columns:repeat(2,minmax(0,1fr))}.record-filter-search,.record-filter-bar .date-range-control{grid-column:1 / -1}}#editRecordForm .customer-payment-details-panel,#editRecordForm .customer-payment-rows,#editRecordForm .customer-payment-linked-so,#editRecordForm .customer-payment-linked-summary-stack,#editRecordForm [data-edit-customer-payment-row].customer-payment-row-card{max-width:100%;min-width:0;overflow:visible}#editRecordForm [data-edit-customer-payment-row].customer-payment-row-card{grid-template-columns:82px minmax(220px,.85fr) minmax(220px,.85fr) minmax(260px,1fr) minmax(260px,1fr)!important;align-items:end}#editRecordForm [data-edit-customer-payment-row] .customer-payment-row-title{grid-column:1!important;grid-row:1!important;align-self:center;padding-top:20px}#editRecordForm [data-edit-customer-payment-row] .customer-payment-style-stack{grid-column:3!important;grid-row:1!important}#editRecordForm [data-edit-customer-payment-row] .customer-payment-type-field{grid-column:2!important;grid-row:1!important}#editRecordForm [data-edit-customer-payment-row] .customer-payment-deposit-field{grid-column:4!important;grid-row:1!important}#editRecordForm [data-edit-customer-payment-row] .customer-payment-full-field{grid-column:4 / -1!important;grid-row:1!important}#editRecordForm [data-edit-customer-payment-row].is-deposit .customer-payment-full-field{grid-column:5!important;grid-row:1!important}#editRecordForm [data-edit-customer-payment-row] .customer-payment-other-style-field{grid-column:3!important;grid-row:2!important}#editRecordForm [data-edit-customer-payment-row] .customer-payment-row-card-fields{grid-column:2 / -1!important;grid-row:2!important;grid-template-columns:repeat(3,minmax(150px,1fr))!important}#editRecordForm [data-edit-customer-payment-row] .customer-payment-row-card-fields [data-edit-row-other-bank-field]{grid-column:1 / -1}#editRecordForm .customer-payment-amount-field,#editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field{min-width:0;max-width:none}#editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field .amount-digit-row{width:100%;min-width:0;max-width:100%;grid-template-columns:repeat(5,minmax(22px,1fr)) 6px repeat(2,minmax(22px,1fr))!important;gap:4px;overflow:hidden}#editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window,#editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .amount-digit,#editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .amount-cent-digit{min-width:0;width:100%}#editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .amount-digit,#editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .amount-cent-digit{font-size:clamp(15px,1.12vw,19px)!important}#editRecordForm #editLinkedSOField.customer-payment-linked-so{grid-template-columns:120px minmax(220px,320px) minmax(260px,1fr)!important}#taskResults .task-board.task-summary-grid{width:100%;justify-content:stretch!important;justify-items:stretch!important;align-items:start}#taskResults .task-board.task-summary-grid>.task-summary-card{width:100%;max-width:none}body.mobile-preview-mode #taskResults .task-board.task-summary-grid,body.mobile-preview-mode .task-board.task-summary-grid{grid-template-columns:1fr!important}@media(max-width:1240px){#editRecordForm [data-edit-customer-payment-row].customer-payment-row-card{grid-template-columns:76px repeat(2,minmax(0,1fr))!important}#editRecordForm [data-edit-customer-payment-row] .customer-payment-row-title{grid-column:1!important;grid-row:1!important}#editRecordForm [data-edit-customer-payment-row] .customer-payment-style-stack{grid-column:3!important;grid-row:1!important}#editRecordForm [data-edit-customer-payment-row] .customer-payment-type-field{grid-column:2!important;grid-row:1!important}#editRecordForm [data-edit-customer-payment-row] .customer-payment-deposit-field{grid-column:2!important;grid-row:2!important}#editRecordForm [data-edit-customer-payment-row] .customer-payment-full-field{grid-column:2 / -1!important;grid-row:2!important}#editRecordForm [data-edit-customer-payment-row].is-deposit .customer-payment-full-field{grid-column:3!important;grid-row:2!important}#editRecordForm [data-edit-customer-payment-row] .customer-payment-other-style-field,#editRecordForm [data-edit-customer-payment-row] .customer-payment-row-card-fields{grid-column:2 / -1!important;grid-row:3!important}}@media(max-width:820px){#editRecordForm [data-edit-customer-payment-row].customer-payment-row-card,#editRecordForm #editLinkedSOField.customer-payment-linked-so{grid-template-columns:1fr!important}#editRecordForm [data-edit-customer-payment-row] .customer-payment-row-title,#editRecordForm [data-edit-customer-payment-row] .customer-payment-style-stack,#editRecordForm [data-edit-customer-payment-row] .customer-payment-other-style-field,#editRecordForm [data-edit-customer-payment-row] .customer-payment-type-field,#editRecordForm [data-edit-customer-payment-row] .customer-payment-deposit-field,#editRecordForm [data-edit-customer-payment-row] .customer-payment-full-field,#editRecordForm [data-edit-customer-payment-row] .customer-payment-row-card-fields{grid-column:auto!important;grid-row:auto!important}}body.mobile-preview-mode #editRecordForm [data-edit-customer-payment-row].customer-payment-row-card,body.mobile-preview-mode #editRecordForm #editLinkedSOField.customer-payment-linked-so{grid-template-columns:1fr!important}body.mobile-preview-mode #editRecordForm [data-edit-customer-payment-row] .customer-payment-row-title,body.mobile-preview-mode #editRecordForm [data-edit-customer-payment-row] .customer-payment-style-stack,body.mobile-preview-mode #editRecordForm [data-edit-customer-payment-row] .customer-payment-type-field,body.mobile-preview-mode #editRecordForm [data-edit-customer-payment-row] .customer-payment-deposit-field,body.mobile-preview-mode #editRecordForm [data-edit-customer-payment-row] .customer-payment-full-field,body.mobile-preview-mode #editRecordForm [data-edit-customer-payment-row] .customer-payment-row-card-fields{grid-column:auto!important;grid-row:auto!important}body.mobile-preview-mode .modal-backdrop{place-items:start center;padding:8px}body.mobile-preview-mode .modal-card:has(#editRecordForm){width:min(430px,calc(100vw - 18px))!important;max-width:min(430px,calc(100vw - 18px))!important;max-height:calc(100dvh - 16px);border-radius:20px;padding:12px}body.mobile-preview-mode .function-status-row,body.mobile-preview-mode .module-switch-row,body.mobile-preview-mode .function-role-grid{grid-template-columns:1fr!important}body.mobile-preview-mode .module-switch-control{justify-items:start}body.mobile-preview-mode .function-role-grid{width:100%}.cs-filter-bar,.audit-filter-bar,.record-filter-bar,.task-filters{overflow:visible}.cs-filter-bar{grid-template-columns:minmax(230px,1.12fr) repeat(5,minmax(132px,.5fr)) minmax(220px,.76fr) 48px!important;gap:10px;align-items:end}.audit-filter-bar{grid-template-columns:minmax(260px,1.25fr) repeat(3,minmax(170px,.62fr)) auto!important;gap:10px;align-items:end}.task-filters{grid-template-columns:minmax(230px,1.18fr) minmax(210px,.7fr) minmax(145px,.52fr) minmax(145px,.52fr) minmax(160px,.58fr) minmax(220px,.78fr)!important;gap:10px;align-items:stretch}.task-filter-branch{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;min-width:0}.task-filter-branch select{min-width:0}.task-branch-staff-scope,.cs-branch-staff-scope{min-height:48px;border:1px solid var(--line);border-radius:14px;background:#fffaf7;color:var(--muted);font-size:11px;font-weight:950;padding:0 10px;cursor:pointer;white-space:nowrap}.task-branch-staff-scope.is-active,.cs-branch-staff-scope.is-active{border-color:#9f5365;background:#f4dfe4;color:#8f4850}.task-branch-staff-scope:disabled,.cs-branch-staff-scope:disabled{opacity:.48;cursor:not-allowed}.cs-branch-staff-scope{width:100%;margin-bottom:6px}.task-filters .date-range-control,.task-filters .range-trigger,.task-filters .range-summary{min-width:0;max-width:100%}.task-filters .range-boundary strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cs-multi-filter{position:relative;min-width:0;overflow:visible}.cs-multi-filter>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:48px;width:100%;padding:0 14px}.cs-multi-filter>summary span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cs-multi-filter>div.cs-multi-panel{left:0;right:auto;display:grid;grid-template-columns:minmax(0,1fr);gap:6px;width:min(360px,calc(100vw - 48px))!important;min-width:min(300px,calc(100vw - 48px))!important;max-width:min(420px,calc(100vw - 48px))!important;padding:10px}.cs-multi-filter[data-cs-multi=branch]>div.cs-multi-panel{width:min(300px,calc(100vw - 48px))!important;min-width:min(260px,calc(100vw - 48px))!important}.cs-multi-filter[data-cs-multi=module]>div.cs-multi-panel{left:auto;right:0;width:min(430px,calc(100vw - 48px))!important;min-width:min(340px,calc(100vw - 48px))!important;max-width:min(430px,calc(100vw - 48px))!important}.cs-multi-filter label{display:grid;grid-template-columns:22px minmax(0,1fr);align-items:center;gap:10px;min-height:36px;margin:0;padding:7px 8px}.cs-multi-filter label input{justify-self:center;width:16px;height:16px;margin:0}.cs-multi-filter label span{min-width:0;white-space:normal;word-break:normal;overflow-wrap:break-word;line-height:1.25}body.mobile-preview-mode .cs-filter-bar,body.mobile-preview-mode .audit-filter-bar,body.mobile-preview-mode .record-filter-bar,body.mobile-preview-mode .task-filters{grid-template-columns:1fr!important}body.mobile-preview-mode .task-filter-branch{grid-template-columns:1fr}body.mobile-preview-mode .task-branch-staff-scope{width:100%}body.mobile-preview-mode .cs-multi-filter>div.cs-multi-panel,body.mobile-preview-mode .cs-multi-filter[data-cs-multi=branch]>div.cs-multi-panel,body.mobile-preview-mode .cs-multi-filter[data-cs-multi=module]>div.cs-multi-panel{left:0;right:auto;width:100%!important;min-width:100%!important;max-width:100%!important}body.mobile-preview-mode .customer-payment-amount-field .amount-digit-row,body.mobile-preview-mode #editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field .amount-digit-row{grid-template-columns:repeat(5,minmax(18px,1fr)) 5px repeat(2,minmax(18px,1fr))!important;gap:2px;padding:3px;min-height:40px;border-radius:16px}body.mobile-preview-mode .customer-payment-amount-field .amount-lock-window,body.mobile-preview-mode .customer-payment-amount-field .amount-lock-window .amount-digit,body.mobile-preview-mode .customer-payment-amount-field .amount-lock-window .amount-cent-digit,body.mobile-preview-mode #editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window,body.mobile-preview-mode #editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .amount-digit,body.mobile-preview-mode #editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .amount-cent-digit{width:100%;min-width:0;min-height:30px!important}body.mobile-preview-mode .customer-payment-amount-field .amount-lock-window .amount-digit,body.mobile-preview-mode .customer-payment-amount-field .amount-lock-window .amount-cent-digit,body.mobile-preview-mode #editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .amount-digit,body.mobile-preview-mode #editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .amount-cent-digit{height:30px;line-height:30px;font-size:clamp(14px,4vw,17px)!important}body.mobile-preview-mode .customer-payment-linked-summary{padding:8px}body.mobile-preview-mode .customer-payment-linked-stats{grid-template-columns:1fr;gap:5px}body.mobile-preview-mode .customer-payment-linked-summary ul{display:grid;gap:6px;max-height:min(260px,48vh);margin:8px 0 0;padding:0;overflow:auto;list-style:none}body.mobile-preview-mode .customer-payment-linked-summary li{display:grid;grid-template-columns:1fr;gap:4px;padding:7px;border:1px solid #f0dedb;border-radius:10px;background:#fff}body.mobile-preview-mode .modal-card:has(#editRecordForm) .customer-payment-row-card{padding:8px;gap:8px}body.mobile-preview-mode .modal-card:has(#editRecordForm) .customer-payment-row-card-fields{padding:8px}body.mobile-preview-mode .cs-heatmap-title{display:grid;grid-template-columns:1fr!important;gap:10px;padding:10px}body.mobile-preview-mode .cs-heatmap-count{display:inline-flex;width:fit-content;min-width:0;max-width:100%;gap:6px;align-items:baseline;text-align:left;justify-items:start}body.mobile-preview-mode .cs-heatmap-count span{overflow-wrap:normal;word-break:normal;white-space:normal}body.mobile-preview-mode .cs-heatmap-title h3{font-size:clamp(19px,5.6vw,24px);line-height:1.12}body.mobile-preview-mode .cs-heatmap{grid-template-columns:1fr!important}body.mobile-preview-mode .cs-heatmap>.empty{grid-column:1 / -1;width:100%;min-width:0;padding:18px 12px;text-align:center;overflow-wrap:normal;word-break:normal;white-space:normal;line-height:1.35}body.mobile-preview-mode .cs-amount-stats{grid-template-columns:1fr!important}body.mobile-preview-mode .cs-date-lane,body.mobile-preview-mode .cs-document-panel,body.mobile-preview-mode .cs-compact-row{min-width:0}body.mobile-preview-mode .cs-document-summary,body.mobile-preview-mode .cs-mini-details,body.mobile-preview-mode .cs-timeline-item{grid-template-columns:1fr!important}body.mobile-preview-mode .record-list-card,body.mobile-preview-mode .deleted-records-card{overflow:visible}body.mobile-preview-mode .record-list-card>summary,body.mobile-preview-mode .deleted-records-card>summary{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}body.mobile-preview-mode .record-list-card .compact-table,body.mobile-preview-mode .deleted-records-card .compact-table{border:0;background:transparent;overflow:visible}body.mobile-preview-mode .record-list-card .compact-table table,body.mobile-preview-mode .record-list-card .compact-table thead,body.mobile-preview-mode .record-list-card .compact-table tbody,body.mobile-preview-mode .record-list-card .compact-table tr,body.mobile-preview-mode .record-list-card .compact-table td,body.mobile-preview-mode .deleted-records-card .compact-table table,body.mobile-preview-mode .deleted-records-card .compact-table thead,body.mobile-preview-mode .deleted-records-card .compact-table tbody,body.mobile-preview-mode .deleted-records-card .compact-table tr,body.mobile-preview-mode .deleted-records-card .compact-table td{display:block;width:100%;min-width:0!important;box-sizing:border-box}body.mobile-preview-mode .record-list-card .compact-table thead,body.mobile-preview-mode .deleted-records-card .compact-table thead{display:none}body.mobile-preview-mode .record-list-card .compact-table tbody,body.mobile-preview-mode .deleted-records-card .compact-table tbody{display:grid;gap:10px}body.mobile-preview-mode .record-list-card .summary-row,body.mobile-preview-mode .deleted-records-card .summary-row{position:relative;display:grid;gap:7px;padding:12px 10px 10px;border:1px solid var(--line);border-radius:17px;background:#fff;box-shadow:0 8px 20px #4e25300e}body.mobile-preview-mode .record-list-card .summary-row td,body.mobile-preview-mode .deleted-records-card .summary-row td{display:grid;grid-template-columns:minmax(94px,.42fr) minmax(0,1fr);gap:8px;align-items:start;padding:0;border:0;font-size:14px;line-height:1.22;overflow-wrap:anywhere}body.mobile-preview-mode .record-list-card .summary-row td:before,body.mobile-preview-mode .deleted-records-card .summary-row td:before{content:attr(data-cell);color:var(--muted);font-size:10px;font-weight:950;line-height:1.2;text-transform:none;min-width:0;overflow-wrap:normal;word-break:normal}body.mobile-preview-mode .record-list-card .summary-row td>*,body.mobile-preview-mode .deleted-records-card .summary-row td>*{min-width:0;max-width:100%;overflow-wrap:anywhere}body.mobile-preview-mode .record-list-card .summary-row .select-col,body.mobile-preview-mode .deleted-records-card .summary-row .select-col{position:absolute;top:10px;right:10px;width:auto!important;padding:0}body.mobile-preview-mode .record-list-card .summary-row .select-col:before,body.mobile-preview-mode .deleted-records-card .summary-row .select-col:before{display:none}body.mobile-preview-mode .record-list-card .summary-row .select-col+td,body.mobile-preview-mode .deleted-records-card .summary-row .select-col+td{padding-right:42px}body.mobile-preview-mode .record-list-card .record-action-cell,body.mobile-preview-mode .deleted-records-card .record-action-cell{grid-template-columns:1fr}body.mobile-preview-mode .record-list-card .record-action-cell .btn,body.mobile-preview-mode .deleted-records-card .record-action-cell .btn{width:100%;margin:0 0 6px}body.mobile-preview-mode .record-list-card .details-row,body.mobile-preview-mode .deleted-records-card .details-row{display:block}body.mobile-preview-mode .record-list-card .details-row.hidden,body.mobile-preview-mode .deleted-records-card .details-row.hidden{display:none!important}body.mobile-preview-mode .record-list-card .details-row td,body.mobile-preview-mode .deleted-records-card .details-row td{display:block;padding:0;border:0}body.mobile-preview-mode .record-list-card .details-row td:before,body.mobile-preview-mode .deleted-records-card .details-row td:before{display:none}body.mobile-preview-mode .modal-card #editRecordForm [data-edit-customer-payment-row] .customer-payment-row-card-fields,body.mobile-preview-mode .modal-card #editRecordForm .customer-payment-row-card-fields,body.mobile-preview-mode .customer-payment-row-card .customer-payment-row-card-fields{grid-template-columns:1fr!important;align-items:stretch}body.mobile-preview-mode .modal-card #editRecordForm [data-edit-customer-payment-row] .customer-payment-row-card-fields .field,body.mobile-preview-mode .modal-card #editRecordForm .customer-payment-row-card-fields .field,body.mobile-preview-mode .customer-payment-row-card .customer-payment-row-card-fields .field{min-width:0;width:100%}@media(max-width:760px){.customer-payment-amount-field .amount-digit-row,#editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field .amount-digit-row{grid-template-columns:repeat(5,minmax(18px,1fr)) 5px repeat(2,minmax(18px,1fr))!important;gap:2px;padding:3px;min-height:40px;border-radius:16px}.customer-payment-amount-field .amount-lock-window,.customer-payment-amount-field .amount-lock-window .amount-digit,.customer-payment-amount-field .amount-lock-window .amount-cent-digit,#editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window,#editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .amount-digit,#editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .amount-cent-digit{width:100%;min-width:0;min-height:30px!important}.customer-payment-amount-field .amount-lock-window .amount-digit,.customer-payment-amount-field .amount-lock-window .amount-cent-digit,#editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .amount-digit,#editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .amount-cent-digit{height:30px;line-height:30px;font-size:clamp(14px,4vw,17px)!important}.customer-payment-linked-summary{padding:8px}.customer-payment-linked-stats{grid-template-columns:1fr;gap:5px}.customer-payment-linked-summary ul{display:grid;gap:6px;max-height:min(260px,48vh);margin:8px 0 0;padding:0;overflow:auto;list-style:none}.customer-payment-linked-summary li{display:grid;grid-template-columns:1fr;gap:4px;padding:7px;border:1px solid #f0dedb;border-radius:10px;background:#fff}.modal-card:has(#editRecordForm) .customer-payment-row-card{padding:8px;gap:8px}.modal-card:has(#editRecordForm) .customer-payment-row-card-fields{padding:8px}.modal-card #editRecordForm [data-edit-customer-payment-row] .customer-payment-row-card-fields,.modal-card #editRecordForm .customer-payment-row-card-fields,.customer-payment-row-card .customer-payment-row-card-fields{grid-template-columns:1fr!important;align-items:stretch}.modal-card #editRecordForm [data-edit-customer-payment-row] .customer-payment-row-card-fields .field,.modal-card #editRecordForm .customer-payment-row-card-fields .field,.customer-payment-row-card .customer-payment-row-card-fields .field{min-width:0;width:100%}.cs-heatmap-title{display:grid;grid-template-columns:1fr!important;gap:10px;padding:10px}.cs-heatmap-count{display:inline-flex;width:fit-content;min-width:0;max-width:100%;gap:6px;align-items:baseline;text-align:left;justify-items:start}.cs-heatmap-count span{overflow-wrap:normal;word-break:normal;white-space:normal}.cs-heatmap-title h3{font-size:clamp(19px,5.6vw,24px);line-height:1.12}.cs-heatmap{grid-template-columns:1fr!important}.cs-heatmap>.empty{grid-column:1 / -1;width:100%;min-width:0;padding:18px 12px;text-align:center;overflow-wrap:normal;word-break:normal;white-space:normal;line-height:1.35}.cs-date-lane,.cs-document-panel,.cs-compact-row{min-width:0}.cs-document-summary,.cs-mini-details,.cs-timeline-item{grid-template-columns:1fr!important}.record-list-card .summary-row td,.deleted-records-card .summary-row td{grid-template-columns:78px minmax(0,1fr);gap:8px;line-height:1.22;overflow-wrap:anywhere}.record-list-card .summary-row td:before,.deleted-records-card .summary-row td:before,.record-list-card .summary-row td>*,.deleted-records-card .summary-row td>*{min-width:0;max-width:100%;overflow-wrap:anywhere}}.basic-entry-grid .delivery-order-field{grid-column:1 / -1}.delivery-order-field small{font-size:12px;color:var(--muted, #716a68);line-height:1.5}.record-document-reference{overflow-wrap:anywhere}
body.mobile-preview-mode .cs-filter-bar,body.mobile-preview-mode .audit-filter-bar,body.mobile-preview-mode .record-filter-bar,body.mobile-preview-mode .task-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px;align-items:stretch}@media(max-width:760px){.system-health-panel{gap:9px;padding:10px}.system-health-head{align-items:flex-start}.system-health-head h2{font-size:17px}.system-health-actions .status-badge{max-width:116px;white-space:normal}.system-health-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.system-health-grid article{padding:8px}.system-health-grid article:last-child:nth-child(odd){grid-column:1 / -1}.system-health-readiness{grid-template-columns:1fr}.system-health-role-chips{gap:3px}}body.mobile-preview-mode .cs-filter-bar>input,body.mobile-preview-mode .audit-filter-bar .field:first-child,body.mobile-preview-mode .record-filter-search,body.mobile-preview-mode .task-filters>input,body.mobile-preview-mode .cs-filter-bar .date-range-control,body.mobile-preview-mode .record-filter-bar .date-range-control,body.mobile-preview-mode .task-filters .date-range-control{grid-column:1 / -1}body.mobile-preview-mode .task-filter-branch{grid-template-columns:minmax(0,1fr) auto}body.mobile-preview-mode .task-branch-staff-scope{min-width:68px;padding-inline:8px}body.mobile-preview-mode .record-filter-reset,body.mobile-preview-mode .audit-clear-filter,body.mobile-preview-mode #csResetWindow{width:100%;min-width:0}@media(max-width:760px){.cs-filter-bar,.audit-filter-bar,.record-filter-bar,.task-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px;align-items:stretch}.cs-filter-bar>input,.audit-filter-bar .field:first-child,.record-filter-search,.task-filters>input,.cs-filter-bar .date-range-control,.record-filter-bar .date-range-control,.task-filters .date-range-control{grid-column:1 / -1}.task-filter-branch{grid-template-columns:minmax(0,1fr) auto}.task-branch-staff-scope{width:auto;min-width:68px;padding-inline:8px}.record-filter-reset,.audit-clear-filter,#csResetWindow{width:100%;min-width:0}.customer-payment-row-card,#editRecordForm [data-edit-customer-payment-row].customer-payment-row-card{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px;padding-inline:12px}.customer-payment-row-card .customer-payment-row-title,.customer-payment-row-card .customer-payment-style-stack,.customer-payment-row-card .customer-payment-other-style-field,.customer-payment-row-card .customer-payment-type-field,.customer-payment-row-card .customer-payment-row-card-fields,#editRecordForm [data-edit-customer-payment-row] .customer-payment-row-title,#editRecordForm [data-edit-customer-payment-row] .customer-payment-style-stack,#editRecordForm [data-edit-customer-payment-row] .customer-payment-other-style-field,#editRecordForm [data-edit-customer-payment-row] .customer-payment-type-field,#editRecordForm [data-edit-customer-payment-row] .customer-payment-row-card-fields{grid-column:1 / -1!important}.customer-payment-row-card .customer-payment-row-title,#editRecordForm [data-edit-customer-payment-row] .customer-payment-row-title{padding-inline:2px;min-width:0}.customer-payment-row-card .customer-payment-deposit-field:not(.is-hidden),#editRecordForm [data-edit-customer-payment-row] .customer-payment-deposit-field:not(.is-hidden){grid-column:1!important}.customer-payment-row-card .customer-payment-full-field,#editRecordForm [data-edit-customer-payment-row] .customer-payment-full-field{grid-column:2!important}.customer-payment-row-card .customer-payment-deposit-field.is-hidden+.customer-payment-full-field,#editRecordForm [data-edit-customer-payment-row] .customer-payment-deposit-field.is-hidden+.customer-payment-full-field{grid-column:1 / -1!important}.customer-payment-row-card .customer-payment-amount-field .amount-digit-row,#editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field .amount-digit-row{grid-template-columns:repeat(5,minmax(12px,1fr)) 4px repeat(2,minmax(12px,1fr))!important;gap:2px}.customer-payment-row-card .customer-payment-amount-field .amount-lock-window .amount-digit,.customer-payment-row-card .customer-payment-amount-field .amount-lock-window .amount-cent-digit,#editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .amount-digit,#editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .amount-cent-digit{font-size:clamp(12px,3.4vw,15px)!important}}@media(max-width:360px){.customer-payment-row-card,#editRecordForm [data-edit-customer-payment-row].customer-payment-row-card{grid-template-columns:1fr!important}.customer-payment-row-card .customer-payment-deposit-field:not(.is-hidden),.customer-payment-row-card .customer-payment-full-field,#editRecordForm [data-edit-customer-payment-row] .customer-payment-deposit-field:not(.is-hidden),#editRecordForm [data-edit-customer-payment-row] .customer-payment-full-field{grid-column:1 / -1!important}}@media(max-width:760px){.audit-bulk-row{display:grid!important;grid-template-columns:56px minmax(0,1fr)!important;align-items:center;gap:8px}.audit-bulk-select-inline{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-width:0;min-height:44px;padding-inline:8px;font-size:11px;white-space:nowrap}.audit-bulk-select-inline input{flex:0 0 auto}.audit-bulk-select-inline span{display:none}.audit-bulk-row .record-bulk-toolbar{width:100%;min-width:0}.audit-bulk-row .record-bulk-toolbar>summary{width:100%;justify-content:space-between}}body.mobile-preview-mode .audit-bulk-row{display:grid!important;grid-template-columns:56px minmax(0,1fr)!important;align-items:center;gap:8px}body.mobile-preview-mode .audit-bulk-select-inline{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-width:0;min-height:44px;padding-inline:8px;font-size:11px;white-space:nowrap}body.mobile-preview-mode .audit-bulk-select-inline input{flex:0 0 auto}body.mobile-preview-mode .audit-bulk-select-inline span{display:none}body.mobile-preview-mode .audit-bulk-row .record-bulk-toolbar{width:100%;min-width:0}body.mobile-preview-mode .audit-bulk-row .record-bulk-toolbar>summary{width:100%;justify-content:space-between}@media(max-width:360px){.cs-filter-bar,.audit-filter-bar,.record-filter-bar,.task-filters{grid-template-columns:repeat(2,minmax(0,1fr))!important}}body.mobile-preview-mode .mobile-hub-grid,body.mobile-preview-mode .cs-document-summary{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px}body.mobile-preview-mode .mobile-hub-hero p,body.mobile-preview-mode .mobile-more-head p{display:none}body.mobile-preview-mode .mobile-hub-card.is-compact{min-height:92px;grid-template-columns:1fr!important;justify-items:center;align-content:start;gap:6px;padding:10px 6px;text-align:center;border-left-width:0}body.mobile-preview-mode .mobile-hub-card.is-compact .mobile-hub-icon{width:34px;height:34px;border-radius:12px;font-size:17px}body.mobile-preview-mode .mobile-hub-card.is-compact .mobile-hub-copy,body.mobile-preview-mode .mobile-hub-card.is-compact .mobile-hub-count{min-width:0;max-width:100%;justify-self:center}body.mobile-preview-mode .mobile-hub-card.is-compact .mobile-hub-copy b{display:-webkit-box;min-height:2.35em;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:12px;line-height:1.15}body.mobile-preview-mode .mobile-hub-card.is-compact .mobile-hub-copy small{display:none}body.mobile-preview-mode .mobile-hub-card.is-compact .mobile-hub-count{min-width:0;padding:4px 6px;border-radius:11px}body.mobile-preview-mode .mobile-hub-card.is-compact .mobile-hub-count b{font-size:11px}body.mobile-preview-mode .mobile-hub-card.is-compact .mobile-hub-count small{font-size:7.5px}body.mobile-preview-mode .cs-heatmap-title{grid-template-columns:minmax(0,1fr) auto}body.mobile-preview-mode .cs-heatmap-title p{display:none}body.mobile-preview-mode .cs-date-lane{min-width:0}body.mobile-preview-mode .cs-date-head{padding:8px}body.mobile-preview-mode .cs-date-head span,body.mobile-preview-mode .cs-date-head em,body.mobile-preview-mode .cs-heat-tile span,body.mobile-preview-mode .cs-document-summary span,body.mobile-preview-mode .cs-amount-stats span{min-width:0;overflow-wrap:anywhere}body.mobile-preview-mode .cs-date-head span,body.mobile-preview-mode .cs-date-head em{font-size:10px;line-height:1.15}body.mobile-preview-mode .cs-date-head b,body.mobile-preview-mode .cs-heat-tile b{font-size:12px;line-height:1.15}body.mobile-preview-mode .cs-heat-cells{min-height:72px;gap:5px;padding:6px}body.mobile-preview-mode .cs-heat-tile{padding:7px 6px;border-radius:11px}body.mobile-preview-mode .cs-heatmap-detail-outside,body.mobile-preview-mode .cs-mini-details,body.mobile-preview-mode .cs-timeline{min-width:0;overflow-x:hidden}body.mobile-preview-mode .function-role-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px}body.mobile-preview-mode .function-role-pill{min-height:74px;padding:7px 5px;text-align:center}body.mobile-preview-mode .function-role-pill b{font-size:11px;line-height:1.15}body.mobile-preview-mode .function-role-pill small{font-size:9px;line-height:1.1}body.mobile-preview-mode .function-role-pill em{display:-webkit-box;max-height:2.5em;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:8px;line-height:1.2}body.mobile-preview-mode .module-switch-row{grid-template-columns:1fr!important}body.mobile-preview-mode .module-switch-control{justify-items:start}body.mobile-preview-mode details.permission-row.permission-card>summary{grid-template-columns:minmax(0,1fr) auto!important;gap:8px}body.mobile-preview-mode details.permission-row.permission-card>summary .permission-module-note{grid-column:1 / -1;display:-webkit-box;max-height:2.6em;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}body.mobile-preview-mode .confirm-box{max-height:none;overflow:visible;font-size:12px;line-height:1.35}body.mobile-preview-mode .confirm-box .submission-photo-preview,body.mobile-preview-mode .photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.mobile-preview-mode .record-list-card .record-action-cell,body.mobile-preview-mode .deleted-records-card .record-action-cell{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}body.mobile-preview-mode .record-list-card .details-row td,body.mobile-preview-mode .deleted-records-card .details-row td,body.mobile-preview-mode .task-card details,body.mobile-preview-mode .task-payment-rows,body.mobile-preview-mode .task-payment-row-detail,body.mobile-preview-mode .task-view-details{min-width:0;max-width:100%;overflow-wrap:anywhere}@media(max-width:760px){.mobile-hub-grid,.cs-document-summary{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px}.mobile-hub-hero p,.mobile-more-head p{display:none}.mobile-hub-card.is-compact{min-height:92px;grid-template-columns:1fr!important;justify-items:center;align-content:start;gap:6px;padding:10px 6px;text-align:center;border-left-width:0}.mobile-hub-card.is-compact .mobile-hub-icon{width:34px;height:34px;border-radius:12px;font-size:17px}.mobile-hub-card.is-compact .mobile-hub-copy,.mobile-hub-card.is-compact .mobile-hub-count{min-width:0;max-width:100%;justify-self:center}.mobile-hub-card.is-compact .mobile-hub-copy b{display:-webkit-box;min-height:2.35em;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:12px;line-height:1.15}.mobile-hub-card.is-compact .mobile-hub-copy small{display:none}.mobile-hub-card.is-compact .mobile-hub-count{min-width:0;padding:4px 6px;border-radius:11px}.mobile-hub-card.is-compact .mobile-hub-count b{font-size:11px}.mobile-hub-card.is-compact .mobile-hub-count small{font-size:7.5px}.cs-heatmap-title{display:grid;grid-template-columns:minmax(0,1fr) auto}.cs-heatmap-title p{display:none}.cs-date-lane{min-width:0}.cs-date-head{padding:8px}.cs-date-head span,.cs-date-head em,.cs-heat-tile span,.cs-document-summary span,.cs-amount-stats span{min-width:0;overflow-wrap:anywhere}.cs-date-head span,.cs-date-head em{font-size:10px;line-height:1.15}.cs-date-head b,.cs-heat-tile b{font-size:12px;line-height:1.15}.cs-heat-cells{min-height:72px;gap:5px;padding:6px}.cs-heat-tile{padding:7px 6px;border-radius:11px}.cs-heatmap-detail-outside,.cs-mini-details,.cs-timeline{min-width:0;overflow-x:hidden}.function-role-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px}.function-role-pill{min-height:74px;padding:7px 5px;text-align:center}.function-role-pill b{font-size:11px;line-height:1.15}.function-role-pill small{font-size:9px;line-height:1.1}.function-role-pill em{display:-webkit-box;max-height:2.5em;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:8px;line-height:1.2}.module-switch-row{grid-template-columns:1fr!important}.module-switch-control{justify-items:start}details.permission-row.permission-card>summary{grid-template-columns:minmax(0,1fr) auto!important;gap:8px}details.permission-row.permission-card>summary .permission-module-note{grid-column:1 / -1;display:-webkit-box;max-height:2.6em;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.permission-toggle-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.confirm-box{max-height:none;overflow:visible;font-size:12px;line-height:1.35}.confirm-box .existing-customer-payment-preview{max-width:100%;padding:8px;gap:7px;overflow:visible;box-sizing:border-box}.confirm-box .existing-customer-payment-preview-head{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:6px}.confirm-box .existing-customer-payment-preview-head b,.confirm-box .existing-customer-payment-preview-head .btn{grid-column:1 / -1}.confirm-box .existing-customer-payment-preview-head span{justify-content:center;min-width:0;text-align:center;white-space:normal}.confirm-box .existing-invoice-summary{grid-template-columns:1fr!important;width:100%;max-width:100%;overflow:visible}.confirm-box .existing-invoice-summary div{min-width:0;padding:7px 8px}.confirm-box .existing-invoice-summary dd{overflow-wrap:break-word;word-break:normal}.confirm-box .submission-photo-preview,.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.record-list-card .record-action-cell,.deleted-records-card .record-action-cell{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.record-list-card .details-row td,.deleted-records-card .details-row td,.task-card details,.task-payment-rows,.task-payment-row-detail,.task-view-details{min-width:0;max-width:100%;overflow-wrap:anywhere}.customer-payment-service-charge-row{width:100%;grid-template-columns:42px minmax(0,1fr)}.customer-payment-service-charge-row:not([open]){width:max-content}}@media(max-width:340px){.mobile-hub-grid,.cs-document-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}}body.mobile-preview-mode .permission-page-head{grid-template-columns:1fr!important;gap:8px}body.mobile-preview-mode .permission-page-head>div,body.mobile-preview-mode .permission-page-head p,body.mobile-preview-mode .permission-head-actions,body.mobile-preview-mode .permission-role-select{min-width:0;width:100%;max-width:100%}body.mobile-preview-mode .permission-page-head p{margin:4px 0 0;font-size:12px;line-height:1.35;overflow-wrap:normal;word-break:normal}body.mobile-preview-mode .permission-head-actions{justify-content:stretch}body.mobile-preview-mode .function-status-row,body.mobile-preview-mode .module-switch-row{grid-template-columns:1fr!important}body.mobile-preview-mode .function-role-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px}body.mobile-preview-mode .function-role-pill,body.mobile-preview-mode .permission-toggle{min-width:0;overflow:hidden}body.mobile-preview-mode .function-role-pill b,body.mobile-preview-mode .function-role-pill small,body.mobile-preview-mode .function-role-pill em,body.mobile-preview-mode .permission-toggle span{min-width:0;overflow:hidden;text-overflow:ellipsis}body.mobile-preview-mode .permission-toggle-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.mobile-preview-mode .customer-payment-row-card,body.mobile-preview-mode #editRecordForm [data-edit-customer-payment-row].customer-payment-row-card{grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:start;padding-inline:12px}body.mobile-preview-mode .customer-payment-row-card .customer-payment-row-title,body.mobile-preview-mode .customer-payment-row-card .customer-payment-style-stack,body.mobile-preview-mode .customer-payment-row-card .customer-payment-other-style-field,body.mobile-preview-mode .customer-payment-row-card .customer-payment-type-field,body.mobile-preview-mode .customer-payment-row-card .customer-payment-row-card-fields,body.mobile-preview-mode #editRecordForm [data-edit-customer-payment-row] .customer-payment-row-title,body.mobile-preview-mode #editRecordForm [data-edit-customer-payment-row] .customer-payment-style-stack,body.mobile-preview-mode #editRecordForm [data-edit-customer-payment-row] .customer-payment-other-style-field,body.mobile-preview-mode #editRecordForm [data-edit-customer-payment-row] .customer-payment-type-field,body.mobile-preview-mode #editRecordForm [data-edit-customer-payment-row] .customer-payment-row-card-fields{grid-column:1 / -1!important}body.mobile-preview-mode .customer-payment-row-card .customer-payment-row-title,body.mobile-preview-mode #editRecordForm [data-edit-customer-payment-row] .customer-payment-row-title{padding-inline:2px;min-width:0}body.mobile-preview-mode .customer-payment-row-card .customer-payment-deposit-field:not(.is-hidden),body.mobile-preview-mode #editRecordForm [data-edit-customer-payment-row] .customer-payment-deposit-field:not(.is-hidden){grid-column:1!important}body.mobile-preview-mode .customer-payment-row-card .customer-payment-full-field,body.mobile-preview-mode #editRecordForm [data-edit-customer-payment-row] .customer-payment-full-field{grid-column:2!important}body.mobile-preview-mode .customer-payment-row-card .customer-payment-deposit-field.is-hidden+.customer-payment-full-field,body.mobile-preview-mode #editRecordForm [data-edit-customer-payment-row] .customer-payment-deposit-field.is-hidden+.customer-payment-full-field{grid-column:1 / -1!important}body.mobile-preview-mode .customer-payment-amount-field,body.mobile-preview-mode .customer-payment-amount-field .amount-number-control,body.mobile-preview-mode .customer-payment-amount-field .amount-digit-wrap,body.mobile-preview-mode .customer-payment-amount-field .amount-digit-row,body.mobile-preview-mode #editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field,body.mobile-preview-mode #editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field .amount-number-control,body.mobile-preview-mode #editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field .amount-digit-wrap,body.mobile-preview-mode #editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field .amount-digit-row{min-width:0;max-width:100%}body.mobile-preview-mode .customer-payment-amount-field .amount-digit-row,body.mobile-preview-mode #editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field .amount-digit-row{grid-template-columns:repeat(5,minmax(9px,1fr)) 4px repeat(2,minmax(9px,1fr))!important;gap:2px;padding:3px;overflow:hidden}body.mobile-preview-mode .customer-payment-amount-field .amount-lock-window,body.mobile-preview-mode #editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window{min-width:0!important;width:100%!important}body.mobile-preview-mode .customer-payment-amount-field .amount-lock-window .amount-digit,body.mobile-preview-mode .customer-payment-amount-field .amount-lock-window .amount-cent-digit,body.mobile-preview-mode #editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .amount-digit,body.mobile-preview-mode #editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .amount-cent-digit{width:100%!important;min-width:0!important;font-size:clamp(11px,3.15vw,15px)!important}body.mobile-preview-mode .customer-payment-service-charge-row{width:100%;grid-template-columns:40px minmax(0,1fr);gap:8px}body.mobile-preview-mode .customer-payment-service-charge-row:not([open]){width:max-content;grid-template-columns:40px}body.mobile-preview-mode .customer-payment-service-charge-row>summary{width:40px;height:40px}body.mobile-preview-mode .cs-document-panel{padding:8px;border-radius:16px;overflow:visible}body.mobile-preview-mode .cs-document-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px}body.mobile-preview-mode .cs-document-head h3{min-width:0;font-size:18px;line-height:1.1;overflow-wrap:normal;word-break:normal}body.mobile-preview-mode .cs-document-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px}body.mobile-preview-mode .cs-document-summary span,body.mobile-preview-mode .cs-document-summary b{overflow-wrap:normal!important;word-break:normal!important}body.mobile-preview-mode .cs-document-summary span{padding:7px 8px;border-radius:12px}body.mobile-preview-mode .cs-doc-group-head{padding:8px}body.mobile-preview-mode .cs-compact-row{display:grid;grid-template-columns:1fr!important;gap:8px;padding:8px;overflow:visible}body.mobile-preview-mode .cs-compact-main,body.mobile-preview-mode .cs-mini-details,body.mobile-preview-mode .cs-photo-strip{width:100%;min-width:0}body.mobile-preview-mode .cs-mini-details{grid-template-columns:1fr!important;gap:6px;overflow-x:visible}body.mobile-preview-mode .cs-mini-details span{display:grid;grid-template-columns:minmax(72px,.38fr) minmax(0,1fr);gap:6px;align-items:start;padding:7px 8px;overflow-wrap:normal!important;word-break:normal!important}body.mobile-preview-mode .cs-mini-details em,body.mobile-preview-mode .cs-mini-details b{min-width:0;overflow-wrap:normal!important;word-break:normal!important;white-space:normal}body.mobile-preview-mode .cs-mini-details em{font-size:9px;line-height:1.15}body.mobile-preview-mode .cs-mini-details b{font-size:12px;line-height:1.2}body.mobile-preview-mode .cs-photo-strip{justify-content:flex-start}body.mobile-preview-mode .cs-photo-pill{max-width:100%}@media(max-width:340px){body.mobile-preview-mode .function-role-grid,body.mobile-preview-mode .customer-payment-row-card,body.mobile-preview-mode #editRecordForm [data-edit-customer-payment-row].customer-payment-row-card{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.mobile-preview-mode .cs-document-summary,body.mobile-preview-mode .cs-mini-details span{grid-template-columns:1fr!important}}body.mobile-preview-mode .record-filter-branch,body.mobile-preview-mode .task-filter-branch{grid-template-columns:minmax(0,1fr) minmax(62px,auto)}body.mobile-preview-mode .record-branch-staff-scope,body.mobile-preview-mode .task-branch-staff-scope{min-width:0;width:auto;padding-inline:7px;font-size:10px;white-space:normal;line-height:1.1}body.mobile-preview-mode .audit-filter-bar .audit-clear-filter,body.mobile-preview-mode .record-filter-reset{min-width:0;width:100%}body.mobile-preview-mode .ordering-hero{display:none}body.mobile-preview-mode .ordering-kcode-row,body.mobile-preview-mode .ordering-detail-ticket{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px;padding:9px}body.mobile-preview-mode .ordering-kcode-field,body.mobile-preview-mode .ordering-detail-ticket #salesOrderDetailNumberField{grid-column:1 / -1}body.mobile-preview-mode .ordering-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-areas:"kcode kcode" "desc desc" "type size" "quantity doc"!important;gap:8px}body.mobile-preview-mode .ordering-detail-ticket input,body.mobile-preview-mode .ordering-detail-ticket select,body.mobile-preview-mode .ordering-date-box,body.mobile-preview-mode .ordering-date-box input{min-height:44px}body.mobile-preview-mode .ordering-detail-ticket .invoice-number-control,body.mobile-preview-mode .ordering-detail-ticket .invoice-digit-row{min-height:46px}body.mobile-preview-mode .ordering-detail-ticket .invoice-lock-window .invoice-digit{min-width:0!important;font-size:clamp(13px,4.2vw,18px)!important}body.mobile-preview-mode .ordering-items-list,body.mobile-preview-mode .ordering-records-list,body.mobile-preview-mode .ordering-task-item-grid{min-width:0;max-width:100%;overflow-x:hidden}body.mobile-preview-mode .ordering-item-summary summary{grid-template-columns:28px minmax(0,1fr)}body.mobile-preview-mode .ordering-item-summary summary>.btn{grid-column:1 / -1;width:100%}body.mobile-preview-mode .audit-log-card>p,body.mobile-preview-mode .audit-section-helper{display:-webkit-box;max-height:2.8em;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:12px;line-height:1.35}body.mobile-preview-mode .audit-log-item{grid-template-columns:1fr!important;gap:8px;padding:10px;border-radius:15px}body.mobile-preview-mode .audit-log-meta{grid-template-columns:minmax(0,1fr) auto;align-items:start}body.mobile-preview-mode .audit-log-meta .audit-select{grid-column:2;grid-row:1}body.mobile-preview-mode .audit-log-meta time,body.mobile-preview-mode .audit-log-meta .audit-done-by,body.mobile-preview-mode .audit-log-meta em{min-width:0;overflow:hidden;text-overflow:ellipsis}body.mobile-preview-mode .audit-log-meta em{grid-column:1 / -1}body.mobile-preview-mode .audit-log-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}body.mobile-preview-mode .audit-log-actions .btn{width:100%}body.mobile-preview-mode .audit-change-grid,body.mobile-preview-mode .audit-detail-summary,body.mobile-preview-mode .audit-raw-json pre{min-width:0;max-width:100%;overflow-x:auto}body.mobile-preview-mode .confirm-box{max-height:none;padding:10px;border-radius:15px;overflow:visible;overflow-wrap:break-word}body.mobile-preview-mode .confirm-box .existing-customer-payment-preview{padding:8px;gap:7px;overflow:visible}body.mobile-preview-mode .confirm-box .existing-customer-payment-preview-head{display:grid;grid-template-columns:1fr 1fr;align-items:stretch}body.mobile-preview-mode .confirm-box .existing-customer-payment-preview-head b,body.mobile-preview-mode .confirm-box .existing-customer-payment-preview-head .btn{grid-column:1 / -1}body.mobile-preview-mode .confirm-box .existing-customer-payment-preview-head span{justify-content:center;min-width:0;text-align:center;white-space:normal}body.mobile-preview-mode .confirm-box .existing-invoice-summary{grid-template-columns:1fr!important;max-width:100%;overflow:visible}body.mobile-preview-mode .confirm-box .existing-invoice-summary div{min-width:0;padding:7px 8px}body.mobile-preview-mode .confirm-box .existing-invoice-summary dd{overflow-wrap:break-word;word-break:normal}body.mobile-preview-mode .confirm-box .submission-photo-preview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px;margin-top:8px}body.mobile-preview-mode .confirm-box .photo-preview-card,body.mobile-preview-mode .confirm-box .photo-thumb{min-height:90px}@media(max-width:760px){.record-filter-branch,.task-filter-branch{grid-template-columns:minmax(0,1fr) minmax(62px,auto)}.record-branch-staff-scope,.task-branch-staff-scope{min-width:0;padding-inline:7px;font-size:10px;white-space:normal;line-height:1.1}.audit-filter-bar .audit-clear-filter,.record-filter-reset{width:100%}.ordering-hero{display:none}.ordering-kcode-row,.ordering-detail-ticket{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px;padding:9px}.ordering-kcode-field,.ordering-detail-ticket #salesOrderDetailNumberField{grid-column:1 / -1}.ordering-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-areas:"kcode kcode" "desc desc" "type size" "quantity doc"!important}.audit-log-item{grid-template-columns:1fr!important;gap:8px;padding:10px}.audit-log-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.confirm-box .submission-photo-preview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important}}
.staff-account-id{display:inline-block;max-width:22ch;overflow:hidden;color:#746164;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:11px;font-weight:850;line-height:1.2;text-overflow:ellipsis;vertical-align:middle;white-space:nowrap}.staff-user-table tr.is-inactive-staff td{background:#f5e7eb85;color:#746164}.staff-user-card.is-inactive-staff{background:#f5e7ebb8;border-style:dashed}.staff-user-meta em.inactive{background:#f7e3e8;color:var(--danger)}.customer-payment-staff-grid{display:grid;grid-template-columns:repeat(2,minmax(170px,1fr));gap:12px;min-width:0}.customer-payment-staff-grid .field{margin:0;min-width:0}.customer-payment-invoice-reset-row{display:grid;grid-template-columns:minmax(360px,max-content) minmax(80px,1fr);gap:12px;align-items:end;min-width:0}.customer-payment-invoice-reset-row .customer-payment-reset{justify-self:end;align-self:end}.record-table-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0 10px}.record-table-toolbar .page-note{margin:0}.record-table-toolbar .record-bulk-toolbar{flex:0 0 auto;margin:0 0 0 auto}@media(min-width:901px){.customer-payment-details-head{grid-template-columns:minmax(160px,220px) minmax(150px,180px) minmax(360px,1fr);align-items:end}.customer-payment-details-head>.customer-payment-staff-grid{align-self:end}.record-list-card>.record-filter-bar{margin:4px 0 8px}.record-filter-bar{grid-template-columns:minmax(220px,1.55fr) minmax(176px,.95fr) repeat(4,minmax(118px,.7fr)) minmax(238px,1fr) 46px;gap:8px;align-items:end;padding:9px 10px;border-radius:16px}.record-filter-bar .field>span{display:block;min-height:16px;overflow:hidden;color:#776467;font-size:11px;line-height:16px;text-overflow:ellipsis;white-space:nowrap}.record-filter-bar input,.record-filter-bar select,.record-filter-bar .range-trigger,.record-filter-reset{min-height:40px;border-radius:13px;font-size:13px}.record-filter-branch{grid-template-columns:minmax(0,1fr) minmax(62px,auto);gap:6px}.record-branch-staff-scope{min-width:62px;min-height:40px;padding-inline:8px;font-size:11px}}@media(max-width:900px){.customer-payment-invoice-reset-row{grid-template-columns:1fr}.customer-payment-invoice-reset-row .customer-payment-reset{justify-self:stretch;width:100%;min-height:42px;border-radius:14px}.record-table-toolbar{align-items:stretch;flex-direction:column}.record-table-toolbar .record-bulk-toolbar{width:100%;margin:0}}.kcode-combo{position:relative;grid-template-columns:48px minmax(0,1fr)!important;width:100%}.kcode-combo input#salesOrderKNumber{width:100%;min-width:0;padding-inline:14px;text-align:left}.kcode-combo b{display:none!important}@media(min-width:761px){.kcode-combo .ordering-supplier-choose,.kcode-combo .ordering-supplier-hidden-select{display:none!important}}@media(max-width:760px){.kcode-combo{grid-template-columns:40px minmax(0,1fr) 40px!important;min-height:48px}.kcode-combo span,.kcode-combo input,.kcode-combo .ordering-supplier-choose{min-height:48px}.kcode-combo input#salesOrderKNumber{padding-inline:10px;text-align:left}.kcode-combo .ordering-supplier-choose{display:grid!important;place-items:center;border:0;border-left:1px solid #eadbdd;background:#fff8fb;color:var(--brand);font-size:19px;font-weight:950;padding:0}.kcode-combo .ordering-supplier-hidden-select{display:block!important;position:absolute!important;top:0;right:0;bottom:0;left:auto!important;width:40px;height:100%;min-height:48px;border:0;opacity:.01;pointer-events:auto}}body.mobile-preview-mode .kcode-combo{grid-template-columns:40px minmax(0,1fr) 40px!important}body.mobile-preview-mode .kcode-combo input#salesOrderKNumber{padding-inline:10px;text-align:left}body.mobile-preview-mode .kcode-combo .ordering-supplier-choose{display:grid!important;place-items:center;border-left:1px solid #eadbdd;background:#fff8fb}body.mobile-preview-mode .kcode-combo .ordering-supplier-hidden-select{display:block!important;position:absolute!important;top:0;right:0;bottom:0;left:auto!important;width:40px;height:100%;min-height:48px;opacity:.01;pointer-events:auto}.cs-document-database-card,.record-list-card,.deleted-records-card,.task-section,.audit-log-card,.ops-toolbar,.cs-filter-bar,.record-filter-bar,.task-filters,.audit-filter-bar{overflow:visible!important}.cs-filter-bar,.record-filter-bar,.task-filters,.audit-filter-bar{position:relative!important;z-index:70!important}body:not(.mobile-preview-mode) .cs-filter-bar,body:not(.mobile-preview-mode) .record-filter-bar,body:not(.mobile-preview-mode) .task-filters,body:not(.mobile-preview-mode) .audit-filter-bar{display:grid!important;grid-template-columns:minmax(220px,1.05fr) repeat(4,minmax(150px,.85fr))!important;grid-auto-flow:row!important;grid-auto-rows:minmax(42px,auto)!important;gap:8px 10px!important;align-items:stretch!important;width:100%!important;max-width:100%!important}body:not(.mobile-preview-mode) .cs-filter-bar>input,body:not(.mobile-preview-mode) .record-filter-search,body:not(.mobile-preview-mode) .task-filters>input,body:not(.mobile-preview-mode) .audit-filter-bar .field:first-child{grid-column:1!important;grid-row:span 2!important;min-width:0!important;min-height:100%!important}body:not(.mobile-preview-mode) .cs-filter-bar>input,body:not(.mobile-preview-mode) .record-filter-search input,body:not(.mobile-preview-mode) .task-filters>input,body:not(.mobile-preview-mode) .audit-filter-bar .field:first-child input{min-height:100%!important}body:not(.mobile-preview-mode) .cs-filter-bar .date-range-control,body:not(.mobile-preview-mode) .record-filter-bar .date-range-control,body:not(.mobile-preview-mode) .task-filters .date-range-control,body:not(.mobile-preview-mode) .audit-filter-bar .date-range-control{grid-column:auto!important;width:100%!important;min-width:0!important;max-width:220px!important;justify-self:stretch!important}body.mobile-layout-mode,body.mobile-preview-mode{overflow:hidden!important}body.mobile-layout-mode .task-card,body.mobile-preview-mode .task-card,body.mobile-layout-mode .details-row,body.mobile-preview-mode .details-row{scroll-margin-bottom:calc(138px + env(safe-area-inset-bottom))!important}body.mobile-layout-mode .task-section:last-child,body.mobile-preview-mode .task-section:last-child,body.mobile-layout-mode .deleted-records-card,body.mobile-preview-mode .deleted-records-card{margin-bottom:calc(18px + env(safe-area-inset-bottom))!important}body.mobile-layout-mode .details-row .detail-panel,body.mobile-preview-mode .details-row .detail-panel,body.mobile-layout-mode .deleted-records-card .detail-panel,body.mobile-preview-mode .deleted-records-card .detail-panel{display:grid!important;grid-template-columns:1fr!important;width:100%!important;max-width:100%!important;min-width:0!important;overflow:visible!important;box-sizing:border-box!important}body.mobile-layout-mode .details-row td,body.mobile-preview-mode .details-row td{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;overflow:visible!important;box-sizing:border-box!important}body.mobile-layout-mode .details-row .record-detail-list,body.mobile-preview-mode .details-row .record-detail-list,body.mobile-layout-mode .details-row .record-detail-text,body.mobile-preview-mode .details-row .record-detail-text,body.mobile-layout-mode .details-row .full-record,body.mobile-preview-mode .details-row .full-record{width:100%!important;max-width:100%!important;min-width:0!important;overflow:visible!important}body.mobile-layout-mode .details-row .detail-item,body.mobile-preview-mode .details-row .detail-item,body.mobile-layout-mode .task-summary-list div,body.mobile-preview-mode .task-summary-list div{grid-template-columns:minmax(92px,34%) minmax(0,1fr)!important;gap:8px!important;font-size:13px!important}body.mobile-layout-mode .details-row .detail-item dd,body.mobile-preview-mode .details-row .detail-item dd,body.mobile-layout-mode .task-summary-list dd,body.mobile-preview-mode .task-summary-list dd{min-width:0!important;max-width:100%!important;overflow-wrap:anywhere!important;word-break:break-word!important}@media(max-width:760px){body.has-app{overflow:hidden!important}body.has-app .task-card,body.has-app .details-row{scroll-margin-top:calc(92px + env(safe-area-inset-top))!important;scroll-margin-bottom:calc(138px + env(safe-area-inset-bottom))!important}body.has-app .task-section:last-child,body.has-app .deleted-records-card{margin-bottom:calc(18px + env(safe-area-inset-bottom))!important}body.has-app .details-row .detail-panel,body.has-app .deleted-records-card .detail-panel{display:grid!important;grid-template-columns:1fr!important;width:100%!important;max-width:100%!important;min-width:0!important;overflow:visible!important;box-sizing:border-box!important}body.has-app .details-row td{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;overflow:visible!important;box-sizing:border-box!important}body.has-app .details-row .record-detail-list,body.has-app .details-row .record-detail-text,body.has-app .details-row .full-record{width:100%!important;max-width:100%!important;min-width:0!important;overflow:visible!important}body.has-app .details-row .detail-item,body.has-app .task-summary-list div{grid-template-columns:minmax(92px,34%) minmax(0,1fr)!important;gap:8px!important;font-size:13px!important}body.has-app .details-row .detail-item dd,body.has-app .task-summary-list dd{min-width:0!important;max-width:100%!important;overflow-wrap:anywhere!important;word-break:break-word!important}}.modal-card #editRecordForm [data-edit-customer-payment-row].customer-payment-row-card{grid-template-columns:82px repeat(4,minmax(0,1fr))!important;gap:10px!important;max-width:100%!important;overflow:visible!important}.modal-card #editRecordForm [data-edit-customer-payment-row] .customer-payment-row-card-fields{grid-template-columns:repeat(3,minmax(0,1fr))!important;max-width:100%!important;min-width:0!important}.modal-card #editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field,.modal-card #editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field .amount-number-control,.modal-card #editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field .amount-digit-wrap,.modal-card #editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field .amount-digit-row{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}.modal-card #editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field .amount-digit-row{grid-template-columns:repeat(5,minmax(14px,1fr)) 5px repeat(2,minmax(14px,.86fr))!important;gap:2px!important;overflow:visible!important}.modal-card #editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .amount-digit,.modal-card #editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .amount-cent-digit{font-size:clamp(12px,1.2vw,17px)!important;min-width:0!important}@media(max-width:980px){.modal-card #editRecordForm [data-edit-customer-payment-row].customer-payment-row-card{grid-template-columns:76px repeat(2,minmax(0,1fr))!important}.modal-card #editRecordForm [data-edit-customer-payment-row] .customer-payment-deposit-field,.modal-card #editRecordForm [data-edit-customer-payment-row] .customer-payment-full-field,.modal-card #editRecordForm [data-edit-customer-payment-row] .customer-payment-row-card-fields{grid-column:2 / -1!important}}.preview-guideline-settings{gap:14px}.preview-guideline-split{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(360px,1.2fr);gap:14px;align-items:start}.preview-phone-panel,.branch-location-admin-panel{min-width:0;display:grid;gap:10px;padding:12px;border:1px solid #d9ece8;border-radius:8px;background:#f4faf9}.preview-phone-panel p,.branch-location-admin-panel p{min-width:0;margin:0;color:var(--muted);font-size:13px;font-weight:800;line-height:1.4;overflow-wrap:anywhere}.preview-phone-panel .btn{justify-self:start}.preview-guideline-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}.preview-guideline-grid>div{min-width:0;display:grid;gap:5px;padding:11px 12px;border:1px solid #d9ece8;border-radius:8px;background:#f4fbfad1}.preview-guideline-grid dt{color:var(--brand);font-size:11px;font-weight:950;text-transform:none}.preview-guideline-grid dd{margin:0;min-width:0;color:var(--ink);font-size:13px;font-weight:850;line-height:1.35;overflow-wrap:anywhere}.preview-phone-panel .card-head.compact,.branch-location-admin-panel .card-head.compact{margin:0}.preview-phone-panel .card-head.compact h3,.branch-location-admin-panel .card-head.compact h3{margin:2px 0 0;font-size:20px}.branch-location-form{display:grid;grid-template-columns:minmax(96px,132px) minmax(300px,1fr);gap:10px;align-items:end}.branch-location-form .field{margin:0;min-width:0}.branch-location-address-field textarea{min-height:78px;resize:vertical}.branch-location-actions{grid-column:2;display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.branch-location-list{display:grid;gap:7px}.branch-location-list>div:not(.empty){display:grid;grid-template-columns:minmax(80px,120px) minmax(0,1fr) minmax(110px,auto);gap:8px;align-items:center;padding:9px 10px;border:1px solid #e5efec;border-radius:12px;background:#ffffffd1}.branch-location-list b,.branch-location-list span,.branch-location-list small{min-width:0;overflow-wrap:anywhere}.branch-location-list b{color:var(--brand);font-weight:950}.branch-location-list small{color:var(--muted);font-size:11px;font-weight:850;text-align:right}select[data-store-db-branch-select]{background:#fff!important;cursor:pointer}.customer-payment-extra-row.customer-payment-row-card{grid-template-columns:86px minmax(170px,.82fr) minmax(170px,.82fr) minmax(0,1fr) minmax(0,1fr)!important}.customer-payment-extra-row .customer-payment-amount-field,.customer-payment-extra-row .customer-payment-amount-field .amount-number-control,.customer-payment-extra-row .customer-payment-amount-field .amount-digit-wrap,.customer-payment-extra-row .customer-payment-amount-field .amount-digit-row{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}.customer-payment-extra-row .customer-payment-amount-field .amount-digit-row{grid-template-columns:repeat(5,minmax(12px,1fr)) 5px repeat(2,minmax(12px,.86fr))!important;gap:2px!important;overflow:hidden!important}.customer-payment-extra-row .customer-payment-amount-field .amount-lock-window,.customer-payment-extra-row .customer-payment-amount-field .amount-lock-window .amount-digit,.customer-payment-extra-row .customer-payment-amount-field .amount-lock-window .amount-cent-digit{min-width:0!important;width:100%!important}.customer-payment-extra-row .customer-payment-amount-field .amount-lock-window .amount-digit,.customer-payment-extra-row .customer-payment-amount-field .amount-lock-window .amount-cent-digit{font-size:clamp(12px,1.05vw,16px)!important}.amount-number-control>.amount-number-hidden,.invoice-number-control>.invoice-number-hidden,.modal-card .amount-number-control>.amount-number-hidden,.modal-card .invoice-number-control>.invoice-number-hidden,.customer-payment-row-card .amount-number-control>.amount-number-hidden,#editRecordForm [data-edit-customer-payment-row] .amount-number-control>.amount-number-hidden{position:absolute!important;inline-size:1px!important;block-size:1px!important;width:1px!important;min-width:0!important;max-width:1px!important;height:1px!important;min-height:0!important;max-height:1px!important;padding:0!important;border:0!important;margin:0!important;opacity:0!important;color:transparent!important;font-size:0!important;line-height:0!important;visibility:hidden!important;pointer-events:none!important;clip-path:inset(50%)!important;overflow:hidden!important}@media(max-width:760px){.preview-guideline-split,.preview-guideline-grid{grid-template-columns:1fr}.branch-location-form,.branch-location-list>div:not(.empty){grid-template-columns:1fr}.branch-location-actions{grid-column:auto;justify-content:stretch}.branch-location-list small{text-align:left}.preview-phone-panel,.branch-location-admin-panel{padding:10px;gap:8px;overflow:hidden}.branch-location-admin-panel .card-head.compact h3,.preview-phone-panel h3{font-size:18px;line-height:1.08}.branch-location-address-field textarea{min-height:64px}}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.service-charge-copy{display:inline-flex;align-items:center;gap:8px;min-width:0}.service-charge-copy small{color:var(--muted);font-weight:800}.customer-payment-details-head,body.mobile-preview-mode .customer-payment-details-head{display:grid;grid-template-columns:minmax(140px,.8fr) minmax(150px,.8fr) minmax(150px,.8fr) minmax(170px,1fr) auto;align-items:end;gap:10px}.customer-payment-details-head .customer-payment-staff-grid,body.mobile-preview-mode .customer-payment-details-head .customer-payment-staff-grid{display:contents}.customer-payment-service-charge-row,body.mobile-preview-mode .customer-payment-service-charge-row{display:grid;grid-template-columns:minmax(190px,.35fr) minmax(220px,.65fr);align-items:end;width:min(620px,100%);max-width:100%;justify-content:stretch;gap:10px}.customer-payment-service-charge-row>summary{display:inline-flex;align-items:center;gap:10px;place-items:initial;width:auto;min-width:min(260px,100%);height:auto;min-height:42px;padding:8px 12px;border-radius:14px;font-size:14px;line-height:1.15}.customer-payment-service-charge-row:not([open]),body.mobile-preview-mode .customer-payment-service-charge-row:not([open]){width:min(260px,100%);max-width:100%;grid-template-columns:minmax(0,1fr)}body.mobile-preview-mode .customer-payment-service-charge-row>summary{width:auto;min-width:min(260px,100%)}.service-charge-plus{display:inline-grid;place-items:center;width:28px;height:28px;flex:0 0 auto;border-radius:999px;background:#f6e2e9;color:var(--brand);font-weight:950}.customer-payment-service-charge-field{max-width:100%}.customer-payment-service-charge-row:not([open]) .customer-payment-service-charge-field{display:none}.staff-user-form.staff-user-editor-grid{align-items:end}.staff-user-form.staff-user-editor-grid .field{min-width:0;margin:0}.staff-user-form.staff-user-editor-grid .staff-user-save-btn{min-height:48px;align-self:end}.staff-branch-field{position:relative;overflow:visible}.staff-branch-value{display:none}.staff-branch-display{min-height:47px}.staff-branch-picker{position:relative;width:100%}.staff-branch-picker>summary{min-height:47px;width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px;border:1px solid var(--line);border-radius:13px;background:#fff;color:var(--ink);cursor:pointer;list-style:none}.staff-branch-picker>summary::-webkit-details-marker{display:none}.staff-branch-picker>summary:after{content:"\2304";flex:0 0 auto;color:var(--muted);font-size:12px;transition:transform .16s ease}.staff-branch-picker[open]>summary:after{transform:rotate(180deg)}.staff-branch-picker>summary span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ink);font-size:14px;font-weight:650}.staff-branch-panel{position:fixed;z-index:6200;top:var(--staff-branch-panel-top, 80px);left:var(--staff-branch-panel-left, 12px);width:var(--staff-branch-panel-width, min(320px, calc(100vw - 24px) ));max-height:var(--staff-branch-panel-max-height, min(260px, calc(100vh - 96px) ));overflow:auto;margin:0;display:none;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px;border:1px solid var(--line);border-radius:16px;background:var(--panel-strong);box-shadow:0 18px 42px #4e253024;overscroll-behavior:contain}.staff-branch-picker[open]>.staff-branch-panel{display:grid}.staff-branch-choice{position:relative;min-width:0;display:grid;grid-template-columns:minmax(0,1fr);align-items:center;padding:8px 9px;border:1px solid var(--line);border-radius:var(--radius-control, 8px);background:#fffaf8;color:var(--ink);font-size:13px;font-weight:850;line-height:1.2}.staff-branch-choice input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}.staff-branch-choice:has(input:checked){border-color:var(--selection-border);background:var(--selection-bg);color:var(--selection-ink)}.staff-branch-choice:focus-within{outline:2px solid color-mix(in srgb,var(--brand) 34%,transparent);outline-offset:1px}.staff-branch-choice span{min-width:0;overflow-wrap:anywhere}#editUserForm.staff-user-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#editUserForm.staff-user-editor-grid .active-toggle{align-self:center;margin:0}#editUserForm.staff-user-editor-grid .modal-actions{grid-column:1 / -1}@media(max-width:760px){#userForm.staff-user-editor-grid,#editUserForm.staff-user-editor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#userForm.staff-user-editor-grid>.field:has(:is(#gmail,#displayName)),#editUserForm.staff-user-editor-grid>.field:has(:is(#editUserGmail,#editUserName)){grid-column:1 / -1}.staff-branch-panel{grid-template-columns:repeat(2,minmax(0,1fr))}.staff-user-form.staff-user-editor-grid .staff-user-save-btn,#editUserForm.staff-user-editor-grid .active-toggle,#editUserForm.staff-user-editor-grid .modal-actions{width:100%;grid-column:1 / -1}}.customer-payment-row-card,#editRecordForm [data-edit-customer-payment-row].customer-payment-row-card{display:grid;grid-template-columns:minmax(68px,.34fr) minmax(170px,1fr) minmax(150px,.78fr) minmax(220px,1fr) minmax(220px,1fr);gap:10px;align-items:end;overflow:hidden}.customer-payment-row-card .customer-payment-row-card-fields,#editRecordForm [data-edit-customer-payment-row] .customer-payment-row-card-fields{grid-column:2 / -1;display:grid;grid-template-columns:repeat(3,minmax(160px,1fr));gap:10px;min-width:0}.customer-payment-row-card .customer-payment-row-card-fields [data-row-other-bank-field]:not(.is-hidden),#editRecordForm [data-edit-customer-payment-row] .customer-payment-row-card-fields [data-edit-row-other-bank-field]:not(.is-hidden){grid-column:1 / -1}#editRecordForm [data-edit-customer-payment-row].is-confirmed-locked{border-color:#c9968f!important;background:repeating-linear-gradient(135deg,#f8f1f3d1,#f8f1f3d1 8px,#f1e7ead1 8px 16px)!important;box-shadow:inset 0 0 0 1px #8f48501f}#editRecordForm [data-edit-customer-payment-row].is-confirmed-locked input:disabled,#editRecordForm [data-edit-customer-payment-row].is-confirmed-locked select:disabled,#editRecordForm [data-edit-customer-payment-row].is-confirmed-locked textarea:disabled,#editRecordForm [data-edit-customer-payment-row].is-confirmed-locked button:disabled{cursor:not-allowed;opacity:.74}.customer-payment-amount-field,.customer-payment-amount-field .amount-number-control,.customer-payment-amount-field .amount-digit-wrap,.customer-payment-amount-field .amount-digit-row{min-width:0;max-width:100%}.customer-payment-amount-field .amount-digit-row,#editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field .amount-digit-row{display:grid;grid-template-columns:repeat(5,minmax(22px,1fr)) 6px repeat(2,minmax(22px,.82fr));gap:3px;overflow:hidden}.customer-payment-amount-field .amount-lock-window .amount-digit,.customer-payment-amount-field .amount-lock-window .amount-cent-digit,#editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .amount-digit,#editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .amount-cent-digit{min-width:0;width:100%}.task-board.task-summary-grid,#taskResults .task-board.task-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr));gap:12px;align-items:start}.task-board.task-summary-grid>.task-summary-card{min-width:0}.task-payment-rows{display:grid;gap:10px}.task-payment-row-detail{border:1px solid var(--line);border-radius:8px;padding:10px;background:var(--surface-raised);min-width:0}.task-payment-row-detail>b{display:block;margin-bottom:8px;color:var(--brand)}.task-payment-row-detail dl{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(140px,100%),1fr));gap:8px;margin:0}.task-payment-row-detail div,.task-payment-row-detail dd,.task-payment-row-detail dt{min-width:0;overflow-wrap:break-word;word-break:normal;white-space:normal}.task-view-details .task-detail-items,.task-view-details .task-payment-rows{min-width:0;max-width:100%;overflow-x:hidden}
:root{--surface-backdrop: rgba(42,31,34,.48);--shadow-overlay: 0 24px 64px rgba(42,31,34,.24);--space-1: 4px;--space-2: 8px;--space-3: 12px;--space-4: 16px;--space-5: 24px;--text-xs: 11px;--text-sm: 12px;--text-md: 14px;--text-lg: 16px;--text-xl: 20px;--text-kpi: 24px;--radius-sm: 8px;--radius-md: 12px;--radius-lg: 16px;--radius-pill: 999px;--control-h-compact: 32px;--control-h-default: 40px;--control-h-touch: 44px;--z-sticky: 20;--z-popover: 3200;--z-modal: 9000}.record-detail-list,.payment-approval-main{min-width:0;max-width:100%;container-type:inline-size}.record-detail-list.is-dense-detail,.payment-approval-main.is-dense-detail{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:8px}.record-detail-list.is-dense-detail .detail-item,.payment-approval-main.is-dense-detail>div{min-width:0;grid-template-columns:minmax(82px,32%) minmax(0,1fr)}.task-card .payment-approval-main.is-dense-detail>div{grid-template-columns:minmax(0,1fr);gap:3px}.payment-approval-main>.detail-payment-sum{grid-column:1 / -1}.record-detail-list.is-dense-detail>.is-long-detail,.payment-approval-main.is-dense-detail>.is-long-detail{grid-column:1 / -1}@container (min-width: 900px){.record-detail-list.is-dense-detail,.payment-approval-main.is-dense-detail{grid-template-columns:repeat(3,minmax(0,1fr))}}.record-detail-list.is-resizable-detail,.task-view-details:has(.is-resizable-detail),.detail-panel:has(.is-resizable-detail){max-height:min(70vh,720px);overflow:auto;resize:vertical;scrollbar-gutter:stable}.record-detail-list .detail-item,.payment-approval-main>div{min-width:0;max-width:100%;overflow:hidden}.record-detail-list .detail-item>dd,.payment-approval-main>div>dd{min-width:0;max-width:100%;overflow-wrap:anywhere}.record-detail-list .detail-item.is-long-detail>dd,.payment-approval-main>div.is-long-detail>dd{max-height:5.4em;overflow:auto;resize:vertical;scrollbar-gutter:stable}@container (max-width: 360px){.record-detail-list.is-dense-detail,.payment-approval-main.is-dense-detail{grid-template-columns:minmax(0,1fr)}}.payment-confirm-scope{display:grid;gap:8px;padding:10px;border:1px dashed var(--line-strong, var(--line));border-radius:12px;background:#fffaf2}.payment-confirm-row-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px}.payment-confirm-row-list label{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 8px;align-items:center;padding:8px;border:1px solid var(--line);border-radius:var(--radius-control, 8px);background:#fff;min-width:0;cursor:pointer}.payment-confirm-row-list label>input[type=checkbox]{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}.payment-confirm-row-list label>span{grid-column:1;grid-row:1;color:var(--brand);font-weight:900}.payment-confirm-row-list em,.payment-confirm-row-list strong,.payment-confirm-row-list small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.payment-confirm-row-list em{grid-column:1 / -1;grid-row:2}.payment-confirm-row-list strong{grid-column:2;grid-row:1}.payment-confirm-row-list small{grid-column:1 / -1;grid-row:3;width:fit-content;max-width:100%;padding:2px 7px;border-radius:999px;background:#f4edf0;color:var(--muted);font-size:11px;font-weight:900;white-space:nowrap}.payment-confirm-row-list label.is-confirmed{border-color:var(--selection-border);background:var(--selection-bg);color:var(--selection-ink)}.payment-confirm-row-list label:focus-within{outline:2px solid color-mix(in srgb,var(--brand) 34%,transparent);outline-offset:2px}.payment-confirm-row-list label.is-confirmed small{background:#f6e2e9;color:var(--brand)}.cs-filter-bar,.audit-filter-bar,.record-filter-bar,.task-filters{display:grid;grid-template-columns:minmax(240px,1.35fr) repeat(4,minmax(142px,.72fr));align-items:stretch;gap:10px}.cs-filter-bar{grid-template-columns:minmax(240px,1.15fr) repeat(6,minmax(124px,.66fr)) 46px;align-items:start}.audit-filter-bar{grid-template-columns:minmax(240px,1.35fr) repeat(3,minmax(140px,.66fr)) minmax(210px,.84fr) auto;align-items:end}.record-filter-bar,.task-filters{grid-template-columns:minmax(240px,1.18fr) repeat(5,minmax(130px,.68fr)) minmax(210px,.9fr)}.cs-filter-bar>input,.cs-filter-bar .date-range-control,.cs-filter-bar .cs-multi-filter,.audit-filter-bar>*,.task-filters>*,.record-filter-bar>*{min-width:0}.record-filter-bar .date-range-control{grid-column:span 2}.cs-filter-bar .date-range-control,.task-filters .date-range-control{grid-column:auto}.cs-filter-bar .date-range-control{max-width:360px}.cs-filter-bar #csResetWindow,.record-filter-bar .record-filter-reset,.audit-filter-bar .audit-clear-filter{justify-self:end}.cs-multi-filter{position:relative;min-width:0;overflow:visible}.record-multi-filter,.task-multi-filter{position:relative;min-width:0;overflow:visible;border:1px solid var(--line);border-radius:16px;background:#fffdfb}.cs-multi-filter>summary,.record-multi-filter>summary,.task-multi-filter>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:48px;padding:0 14px;cursor:pointer;list-style:none}.cs-multi-filter>summary span,.record-multi-filter>summary span,.task-multi-filter>summary span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.record-multi-filter>summary::-webkit-details-marker,.task-multi-filter>summary::-webkit-details-marker{display:none}.record-multi-filter>summary:after,.task-multi-filter>summary:after{content:"";width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:5px solid currentColor;color:var(--accent)}.record-multi-filter[open]>summary:after,.task-multi-filter[open]>summary:after{transform:rotate(180deg)}.cs-multi-filter>div.cs-multi-panel,.record-multi-filter>div.record-multi-panel,.task-multi-filter>div.task-multi-panel{left:0;right:auto;display:grid;grid-template-columns:minmax(0,1fr);gap:6px;width:min(360px,calc(100vw - 48px))!important;min-width:min(280px,calc(100vw - 48px))!important;max-width:min(420px,calc(100vw - 48px))!important;max-height:min(420px,58vh);overflow:auto;padding:10px;z-index:180;position:absolute;top:calc(100% + 8px);border:1px solid var(--line);border-radius:14px;background:#fffaf7;box-shadow:0 16px 34px #3c2a2d29}.cs-multi-filter[data-cs-multi=module]>div.cs-multi-panel,.cs-multi-filter[data-cs-multi=approvedBy]>div.cs-multi-panel,.record-multi-filter[data-record-multi=paymentStyle]>div.record-multi-panel,.record-multi-filter[data-record-multi=approvedBy]>div.record-multi-panel,.task-multi-filter[data-task-multi=approvedBy]>div.task-multi-panel{left:auto;right:0}.cs-multi-filter label,.record-multi-filter label,.task-multi-filter label{display:grid;grid-template-columns:22px minmax(0,1fr);align-items:center;gap:10px;min-height:36px;margin:0;padding:6px 8px;border-radius:10px}.cs-multi-filter label input,.record-multi-filter label input,.task-multi-filter label input{justify-self:center;width:16px;height:16px}.cs-multi-filter label span,.record-multi-filter label span,.task-multi-filter label span,.cs-multi-panel label span,.record-multi-panel label span,.task-multi-panel label span{min-width:0;overflow-wrap:break-word;word-break:normal;line-height:1.25;white-space:normal}.record-multi-filter label:hover,.task-multi-filter label:hover{background:#f6eceb}.cs-heatmap-detail-outside,.cs-document-panel,.cs-mini-details{min-width:0;max-width:100%;overflow-x:hidden}.cs-mini-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.cs-mini-details span,.cs-mini-details div,.cs-mini-details b,.cs-mini-details dd{min-width:0;overflow-wrap:anywhere}.cs-mini-details span.is-long{grid-column:1 / -1}.cs-document-panel,.cs-doc-group,.cs-compact-row,.cs-compact-main,.cs-photo-strip{min-width:0;max-width:100%}.cs-compact-row{grid-template-columns:minmax(180px,.28fr) minmax(0,1fr) minmax(100px,auto);align-items:stretch}.cs-compact-main,.cs-photo-strip{overflow:hidden}.cs-payment-row-list{grid-column:1 / -1;display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:8px;min-width:0}.cs-payment-row-list article{display:grid;gap:4px;padding:8px 10px;border:1px solid #f0dedb;border-radius:12px;background:#fffdfa;min-width:0}.cs-payment-row-list b,.cs-payment-row-list span{min-width:0;overflow-wrap:break-word}.cs-payment-row-list b{color:var(--brand);font-size:12px}.cs-payment-row-list span{color:var(--ink);font-size:12px;line-height:1.3}.existing-customer-payment-preview{max-width:100%;max-height:none;overflow:visible}.existing-customer-payment-preview-head{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.existing-invoice-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(132px,1fr));gap:8px}.existing-invoice-summary div,.existing-invoice-summary dd{min-width:0;overflow-wrap:break-word;word-break:normal;white-space:normal}.existing-invoice-summary .wide{grid-column:1 / -1}.audit-log-list{display:grid;gap:10px}.audit-log-item{display:grid;grid-template-columns:minmax(210px,.28fr) minmax(0,1fr);align-items:start;gap:14px}.audit-log-meta,.audit-log-main,.audit-detail-row,.audit-detail-summary,.audit-change-grid,.audit-raw-json pre{min-width:0;max-width:100%}.audit-log-meta{display:grid;grid-template-columns:auto minmax(0,1fr);gap:6px 10px}.audit-log-meta time,.audit-log-meta .audit-done-by,.audit-log-meta em,.audit-log-main strong{min-width:0;overflow-wrap:break-word}.audit-log-meta em{grid-column:1 / -1}.audit-log-actions{display:flex;flex-wrap:wrap;gap:8px}@media(max-width:1200px){.task-board.task-summary-grid,#taskResults .task-board.task-summary-grid,.cs-filter-bar,.record-filter-bar,.task-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.cs-filter-bar>input,.audit-filter-bar .field:first-child,.record-filter-search,.task-filters>input{grid-column:span 2}}@media(max-width:760px){.customer-payment-details-head,body.mobile-preview-mode .customer-payment-details-head{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-payment-details-head .customer-payment-reset,body.mobile-preview-mode .customer-payment-details-head .customer-payment-reset{grid-column:1 / -1}.customer-payment-service-charge-row,body.mobile-preview-mode .customer-payment-service-charge-row{grid-template-columns:minmax(140px,.42fr) minmax(0,.58fr);width:100%}.task-board.task-summary-grid,#taskResults .task-board.task-summary-grid{grid-template-columns:1fr}.task-filters,.record-filter-bar,.cs-filter-bar,.audit-filter-bar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.task-filters>input,.audit-filter-bar .field:first-child,.record-filter-search,.cs-filter-bar>input,.task-filters .date-range-control,.record-filter-bar .date-range-control,.cs-filter-bar .date-range-control{grid-column:1 / -1}.cs-multi-filter>div.cs-multi-panel,.cs-multi-filter[data-cs-multi=branch]>div.cs-multi-panel,.cs-multi-filter[data-cs-multi=module]>div.cs-multi-panel,.cs-multi-filter[data-cs-multi=approvedBy]>div.cs-multi-panel{position:absolute!important;top:calc(100% + 6px)!important;left:0!important;right:auto!important;width:min(320px,calc(100vw - 32px))!important;min-width:min(220px,calc(100vw - 32px))!important;max-width:min(340px,calc(100vw - 32px))!important;max-height:min(56vh,420px)}.cs-multi-filter[data-cs-multi=department]>div.cs-multi-panel,.cs-multi-filter[data-cs-multi=createdBy]>div.cs-multi-panel,.cs-multi-filter[data-cs-multi=approvedBy]>div.cs-multi-panel{left:auto!important;right:0!important}.customer-payment-row-card,#editRecordForm [data-edit-customer-payment-row].customer-payment-row-card{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding-inline:12px}.customer-payment-row-card .customer-payment-row-title,.customer-payment-row-card .customer-payment-style-stack,.customer-payment-row-card .customer-payment-type-field,.customer-payment-row-card .customer-payment-row-card-fields,#editRecordForm [data-edit-customer-payment-row] .customer-payment-row-title,#editRecordForm [data-edit-customer-payment-row] .customer-payment-style-stack,#editRecordForm [data-edit-customer-payment-row] .customer-payment-type-field,#editRecordForm [data-edit-customer-payment-row] .customer-payment-row-card-fields{grid-column:1 / -1}.customer-payment-row-card .customer-payment-row-title,#editRecordForm [data-edit-customer-payment-row] .customer-payment-row-title{padding-inline:2px;min-width:0}.customer-payment-row-card .customer-payment-deposit-field:not(.is-hidden){grid-column:1}.customer-payment-row-card .customer-payment-full-field{grid-column:2}.customer-payment-row-card .customer-payment-deposit-field.is-hidden+.customer-payment-full-field{grid-column:1 / -1}.customer-payment-row-card .customer-payment-row-card-fields,#editRecordForm [data-edit-customer-payment-row] .customer-payment-row-card-fields{grid-template-columns:1fr}.customer-payment-amount-field .amount-digit-row,#editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field .amount-digit-row{grid-template-columns:repeat(5,minmax(18px,1fr)) 4px repeat(2,minmax(18px,.82fr));gap:2px;padding:3px}.customer-payment-amount-field .amount-lock-window .amount-digit,.customer-payment-amount-field .amount-lock-window .amount-cent-digit,#editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .amount-digit,#editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .amount-cent-digit{min-height:36px;height:36px;font-size:15px;padding:0}.existing-invoice-summary,.confirm-box .existing-invoice-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.confirm-box,.confirm-box .existing-customer-payment-preview{max-height:none;overflow:visible}.confirm-box .existing-invoice-summary .wide,.confirm-box .existing-invoice-summary div:nth-last-child(1){grid-column:1 / -1}.cs-mini-details,.cs-compact-row{grid-template-columns:1fr!important}.cs-payment-row-list{grid-template-columns:1fr}.task-payment-row-detail dl{grid-template-columns:repeat(2,minmax(0,1fr))}.audit-log-item{grid-template-columns:1fr}}body.mobile-preview-mode .cs-filter-bar,body.mobile-preview-mode .audit-filter-bar,body.mobile-preview-mode .record-filter-bar,body.mobile-preview-mode .task-filters{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px}body.mobile-preview-mode .cs-filter-bar>input,body.mobile-preview-mode .audit-filter-bar .field:first-child,body.mobile-preview-mode .record-filter-search,body.mobile-preview-mode .task-filters>input,body.mobile-preview-mode .cs-filter-bar .date-range-control,body.mobile-preview-mode .record-filter-bar .date-range-control,body.mobile-preview-mode .task-filters .date-range-control{grid-column:1 / -1!important}body.mobile-preview-mode .record-filter-branch,body.mobile-preview-mode .task-filter-branch{grid-column:1 / -1!important;grid-template-columns:minmax(0,1fr) minmax(66px,auto)!important}body.mobile-preview-mode .record-branch-staff-scope,body.mobile-preview-mode .task-branch-staff-scope{min-width:0;width:auto;padding-inline:7px;white-space:normal;line-height:1.1}body.mobile-preview-mode .task-board.task-summary-grid,body.mobile-preview-mode #taskResults .task-board.task-summary-grid,body.mobile-preview-mode .cs-compact-row,body.mobile-preview-mode .audit-log-item{grid-template-columns:1fr!important}body.mobile-preview-mode .cs-compact-row{grid-template-columns:1fr!important;gap:8px;padding:8px}body.mobile-preview-mode .cs-document-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.mobile-preview-mode .cs-compact-row .cs-mini-details{grid-template-columns:1fr!important}body.mobile-preview-mode .cs-compact-row .cs-mini-details span{display:grid;grid-template-columns:minmax(78px,.34fr) minmax(0,1fr);gap:6px;align-items:start}body.mobile-preview-mode .cs-payment-row-list{grid-template-columns:1fr!important}body.mobile-preview-mode .task-payment-row-detail dl{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.mobile-preview-mode .task-payment-row-detail div{padding:7px;min-width:0}body.mobile-preview-mode .task-payment-row-detail dt{font-size:9px;line-height:1.15;overflow-wrap:break-word}body.mobile-preview-mode .task-payment-row-detail dd{font-size:12px;line-height:1.18;overflow-wrap:anywhere}body.mobile-preview-mode .cs-multi-filter>div.cs-multi-panel,body.mobile-preview-mode .cs-multi-filter[data-cs-multi=branch]>div.cs-multi-panel,body.mobile-preview-mode .cs-multi-filter[data-cs-multi=module]>div.cs-multi-panel,body.mobile-preview-mode .cs-multi-filter[data-cs-multi=approvedBy]>div.cs-multi-panel{position:absolute!important;top:calc(100% + 6px)!important;left:0!important;right:auto!important;width:min(320px,calc(100vw - 48px))!important;min-width:min(260px,calc(100vw - 48px))!important;max-width:min(340px,calc(100vw - 48px))!important;max-height:min(52vh,360px);overflow:auto}body.mobile-preview-mode .cs-multi-filter[data-cs-multi=department]>div.cs-multi-panel,body.mobile-preview-mode .cs-multi-filter[data-cs-multi=createdBy]>div.cs-multi-panel,body.mobile-preview-mode .cs-multi-filter[data-cs-multi=approvedBy]>div.cs-multi-panel{left:auto!important;right:0!important}@media(max-width:430px){.customer-payment-row-card .customer-payment-deposit-field:not(.is-hidden),#editRecordForm [data-edit-customer-payment-row] .customer-payment-deposit-field:not(.is-hidden){grid-column:1}.customer-payment-row-card .customer-payment-full-field,#editRecordForm [data-edit-customer-payment-row] .customer-payment-full-field{grid-column:2}.customer-payment-row-card .customer-payment-deposit-field.is-hidden+.customer-payment-full-field,#editRecordForm [data-edit-customer-payment-row] .customer-payment-deposit-field.is-hidden+.customer-payment-full-field{grid-column:1 / -1}.existing-invoice-summary,.confirm-box .existing-invoice-summary{grid-template-columns:1fr}.task-payment-row-detail dl{grid-template-columns:repeat(2,minmax(0,1fr))}}
body.mobile-preview-mode .customer-payment-details-head{grid-template-columns:repeat(2,minmax(0,1fr))}body.mobile-preview-mode .customer-payment-details-head .field,body.mobile-preview-mode .customer-payment-details-head select,body.mobile-preview-mode .customer-payment-details-head input{min-width:0;width:100%}body.mobile-preview-mode .customer-payment-details-head .customer-payment-reset{grid-column:1 / -1}body.mobile-preview-mode .customer-payment-service-charge-row{grid-template-columns:minmax(136px,.44fr) minmax(0,.56fr);width:100%}body.mobile-preview-mode .customer-payment-service-charge-row:not([open]){width:min(260px,100%);grid-template-columns:minmax(0,1fr)}body.mobile-preview-mode .customer-payment-row-card,body.mobile-preview-mode #editRecordForm [data-edit-customer-payment-row].customer-payment-row-card{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding-inline:12px}body.mobile-preview-mode .customer-payment-row-card .customer-payment-row-title,body.mobile-preview-mode .customer-payment-row-card .customer-payment-style-stack,body.mobile-preview-mode .customer-payment-row-card .customer-payment-type-field,body.mobile-preview-mode .customer-payment-row-card .customer-payment-row-card-fields,body.mobile-preview-mode #editRecordForm [data-edit-customer-payment-row] .customer-payment-row-title,body.mobile-preview-mode #editRecordForm [data-edit-customer-payment-row] .customer-payment-style-stack,body.mobile-preview-mode #editRecordForm [data-edit-customer-payment-row] .customer-payment-type-field,body.mobile-preview-mode #editRecordForm [data-edit-customer-payment-row] .customer-payment-row-card-fields{grid-column:1 / -1}body.mobile-preview-mode .customer-payment-row-card .customer-payment-row-title,body.mobile-preview-mode #editRecordForm [data-edit-customer-payment-row] .customer-payment-row-title{padding-inline:2px;min-width:0}body.mobile-preview-mode .customer-payment-row-card .customer-payment-deposit-field:not(.is-hidden),body.mobile-preview-mode #editRecordForm [data-edit-customer-payment-row] .customer-payment-deposit-field:not(.is-hidden){grid-column:1}body.mobile-preview-mode .customer-payment-row-card .customer-payment-full-field,body.mobile-preview-mode #editRecordForm [data-edit-customer-payment-row] .customer-payment-full-field{grid-column:2}body.mobile-preview-mode .customer-payment-row-card .customer-payment-deposit-field.is-hidden+.customer-payment-full-field,body.mobile-preview-mode #editRecordForm [data-edit-customer-payment-row] .customer-payment-deposit-field.is-hidden+.customer-payment-full-field{grid-column:1 / -1}body.mobile-preview-mode .customer-payment-row-card .customer-payment-row-card-fields,body.mobile-preview-mode #editRecordForm [data-edit-customer-payment-row] .customer-payment-row-card-fields{grid-template-columns:1fr}body.mobile-preview-mode .customer-payment-amount-field .amount-digit-row,body.mobile-preview-mode #editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field .amount-digit-row{grid-template-columns:repeat(5,minmax(9px,1fr)) 4px repeat(2,minmax(9px,.9fr))!important;gap:2px!important;padding:3px!important}body.mobile-preview-mode .customer-payment-amount-field .amount-lock-window .amount-digit,body.mobile-preview-mode .customer-payment-amount-field .amount-lock-window .amount-cent-digit,body.mobile-preview-mode #editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .amount-digit,body.mobile-preview-mode #editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .amount-cent-digit{min-height:34px!important;height:34px!important;font-size:clamp(11px,3.2vw,15px)!important;padding:0!important}@media(max-width:340px){body.mobile-preview-mode .task-payment-row-detail dl,body.mobile-preview-mode .payment-confirm-row-list,body.mobile-preview-mode .cs-mini-details{grid-template-columns:1fr!important}}@media(min-width:761px){body:not(.mobile-preview-mode) .task-filters{grid-template-columns:minmax(260px,1.35fr) minmax(160px,.78fr) repeat(3,minmax(130px,.66fr)) minmax(164px,.74fr) minmax(210px,.88fr)!important}body:not(.mobile-preview-mode) .task-filters .date-range-control{grid-column:auto!important}body:not(.mobile-preview-mode) .cs-filter-bar{grid-template-columns:minmax(260px,1.25fr) repeat(6,minmax(126px,.66fr)) 46px!important}body:not(.mobile-preview-mode) .audit-filter-bar{grid-template-columns:minmax(260px,1.35fr) repeat(3,minmax(150px,.66fr)) minmax(214px,.78fr) auto!important}body:not(.mobile-preview-mode) .record-filter-bar{grid-template-columns:minmax(260px,1.25fr) repeat(5,minmax(132px,.66fr)) minmax(214px,.88fr)!important}}@media(min-width:761px){body:not(.mobile-preview-mode) .cs-filter-bar{grid-template-columns:minmax(260px,1.22fr) repeat(6,minmax(124px,.58fr)) minmax(214px,.78fr) 46px!important;align-items:stretch}body:not(.mobile-preview-mode) .record-filter-bar{grid-template-columns:minmax(260px,1.18fr) minmax(176px,.72fr) repeat(4,minmax(126px,.58fr)) minmax(214px,.78fr) 46px!important;align-items:stretch}body:not(.mobile-preview-mode) .task-filters{grid-template-columns:minmax(260px,1.2fr) minmax(190px,.76fr) repeat(3,minmax(126px,.56fr)) minmax(156px,.62fr) minmax(214px,.78fr)!important;align-items:stretch}body:not(.mobile-preview-mode) .audit-filter-bar{grid-template-columns:minmax(260px,1.25fr) repeat(3,minmax(156px,.64fr)) minmax(214px,.78fr) minmax(46px,auto)!important;align-items:end}}.cs-heatmap-detail-outside{display:block;scroll-margin-top:18px}.cs-document-panel{min-width:0;max-width:100%}.cs-compact-row{grid-template-columns:minmax(190px,.26fr) minmax(0,1fr) minmax(120px,.16fr)!important;align-items:start}.cs-mini-details span,.cs-document-summary span,.cs-payment-row-list article{min-width:0;max-width:100%;overflow:hidden}.cs-mini-details b,.cs-document-summary b,.cs-payment-row-list span{overflow-wrap:anywhere}.cs-payment-row-list{grid-column:1 / -1;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))!important}.cs-photo-strip{min-width:0;justify-content:flex-start}.record-filter-branch,.task-filter-branch,.record-filter-branch .field,.task-filter-branch select{min-width:0}@media(max-width:760px){.cs-filter-bar,.audit-filter-bar,.record-filter-bar,.task-filters,body.mobile-preview-mode .cs-filter-bar,body.mobile-preview-mode .audit-filter-bar,body.mobile-preview-mode .record-filter-bar,body.mobile-preview-mode .task-filters{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px}.cs-filter-bar>input,.audit-filter-bar .field:first-child,.record-filter-search,.task-filters>input,.cs-filter-bar .date-range-control,.audit-filter-bar .date-range-control,.record-filter-bar .date-range-control,.task-filters .date-range-control,body.mobile-preview-mode .cs-filter-bar>input,body.mobile-preview-mode .audit-filter-bar .field:first-child,body.mobile-preview-mode .record-filter-search,body.mobile-preview-mode .task-filters>input,body.mobile-preview-mode .cs-filter-bar .date-range-control,body.mobile-preview-mode .audit-filter-bar .date-range-control,body.mobile-preview-mode .record-filter-bar .date-range-control,body.mobile-preview-mode .task-filters .date-range-control{grid-column:1 / -1!important}.record-filter-branch,.task-filter-branch,body.mobile-preview-mode .record-filter-branch,body.mobile-preview-mode .task-filter-branch{grid-column:1 / -1!important;grid-template-columns:minmax(0,1fr) minmax(66px,auto)!important}.record-branch-staff-scope,.task-branch-staff-scope,body.mobile-preview-mode .record-branch-staff-scope,body.mobile-preview-mode .task-branch-staff-scope{min-width:0;width:auto;padding-inline:7px;white-space:normal;line-height:1.1}.cs-multi-filter>div.cs-multi-panel,.cs-multi-filter[data-cs-multi=branch]>div.cs-multi-panel,.cs-multi-filter[data-cs-multi=module]>div.cs-multi-panel,.cs-multi-filter[data-cs-multi=approvedBy]>div.cs-multi-panel,body.mobile-preview-mode .cs-multi-filter>div.cs-multi-panel,body.mobile-preview-mode .cs-multi-filter[data-cs-multi=branch]>div.cs-multi-panel,body.mobile-preview-mode .cs-multi-filter[data-cs-multi=module]>div.cs-multi-panel,body.mobile-preview-mode .cs-multi-filter[data-cs-multi=approvedBy]>div.cs-multi-panel{position:absolute!important;inset:auto!important;top:calc(100% + 6px)!important;left:0!important;right:auto!important;width:min(320px,calc(100vw - 32px))!important;min-width:min(220px,calc(100vw - 32px))!important;max-width:min(340px,calc(100vw - 32px))!important;max-height:min(56vh,420px);overflow:auto}.cs-multi-filter[data-cs-multi=department]>div.cs-multi-panel,.cs-multi-filter[data-cs-multi=createdBy]>div.cs-multi-panel,.cs-multi-filter[data-cs-multi=approvedBy]>div.cs-multi-panel,body.mobile-preview-mode .cs-multi-filter[data-cs-multi=department]>div.cs-multi-panel,body.mobile-preview-mode .cs-multi-filter[data-cs-multi=createdBy]>div.cs-multi-panel,body.mobile-preview-mode .cs-multi-filter[data-cs-multi=approvedBy]>div.cs-multi-panel{left:auto!important;right:0!important}.cs-heatmap-title,body.mobile-preview-mode .cs-heatmap-title{grid-template-columns:1fr!important;align-items:start}.cs-heatmap-count,body.mobile-preview-mode .cs-heatmap-count{display:inline-flex;width:fit-content;min-width:0;max-width:100%;gap:6px;align-items:baseline;text-align:left;justify-items:start}.cs-heatmap-count span,body.mobile-preview-mode .cs-heatmap-count span{overflow-wrap:normal;word-break:normal;white-space:normal}.cs-heatmap>.empty,body.mobile-preview-mode .cs-heatmap>.empty{grid-column:1 / -1;width:100%;min-width:0;padding:18px 12px;text-align:center;overflow-wrap:normal;word-break:normal;white-space:normal;line-height:1.35}.cs-compact-row,body.mobile-preview-mode .cs-compact-row{grid-template-columns:1fr!important;gap:8px;padding:8px}.cs-document-summary,body.mobile-preview-mode .cs-document-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}.cs-compact-row .cs-mini-details,body.mobile-preview-mode .cs-compact-row .cs-mini-details{grid-template-columns:1fr!important}.cs-compact-row .cs-mini-details span,body.mobile-preview-mode .cs-compact-row .cs-mini-details span{display:grid;grid-template-columns:minmax(78px,.34fr) minmax(0,1fr);gap:6px;align-items:start}.cs-payment-row-list,body.mobile-preview-mode .cs-payment-row-list{grid-template-columns:1fr!important}}body.mobile-preview-mode .btn.small,body.mobile-preview-mode .record-bulk-toolbar>summary,body.mobile-preview-mode .audit-bulk-select-inline,body.mobile-preview-mode .audit-bulk-row .record-bulk-toolbar>summary{min-height:44px}body.mobile-preview-mode .audit-bulk-row{display:grid!important;grid-template-columns:minmax(128px,.46fr) minmax(0,1fr)!important;align-items:center;gap:8px}body.mobile-preview-mode .audit-bulk-select-inline{display:flex;align-items:center;justify-content:center;align-self:center;gap:8px;width:100%;height:44px!important;min-height:44px!important;max-height:44px!important;min-width:0;overflow:hidden;padding-inline:9px;border:1px solid var(--line);border-radius:14px;background:#fffaf8db}body.mobile-preview-mode .audit-bulk-select-inline input{flex:0 0 auto}body.mobile-preview-mode .audit-bulk-select-inline span{position:static!important;display:inline-block!important;width:auto!important;height:auto!important;max-width:70px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;clip:auto!important;line-height:1.05;font-size:12px;font-weight:900;color:var(--text)}body.mobile-preview-mode .audit-bulk-select-inline:after{content:none;display:none}body.mobile-preview-mode .audit-bulk-row .record-bulk-toolbar,body.mobile-preview-mode .audit-bulk-row .record-bulk-toolbar>summary{width:100%;min-width:0}body.mobile-preview-mode .audit-bulk-row .record-bulk-toolbar>summary{justify-content:space-between}body.mobile-preview-mode .audit-log-meta{grid-template-columns:1fr!important}body.mobile-preview-mode .audit-log-meta .audit-select{display:inline-flex;grid-column:1!important;grid-row:1!important;align-items:center;justify-content:center;justify-self:start;width:34px;height:34px;min-height:34px;padding:0;border:1px solid var(--line);border-radius:var(--radius-control);background:#fffaf8e6}body.mobile-preview-mode .audit-log-meta .audit-select:has(input:checked){border-color:var(--selection-border);background:var(--selection-bg);color:var(--selection-ink)}body.mobile-preview-mode .audit-log-meta .audit-select span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}body.mobile-preview-mode .table-wrap table,body.mobile-preview-mode .compact-table table{min-width:0!important}body.mobile-preview-mode :is(.record-list-card,.deleted-records-card) :is(.table-wrap,.compact-table){overflow:visible!important}body.mobile-preview-mode :is(.record-list-card,.deleted-records-card) :is(table,thead,tbody,tr,td){display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;box-sizing:border-box}body.mobile-preview-mode :is(.record-list-card,.deleted-records-card) thead{display:none!important}body.mobile-preview-mode :is(.record-list-card,.deleted-records-card) tbody{display:grid!important;gap:10px}body.mobile-preview-mode :is(.record-list-card,.deleted-records-card) tr.summary-row{position:relative;display:grid!important;gap:8px;padding:12px 10px 10px;border:1px solid var(--line);border-radius:16px;background:#fffaf8eb;box-shadow:0 8px 20px #4e25300e}body.mobile-preview-mode :is(.record-list-card,.deleted-records-card) tr.summary-row td{display:grid!important;grid-template-columns:minmax(82px,.34fr) minmax(0,1fr);gap:7px;align-items:start;padding:0!important;border:0!important;line-height:1.24;overflow-wrap:anywhere}body.mobile-preview-mode :is(.record-list-card,.deleted-records-card) tr.summary-row td:before{content:attr(data-cell);min-width:0;color:var(--muted);font-size:9px;font-weight:950;line-height:1.15;text-transform:none;overflow-wrap:normal;word-break:normal}body.mobile-preview-mode :is(.record-list-card,.deleted-records-card) tr.summary-row .select-col{position:absolute;top:10px;right:10px;display:inline-flex!important;justify-content:flex-end;width:auto!important;padding:0!important}body.mobile-preview-mode :is(.record-list-card,.deleted-records-card) tr.summary-row .select-col:before,body.mobile-preview-mode :is(.record-list-card,.deleted-records-card) tr.summary-row td[data-cell=""]:before{display:none!important;content:""}body.mobile-preview-mode :is(.record-list-card,.deleted-records-card) tr.summary-row .select-col+td{padding-right:38px!important}body.mobile-preview-mode :is(.record-list-card,.deleted-records-card) .details-row{display:block!important;padding:0;border:0;background:transparent}body.mobile-preview-mode :is(.record-list-card,.deleted-records-card) .details-row.hidden{display:none!important}body.mobile-preview-mode :is(.record-list-card,.deleted-records-card) .details-row td{display:block!important;padding:0!important;border:0!important}body.mobile-preview-mode :is(.record-list-card,.deleted-records-card) .details-row td:before{display:none!important;content:""}body.mobile-preview-mode .cs-document-panel{padding:8px}body.mobile-preview-mode .cs-compact-main{grid-template-columns:1fr}body.mobile-preview-mode .cs-system-facts{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px}body.mobile-preview-mode .cs-system-facts span,body.mobile-preview-mode .cs-mini-details span{display:grid;grid-template-columns:1fr;gap:3px;min-height:0;padding:7px 8px}body.mobile-preview-mode .cs-document-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.mobile-preview-mode .cs-payment-row-list{grid-template-columns:1fr!important}
body.mobile-preview-mode .workspace-card,body.mobile-preview-mode .record-form-card,body.mobile-preview-mode .record-step-card,body.mobile-preview-mode .staff-users-card,body.mobile-preview-mode .blueprint-shell{box-sizing:border-box;width:100%;max-width:100%;min-width:0}body.mobile-preview-mode .workspace-card:after{display:none}body.mobile-preview-mode .workspace-card h2,body.mobile-preview-mode .workspace-card p,body.mobile-preview-mode .workspace-card small,body.mobile-preview-mode .workspace-card .workspace-actions{min-width:0;max-width:100%;overflow-wrap:anywhere}body.mobile-preview-mode .workspace-actions .btn{min-width:0;flex:1 1 min(150px,100%)}body.mobile-preview-mode .basic-entry-grid{grid-template-columns:minmax(82px,.34fr) minmax(0,1fr)!important;overflow:visible!important}body.mobile-preview-mode .basic-entry-grid>.field,body.mobile-preview-mode .basic-entry-grid>.field>select,body.mobile-preview-mode .basic-entry-grid>.field>input,body.mobile-preview-mode .basic-entry-grid .invoice-number-control,body.mobile-preview-mode .basic-entry-grid .invoice-digit-row{min-width:0!important;max-width:100%!important;box-sizing:border-box}body.mobile-preview-mode .basic-entry-grid .scheduled-time-field{grid-column:1 / -1;min-width:0!important}body.mobile-preview-mode .basic-entry-grid input[type=datetime-local]{width:100%!important;max-width:100%!important;overflow:hidden}body.mobile-preview-mode .staff-user-card,body.mobile-preview-mode .staff-user-main,body.mobile-preview-mode .staff-user-meta,body.mobile-preview-mode .staff-user-actions{min-width:0;max-width:100%}body.mobile-preview-mode .staff-users-card .staff-user-table{display:none!important}body.mobile-preview-mode .staff-user-card-list{display:grid!important;gap:10px}body.mobile-preview-mode .staff-user-card{display:grid;gap:9px;padding:12px;border:1px solid var(--line);border-radius:18px;background:#fff}body.mobile-preview-mode .staff-user-main{display:grid;gap:3px}body.mobile-preview-mode .staff-user-main b{font-size:18px;color:var(--ink)}body.mobile-preview-mode .staff-user-main span{color:var(--muted);font-size:13px;font-weight:850;overflow-wrap:anywhere}body.mobile-preview-mode .staff-user-meta{display:flex;flex-wrap:wrap;gap:6px}body.mobile-preview-mode .staff-user-meta span,body.mobile-preview-mode .staff-user-meta em{border-radius:999px;padding:5px 8px;background:var(--soft-accent-bg);color:var(--brand);font-style:normal;font-size:12px;font-weight:950}body.mobile-preview-mode .staff-user-meta em.active{background:var(--store-bg);color:var(--store)}body.mobile-preview-mode .staff-user-card.is-inactive-staff{background:#f5e7ebb8;border-style:dashed}body.mobile-preview-mode .staff-user-meta em.inactive{background:#f7e3e8;color:var(--danger)}body.mobile-preview-mode .staff-user-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}body.mobile-preview-mode .staff-user-actions .btn{width:100%;min-height:38px}body.mobile-preview-mode .staff-user-card select,body.mobile-preview-mode .staff-user-table select,body.mobile-preview-mode .staff-users-card select{width:100%;min-width:min(150px,100%);max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:normal}body.mobile-preview-mode select,body.mobile-preview-mode .cs-multi-filter>summary span{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis}body.mobile-preview-mode .calendar{gap:5px}body.mobile-preview-mode .calendar .day{min-width:0;min-height:76px;padding:5px;overflow:hidden}body.mobile-preview-mode .calendar .event,body.mobile-preview-mode .calendar .more-events{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;overflow-wrap:normal;word-break:normal}body.mobile-preview-mode .calendar .event{padding:3px 5px;font-size:9px}body.mobile-preview-mode .calendar .more-events{font-size:9px;line-height:1.15}body.mobile-preview-mode .range-calendar-panel{position:absolute!important;left:0!important;right:0!important;top:calc(100% + 8px)!important;width:100%!important;max-height:min(430px,calc(100vh - 170px));box-sizing:border-box}body.mobile-preview-mode .cs-multi-filter>summary span{display:block;white-space:nowrap}body.mobile-preview-mode .blueprint-shell,body.mobile-preview-mode .blueprint-head,body.mobile-preview-mode .blueprint-actions.rich,body.mobile-preview-mode .blueprint-workspace,body.mobile-preview-mode .blueprint-add-card .blueprint-custom-form{grid-template-columns:1fr!important}body.mobile-preview-mode .blueprint-shell{overflow:hidden}body.mobile-preview-mode .blueprint-head,body.mobile-preview-mode .blueprint-actions,body.mobile-preview-mode .blueprint-switch-card,body.mobile-preview-mode .blueprint-add-card,body.mobile-preview-mode .blueprint-detail-panel,body.mobile-preview-mode .blueprint-toolbar{min-width:0;max-width:100%}body.mobile-preview-mode .blueprint-canvas{width:100%;max-width:100%;min-width:0!important;overflow:auto}body.mobile-preview-mode .blueprint-stage{width:max-content;min-width:100%}body.mobile-preview-mode .blueprint-stage-inner{max-width:none}body.mobile-preview-mode .blueprint-legend,body.mobile-preview-mode .blueprint-top-buttons,body.mobile-preview-mode .blueprint-detail-actions{min-width:0;max-width:100%}body.mobile-preview-mode .blueprint-legend span,body.mobile-preview-mode .blueprint-top-buttons .btn,body.mobile-preview-mode .blueprint-detail-actions .btn{min-width:0}@media(max-width:760px){.photo-add-card b,.photo-preview-card b,.photo-add-card em,.photo-preview-card em{max-width:100%;white-space:normal;overflow-wrap:anywhere;text-overflow:clip;line-height:1.12}.photo-source-actions{width:100%;grid-template-columns:repeat(2,minmax(0,1fr))}.photo-source-btn,.photo-source-btn.icon-stack{min-width:0}}body.mobile-preview-mode .photo-add-card b,body.mobile-preview-mode .photo-preview-card b,body.mobile-preview-mode .photo-add-card em,body.mobile-preview-mode .photo-preview-card em,body.mobile-preview-mode .workspace-card em{max-width:100%;white-space:normal;overflow-wrap:anywhere;text-overflow:clip;line-height:1.12}body.mobile-preview-mode .photo-source-actions{width:100%;grid-template-columns:repeat(2,minmax(0,1fr))}body.mobile-preview-mode .photo-source-btn,body.mobile-preview-mode .photo-source-btn.icon-stack{min-width:0}
.cs-document-panel,.cs-document-head,.cs-doc-groups,.cs-doc-group,.cs-compact-row,.cs-compact-main,.cs-mini-details,.cs-system-facts,.cs-payment-row-list,.cs-photo-strip{box-sizing:border-box;min-width:0;max-width:100%}.cs-document-summary{grid-template-columns:repeat(auto-fit,minmax(148px,1fr))!important}.cs-compact-row{grid-template-columns:minmax(174px,.26fr) minmax(0,1fr)!important;overflow:hidden}.cs-query-heading{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 16px;margin-bottom:12px}.cs-query-heading h2,.calendar-workbench .calendar-head h2{margin:0;font-size:20px}.cs-query-heading span{color:var(--muted);font-size:12px}.cs-document-database-card .cs-heatmap-title{align-items:center;padding:10px 0;border:0;border-radius:0}.cs-document-database-card .cs-heatmap-title h3{margin:0;font-size:16px}.cs-document-database-card .cs-heatmap-title p{font-size:12px}.cs-reading-layout{display:grid;gap:12px;align-items:start;min-width:0}.cs-reading-layout .cs-document-panel{margin-top:0;border-radius:8px}@media(min-width:1181px){body:not(.mobile-preview-mode) .cs-reading-layout.has-selection{grid-template-columns:minmax(180px,.24fr) minmax(0,1fr)}body:not(.mobile-preview-mode) .cs-reading-layout.has-selection .cs-heatmap{grid-template-columns:minmax(0,1fr)}body:not(.mobile-preview-mode) .cs-reading-layout.has-selection .cs-heat-cells{min-height:0}}.cs-heatmap-detail-outside:empty{display:none}.cs-heatmap-detail-outside,.calendar-day-panel{scroll-margin-top:160px}.calendar-navigation{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.calendar-navigation .btn{min-width:44px;min-height:44px}.calendar-directory{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr);align-items:start;gap:12px}.calendar-date-directory,.calendar-directory .calendar-day-panel{min-width:0}.calendar-directory .calendar-day-panel{margin:0;padding:12px;border:1px solid var(--line, #dedadc);border-radius:8px}.calendar-workbench .calendar-head{align-items:center;margin-bottom:12px}.calendar-workbench .calendar-day-summary h3{font-size:18px}.calendar-workbench .calendar-day-item{border-radius:8px}@media(min-width:761px){body:not(.mobile-preview-mode) .calendar-event-form{grid-template-columns:minmax(0,2fr) minmax(150px,1fr) minmax(150px,1fr) auto;align-items:end;gap:12px}}.calendar-directory .calendar{padding-bottom:0}@media(max-width:1024px){.calendar-directory{grid-template-columns:minmax(0,1fr);gap:16px}}body.mobile-preview-mode .calendar-directory{grid-template-columns:minmax(0,1fr)}.cs-compact-main,.cs-photo-strip{overflow:hidden}.cs-mini-details,.cs-system-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(158px,1fr))!important;gap:7px}.cs-mini-details span,.cs-system-facts span,.cs-document-summary span{min-width:0;max-width:100%;overflow:hidden}.cs-mini-details em,.cs-system-facts em,.cs-document-summary em{min-width:0;overflow-wrap:normal;word-break:normal}.cs-mini-details b,.cs-system-facts b,.cs-document-summary b{min-width:0;overflow-wrap:anywhere;word-break:normal}.cs-payment-row-list{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))!important}.cs-payment-row-list article,.cs-photo-pill{min-width:0;max-width:100%}body.mobile-preview-mode .cs-document-panel{padding:8px;overflow:visible}body.mobile-preview-mode .cs-document-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px}body.mobile-preview-mode .cs-compact-row{grid-template-columns:1fr!important;gap:8px;padding:8px;overflow:visible}body.mobile-preview-mode .cs-mini-details,body.mobile-preview-mode .cs-system-facts,body.mobile-preview-mode .cs-payment-row-list{grid-template-columns:1fr!important;gap:6px}body.mobile-preview-mode .cs-mini-details span,body.mobile-preview-mode .cs-system-facts span{display:grid;grid-template-columns:minmax(82px,.34fr) minmax(0,1fr);align-items:start;gap:6px;padding:7px 8px}body.mobile-preview-mode .cs-mini-details em,body.mobile-preview-mode .cs-system-facts em{font-size:9px;line-height:1.15;white-space:normal}body.mobile-preview-mode .cs-mini-details b,body.mobile-preview-mode .cs-system-facts b{font-size:12px;line-height:1.2;white-space:normal}body.mobile-preview-mode .cs-photo-strip{justify-content:flex-start}@media(max-width:340px){body.mobile-preview-mode .cs-document-summary,body.mobile-preview-mode .cs-mini-details span,body.mobile-preview-mode .cs-system-facts span{grid-template-columns:1fr!important}}@media(max-width:760px){.customer-payment-service-charge-row{grid-template-columns:minmax(0,1fr)!important;align-items:stretch!important;justify-content:stretch!important;width:100%!important;max-width:100%!important;gap:8px!important}.customer-payment-service-charge-row:not([open]){width:min(280px,100%)!important;grid-template-columns:minmax(0,1fr)!important}.customer-payment-service-charge-row>summary{display:flex!important;align-items:center!important;justify-content:flex-start!important;width:100%!important;min-width:0!important;height:auto!important;min-height:42px!important;box-sizing:border-box}.customer-payment-service-charge-field,.customer-payment-service-charge-field .amount-number-control,.customer-payment-service-charge-field .amount-digit-wrap,.customer-payment-service-charge-field .amount-digit-row{min-width:0!important;max-width:100%!important;width:100%!important}.customer-payment-service-charge-field>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}body.mobile-preview-mode .customer-payment-service-charge-row{grid-template-columns:minmax(0,1fr)!important;align-items:stretch!important;justify-content:stretch!important;width:100%!important;max-width:100%!important;gap:8px!important}body.mobile-preview-mode .customer-payment-service-charge-row:not([open]){width:min(280px,100%)!important;grid-template-columns:minmax(0,1fr)!important}body.mobile-preview-mode .customer-payment-service-charge-row>summary{display:flex!important;align-items:center!important;justify-content:flex-start!important;width:100%!important;min-width:0!important;height:auto!important;min-height:42px!important;box-sizing:border-box}body.mobile-preview-mode .customer-payment-service-charge-field,body.mobile-preview-mode .customer-payment-service-charge-field .amount-number-control,body.mobile-preview-mode .customer-payment-service-charge-field .amount-digit-wrap,body.mobile-preview-mode .customer-payment-service-charge-field .amount-digit-row{min-width:0!important;max-width:100%!important;width:100%!important}body.mobile-preview-mode .customer-payment-service-charge-field>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cs-multi-filter:not([open])>div,.cs-multi-filter:not([open])>div.cs-multi-panel,body.mobile-preview-mode .cs-multi-filter:not([open])>div,body.mobile-preview-mode .cs-multi-filter:not([open])>div.cs-multi-panel{display:none!important}.cs-multi-filter[open]>div.cs-multi-panel,body.mobile-preview-mode .cs-multi-filter[open]>div.cs-multi-panel{display:grid!important}.btn.small,.record-bulk-toolbar>summary,.audit-bulk-select-inline,.audit-bulk-row .record-bulk-toolbar>summary{min-height:36px}.cs-document-panel,.cs-document-panel *,.task-payment-row-detail,.task-payment-row-detail *,.existing-customer-payment-preview,.existing-customer-payment-preview *{box-sizing:border-box}.cs-document-panel,.cs-doc-groups,.cs-doc-group,.cs-compact-row,.cs-compact-main,.cs-mini-details,.cs-system-facts,.cs-payment-row-list,.cs-photo-strip,.task-payment-rows,.task-payment-row-detail{min-width:0;max-width:100%}.cs-document-panel{overflow-x:hidden}.cs-compact-main{display:grid;align-content:start;gap:8px}.cs-compact-main strong,.cs-compact-main .doc-badge,.cs-mini-details b,.cs-system-facts b,.cs-document-summary b,.cs-payment-row-list span,.task-payment-row-detail dd{min-width:0;max-width:100%;overflow-wrap:anywhere;word-break:normal}.cs-system-facts,.cs-mini-details{align-content:start}.cs-system-facts span,.cs-mini-details span,.cs-document-summary span{min-width:0;max-width:100%;overflow:hidden}.cs-photo-strip{overflow:hidden}.cs-photo-strip .cs-photo-pill{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-payment-row-detail dl{min-width:0}@media(max-width:760px){.btn.small,.record-bulk-toolbar>summary,.audit-bulk-select-inline,.audit-bulk-row .record-bulk-toolbar>summary,body.mobile-preview-mode .btn.small,body.mobile-preview-mode .record-bulk-toolbar>summary,body.mobile-preview-mode .audit-bulk-select-inline,body.mobile-preview-mode .audit-bulk-row .record-bulk-toolbar>summary{min-height:44px}.audit-bulk-row,body.mobile-preview-mode .audit-bulk-row{grid-template-columns:minmax(84px,.34fr) minmax(0,1fr)!important}.audit-bulk-select-inline,body.mobile-preview-mode .audit-bulk-select-inline{justify-content:center;padding-inline:8px;border:1px solid var(--line);border-radius:14px;background:#fffaf8db}.audit-bulk-select-inline span,body.mobile-preview-mode .audit-bulk-select-inline span{display:inline!important;max-width:58px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:900;color:var(--muted)}.table-wrap table,.compact-table table,body.mobile-preview-mode .table-wrap table,body.mobile-preview-mode .compact-table table{min-width:0!important}:is(.record-list-card,.deleted-records-card) :is(.table-wrap,.compact-table),body.mobile-preview-mode :is(.record-list-card,.deleted-records-card) :is(.table-wrap,.compact-table){overflow:visible!important}:is(.record-list-card,.deleted-records-card) :is(table,thead,tbody,tr,td),body.mobile-preview-mode :is(.record-list-card,.deleted-records-card) :is(table,thead,tbody,tr,td){display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;box-sizing:border-box}:is(.record-list-card,.deleted-records-card) thead,body.mobile-preview-mode :is(.record-list-card,.deleted-records-card) thead{display:none!important}:is(.record-list-card,.deleted-records-card) tbody,body.mobile-preview-mode :is(.record-list-card,.deleted-records-card) tbody{display:grid!important;gap:10px}:is(.record-list-card,.deleted-records-card) tr.summary-row,body.mobile-preview-mode :is(.record-list-card,.deleted-records-card) tr.summary-row{position:relative;display:grid!important;gap:8px;padding:12px 10px 10px;border:1px solid var(--line);border-radius:16px;background:#fffaf8eb;box-shadow:0 8px 20px #4e25300e}:is(.record-list-card,.deleted-records-card) tr.summary-row td,body.mobile-preview-mode :is(.record-list-card,.deleted-records-card) tr.summary-row td{display:grid!important;grid-template-columns:minmax(82px,.34fr) minmax(0,1fr);gap:7px;align-items:start;padding:0!important;border:0!important;line-height:1.24;overflow-wrap:anywhere}:is(.record-list-card,.deleted-records-card) tr.summary-row td:before,body.mobile-preview-mode :is(.record-list-card,.deleted-records-card) tr.summary-row td:before{content:attr(data-cell);min-width:0;color:var(--muted);font-size:9px;font-weight:950;line-height:1.15;text-transform:none;overflow-wrap:normal;word-break:normal}:is(.record-list-card,.deleted-records-card) tr.summary-row .select-col,body.mobile-preview-mode :is(.record-list-card,.deleted-records-card) tr.summary-row .select-col{position:absolute;top:10px;right:10px;display:inline-flex!important;justify-content:flex-end;width:auto!important;padding:0!important}:is(.record-list-card,.deleted-records-card) tr.summary-row .select-col:before,:is(.record-list-card,.deleted-records-card) tr.summary-row td[data-cell=""]:before,body.mobile-preview-mode :is(.record-list-card,.deleted-records-card) tr.summary-row .select-col:before,body.mobile-preview-mode :is(.record-list-card,.deleted-records-card) tr.summary-row td[data-cell=""]:before{display:none!important;content:""}:is(.record-list-card,.deleted-records-card) tr.summary-row .select-col+td,body.mobile-preview-mode :is(.record-list-card,.deleted-records-card) tr.summary-row .select-col+td{padding-right:38px!important}:is(.record-list-card,.deleted-records-card) .details-row,body.mobile-preview-mode :is(.record-list-card,.deleted-records-card) .details-row{display:block!important;padding:0;border:0;background:transparent}:is(.record-list-card,.deleted-records-card) .details-row.hidden,body.mobile-preview-mode :is(.record-list-card,.deleted-records-card) .details-row.hidden{display:none!important}:is(.record-list-card,.deleted-records-card) .details-row td,body.mobile-preview-mode :is(.record-list-card,.deleted-records-card) .details-row td{display:block!important;padding:0!important;border:0!important}:is(.record-list-card,.deleted-records-card) .details-row td:before,body.mobile-preview-mode :is(.record-list-card,.deleted-records-card) .details-row td:before{display:none!important;content:""}.cs-document-panel,body.mobile-preview-mode .cs-document-panel{padding:8px}.cs-compact-main,body.mobile-preview-mode .cs-compact-main{grid-template-columns:1fr}.cs-system-facts,body.mobile-preview-mode .cs-system-facts{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px}.cs-system-facts span,.cs-mini-details span,body.mobile-preview-mode .cs-system-facts span,body.mobile-preview-mode .cs-mini-details span{display:grid;grid-template-columns:1fr;gap:3px;min-height:0;padding:7px 8px}.cs-document-summary,body.mobile-preview-mode .cs-document-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}.cs-payment-row-list,body.mobile-preview-mode .cs-payment-row-list{grid-template-columns:1fr!important}}body.mobile-preview-mode .audit-log-meta{min-width:0}body.mobile-preview-mode .audit-log-meta time,body.mobile-preview-mode .audit-log-meta .audit-done-by,body.mobile-preview-mode .audit-log-meta em,body.mobile-preview-mode .audit-log-main>strong{display:block;min-width:0;max-width:100%;overflow:hidden!important;text-overflow:ellipsis;white-space:nowrap;overflow-wrap:normal!important;word-break:normal!important}@media(max-width:760px){.audit-log-meta time,.audit-log-meta .audit-done-by,.audit-log-meta em,.audit-log-main>strong{display:block;min-width:0;max-width:100%;overflow:hidden!important;text-overflow:ellipsis;white-space:nowrap;overflow-wrap:normal!important;word-break:normal!important}}@media(max-width:760px){table,.table-wrap table,.compact-table table{min-width:0!important;max-width:100%!important}th,td{min-width:0;max-width:100%;overflow-wrap:anywhere}.btn.small{min-height:44px;padding:8px 14px}}body.mobile-preview-mode table,body.mobile-preview-mode .table-wrap table,body.mobile-preview-mode .compact-table table{min-width:0!important;max-width:100%!important}body.mobile-preview-mode th,body.mobile-preview-mode td{min-width:0;max-width:100%;overflow-wrap:anywhere}body.mobile-preview-mode .btn.small{min-height:44px;padding:8px 14px}body.mobile-layout-mode.has-modal-open{position:fixed;inset:var(--modal-scroll-y, 0) 0 auto 0;width:100%;overflow:hidden;overscroll-behavior:contain}body.mobile-layout-mode .modal-backdrop{place-items:start center!important;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:max(12px,env(safe-area-inset-top)) 10px calc(18px + env(safe-area-inset-bottom))!important}body.mobile-layout-mode .modal-card{width:min(560px,calc(100vw - 20px))!important;max-width:calc(100vw - 20px)!important;max-height:calc(100dvh - 24px)!important;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scroll-padding-bottom:calc(96px + env(safe-area-inset-bottom));border-radius:22px;padding:14px}@supports (height: 100svh){body.mobile-layout-mode .modal-card{max-height:calc(100svh - 24px)!important}}body.mobile-layout-mode .modal-actions{position:static!important;bottom:auto!important;z-index:auto!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%;margin-top:12px;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important}body.mobile-layout-mode .modal-actions .btn{min-height:50px}body.mobile-layout-mode .task-board,body.mobile-layout-mode .task-board.task-summary-grid,body.mobile-layout-mode #taskResults .task-board,body.mobile-layout-mode #taskResults .task-board.task-summary-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;width:100%!important;max-width:100%!important;gap:12px!important;align-items:start}body.mobile-layout-mode .task-board>.task-card,body.mobile-layout-mode .task-board.task-summary-grid>.task-summary-card,body.mobile-layout-mode #taskResults .task-card,body.mobile-layout-mode #taskResults .task-summary-card{width:100%!important;min-width:0!important;max-width:100%!important}body.mobile-layout-mode .task-card{overflow:hidden;padding-bottom:14px}body.mobile-layout-mode .task-card>div,body.mobile-layout-mode .task-card h3,body.mobile-layout-mode .task-card .task-card-head,body.mobile-layout-mode .task-card .task-summary-list,body.mobile-layout-mode .task-card .task-view-details,body.mobile-layout-mode .task-card .task-action-panel{min-width:0;max-width:100%}body.mobile-layout-mode .task-card h3,body.mobile-layout-mode .task-card .badge,body.mobile-layout-mode .task-card .status,body.mobile-layout-mode .task-card .task-summary-list dt,body.mobile-layout-mode .task-card .task-summary-list dd{overflow-wrap:break-word;word-break:normal;hyphens:none}body.mobile-layout-mode .task-summary-list div{grid-template-columns:minmax(104px,.38fr) minmax(0,1fr);align-items:start}body.mobile-layout-mode .customer-payment-row-card,body.mobile-layout-mode #editRecordForm [data-edit-customer-payment-row].customer-payment-row-card{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}body.mobile-layout-mode .customer-payment-row-card .customer-payment-row-title,body.mobile-layout-mode .customer-payment-row-card .customer-payment-style-stack,body.mobile-layout-mode .customer-payment-row-card .customer-payment-type-field,body.mobile-layout-mode .customer-payment-row-card .customer-payment-row-card-fields,body.mobile-layout-mode #editRecordForm [data-edit-customer-payment-row] .customer-payment-row-title,body.mobile-layout-mode #editRecordForm [data-edit-customer-payment-row] .customer-payment-style-stack,body.mobile-layout-mode #editRecordForm [data-edit-customer-payment-row] .customer-payment-type-field,body.mobile-layout-mode #editRecordForm [data-edit-customer-payment-row] .customer-payment-row-card-fields{grid-column:1 / -1!important;grid-row:auto!important}body.mobile-layout-mode .customer-payment-row-card .customer-payment-deposit-field:not(.is-hidden),body.mobile-layout-mode #editRecordForm [data-edit-customer-payment-row] .customer-payment-deposit-field:not(.is-hidden){grid-column:1!important;grid-row:auto!important}body.mobile-layout-mode .customer-payment-row-card .customer-payment-full-field,body.mobile-layout-mode #editRecordForm [data-edit-customer-payment-row] .customer-payment-full-field{grid-column:2!important;grid-row:auto!important}body.mobile-layout-mode .customer-payment-row-card .customer-payment-deposit-field.is-hidden+.customer-payment-full-field,body.mobile-layout-mode #editRecordForm [data-edit-customer-payment-row] .customer-payment-deposit-field.is-hidden+.customer-payment-full-field{grid-column:1 / -1!important}body.mobile-layout-mode .customer-payment-amount-field .amount-digit-row,body.mobile-layout-mode #editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field .amount-digit-row{grid-template-columns:repeat(5,minmax(12px,1fr)) 4px repeat(2,minmax(12px,.92fr))!important;gap:2px!important;min-height:40px;padding:3px!important}body.mobile-layout-mode .customer-payment-amount-field .amount-lock-window .amount-digit,body.mobile-layout-mode .customer-payment-amount-field .amount-lock-window .amount-cent-digit,body.mobile-layout-mode #editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .amount-digit,body.mobile-layout-mode #editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .amount-cent-digit{height:30px;min-height:30px!important;font-size:clamp(13px,4vw,16px)!important;line-height:30px}body.mobile-layout-mode .audit-bulk-row{grid-template-columns:58px minmax(0,1fr)!important;gap:8px!important;align-items:center;width:100%;max-width:100%}body.mobile-layout-mode .audit-bulk-select-inline{justify-content:center!important;width:58px;min-width:58px;min-height:50px;padding:0!important}body.mobile-layout-mode .audit-bulk-select-inline span{display:none!important}body.mobile-layout-mode .audit-bulk-row .record-bulk-toolbar,body.mobile-layout-mode .audit-bulk-row .record-bulk-toolbar>summary{width:100%;min-width:0}body.mobile-layout-mode .audit-log-list,body.mobile-layout-mode .record-list-card,body.mobile-layout-mode .deleted-records-card,body.mobile-layout-mode .cs-document-panel,body.mobile-layout-mode .task-section{padding-bottom:calc(44px + env(safe-area-inset-bottom))}body.mobile-layout-mode .cs-document-panel,body.mobile-layout-mode .cs-doc-group,body.mobile-layout-mode .cs-compact-row,body.mobile-layout-mode .cs-compact-main,body.mobile-layout-mode .cs-mini-details,body.mobile-layout-mode .cs-system-facts,body.mobile-layout-mode .cs-payment-row-list{width:100%;min-width:0;max-width:100%}body.mobile-layout-mode .cs-compact-row,body.mobile-layout-mode .cs-mini-details,body.mobile-layout-mode .cs-system-facts{grid-template-columns:minmax(0,1fr)!important}body.mobile-layout-mode .cs-document-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}body.mobile-layout-mode .cs-document-summary span{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;min-width:0;min-height:48px;padding:9px 10px;overflow:hidden;line-height:1.12;overflow-wrap:normal;word-break:normal;hyphens:none}body.mobile-layout-mode .cs-document-summary b{display:block;flex:0 0 auto;max-width:55%;font-size:clamp(15px,4.4vw,19px);line-height:1.12;overflow-wrap:normal;word-break:normal;hyphens:none}body.mobile-layout-mode .cs-mini-details span,body.mobile-layout-mode .cs-system-facts span{display:grid;grid-template-columns:minmax(84px,.42fr) minmax(0,1fr);gap:6px;min-width:0;overflow:hidden}body.mobile-layout-mode .cs-compact-row .cs-mini-details span,body.mobile-layout-mode .cs-system-facts span{min-height:auto}body.mobile-layout-mode .cs-mini-details b,body.mobile-layout-mode .cs-system-facts b,body.mobile-layout-mode .cs-document-summary b,body.mobile-layout-mode .cs-payment-row-list span{min-width:0;overflow-wrap:break-word;word-break:normal}body.mobile-layout-mode .cs-document-summary b{overflow-wrap:normal;word-break:normal;hyphens:none}body.mobile-layout-mode .cs-document-summary span,body.mobile-layout-mode .cs-document-summary span *{overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important}body.mobile-layout-mode .cs-compact-row h4,body.mobile-layout-mode .cs-compact-row .badge,body.mobile-layout-mode .cs-document-head h3,body.mobile-layout-mode .audit-log-item,body.mobile-layout-mode .audit-log-item *{min-width:0;max-width:100%;overflow-wrap:break-word;word-break:normal}body.mobile-layout-mode .audit-log-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}body.mobile-layout-mode .audit-log-actions .btn{width:100%;min-height:44px}body.mobile-layout-mode .audit-inline-details{max-height:40vh;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding-bottom:8px}body.mobile-layout-mode .audit-log-item{grid-template-columns:minmax(0,1fr)!important;padding:12px!important;gap:10px!important}body.mobile-layout-mode .audit-log-meta{display:grid!important;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:4px 8px}body.mobile-layout-mode .audit-log-meta .audit-select{display:inline-flex;align-items:center;justify-content:center;grid-row:1 / span 3;width:38px;min-width:38px;height:38px;min-height:38px;align-self:start}body.mobile-layout-mode .audit-log-meta .audit-select span{display:none!important}body.mobile-layout-mode .audit-log-meta time{grid-column:2 / -1;font-size:clamp(16px,4.6vw,20px);line-height:1.12;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}body.mobile-layout-mode .audit-log-meta .audit-done-by,body.mobile-layout-mode .audit-log-meta em{font-size:12px;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}body.mobile-layout-mode .audit-log-main{min-width:0}body.mobile-layout-mode .audit-log-main strong,body.mobile-layout-mode .audit-log-main p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1.18}body.mobile-layout-mode .audit-detail-summary,body.mobile-layout-mode .audit-change-grid,body.mobile-layout-mode .audit-raw-json pre{font-size:13px;line-height:1.25}body.mobile-layout-mode .audit-detail-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px;margin-top:8px}body.mobile-layout-mode .audit-detail-summary>div{min-width:0;padding:8px 9px}body.mobile-layout-mode .audit-detail-summary>div:nth-child(n+3){grid-column:1 / -1}body.mobile-layout-mode .audit-detail-summary span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}body.mobile-layout-mode .audit-change-grid>div{grid-template-columns:minmax(82px,.46fr) repeat(2,minmax(0,1fr))!important;gap:6px}body.mobile-layout-mode .calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:5px!important;width:100%;max-width:100%;padding-bottom:0}body.mobile-layout-mode .calendar .day{min-width:0;min-height:86px;padding:6px 4px;overflow:hidden}body.mobile-layout-mode .calendar .day-number{font-size:clamp(15px,4.3vw,20px);line-height:1.1}body.mobile-layout-mode .calendar .event,body.mobile-layout-mode .calendar .more-events{display:block;width:100%;max-width:100%;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.15;font-size:clamp(9px,2.7vw,11px);padding:3px 4px}body.mobile-layout-mode .calendar-day-panel,body.mobile-layout-mode .calendar-event-form{margin-inline:0;max-width:100%;overflow:hidden}body.mobile-layout-mode .calendar-day-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start}body.mobile-layout-mode .calendar-day-summary h3{overflow-wrap:break-word;word-break:normal}body.mobile-layout-mode .calendar-day-counts{justify-content:end;min-width:58px}body.mobile-layout-mode .calendar-day-item{grid-template-columns:minmax(0,1fr)}body.mobile-layout-mode .calendar-day-item-actions{justify-content:stretch}body.mobile-layout-mode .calendar-day-item-actions .btn{width:100%}body.mobile-layout-mode .calendar-head,body.mobile-layout-mode .cs-document-head{min-width:0}body.mobile-layout-mode .cs-detail-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}body.mobile-layout-mode .cs-detail-filter .btn{width:100%}body.mobile-layout-mode .cs-document-panel,body.mobile-layout-mode .calendar-day-panel,body.mobile-layout-mode .task-section,body.mobile-layout-mode .audit-log-list{scroll-margin-bottom:calc(116px + env(safe-area-inset-bottom))}@media(max-width:430px){body.mobile-layout-mode .modal-actions{grid-template-columns:minmax(0,1fr)!important}body.mobile-layout-mode .task-summary-list div,body.mobile-layout-mode .calendar-day-summary,body.mobile-layout-mode .cs-detail-filter{grid-template-columns:minmax(0,1fr)}}@media(max-width:340px){body.mobile-layout-mode .cs-document-summary{grid-template-columns:minmax(0,1fr)!important}}
@media(min-width:901px){body:not(.mobile-preview-mode) :is(.record-filter-bar,.audit-filter-bar,.cs-filter-bar) .field>span{font-size:11px;line-height:1.1}body:not(.mobile-preview-mode) .task-filters .range-trigger{min-height:46px;padding-inline:10px}}:is(.cs-multi-filter>div.cs-multi-panel,.record-multi-filter>div.record-multi-panel,.task-multi-filter>div.task-multi-panel,.audit-multi-filter>div.audit-multi-panel){display:grid!important;position:absolute!important;top:calc(100% + 8px)!important;left:0!important;right:auto!important;z-index:3200!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px 10px!important;box-sizing:border-box!important;width:min(320px,calc(100vw - 28px))!important;min-width:min(240px,calc(100vw - 28px))!important;max-width:min(320px,calc(100vw - 28px))!important;max-height:min(340px,calc(100vh - 140px))!important;overflow:auto!important;overscroll-behavior:contain}:is(.cs-multi-filter,.record-multi-filter,.task-multi-filter,.audit-multi-filter):not([open])>:is(.cs-multi-panel,.record-multi-panel,.task-multi-panel,.audit-multi-panel){display:none!important}:is(.cs-multi-filter>div.cs-multi-panel,.record-multi-filter>div.record-multi-panel,.task-multi-filter>div.task-multi-panel,.audit-multi-filter>div.audit-multi-panel) label{position:relative;display:grid;grid-template-columns:minmax(0,1fr);align-items:center;gap:0;min-width:0!important;min-height:36px;padding:7px 9px;border:1px solid var(--line);border-radius:var(--radius-control, 8px);background:var(--panel-strong, #fff);color:var(--ink);cursor:pointer;transition:border-color .15s ease,background-color .15s ease,color .15s ease}:is(.cs-multi-filter>div.cs-multi-panel,.record-multi-filter>div.record-multi-panel,.task-multi-filter>div.task-multi-panel,.audit-multi-filter>div.audit-multi-panel) label:hover{border-color:var(--brand-2);background:#faf3f5}:is(.cs-multi-filter>div.cs-multi-panel,.record-multi-filter>div.record-multi-panel,.task-multi-filter>div.task-multi-panel,.audit-multi-filter>div.audit-multi-panel) label:focus-within{outline:2px solid color-mix(in srgb,var(--brand) 34%,transparent);outline-offset:1px}:is(.cs-multi-filter>div.cs-multi-panel,.record-multi-filter>div.record-multi-panel,.task-multi-filter>div.task-multi-panel,.audit-multi-filter>div.audit-multi-panel) label>input[type=checkbox]{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}:is(.cs-multi-filter>div.cs-multi-panel,.record-multi-filter>div.record-multi-panel,.task-multi-filter>div.task-multi-panel,.audit-multi-filter>div.audit-multi-panel) label:has(>input[type=checkbox]:checked){border-color:var(--selection-border);background:var(--selection-bg);color:var(--selection-ink)}:is(.cs-multi-filter>div.cs-multi-panel,.record-multi-filter>div.record-multi-panel,.task-multi-filter>div.task-multi-panel,.audit-multi-filter>div.audit-multi-panel) span{min-width:0!important;overflow-wrap:anywhere!important;line-height:1.2;font-weight:800}.date-range-control .range-trigger{min-height:44px;min-width:0!important;padding:7px 10px;gap:8px;border-radius:14px}.date-range-control .calendar-icon{width:28px;min-width:28px;height:28px;border-radius:10px;font-size:15px;flex:0 0 28px!important}.date-range-control .range-picker-label{gap:1px;min-width:0!important;overflow:hidden!important}.date-range-control .range-picker-label small{font-size:9px;line-height:1}.date-range-control .range-picker-label b{display:block!important;font-size:12px;line-height:1.1;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}.cs-document-database-card,.record-list-card,.deleted-records-card,.task-section,.audit-log-card,.cs-filter-bar,.record-filter-bar,.task-filters,.audit-filter-bar{overflow:visible!important}.cs-filter-bar,.record-filter-bar,.task-filters,.audit-filter-bar{position:relative!important;z-index:60!important}.record-list-card .table-wrap,.record-list-card .compact-table,.deleted-records-card .table-wrap,.deleted-records-card .compact-table{position:relative;z-index:1}.cs-multi-filter,.record-multi-filter,.task-multi-filter,.audit-multi-filter{position:relative!important;overflow:visible!important}.cs-multi-filter[open],.record-multi-filter[open],.task-multi-filter[open],.audit-multi-filter[open]{z-index:3200!important}.cs-multi-filter[data-cs-multi=module]>div.cs-multi-panel,.cs-multi-filter[data-cs-multi=createdBy]>div.cs-multi-panel,.cs-multi-filter[data-cs-multi=issuedBy]>div.cs-multi-panel,.cs-multi-filter[data-cs-multi=approvedBy]>div.cs-multi-panel,.record-multi-filter[data-record-multi=createdBy]>div.record-multi-panel,.record-multi-filter[data-record-multi=issuedBy]>div.record-multi-panel,.record-multi-filter[data-record-multi=approvedBy]>div.record-multi-panel,.record-multi-filter[data-record-multi=paymentStyle]>div.record-multi-panel,.task-multi-filter[data-task-multi=createdBy]>div.task-multi-panel,.task-multi-filter[data-task-multi=issuedBy]>div.task-multi-panel,.task-multi-filter[data-task-multi=approvedBy]>div.task-multi-panel,.task-multi-filter[data-task-multi=status]>div.task-multi-panel,.audit-multi-filter[data-audit-multi=action]>div.audit-multi-panel,.audit-multi-filter[data-audit-multi=actor]>div.audit-multi-panel,.audit-multi-filter[data-audit-multi=targetType]>div.audit-multi-panel{left:auto!important;right:0!important}body:not(.mobile-preview-mode) :is(.cs-filter-bar,.record-filter-bar,.task-filters,.audit-filter-bar){display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(150px,100%),1fr))!important;grid-auto-flow:row!important;grid-auto-rows:minmax(44px,auto)!important;gap:8px 10px!important;align-items:stretch!important;width:100%!important;max-width:100%!important}body:not(.mobile-preview-mode) :is(.cs-filter-bar>input,.record-filter-search,.task-filters>input,.audit-filter-bar .field:first-child){grid-column:span 2!important;grid-row:auto!important;min-width:0!important;min-height:100%!important}body:not(.mobile-preview-mode) :is(.cs-filter-bar>input,.record-filter-search input,.task-filters>input,.audit-filter-bar .field:first-child input){min-height:100%!important}body:not(.mobile-preview-mode) :is(.cs-filter-bar,.record-filter-bar,.task-filters,.audit-filter-bar) .date-range-control{grid-column:auto!important;width:100%!important;min-width:0!important;max-width:200px!important;justify-self:stretch!important}body:not(.mobile-preview-mode) .record-filter-reset,body:not(.mobile-preview-mode) .audit-clear-filter,body:not(.mobile-preview-mode) #csResetWindow{width:100%!important;min-width:0!important;max-width:120px!important;justify-self:stretch!important}body:is(.mobile-layout-mode,.mobile-preview-mode){overflow-x:hidden}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.content,.page,.module-page){max-width:100%;overflow-x:hidden}body:is(.mobile-layout-mode,.mobile-preview-mode).has-modal-open{overflow:hidden}body:is(.mobile-layout-mode,.mobile-preview-mode) .modal-backdrop{align-items:flex-start!important;justify-items:center!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:max(10px,env(safe-area-inset-top)) 8px calc(16px + env(safe-area-inset-bottom))!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .modal-card{width:min(560px,calc(100vw - 16px))!important;max-width:calc(100vw - 16px)!important;max-height:calc(100dvh - 20px)!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scroll-padding-bottom:calc(100px + env(safe-area-inset-bottom));padding-bottom:calc(18px + env(safe-area-inset-bottom))!important}@supports (height: 100svh){body:is(.mobile-layout-mode,.mobile-preview-mode) .modal-card{max-height:calc(100svh - 20px)!important}}body:is(.mobile-layout-mode,.mobile-preview-mode) .modal-actions{position:static!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;width:100%;margin-top:12px;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .modal-actions .btn{width:100%;min-height:50px;white-space:normal}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.cs-filter-bar,.record-filter-bar,.task-filters,.audit-filter-bar){grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;align-items:stretch;overflow:visible!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.cs-filter-bar>input,.record-filter-search,.task-filters>input,.audit-filter-bar .field:first-child){grid-column:1 / -1!important;grid-row:auto!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.cs-filter-bar,.record-filter-bar,.task-filters,.audit-filter-bar) :is(.date-range-control,.record-filter-reset,.audit-clear-filter),body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.cs-filter-bar,.record-filter-bar,.task-filters,.audit-filter-bar) #csResetWindow{grid-column:span 1!important;width:100%!important;max-width:100%!important;min-width:0!important}@media(min-width:390px){body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.cs-filter-bar,.record-filter-bar,.task-filters,.audit-filter-bar) .date-range-control{grid-column:span 2!important}}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.cs-multi-filter,.record-multi-filter,.task-multi-filter,.audit-multi-filter)>:is(.cs-multi-panel,.record-multi-panel,.task-multi-panel,.audit-multi-panel){width:min(340px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important;max-height:min(380px,calc(100dvh - 156px))!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;overflow:auto!important;z-index:60}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.task-board,.task-board.task-summary-grid,#taskResults .task-board,#taskResults .task-board.task-summary-grid){display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;width:100%!important;max-width:100%!important;overflow:visible!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.task-card,.task-summary-card){width:100%!important;min-width:0!important;max-width:100%!important;overflow:hidden}body:is(.mobile-layout-mode,.mobile-preview-mode) .task-card :is(h3,.badge,.status,dt,dd){min-width:0;max-width:100%;overflow-wrap:break-word;word-break:normal}body:is(.mobile-layout-mode,.mobile-preview-mode) .task-summary-list div{grid-template-columns:minmax(92px,.38fr) minmax(0,1fr)!important;align-items:start}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.cs-document-panel,.cs-doc-group,.cs-compact-row,.cs-compact-main,.cs-mini-details,.cs-system-facts,.cs-payment-row-list,.task-payment-rows,.task-payment-row-detail){min-width:0!important;max-width:100%!important;overflow-x:hidden!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .cs-document-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .cs-document-summary span{display:grid!important;grid-template-columns:minmax(0,1fr)!important;align-items:start;gap:2px;min-height:48px;padding:8px 10px}body:is(.mobile-layout-mode,.mobile-preview-mode) .cs-document-summary :is(b,small){min-width:0;max-width:100%;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.cs-mini-details span,.cs-system-facts span){display:grid!important;grid-template-columns:minmax(86px,.42fr) minmax(0,1fr);gap:6px}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.cs-mini-details b,.cs-system-facts b,.task-payment-row-detail dd,.audit-log-item *){min-width:0;max-width:100%;overflow-wrap:break-word;word-break:normal}body:is(.mobile-layout-mode,.mobile-preview-mode) .audit-bulk-row{grid-template-columns:58px minmax(0,1fr)!important;gap:8px!important;align-items:center}body:is(.mobile-layout-mode,.mobile-preview-mode) .audit-bulk-select-inline{width:58px;min-width:58px;min-height:50px;padding:0!important;justify-content:center!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .audit-bulk-select-inline span{display:none!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .audit-log-item{grid-template-columns:minmax(0,1fr)!important;gap:10px!important;padding:12px!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .audit-log-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.audit-detail-grid,.audit-change-grid){grid-template-columns:minmax(0,1fr)!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .calendar{overflow-x:hidden}body:is(.mobile-layout-mode,.mobile-preview-mode) .calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:5px!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .calendar-day{min-width:0!important;padding:6px 4px!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .calendar :is(.event,.more-events){white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;word-break:normal!important}@media(max-width:430px){body:is(.mobile-layout-mode,.mobile-preview-mode) .modal-actions{grid-template-columns:minmax(0,1fr)!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.task-summary-list div,.cs-mini-details span,.cs-system-facts span){grid-template-columns:minmax(0,1fr)!important}}@media(max-width:340px){body:is(.mobile-layout-mode,.mobile-preview-mode) .cs-document-summary{grid-template-columns:minmax(0,1fr)!important}}body:is(.mobile-layout-mode,.mobile-preview-mode) .customer-payment-invoice-reset-row{grid-template-columns:minmax(0,1fr)!important;overflow:hidden}body:is(.mobile-layout-mode,.mobile-preview-mode) .customer-payment-compact-invoice{grid-template-columns:minmax(70px,.34fr) minmax(0,1fr)!important;gap:7px!important;width:100%;max-width:100%;min-width:0;overflow:hidden}body:is(.mobile-layout-mode,.mobile-preview-mode) .customer-payment-compact-invoice :is(.field,.invoice-number-control,.invoice-digit-row){width:100%;min-width:0;max-width:100%}body:is(.mobile-layout-mode,.mobile-preview-mode) .customer-payment-compact-invoice select{min-height:40px;height:40px;padding-inline:8px}body:is(.mobile-layout-mode,.mobile-preview-mode) .customer-payment-compact-invoice .invoice-digit-row{grid-template-columns:repeat(8,minmax(0,1fr))!important;min-height:40px!important;height:40px;gap:3px!important;padding:3px!important;overflow:hidden}body:is(.mobile-layout-mode,.mobile-preview-mode) .customer-payment-compact-invoice :is(.invoice-lock-window,.invoice-lock-window .invoice-digit){min-width:0;min-height:32px!important;height:32px;border-radius:12px}body:is(.mobile-layout-mode,.mobile-preview-mode) .customer-payment-compact-invoice .invoice-lock-window .invoice-digit{font-size:clamp(15px,4.6vw,17px)}.cs-compact-row{grid-template-columns:minmax(230px,.22fr) minmax(0,1fr)!important;align-items:start!important}.cs-compact-content{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;align-content:start;min-width:0;max-width:100%;overflow:hidden}.cs-compact-content .cs-mini-details,.cs-compact-content .cs-payment-row-list,.cs-compact-content .cs-photo-strip,.cs-compact-content .kk-ordering-history{grid-column:1 / -1!important;min-width:0;max-width:100%}.cs-compact-content .cs-payment-row-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))!important;gap:8px}.cs-compact-content .cs-photo-strip{justify-content:flex-start}body:is(.mobile-layout-mode,.mobile-preview-mode) .cs-compact-row{grid-template-columns:1fr!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .cs-compact-content{grid-template-columns:1fr!important;gap:7px;overflow:visible}body:is(.mobile-layout-mode,.mobile-preview-mode) .cs-compact-content .cs-payment-row-list{grid-template-columns:1fr!important}body:not(.mobile-preview-mode):not(.mobile-layout-mode) .modal-card #editRecordForm .customer-payment-details-head{display:grid!important;grid-template-columns:minmax(150px,.8fr) minmax(160px,.8fr) minmax(170px,.9fr) minmax(190px,1fr)!important;align-items:end!important;gap:10px!important}body:not(.mobile-preview-mode):not(.mobile-layout-mode) .modal-card #editRecordForm .customer-payment-details-head .customer-payment-staff-grid{display:contents!important}body:not(.mobile-preview-mode):not(.mobile-layout-mode) .modal-card #editRecordForm .customer-payment-details-head .field{min-width:0!important;margin:0!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .modal-card #editRecordForm .customer-payment-details-head{grid-template-columns:repeat(2,minmax(0,1fr))!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .modal-card #editRecordForm .customer-payment-details-head .customer-payment-staff-grid{display:contents!important}.modal-card #editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field .amount-number-hidden{position:absolute!important;inline-size:1px!important;block-size:1px!important;width:1px!important;min-width:0!important;max-width:1px!important;height:1px!important;min-height:0!important;max-height:1px!important;padding:0!important;border:0!important;opacity:0!important;pointer-events:none!important}.modal-card #editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field input.amount-digit,.modal-card #editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field input.amount-cent-digit{box-sizing:border-box!important;display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;height:100%!important;min-height:0!important;padding:0!important;border:0!important;background:transparent!important;text-align:center!important;line-height:1!important;letter-spacing:0!important;overflow:hidden!important;text-overflow:clip!important}.modal-card #editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window{min-width:0!important;overflow:hidden!important}
.sync-health,.notification-center{position:relative;min-width:0;z-index:1000}#content{position:relative;z-index:1}#content:has(.modal-backdrop,.store-db-drawer-backdrop){z-index:1000}.sync-health>summary,.notification-center>summary{list-style:none}.sync-health>summary::-webkit-details-marker,.notification-center>summary::-webkit-details-marker{display:none}.sync-trigger,.notification-trigger{display:inline-grid!important;grid-auto-flow:column;grid-auto-columns:max-content;align-items:center;gap:7px;min-height:58px;border-radius:14px;background:#ffffffd1;cursor:pointer}.sync-trigger{min-width:104px}.sync-trigger em{display:inline-grid;place-items:center;min-width:0;max-width:74px;padding:3px 7px;border-radius:999px;background:#f3e5e9;color:var(--brand);font-style:normal;font-size:11px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sync-health[data-sync-status=syncing] .sync-trigger em{background:#fff3ca;color:#7a4c00}.sync-health[data-sync-status=error] .sync-trigger em{background:#ffe2df;color:#9b2f2a}.sync-health[data-sync-status=ok] .sync-trigger em{background:#e2f4e7;color:#1f6b3a}.notification-trigger em{position:absolute;top:2px;right:2px;display:inline-grid;place-items:center;min-width:19px;height:19px;padding:0 4px;border-radius:999px;background:var(--brand);color:#fff;font-style:normal;font-size:10px;font-weight:900}.sync-popover,.notification-popover{position:fixed;inset:calc(86px + env(safe-area-inset-top)) 24px auto auto;z-index:2147483000;width:min(430px,calc(100vw - 32px));max-height:min(520px,calc(100vh - 140px));overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;touch-action:pan-y;-webkit-overflow-scrolling:touch;padding:10px;border:1px solid var(--line);border-radius:16px;background:#fffcfafa;box-shadow:var(--shadow)}.notification-popover{display:flex;flex-direction:column;overflow:hidden}.sync-health:not([open]) .sync-popover,.notification-center:not([open]) .notification-popover{display:none!important}.sync-health[open] .sync-popover,.notification-center[open] .notification-popover{display:block!important}.notification-center[open] .notification-popover{display:flex!important}.sync-head,.notification-head,.notification-item,.notification-item>div{display:flex;align-items:center;gap:8px}.sync-head,.notification-head{justify-content:space-between;padding:4px 4px 10px}.notification-head>div{display:flex;align-items:center;justify-content:flex-end;gap:6px;min-width:0}.notification-filter-bar{display:flex;gap:7px;max-width:100%;margin:0 0 8px;padding:2px 2px 8px;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-gutter:stable;-webkit-overflow-scrolling:touch}.notification-filter-btn{display:inline-grid;flex:0 0 auto;grid-auto-flow:column;align-items:center;gap:5px;min-height:32px;padding:6px 10px;border:1px solid #eadbdd;border-radius:999px;background:#fff;color:var(--muted);font:inherit;font-size:12px;font-weight:900;white-space:nowrap;cursor:pointer}.notification-filter-btn em{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#f3e5e9;color:var(--brand);font-style:normal;font-size:10.5px;font-weight:950}.notification-filter-btn.is-active{border-color:#9d4a6073;background:var(--brand);color:#fff}.notification-filter-btn.is-active em{background:#ffffff3d;color:#fff}.notification-list-meta{margin:0 4px 8px;color:var(--muted);font-size:11px;font-weight:850;flex:0 0 auto}.notification-list{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;-webkit-overflow-scrolling:touch;touch-action:pan-y;overflow-anchor:none}.modal-backdrop,.modal-card,.store-db-edit-modal,.shared-store-item-modal,.photo-preview-dialog,.qr-preview-card,.range-calendar-panel,.cs-multi-panel,.record-multi-panel,.task-multi-panel,.audit-multi-panel,.record-bulk-popover,.task-filter-panel,.sync-popover,.notification-popover,.notification-list,.staff-branch-panel,.record-detail-list.is-resizable-detail,.record-detail-list .detail-item.is-long-detail>dd,.payment-approval-main.is-resizable-detail,.payment-approval-main .detail-item.is-long-detail>dd,.task-view-details:has(.is-resizable-detail),.task-detail-items,.task-payment-rows,.audit-detail-grid,.ordering-detail-grid,.storage-monitor-detail-grid,.photo-storage-grid{overscroll-behavior:contain;scrollbar-gutter:stable;-webkit-overflow-scrolling:touch}.notification-popover,.notification-list{overscroll-behavior-y:none}.record-bulk-popover,.task-filter-panel{max-height:min(320px,calc(100vh - 140px));overflow:auto}.sync-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0}.sync-facts div,.sync-health-error{min-width:0;padding:9px;border:1px solid #eadbdd;border-radius:12px;background:#fff}.sync-facts dt,.sync-health-error b{margin:0 0 4px;color:var(--muted);font-size:10.5px;font-weight:950;text-transform:none;letter-spacing:0}.sync-facts dd,.sync-health-error span,.sync-health-error time{display:block;min-width:0;margin:0;overflow-wrap:anywhere;color:var(--ink);font-size:13px;font-weight:850}.sync-facts .sync-coverage,.sync-facts .sync-last-request{grid-column:1 / -1}.sync-facts .sync-last-request dd{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.business-history-notice{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;padding:8px 10px;border:1px solid rgba(151,76,98,.24);border-radius:10px;background:#974c6212;color:var(--ink);font-size:12px}.sync-health-error{margin-top:8px;border-color:#f0b8b2;background:#fff8f7}.sync-health-error time{margin-top:4px;color:var(--muted);font-size:11px}.notification-item{justify-content:space-between;padding:10px;border:1px solid #eadbdd;border-radius:12px;background:#fff}.notification-item+.notification-item{margin-top:8px}.notification-item.is-unread{border-color:#9d4a6073;box-shadow:inset 4px 0 0 var(--brand)}.notification-item>button{display:grid;gap:3px;min-width:0;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer}.notification-item b,.notification-item span,.notification-item time{min-width:0;overflow-wrap:anywhere}.notification-item span,.notification-item time,.notification-empty{color:var(--muted)}.notification-item time{font-size:12px}.notification-empty{padding:18px 10px;text-align:center}.record-transfer-status{display:inline-flex;align-items:center;min-height:30px;padding:5px 9px;border-radius:999px;background:#f5dfe8;color:var(--brand);font-size:12px;font-weight:900;vertical-align:middle}:is(.record-list-card,.deleted-records-card) .record-action-cell{min-width:0;white-space:normal!important}:is(.record-list-card,.deleted-records-card) .record-action-cell .record-icon-action,:is(.record-list-card,.deleted-records-card) .record-action-cell .record-transfer-status-icon,body.mobile-layout-mode :is(.record-list-card,.deleted-records-card) .record-action-cell .record-icon-action,body.mobile-layout-mode :is(.record-list-card,.deleted-records-card) .record-action-cell .record-transfer-status-icon,body.mobile-preview-mode :is(.record-list-card,.deleted-records-card) .record-action-cell .record-icon-action,body.mobile-preview-mode :is(.record-list-card,.deleted-records-card) .record-action-cell .record-transfer-status-icon{width:34px!important;min-width:34px!important;max-width:34px!important;min-height:34px!important;padding:0!important;margin:2px!important;justify-self:start!important}body.mobile-layout-mode :is(.record-list-card,.deleted-records-card) .record-action-cell,body.mobile-preview-mode :is(.record-list-card,.deleted-records-card) .record-action-cell{grid-template-columns:repeat(4,34px) minmax(0,1fr)!important;align-items:center!important;gap:5px!important}.record-policy-hint{display:inline-flex;align-items:center;min-height:30px;max-width:100%;padding:5px 9px;border-radius:999px;background:#fff3ca;color:#7a4c00;font-size:12px;font-weight:900;vertical-align:middle;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.record-bulk-toolbar:not([open]) .record-bulk-popover{display:none!important}.record-bulk-toolbar[open] .record-bulk-popover{display:grid!important;z-index:1200}.task-card.is-jump-highlight,.cs-heatmap-detail-outside:focus{animation:record-jump-highlight 1.8s ease;outline:0}@media(max-width:760px){.sync-trigger{width:100%;min-width:0;min-height:42px;padding-inline:8px;grid-auto-columns:max-content;justify-content:center}.sync-trigger b{display:none}.sync-trigger em{max-width:58px;padding-inline:5px;font-size:9.5px}.sync-popover{position:fixed;inset:calc(72px + env(safe-area-inset-top)) 10px auto 10px;width:auto;max-height:calc(100dvh - 170px - env(safe-area-inset-bottom))}.sync-facts{grid-template-columns:1fr}.notification-trigger{width:44px;min-height:42px;padding-inline:0;place-content:center}.notification-trigger b{display:none}.notification-trigger em{position:absolute;top:-4px;right:-4px}.notification-popover{position:fixed;top:calc(72px + env(safe-area-inset-top));left:10px;right:10px;width:auto;max-height:calc(100dvh - 170px - env(safe-area-inset-bottom))}.notification-filter-bar{margin-inline:-2px;padding-bottom:7px}.notification-filter-btn{min-height:30px;padding:5px 9px;font-size:11px}.notification-item{align-items:stretch;flex-direction:column}.notification-item>div{justify-content:flex-end;flex-wrap:wrap}}.backup-readiness{display:grid;gap:10px;margin-top:14px;padding-top:14px;border-top:1px solid var(--line, #ead7d9)}.backup-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0}.backup-summary>div{display:grid;gap:3px;min-width:0;padding:9px;border:1px solid var(--line);border-radius:var(--radius-panel);background:var(--panel-strong)}.backup-summary b{color:var(--muted);font-size:11px}.backup-summary span{color:var(--brand-strong);font-size:18px;font-weight:900;overflow-wrap:anywhere}.backup-readiness-head{display:flex;justify-content:space-between;gap:10px}.backup-readiness-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.backup-readiness-grid>div{display:grid;gap:3px;padding:9px;border:1px solid var(--line, #ead7d9);background:#fffc}.backup-readiness-grid .is-ready{border-color:#30875a59}.backup-readiness-grid .is-stale{border-color:#bc524573;background:#ffeeeab8}@media(max-width:560px){.backup-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.backup-readiness-grid{grid-template-columns:1fr}.backup-readiness-head{display:grid}}.sync-state-dot{position:absolute;right:7px;bottom:7px;width:8px;height:8px;border:2px solid #fff;border-radius:50%;background:var(--warn)}[data-sync-status=ok] .sync-state-dot{background:var(--ok)}[data-sync-status=error] .sync-state-dot{background:var(--danger)}:is(.toggle,.active-toggle){position:relative;cursor:pointer}:is(.toggle,.active-toggle)>input[type=checkbox]{position:absolute;width:1px;height:1px;opacity:0}:is(.toggle,.active-toggle)>span{position:relative;display:inline-flex;align-items:center;gap:8px}:is(.toggle,.active-toggle)>span:before{content:"";width:32px;height:18px;border:1px solid var(--line-strong);border-radius:999px;background:#e7dfe1;box-shadow:inset 0 0 0 2px #fff;transition:background-color .15s ease}:is(.toggle,.active-toggle)>span:after{content:"";position:absolute;left:4px;width:12px;height:12px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #2a1f2247;transition:transform .15s ease}:is(.toggle,.active-toggle)>input:checked+span:before{border-color:var(--selection-border);background:var(--brand)}:is(.toggle,.active-toggle)>input:checked+span:after{transform:translate(14px)}:is(.toggle,.active-toggle):focus-within{outline:2px solid color-mix(in srgb,var(--brand) 34%,transparent);outline-offset:2px}:is(.record-select-chip,.task-card-select,.audit-select,.task-bulk-select-all,.audit-bulk-select-all,.ordering-item-check,.store-db-row-select):after{content:"";width:8px;height:8px;border-radius:50%;background:#d6c9cd;pointer-events:none}:is(.record-select-chip,.task-card-select,.audit-select,.task-bulk-select-all,.audit-bulk-select-all,.ordering-item-check,.store-db-row-select):has(input:checked):after{background:var(--brand)}:is(.record-select-chip,.task-card-select,.audit-select,.task-bulk-select-all,.audit-bulk-select-all,.ordering-item-check,.store-db-row-select):focus-within{outline:2px solid color-mix(in srgb,var(--brand) 34%,transparent);outline-offset:2px}body.mobile-preview-mode .sync-trigger,body.mobile-layout-mode .sync-trigger{width:100%;min-width:0;min-height:42px;padding-inline:8px;justify-content:center}body.mobile-preview-mode .sync-trigger b,body.mobile-layout-mode .sync-trigger b{display:none}body.mobile-preview-mode .sync-trigger em,body.mobile-layout-mode .sync-trigger em{max-width:58px;padding-inline:5px;font-size:9.5px}body.mobile-preview-mode .notification-trigger,body.mobile-layout-mode .notification-trigger{width:44px;min-height:42px;padding-inline:0;place-content:center}body.mobile-preview-mode .notification-trigger b,body.mobile-layout-mode .notification-trigger b{display:none}body.mobile-preview-mode .notification-popover,body.mobile-layout-mode .notification-popover{position:fixed;top:calc(72px + env(safe-area-inset-top));left:10px;right:10px;width:auto;max-height:calc(100dvh - 170px - env(safe-area-inset-bottom))}body.mobile-preview-mode .notification-filter-bar,body.mobile-layout-mode .notification-filter-bar{margin-inline:-2px;padding-bottom:7px}body.mobile-preview-mode .notification-filter-btn,body.mobile-layout-mode .notification-filter-btn{min-height:30px;padding:5px 9px;font-size:11px}body.mobile-preview-mode .sync-popover,body.mobile-layout-mode .sync-popover{position:fixed;inset:calc(72px + env(safe-area-inset-top)) 10px auto 10px;width:auto;max-height:calc(100dvh - 170px - env(safe-area-inset-bottom))}.environment-context{min-width:0;max-width:100%}.environment-context-trigger{display:flex;align-items:center;gap:8px;min-height:36px;padding:6px 10px;border:1px solid var(--line-strong);border-radius:var(--radius-control);background:var(--panel);color:var(--ink);font-size:12px;font-weight:800;line-height:1.3;cursor:pointer;list-style:none}.environment-context-trigger::-webkit-details-marker{display:none}.environment-context-trigger>span:first-child{min-width:0;overflow-wrap:anywhere}.environment-context-arrow{margin-left:auto;flex-shrink:0}.environment-context[open] .environment-context-arrow{transform:rotate(180deg)}.environment-context-panel{position:fixed;z-index:1100;inset:calc(100px + env(safe-area-inset-top)) auto auto max(12px,252px);width:min(430px,calc(100vw - 24px));max-height:calc(100dvh - 160px);overflow:auto;overscroll-behavior:contain;padding:14px;border:1px solid var(--line-strong);border-radius:var(--radius-panel);background:var(--panel-strong);color:var(--ink);box-shadow:var(--shadow-raised)}.environment-context:not([open])>.environment-context-panel{display:none}.environment-context-panel p,.sync-coverage-note{margin:0 0 10px;color:var(--muted);font-size:12px;line-height:1.55}.environment-context-panel dl{display:grid;gap:10px;margin:0}.environment-context-panel dl>div{display:grid;grid-template-columns:90px minmax(0,1fr);gap:10px}.environment-context-panel :is(dt,dd){min-width:0;margin:0;font-size:12px;line-height:1.4;overflow-wrap:anywhere}.environment-context-panel dt{color:var(--muted)}.environment-context-login>.environment-context-panel{position:static;width:100%;max-height:none;margin-top:8px;box-shadow:none}body:is(.mobile-layout-mode,.mobile-preview-mode) .environment-context-panel{inset:calc(94px + env(safe-area-inset-top)) 12px auto 12px;width:auto}@media(max-width:760px),(pointer:coarse){.environment-context-trigger{min-height:44px}.environment-context-panel{inset:calc(94px + env(safe-area-inset-top)) 12px auto 12px;width:auto}.environment-context-login>.environment-context-panel{width:100%}}.staff-directory-count,.module-availability-head>span{color:var(--muted);font-size:12px;white-space:nowrap}.staff-workbench #staffUserEditor>p{margin:8px 0 12px;font-size:13px}.permission-shell .permission-page-head h2{font-size:18px}.permission-shell .permission-page-head p{margin:6px 0 0;font-size:13px}.permission-shell .permission-policy-summary{margin:10px 0 12px;padding:8px 12px}.permission-shell details.permission-row.permission-card>summary{grid-template-columns:minmax(160px,1fr) minmax(0,2fr) auto 12px;min-height:48px;padding:9px 12px}.module-switch-page .module-availability-head{margin-top:8px;padding-top:16px;border-top:1px solid var(--line)}.module-switch-page .module-availability-head h2{margin:0;font-size:18px}.module-switch-page .module-availability-head+p{margin:6px 0 14px;font-size:13px}@media(min-width:1181px){body:not(.mobile-preview-mode) .module-switch-page .module-switch-row{grid-template-columns:minmax(150px,.2fr) 88px minmax(0,1fr);gap:10px}body:not(.mobile-preview-mode) .module-switch-page .function-role-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}body:is(.mobile-layout-mode,.mobile-preview-mode) .permission-shell details.permission-row.permission-card>summary{grid-template-columns:minmax(0,1fr) auto 12px}body:is(.mobile-layout-mode,.mobile-preview-mode) .permission-shell .permission-module-note{grid-row:2;grid-column:1 / -1}body:is(.mobile-layout-mode,.mobile-preview-mode) .permission-shell .permission-module-note:empty{display:none}
@media(max-width:760px){body.has-app :is(.section-heading,.card-head,.modal-head){gap:8px!important;margin-bottom:8px!important}body.has-app :is(.card+.card,.task-section,.record-step-card,.confirm-box){margin-top:8px!important}body.has-app p{font-size:12px!important;line-height:1.38!important}body.has-app .task-board{gap:8px!important}body.has-app .task-card{gap:7px!important}body.has-app .task-summary-list{margin-top:6px!important;border-radius:11px!important}body.has-app :is(th,td){padding:7px!important}body.has-app :is(.record-filter-bar,.task-filters,.cs-filter-bar,.audit-filter-bar){gap:6px!important;padding:8px!important}body.has-app :is(.record-multi-filter>summary,.task-multi-filter>summary,.cs-multi-filter>summary,.audit-multi-filter>summary){min-height:38px!important;padding:7px 28px 7px 9px!important;font-size:12px!important}body.has-app :is(.record-multi-panel label,.task-multi-panel label,.cs-multi-panel label,.audit-multi-panel label){min-height:34px!important;padding:6px 7px!important;font-size:11px!important}body.has-app .payment-confirm-row-list{gap:7px!important}body.has-app .payment-confirm-row-list label{min-height:104px!important;padding:9px!important;font-size:13px!important}body.has-app .payment-confirm-row-list strong{font-size:18px!important;line-height:1.12!important}body.has-app .payment-confirm-row-list small{font-size:10px!important}body.has-app :is(.customer-payment-row-card,.customer-payment-linked-so){gap:8px!important;padding:9px!important;border-radius:14px!important}body.has-app .customer-payment-row-title{font-size:11px!important}body.has-app :is(.invoice-digit-row,.amount-digit-row){min-height:46px!important;gap:3px!important;padding:3px!important}body.has-app .mobile-bottom-nav{left:7px!important;right:7px!important;bottom:calc(7px + env(safe-area-inset-bottom))!important;padding:5px!important;border-radius:17px!important}}body:is(.mobile-layout-mode,.mobile-preview-mode){font-size:12.5px;line-height:1.3}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.section-heading h2,.card-head h2,.mobile-hub-hero h2,.mobile-more-head h2){font-size:17px!important;line-height:1.12!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.card,.record-step-card,.task-card,.cs-card,.mobile-hub-card,.mobile-more-sheet,.confirm-box,.deleted-records-card,.cs-document-panel,.audit-log-card){padding:9px!important;border-radius:15px!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(input,select,textarea){min-height:44px!important;padding:7px 9px!important;border-radius:11px!important;font-size:12.5px!important;line-height:1.24!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.btn,.range-trigger,.record-filter-reset,.audit-clear-filter){min-height:44px!important;padding:6px 8px!important;border-radius:10px!important;font-size:11.5px!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.badge,.pill,.status,.kicker,.record-transfer-status){min-height:0!important;padding:4px 7px!important;font-size:10.5px!important;line-height:1.12!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .lang-icon{min-height:44px!important;height:44px!important;padding:0!important;grid-template-rows:20px 12px!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .lang-icon span{font-size:15px!important;line-height:1!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .lang-icon b{font-size:9px!important;line-height:1!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .task-card h3{font-size:16px!important;line-height:1.14!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.task-summary-list div,.details-row .detail-item){grid-template-columns:minmax(78px,32%) minmax(0,1fr)!important;gap:6px!important;padding:6px 7px!important;font-size:11.5px!important;line-height:1.24!important;min-width:0!important;max-width:100%!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.task-summary-list dt,.details-row .detail-item dt,th){font-size:9.5px!important;line-height:1.15!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.task-summary-list dd,.details-row .detail-item dd,td,.full-record,.record-detail-text){font-size:11.8px!important;line-height:1.28!important;min-width:0!important;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.invoice-lock-window,.invoice-lock-window .invoice-digit,.amount-lock-window,.amount-lock-window .amount-digit,.amount-lock-window .amount-cent-digit){min-height:38px!important;font-size:13px!important;line-height:1!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .mobile-tab-btn{min-height:44px!important;border-radius:13px!important;gap:0!important;padding:3px 2px!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .mobile-tab-btn span{font-size:16px!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .mobile-tab-btn b{font-size:9.5px!important;line-height:1!important}@container (max-width: 520px){.record-detail-list.is-dense-detail{grid-template-columns:minmax(0,1fr)}}body:is(.mobile-layout-mode,.mobile-preview-mode) .task-card .payment-approval-main.is-dense-detail{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .task-card .payment-approval-main>div{display:grid!important;grid-template-columns:minmax(0,1fr)!important;align-content:start!important;gap:3px!important;min-width:0!important;min-height:58px!important;padding:7px 10px!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .task-card .payment-approval-main>:is(.detail-payment-sum,.is-long-detail){grid-column:1 / -1!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .details-row .record-detail-list.is-dense-detail{grid-template-columns:minmax(0,1fr)!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .details-row .record-detail-list .detail-item{grid-template-columns:minmax(88px,30%) minmax(0,1fr)!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .task-card :is(.payment-approval-main,.task-detail-items,.task-payment-row-detail) dd,body:is(.mobile-layout-mode,.mobile-preview-mode) .task-card .amount-cell{min-width:0!important;max-width:100%!important;overflow-wrap:anywhere!important;word-break:break-word!important;hyphens:none!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .task-card .amount-cell{min-width:0!important;width:100%!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .task-card .amount-cell :is(b,small){white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .task-card .document-link{overflow-wrap:anywhere!important;word-break:break-word!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .collapsible-records-card>summary{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;align-items:start!important;gap:8px!important;min-height:0!important;padding:9px 10px!important;overflow:visible!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .collapsible-records-card>summary>span{min-width:0!important;max-width:100%!important;overflow:visible!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .collapsible-records-card>summary :is(.kicker,b,em){line-height:1.2!important;overflow:visible!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .collapsible-records-card>summary b{white-space:normal!important}.task-view-details .task-detail-card-list{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,176px),1fr))!important;gap:8px!important;margin:10px 0 0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;max-height:none!important;overflow:visible!important;resize:none!important}.task-view-details .task-detail-card-list>div{display:grid!important;grid-template-columns:minmax(0,1fr)!important;align-content:start!important;gap:5px!important;min-width:0!important;max-width:100%!important;min-height:64px!important;padding:10px!important;border:1px solid var(--line)!important;border-radius:12px!important;background:#fffdfa!important;overflow:visible!important}.task-view-details .task-detail-card-list>div:first-child{border-top:1px solid var(--line)!important}.task-view-details .task-detail-card-list>div.is-long-detail{grid-column:1 / -1!important}.task-view-details .task-detail-card-list dt,.task-payment-row-detail dt{min-width:0!important;max-width:100%!important;color:var(--muted)!important;font-size:10px!important;font-weight:950!important;letter-spacing:0!important;line-height:1.15!important;text-transform:none!important;overflow-wrap:normal!important;word-break:normal!important}.task-view-details .task-detail-card-list dd,.task-payment-row-detail dd{min-width:0!important;max-width:100%!important;margin:0!important;color:var(--ink)!important;font-size:13px!important;font-weight:900!important;line-height:1.22!important;white-space:normal!important;overflow:visible!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important;max-height:none!important;resize:none!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .task-card .task-view-details .task-detail-card-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .task-card .task-view-details .task-detail-card-list.is-dense-detail{grid-template-columns:repeat(2,minmax(0,1fr))!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .task-card .task-view-details .task-detail-card-list>div{grid-template-columns:minmax(0,1fr)!important;min-height:58px!important;padding:9px!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .task-card .task-view-details .task-detail-card-list>div.is-long-detail{grid-column:1 / -1!important}.photo-grid,.submission-photo-preview{grid-template-columns:repeat(auto-fill,minmax(min(100%,88px),112px))!important;gap:8px!important;align-items:start!important;justify-content:start!important;max-width:100%!important;overflow:visible!important}.photo-grid.empty-photo{grid-template-columns:minmax(0,1fr)!important}.photo-grid>.photo-thumb,.photo-grid>button.photo-thumb,.submission-photo-preview>.photo-thumb,.submission-photo-preview>.photo-preview-card{display:grid!important;grid-template-rows:minmax(0,1fr) auto!important;width:100%!important;min-width:0!important;max-width:112px!important;min-height:0!important;border-radius:12px!important;overflow:hidden!important}.photo-thumb img,.photo-preview-card img{display:block!important;width:100%!important;height:auto!important;max-height:84px!important;aspect-ratio:4 / 3!important;object-fit:cover!important}.photo-thumb>span,.photo-thumb small,.photo-preview-card span,.photo-preview-card small{min-width:0!important;max-width:100%!important;min-height:20px!important;padding:4px 6px!important;font-size:10px!important;line-height:1.15!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}.photo-thumb.placeholder{min-height:92px!important;padding:8px!important;align-content:center!important;justify-items:center!important}.photo-thumb.placeholder>span:first-child{width:42px!important;height:42px!important;padding:0!important;font-size:10px!important}.photo-preview-body img{max-width:100%!important;max-height:min(58vh,520px)!important;object-fit:contain!important}.photo-preview-placeholder{max-width:100%!important}.photo-preview-placeholder img{width:min(220px,100%)!important}.modal-card #editRecordForm [data-edit-customer-payment-row].customer-payment-row-card{grid-template-columns:72px minmax(126px,.78fr) minmax(128px,.72fr) minmax(148px,1fr) minmax(148px,1fr)!important;gap:8px!important;padding:10px!important;max-width:100%!important;overflow:visible!important}.modal-card #editRecordForm [data-edit-customer-payment-row] .field,.modal-card #editRecordForm [data-edit-customer-payment-row] select,.modal-card #editRecordForm [data-edit-customer-payment-row] input{min-width:0!important}.modal-card #editRecordForm [data-edit-customer-payment-row] .customer-payment-row-card-fields{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}.customer-payment-amount-field .amount-digit-row,#editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field .amount-digit-row{grid-template-columns:repeat(5,minmax(12px,1fr)) 4px repeat(2,minmax(12px,.92fr))!important;min-width:0!important;max-width:100%!important;min-height:38px!important;gap:2px!important;padding:3px!important;overflow:hidden!important}.customer-payment-amount-field .amount-lock-window,#editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window,.customer-payment-amount-field .amount-lock-window .amount-digit,.customer-payment-amount-field .amount-lock-window .amount-cent-digit,#editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .amount-digit,#editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .amount-cent-digit{min-width:0!important;width:100%!important;min-height:28px!important;height:28px!important;line-height:1!important}.customer-payment-amount-field .amount-lock-window .amount-digit,.customer-payment-amount-field .amount-lock-window .amount-cent-digit,#editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .amount-digit,#editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field .amount-lock-window .amount-cent-digit{font-size:clamp(12px,1.05vw,15px)!important;padding:0!important}@media(max-width:760px){.customer-payment-row-card,#editRecordForm [data-edit-customer-payment-row].customer-payment-row-card,.modal-card #editRecordForm [data-edit-customer-payment-row].customer-payment-row-card{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;padding:9px!important}.customer-payment-row-card .customer-payment-row-title,.customer-payment-row-card .customer-payment-style-stack,.customer-payment-row-card .customer-payment-other-style-field,.customer-payment-row-card .customer-payment-type-field,.customer-payment-row-card .customer-payment-row-card-fields,#editRecordForm [data-edit-customer-payment-row] .customer-payment-row-title,#editRecordForm [data-edit-customer-payment-row] .customer-payment-style-stack,#editRecordForm [data-edit-customer-payment-row] .customer-payment-other-style-field,#editRecordForm [data-edit-customer-payment-row] .customer-payment-type-field,#editRecordForm [data-edit-customer-payment-row] .customer-payment-row-card-fields{grid-column:1 / -1!important;grid-row:auto!important}.customer-payment-row-card .customer-payment-deposit-field:not(.is-hidden),#editRecordForm [data-edit-customer-payment-row] .customer-payment-deposit-field:not(.is-hidden){grid-column:1!important}.customer-payment-row-card .customer-payment-full-field,#editRecordForm [data-edit-customer-payment-row] .customer-payment-full-field{grid-column:2!important}.customer-payment-row-card .customer-payment-deposit-field.is-hidden+.customer-payment-full-field,#editRecordForm [data-edit-customer-payment-row] .customer-payment-deposit-field.is-hidden+.customer-payment-full-field{grid-column:1 / -1!important}}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(input:not([type=checkbox]):not([type=radio]),select,textarea){min-height:38px!important;padding:6px 8px!important;border-radius:10px!important;font-size:12px!important;line-height:1.2!important}body:is(.mobile-layout-mode,.mobile-preview-mode) textarea{min-height:56px!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.photo-grid,.submission-photo-preview){grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.photo-thumb,.photo-preview-card){max-width:100%!important;border-radius:10px!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.photo-thumb img,.photo-preview-card img){max-height:none!important;aspect-ratio:1 / 1!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.photo-thumb>span,.photo-thumb small,.photo-preview-card span,.photo-preview-card small){min-height:18px!important;padding:3px 5px!important;font-size:9px!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.customer-payment-amount-field,#editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field) .amount-digit-row{grid-template-columns:repeat(5,minmax(8px,1fr)) 3px repeat(2,minmax(8px,.92fr))!important;min-height:34px!important;gap:1px!important;padding:2px!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.customer-payment-amount-field,#editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field) .amount-lock-window,body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.customer-payment-amount-field,#editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field) .amount-lock-window :is(.amount-digit,.amount-cent-digit){min-height:24px!important;height:24px!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.customer-payment-amount-field,#editRecordForm [data-edit-customer-payment-row] .customer-payment-amount-field) .amount-lock-window :is(.amount-digit,.amount-cent-digit){font-size:clamp(10px,2.9vw,13px)!important}.invoice-number-control .invoice-digit-row,body:is(.mobile-layout-mode,.mobile-preview-mode) .invoice-number-control .invoice-digit-row{grid-template-columns:repeat(8,minmax(0,1fr))!important;min-width:0!important;max-width:100%!important;min-height:34px!important;height:34px!important;max-height:34px!important;gap:2px!important;padding:2px!important;align-items:start!important;align-content:start!important;overflow:hidden!important}.invoice-number-control .invoice-lock-window,.invoice-number-control .invoice-lock-window .invoice-digit,body:is(.mobile-layout-mode,.mobile-preview-mode) .invoice-number-control :is(.invoice-lock-window,.invoice-lock-window .invoice-digit){min-width:0!important;min-height:24px!important;height:24px!important;max-height:24px!important;border-radius:10px!important;line-height:1!important;overflow:hidden!important}.invoice-number-control .invoice-lock-window .invoice-digit,body:is(.mobile-layout-mode,.mobile-preview-mode) .invoice-number-control .invoice-lock-window .invoice-digit{font-size:clamp(10px,2.9vw,13px)!important;padding:0!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.cs-filter-bar,.record-filter-bar,.task-filters,.audit-filter-bar){gap:6px!important}@media(min-width:390px){body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.cs-filter-bar,.record-filter-bar,.task-filters,.audit-filter-bar){grid-template-columns:repeat(3,minmax(0,1fr))!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.cs-filter-bar,.record-filter-bar,.task-filters,.audit-filter-bar) .date-range-control{grid-column:span 2!important}}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.cs-multi-filter,.record-multi-filter,.task-multi-filter,.audit-multi-filter)>summary,body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.date-range-control .range-trigger,.record-filter-reset,.audit-clear-filter),body:is(.mobile-layout-mode,.mobile-preview-mode) #csResetWindow{min-height:38px!important;padding:7px 9px!important;border-radius:13px!important;font-size:12px!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.record-filter-search input,.cs-filter-bar>input,.task-filters>input,.audit-filter-bar .field:first-child input){min-height:40px!important;padding:8px 10px!important;font-size:12.5px!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.cs-multi-filter,.record-multi-filter,.task-multi-filter,.audit-multi-filter)>:is(.cs-multi-panel,.record-multi-panel,.task-multi-panel,.audit-multi-panel){width:min(300px,calc(100vw - 22px))!important;max-width:calc(100vw - 22px)!important;gap:6px!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .cs-filter-bar .cs-multi-filter[open]{grid-column:1 / -1!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .cs-filter-bar .cs-multi-filter[open]>.cs-multi-panel{position:static!important;width:100%!important;max-width:100%!important;max-height:min(230px,38dvh)!important}@media(min-width:430px){body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.cs-multi-filter,.record-multi-filter,.task-multi-filter,.audit-multi-filter)>:is(.cs-multi-panel,.record-multi-panel,.task-multi-panel,.audit-multi-panel){grid-template-columns:repeat(3,minmax(0,1fr))!important}}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.cs-multi-filter,.record-multi-filter,.task-multi-filter,.audit-multi-filter)>:is(.cs-multi-panel,.record-multi-panel,.task-multi-panel,.audit-multi-panel) label{min-height:32px!important;padding:5px 6px!important;gap:5px!important;font-size:11.5px!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.record-list-card,.deleted-records-card) tr.summary-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;align-items:start!important;padding:8px!important;overflow:visible!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.record-list-card,.deleted-records-card) tr.summary-row td{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:3px!important;min-width:0!important;min-height:48px!important;padding:8px 9px!important;border:1px solid rgba(226,205,204,.78)!important;border-radius:13px!important;background:#fffdfae6!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.record-list-card,.deleted-records-card) tr.summary-row td:before{display:block!important;margin:0!important;font-size:10px!important;line-height:1.1!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.record-list-card,.deleted-records-card) tr.summary-row .select-col{position:absolute!important;top:10px!important;right:10px!important;width:38px!important;min-width:38px!important;max-width:38px!important;height:38px!important;min-height:38px!important;padding:0!important;display:grid!important;place-items:center!important;z-index:5!important;background:#fffdfaf5!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.record-list-card,.deleted-records-card) tr.summary-row .select-col+td{padding-right:50px!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.record-list-card,.deleted-records-card) tr.summary-row :is(td[data-cell="Payment Sum"],td[data-cell=\4ed8\6b3e\5408\8ba1],td[data-cell=Action],td[data-cell=\64cd\4f5c],.record-action-cell){grid-column:1 / -1!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(td[data-cell=Action],td[data-cell=\64cd\4f5c]):before{display:none!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.record-list-card,.deleted-records-card) .record-action-cell :is(.record-icon-action,.record-transfer-status-icon){width:38px!important;min-width:38px!important;height:38px!important;min-height:38px!important;padding:0!important;border-radius:12px!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.record-list-card,.deleted-records-card) .details-row{position:relative!important;z-index:8!important;margin:8px 0 14px!important;background:#fffdfafa!important;border-radius:16px!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.record-list-card,.deleted-records-card) .details-row.hidden{display:none!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.record-list-card,.deleted-records-card) .details-row td{padding:8px!important;display:block!important;border:0!important;background:transparent!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.record-list-card,.deleted-records-card) .details-row .detail-panel{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:9px!important;min-width:0!important;overflow:visible!important;padding:8px!important;border:1px solid rgba(226,205,204,.84)!important;border-radius:16px!important;background:#fffdfafa!important;box-shadow:0 12px 26px #2a1f220f!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.record-list-card,.deleted-records-card) .details-row .record-detail-list,body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.record-list-card,.deleted-records-card) .details-row .record-detail-list:is(.is-dense-detail,.is-resizable-detail){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;min-width:0!important;max-width:100%!important;max-height:none!important;resize:none!important;overflow:visible!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.record-list-card,.deleted-records-card) .details-row .record-detail-list .detail-item{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:4px!important;min-width:0!important;min-height:0!important;padding:9px 10px!important;border:1px solid rgba(226,205,204,.82)!important;border-radius:13px!important;background:#fffdfaf0!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.record-list-card,.deleted-records-card) .details-row .record-detail-list .detail-item:is(.detail-item-payment-row,.is-long-detail),body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.record-list-card,.deleted-records-card) .details-row .record-detail-list .detail-item dd:has(.full-record){grid-column:1 / -1!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.record-list-card,.deleted-records-card) .details-row .record-detail-list .detail-item dt{font-size:10px!important;line-height:1.1!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.record-list-card,.deleted-records-card) .details-row .record-detail-list .detail-item dd{min-width:0!important;font-size:12.5px!important;line-height:1.18!important;overflow-wrap:anywhere!important;word-break:normal!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .task-card{overflow:visible!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .task-card>div{min-width:0!important;padding-right:0!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .task-card .task-card-select{position:absolute!important;top:10px!important;right:10px!important;width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;padding:0!important;display:grid!important;place-items:center!important;border-radius:12px!important;background:#fffdfaf5!important;box-shadow:none!important;z-index:5!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .task-card .task-card-select span{display:none!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .task-card .task-card-head{padding-right:48px!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.card,.task-card,.record-step-card){gap:8px!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.card-head,.task-panel-head,.record-section-head){gap:5px!important;margin-bottom:4px!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.card-head h2,.task-section h3,.record-section-head h2){line-height:1.05!important;margin:0!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .date-range-control .range-trigger{min-height:38px!important;grid-template-columns:24px minmax(0,1fr) 10px!important;gap:5px!important;padding:6px 8px!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .date-range-control .calendar-icon{width:24px!important;min-width:24px!important;height:24px!important;font-size:13px!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .date-range-control .range-picker-label small{display:none!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .date-range-control .range-picker-label b{font-size:11.5px!important;line-height:1.05!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .notification-popover{display:flex!important;flex-direction:column!important;overflow:hidden!important;height:min(520px,calc(100dvh - 138px - env(safe-area-inset-bottom)))!important;max-height:min(520px,calc(100dvh - 138px - env(safe-area-inset-bottom)))!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.notification-head,.notification-filter-bar,.notification-list-meta){flex:0 0 auto!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .notification-head{padding:2px 2px 7px!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .notification-filter-bar{display:flex!important;flex-wrap:nowrap!important;gap:6px!important;overflow-x:auto!important;overflow-y:hidden!important;padding:1px 2px 7px!important;margin-bottom:5px!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .notification-filter-btn{flex:0 0 auto!important;min-height:30px!important;padding:5px 9px!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .notification-list{flex:1 1 auto!important;min-height:0!important;overflow:auto!important;overscroll-behavior-y:none!important;overflow-anchor:none!important;touch-action:pan-y!important;-webkit-overflow-scrolling:touch!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .task-card .task-view-details[open]{max-height:none!important;overflow:visible!important;touch-action:pan-y!important;-webkit-overflow-scrolling:touch!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .task-card :is(.task-detail-card-list,.task-payment-rows,.task-payment-row-detail){max-height:none!important;overflow:visible!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.customer-payment-row-card,#editRecordForm [data-edit-customer-payment-row]) .customer-payment-row-title{grid-column:1 / -1!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.customer-payment-row-card,#editRecordForm [data-edit-customer-payment-row]) .customer-payment-type-field{grid-column:1!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.customer-payment-row-card,#editRecordForm [data-edit-customer-payment-row]) .customer-payment-style-stack{grid-column:2!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.customer-payment-row-card,#editRecordForm [data-edit-customer-payment-row]) :is(.customer-payment-other-style-field,.customer-payment-row-card-fields){grid-column:1 / -1!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.record-list-card,.deleted-records-card) tbody{gap:11px!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.record-list-card,.deleted-records-card) tr.summary-row{position:relative!important;border:1px solid rgba(226,205,204,.9)!important;border-left:4px solid rgba(151,76,98,.86)!important;border-radius:17px!important;background:#fffcfaf5!important;box-shadow:0 10px 24px #2a1f220e!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.record-list-card,.deleted-records-card) tr.summary-row:nth-of-type(4n+1){background:#fff8fafa!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .cs-heatmap-detail-outside{width:100%!important;min-width:0!important;margin-top:10px!important;padding:0!important;border:0!important;background:transparent!important;scroll-margin-top:calc(116px + env(safe-area-inset-top))!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .cs-heatmap-detail-outside .cs-document-panel{margin-top:0!important;padding:9px!important;border-radius:17px!important;overflow:visible!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .cs-document-head{gap:7px!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .cs-detail-filter{display:flex!important;flex-wrap:nowrap!important;gap:6px!important;overflow-x:auto!important;padding-bottom:3px!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .cs-detail-filter .btn{flex:0 0 auto!important;width:auto!important;min-height:32px!important;padding:5px 9px!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.storage-monitor-grid,.storage-monitor-detail-grid){grid-template-columns:1fr}body:is(.mobile-layout-mode,.mobile-preview-mode) .storage-monitor-card{padding:9px;gap:8px}body:is(.mobile-layout-mode,.mobile-preview-mode) .storage-monitor-card-head h3{font-size:18px}body:is(.mobile-layout-mode,.mobile-preview-mode) .storage-monitor-metric{padding:7px 6px}body:is(.mobile-layout-mode,.mobile-preview-mode) .system-smoke-card>.muted{font-size:12px;line-height:1.42}body:is(.mobile-layout-mode,.mobile-preview-mode) .system-smoke-card .smoke-environment-notice{gap:2px;margin:7px 0;padding:8px 9px;border-radius:10px}body:is(.mobile-layout-mode,.mobile-preview-mode) .system-smoke-card .smoke-environment-notice :is(b,span,small){font-size:11px;line-height:1.24;overflow-wrap:anywhere}body:is(.mobile-layout-mode,.mobile-preview-mode) .system-smoke-card .smoke-mode-control{width:100%;max-width:none;margin:6px 0}body:is(.mobile-layout-mode,.mobile-preview-mode) .system-smoke-card .smoke-mode-control button{min-width:0;min-height:30px;padding:5px 6px;font-size:10.5px;line-height:1.2;white-space:normal}body:is(.mobile-layout-mode,.mobile-preview-mode) .system-smoke-card .smoke-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 8px}body:is(.mobile-layout-mode,.mobile-preview-mode) .system-smoke-card .smoke-summary div{display:block;min-width:0;padding:0;border:0;background:transparent}body:is(.mobile-layout-mode,.mobile-preview-mode) .system-smoke-card .smoke-summary :is(b,span){font-size:11px;line-height:1.2;overflow-wrap:anywhere}body:is(.mobile-layout-mode,.mobile-preview-mode) .system-smoke-card .action-row{display:flex;flex-wrap:wrap;gap:5px}body:is(.mobile-layout-mode,.mobile-preview-mode) .system-smoke-card .action-row button{min-height:30px;padding:5px 8px;font-size:11.5px}
body:is(.mobile-layout-mode,.mobile-preview-mode) .sync-trigger b{display:none!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .logout-icon-btn b{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .logout-icon-btn span{font-size:15px!important;line-height:1!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .notification-trigger{position:relative!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .notification-trigger b{display:none!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .notification-trigger span{transform:translateY(1px)}body:is(.mobile-layout-mode,.mobile-preview-mode) .notification-trigger em{position:absolute!important;top:-5px!important;right:-2px!important;display:grid!important;place-items:center!important;min-width:19px!important;height:19px!important;padding:0 4px!important;border:1px solid rgba(255,252,250,.96)!important;border-radius:999px!important;font-size:10px!important;line-height:1!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.range-trigger-caret,.range-month-label span){width:0!important;height:0!important;border-left:4px solid transparent!important;border-right:4px solid transparent!important;border-top:5px solid currentColor!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .range-calendar-panel{position:fixed!important;top:max(88px,calc(env(safe-area-inset-top) + 78px))!important;left:12px!important;right:12px!important;width:auto!important;min-width:0!important;max-width:none!important;max-height:min(560px,calc(100dvh - 112px - env(safe-area-inset-bottom)))!important;padding:8px!important;border-radius:16px!important;overflow:auto!important;z-index:90!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .range-mode-tabs{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .range-boundary{min-width:0!important;min-height:42px!important;padding:6px 8px!important;border-radius:12px!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .range-boundary :is(span,b){white-space:nowrap!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .range-boundary span{font-size:10px!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .range-boundary b{font-size:11px!important;letter-spacing:0!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .range-calendar-head{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:6px!important;align-items:center!important;margin:6px 0 4px!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .range-month-label{justify-content:start!important;min-width:0!important;min-height:32px!important;width:100%!important;padding:6px 8px!important;font-size:14px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .range-month-actions{display:grid!important;grid-template-columns:repeat(2,30px)!important;gap:5px!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .range-nav{width:30px!important;min-width:30px!important;height:30px!important;min-height:30px!important;padding:0!important;font-size:16px!important;line-height:1!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.range-weekdays,.range-calendar-grid){grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:3px!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .range-weekdays span{min-width:0!important;font-size:10px!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .range-day{min-width:0!important;min-height:28px!important;height:28px!important;padding:0!important;font-size:10.5px!important;border-radius:8px!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.cs-multi-filter,.record-multi-filter,.task-multi-filter,.audit-multi-filter)>:is(.cs-multi-panel,.record-multi-panel,.task-multi-panel,.audit-multi-panel) label{position:relative!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;min-width:0!important;border:1px solid rgba(226,205,204,.82)!important;border-radius:12px!important;background:#fffdfaeb!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.cs-multi-panel,.record-multi-panel,.task-multi-panel,.audit-multi-panel) label input[type=checkbox]{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;opacity:0!important;margin:0!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.cs-multi-panel,.record-multi-panel,.task-multi-panel,.audit-multi-panel) label:has(input[type=checkbox]:checked){border-color:#974c6285!important;background:#974c6221!important;color:var(--brand)!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.cs-multi-panel,.record-multi-panel,.task-multi-panel,.audit-multi-panel) label span{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.record-list-card,.deleted-records-card) tr.summary-row .record-action-cell{display:flex!important;flex-wrap:wrap;align-items:center!important;justify-content:start!important;gap:8px!important;min-height:54px!important;width:100%!important;max-width:100%!important;overflow:visible!important;padding-bottom:0!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.record-list-card,.deleted-records-card) :is(.record-action-cell,td[data-cell=Action],td[data-cell=\64cd\4f5c]):before{content:none!important;display:none!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.record-list-card,.deleted-records-card) .record-action-cell :is(.record-icon-action,.record-transfer-status-icon){flex:0 0 44px;width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;min-height:44px!important;margin:0!important;border-radius:8px!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.record-list-card,.deleted-records-card) .record-action-cell .deleted-record-date{flex:1 1 150px}body:is(.mobile-layout-mode,.mobile-preview-mode) .record-bulk-toolbar>summary:after{flex:0 0 auto!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.customer-payment-row-card,#editRecordForm [data-edit-customer-payment-row].customer-payment-row-card){gap:7px!important;padding:8px!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.customer-payment-row-card,#editRecordForm [data-edit-customer-payment-row]) .field{gap:4px!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.customer-payment-row-card,#editRecordForm [data-edit-customer-payment-row]) .field>span{font-size:10px!important;line-height:1.08!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.customer-payment-row-card,#editRecordForm [data-edit-customer-payment-row]) :is(select,input){min-height:36px!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.customer-payment-row-card,#editRecordForm [data-edit-customer-payment-row]) .customer-payment-row-card-fields{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;align-items:end!important}@media(max-width:374px){body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.customer-payment-row-card,#editRecordForm [data-edit-customer-payment-row]) .customer-payment-row-card-fields{grid-template-columns:repeat(2,minmax(0,1fr))!important}}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.customer-payment-row-card,#editRecordForm [data-edit-customer-payment-row],.modal-card #editRecordForm [data-edit-customer-payment-row]) .customer-payment-row-card-fields.is-hidden{display:none!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.record-multi-filter,.task-multi-filter,.audit-multi-filter)[open]>:is(.record-multi-panel,.task-multi-panel,.audit-multi-panel){position:fixed!important;left:10px!important;right:10px!important;top:clamp(210px,34dvh,300px)!important;width:auto!important;max-width:none!important;max-height:min(260px,42dvh)!important;overflow:auto!important;transform:none!important;z-index:130!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;padding:8px!important;border-radius:16px!important;box-shadow:0 18px 48px #2a1f2233!important}body.mobile-preview-mode :is(.record-multi-filter,.task-multi-filter,.audit-multi-filter)[open]>:is(.record-multi-panel,.task-multi-panel,.audit-multi-panel){left:50%!important;right:auto!important;width:min(360px,calc(100vw - 24px))!important;max-height:min(260px,calc(100dvh - 210px))!important;transform:translate(-50%)!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.cs-multi-panel,.record-multi-panel,.task-multi-panel,.audit-multi-panel) label{min-height:34px!important;padding:6px 8px!important}body.mobile-layout-mode .range-calendar-panel{top:max(76px,calc(env(safe-area-inset-top) + 70px))!important;left:8px!important;right:8px!important;width:auto!important;max-height:min(430px,calc(100dvh - 92px - env(safe-area-inset-bottom)))!important}body.mobile-preview-mode .range-calendar-panel{top:max(116px,calc(env(safe-area-inset-top) + 108px))!important;left:50%!important;right:auto!important;width:min(360px,calc(100vw - 24px))!important;max-height:min(430px,calc(100dvh - 132px))!important;transform:translate(-50%)!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .range-footer{margin-top:6px!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .range-footer button{min-height:30px!important;padding:5px 8px!important;font-size:11px!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.record-list-card,.deleted-records-card) .details-row :is(.detail-item,.detail-item dd,.record-detail-text,.full-record){min-width:0!important;max-width:100%!important;width:auto!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.record-list-card,.deleted-records-card) .details-row :is(.detail-item dd,.record-detail-text,.full-record){overflow-x:hidden!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .cs-document-summary span{grid-template-columns:minmax(0,1fr)!important;gap:2px!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.cs-compact-row .cs-mini-details,.cs-system-facts){grid-template-columns:repeat(2,minmax(0,1fr))!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .cs-mini-details span.is-long{grid-column:1 / -1}body:is(.mobile-layout-mode,.mobile-preview-mode) .cs-document-timeline{margin-top:8px}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.preview-guideline-split,.preview-guideline-grid,.branch-location-form),body:is(.mobile-layout-mode,.mobile-preview-mode) .branch-location-list>div:not(.empty){grid-template-columns:1fr!important}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.preview-phone-panel,.branch-location-admin-panel,.branch-location-form,.branch-location-address-field,#branchLocationAddress){min-width:0;max-width:100%}body:is(.mobile-layout-mode,.mobile-preview-mode) .branch-location-actions{grid-column:auto;justify-content:stretch}@media(max-width:340px){body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.cs-compact-row .cs-mini-details,.cs-system-facts){grid-template-columns:1fr!important}}
body.has-app{overflow:hidden}.app-shell{display:grid;grid-template-rows:auto auto minmax(0,1fr);height:100dvh;min-width:0}.workbench-header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:20px;padding:8px 24px;min-height:60px;background:var(--panel);border-bottom:1px solid var(--line);position:relative;z-index:900}.workbench-brand{display:flex;align-items:baseline;gap:5px;white-space:nowrap;color:var(--ink);font-size:17px;letter-spacing:-.6px}.workbench-brand b{color:var(--brand);font-size:23px;font-weight:650}.workbench-primary{display:flex;align-items:stretch;justify-content:center;gap:4px;min-width:0}.nav-group-btn{min-height:44px;padding:8px 12px;background:transparent;color:var(--muted);font-size:13px;font-weight:600;white-space:nowrap;border-bottom:2px solid transparent}.nav-group-btn.active{border-bottom-color:var(--brand);color:var(--brand-strong)}.nav-group-btn:hover{background:var(--surface-soft)}.module-icon{display:inline-grid;flex:0 0 1.35em;width:1.35em;min-width:1.35em;height:1.35em;place-items:center;font-size:18px;line-height:1;letter-spacing:0;vertical-align:middle}.module-label,.nav-group-btn,.workbench-subnav .nav-btn,.permission-module-name b,.module-switch-title b{display:inline-flex;align-items:center;gap:7px}.module-label>span:last-child{min-width:0}.workbench-breadcrumb .module-icon{font-size:14px}.workbench-page-title h1{display:flex;align-items:center;gap:10px;min-width:0}.workbench-page-title h1 .module-icon{font-size:26px}.workbench-page-title h1>span:last-child{min-width:0;overflow-wrap:anywhere}.topbar-actions{display:grid;grid-auto-flow:column;grid-auto-columns:max-content;align-items:center;gap:8px;min-width:0}.topbar-actions :is(.sync-trigger,.notification-trigger,.lang-icon,.logout-icon-btn){position:relative;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;border-radius:var(--radius-control);place-content:center}.topbar-actions :is(.sync-trigger,.notification-trigger) b{display:none}.topbar-actions .lang-icon{background:var(--panel)}.admin-switcher{display:grid;gap:2px;width:150px;min-width:0;margin:0}.admin-switcher>span{color:var(--muted);font-size:10px}.admin-switcher select{min-height:32px;height:32px;padding:4px 24px 4px 8px;font-size:12px;font-weight:500;background:var(--panel)}.workbench-subnav{display:flex;min-width:0;gap:16px;padding:0 24px;background:var(--panel);border-bottom:1px solid var(--line)}.workbench-nav-panel{display:flex;min-width:0;overflow-x:auto;overscroll-behavior-x:contain;gap:8px}.workbench-nav-panel[hidden]{display:none}.workbench-subnav .nav-btn{flex:0 0 auto;min-height:44px;padding:10px 8px;border-radius:0;border-bottom:2px solid transparent;background:transparent;color:var(--muted);font-size:13px;font-weight:500;white-space:nowrap}.workbench-subnav .nav-btn.active{color:var(--brand-strong);border-bottom-color:var(--brand)}.workbench-subnav .nav-btn:hover{background:var(--surface-soft)}.main{width:100%;min-width:0;min-height:0;overflow:auto;overscroll-behavior-y:contain;padding:18px max(24px,calc((100vw - 1440px)/2));scroll-padding:20px 0 100px}.main:focus{outline:none}.workbench-page-heading{display:grid;gap:8px;min-width:0;margin-bottom:18px}.workbench-breadcrumb{display:flex;flex-wrap:wrap;gap:7px;color:var(--muted);font-size:11px;line-height:1.5}.workbench-breadcrumb [aria-current]{color:var(--ink)}.workbench-page-title{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}.topbar-title h1{margin:0;font-size:clamp(22px,1.8vw,28px);font-weight:650;line-height:1.25;letter-spacing:-.5px}.topbar-badges{display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-width:0}.topbar-badges .badge{font-size:11px;font-weight:600;padding:5px 9px}.workbench-page-description{margin:-4px 0 0;color:var(--muted);font-size:13px;line-height:1.5}.workbench-footer{padding:24px 0 8px;color:var(--muted);font-size:11px}.skip-to-content{position:fixed;top:-100px;left:16px;z-index:10000;padding:12px 18px;background:var(--brand);color:#fff;border-radius:8px}.skip-to-content:focus{top:8px}@media(min-width:761px)and (max-width:1200px){.workbench-header{gap:12px}.workbench-primary{grid-column:1 / -1;grid-row:2;justify-content:flex-start}.topbar-actions{grid-column:3}}body:is(.mobile-layout-mode,.mobile-preview-mode) .app-shell{grid-template-rows:auto minmax(0,1fr);padding-bottom:calc(80px + env(safe-area-inset-bottom))}body:is(.mobile-layout-mode,.mobile-preview-mode) .app-shell:has(.store-db-shell.is-reading){padding-bottom:0}body:is(.mobile-layout-mode,.mobile-preview-mode) .workbench-header{grid-template-columns:1fr;gap:6px;padding:max(8px,env(safe-area-inset-top)) 12px 8px;min-height:0}body:is(.mobile-layout-mode,.mobile-preview-mode) .workbench-brand{font-size:14px}body:is(.mobile-layout-mode,.mobile-preview-mode) .workbench-brand b{font-size:19px}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.workbench-primary,.workbench-subnav){display:none}body:is(.mobile-layout-mode,.mobile-preview-mode) .topbar-actions{grid-template-columns:minmax(0,1fr) repeat(4,44px);gap:6px;width:100%}body:is(.mobile-layout-mode,.mobile-preview-mode) .topbar-actions:not(:has(.admin-switcher)){grid-template-columns:repeat(4,44px);justify-content:end}body:is(.mobile-layout-mode,.mobile-preview-mode) .admin-switcher{width:100%}body:is(.mobile-layout-mode,.mobile-preview-mode) .admin-switcher>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}body:is(.mobile-layout-mode,.mobile-preview-mode) .admin-switcher select{height:44px;min-height:44px;font-size:13px}body:is(.mobile-layout-mode,.mobile-preview-mode) .main{height:auto;max-width:100%;padding:16px 12px 24px;scroll-padding-top:16px;scroll-padding-bottom:24px}body:is(.mobile-layout-mode,.mobile-preview-mode) .main:after{content:none}body:is(.mobile-layout-mode,.mobile-preview-mode) .workbench-page-heading{gap:10px;margin-bottom:16px}body:is(.mobile-layout-mode,.mobile-preview-mode) .workbench-page-title{gap:8px}body:is(.mobile-layout-mode,.mobile-preview-mode) .topbar-title h1{font-size:24px;line-height:1.25}body:is(.mobile-layout-mode,.mobile-preview-mode) .workbench-breadcrumb{display:none}body:is(.mobile-layout-mode,.mobile-preview-mode) .workbench-page-description{font-size:12px}body:is(.mobile-layout-mode,.mobile-preview-mode) .topbar-actions .lang-icon b{display:none}body:is(.mobile-layout-mode,.mobile-preview-mode) .topbar-actions .lang-icon{grid-template-rows:1fr}body:is(.mobile-layout-mode,.mobile-preview-mode).has-modal-open .mobile-bottom-nav{visibility:hidden}@media(prefers-reduced-motion:no-preference){.nav-group-btn{transition:background-color .15s ease}}
.store-db-shell{display:grid;gap:12px}.store-db-manual-entry,.store-db-import-entry,.store-db-batch-photo-panel{min-width:0;border:1px solid var(--line);border-radius:8px;overflow:hidden}.store-db-manual-entry{border-color:#bcd8d3;background:var(--info-bg)}.store-db-import-entry,.store-db-batch-photo-panel{background:#fff}.store-db-manual-entry>summary,.store-db-import-entry>summary,.store-db-batch-photo-panel>summary{min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:9px;align-items:center;padding:11px 12px;cursor:pointer;color:var(--ink)}.store-db-manual-entry>summary::marker,.store-db-import-entry>summary::marker,.store-db-batch-photo-panel>summary::marker{content:""}.store-db-manual-entry>summary::-webkit-details-marker,.store-db-import-entry>summary::-webkit-details-marker,.store-db-batch-photo-panel>summary::-webkit-details-marker{display:none}.store-db-manual-entry>summary span,.store-db-import-entry>summary span,.store-db-batch-photo-panel>summary span{width:34px;height:34px;border-radius:12px;display:grid;place-items:center;background:var(--store-bg);color:var(--store);font-size:24px;font-weight:950}.store-db-manual-entry>summary b,.store-db-manual-entry>summary small,.store-db-import-entry>summary b,.store-db-import-entry>summary small,.store-db-batch-photo-panel>summary b,.store-db-batch-photo-panel>summary small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.store-db-manual-entry>summary b,.store-db-import-entry>summary b,.store-db-batch-photo-panel>summary b{font-size:15px;font-weight:950}.store-db-manual-entry>summary small,.store-db-import-entry>summary small,.store-db-batch-photo-panel>summary small{justify-self:end;color:var(--muted);font-size:11px;font-weight:900;text-transform:none}.store-db-manual-form{display:grid;gap:10px;padding:0 12px 12px}.store-db-manual-entry:not([open])>.store-db-manual-form{display:none}.store-db-manual-grid{min-width:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.store-db-manual-grid .field,.store-db-manual-photo-field{margin:0;min-width:0}.store-db-manual-grid input,.store-db-manual-grid textarea,.store-db-manual-grid select{min-width:0;min-height:46px}.store-db-manual-grid textarea{resize:vertical}.store-db-kcode-field,.store-db-content-field,.store-db-remark-field,.store-db-branch-allocation-field{grid-column:span 2}.store-db-left-field,.store-db-right-field{grid-column:auto}.store-db-manual-photo-field .photo-card-grid{grid-template-columns:repeat(auto-fill,minmax(126px,1fr));gap:8px}.store-db-manual-photo-field .photo-add-card,.store-db-manual-photo-field .photo-preview-card{width:min(150px,100%);min-height:112px}.store-db-manual-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.store-db-edit-modal .modal-head{margin-bottom:10px}.store-db-edit-modal .modal-head p{min-width:0;overflow-wrap:anywhere;font-weight:850}.store-db-edit-policy-note{margin:0;padding:8px 10px;border:1px solid #b9d8d2;border-radius:8px;background:#eef8f6;color:#315e56;font-size:11px;font-weight:850;line-height:1.35}.store-db-edit-grid input[readonly]{background:#eef7f5;color:#496b64;cursor:default}.store-db-stock-locked,.store-db-stock-locked[readonly],.store-db-stock-locked[aria-readonly=true]{border-color:#b9d8d2!important;background:#e5f2efe6!important;color:#42675f!important;cursor:not-allowed}.store-db-edit-photo-policy{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:9px 10px;border:1px solid #eadbdd;border-radius:14px;background:#fffaf7}.store-db-edit-photo-policy>div{min-width:0;display:grid;gap:5px}.store-db-edit-photo-policy b{color:var(--brand);font-size:11px;font-weight:950;text-transform:none}.store-db-edit-existing-photos{min-width:0;display:flex;flex-wrap:wrap;gap:5px}.store-db-edit-existing-photos span{min-width:0;max-width:180px;padding:3px 7px;border-radius:999px;background:var(--soft-accent-bg);color:var(--brand);font-size:10px;font-weight:900;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.store-db-edit-replace-toggle{min-width:180px;margin:0;justify-content:center}.store-db-edit-replace-toggle span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.store-db-set-editor{min-width:0;grid-column:1 / -1;display:grid;gap:9px;padding:11px;border:1px solid #c8deda;border-radius:8px;background:#f1f9f8e6}.store-db-set-editor-head{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.8fr);gap:10px;align-items:end}.store-db-set-editor-head>div{min-width:0}.store-db-set-editor-head h3{margin:2px 0 0;font-size:17px}.store-db-set-editor-head p{margin:0;color:var(--muted);font-size:11px;font-weight:800;line-height:1.35}.store-db-set-relationships{min-width:0;display:grid;gap:8px}.store-db-set-relation-card{min-width:0;display:grid;gap:7px;padding:9px;border:1px solid #d9e7e4;border-radius:8px;background:#fffffff0}.store-db-set-relation-card>header{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}.store-db-set-relation-card>header>div:first-child{min-width:0;display:flex;flex-wrap:wrap;gap:7px;align-items:center}.store-db-set-relation-card>header b{min-width:0;overflow-wrap:anywhere}.store-db-set-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:5px}.store-db-set-actions .icon-btn{width:34px;min-width:34px;height:34px;padding:0}.store-db-set-status-btn{min-width:74px;min-height:34px;padding:5px 9px}.store-db-set-status-btn.is-online{border-color:#abd7c4;background:#e9f7ef;color:#28734e}.store-db-set-status-btn.is-offline{border-color:#ded4d4;background:#f4eeee;color:#7d6969}.store-db-set-table-wrap{min-width:0;max-width:100%;overflow:auto;border:1px solid #e8dcdd;border-radius:8px;background:#fff;overscroll-behavior:contain}.store-db-set-table-wrap table{width:100%;min-width:520px;border-collapse:collapse}.store-db-set-table-wrap th,.store-db-set-table-wrap td{padding:7px 8px;border-bottom:1px solid #eee3e4;text-align:left;vertical-align:middle;font-size:11px;line-height:1.25}.store-db-set-table-wrap th{color:var(--muted);font-size:9.5px;font-weight:950}.store-db-set-table-wrap tr:last-child td{border-bottom:0}.store-db-set-table-wrap td:first-child{width:30%}.store-db-set-table-wrap td small{display:block;margin-top:2px;color:var(--brand);font-size:9px;font-weight:900}.store-db-set-builder{min-width:0;display:grid;gap:8px;padding:10px;border:1px dashed #aacfc8;border-radius:8px;background:#fff}.store-db-set-builder-fields{min-width:0;display:grid;grid-template-columns:minmax(160px,.8fr) minmax(120px,.38fr) minmax(240px,1.25fr);gap:8px;align-items:end}.store-db-set-builder-fields .field{min-width:0;margin:0}.store-db-set-search-field>div{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) 42px;gap:5px}.store-db-set-search-field .icon-btn{min-width:42px;padding:0}.store-db-set-candidates{min-width:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:6px}.store-db-set-candidate{min-width:0;min-height:54px;display:grid;gap:2px;padding:7px 9px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);text-align:left;cursor:pointer}.store-db-set-candidate b,.store-db-set-candidate span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.store-db-set-candidate b{color:var(--brand);font-size:11px}.store-db-set-candidate span{font-size:10px;font-weight:800}.store-db-set-candidate.is-selected{border-color:#75aaa0;background:#dcefeb;color:#234f48;box-shadow:inset 0 0 0 1px #75aaa0}.store-db-set-error{margin:0;padding:7px 9px;border-radius:8px;background:#fff0ed;color:#a53f34;font-size:11px;font-weight:850}.store-db-set-builder-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}.store-db-import-controls{display:grid;grid-template-columns:minmax(220px,1fr) auto;gap:10px;align-items:end;padding:0 12px 10px}.store-db-import-controls .field{margin:0;min-width:0}.store-db-import-preview{display:grid;gap:10px;padding:0 12px 12px}.store-db-import-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(112px,1fr));gap:8px}.store-db-import-summary>div{min-width:0;display:grid;gap:2px;padding:9px 10px;border:1px solid var(--line);border-radius:12px;background:#fffaf7}.store-db-import-summary span{min-width:0;color:var(--muted);font-size:10px;font-weight:950;text-transform:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.store-db-import-summary b{color:var(--brand);font-size:16px;line-height:1.05}.store-db-import-policy{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px 12px;border:1px solid #ead6d3;border-radius:14px;background:#ffffffd1}.store-db-import-policy div{min-width:0;display:grid;gap:3px}.store-db-import-policy b{color:var(--brand);font-size:12px;font-weight:950}.store-db-import-policy span{min-width:0;color:var(--ink);font-size:12px;line-height:1.35;overflow-wrap:break-word}.store-db-batch-photo-controls{min-width:0;display:grid;grid-template-columns:repeat(2,minmax(150px,1fr)) repeat(3,auto);gap:8px;align-items:center;padding:0 12px 10px}.store-db-file-button{position:relative;overflow:hidden;justify-content:center}.store-db-file-button input[type=file]{position:absolute;inset:0;opacity:0;cursor:pointer}.store-db-batch-photo-status{margin:0 12px 10px;padding:8px 10px;border:1px solid #eadbdd;border-radius:12px;background:#ffffffd1;color:var(--muted);font-size:12px;font-weight:850;line-height:1.35}.store-db-batch-photo-list{min-width:0;display:grid;gap:6px;padding:0 12px 12px}.store-db-batch-photo-row{position:relative;min-width:0;display:grid;grid-template-columns:34px minmax(120px,1.2fr) minmax(110px,.75fr) minmax(150px,1fr) auto minmax(160px,1.05fr);gap:8px;align-items:center;padding:8px 10px;border:1px solid var(--line);border-radius:12px;background:#ffffffe6}.store-db-batch-photo-row.is-matched{border-color:#cfe5e1;background:#f5fcfaf0}.store-db-batch-photo-row.is-done{border-color:#bde3d1;background:#effaf3f2}.store-db-batch-photo-row.is-unmatched,.store-db-batch-photo-row.is-missing,.store-db-batch-photo-row.is-blocked{border-color:#f2c8c1;background:#fff6f4f2}.store-db-row-select{position:relative;display:grid;place-items:center;width:30px;height:30px;border:1px solid var(--line);border-radius:8px;background:#fff;cursor:pointer}.store-db-row-select>input{position:absolute;inset:0;inline-size:100%;block-size:100%;margin:0;opacity:0;cursor:pointer}.store-db-row-select:has(input:checked),.store-db-batch-photo-row:has(.store-db-row-select input:checked){border-color:var(--selection-border);background:var(--selection-bg);box-shadow:inset 0 0 0 2px #934f621f}.store-db-row-select[aria-pressed=true],.store-db-batch-photo-row.is-selected{border-color:var(--selection-border);background:var(--selection-bg);box-shadow:inset 0 0 0 2px #934f621f}.store-db-product-sync-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(105px,1fr));gap:8px;margin:10px 0}.store-db-product-sync-metrics>span{min-width:0;padding:9px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}.store-db-product-sync-metrics small,.store-db-product-sync-metrics b{display:block;overflow-wrap:anywhere}.store-db-product-sync-report{margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}.store-db-product-report-filters{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}.store-db-product-report-row{display:grid;grid-template-columns:minmax(90px,.7fr) minmax(70px,.5fr) minmax(160px,1.5fr) minmax(140px,1fr) auto;gap:8px;align-items:center;padding:8px;border-bottom:1px solid var(--line)}.store-db-product-report-key{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.store-db-product-report-review-copy{min-width:0;overflow-wrap:anywhere}.store-db-product-report-actions{display:inline-flex;justify-content:flex-end;gap:5px;align-items:center}.store-db-product-report-row.is-accepted{background:#ebf8f1c7}.store-db-product-report-row.is-rejected{background:#fdf1efc2}.store-db-product-report-actions .status-badge.is-accepted{color:#2f755a;background:#e7f6ee}.store-db-product-report-actions .status-badge.is-rejected{color:#984556;background:#f9e8eb}.store-db-product-report-list{max-height:420px;overflow:auto;overscroll-behavior:contain}@media(max-width:760px){.store-db-product-sync-metrics,.store-db-product-report-row{grid-template-columns:repeat(2,minmax(0,1fr))}.store-db-product-report-key{grid-column:1 / -1}.store-db-product-report-actions{justify-content:flex-start}}.store-db-product-asset-row{grid-template-columns:34px minmax(120px,1.2fr) minmax(100px,.7fr) minmax(140px,1fr) auto minmax(74px,auto) minmax(88px,auto) minmax(90px,.7fr)}.store-db-product-order,.store-db-product-primary{min-width:0;display:inline-grid;grid-auto-flow:column;gap:5px;align-items:center;color:var(--muted);font-size:11px;font-weight:900;white-space:nowrap}.store-db-product-order input[type=number]{inline-size:52px;min-height:30px;padding:4px 6px;border:1px solid var(--line);border-radius:9px;background:#ffffffe6;font:inherit;font-size:12px}.store-db-batch-file,.store-db-batch-item,.store-db-batch-target,.store-db-batch-photo-row small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.store-db-batch-file,.store-db-batch-item{color:var(--ink);font-weight:950}.store-db-batch-target{color:var(--muted);font-size:12px;font-weight:850}.store-db-batch-photo-row small{color:var(--muted);font-size:11px;font-weight:850}.store-db-deleted-list{display:grid;gap:8px;max-height:min(520px,58vh);overflow:auto;padding-right:2px}.store-db-deleted-row{min-width:0;display:grid;grid-template-columns:minmax(170px,.9fr) minmax(0,1.8fr) auto;gap:10px;align-items:center;padding:10px;border:1px solid var(--line);border-radius:14px;background:#ffffffe6}.store-db-deleted-row>div:first-child,.store-db-deleted-row dl{min-width:0}.store-db-deleted-row>div:first-child{display:grid;gap:2px}.store-db-deleted-row>div:first-child b,.store-db-deleted-row>div:first-child span,.store-db-deleted-row>div:first-child small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.store-db-deleted-row>div:first-child b{color:var(--brand);font-weight:950}.store-db-deleted-row>div:first-child small{color:var(--muted);font-size:11px;font-weight:850}.store-db-deleted-row dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:0}.store-db-deleted-row dl>div{min-width:0;padding:7px 8px;border:1px solid rgba(143,79,95,.16);border-radius:10px;background:#fffaf8c7}.store-db-deleted-row dt,.store-db-deleted-row dd{min-width:0;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.store-db-deleted-row dt{color:var(--muted);font-size:9.5px;font-weight:950}.store-db-deleted-row dd{color:var(--ink);font-size:12px;font-weight:900}@media(max-width:760px){.store-db-deleted-row{grid-template-columns:1fr;align-items:stretch}.store-db-deleted-row dl{grid-template-columns:repeat(2,minmax(0,1fr))}.store-db-deleted-row .store-db-actions{justify-content:flex-end}}body.mobile-preview-mode .store-db-deleted-row{grid-template-columns:1fr;align-items:stretch}body.mobile-preview-mode .store-db-deleted-row dl{grid-template-columns:repeat(2,minmax(0,1fr))}.store-db-import-policy .btn[disabled]{opacity:.72;cursor:not-allowed}.store-db-import-applied,.store-db-result-limit{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;padding:9px 10px;border:1px solid #d8ead6;border-radius:12px;background:#f7fff7;color:#315c34;font-size:12px;font-weight:850;line-height:1.35;overflow-wrap:break-word}.store-db-import-warning{min-width:0;padding:9px 10px;border:1px solid #f0d5a8;border-radius:12px;background:#fff8e8;color:#744b00;font-size:12px;font-weight:850;line-height:1.35;overflow-wrap:break-word}.store-db-import-applied{display:grid;gap:3px}.store-db-import-applied b{color:#315c34;font-size:11px;font-weight:950;text-transform:none}.store-db-import-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.store-db-import-groups section{min-width:0;border:1px solid var(--line);border-radius:14px;padding:10px;background:#fffc}.store-db-import-groups .store-db-import-wide{grid-column:1 / -1}.store-db-import-groups h4{margin:0 0 8px;color:var(--brand);font-size:13px;line-height:1.15}.store-db-import-rows{min-width:0;display:grid;gap:6px}.store-db-import-row{min-width:0;display:grid;grid-template-columns:104px 68px minmax(0,1fr);gap:8px;align-items:center;padding:7px 8px;border:1px solid var(--line);border-radius:10px;background:#fff}.store-db-import-row b,.store-db-import-row span,.store-db-import-row em{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.store-db-import-row b{color:var(--brand);font-size:12px}.store-db-import-row span{color:var(--muted);font-size:11px;font-weight:950;text-transform:none}.store-db-import-row em{color:var(--ink);font-style:normal;font-size:12px;font-weight:850}.store-db-stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px}.store-db-stat-grid>button{min-width:0;display:grid;gap:2px;padding:9px 10px;border:1px solid var(--line);border-radius:8px;background:var(--surface-raised);text-align:left;cursor:pointer}.store-db-stat-grid>button:hover{border-color:#9d4a6073;box-shadow:0 8px 18px #9d4a6017}.store-db-stat-grid span{min-width:0;color:var(--muted);font-size:11px;font-weight:900;text-transform:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.store-db-stat-grid b{color:var(--brand);font-size:20px;line-height:1.05}.store-db-stat-grid small{min-width:0;color:var(--muted);font-size:9px;font-weight:800;line-height:1.15;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.store-db-toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:end;padding:12px;border:1px solid var(--line);border-radius:var(--radius-panel);background:var(--surface-raised)}.store-db-filter-field{display:grid;gap:5px;min-width:0;flex:1 1 140px}.store-db-filter-field>span{color:var(--muted);font-size:12px;font-weight:600}.store-db-search-field{flex:2 1 280px}.store-db-toolbar :is(input,select,button,.store-db-multi-filter){min-width:0;min-height:44px}.store-db-toolbar .icon-btn{flex:0 0 44px}.store-db-more-filters{position:relative;flex:0 0 auto;min-width:0}.store-db-more-filters>summary{display:flex;gap:12px;align-items:center;justify-content:space-between;min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:var(--radius-control);cursor:pointer;font-size:13px;list-style:none}.store-db-more-filters>summary::-webkit-details-marker{display:none}.store-db-more-filters>summary:after{content:"\2304"}.store-db-more-filters[open]>summary{color:var(--brand);border-color:var(--brand-2)}.store-db-more-filters[open]>summary:after{content:"\2303"}.store-db-advanced-fields{position:absolute;z-index:70;right:0;top:calc(100% + 8px);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:min(620px,calc(100vw - 72px));gap:12px;padding:16px;border:1px solid var(--line);border-radius:var(--radius-panel);background:var(--panel);box-shadow:var(--shadow-raised)}.store-db-more-filters:not([open])>.store-db-advanced-fields{display:none}.store-db-empty-state{gap:5px;min-height:116px;border:1px dashed var(--line);border-radius:8px;background:var(--surface-soft)}.store-db-empty-state b{color:var(--brand);font-size:15px;line-height:1.15}.store-db-empty-state span{max-width:720px;color:var(--muted);font-size:13px;font-weight:750;line-height:1.4}.store-db-empty-state.is-loading{border-style:solid;border-color:#b9d9ca;background:#f4fbf7}.store-db-empty-state.is-loading b{color:#356b54}.store-db-empty-state.is-error{border-style:solid;border-color:#e2a6aa;background:#fff5f5}.store-db-empty-state.is-error b{color:#9b3441}.store-db-card-details-body{min-width:0;display:grid;gap:7px}.store-db-actions{display:flex;justify-content:flex-end;gap:6px;min-width:0}.store-db-actions .store-db-icon-action{width:30px;min-width:30px;height:30px;padding:0;display:inline-grid;place-items:center;font-weight:950}.store-db-section-title{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:10px;margin:2px 0 8px;color:var(--brand)}.store-db-section-title span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:950;text-transform:none}.store-db-section-title b{flex:0 0 auto;min-width:28px;border-radius:999px;padding:3px 8px;background:var(--soft-accent-bg);text-align:center;font-size:12px}.store-db-set-section,.store-db-item-section{min-width:0;display:grid;gap:8px}.store-db-set-grid{min-width:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(320px,100%),1fr));gap:10px}.store-db-set-card{min-width:0;display:grid;gap:9px;padding:11px;border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:0 6px 18px #2a1f220d}.store-db-set-head{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:start}.store-db-set-head h3{margin:1px 0 0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:17px;line-height:1.15}.store-db-set-head .status-badge{max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;justify-self:end}.store-db-set-summary{min-width:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(110px,100%),1fr));gap:6px}.store-db-set-summary>div{min-width:0;display:grid;gap:2px;padding:7px 8px;border:1px solid var(--line);border-radius:8px;background:#fff}.store-db-set-summary span{color:var(--muted);font-size:9.5px;font-weight:950;text-transform:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.store-db-set-summary b{min-width:0;color:var(--ink);font-size:12px;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.store-db-set-components{min-width:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:7px;margin:0;padding:0;list-style:none}.store-db-set-components li{min-width:0;display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:8px;align-items:center;padding:7px;border:1px solid var(--line);border-radius:8px;background:#ffffffe6}.store-db-set-mini-photo{width:42px;height:42px;border-radius:10px;overflow:hidden;display:grid;place-items:center;background:var(--soft-accent-bg);color:var(--brand);font-size:12px;font-weight:950}.store-db-set-mini-photo img{width:100%;height:100%;object-fit:cover;display:block}.store-db-set-component-main{min-width:0;display:grid;gap:2px}.store-db-set-component-main b,.store-db-set-component-main span,.store-db-set-component-main small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.store-db-set-component-main b{color:var(--ink);font-size:12px;font-weight:950}.store-db-set-component-main span{color:var(--ink);font-size:11px;font-weight:850}.store-db-set-component-main small{color:var(--muted);font-size:10px;font-weight:850}.store-db-set-components .status-badge{max-width:86px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;justify-self:end}.store-db-set-foot{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:8px}.store-db-set-foot span{min-width:0;color:var(--muted);font-size:11px;font-weight:850;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:760px){.store-db-import-controls,.store-db-import-groups,.store-db-import-policy{grid-template-columns:1fr}.store-db-import-row{grid-template-columns:90px 54px minmax(0,1fr);gap:6px}.store-db-import-row b,.store-db-import-row span,.store-db-import-row em{font-size:11px}.store-db-manual-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.store-db-kcode-field,.store-db-content-field,.store-db-branch-allocation-field,.store-db-optional-panel{grid-column:1 / -1}.store-db-optional-panel>summary{padding:8px}.store-db-optional-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:0 8px 8px}.store-db-optional-grid .store-db-dimension-unit{grid-column:1 / -1}.store-db-set-editor{padding:8px}.store-db-set-editor-head,.store-db-set-relation-card>header{grid-template-columns:minmax(0,1fr);align-items:start}.store-db-set-actions{justify-content:flex-start}.store-db-set-builder{padding:8px}.store-db-set-builder-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.store-db-set-search-field{grid-column:1 / -1}.store-db-set-candidates{grid-template-columns:repeat(2,minmax(0,1fr))}.store-db-set-table-wrap table{min-width:460px}.store-db-set-builder-actions .btn{flex:1 1 140px}}@media(max-width:430px){.store-db-set-builder-fields{grid-template-columns:1fr}.store-db-set-search-field{grid-column:auto}.store-db-set-candidates{grid-template-columns:1fr}}.store-db-barcodes{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin-top:8px}.store-db-barcodes>small{color:var(--muted)}.store-db-barcode-chip{display:inline-flex;align-items:baseline;gap:6px;padding:2px 8px;border:1px solid #d8e3e1;border-radius:999px;background:#f6faf9}.store-db-barcode-chip[data-primary="1"]{border-color:#bcd8d3;background:#eef7f5}.store-db-barcode-chip b{font-variant-numeric:tabular-nums}.store-db-barcode-empty{color:var(--muted)}.store-db-barcode-find{display:flex;flex-wrap:wrap;gap:4px;min-width:0}.store-db-barcode-find>input[type=search]{flex:1;width:0;min-width:100px}.store-db-barcode-find>[role=status],.store-db-barcode-find>[data-store-db-barcode-candidates]{flex-basis:100%}.store-db-barcode-find>[data-store-db-barcode-candidates]{display:flex;flex-wrap:wrap;gap:6px}.store-db-barcode-editor{padding:12px 0;border-top:1px solid var(--line)}.store-db-barcode-editor ul{display:grid;gap:4px;margin:0 0 8px;padding:0;list-style:none}.store-db-barcode-editor li{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.store-db-barcode-editor li[data-inactive="1"] b{text-decoration:line-through;color:var(--muted)}.store-db-barcode-editor>div{display:flex;gap:6px}.store-db-barcode-editor input{min-width:0;flex:1}.store-db-optional-panel{min-width:0;grid-column:1 / -1;border:1px solid #d5e5e2;border-radius:8px;background:#eff8f7d1;overflow:hidden}.store-db-optional-panel>summary{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;align-items:center;padding:9px 10px;color:#315e56;cursor:pointer;list-style:none}.store-db-optional-panel>summary::-webkit-details-marker{display:none}.store-db-optional-panel>summary span{min-width:0;font-size:12px;font-weight:950;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.store-db-optional-panel>summary small{color:#476a64;font-size:10px;font-weight:850}.store-db-optional-panel>summary:after{content:"\2304";grid-column:3;grid-row:1;justify-self:end;margin-left:2px;font-weight:950}.store-db-optional-panel[open]>summary:after{transform:rotate(180deg)}.store-db-optional-grid{min-width:0;display:grid;grid-template-columns:.72fr repeat(3,minmax(0,1fr));gap:8px;padding:0 10px 10px;border-top:1px solid rgba(185,216,210,.72)}.store-db-optional-grid .field{min-width:0;margin:9px 0 0}.store-db-dimension-field input{font-variant-numeric:tabular-nums}.store-db-optional-grid .store-db-remark-field{grid-column:1 / -1}.store-db-optional-grid .store-db-remark-field textarea{min-height:76px}.store-db-manual-entry .store-db-manual-grid,.store-db-edit-modal .store-db-manual-grid,.shared-store-item-modal .store-db-manual-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;align-items:start}.store-db-stock-locked,.store-db-stock-locked[readonly],.store-db-stock-locked[disabled],.store-db-stock-locked[aria-readonly=true],.store-db-manual-grid :is(input,select,textarea).readonly-field,.store-db-manual-grid :is(input,select,textarea).locked-field{border-color:#b9d8d2!important;background:linear-gradient(145deg,#e5f2eff5,#eef7f5e6)!important;color:#42675f!important;cursor:not-allowed!important}.store-db-branch-location{min-height:74px!important;resize:none!important}@media(max-width:760px){.store-db-batch-photo-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.store-db-batch-photo-controls [data-store-db-batch-submit]{grid-column:1 / -1}.store-db-batch-photo-row{grid-template-columns:24px minmax(0,1fr) auto}.store-db-batch-item,.store-db-batch-target,.store-db-batch-photo-row small{grid-column:2 / -1;white-space:normal;overflow-wrap:anywhere}.store-db-manual-entry .store-db-manual-grid,.store-db-edit-modal .store-db-manual-grid,.shared-store-item-modal .store-db-manual-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}.store-db-shell .store-db-chip-row{display:flex;flex-wrap:wrap;gap:var(--space-2, 8px);margin-bottom:var(--space-3, 12px)}.store-db-shell .store-db-chip{display:inline-flex;align-items:center;gap:var(--space-1, 4px);min-height:36px;padding:0 var(--space-3, 12px);border:1px solid var(--line, #ead7d9);border-radius:var(--radius-pill, 999px);background:var(--surface-raised, #fff);color:var(--ink, #2b2225);font:inherit;font-size:var(--text-sm, 12px);font-weight:800;cursor:pointer}.store-db-shell .store-db-chip>b{color:var(--muted, #76686c);font-weight:800}.store-db-shell .store-db-chip.is-active{border-color:var(--selection-border, #d1bdc4);background:var(--selection-bg, #f8f5f6);color:var(--selection-ink, #2b2225)}.store-db-shell .store-db-chip.is-active>b{color:var(--brand, #934f62)}.store-db-shell .store-db-chip-reset{min-height:36px;padding:0 var(--space-3, 12px);border:0;background:none;color:var(--brand, #934f62);font:inherit;font-size:var(--text-sm, 12px);font-weight:800;cursor:pointer}@media(max-width:760px){.store-db-shell .store-db-chip-row{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain}.store-db-shell .store-db-chip,.store-db-shell .store-db-chip-reset{flex:0 0 auto;min-height:var(--control-h-touch, 44px)}}.store-db-inventory-panel{margin:12px 0;border:1px solid var(--line, #ead7d9);background:#eff8f6b8}.store-db-inventory-panel>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;cursor:pointer;font-weight:800}.store-db-inventory-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:0 12px 10px}.store-db-inventory-totals>span,.store-db-inventory-row{border:1px solid rgba(83,132,121,.25);background:#ffffffd1}.store-db-inventory-totals>span{display:grid;gap:2px;padding:8px}.store-db-inventory-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;gap:8px;padding:0 12px 12px;align-items:end}.store-db-inventory-form label{display:grid;gap:4px;min-width:0}.store-db-inventory-form label>span{color:var(--muted, #76686c);font-size:11px;font-weight:800}.store-db-inventory-form input,.store-db-inventory-form select{width:100%;min-width:0}.store-db-inventory-form [hidden]{display:none}.store-db-inventory-list{display:grid;gap:6px;padding:0 12px 12px}.store-db-inventory-row{display:grid;grid-template-columns:minmax(130px,1.4fr) minmax(70px,.7fr) repeat(3,minmax(72px,.65fr));gap:8px;align-items:center;padding:8px}.store-db-inventory-row>span{min-width:0;overflow-wrap:anywhere}.store-db-inventory-row small,.store-db-inventory-totals small{display:block;color:var(--muted, #76686c)}.store-db-inventory-focus{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--space-2, 8px);margin:0 var(--space-3, 12px) var(--space-2, 8px);padding:var(--space-2, 8px);border:1px solid var(--info, #4a6fa5);border-radius:var(--radius-sm, 8px);background:var(--info-bg, rgba(74, 111, 165, .08))}.store-db-inventory-focus>span{min-width:0;font-size:var(--text-sm, 12px);font-weight:800;overflow-wrap:anywhere}.store-db-inventory-focus>button{min-height:var(--control-h-compact, 32px)}@media(max-width:760px){.store-db-inventory-form{grid-template-columns:repeat(2,minmax(0,1fr));padding-inline:8px}.store-db-inventory-reason,.store-db-inventory-form>button{grid-column:1 / -1}.store-db-inventory-row{grid-template-columns:minmax(0,1fr) minmax(64px,.45fr) repeat(3,minmax(54px,.4fr));gap:5px;font-size:11px}.store-db-inventory-panel>summary,.store-db-inventory-list,.store-db-inventory-totals{padding-left:8px;padding-right:8px}.store-db-inventory-focus{margin-inline:8px}}body:is(.mobile-layout-mode,.mobile-preview-mode) .store-db-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body:is(.mobile-layout-mode,.mobile-preview-mode) .store-db-manual-entry>summary{grid-template-columns:30px minmax(0,1fr) auto;padding:8px}body:is(.mobile-layout-mode,.mobile-preview-mode) .store-db-manual-entry>summary span{width:30px;height:30px;border-radius:10px;font-size:20px}body:is(.mobile-layout-mode,.mobile-preview-mode) .store-db-manual-entry>summary b{font-size:13px}body:is(.mobile-layout-mode,.mobile-preview-mode) .store-db-manual-entry>summary small{max-width:88px;font-size:9px}body:is(.mobile-layout-mode,.mobile-preview-mode) .store-db-manual-form{gap:8px;padding:0 8px 8px}body:is(.mobile-layout-mode,.mobile-preview-mode) .store-db-manual-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.store-db-kcode-field,.store-db-content-field,.store-db-remark-field,.store-db-branch-allocation-field,.store-db-left-field,.store-db-right-field){grid-column:1 / -1}body:is(.mobile-layout-mode,.mobile-preview-mode) .store-db-manual-grid :is(input,textarea){min-height:44px!important;font-size:16px!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .store-db-manual-photo-field .photo-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .store-db-manual-photo-field :is(.photo-add-card,.photo-preview-card){width:100%!important;min-height:92px!important}body:is(.mobile-layout-mode,.mobile-preview-mode) .store-db-manual-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}body:is(.mobile-layout-mode,.mobile-preview-mode) .store-db-edit-modal{width:min(430px,calc(100vw - 16px));padding:10px}body:is(.mobile-layout-mode,.mobile-preview-mode) .store-db-edit-photo-policy{grid-template-columns:1fr;gap:7px;padding:8px}body:is(.mobile-layout-mode,.mobile-preview-mode) .store-db-edit-existing-photos{gap:4px}body:is(.mobile-layout-mode,.mobile-preview-mode) .store-db-edit-existing-photos span{max-width:132px;font-size:9px}body:is(.mobile-layout-mode,.mobile-preview-mode) .store-db-edit-replace-toggle{min-width:0;justify-content:flex-start}body:is(.mobile-layout-mode,.mobile-preview-mode) .store-db-set-grid{grid-template-columns:1fr;gap:8px}body:is(.mobile-layout-mode,.mobile-preview-mode) .store-db-set-card{gap:7px;padding:8px;border-radius:13px}body:is(.mobile-layout-mode,.mobile-preview-mode) .store-db-set-head{grid-template-columns:minmax(0,1fr) auto}body:is(.mobile-layout-mode,.mobile-preview-mode) .store-db-set-head h3{font-size:14px}body:is(.mobile-layout-mode,.mobile-preview-mode) .store-db-set-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}body:is(.mobile-layout-mode,.mobile-preview-mode) .store-db-set-components{grid-template-columns:1fr;gap:5px}body:is(.mobile-layout-mode,.mobile-preview-mode) .store-db-set-components li{grid-template-columns:36px minmax(0,1fr) auto;gap:6px;padding:6px}body:is(.mobile-layout-mode,.mobile-preview-mode) .store-db-set-mini-photo{width:36px;height:36px;border-radius:9px}body:is(.mobile-layout-mode,.mobile-preview-mode) .store-db-set-foot{display:grid;grid-template-columns:minmax(0,1fr) auto}body:is(.mobile-layout-mode,.mobile-preview-mode) .store-db-toolbar{gap:8px;padding:10px}body:is(.mobile-layout-mode,.mobile-preview-mode) .store-db-filter-field{flex:1 1 calc(50% - 8px)}body:is(.mobile-layout-mode,.mobile-preview-mode) .store-db-search-field{flex-basis:100%}body:is(.mobile-layout-mode,.mobile-preview-mode) .store-db-more-filters{flex:1 1 120px}body:is(.mobile-layout-mode,.mobile-preview-mode) .store-db-more-filters[open]{flex-basis:100%}body:is(.mobile-layout-mode,.mobile-preview-mode) .store-db-advanced-fields{position:static;width:100%;margin-top:8px;box-shadow:none;grid-template-columns:minmax(0,1fr);padding:10px}body:is(.mobile-layout-mode,.mobile-preview-mode) .store-db-toolbar input{font-size:16px}body:is(.mobile-layout-mode,.mobile-preview-mode) .store-db-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}@media(max-width:374px){body:is(.mobile-layout-mode,.mobile-preview-mode) .store-db-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}body:is(.mobile-layout-mode,.mobile-preview-mode) .store-db-stat-grid>button{min-height:70px;padding:8px}body:is(.mobile-layout-mode,.mobile-preview-mode) .store-db-stat-grid>button span{font-size:10.5px;line-height:1.1}body:is(.mobile-layout-mode,.mobile-preview-mode) .store-db-stat-grid>button b{font-size:clamp(20px,6vw,28px)}body:is(.mobile-layout-mode,.mobile-preview-mode) .store-db-stat-grid>button small{font-size:8.5px;line-height:1.1}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.store-db-manual-entry,.store-db-batch-photo-panel)>summary{grid-template-columns:32px minmax(0,1fr);gap:8px}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.store-db-manual-entry,.store-db-batch-photo-panel)>summary small{grid-column:2;justify-self:start;max-width:100%}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.store-db-manual-grid,.shared-store-item-form .store-db-manual-grid){grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}@media(min-width:620px){body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.store-db-manual-grid,.shared-store-item-form .store-db-manual-grid){grid-template-columns:repeat(3,minmax(0,1fr))}}body:is(.mobile-layout-mode,.mobile-preview-mode) .store-db-manual-grid :is(.store-db-left-field,.store-db-right-field){grid-column:auto}body:is(.mobile-layout-mode,.mobile-preview-mode) .store-db-manual-grid :is(.store-db-content-field,.store-db-remark-field,.store-db-branch-allocation-field,.store-db-manual-photo-field){grid-column:1 / -1}body:is(.mobile-layout-mode,.mobile-preview-mode) .store-db-manual-grid :is(input,select,textarea){min-height:36px;padding:7px 9px}body:is(.mobile-layout-mode,.mobile-preview-mode) .store-db-batch-photo-controls{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:0 8px 8px}@media(min-width:430px){body:is(.mobile-layout-mode,.mobile-preview-mode) .store-db-batch-photo-controls{grid-template-columns:repeat(3,minmax(0,1fr))}}body:is(.mobile-layout-mode,.mobile-preview-mode) .store-db-batch-photo-controls :is(.btn,.store-db-file-button){width:100%;min-width:0;min-height:42px;padding:7px 8px;font-size:11px;line-height:1.12;white-space:normal}body:is(.mobile-layout-mode,.mobile-preview-mode) .store-db-batch-photo-status{margin:0 8px 8px;padding:7px 9px;font-size:11px}body:is(.mobile-layout-mode,.mobile-preview-mode) .store-db-batch-photo-list{padding:0 8px 8px}body:is(.mobile-layout-mode,.mobile-preview-mode) .store-db-batch-photo-row{position:relative;grid-template-columns:minmax(0,1.15fr) minmax(78px,.7fr) minmax(0,1fr) auto;gap:6px;padding:8px 46px 8px 8px}body:is(.mobile-layout-mode,.mobile-preview-mode) .store-db-row-select{position:absolute;top:8px;right:8px;width:30px;height:30px}body:is(.mobile-layout-mode,.mobile-preview-mode) .store-db-batch-photo-row:has(.store-db-row-select input[type=checkbox]:checked){border-color:#4884799e;background:#e7f7f4f2;box-shadow:inset 0 0 0 2px #48847929}body:is(.mobile-layout-mode,.mobile-preview-mode) .store-db-batch-photo-row small{grid-column:1 / -1;white-space:normal;line-height:1.18}body:is(.mobile-layout-mode,.mobile-preview-mode) .store-db-product-asset-row{grid-template-columns:minmax(0,1fr) minmax(88px,.75fr)}body:is(.mobile-layout-mode,.mobile-preview-mode) .store-db-product-asset-row>input[type=checkbox]{position:absolute;inset:0;width:100%;height:100%;opacity:0}body:is(.mobile-layout-mode,.mobile-preview-mode) :is(.store-db-product-order,.store-db-product-primary){position:relative;z-index:2}body:is(.mobile-layout-mode,.mobile-preview-mode) .store-db-product-primary input[type=checkbox]{position:static;width:16px;height:16px;opacity:1}.store-db-directory,.store-db-maintenance{min-width:0;display:grid;gap:12px}.store-db-shell [hidden]{display:none!important}.store-db-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.store-db-head h2{margin:0}.store-db-workspace{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;align-items:start}.store-db-master{min-width:0}.store-db-detail{min-width:0;border:1px solid var(--line);border-radius:8px;background:#fff;scroll-margin-top:16px;overflow:clip}.store-db-item-section{display:grid;gap:12px}.store-db-item-section>.store-db-section-title{margin:0;padding:0}.store-db-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.store-db-list-row{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-content:start;gap:10px;min-width:0;padding:14px;border:1px solid var(--line);border-radius:var(--radius-panel);background:var(--panel);cursor:pointer}.store-db-list-row:hover{border-color:var(--brand-2);box-shadow:var(--shadow-soft)}.store-db-list-row.is-selected{border-color:var(--brand);background:var(--surface-tint)}.store-db-list-row:focus-visible{outline:2px solid var(--brand);outline-offset:2px}.store-db-row-product{grid-column:1 / -1;display:grid;grid-template-columns:112px minmax(0,1fr);align-items:center;gap:12px;min-width:0;padding-top:28px}.store-db-photo{position:relative;width:100%;height:96px;min-height:0;max-height:none;padding:0;border:1px solid var(--line);border-radius:5px;background:var(--surface-soft);overflow:hidden;display:grid;place-items:center;color:var(--muted);font-size:12px}button.store-db-photo{cursor:zoom-in}.store-db-photo img{position:absolute;inset:0;width:100%;height:100%;min-height:0;object-fit:contain;display:block}.store-db-photo small{position:absolute;right:3px;bottom:3px;padding:2px 4px;border-radius:3px;background:#ffffffeb;color:var(--muted);font-size:10px}.store-db-photo.is-empty{padding:6px;border-style:dashed}.store-db-item-body{min-width:0;display:grid;gap:5px}.store-db-item-title>b{display:block;max-width:100%;font-size:14px;font-weight:650;overflow-wrap:anywhere}.store-db-item-body p{margin:0;font-size:13px;line-height:1.4;overflow-wrap:anywhere}.store-db-item-body>small,.store-db-row-branch small{color:var(--muted);font-size:12px;overflow-wrap:anywhere}.store-db-row-branch{grid-column:1;grid-row:2;display:grid;gap:3px;min-width:0;font-size:13px;overflow-wrap:anywhere}.store-db-card-qty{grid-column:2;grid-row:2;display:grid;gap:3px;min-width:0;justify-items:end;background:none;border:0;padding:0}.store-db-card-qty em{font-size:12px;font-style:normal;color:var(--muted)}.store-db-card-qty b{font-size:18px;font-weight:600;font-variant-numeric:tabular-nums}.store-db-card-qty small{font-size:11px;color:var(--muted)}.store-db-list-row>.status-badge{position:absolute;top:12px;left:14px;max-width:calc(100% - 28px);font-size:11px;white-space:normal;word-break:normal;overflow-wrap:normal}.store-db-card-primary-actions{grid-column:1 / -1;display:flex;flex-wrap:wrap;align-items:center;gap:4px;justify-content:flex-end;min-width:0;padding-top:8px;border-top:1px solid var(--line)}.store-db-card-primary-actions .store-db-icon-action{width:36px;min-width:36px;height:36px;min-height:36px;padding:6px;border:0;background:none;box-shadow:none}.store-db-card-history{display:inline-flex;gap:5px;align-items:center;margin-right:auto;padding:6px 0;min-height:36px;background:transparent;color:var(--brand);font:inherit;font-size:12px}.store-db-result-limit{margin-top:8px}@media(max-width:1150px){.store-db-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.store-db-detail-body{display:grid;gap:0;min-width:0;border:0;border-radius:0;background:#fff}.store-db-detail-titlebar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;padding:12px 24px;border-bottom:1px solid var(--line)}.store-db-back{min-height:44px;font-size:13px}.store-db-dossier-label{color:var(--muted);font-size:12px}.store-db-detail-hero{display:grid;grid-template-columns:minmax(180px,30%) minmax(0,1fr);gap:28px;align-items:center;padding:24px}.store-db-detail-hero .store-db-photo{height:230px}.store-db-detail-head{display:grid;gap:8px;min-width:0;font-size:14px;overflow-wrap:anywhere}.store-db-detail-head>small{color:var(--muted);font-size:12px}.store-db-detail-head>h2{margin:0;font-size:clamp(22px,2vw,30px);font-weight:650;line-height:1.2}.store-db-detail-head>p{margin:0;font-size:17px;line-height:1.5}.store-db-detail-head>.status-badge{justify-self:start;font-size:12px}.store-db-dossier-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.store-db-dossier-actions .btn{min-height:44px}.store-db-dossier-nav{display:flex;gap:4px;overflow-x:auto;padding:0 24px;border-block:1px solid var(--line);background:var(--surface-soft, #faf8f7)}.store-db-dossier-nav button{flex-shrink:0;min-height:44px;padding:10px 14px;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--ink);font:inherit;font-size:13px;cursor:pointer}.store-db-dossier-nav button:hover,.store-db-dossier-nav button:focus-visible{color:var(--brand);border-bottom-color:var(--brand)}.store-db-detail-section{padding:24px;border-top:1px solid var(--line);min-width:0;font-size:14px;line-height:1.5;overflow-wrap:anywhere;scroll-margin-top:16px}.store-db-detail-section:focus-visible{outline:2px solid var(--brand);outline-offset:-3px}.store-db-detail-section>h3{margin:0 0 16px;font-size:16px;font-weight:650;color:var(--ink)}.store-db-detail-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin:0;padding:0}.store-db-stock-facts{grid-template-columns:repeat(3,minmax(0,1fr));max-width:680px}.store-db-detail-fact{min-width:0;border:0;border-radius:0;padding:0;background:none}.store-db-detail-fact dt{margin:0 0 6px;color:var(--muted);font-size:12px;font-weight:400}.store-db-detail-fact dd{margin:0;color:var(--ink);font-size:14px;font-weight:400;line-height:1.5;overflow-wrap:anywhere}.store-db-stock-facts dd{font-size:22px;font-variant-numeric:tabular-nums}.store-db-detail-ledger{margin-top:20px;min-height:44px;color:var(--brand);border-color:var(--brand)}.store-db-dossier-photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px}.store-db-dossier-photos .store-db-photo{height:160px}.store-db-detail-set{display:grid;grid-template-columns:1fr auto;gap:6px}.store-db-detail-set ul{grid-column:1 / -1;margin:0 0 10px;padding:0;list-style:none}.store-db-detail-set li{display:grid;grid-template-columns:minmax(90px,40%) minmax(0,1fr);gap:8px;padding:5px 0}.store-db-detail-set li b{font-weight:500}.store-db-detail-empty{display:grid;align-content:center;justify-items:center;gap:10px;min-height:300px;padding:24px;text-align:center;color:var(--muted)}.store-db-detail-empty p{margin:0}.store-db-detail-flags{margin:0;padding:0 24px 20px;color:#805716;font-size:12px}.store-db-overview>summary{cursor:pointer;padding:10px 0;font-size:12px;color:var(--muted)}.store-db-shell .store-db-kpi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(132px,1fr));gap:0;margin:0;border:1px solid var(--line);border-radius:8px;background:#fff;overflow:hidden}.store-db-shell .store-db-kpi-card{display:grid;align-content:start;gap:4px;min-width:0;min-height:84px;padding:12px;border:0;border-right:1px solid var(--line);box-shadow:none;border-radius:0}.store-db-kpi-label{color:var(--muted);font-size:11px}.store-db-kpi-value{color:var(--ink);font-size:23px;font-weight:550;line-height:1.2}.store-db-kpi-scope{color:var(--muted);font-size:10px;overflow-wrap:anywhere}@media(max-width:760px){.store-db-grid{grid-template-columns:minmax(0,1fr)}.store-db-row-product{grid-template-columns:100px minmax(0,1fr)}.store-db-card-primary-actions :is(.store-db-icon-action,.store-db-card-history){min-height:44px}.store-db-card-primary-actions .store-db-icon-action{width:44px;height:44px}.store-db-shell .store-db-kpi-grid{grid-auto-flow:column;grid-auto-columns:145px;grid-template-columns:none;overflow-x:auto}.store-db-kpi-scope{font-size:11px}.store-db-detail-titlebar{padding:10px 12px}.store-db-detail-hero{grid-template-columns:minmax(0,1fr);gap:16px;padding:16px}.store-db-detail-hero .store-db-photo{height:220px}.store-db-detail-section{padding:20px 16px}.store-db-detail-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 16px}.store-db-stock-facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.store-db-dossier-nav{padding-inline:8px}.store-db-detail-flags{padding-inline:16px}body:has(.store-db-shell.is-reading) .mobile-bottom-nav{display:none}}body:is(.mobile-layout-mode,.mobile-preview-mode) .store-db-workspace{grid-template-columns:minmax(0,1fr)}body:is(.mobile-layout-mode,.mobile-preview-mode) .store-db-detail-hero{grid-template-columns:minmax(0,1fr)}body:is(.mobile-layout-mode,.mobile-preview-mode) .store-db-detail-facts{grid-template-columns:repeat(2,minmax(0,1fr))}body:is(.mobile-layout-mode,.mobile-preview-mode):has(.store-db-shell.is-reading) .mobile-bottom-nav{display:none}body:is(.mobile-layout-mode,.mobile-preview-mode) .store-db-grid{grid-template-columns:minmax(0,1fr)}
.store-inventory-history.modal-card{width:min(1280px,calc(100vw - 32px))}.store-history-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.store-history-filters .field{min-width:0;margin:0}.store-history-filters input,.store-history-filters select{width:100%;min-width:0}.store-history-filter-actions{grid-column:1 / -1;display:flex;flex-wrap:wrap;gap:8px}.store-history-note{font-size:12px;line-height:1.5}.store-history-table{width:100%;table-layout:fixed;border-collapse:collapse}.store-history-table th,.store-history-table td{padding:9px 7px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top;overflow-wrap:anywhere}.store-history-table th{font-size:12px}.store-history-table th:nth-child(1){width:5%}.store-history-table th:nth-child(2){width:18%}.store-history-table th:nth-child(3){width:18%}.store-history-table th:nth-child(4){width:15%}.store-history-table th:nth-child(5),.store-history-table th:nth-child(6),.store-history-table th:nth-child(7){width:7%}.store-history-table th:nth-child(8){width:23%}.store-history-table td>b,.store-history-table td>span,.store-history-table td>time,.store-history-table td>small{display:block}.store-history-table td>small{color:var(--muted);font-size:10px;line-height:1.5}.store-history-identities{margin-top:5px;font-size:11px}.store-history-identities small{display:block;color:var(--muted);overflow-wrap:anywhere}.store-history-quantity{font-variant-numeric:tabular-nums;font-weight:750}.store-history-pagination,.store-history-pagination>div{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.store-history-pagination{margin-top:12px}.store-history-pagination .btn{min-height:42px}.store-db-head-actions{display:flex;flex-wrap:wrap;gap:8px}.store-inventory-history [hidden]{display:none}@media(max-width:760px){.store-history-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.store-history-table,.store-history-table tbody,.store-history-table tr{display:block}.store-history-table thead{display:none}.store-history-table tr{padding:10px;margin-bottom:12px;border:1px solid var(--line);border-radius:8px}.store-history-table td{display:grid;grid-template-columns:90px minmax(0,1fr);column-gap:8px;padding:6px 0;border:0}.store-history-table td:before{content:attr(data-label);grid-column:1;grid-row:1 / span 6;color:var(--muted);font-size:12px}.store-history-table td>*{grid-column:2}.store-history-table td.store-history-quantity{display:flex;justify-content:space-between}.store-history-pagination>div{width:100%}}@media(max-width:360px){.store-history-filters{grid-template-columns:minmax(0,1fr)}.store-history-pagination .btn{padding-inline:8px}}
.delivery-scan-entry{display:grid;gap:12px;margin:16px 0;padding:16px;border:1px solid var(--line,#ded8d2);border-radius:12px;background:var(--surface,#fff)}.delivery-scan-entry p{margin:4px 0;color:var(--muted,#716a68);font-size:13px}.delivery-scan-entry>.btn{justify-self:start}[data-delivery-document-summary]{min-width:0;overflow-wrap:anywhere;font-size:13px}[data-delivery-document-summary] ol{padding-left:22px}.delivery-scan-backdrop{position:fixed;inset:0;z-index:10020;background:#211b1d8c;display:grid;place-items:center;padding:16px}.delivery-scan-dialog{width:min(1100px,100%);max-height:calc(100dvh - 32px);display:flex;flex-direction:column;min-height:0;border-radius:16px;background:var(--surface,#fff);color:var(--text,#302d2c);overflow:hidden;box-shadow:0 22px 80px #0005}.delivery-scan-dialog>header,.delivery-scan-dialog>footer{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:18px;flex:none}.delivery-scan-dialog>header{border-bottom:1px solid var(--line,#ded8d2)}.delivery-scan-dialog h2,.delivery-scan-dialog h3{margin:0 0 8px}.delivery-scan-dialog p{margin:6px 0 12px;color:var(--muted,#716a68);font-size:13px;line-height:1.5}.delivery-scan-dialog .btn{min-height:44px}.delivery-scan-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:20px;padding:18px;overflow:auto;overscroll-behavior:contain;min-height:0}.delivery-scan-body section,.delivery-scan-body input,.delivery-scan-body textarea{min-width:0;max-width:100%}.delivery-scan-image{overflow:hidden;background:#eee;margin:12px 0;border:1px solid var(--line,#ded8d2)}.delivery-scan-image canvas{display:block;width:100%;height:auto}.delivery-scan-transform{display:flex;align-items:start;flex-wrap:wrap;gap:8px}.delivery-scan-transform details{flex-basis:100%}.delivery-scan-transform summary{cursor:pointer;min-height:44px;display:flex;align-items:center}.delivery-scan-crop{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.delivery-scan-progress{display:grid;gap:8px;padding:12px 0}.delivery-scan-progress progress{width:100%}.delivery-scan-header-fields{display:grid;gap:10px}.delivery-scan-check{display:flex;align-items:flex-start;gap:9px;padding:12px 0;font-size:13px;line-height:1.5}.delivery-scan-check input[type=checkbox]{flex:none;width:20px;min-height:20px;height:20px;padding:0;margin:0}.delivery-scan-line{padding:14px;margin:12px 0;border:1px solid var(--line,#ded8d2);border-radius:12px;display:grid;gap:8px}.delivery-scan-line-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.delivery-scan-line textarea{min-height:74px;resize:vertical}.delivery-scan-line.is-uncertain{border-color:#c38b39}.delivery-scan-line-issues,.delivery-scan-replace{font-size:13px;line-height:1.5;color:#845014;background:#fff8e8;padding:10px;border-radius:8px}.delivery-scan-line-issues:empty{display:none}.delivery-scan-replace{margin:12px 0}[data-scan-issues]{font-size:13px;color:#845014;margin:8px 0}.delivery-scan-error{flex:none;padding:12px 18px;color:#923247;background:#fff0f2;font-size:13px}.delivery-scan-dialog>footer{align-items:center;border-top:1px solid var(--line,#ded8d2);font-size:12px}.delivery-scan-dialog>footer>div{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.delivery-scan-dialog [hidden]{display:none!important}@media(max-width:700px){.delivery-scan-backdrop{padding:8px}.delivery-scan-dialog{max-height:calc(100dvh - 16px)}.delivery-scan-body{grid-template-columns:minmax(0,1fr);padding:12px;gap:16px}.delivery-scan-dialog>header,.delivery-scan-dialog>footer{padding:12px;gap:8px}.delivery-scan-dialog h2{font-size:18px}.delivery-scan-dialog>footer{flex-direction:column;align-items:stretch}.delivery-scan-dialog>footer>div{display:grid;grid-template-columns:auto minmax(0,1fr)}.delivery-scan-dialog>footer .btn{white-space:normal}}
.delivery-number-control [hidden]{display:none!important}.delivery-number-control{display:grid;gap:10px;min-width:0}.delivery-number-main{display:grid;grid-template-columns:72px minmax(0,1fr);gap:10px;align-items:end}.delivery-number-prefix{display:grid;gap:4px;font-size:12px}.delivery-number-prefix select{width:100%;min-height:44px;padding:6px}.delivery-number-digits{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:5px;padding:5px;border:1px solid #d9c4ca;border-radius:12px;background:#faf5f4;min-width:0}.delivery-number-control .delivery-number-digit{width:100%;min-width:0;max-width:100%;height:44px;min-height:44px;padding:0;border:1px solid #dec9c7;border-radius:8px;background:#fff;text-align:center;font:700 22px/1 var(--font-body, sans-serif)}.delivery-number-control .delivery-number-digit:focus{outline:2px solid var(--brand, #a94153);outline-offset:1px}.delivery-number-suffix-area{display:grid;gap:7px;min-width:0;font-size:12px}.delivery-number-suffix{display:flex;gap:5px;flex-wrap:wrap;align-items:center}.delivery-number-suffix:before{content:"\2212";font-size:24px}.delivery-number-suffix .delivery-number-digit{flex:0 0 38px;width:38px}.delivery-number-actions{display:flex;gap:6px;flex-wrap:wrap}.delivery-number-actions .btn{min-height:36px;padding:7px 10px;font-size:12px}.delivery-number-preview{overflow-wrap:anywhere;font-size:14px;font-weight:700}.delivery-number-error{color:var(--danger, #b42318);font-size:12px}.delivery-scan-header-fields .delivery-scan-do-field{grid-column:1 / -1}@media(max-width:480px){.delivery-number-main{grid-template-columns:58px minmax(0,1fr);gap:5px}.delivery-number-digits{gap:2px;padding:3px;border-radius:8px}.delivery-number-control .delivery-number-digit{font-size:18px;border-radius:5px}}
.record-workbench{display:grid;gap:16px;min-width:0}.record-workbench-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}.record-workbench-toolbar p{margin:0;color:var(--muted)}.record-workbench-toolbar>div{display:flex;gap:8px}.record-workbench :is(.record-form-card,.record-workbench-history){min-width:0;scroll-margin-top:140px}.record-workbench>.record-form-card.card{margin:0;container:record-editor / inline-size}.record-workbench-history>:first-child,.record-workbench-history>[data-record-history-region]>:first-child{margin-top:0}.record-workbench .record-form-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-bottom:16px}.record-workbench .record-form-toolbar h2{margin:0;font-size:17px;color:var(--brand)}.record-workbench .record-form-toolbar span{font-size:12px}.record-workbench .record-form-toolbar h2:focus{outline:none}.record-workbench .record-workbench-permission{margin:0}.record-workbench .record-workbench-summary{min-width:0;width:100%;table-layout:fixed}.record-workbench .record-workbench-summary .select-col{width:36px}.record-workbench .record-workbench-summary th:nth-child(2){width:100px}.record-workbench .record-workbench-summary th:nth-last-child(2){width:140px}.record-workbench .record-workbench-summary th:last-child{width:92px}.record-workbench .record-workbench-summary :is(th,td){overflow-wrap:anywhere}.record-workbench .record-summary-metadata{margin-top:8px;font-size:12px}.record-summary-metadata>summary{color:var(--muted);cursor:pointer}.record-summary-metadata p{margin:6px 0}.record-workbench .record-filter-bar{grid-template-columns:repeat(2,minmax(0,1fr))}.record-workbench .record-filter-search{grid-column:1 / -1}.record-advanced-filters{min-width:0}.record-advanced-filters>summary{padding:11px 12px;min-height:44px;border:1px solid var(--line);border-radius:8px;background:var(--panel);cursor:pointer}.record-advanced-filters[open]{grid-column:1 / -1}.record-advanced-filters>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding-top:10px}.record-advanced-filters:not([open])>div{display:none}@media(min-width:1360px){.record-workbench:not(.record-workbench-readonly){grid-template-columns:minmax(0,1.35fr) minmax(520px,1fr);align-items:start}.record-workbench-toolbar{grid-column:1 / -1}.record-workbench>.record-form-card.card{grid-column:2;grid-row:2}.record-workbench>.record-workbench-history{grid-column:1;grid-row:2}.record-workbench-readonly>.record-workbench-history{grid-column:1 / -1;grid-row:auto}}@container record-editor (max-width: 760px){.record-form-body .basic-entry-grid,.record-form-body .customer-payment-details-head{grid-template-columns:repeat(2,minmax(0,1fr))}.record-form-body .customer-payment-invoice-reset-row{grid-template-columns:minmax(0,1fr)}.record-form-body .customer-payment-compact-invoice{grid-template-columns:90px minmax(0,1fr)}.record-form-body .customer-payment-service-charge-row{grid-template-columns:minmax(0,1fr)}.record-form-body .customer-payment-row-card{grid-template-columns:minmax(0,1fr);gap:12px}.record-form-body .customer-payment-row-card>:is(.field,.customer-payment-style-stack,.customer-payment-row-title,.customer-payment-row-card-fields),.record-form-body .customer-payment-primary-grid.is-deposit :is(#depositAmountField,#fullAmountField){grid-column:1 / -1;grid-row:auto}.record-form-body .customer-payment-row-card .customer-payment-row-title{position:static;margin:0;padding:0 0 8px;font-size:13px;border-bottom:1px solid var(--line)}.record-form-body .customer-payment-row-card .customer-payment-row-card-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.record-form-body .record-guide-tab{padding-inline:4px;gap:5px}.record-form-body .record-guide-tab>b{font-size:13px}.record-form-body .record-guide-context .record-photo-shortcut{margin-left:0}}.task-workbench #taskResults .task-summary-grid{grid-template-columns:minmax(0,1fr)}.task-workbench .task-dossier{grid-template-columns:minmax(0,1fr);align-items:start}.task-workbench .task-summary-list{grid-template-columns:repeat(2,minmax(0,1fr))}.task-workbench .task-summary-list>div{grid-template-columns:minmax(95px,.45fr) minmax(0,1fr)}.task-workbench .task-dossier-actions{min-width:0}.task-workbench .task-handoff-disclosure{margin-top:12px;border:1px solid var(--line);border-radius:8px}.task-handoff-disclosure>summary{padding:12px;min-height:44px;color:var(--brand);font-weight:600;cursor:pointer}.task-handoff-disclosure>.task-qr-actions{margin:0 12px 12px}@media(min-width:1100px){.task-workbench .task-dossier{grid-template-columns:minmax(0,1fr) 280px;gap:20px}.task-workbench .task-dossier .task-dossier-actions{border-top:0;border-left:1px solid var(--line);padding:30px 0 0 20px}.task-workbench .task-dossier-actions>.task-dossier-section{padding-top:0;border-top:0}.task-workbench .task-dossier-actions .task-action-panel{grid-template-columns:minmax(0,1fr)}}@media(max-width:760px){.record-workbench-toolbar>div{width:100%}.record-workbench-toolbar .btn{flex:1}.task-workbench .task-summary-list{grid-template-columns:minmax(0,1fr)}.record-advanced-filters>div{grid-template-columns:minmax(0,1fr)}}body.mobile-preview-mode .record-workbench{grid-template-columns:minmax(0,1fr)}body.mobile-preview-mode .record-workbench>:is(.record-form-card.card,.record-workbench-history){grid-column:auto;grid-row:auto}body.mobile-preview-mode .task-workbench .task-dossier,body.mobile-preview-mode .task-workbench .task-summary-list{grid-template-columns:minmax(0,1fr)}body.mobile-preview-mode .task-workbench .task-dossier .task-dossier-actions{border-left:0;border-top:1px solid var(--line);padding:14px 0 0}
