
/* One familiar client per row: whole photos, aligned actions and palette surfaces. */
html body .home-page .regulars-head { align-items:center; gap:12px; margin-bottom:12px; }
html body .home-page .regulars-head h2 { font-size:calc(21px * var(--native-text-scale,1)); line-height:1.25; }
html body .home-page .regulars-head p { font-size:calc(13px * var(--native-text-scale,1)); line-height:1.4; }
html body .home-page .regulars-head .home-view-detail { flex:none; min-height:44px; margin:0; padding:8px 12px; border:1px solid var(--line); border-radius:12px; background:var(--paper)!important; color:var(--charcoal)!important; font-size:calc(14px * var(--native-text-scale,1)); line-height:1.3; white-space:nowrap; }
html body .home-page .regulars-grid { grid-template-columns:minmax(0,1fr); gap:10px; }
html body .home-page .regular-card { display:grid; grid-template-columns:84px minmax(0,1fr); align-items:center; gap:12px; min-height:0; padding:12px; border-radius:16px; border:1px solid var(--line)!important; background:var(--paper)!important; color:var(--charcoal)!important; box-shadow:none; }
html body .home-page .regular-card-photo { width:84px; height:96px; border-radius:12px; background:var(--sage-soft)!important; color:var(--sage-dark); font-size:calc(25px * var(--native-text-scale,1)); font-weight:750; }
html body .home-page .regular-card-photo img { width:100%; height:100%; max-height:none; object-fit:contain; background:transparent; }
html body .home-page .regular-card-body { min-width:0; padding:0; }
html body .home-page .regular-card-body strong { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; white-space:normal; overflow:hidden; overflow-wrap:anywhere; color:var(--charcoal)!important; font-size:calc(18px * var(--native-text-scale,1)); line-height:1.25; letter-spacing:-.02em; }
html body .home-page .regular-card-body .regular-owner { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; overflow-wrap:anywhere; color:var(--muted)!important; font-size:calc(13px * var(--native-text-scale,1)); line-height:1.35; margin-top:3px; }
html body .home-page .regular-card-body .regular-card-footer { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:4px 8px; margin-top:8px; }
html body .home-page .regular-card-body .regular-count { margin:0; color:var(--muted)!important; font-size:calc(12px * var(--native-text-scale,1)); line-height:1.3; white-space:nowrap; }
html body .home-page .regular-card-body .regular-book-pill { display:inline-flex!important; align-items:center; justify-content:center; min-height:40px; margin:0 0 0 auto!important; padding:6px 11px; border-radius:10px; background:var(--sage-soft)!important; color:var(--sage-dark)!important; font-size:calc(13px * var(--native-text-scale,1))!important; line-height:1.3; white-space:nowrap; }
html body .home-page .regular-add-card { grid-template-columns:40px minmax(0,1fr) 20px; justify-items:stretch; min-height:64px; text-align:left; }
html body .home-page .regular-add-card .plus { width:40px; height:40px; border-radius:12px; margin:0; background:var(--sage-soft)!important; color:var(--sage-dark)!important; font-size:calc(24px * var(--native-text-scale,1)); }
html body .home-page .regular-add-card strong { display:block; color:var(--charcoal)!important; font-size:calc(15px * var(--native-text-scale,1)); line-height:1.3; }
html body .home-page .regular-add-card .regular-add-copy { display:block; margin-top:2px; color:var(--muted)!important; font-size:calc(12px * var(--native-text-scale,1)); line-height:1.35; }
html body .home-page .regular-add-card .regular-add-arrow { color:var(--muted); font-size:calc(24px * var(--native-text-scale,1)); }
@media (max-width:350px) {
 html body .home-page .regular-card { grid-template-columns:64px minmax(0,1fr); gap:10px; padding:10px; }
 html body .home-page .regular-card-photo { width:64px; height:80px; }
 html body .home-page .regular-add-card { grid-template-columns:40px minmax(0,1fr) 16px; }
 html body .home-page .regulars-head { flex-wrap:wrap; }
}
@media (min-width:900px) { html body .home-page .regulars-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }

/* Approved business directory layout, with native text-size support. */
html body .topbar.clients-header { padding:10px 16px; }
html body .topbar.clients-header .brand-row { display:grid; grid-template-columns:minmax(0,1fr) 44px 44px; gap:8px; }
html body .topbar.clients-header .brand { gap:9px; min-width:0; }
html body .topbar.clients-header .brand-mark { width:40px; height:40px; min-width:40px; border-radius:13px; }
html body .topbar.clients-header .brand-tag { display:none; }
html body .topbar.clients-header h1 { font-size:calc(20px * var(--native-text-scale,1)); line-height:1.2; }
html body .topbar.clients-header .brand p { font-size:calc(12px * var(--native-text-scale,1)); line-height:1.3; }
html body .topbar.clients-header .icon-btn { width:44px; min-width:44px; height:44px; padding:0; }
html body .topbar.clients-header .workspace-back { font-size:0; }
html body .topbar.clients-header .workspace-back::before { content:'←'; font-size:24px; }
html body #screen[data-route="clients"] .client-tool-actions { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,calc(150px * var(--native-text-scale,1))),1fr)); gap:8px; }
html body #screen[data-route="clients"] .client-tool-actions button { min-width:0; padding:9px; font-size:calc(13px * var(--native-text-scale,1)); }
html body .dog-directory-card { padding:12px; border-radius:16px; }
html body .dog-directory-top { grid-template-columns:64px minmax(0,1fr); gap:12px; align-items:start; }
html body .dog-directory-photo { width:64px; height:72px; border-radius:12px; }
html body .dog-directory-photo img { width:100%; height:100%; object-fit:contain; }
html body .dog-directory-name { font-size:calc(20px * var(--native-text-scale,1)); }
html body .dog-directory-owner { margin-top:3px; }
html body .dog-directory-last { margin-top:5px; font-size:calc(12px * var(--native-text-scale,1)); }
html body .dog-rate-chip { margin-top:5px; }
