:root{font-family:Arial,Noto Sans Hebrew,sans-serif;color:#17231e;background:#f3efe5;font-synthesis:none;font-size:1rem}html[data-font-size=large]{font-size:1.125rem}html[data-font-size=extra-large]{font-size:1.25rem}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;font-size:1.1875rem;line-height:1.55}button,input,select,textarea{font:inherit}button,label.file-button{min-height:56px;touch-action:manipulation}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible,a:focus-visible{outline:4px solid #f1a208;outline-offset:3px}button{cursor:pointer}.skip-link{position:fixed;top:-100px;right:12px;background:#fff;color:#000;z-index:20;padding:12px}.skip-link:focus{top:12px}.app-shell{min-height:100vh;display:flex;flex-direction:column}.topbar{background:#12372a;color:#fff;min-height:82px;padding:14px max(18px,calc((100vw - 980px)/2));display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;box-shadow:0 3px 12px #12251d33}.topbar div{display:flex;flex-direction:column;text-align:left;margin-inline-start:auto}.topbar strong{font-size:1.5rem}.brand-kicker,.current-account{color:#e8cf8b;font-size:.875rem;font-weight:700}.back-button{color:#fff;background:transparent;border:2px solid #ffffffaa;border-radius:12px;padding:8px 14px;font-weight:700}.logout-button,.admin-button,.settings-button{color:#fff;background:transparent;border:2px solid #e8cf8b;border-radius:12px;padding:8px 14px;font-weight:700}.admin-button,.settings-button{background:#ffffff14}.test-account-banner{background:#8d2f1d;color:#fff;padding:10px 18px;text-align:center;font-size:1.25rem;font-weight:900;border-bottom:4px solid #f0a33b}.auth-page{min-height:100vh;display:grid;place-items:center;padding:20px;background:#12372a}.auth-card{width:min(100%,560px);background:#fffdf7;border-radius:24px;padding:clamp(24px,6vw,42px);box-shadow:0 18px 60px #0007}.auth-card h1{font-size:2.625rem}.auth-help{margin-top:22px;padding:12px;border-radius:10px;background:#eee7d9;font-size:1rem}.auth-help code{direction:ltr;display:inline-block}.full-page{min-height:100vh;display:grid;place-content:center;background:#f3efe5}main{width:100%;flex:1}.page{max-width:980px;margin:auto;padding:32px 18px 72px}.narrow{max-width:720px}footer{background:#e5dfd1;color:#425047;padding:20px;text-align:center;font-size:.9375rem}h1{font-size:clamp(2.25rem,8vw,3.5rem);line-height:1.1;margin:8px 0 14px;letter-spacing:-1px}h2{font-size:1.875rem;line-height:1.2}.hero{text-align:center;padding:26px 0}.hero p,.eyebrow{color:#8b3d1e;font-weight:800;margin:0}.hero span,.page-heading p{color:#526058}.home-actions{display:grid;gap:18px;max-width:650px;margin:10px auto}.backup-panel{max-width:650px;margin:34px auto 0;padding:18px;border:2px solid #8d856f;border-radius:18px;background:#ebe6da}.backup-panel h2{margin:0;font-size:1.5625rem}.backup-panel p{margin:6px 0 16px}.backup-panel .big-button{min-height:60px}.backup-message{color:#0f4c36;font-weight:800;text-align:center}.settings-page>.notification-panel,.settings-page>.backup-panel{max-width:none;margin-top:22px}.settings-section{margin-top:22px;padding:20px;border:2px solid #8d856f;border-radius:18px;background:#fffdf7}.settings-section h2{margin:0}.settings-section>p{margin:6px 0 16px;color:#4e5b54}.font-size-options{border:0;padding:0;margin:0;display:grid;gap:10px}.font-size-options label{min-height:68px;display:flex;align-items:center;gap:13px;padding:12px 15px;border:3px solid #8d856f;border-radius:13px;background:#fff;cursor:pointer}.font-size-options label.selected{border-color:#176b4d;background:#e2f3e9;box-shadow:inset 0 0 0 1px #176b4d}.font-size-options input{width:27px;height:27px;flex:0 0 auto;accent-color:#176b4d}.font-size-options span{font-size:1.375rem;font-weight:900}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.notification-panel{max-width:650px;margin:22px auto 0;padding:18px;border:3px solid #9e471f;border-radius:18px;background:#fff8e9}.notification-panel.enabled{border-color:#176b4d;background:#edf7f1}.notification-panel h2{margin:0;font-size:1.5625rem}.notification-panel p{margin:6px 0 14px}.notification-panel .privacy-note{color:#4e5b54;font-size:1rem}.notification-panel .big-button{min-height:60px}.notification-panel .notification-status{margin-bottom:12px}.notification-unavailable{background:#ebe6da;border-radius:11px;padding:13px;font-weight:700}.notification-frequency{border:0;padding:0;margin:20px 0;display:grid;gap:10px}.notification-frequency:disabled{opacity:.6}.notification-frequency legend{font-size:1.375rem;font-weight:900;margin-bottom:8px}.notification-frequency label{min-height:82px;display:flex;align-items:center;gap:14px;padding:13px 15px;border:3px solid #8d856f;border-radius:14px;background:#fffdf7;cursor:pointer}.notification-frequency label.selected{border-color:#176b4d;background:#e2f3e9;box-shadow:inset 0 0 0 1px #176b4d}.notification-frequency input{width:27px;height:27px;flex:0 0 auto;accent-color:#176b4d}.notification-frequency span{display:flex;flex-direction:column}.notification-frequency b{font-size:1.375rem}.notification-frequency small{font-size:.9375rem;font-weight:500;color:#4e5b54}.notification-frequency .frequency-message{margin:2px 0 0;color:#0f4c36;font-weight:800;text-align:center}.notification-off{background:#ebe6da;border:3px solid #6e6657;border-radius:11px;padding:14px;font-weight:900}.big-button.danger{margin-top:14px;background:#8d2f1d;border-color:#682113;color:#fff}.action-card{position:relative;min-height:132px;border:3px solid #12372a;background:#fffdf7;border-radius:22px;color:#12372a;padding:20px 24px;text-align:right;box-shadow:0 5px #12372a;display:flex;flex-direction:column;justify-content:center}.action-card b{font-size:1.75rem}.action-card span{color:#435249;font-size:1.0625rem}.action-card.primary,.big-button.primary,.file-button.primary{background:#176b4d;color:#fff;border-color:#0f4c36}.action-card.primary span{color:#fff}.action-card.warning,.big-button.warning{border-color:#9e471f;box-shadow:0 5px #7c3417}.action-card.clear{border-color:#176b4d;background:#edf7f1;box-shadow:0 5px #0f4c36}.unpaid-action{padding-left:66px}.action-card .unpaid-indicator{position:absolute;top:12px;left:13px;width:34px;height:34px;display:grid;place-items:center;border-radius:50%;color:#fff;font-size:1.5625rem;font-weight:900;line-height:1}.action-card.warning .unpaid-indicator{background:#9e471f}.action-card.clear .unpaid-indicator{background:#176b4d}.page-heading{border-bottom:2px solid #d6cdbc;margin-bottom:26px;padding-bottom:18px}.page-heading h1{font-size:clamp(2.125rem,7vw,3.125rem)}.notice{position:fixed;z-index:10;bottom:18px;right:18px;left:18px;max-width:620px;margin:auto;background:#12372a;color:#fff;padding:18px 22px;border-radius:14px;font-weight:700;box-shadow:0 6px 30px #0006}.customer-group{margin:26px 0;background:#fffdf7;border:2px solid #cfc4ae;border-radius:20px;padding:18px}.group-summary{display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;border-bottom:2px solid #e2dbce;margin-bottom:14px;padding:0 4px 14px}.group-summary h2,.group-summary p{margin:0}.group-summary strong{font-size:1.375rem;color:#8b3d1e;align-self:center}.customer-link{min-height:68px;border:3px solid #12372a;background:#edf7f1;color:#12372a;padding:10px 16px;border-radius:14px;text-align:right;display:flex;flex-direction:column;box-shadow:0 4px #12372a}.customer-link b{font-size:1.6875rem;line-height:1.2}.customer-link span{font-size:.9375rem;text-decoration:underline;text-underline-offset:3px}.receipt-card{width:100%;background:#fff;border:2px solid #c1b6a2;border-radius:15px;margin:10px 0;padding:16px;text-align:right;color:inherit}.receipt-card>div:first-child{display:flex;justify-content:space-between;gap:8px;align-items:center}.receipt-card>div>b{font-size:1.375rem}.status{background:#e7eee9;border:1px solid #6d8275;border-radius:999px;padding:4px 11px;font-size:.9375rem;font-weight:700}.status.overdue{background:#fff0e5;border-color:#a8471d;color:#7d2d0f}.receipt-card dl{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:14px 0}.receipt-card dl div{background:#f4f0e7;padding:9px;border-radius:9px}.receipt-card dt{font-size:.875rem}.receipt-card dd{margin:0}.date-line{font-size:1rem;font-weight:700}.field{display:flex;flex-direction:column;gap:7px;font-weight:700}.field span{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px}.field em{color:#8b3d1e;font-size:.875rem;font-style:normal}.field input,.field select,.field textarea{width:100%;min-height:58px;border:2px solid #5e6a63;border-radius:11px;padding:10px 14px;background:#fff;color:#17231e}.field textarea{min-height:110px;resize:vertical}.required-field input{border-width:3px}.required-field input:valid,.required-field.field-valid input{border-color:#176b4d;background:#f3fff8;box-shadow:inset 0 0 0 1px #176b4d33}.required-field input:invalid,.required-field.field-invalid input{border-color:#b43b24;background:snow;box-shadow:none}.field-valid .required-mark{color:#176b4d}.required-mark{color:#b3261e;font-size:1.5625rem;font-style:normal;line-height:.8;margin-inline-start:4px}.payment-balance{margin:18px 0 8px;color:#a52c1b;font-size:1.6875rem;font-weight:900;border-bottom:3px solid #d9a399;padding-bottom:8px}.search-results{display:grid;gap:12px;margin-top:20px}.search-results button,.suggestions button{background:#fff;border:2px solid #38624e;border-radius:14px;padding:15px;display:flex;flex-direction:column;text-align:right;color:inherit}.search-results button b{font-size:1.4375rem}.search-results button span{font-size:1rem}.empty{background:#fff;border-radius:12px;padding:18px}.customer-hero{background:#12372a;color:#fff;border-radius:24px;padding:26px;margin-bottom:24px}.customer-hero .eyebrow{color:#f4d58d}.customer-hero h1{font-size:2.75rem}.customer-hero p{margin:5px 0}.customer-hero a{color:#fff}.totals{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.totals span,.totals strong{background:#ffffff18;border:1px solid #ffffff55;padding:10px 14px;border-radius:10px}.stack-actions,.choice-grid{display:grid;gap:14px}.big-button,.file-button{width:100%;border:3px solid #12372a;background:#fff;border-radius:14px;padding:14px 18px;font-weight:800;color:#12372a;text-align:center;display:flex;align-items:center;justify-content:center}.big-button.secondary,.file-button{background:#fffdf7}.big-button:disabled{opacity:.5;cursor:not-allowed}.text-button,.cancel-button{background:transparent;border:0;color:#174f3b;text-decoration:underline;font-weight:700;padding:14px}.cancel-button{display:block;margin:30px auto 0;color:#6b3420}.inline-button{width:100%;min-height:54px;margin:10px 0;border:2px solid #176b4d;border-radius:11px;background:#edf7f1;color:#12372a;padding:10px 14px;font-weight:800;text-align:right}.success-message{background:#e8f7ee;border:2px solid #176b4d;color:#0f4c36;border-radius:11px;padding:14px;font-weight:800}.user-list{display:grid;gap:18px;margin-top:28px}.user-card{background:#fffdf7;border:3px solid #176b4d;border-radius:18px;padding:20px}.user-card.disabled{border-color:#8b3d1e;background:#f3ede5}.user-card h2,.user-card p{margin:0 0 8px}.user-card .stack-actions{margin-top:16px}.reset-password{padding-top:18px;border-top:2px solid #d8cfbf}.panel{background:#fffdf7;border:2px solid #c8bea9;border-radius:18px;padding:20px;margin-top:24px}.button-row{display:grid;gap:12px;margin-top:20px}.form-grid{display:grid;gap:18px}.full{grid-column:1 / -1}.optional{border:0}.optional summary{font-size:1.375rem;font-weight:800;margin-bottom:16px;cursor:pointer}.optional[open]{display:grid;gap:16px}.detail-list{background:#fffdf7;border:2px solid #c8bea9;border-radius:18px;overflow:hidden}.detail-list div{display:flex;justify-content:space-between;gap:12px;padding:15px 18px;border-bottom:1px solid #ded6c8}.detail-list div:last-child{border:0}.detail-list dd{margin:0;text-align:left}.detail-list strong{color:#8b3d1e;font-size:1.375rem}.image-placeholder{min-height:190px;border:3px dashed #9e9584;border-radius:16px;display:grid;place-items:center;text-align:center;padding:18px;color:#5d665f;margin-bottom:20px}.receipt-image,.receipt-preview{display:block;max-width:100%;max-height:55vh;margin:0 auto 20px;border-radius:15px;border:2px solid #938a79;object-fit:contain}.receipt-image-button{width:100%;margin:0 0 20px;padding:0;border:0;background:transparent;color:#174f3b;font-weight:800}.receipt-image-button .receipt-image,.receipt-image-button .receipt-preview{margin-bottom:8px}.receipt-image-button>span{display:block;text-decoration:underline;text-underline-offset:3px}.receipt-image-overlay{position:fixed;z-index:100;inset:0;width:100%;height:100%;border:0;padding:max(18px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));background:#0d1512f5;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;cursor:zoom-out}.receipt-image-overlay img{display:block;max-width:100%;max-height:calc(100vh - 82px);object-fit:contain;border-radius:10px;box-shadow:0 10px 42px #000b}.receipt-image-overlay span{font-size:1.125rem;font-weight:800}.date-input-row{display:flex;align-items:stretch;gap:9px}.date-input-row>input{direction:ltr;text-align:center;font-variant-numeric:tabular-nums;flex:1;min-width:0}.date-picker-button{position:relative;min-width:104px;min-height:58px;border:2px solid #176b4d;border-radius:11px;background:#edf7f1;color:#12372a;display:grid;place-items:center;overflow:hidden}.date-picker-button>span{display:block;font-size:1rem;font-weight:800}.field .date-picker-native{position:absolute;inset:0;width:100%;height:100%;min-height:0;padding:0;border:0!important;opacity:0;cursor:pointer}.field .date-error{color:#8b2617;font-weight:800}.instruction,.advice{background:#fff9df;border-right:6px solid #d9981b;border-radius:10px;padding:15px}.error{background:#fff0eb;border:2px solid #a13d1d;color:#72250e;border-radius:11px;padding:14px;font-weight:800}.loading,.success{text-align:center;padding:45px 20px}.loading>span{display:block;width:54px;height:54px;border:7px solid #d8d0c0;border-top-color:#176b4d;border-radius:50%;animation:spin 1s linear infinite;margin:auto auto 18px}.loading b{font-size:1.6875rem}.success>span{display:grid;place-items:center;width:82px;height:82px;border-radius:50%;background:#176b4d;color:#fff;font-size:3rem;margin:auto}.file-button{cursor:pointer}.file-button input{position:absolute;opacity:0;width:1px;height:1px}.choice-grid button{min-height:105px;border:3px solid #1a5c43;border-radius:16px;background:#fff;color:#12372a;text-align:right;padding:18px;display:flex;flex-direction:column}.choice-grid b{font-size:1.625rem}.choice-grid span{font-size:1rem}.suggestions{display:grid;gap:10px;margin-bottom:20px}.suggestions .selected{border-width:4px;background:#e7f3ec}.calculation{display:grid;gap:16px;background:#fff;border-radius:15px;padding:18px;margin-bottom:18px}.calculation strong{font-size:1.625rem;color:#8b3d1e}.choice-grid button.selected{border-width:5px;background:#e1f2e8;box-shadow:inset 0 0 0 2px #fff}.choice-grid.compact{margin-top:15px}.suggestions{margin-top:12px}.unified-section{background:#fffdf7;border:2px solid #c8bea9;border-radius:18px;padding:20px;margin:20px 0}.unified-section h2{margin-top:0}.locked-customer{background:#e7f3ec;border:3px solid #176b4d;border-radius:13px;padding:16px}.locked-customer b{font-size:1.5625rem}.new-customer-inline{border-top:2px solid #d8cfbf;margin-top:18px;padding-top:10px}.new-customer-inline h3{font-size:1.4375rem}.new-customer-name{background:#edf7f1;border:2px solid #176b4d;border-radius:11px;padding:12px 14px}.new-customer-name b{font-size:1.375rem}.inline-payment{margin:18px 0 0;border:2px solid #d4cab7}.due-inline{margin-top:18px}.due-inline small{font-weight:400;color:#526058}.validation-hint{margin:8px 0;color:#7d2d0f;font-weight:800}.save-receipt{margin-top:22px;min-height:68px;font-size:1.5rem}@keyframes spin{to{transform:rotate(360deg)}}@media(min-width:700px){.form-grid,.button-row{grid-template-columns:1fr 1fr}.home-actions{grid-template-columns:1fr 1fr;max-width:900px}.home-actions .primary{grid-column:1 / -1}.topbar div{text-align:right;margin-inline-start:0}.topbar{justify-content:flex-start}}@media(max-width:420px){body{font-size:1.125rem}.page{padding-inline:14px}.topbar{padding-inline:12px}.topbar strong{font-size:1.25rem}.back-button{font-size:.9375rem}.receipt-card dl{grid-template-columns:1fr}.receipt-card>div:first-child{align-items:flex-start;flex-direction:column}.group-summary{flex-direction:column}.customer-group{padding:12px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important}}
