:root{--bg:#f3f8f7;--white:#fff;--ink:#19312f;--muted:#5d7471;--teal:#087f75;--teal-dark:#00675f;--forest:#0d3b37;--mint:#e5f4f1;--line:#dbe7e4;--red:#b5363e;--rose:#fceced;--amber:#975500;--cream:#fff4df;--green:#207b53;--blue:#295a9c;--shadow:0 6px 22px #133b3510}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.5 Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.44}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #d58e22;outline-offset:3px}a{color:var(--teal)}h1,h2,h3,p{margin:0}h1{font-size:32px;letter-spacing:-1.2px;line-height:1.2;font-weight:750}h2{font-size:20px;letter-spacing:-.4px}h3{font-size:16px}small,.small{font-size:12px}.muted{color:var(--muted)}.eyebrow{font-size:11px;letter-spacing:1.8px;font-weight:750;text-transform:uppercase}.icon{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.shell{min-height:100vh;padding-left:236px}.sidebar{position:fixed;inset:0 auto 0 0;width:236px;background:#fff;border-right:1px solid var(--line);padding:35px 24px;display:flex;flex-direction:column;z-index:15}.brand{display:flex;align-items:center;gap:11px;font-size:26px;letter-spacing:1px;font-weight:800;text-decoration:none;color:var(--ink)}.brand-mark{display:grid;place-items:center;background:var(--teal);color:white;border-radius:14px;width:44px;height:44px;font-size:28px}.brand-sub{margin:11px 0 36px 55px;font-size:11px;color:var(--muted)}.side-nav{display:grid;gap:8px}.nav-link{display:flex;align-items:center;gap:13px;border:0;background:none;padding:14px 16px;min-height:48px;text-decoration:none;color:var(--muted);border-radius:12px;font-weight:600}.nav-link.active{background:var(--mint);color:var(--teal-dark)}.nav-link:hover{background:var(--bg)}.side-bottom{margin-top:auto}.side-note{margin:22px 8px 0;font-size:12px;color:var(--muted);line-height:1.7}.topbar{height:83px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 44px;background:#ffffff80}.topbar-left{display:flex;gap:8px;align-items:center;color:var(--muted);font-size:12px}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--green);margin-right:6px}.topbar-right{display:flex;gap:14px;align-items:center}.sample-tag{font-size:10px;font-weight:750;letter-spacing:1.3px;border:1px solid var(--line);padding:5px 8px;border-radius:5px;color:var(--muted)}.btn{display:inline-flex;justify-content:center;align-items:center;gap:9px;min-height:46px;padding:11px 18px;border-radius:11px;border:1px solid var(--line);background:white;color:var(--ink);font-weight:650;text-decoration:none;line-height:1.4}.btn:hover{border-color:var(--teal)}.btn.primary{background:var(--teal);color:white;border-color:var(--teal)}.btn.primary:hover{background:var(--teal-dark)}.btn.danger{background:var(--red);color:white;border-color:var(--red)}.btn.ghost{background:transparent;border-color:transparent;color:var(--teal-dark)}.btn.red{color:var(--red)}.btn.icon-only{padding:11px;min-width:46px}.btn.wide{width:100%}.main{max-width:1280px;margin:0 auto;padding:37px 44px 45px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:27px}.page-heading .muted{margin-top:8px}.greeting{font-size:13px;color:var(--muted);margin-bottom:9px}.avatar{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--mint);color:var(--teal-dark);font-size:13px;flex-shrink:0}.avatar.amber{background:var(--cream);color:var(--amber)}.avatar.blue{background:#eaf0fb;color:var(--blue)}.avatar.big{width:64px;height:64px;font-size:20px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:28px;align-items:start}.card{background:white;border:1px solid var(--line);border-radius:17px;padding:23px}.ledger-tools{display:flex;gap:12px;margin-bottom:16px}.search{position:relative;flex:1}.search .icon{position:absolute;left:15px;top:15px;color:var(--muted)}.search input{padding-left:45px}.field,input,select,textarea{width:100%;min-width:0;background:white;border:1px solid var(--line);border-radius:11px;padding:12px 14px;min-height:48px;color:var(--ink)}input::placeholder,textarea::placeholder{color:#718783}textarea{resize:vertical;min-height:88px}label{display:block;font-size:13px;font-weight:600;margin-bottom:7px}.field-group{margin-bottom:19px}.filter-row{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:18px}.chip{border:1px solid var(--line);border-radius:24px;background:white;color:var(--muted);padding:9px 14px;min-height:44px;font-size:12px;white-space:nowrap}.chip.active{color:white;background:var(--teal);border-color:var(--teal)}.list-meta{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;color:var(--muted);font-size:12px;gap:10px}.list-meta select{width:auto;max-width:58%;border:0;min-height:44px;padding:6px 3px;background:none;color:var(--teal-dark);font-weight:600;font-size:12px}.customer-list{display:grid;gap:9px}.customer-row{display:flex;gap:13px;align-items:center;text-align:left;border:1px solid var(--line);border-radius:13px;padding:17px 16px;background:white;color:var(--ink);width:100%;min-height:88px;transition:box-shadow .15s,border-color .15s}.customer-row:hover{border-color:#8fbbb4;box-shadow:var(--shadow)}.customer-info{flex:1;min-width:0}.customer-name{font-weight:680;font-size:14px;overflow-wrap:anywhere}.customer-info .muted{font-size:12px;margin-top:3px}.customer-balance{text-align:right;flex-shrink:0}.money{font-variant-numeric:tabular-nums;letter-spacing:-.4px;font-weight:700}.customer-balance .money{font-size:16px}.status{font-size:11px;font-weight:650}.status.owes{color:var(--teal-dark)}.status.overdue{color:var(--red)}.status.settled{color:var(--green)}.status.credit{color:var(--blue)}.status.due{color:var(--amber)}.chevron{width:15px;color:#8fa49f}.summary-hero{background:var(--forest);color:white;border-radius:18px;padding:23px;position:relative;overflow:hidden}.summary-hero:after{content:"";width:140px;height:140px;border:1px solid #ffffff0c;border-radius:50%;position:absolute;right:-56px;bottom:-53px;box-shadow:0 0 0 24px #ffffff04,0 0 0 48px #ffffff03;pointer-events:none}.summary-hero .muted{color:#bad5d0}.summary-hero .hero-amount{font-size:35px;letter-spacing:-1.5px;line-height:1.2;margin:12px 0 7px;font-weight:750}.summary-hero .hero-foot{border-top:1px solid #ffffff20;margin-top:20px;padding-top:13px;font-size:12px;display:flex;justify-content:space-between}.aside-stack{display:grid;gap:17px}.stat-row{display:flex;gap:12px;align-items:center;margin-top:18px}.stat-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:11px;background:var(--mint);color:var(--teal)}.stat-icon.amber{background:var(--cream);color:var(--amber)}.stat-icon.red{background:var(--rose);color:var(--red)}.stat-row .money{font-size:19px}.stat-row .muted{font-size:12px}.aside-note{padding:4px 9px;display:flex;gap:10px;color:var(--muted);font-size:12px}.aside-note .icon{width:17px}.view-note{display:flex;align-items:flex-start;gap:10px;margin-top:19px;padding:13px 16px;background:var(--mint);color:var(--teal-dark);border-radius:10px;font-size:12px}.view-note .icon{width:18px;height:18px}.view-note.warning{background:var(--cream);color:var(--amber)}.view-note.error{background:var(--rose);color:var(--red)}.section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:25px 0 14px}.section-head h2{font-size:17px}.actions{display:flex;gap:10px;flex-wrap:wrap}.actions>*{flex:1}.stack{display:grid;gap:15px}.narrow{max-width:650px;margin:auto}.back-title{display:flex;align-items:center;gap:13px;margin-bottom:25px}.back-title h1{font-size:24px;letter-spacing:-.6px}.balance-card{padding:26px;border-radius:18px;background:var(--forest);color:white}.balance-card .muted{color:#bed6d2}.balance-card .amount{font-size:42px;font-weight:750;letter-spacing:-1.5px;margin:8px 0}.balance-card .badge{background:var(--cream);color:var(--amber)}.between{display:flex;align-items:center;justify-content:space-between;gap:12px}.badge{display:inline-flex;border-radius:20px;background:var(--mint);color:var(--teal-dark);font-size:11px;padding:5px 10px;font-weight:600}.transaction{display:flex;gap:12px;align-items:flex-start;padding:18px 0;border-bottom:1px solid var(--line);width:100%;text-align:left;border-top:0;border-right:0;border-left:0;background:none;color:inherit}.transaction:last-child{border-bottom:0}.transaction .tx-main{flex:1;min-width:0}.transaction .tx-end{text-align:right;max-width:42%}.transaction .small{margin-top:3px}.transaction h3{font-size:14px;overflow-wrap:anywhere}.detail-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:27px}.detail-grid .card{padding:22px}.form-title{margin-bottom:20px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.amount-input{font-size:30px;font-weight:700;color:var(--teal-dark);height:72px}.form-footer{margin-top:27px}.item-row{border:1px solid var(--line);background:white;border-radius:13px;padding:15px;margin-bottom:12px}.item-top{display:flex;gap:9px;align-items:center;margin-bottom:12px}.item-top input{font-weight:650}.item-fields{display:grid;grid-template-columns:.8fr 1fr 1fr;gap:10px;align-items:end}.item-fields label{font-size:10px;letter-spacing:.7px;text-transform:uppercase;color:var(--muted)}.item-fields .subtotal{min-height:48px;display:flex;align-items:center;justify-content:flex-end;font-weight:700}.totals{background:var(--mint);border-radius:13px;padding:19px}.totals .between+.between{margin-top:12px}.totals .total{border-top:1px solid #c7dfda;padding-top:12px;font-size:18px}.error-text{color:var(--red);font-size:13px;margin:12px 0}.stepper{display:flex;gap:8px;margin-bottom:23px;font-size:11px;color:var(--muted)}.stepper span{flex:1;border-top:3px solid var(--line);padding-top:8px}.stepper .active{border-color:var(--teal);color:var(--teal-dark);font-weight:650}.photo-placeholder{min-height:180px;border:1px dashed #9abdb7;background:var(--mint);border-radius:13px;display:flex;align-items:center;justify-content:center;text-align:center;flex-direction:column;gap:10px;padding:22px;color:var(--teal-dark)}.photo-preview{width:100%;border-radius:12px;display:block}.signature{width:100%;height:180px;background:white;border:1px solid var(--line);border-radius:12px;touch-action:none;display:block;cursor:crosshair}.signature-label{font-size:11px;color:var(--muted);text-align:center;margin-top:6px}.success-icon{width:78px;height:78px;display:grid;place-items:center;border-radius:50%;background:var(--mint);color:var(--green);margin:22px auto}.success-icon .icon{width:38px;height:38px}.center{text-align:center}.success-title{font-size:29px;margin:17px 0 9px}.settings-row{display:flex;align-items:center;gap:14px;width:100%;text-align:left;background:none;color:inherit;border:0;border-bottom:1px solid var(--line);padding:17px 0;min-height:70px}.settings-row:last-child{border-bottom:0}.settings-row .grow{flex:1}.settings-row b{font-size:14px}.settings-row .muted{font-size:12px;margin-top:3px}.hash{font:11px/1.7 ui-monospace,monospace;overflow-wrap:anywhere;background:var(--bg);padding:14px;border-radius:10px;color:var(--muted);margin-top:10px}.empty{text-align:center;padding:45px 22px;border:1px dashed var(--line);border-radius:15px;background:white}.empty .stat-icon{margin:0 auto 13px;width:54px;height:54px}.empty p{margin:8px auto 20px;max-width:290px;color:var(--muted);font-size:13px}.bottom-nav{display:none}.mobile-brand{display:none}dialog{border:1px solid var(--line);border-radius:20px;padding:27px;max-width:460px;width:calc(100% - 32px);color:var(--ink);box-shadow:0 20px 80px #0d3b3730}dialog::backdrop{background:#0a26246b;backdrop-filter:blur(3px)}dialog h2{margin-bottom:12px}dialog p{margin-bottom:18px;color:var(--muted);font-size:14px}dialog .actions{margin-top:22px}.dialog-close{float:right;margin:-10px -10px 6px 10px}#toast{position:fixed;bottom:25px;left:calc(50% + 100px);transform:translateX(-50%);background:var(--forest);color:white;padding:13px 21px;border-radius:11px;box-shadow:var(--shadow);font-size:13px;z-index:100;max-width:85vw;display:none}#toast.show{display:block}.skip{position:fixed;top:-80px;left:10px;z-index:150;background:white;padding:15px}.skip:focus{top:10px}.loading{padding:40px;text-align:center}.spinner{width:32px;height:32px;border:3px solid var(--line);border-top-color:var(--teal);border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 20px}@keyframes spin{to{transform:rotate(360deg)}}.statement-header{background:var(--forest);color:white;padding:26px;border-radius:17px;margin-bottom:20px}.statement-header h1{font-size:25px;margin:20px 0 8px}.statement-header .muted{color:#c3d8d4}.evidence{max-width:100%;border-radius:12px}.pin-input{letter-spacing:15px;font-size:28px;text-align:center}.desktop-caption{margin-top:18px;text-align:center;font-size:11px;color:var(--muted)}.quiet-link{font-size:12px;color:var(--teal-dark)}
@media(min-width:1400px){.main{padding-top:48px}.customer-row{padding:21px 19px}.workspace{grid-template-columns:minmax(0,1fr) 310px;gap:32px}}
@media(max-width:1120px){.sidebar{width:200px;padding:30px 17px}.shell{padding-left:200px}.main{padding:28px}.topbar{padding:0 28px}.workspace{grid-template-columns:minmax(0,1fr) 245px;gap:20px}.summary-hero{padding:20px}.summary-hero .hero-amount{font-size:30px}.customer-row{gap:10px;padding:15px 12px}.customer-row>.chevron{display:none}}
@media(max-width:900px){.workspace{grid-template-columns:1fr}.aside-stack{grid-template-columns:1fr 1fr}.aside-stack .aside-note{grid-column:1/-1}.aside-stack .card{padding:20px}.detail-grid{grid-template-columns:1fr}.topbar-left span:last-child{display:none}}
@media(max-width:650px){body{font-size:14px}.shell{padding-left:0}.sidebar{display:none}.topbar{height:73px;padding:0 20px;background:var(--bg);border-bottom:0}.topbar-left{display:none}.mobile-brand{display:flex;align-items:center;gap:8px;font-size:22px;font-weight:800;letter-spacing:1px}.mobile-brand .brand-mark{width:33px;height:33px;font-size:22px;border-radius:10px}.topbar-right{gap:8px}.topbar-right .sample-tag{font-size:9px;letter-spacing:.7px;padding:4px 6px}.topbar-right .btn{min-height:42px;padding:8px 10px;font-size:11px}.topbar-right .btn .icon{width:15px}.main{padding:15px 20px 105px}.page-heading{margin-bottom:24px;gap:10px;align-items:flex-start}.page-heading h1{font-size:27px}.page-heading .muted{font-size:12px;margin-top:7px}.page-heading>.btn{padding:9px 12px;font-size:12px}.greeting{font-size:12px;margin-bottom:7px}.workspace{gap:23px}.ledger-tools{margin-bottom:12px}.filter-row{gap:6px;margin-bottom:10px}.chip{font-size:11px;padding:9px 12px}.customer-row{min-height:88px;padding:15px 12px;gap:10px}.customer-name{font-size:13px}.customer-info .muted{font-size:11px}.customer-balance .money{font-size:15px}.customer-row .avatar{width:39px;height:39px;font-size:12px}.customer-balance{max-width:42%}.status{font-size:10px}.customer-list{gap:9px}.list-meta{margin-bottom:9px}.aside-stack{gap:12px}.summary-hero{padding:18px;border-radius:14px}.summary-hero .hero-amount{font-size:27px}.summary-hero .hero-foot{font-size:10px;margin-top:14px;padding-top:10px;gap:5px}.summary-hero .eyebrow{font-size:9px;letter-spacing:1px}.summary-hero .small{font-size:10px}.aside-stack .card{padding:16px;border-radius:14px}.aside-stack .card h3{font-size:12px}.stat-row{gap:9px;margin-top:13px}.stat-row .money{font-size:16px}.stat-row .muted{font-size:10px}.stat-icon{width:31px;height:31px;border-radius:9px}.stat-icon .icon{width:17px}.aside-note{font-size:11px}.bottom-nav{position:fixed;bottom:0;left:0;right:0;height:79px;padding:8px 8px max(8px,env(safe-area-inset-bottom));display:flex;justify-content:space-around;border-top:1px solid var(--line);background:#fff;z-index:20}.bottom-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:62px;font-size:10px;text-decoration:none;color:var(--muted)}.bottom-nav a.active{color:var(--teal-dark);font-weight:700}.bottom-nav a.record-nav{color:var(--teal-dark);font-weight:700;position:relative;top:-13px}.record-nav .record-circle{width:48px;height:48px;border-radius:50%;background:var(--teal);color:white;display:grid;place-items:center;box-shadow:0 3px 12px #087f7530;border:4px solid white;box-sizing:content-box}.bottom-nav .icon{width:22px;height:22px}.back-title h1{font-size:21px}.back-title{margin-bottom:22px}.btn{font-size:13px}.card{padding:19px;border-radius:14px}.balance-card{padding:22px}.balance-card .amount{font-size:38px}.detail-grid{gap:20px}.transaction{gap:10px}.transaction h3{font-size:13px}.transaction .small{font-size:11px}.transaction .tx-end .money{font-size:13px}.transaction .stat-icon{width:35px;height:35px}.actions{gap:8px}.actions .btn{padding:11px 10px}.form-grid{gap:10px}.item-row{padding:12px}.item-fields{gap:7px}.item-fields input{padding:10px}.item-fields label{font-size:9px}.totals{padding:17px}.view-note{font-size:11px;padding:12px}.stepper{font-size:10px}.section-head{margin-top:20px}.desktop-caption{display:none}#toast{bottom:92px;left:50%;width:max-content}.statement-header{padding:22px}.statement-header h1{font-size:23px}}
@media(max-width:370px){.main{padding-left:15px;padding-right:15px}.topbar{padding:0 15px}.customer-row{padding:14px 10px;gap:8px}.customer-row .avatar{width:34px;height:34px;font-size:11px}.customer-balance .money{font-size:14px}.chip{padding:9px 10px}.page-heading h1{font-size:25px}.aside-stack{gap:9px}.summary-hero{padding:15px}.summary-hero .hero-amount{font-size:24px}.aside-stack .card{padding:14px}.stat-icon{display:none}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.record-nav .record-circle{flex-shrink:0}
@media(max-width:650px){.page-heading>.btn .add-label{font-size:0}.page-heading>.btn .add-label:after{content:'Add';font-size:12px}.page-heading>.btn{flex-shrink:0}.page-heading h1{font-size:25px}.record-nav{align-self:flex-start}}
@media(max-width:650px){.bottom-nav.hide-on-form{display:none}}

/* Home dashboard, People directory, and safe mobile navigation. */
.home-heading{margin-bottom:22px}.home-heading h1{font-size:29px;margin:2px 0 6px}.home-heading .greeting{margin-bottom:3px}.summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.summary-card{min-width:0;min-height:132px;background:var(--white);border:1px solid var(--line);border-radius:15px;padding:18px;box-shadow:0 2px 8px #133b3505}.summary-label{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:12px;font-weight:650}.summary-label .stat-icon{width:32px;height:32px}.summary-label .icon{width:17px;height:17px}.summary-value{font-size:clamp(20px,2vw,27px);font-weight:750;letter-spacing:-.8px;line-height:1.2;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin:12px 0 4px}.summary-detail{font-size:11px;color:var(--muted)}.credit-strip{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 15px;margin-top:11px;background:var(--mint);border-radius:10px;color:var(--teal-dark);font-size:12px}.credit-strip span{display:flex;align-items:center;gap:8px}.credit-strip .icon{width:17px;height:17px}.credit-strip strong{font-size:14px}.quick-section .section-head{margin:23px 0 10px}.quick-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.quick-action{min-height:58px;justify-content:flex-start}.quick-action:first-child{justify-content:center}.quick-action span{overflow-wrap:anywhere}.due-section .section-head{margin:26px 0 12px}.due-section .section-head .muted{margin-top:3px}.due-list{display:grid;gap:9px}.due-row{width:100%;min-height:76px;display:flex;align-items:center;gap:12px;padding:13px 15px;background:white;border:1px solid var(--line);border-radius:13px;text-align:left;color:var(--ink)}.due-row:hover{border-color:#8fbbb4;box-shadow:var(--shadow)}.due-customer{flex:1;min-width:0;display:grid;gap:2px}.due-customer strong{font-size:14px;overflow-wrap:anywhere}.due-customer span{font-size:12px;color:var(--muted)}.due-amount{min-width:92px;text-align:right;display:grid;gap:2px;font-variant-numeric:tabular-nums}.due-amount strong{font-size:15px;white-space:nowrap}.due-amount span{font-size:11px;color:var(--amber);font-weight:650}.due-row>.icon{color:#8fa49f;width:17px}.people-heading{margin-bottom:21px}.people-heading h1{font-size:27px}.people-directory{max-width:920px}.people-directory .ledger-tools{margin-bottom:13px}.people-directory .search input{border-radius:13px}.people-directory .filter-row{margin-bottom:12px}.people-directory .list-meta{flex-wrap:wrap}.people-directory .sort-label{margin-left:auto;font-size:12px;color:var(--muted)}.people-directory .list-meta select{max-width:240px}.people-directory .customer-list{gap:9px}.people-directory .customer-row{min-width:0}.customer-due{display:block;overflow-wrap:anywhere}.more-links .settings-row{min-height:76px}
@media(max-width:900px){.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-heading h1{font-size:27px}}
@media(max-width:650px){.main{padding-bottom:calc(104px + env(safe-area-inset-bottom))}.main:has(.hide-on-form){padding-bottom:calc(104px + env(safe-area-inset-bottom))}.home-heading{margin:3px 0 18px}.home-heading h1{font-size:25px;letter-spacing:-.7px}.home-heading>.muted{font-size:12px}.summary-grid{gap:9px}.summary-card{min-height:113px;padding:13px 12px;border-radius:13px}.summary-label{gap:7px;font-size:11px;line-height:1.25}.summary-label .stat-icon{width:28px;height:28px;border-radius:8px}.summary-value{font-size:21px;margin:10px 0 3px}.summary-detail{font-size:10px}.credit-strip{margin-top:9px;padding:10px 12px;font-size:11px}.quick-section .section-head{margin:20px 0 9px}.quick-actions{gap:7px}.quick-action{min-height:61px;padding:9px 7px;flex-direction:column;gap:3px;font-size:11px;line-height:1.2;text-align:center}.quick-action:first-child{justify-content:center}.quick-action .icon{width:19px;height:19px}.due-section .section-head{margin:21px 0 10px}.due-row{min-height:72px;padding:11px 10px;gap:8px}.due-row .avatar{width:37px;height:37px;font-size:11px}.due-customer strong{font-size:12px}.due-customer span{font-size:10px}.due-amount{min-width:79px}.due-amount strong{font-size:13px}.due-amount span{font-size:10px}.due-row>.icon{width:14px}.people-heading{align-items:center;margin-bottom:18px}.people-heading h1{font-size:25px}.people-heading .muted{max-width:220px}.people-heading>.btn{padding:10px 11px;min-height:44px;font-size:12px;white-space:nowrap}.people-directory .chip{padding:9px 11px}.people-directory .list-meta{gap:3px 8px}.people-directory .list-meta>span{width:100%}.people-directory .sort-label{margin-left:0}.people-directory .list-meta select{max-width:calc(100% - 42px);font-size:11px}.people-directory .customer-row{min-height:78px;padding:12px 9px;gap:8px}.people-directory .customer-row .avatar{width:36px;height:36px}.people-directory .customer-name{font-size:12px}.people-directory .customer-due{font-size:10px;line-height:1.3}.people-directory .customer-balance{max-width:40%}.people-directory .customer-balance .money{font-size:14px}.people-directory .status{font-size:9px;overflow-wrap:anywhere}.people-directory .customer-row .chevron{width:12px}.bottom-nav{height:auto;min-height:78px;padding:8px 12px max(8px,env(safe-area-inset-bottom));}.bottom-nav a{min-width:0;flex:1;min-height:48px}.bottom-nav a.record-nav{top:-12px}.record-nav .record-circle{width:46px;height:46px}.bottom-nav .icon{width:21px;height:21px}}
@media(max-width:370px){.home-heading h1{font-size:24px}.summary-card{padding:12px 10px}.summary-label{font-size:10px}.summary-value{font-size:19px}.quick-action{padding-inline:4px;font-size:10px}.due-row{gap:6px}.due-amount{min-width:73px}.people-directory .filter-row{gap:5px}.people-directory .chip{padding:8px 9px;font-size:10px}.people-directory .customer-balance{max-width:42%}}
/* v3 owner controls retain the approved Astra palette */
.owner{font-size:18px;max-width:620px;margin:0 auto;padding:24px 18px 100px}.owner input,.owner select{width:100%;min-height:52px;font-size:18px;margin:8px 0 18px;padding:12px;border:1px solid var(--line,#ccd5d1);border-radius:12px}.owner .btn{min-height:52px;font-size:18px;margin:6px 0}.install-art{padding:18px}.recovery{display:block;font-size:28px;letter-spacing:3px;margin:28px 0;word-break:break-word}.owner aside{padding:14px;background:#fff2dc;border-radius:12px;margin:12px 0}

/* Accessible minimums for owner screens */
body{font-size:17px}.small,small{font-size:17px}.btn,.chip,.nav-link,.bottom-nav a{min-height:48px}.view-note{font-size:17px}

/* v3 navigation: Home | + Itala | Mga customer, gear top right */
.gear-btn{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;border:1px solid var(--line);background:#fff;color:var(--ink)}
.gear-btn .icon{width:23px;height:23px}
.gear-btn.active{color:var(--teal-dark);border-color:var(--teal)}
.side-nav button.nav-link{background:none;border:0;font:inherit;cursor:pointer;width:100%;text-align:left}
.bottom-nav button.record-nav{background:none;border:0;font:inherit;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font-size:10px;color:var(--teal-dark);font-weight:700;position:relative;top:-13px;cursor:pointer;flex:1;min-width:0}
.bottom-nav a{flex:1}
.record-menu{display:grid;gap:10px;margin-top:14px}
.record-choice{justify-content:flex-start;min-height:68px;text-align:left;gap:14px}
.record-choice b{display:block;font-size:18px}
.record-choice small{display:block;font-weight:400;opacity:.8;font-size:13px}
.finder{margin-top:18px}
.finder-label{font-weight:800;font-size:18px;display:block;margin-bottom:10px}
.finder-sub{margin:14px 0 4px}
.finder .search-wrap{position:relative;display:flex;align-items:center}
.finder .search-wrap .icon{position:absolute;left:14px;width:20px;color:var(--muted)}
.finder #search{width:100%;min-height:52px;font-size:17px;padding:12px 14px 12px 44px;border:1px solid var(--line);border-radius:14px}
.finder-row{display:flex;align-items:center;gap:12px;width:100%;min-height:60px;padding:8px 2px;border:0;border-bottom:1px solid var(--line);background:none;font:inherit;text-align:left;color:var(--ink);cursor:pointer}
.finder-row:last-of-type{border-bottom:0}
.finder-row .money{font-weight:800}
.finder-row .icon{width:18px;color:var(--muted)}
.balance-card .btn{white-space:nowrap;flex-shrink:0}
.dialog-close:focus:not(:focus-visible){outline:none;box-shadow:none}

.gear-btn{position:relative}
.gear-dot{position:absolute;top:7px;right:7px;width:11px;height:11px;border-radius:50%;background:#d93025;border:2px solid #fff}

/* receipt + checker */
.receipt{text-align:left}
.receipt-head{font-size:22px;font-weight:800;text-align:center}
.receipt-sub{text-align:center;margin:4px 0 12px}
.receipt-qr{background:#fff;border:1px solid var(--line);border-radius:14px;padding:6px;max-width:300px;margin:0 auto 14px}
.receipt-qr svg{display:block;width:100%;height:auto}
.receipt-amt{font-size:26px;font-weight:800;text-align:center;margin-bottom:12px}
.receipt .between{padding:6px 0;border-bottom:1px solid var(--line);font-size:15px}
.receipt .between:last-child{border-bottom:0}
.mono{font-family:ui-monospace,monospace}
.check-mark{font-size:140px;line-height:1;font-weight:900;margin:10px 0}
.check-result.good .check-mark{color:var(--green)}
.check-result.bad .check-mark{color:var(--red)}
.check-why{font-size:20px;font-weight:700;margin-bottom:12px}
.check-result{margin-bottom:16px}
.scan-video{width:100%;border-radius:14px;background:#000;margin-bottom:10px;display:block}
label.btn{cursor:pointer;margin-bottom:0}
.success-icon.small-check{width:56px;height:56px;margin:6px auto}.success-icon.small-check .icon{width:28px;height:28px}
