img.crm-logo{display:block;width:72px;height:auto;max-width:100%;flex-shrink:0;background:transparent;border:0;border-radius:0;object-fit:contain}.brand img.crm-logo{margin-right:auto}.workspace{display:inline-flex;align-items:center;gap:12px}#sidebar h2 img.crm-logo{margin:0}.property-brand img.crm-logo{margin-bottom:16px}

/* Shared device-native typography for every CRM page. */
:root{--crm-font:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
body{font-family:var(--crm-font);font-size:1rem;line-height:1.5}
body button,body input,body select,body textarea{font-family:var(--crm-font);font-size:1rem;line-height:1.4}
body h1{font-size:1.625rem;font-weight:650;line-height:1.25;letter-spacing:-.4px}
body h2{font-size:1.25rem;font-weight:600;line-height:1.35;letter-spacing:-.2px}
body h3{font-size:1.125rem;font-weight:600;line-height:1.4}
body p{font-size:1rem;line-height:1.5}
body label,body .auth-card label,body .field-row label,body .checkline{font-size:.875rem;line-height:1.5}
body small,body .hint,body .prototype,body #authMessage,body #syncStatus{font-size:.8125rem;line-height:1.45}
body .heading p,body .content p,body .role-metrics p,body .metric small{font-size:.875rem;line-height:1.5}
body .content b{font-size:1rem;font-weight:600;line-height:1.4}
body .right{font-size:.8125rem;line-height:1.45;max-width:none}
body .right small{font-size:.75rem;line-height:1.45}
body .badge,body .right .badge{font-size:.75rem;line-height:1.4}
body .links a,body .password-wrap button,body .chips button,body .estate-shortcuts button,body .filters select,body .plot-filters select,body .task-actions button,body .row .actions button,body .page-card button,body .media-tile button,body .role-preview-picker,body .role-preview-picker select{font-size:.875rem;line-height:1.4}
body .links{flex-wrap:wrap}
body .password-wrap input{padding-right:64px}
body #bottom button{font-size:.75rem;line-height:1.2}
body #sidebar>button{font-size:1rem;line-height:1.4}

/* Grouped workspace settings. */
.settings-search{margin:0 0 20px;max-width:620px}.settings-search label{margin-top:0}.settings-search input{width:100%}
.settings-group{border:1px solid var(--line,#35483a);border-radius:14px;margin-bottom:12px;background:var(--panel,#111813);overflow:hidden}
.settings-group>summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px;list-style:none}
.settings-group>summary::-webkit-details-marker{display:none}.settings-group>summary h2{margin:0 0 4px;font-size:1rem;letter-spacing:0}
.settings-description{display:block;color:var(--muted,#a0b0a5);font-size:.875rem;line-height:1.45}.settings-summary-end{display:flex;align-items:center;gap:12px;flex-shrink:0}.settings-summary-end svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}.settings-group[open] .settings-summary-end svg{transform:rotate(180deg)}
.settings-group-content{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:0 18px 18px}.settings-group-content .settings-card{margin:0;min-width:0}.settings-group-content .settings-card .actions{flex-wrap:wrap}.settings-group-content .settings-card h2{font-size:1rem}.settings-group-content .settings-card p{font-size:.875rem}.settings-group-content .settings-card .heading{flex-wrap:wrap;gap:8px}.settings-group-content .settings-card button{white-space:normal}
.settings-group[hidden],.settings-card[hidden],#settingsEmpty[hidden]{display:none}.settings-group>summary:focus-visible{outline:2px solid var(--green,#299b64);outline-offset:-4px;border-radius:14px}
@media(max-width:800px){.settings-group-content{grid-template-columns:1fr;padding:0 14px 14px}.settings-group>summary{padding:16px 14px}.settings-description{font-size:.8125rem}.settings-summary-end{gap:8px}}

.outcome-voice{margin:18px 0;padding:14px;border:1px solid var(--line,#35483a);border-radius:12px;background:transparent}.outcome-voice h3{margin:0 0 8px}.outcome-voice .actions{gap:8px}.outcome-voice .hint{margin:8px 0}.outcome-voice audio,.saved-voice audio{display:block;width:100%;max-width:100%;margin:8px 0}.outcome-voice [hidden]{display:none}.outcome-voice input[type=file]{max-width:100%;font-size:.875rem}.outcome-history{margin-top:20px}.outcome-history-item{border-top:1px solid var(--line,#35483a);padding:14px 0}.outcome-history-item p{white-space:pre-wrap;overflow-wrap:anywhere}.saved-voice{margin:10px 0;min-width:0}.saved-voice .hint{display:block}
