:root{font-size:18px;color:#14283e}body{line-height:1.6}button,input,select,textarea{font-size:1rem;min-height:54px}button{padding:14px 22px!important}label,legend,.privacy,.terms-note,.updated,#record-error,#register-message{font-size:1rem;line-height:1.6}.header-note{font-size:14px}.heading h1{font-size:2rem}.section-heading h2,h2{font-size:1.35rem}.view-tabs{gap:16px}.view-tabs button[aria-pressed=true]{background:#173c60;color:white;border-color:#173c60}#client-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.client-card{background:white;border:1px solid #bbc9d8;border-radius:12px;padding:24px}.client-card h3{margin:0;font-size:1.35rem}.client-card p{margin:8px 0}.client-card .debt{font-size:1.6rem;font-weight:700}.client-card .status{font-weight:700;color:#344d64}.client-card button{width:100%;margin-top:12px}.client-card.overdue{border-left:6px solid #a32828}.client-card.overdue .status{color:#a32828}.client-card.paid{border-left:6px solid #287345}.stats .stat{padding:20px}.stat span{font-size:1rem}.stat strong{font-size:1.5rem}.profile-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:24px 0}.profile-actions button{padding:12px!important}.profile-actions button[aria-pressed=true]{color:white;background:#173c60;border-color:#173c60}.summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0}.summary-grid div{background:#eef4fa;border-radius:8px;padding:15px}.summary-grid span{display:block}.summary-grid strong{font-size:1.3rem}.note-box{background:#eef4fa;border-left:4px solid #276396;padding:18px;white-space:pre-wrap;overflow-wrap:anywhere}.payment-choice{font-size:1.1rem}dialog{width:min(1000px,96vw);padding:30px}.dialog-heading{position:sticky;top:-30px;background:white;padding:15px 0;z-index:2;gap:20px}.transaction-list{margin:18px 0;border-top:1px solid #c6d2de}.transaction-row{padding:14px 0;border-bottom:1px solid #c6d2de}.transaction-row strong,.transaction-row span{display:block}.checkline{display:flex;align-items:flex-start;gap:15px}.checkline input{width:25px;height:25px;min-height:25px;flex:0 0 25px}.field-help{font-size:1rem;color:#465d72}#sms-history{margin-top:20px}.auth{max-width:540px}.auth p{color:#465d72}input::placeholder,textarea::placeholder{font-size:1rem}button:focus-visible,a:focus-visible,input:focus,textarea:focus,select:focus{outline:4px solid #d49418;outline-offset:3px}#account-email{font-size:1rem}#record-error{background:white;padding:12px 0}#record-error:empty{display:none}.balance{font-size:2.8rem}.card-top{font-size:1rem;letter-spacing:0}.total-parts span{font-size:1rem}.table-wrap table{font-size:1rem}th{font-size:1rem}.total-card small{color:#d2e0ed}.filters{flex-wrap:wrap}.filters label{min-width:200px}footer{font-size:1rem}.mobile-back{width:100%}@media(max-width:780px){#client-cards{grid-template-columns:1fr}.profile-actions{grid-template-columns:1fr 1fr}.summary-grid{grid-template-columns:1fr}.pair{grid-template-columns:1fr}.heading h1{font-size:1.65rem}.register-top{flex-direction:column;align-items:stretch}.stat strong{font-size:1.25rem}.stats{grid-template-columns:1fr 1fr}.dialog-heading{top:-20px}dialog{padding:20px}.filters label{width:100%}.view-tabs button{flex:1 1 auto}.balance{font-size:2rem}}@media print{.profile-actions,.dialog-heading button,form,#sms-panel{display:none!important}dialog[open]{position:static;max-height:none;overflow:visible;width:100%;border:0}body:has(dialog[open])>header,body:has(dialog[open])>main{display:none}.transaction-list{overflow:visible}}

#business-settings{max-width:680px;background:white;padding:24px;border:1px solid #bbc9d8;border-radius:12px}#business-settings[hidden]{display:none}#business-settings .fields{display:grid;gap:18px}#business-settings input{width:100%;box-sizing:border-box}

#company-banking{display:grid;gap:16px;border:1px solid #bbc9d8;border-radius:8px;padding:20px;min-width:0}#company-banking legend{font-weight:700}#company-banking .checkline input{width:25px}#company-banking p{margin:0}

#login-settings{max-width:680px;background:white;border:1px solid #bbc9d8;padding:24px;border-radius:12px}#login-settings[hidden]{display:none}#login-settings .fields{display:grid;gap:16px}#login-settings h3{margin-top:30px}#login-settings input{width:100%;box-sizing:border-box}
