html[data-density=comfortable] .app-shell .content-area { font-size:16px; }
html[data-density=comfortable] .app-shell .data-table { font-size:16px; line-height:1.6; }
html[data-density=comfortable] .app-shell .data-table th { font-size:14px; padding:14px 12px; }
html[data-density=comfortable] .app-shell .data-table td { padding:16px 12px; }
html[data-density=comfortable] .app-shell .data-table td span,html[data-density=comfortable] .app-shell .cell-subtext { font-size:14px; line-height:1.65; }
html[data-density=comfortable] .app-shell td[data-ui-data-label=Balance] span { font-size:17px; font-weight:700; color:var(--ink); white-space:nowrap; }
html[data-density=comfortable] .app-shell .btn { min-height:46px; font-size:16px; }
html[data-density=comfortable] .app-shell .btn-small { min-height:44px; font-size:14px; }
html[data-density=comfortable] .app-shell .filter-bar label,html[data-density=comfortable] .app-shell .form-grid label,html[data-density=comfortable] .app-shell .stacked-form label { font-size:15px; }
html[data-density=comfortable] .app-shell .filter-bar :is(input,select),html[data-density=comfortable] .app-shell .form-grid :is(input:not([type=checkbox]):not([type=radio]),select,textarea) { min-height:48px; font-size:16px; }
html[data-density=comfortable] .app-shell .field-hint,html[data-density=comfortable] .app-shell .heading-note,html[data-density=comfortable] .app-shell .page-heading p { font-size:15px; }
html[data-density=comfortable] .app-shell .sidebar .nav-link,html[data-density=comfortable] .app-shell .nav-group>summary { font-size:15px; min-height:44px; }
html[data-density=comfortable] .app-shell .modal-header h2 { font-size:22px; }
html[data-density=comfortable] .app-shell .modal-body,html[data-density=comfortable] .app-shell .workflow-note { font-size:15px; }
html[data-density=comfortable] .app-shell .readonly-summary,html[data-density=comfortable] .app-shell .selected-record span { font-size:14px; }
.display-choice { display:flex; gap:6px; flex-wrap:wrap; }
.contract-success-message { margin-bottom:16px; }
.phone-contact-field { min-width:0; grid-column:1 / -1; }
.phone-contact-title { display:block; margin-bottom:6px; }
.phone-contact-row { display:grid; grid-template-columns:minmax(135px,.85fr) minmax(145px,1.15fr); gap:8px; direction:ltr; }
.phone-contact-row label { margin:0; min-width:0; }
.phone-contact-row :is(input,select) { width:100%; min-width:0; direction:ltr; }
.phone-contact-hint { display:block; margin-top:5px; font-size:13px; color:var(--muted); }
.selected-record.tenant-selected-unit { margin-bottom:16px; }
@media(max-width:420px){.phone-contact-row{grid-template-columns:1fr}.phone-contact-row select{max-width:none}}
.display-choice [aria-pressed=true],.property-picker-toolbar [aria-pressed=true] { color:var(--primary-strong); border-color:var(--primary); background:#eaf4f3; }
.list-navigation-status { display:flex; align-items:center; gap:12px; font-size:14px; color:var(--primary-strong); min-height:24px; margin-bottom:12px; }
.list-navigation-status.is-error { color:#8e352f; background:#fff1ed; padding:12px; border:1px solid #e6b8af; border-radius:8px; }
.page-navigation-status { position:fixed;top:0;inset-inline:0;z-index:2100;background:var(--primary);color:white;text-align:center;padding:9px 16px;font-size:16px;box-shadow:0 2px 10px #0002; }
.page-navigation-status[hidden] { display:none; }
.is-list-loading :is(.data-table,.building-list,.followup-list) { opacity:.55; pointer-events:none; }
.is-list-loading .list-navigation-status::before { content:''; width:18px; height:18px; border:2px solid #c4dddd; border-top-color:var(--primary); border-radius:50%; animation:list-loading .7s linear infinite; flex-shrink:0; }
@keyframes list-loading { to { transform:rotate(360deg); } }
.property-visual-picker { grid-column:1 / -1; margin-bottom:14px; }
.property-picker-toolbar { display:flex; gap:6px; align-items:center; flex-wrap:wrap; margin-bottom:12px; }
.property-picker-toolbar .btn { flex:1 1 130px; }
.property-picker-heading { display:flex; justify-content:space-between; align-items:center; gap:10px; margin:10px 0; }
.property-choice-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(145px,1fr)); gap:9px; }
.property-choice-grid .property-choice { display:flex; flex-direction:column; gap:4px; align-items:flex-start; justify-content:center; padding:12px 14px; min-height:84px; text-align:start; white-space:normal; }
.property-choice strong { display:block; font-size:18px; color:var(--ink); }
.property-choice.is-unit strong { font-size:24px; }
.property-choice span,.property-choice small { display:block; font-size:13px; line-height:1.6; }
.property-choice[aria-pressed=true] { border-color:var(--primary); background:#eaf4f3; box-shadow:inset 0 0 0 1px var(--primary); }
.property-choice:disabled { opacity:.65; }
.property-picker-more { margin-top:10px; }
.quick-entry .rental-results { max-height:none!important; overflow:visible; }
.tenant-secondary-actions { position:relative; }
.tenant-secondary-actions>summary { list-style:none; cursor:pointer; }
.tenant-secondary-actions[open]>div { display:flex; flex-direction:column; align-items:stretch; gap:7px; padding:12px; border:1px solid var(--line); border-radius:9px; background:var(--surface); box-shadow:var(--shadow); position:absolute; z-index:20; inset-inline-end:0; min-width:240px; }
.followup-filters { align-items:end; }
.followup-list { display:grid; gap:12px; }
.followup-card { border:1px solid var(--line); background:var(--surface); border-radius:10px; padding:18px; display:flex; gap:18px; align-items:center; justify-content:space-between; }
.followup-card h2,.followup-card h3 { margin:0 0 5px; }
.followup-card p { margin:3px 0; }
.followup-meta { color:var(--muted); font-size:14px; }
.followup-summary { display:grid; grid-template-columns:repeat(auto-fit,minmax(155px,1fr)); gap:12px; margin:16px 0; }
.followup-summary>div { border:1px solid var(--line); border-radius:9px; padding:14px; background:var(--surface); }
.followup-summary strong { display:block; font-size:22px; margin-top:5px; }
.followup-actions { display:flex; gap:8px; flex-wrap:wrap; }
.followup-actions .btn { flex:1 1 145px; }
.followup-timeline { list-style:none; margin:0; padding:0; }
.followup-timeline li { padding:16px 0; border-bottom:1px solid var(--line); }
.followup-timeline li:last-child { border-bottom:0; }
.followup-timeline p { margin:5px 0; white-space:pre-wrap; overflow-wrap:anywhere; }
.followup-draft { width:100%; min-height:180px; font-size:16px; line-height:1.8; }
.followup-ai-result { padding:14px; background:#f0f7f7; border-inline-start:3px solid var(--primary); margin-top:14px; }
.followup-letter { white-space:pre-wrap; font:17px/1.9 Tahoma,Arial,sans-serif; padding:30px; }
.followup-payment-note { font-size:14px; color:var(--muted); line-height:1.7; }
@media(max-width:600px){.followup-card{align-items:stretch;flex-direction:column}.property-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.property-choice-grid .property-choice{padding:10px;min-height:82px}.tenant-secondary-actions[open]>div{position:relative;min-width:0;margin-top:8px}.followup-summary strong{font-size:20px}}
@media(prefers-reduced-motion:reduce){.is-list-loading .list-navigation-status::before{animation:none}}
@media print{.property-visual-picker,.list-navigation-status,.display-choice{display:none!important}body.followup-printing .sidebar,body.followup-printing .topbar,body.followup-printing .content-area>*{display:none!important}body.followup-printing .content-area>.followup-letter{display:block!important}body.followup-printing .app-shell,body.followup-printing .main-shell{display:block!important}body.followup-printing .content-area{padding:0!important}}
