/* Toma product system v1. Shared with native TomaTheme. Brand artwork stays unchanged. */
:root{--toma-ink:#153b28;--toma-canvas:#faf9f2;--toma-surface:#fffef9;--toma-muted:#3e4d40;--toma-border:#d6dccf;--toma-control-height:56px;--toma-control-radius:12px;--toma-card-radius:20px;--toma-space-1:8px;--toma-space-2:16px;--toma-space-3:24px;--toma-space-4:32px;--toma-ui:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.signin-page{font-family:var(--toma-ui);color:var(--toma-ink)}
.workspace h1,.workspace h2,.workspace h3,.record-tray h2,.record-tray h3,.composer-dialog h2,.composer-header h2{font-family:var(--toma-ui);font-weight:600;letter-spacing:-.025em;line-height:1.2}
.workspace h1,#workspace-title{font-size:clamp(28px,3vw,36px)}
.workspace h2,.record-tray h2,.composer-dialog h2{font-size:28px}
.workspace h3,.record-tray h3{font-size:20px}
.workspace .hero-amount{font-family:var(--toma-ui);font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:-.045em}
.directory-info>span,.directory-amount,.detail-bill>span{font-family:var(--toma-ui);font-weight:600;letter-spacing:-.015em}
.workspace label,.record-tray label,.composer-dialog label{font-family:var(--toma-ui);font-size:15px;font-weight:500;line-height:1.4;gap:var(--toma-space-1);color:var(--toma-ink)}
.workspace input:not([type=checkbox]):not([type=radio]),.workspace select,.record-tray input:not([type=checkbox]):not([type=radio]),.record-tray select,.composer-dialog input:not([type=checkbox]):not([type=radio]),.composer-dialog select,.toma-select-trigger{min-height:var(--toma-control-height);border-radius:var(--toma-control-radius);border:1px solid var(--toma-border);background:var(--toma-surface);padding:14px 16px;font-family:var(--toma-ui);font-size:16px;box-shadow:none}
.workspace input:hover,.record-tray input:hover,.composer-dialog input:hover,.toma-select-trigger:hover{box-shadow:none;transform:none}
.workspace button,.record-tray button,.composer-dialog button{font-family:var(--toma-ui);font-weight:600;border-radius:var(--toma-control-radius);transition:none;box-shadow:none}
.workspace button:active,.record-tray button:active,.composer-dialog button:active{transform:none;opacity:.82}
.workspace form>button,.composer-footer>button,.record-tray .detail-actions>button{height:var(--toma-control-height);min-height:var(--toma-control-height);display:flex;align-items:center;justify-content:center;padding:0 16px}
.workspace-actions>button{min-height:48px}
.record-tray,.composer-dialog{border-radius:24px;background:var(--toma-canvas);padding:32px}
.record-tray .tray-close,.composer-dialog .tray-close{width:44px;height:44px;min-height:44px;padding:0;border:0;background:transparent;font-size:26px;font-weight:400;flex:none}
.workspace-card{box-shadow:none;backdrop-filter:none}
.directory-list .directory-row{border:1px solid var(--toma-border);border-radius:var(--toma-card-radius);background:var(--toma-surface);padding:20px!important;margin-bottom:12px;box-shadow:none}
.workspace .status,.record-tray .status{border-radius:8px;font:600 12px/1.4 var(--toma-ui);padding:6px 10px}
.record-tray .client-property-photo{margin:24px 0}
.record-tray .client-property-photo img{border-radius:0}
@media(max-width:600px){.record-tray,.composer-dialog{padding:24px 20px}.record-tray h2,.composer-dialog h2{font-size:26px}.workspace-heading{gap:16px}.directory-list .directory-row{padding:16px!important}}
/* List containers have one surface level; individual records carry the border. */
.signed-in .workspace-card{box-shadow:none!important;backdrop-filter:none!important}
.workspace-card:has(>.directory-toolbar){background:transparent!important;border:0!important;padding:0!important}
.directory-list{display:grid;gap:12px}
.directory-list>li{border:0!important;padding:0!important;margin:0!important}
.directory-list .directory-row{margin:0!important}
/* Loading preserves content geometry; no visible photo loading copy. */
.photo-skeleton{width:100%;aspect-ratio:8/5;background:#e3e7dc;animation:toma-skeleton-pulse 1.2s ease-in-out infinite alternate}
@keyframes toma-skeleton-pulse{to{opacity:.45}}
@media(prefers-reduced-motion:reduce){.photo-skeleton{animation:none}}
.page-skeleton{display:grid;align-content:start;gap:24px;width:min(100%,1280px);margin:0 auto;padding:40px clamp(20px,5vw,80px)}
.page-skeleton i{display:block;border-radius:12px;height:96px;background:#e3e7dc;animation:toma-skeleton-pulse 1.2s ease-in-out infinite alternate}
.page-skeleton .skeleton-heading{width:180px;height:28px}.page-skeleton .skeleton-field{height:56px}
#initial-loading,.page-loading{align-items:flex-start!important;justify-content:stretch!important}
@media(prefers-reduced-motion:reduce){.page-skeleton i{animation:none}}
/* Approved iPhone typography and open-surface design, November 2026. */
:root{--toma-canvas:#fbfbf9;--toma-surface:#fff;--toma-border:#e2e3de;--toma-muted:#666864;--toma-control-radius:16px;--toma-card-radius:12px;--toma-money:Georgia,"Times New Roman",serif}
.workspace h1,.workspace h2,.workspace h3,.record-tray h2,.record-tray h3,.composer-dialog h2,.composer-header h2,#workspace-title{font-size:20px;font-weight:400;letter-spacing:0;line-height:1.35;color:#20231f}
.workspace .hero-amount,.directory-amount,.detail-bill>span,.estimate-amount,.composer-total,.home-totals strong,.review-price{font-family:var(--toma-money);font-weight:400;color:#153b28;letter-spacing:-.02em}
.directory-info>span{font-weight:400}
.workspace form>button,.composer-footer>button,.record-tray .detail-actions>button,.workspace-actions>button{border-radius:999px}
.directory-list{gap:0}.directory-list .directory-row{background:transparent;border:0;border-bottom:1px solid var(--toma-border);border-radius:0;padding:24px 0!important}
.workspace-card{border-color:var(--toma-border);background:transparent;box-shadow:none}
.workspace .avatar,.record-tray .avatar,.client-avatar,.profile-menu summary{background:#edeeea;color:#20231f}
body.public-bill-mode .workspace .public-bill:not(.bill-complete) #flow-title{font-family:var(--toma-ui);font-size:20px;font-weight:400;letter-spacing:0;line-height:1.35;min-height:54px;margin:8px 0 12px;color:#20231f}
body .workspace .public-bill .flow-price{background:transparent;border:0;border-bottom:1px solid var(--toma-border);border-radius:0;padding:8px 0 16px;margin-top:0;color:#153b28;--price-size:48px}
body .workspace .public-bill .flow-price input:not([type=hidden]){color:#153b28;font-family:var(--toma-money)}
.public-bill .flow-price:focus-within{outline:none;border-color:#153b28}
.public-bill .flow-actions button{border-radius:999px}
.public-bill .quick-review-card{border:0;border-radius:0;background:transparent;padding:12px 0}
@media(max-width:600px){.record-tray h2,.composer-dialog h2{font-size:20px}.directory-list .directory-row{padding:20px 0!important}body .workspace .public-bill .flow-price{--price-size:44px}}
/* Payment preferences match iPhone build 1045. */
.payment-choices{display:grid;gap:12px;padding-top:16px}
.payment-choice{display:flex!important;align-items:center;gap:16px;text-align:left;width:100%;min-height:72px;padding:16px!important;border:1px solid var(--toma-border);border-radius:16px!important;background:transparent;color:#153b28;cursor:pointer;box-shadow:none!important;transform:none!important;transition:none!important}
.payment-choice-primary{min-height:84px;padding-block:22px!important}
.payment-choice[aria-pressed=true]{background:#e9efdf;border-color:#52705c}
.payment-choice:hover{background:transparent;transform:none!important}.payment-choice[aria-pressed=true]:hover{background:#e9efdf}
.payment-choice strong{display:block;font:600 16px/1.4 var(--toma-ui)}.payment-choice small{display:block;font:400 14px/1.45 var(--toma-ui);margin-top:4px;color:var(--toma-muted)}.payment-radio{font-size:24px;flex:none}
.payment-settings-heading{display:flex;justify-content:space-between;gap:20px;align-items:start;margin:12px 0 28px}.payment-settings-heading h2{margin:0 0 8px}.payment-settings-heading p{margin:0}
.payment-close{width:36px;height:36px;min-height:36px!important;padding:0!important;border:0;border-radius:50%!important;background:#edeeea;font-size:24px;flex:none;cursor:pointer}
.payment-saved-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 0;border-bottom:1px solid var(--toma-border)}.payment-saved-row strong{font-weight:500}.payment-saved-value{margin:6px 0 0;color:var(--toma-muted);overflow-wrap:anywhere}.payment-saved-row button{min-height:44px}
.payment-settings form{display:grid;gap:20px}.payment-settings form label{display:grid;gap:10px}.payment-settings form .pill{width:100%;min-height:52px}
.payment-coming{margin:28px 0 16px;padding:20px;background:#f0f1ed;border-radius:12px}.payment-coming h3{margin:0 0 4px!important;font-size:16px!important}.payment-coming small,.payment-coming p{color:var(--toma-muted)}.payment-coming p{margin:12px 0 0}
#bill-step-2 label:has(input[name=amount]){gap:20px}#bill-step-2 input[name=amount]{margin-top:20px;font:400 40px/1.2 var(--toma-money);color:#153b28}
body.public-bill-mode .workspace .public-bill:not(.bill-complete):has([data-flow-step="1"]:not([hidden])) #flow-title{margin-bottom:24px;min-height:0}
.payment-choices .payment-choice{margin:0!important}
#bill-dialog:has(#bill-step-4:not([hidden])) .composer-header h2{min-height:0;margin-bottom:0}
#bill-dialog:has(#bill-step-4:not([hidden])) .composer-header{margin-bottom:16px}
.payment-settings .payment-close{margin:0!important}.payment-settings .payment-saved-row button{margin:0!important}

.payment-settings-skeleton{height:160px;border-radius:12px;background:#eef0eb;}

/* Dedicated account page: calm sections, consistent full-row targets. */
.profile-page{max-width:760px;margin:12px auto 64px;width:100%}.profile-identity{display:flex;align-items:center;gap:20px;padding:12px 0 32px}.profile-avatar{width:64px;height:64px;border-radius:50%;background:#eeefeb;display:grid;place-items:center;color:#536159}.profile-avatar svg{width:30px;height:30px}.profile-identity h2{font:400 24px/1.3 var(--font-body,Arial,sans-serif);margin:0 0 6px}.profile-identity p{margin:0;color:#6b706a}.profile-section{margin-bottom:32px}.profile-section>h2{font:500 14px/1.4 var(--font-body,Arial,sans-serif);color:#6b706a;margin:0;padding:0 0 12px}.profile-page .profile-row{display:flex;justify-content:space-between;align-items:center;gap:24px;width:100%;min-height:68px;padding:18px 0;border:0;border-bottom:1px solid #e4e6df;border-radius:0;background:none;box-shadow:none;color:#173d2c;text-decoration:none;text-align:left;font:400 17px/1.4 var(--font-body,Arial,sans-serif);cursor:pointer}.profile-row strong{font-weight:500;display:block}.profile-row small{display:block;color:#6b706a;font-size:14px;margin-top:5px}.profile-page .profile-signout{min-height:48px;padding:10px 0;border:0;background:none;box-shadow:none;border-radius:0;font-size:16px;color:#173d2c}.workspace-header .profile-page-trigger{display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:10px;border:0;border-radius:50%;background:#eeefeb;box-shadow:none;color:#173d2c}.profile-page-trigger svg{width:24px;height:24px}.profile-page-trigger[aria-pressed="true"]{background:#e1e7dd}@media(max-width:600px){.profile-page{margin-top:0}.profile-identity{padding-top:4px;gap:16px}.profile-row small{max-width:27ch}}

.workspace-header #profile-menu{margin-left:auto}.profile-view .workspace-heading{max-width:760px;margin-left:auto;margin-right:auto}.profile-view #sync-status{display:none}

/* Hover and focus affordances only accompany real drill-down actions. */
.workspace .metric-link{display:block;width:100%;text-align:left;border:0;border-radius:18px;padding:24px;min-height:150px;color:#153b28;background:#edf1e7;box-shadow:none;transform:none!important;transition:none}.workspace .metric-link.overdue{background:#f7e8e2}.metric-link .metric-label:after{content:'›';float:right}.workspace .metric-link:hover{background:#e5ebdf;box-shadow:none}.workspace .metric-link.overdue:hover{background:#f3dfd7}.workspace .amount-link{display:block;border:0;padding:0;min-height:0;background:none!important;text-align:left;font:normal clamp(64px,7vw,100px)/1.1 Georgia,serif;letter-spacing:-4px;color:#153b28;box-shadow:none;transform:none!important}.workspace .bill-row-link{border:0;border-radius:0;padding:0;min-height:44px;background:none;text-align:left;font:inherit;color:inherit}.bill-drill-row{cursor:pointer}.bill-table tbody tr:not(.bill-drill-row):hover td{background:transparent}.record-tray .client-bill-link{width:100%;border:0;border-top:1px solid var(--line);border-radius:0;background:none;text-align:left;padding:20px 0;min-height:72px;box-shadow:none}.workspace .graph-details{border:0;background:none;border-radius:0;padding:8px 0;min-height:44px}.metric:not(button):hover{transform:none;box-shadow:none}.profile-identity,.profile-avatar,.status,.bill-line-items .detail-bill{cursor:default}.bill-filters{flex-wrap:wrap}

.workspace .graph-details{display:block;margin-top:12px}
