/* Shared iPhone visual hierarchy, adapted for a wider workspace. */
:root{--toma-canvas:#fbfbf9;--toma-border:#e4e5e0;--toma-muted:#737670}
.signed-in .workspace{max-width:1240px}.workspace-heading{padding-top:24px;margin-bottom:32px!important}
#workspace-title{font-size:24px;font-weight:400}.workspace-tabs{gap:24px!important}.workspace-tabs button{font-weight:500}
.directory-toolbar{display:flex;align-items:end;gap:24px;margin-bottom:24px!important}.directory-search{max-width:480px;width:100%;font-size:14px;color:var(--toma-muted)}
.directory-search input{min-height:52px;border-radius:14px!important;background:#f0f1ed!important;border:0!important;font-size:16px}
#clients.directory-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.directory-list .directory-row{display:flex;align-items:center;gap:18px;padding:22px!important;border:1px solid var(--toma-border)!important;border-radius:20px!important;background:#fff!important;width:100%;min-height:112px;text-align:left;box-shadow:none!important;transform:none!important;transition:none!important}
#bills.directory-list{gap:12px}.directory-info{flex:1;min-width:0}.directory-info>span{display:block;font-size:19px;font-weight:500;line-height:1.35;color:#20231f}.directory-info small{display:block;color:var(--toma-muted)!important;font-size:14px;line-height:1.5;margin-top:5px;overflow-wrap:anywhere}
.client-avatar{display:grid;place-items:center;flex:none;width:52px;height:52px;border-radius:50%;background:#eeefeb!important;color:#51564e!important;font:500 17px/1 Arial,sans-serif}.directory-chevron{font-size:24px;color:#7a8077}.directory-amount{font:400 26px/1.2 Georgia,serif!important;color:#153b28!important;white-space:nowrap}.directory-list .status{font-size:12px;white-space:nowrap;padding:7px 11px;border-radius:8px}
.directory-empty{grid-column:1/-1;padding:48px 24px!important;text-align:center;border:1px dashed var(--toma-border)!important;border-radius:20px;color:var(--toma-muted)}
.record-tray{width:min(560px,100vw)!important;padding:28px!important;background:#fbfbf9!important}.record-tray.overdue-detail{background:#faeae5!important}.tray-heading{margin-bottom:20px!important}.tray-heading h2{font:400 24px/1.3 var(--toma-ui)!important}.tray-close{display:grid;place-items:center;width:40px!important;height:40px!important;min-height:40px!important;padding:0!important;border:0!important;background:#eeefeb!important;color:#20231f!important;border-radius:50%!important;font-size:28px!important;box-shadow:none!important}
.client-profile-identity{display:flex;align-items:center;gap:16px;margin-bottom:24px}.client-profile-identity .client-avatar{width:64px;height:64px;font-size:22px}.client-profile-identity p{margin:0}.record-tray .composer-review{border:0;background:transparent;padding:20px 0;gap:18px}.record-tray .composer-review dt{color:var(--toma-muted)}.record-tray .composer-review dd{color:#30362e}.record-tray .detail-actions{display:flex;flex-wrap:wrap;gap:10px}.record-tray .detail-actions button{min-height:48px;margin:0!important;padding:12px 20px!important}.client-property-photo{margin:0 0 24px!important;border-radius:16px;overflow:hidden}.client-property-photo img{display:block;width:100%;height:auto;object-fit:contain}.photo-unavailable{display:none}
.bill-consent-section{margin:28px 0;padding:24px 0;border-top:1px solid var(--toma-border);border-bottom:1px solid var(--toma-border)}.bill-consent-section h3{margin:0 0 16px!important}.bill-consent-section button{min-height:48px;margin:8px 8px 0 0!important;padding:12px 18px}.consent-status{display:inline-block;padding:6px 10px;border-radius:8px;background:#eee; font-size:13px;color:#555}.consent-status.granted{background:#e6ecdf;color:#2b4c34}.consent-status.revoked,.consent-status.blocked{background:#f6e3dc;color:#8a3c2e}.consent-phone{margin:10px 0}.bill-consent-section form{display:grid;gap:18px}.bill-consent-section form label{display:grid;gap:10px;font-size:15px}.consent-script{margin:0;padding:20px;border-radius:14px;background:#eff1e9;font-size:15px;line-height:1.6}.consent-attestation{display:flex!important;align-items:start;gap:12px!important;font-size:14px!important;line-height:1.5}.consent-attestation input{width:20px!important;height:20px!important;min-height:20px!important;flex:none}.consent-history{padding:16px 0;border-top:1px solid var(--toma-border);font-size:14px}.consent-history p{margin:6px 0;overflow-wrap:anywhere}.bill-consent-section .field-error{color:#a33127;font-size:14px}
@media(max-width:700px){#clients.directory-list{grid-template-columns:1fr}.directory-list .directory-row{padding:18px!important;gap:12px}.directory-amount{font-size:22px!important}#bills .directory-row{flex-wrap:wrap}#bills .directory-info{flex-basis:calc(100% - 72px)}#bills .directory-amount{margin-left:64px}.directory-toolbar{align-items:start;flex-direction:column;gap:12px}.record-tray{padding:24px!important}.workspace-heading{padding-top:12px}.client-avatar{width:48px;height:48px}}
#sync-status{display:none!important}.profile-rate{font:400 28px/1.3 Georgia,serif;color:#153b28}.workspace-actions button{border-radius:999px!important;min-height:48px!important}

/* Composer controls follow the native app, with one stable footer surface. */
.record-tray.composer-dialog{width:min(560px,calc(100vw - 32px))!important;padding:28px!important;background:#fbfbf9!important;border:0!important;border-radius:28px!important}
.record-tray.composer-dialog:focus{outline:none}
.composer-dialog .composer-header{min-height:0!important;align-items:flex-start;margin-bottom:24px!important;gap:16px}
.composer-dialog .composer-header h2{font:400 22px/1.35 var(--toma-ui)!important;margin:8px 0 0!important;letter-spacing:-.3px}
.composer-dialog .eyebrow{font-size:12px;letter-spacing:.06em;color:#737670;margin:0!important}
.composer-dialog .composer-close{display:grid;place-items:center;flex:none;width:40px!important;height:40px!important;min-height:40px!important;padding:0!important;border:0!important;border-radius:50%!important;background:#eeefeb!important;color:#252925!important;font:400 28px/1 var(--toma-ui)!important;box-shadow:none!important}
.composer-dialog .form-instruction{margin:0 0 20px!important;font-size:15px!important;line-height:1.5;color:#737670}
.composer-dialog .directory-search{max-width:none;margin-bottom:16px!important;gap:8px;font-size:14px}
.composer-dialog .directory-search input{height:52px;min-height:52px;padding:0 16px!important;font-size:16px!important}
.composer-dialog .client-choices{gap:0;margin:8px 0 16px;max-height:300px}
.record-tray.composer-dialog .client-choice{padding:14px 8px!important;gap:12px;border:0!important;border-bottom:1px solid #e4e5e0!important;border-radius:0!important;background:transparent!important;min-height:80px;box-shadow:none!important}
.composer-dialog .client-choice .directory-info>span{font:500 16px/1.35 var(--toma-ui)!important}.composer-dialog .client-choice .directory-info small{font-size:13px;line-height:1.4;margin-top:4px}
.composer-dialog .client-choice .client-avatar{width:44px;height:44px;font-size:15px}
.composer-dialog .client-choice-mark{display:grid;place-items:center;width:22px;height:22px;flex:0 0 22px;border:1.5px solid #b9c0b6;border-radius:50%;font:500 14px/1 var(--toma-ui);color:white}
.composer-dialog .client-choice[aria-pressed=true] .client-choice-mark{background:#153b28;border-color:#153b28}
.composer-dialog #bill-add-client{min-height:44px;padding:8px 0!important;margin:0!important;font-size:15px}
.record-tray.composer-dialog .composer-footer{position:sticky;bottom:-28px;margin-top:24px!important;padding:16px 0 20px!important;border:0;background:#fbfbf9!important;gap:10px}
.record-tray.composer-dialog .composer-footer>button{border-radius:999px!important;height:56px!important;min-height:56px!important;font-size:16px!important;margin:0!important;box-shadow:none!important}
.composer-dialog button:hover{transform:none!important;box-shadow:none!important}
#schedule-panel{padding:24px!important;border:1px solid #e4e5e0!important;border-radius:20px!important;background:#fff!important;overflow:visible}
#schedule-panel h2{margin:0 0 8px;font-size:20px;font-weight:400}#schedule-panel>p{margin:0 0 16px;font-size:14px;color:#737670;line-height:1.5}
#schedules{list-style:none;padding:0;margin:0}#schedules .schedule-row{display:flex;align-items:center;gap:24px;padding:24px 0;margin:0;border-bottom:1px solid #e4e5e0}#schedules .schedule-row:last-child{border-bottom:0;padding-bottom:0}
.schedule-info{flex:1;min-width:0}.schedule-info strong{display:block;font:500 16px/1.4 var(--toma-ui);color:#252925}.schedule-date{display:block;margin-top:6px;color:#737670;font-size:14px}.schedule-amount{text-align:right;flex:none}.schedule-amount>span{font:400 28px/1.2 Georgia,serif;color:#153b28}.schedule-amount small{display:block;font-size:12px;color:#737670;margin-top:4px}
.schedule-menu{position:relative;flex:none}.schedule-menu summary{list-style:none;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#f0f1ed;cursor:pointer;letter-spacing:2px}.schedule-menu summary::-webkit-details-marker{display:none}.schedule-actions{position:absolute;z-index:20;right:0;top:48px;width:210px;padding:6px;border:1px solid #e4e5e0;border-radius:16px;background:#fff;box-shadow:0 8px 24px #10281914}
#schedules .schedule-actions button{display:block;width:100%;min-height:44px;height:auto;padding:12px!important;margin:0!important;border:0;border-radius:10px;background:transparent;text-align:left;font:400 14px/1.3 var(--toma-ui);white-space:normal}#schedules .schedule-actions .destructive{color:#a3322a}
@media(max-width:600px){.record-tray.composer-dialog{padding:24px!important;max-height:calc(100dvh - 24px);width:calc(100vw - 24px)!important}.composer-dialog .composer-footer{bottom:-24px!important}#schedules .schedule-row{gap:12px}.schedule-amount>span{font-size:24px}#schedule-panel{padding:20px!important}}
