:root {
    --ink: #17212b;
    --muted: #64717e;
    --navy: #173a52;
    --navy-dark: #102b3e;
    --gold: #b58a3b;
    --line: #dce2e7;
    --surface: #ffffff;
    --background: #f4f6f7;
    --success: #246b4a;
    --danger: #9b2f32;
    --warning: #76551d;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--background);
}

/* Quiet-luxury foundation. Existing module selectors share these tokens. */
:root {
    --ink: #252b29;
    --muted: #69706a;
    --navy: #343f38;
    --navy-dark: #232e27;
    --gold: #98763d;
    --line: #e3dfd5;
    --surface: #fffefa;
    --background: #f6f4ee;
    --sidebar-width: 250px;
    --success: #2f6549;
    --danger: #9b3935;
    --warning: #79591e;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: var(--background); line-height: 1.5; }
a { color: var(--navy); }
h1, h2, h3 { line-height: 1.2; margin-top: 0; }
h1 { font-size: clamp(1.7rem, 4vw, 2.35rem); letter-spacing: -.03em; }
h2 { font-size: 1.2rem; }
h3 { margin-top: 1.5rem; font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
p { margin: .5rem 0 1rem; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em; }
.site-header { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding: .75rem max(1rem, calc((100vw - 1180px) / 2)); color: white; background: var(--navy-dark); }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: inherit; font-weight: 700; text-decoration: none; letter-spacing: .02em; }
.brand-mark { display: inline-grid; place-items: center; width: 2.35rem; height: 2.35rem; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; color: var(--gold); font-family: Georgia, serif; font-size: .84rem; }
.main-nav, .subnav, .button-row { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; }
.main-nav a, .link-button { color: #edf3f6; padding: .6rem .7rem; border: 0; background: transparent; text-decoration: none; font: inherit; cursor: pointer; }
.main-nav a:hover, .link-button:hover { background: rgba(255,255,255,.1); border-radius: .35rem; }
.inline-form { display: inline; margin: 0; }
.page-shell { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; padding: 1.4rem 0 3rem; }
.page-meta { display: flex; align-items: center; justify-content: flex-end; gap: .75rem; min-height: 1.6rem; margin-bottom: .7rem; color: var(--muted); font-size: .88rem; }
.subnav { padding-bottom: 1rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.subnav a { padding: .5rem .8rem; border-radius: .35rem; text-decoration: none; font-weight: 600; }
.subnav a:hover { background: #e6ecef; }
.page-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 1.25rem; }
.page-heading h1 { margin: .25rem 0; }
.page-heading p, .muted { color: var(--muted); }
.back-link { font-size: .9rem; text-decoration: none; }
.panel, .module-card { border: 1px solid var(--line); border-radius: .65rem; background: var(--surface); box-shadow: 0 1px 2px rgba(16,43,62,.04); }
.panel { padding: clamp(1rem, 3vw, 1.5rem); margin-bottom: 1.2rem; }
.panel summary { cursor: pointer; font-size: 1.1rem; font-weight: 700; }
.panel summary + form { margin-top: 1.25rem; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.module-card { display: flex; flex-direction: column; gap: .45rem; min-height: 155px; padding: 1.35rem; color: var(--ink); text-decoration: none; }
a.module-card:hover { border-color: #9eacb6; transform: translateY(-1px); }
.module-card span { color: var(--muted); }
.module-card .card-icon { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: .4rem; color: white; background: var(--navy); font-size: .76rem; font-weight: 700; }
.module-card-muted { border-style: dashed; }
.two-column { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.2rem; }
.stack { display: grid; gap: 1rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: end; }
.field-wide, .form-actions { grid-column: 1 / -1; }
label { display: grid; gap: .35rem; font-size: .9rem; font-weight: 650; }
input, textarea, select { width: 100%; min-height: 44px; padding: .65rem .75rem; border: 1px solid #bfc9d0; border-radius: .35rem; color: var(--ink); background: white; font: inherit; }
textarea { resize: vertical; }
input:focus, textarea:focus { outline: 3px solid rgba(23,58,82,.15); border-color: var(--navy); }
.check-line { display: flex; align-items: center; gap: .55rem; }
.check-line input, .check-card input { width: 1.1rem; min-height: 1.1rem; accent-color: var(--navy); }
.check-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: .65rem; }
.check-card { display: flex; align-items: flex-start; gap: .75rem; padding: .8rem; border: 1px solid var(--line); border-radius: .45rem; font-weight: 400; }
.check-card span { display: grid; gap: .2rem; }
.check-card small { color: var(--muted); }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 42px; padding: .6rem 1rem; border: 1px solid #aeb8c0; border-radius: .35rem; background: white; color: var(--ink); text-decoration: none; font: inherit; font-weight: 650; cursor: pointer; }
.button:hover { background: #eef1f3; }
.button-primary { border-color: var(--navy); color: white; background: var(--navy); }
.button-primary:hover { background: var(--navy-dark); }
.button-small { min-height: 34px; padding: .35rem .65rem; font-size: .88rem; }
.alert { padding: .85rem 1rem; margin-bottom: 1rem; border: 1px solid; border-radius: .45rem; overflow-wrap: anywhere; }
.alert-success { color: var(--success); border-color: #9ac6ae; background: #edf8f1; }
.alert-error { color: var(--danger); border-color: #d9a6a8; background: #fff0f0; }
.alert-warning { color: var(--warning); border-color: #d7c18f; background: #fff8e7; }
.badge { display: inline-block; padding: .16rem .45rem; border-radius: 999px; color: #49545d; background: #e9edef; font-size: .73rem; font-weight: 700; white-space: nowrap; }
.badge-success { color: var(--success); background: #e3f3e9; }
.badge-warning { color: var(--warning); background: #fbebc7; }
.table-panel { padding: 0; overflow: hidden; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: .8rem 1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--muted); background: #f7f9fa; font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; }
tr:last-child td { border-bottom: 0; }
.detail-list { display: grid; grid-template-columns: max-content 1fr; gap: .55rem 1rem; }
.detail-list dt { color: var(--muted); }
.detail-list dd { margin: 0; }
.permission-list { columns: 2; padding-left: 1.2rem; }
.permission-list li { margin-bottom: .35rem; }
.guest-body { display: grid; place-items: center; padding: 1rem; background: linear-gradient(145deg, var(--navy-dark), #234d68); }
.guest-shell { width: min(430px, 100%); }
.brand-centered { justify-content: center; margin-bottom: 1.25rem; color: white; }
.auth-panel { padding: clamp(1.25rem, 5vw, 2rem); }
.error-code { color: var(--gold); font-size: 1.5rem; font-weight: 800; }
.poll-list { display: grid; gap: .8rem; }
.poll-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: 1rem 1.15rem; border: 1px solid var(--line); border-radius: .55rem; background: var(--surface); color: var(--ink); text-decoration: none; }
.poll-row:hover { border-color: #9eacb6; }
.poll-row h2 { margin: 0 0 .3rem; }
.poll-row-meta, .tag-row { display: flex; flex-wrap: wrap; gap: .45rem .75rem; align-items: center; color: var(--muted); font-size: .85rem; }
.poll-actions { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; }
.option-builder { display: grid; gap: .65rem; }
.option-entry { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: .6rem; align-items: center; }
.option-number { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; color: white; background: var(--navy); font-size: .8rem; font-weight: 700; }
.vote-options { display: grid; gap: .7rem; margin: 1rem 0; }
.vote-option { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .7rem; align-items: center; padding: .85rem; border: 1px solid var(--line); border-radius: .45rem; font-weight: 500; }
.vote-option input { width: 1.1rem; min-height: 1.1rem; accent-color: var(--navy); }
.result-list { display: grid; gap: 1rem; }
.result-head { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .35rem; }
.result-track { height: .55rem; overflow: hidden; border-radius: 999px; background: #e5eaed; }
.result-fill { height: 100%; border-radius: inherit; background: var(--gold); }
.poll-description { white-space: pre-wrap; overflow-wrap: anywhere; }
.empty-state { padding: 2rem 1rem; text-align: center; color: var(--muted); }
.ticket-list { display: grid; gap: .8rem; }
.ticket-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: 1rem 1.15rem; border: 1px solid var(--line); border-left: 4px solid var(--line); border-radius: .55rem; background: var(--surface); color: var(--ink); text-decoration: none; }
.ticket-row:hover { border-color: #9eacb6; }
.ticket-row h2 { margin: 0 0 .3rem; }
.priority-urgent { border-left-color: var(--danger); }
.priority-high { border-left-color: #d27b32; }
.priority-normal { border-left-color: var(--navy); }
.priority-low { border-left-color: #90a0aa; }
.status-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; margin: 1rem 0; }
.status-step { padding: .6rem .35rem; border-radius: .35rem; color: var(--muted); background: #edf1f3; text-align: center; font-size: .82rem; font-weight: 700; }
.status-step-current { color: white; background: var(--navy); }
.timeline-shell { overflow-x: auto; }
.timeline { min-width: 700px; }
.timeline-scale { display: flex; justify-content: space-between; margin: 0 0 .75rem 210px; color: var(--muted); font-size: .8rem; }
.timeline-row { display: grid; grid-template-columns: 200px minmax(450px, 1fr); gap: 10px; align-items: center; min-height: 52px; border-top: 1px solid var(--line); }
.timeline-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.timeline-track { position: relative; height: 30px; border-radius: .3rem; background: repeating-linear-gradient(90deg, #f1f4f5 0, #f1f4f5 calc(10% - 1px), #dce2e7 10%); }
.timeline-bar { position: absolute; top: 4px; min-width: 4px; height: 22px; overflow: hidden; padding: .15rem .35rem; border-radius: .25rem; color: white; background: var(--navy); font-size: .72rem; white-space: nowrap; }
.filter-panel { padding: 1rem; }
.filter-grid { display: grid; grid-template-columns: 2fr repeat(4, minmax(120px, 1fr)); gap: .75rem; align-items: end; }
.document-list { display: grid; gap: .8rem; }
.document-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: 1rem 1.15rem; border: 1px solid var(--line); border-radius: .55rem; background: var(--surface); color: var(--ink); text-decoration: none; }
.document-row:hover { border-color: #9eacb6; }
.file-type { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: .4rem; color: white; background: var(--navy); font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.document-row h2 { margin: 0 0 .3rem; }
.keyword-row { display: flex; flex-wrap: wrap; gap: .4rem; }
.file-drop { padding: 1.25rem; border: 2px dashed #bfc9d0; border-radius: .55rem; background: #fafbfc; }
.property-list { display: grid; gap: .8rem; }
.property-row { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: 1rem 1.15rem; border: 1px solid var(--line); border-radius: .55rem; background: var(--surface); color: var(--ink); text-decoration: none; }
.property-row:hover { border-color: #9eacb6; }
.property-row h2 { margin: 0 0 .3rem; }
.property-code { overflow-wrap: anywhere; color: var(--navy); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .82rem; font-weight: 800; }
.property-filter-grid { grid-template-columns: 2fr repeat(3, minmax(130px, 1fr)) auto; }
.property-history { margin-top: 1rem; }
.forum-search { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .75rem; align-items: end; }
.forum-category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.forum-category-card { min-height: 180px; }
.forum-thread-list, .forum-post-list { display: grid; gap: .8rem; }
.forum-thread-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: 1rem 1.15rem; border: 1px solid var(--line); border-radius: .55rem; background: var(--surface); color: var(--ink); text-decoration: none; }
.forum-thread-row:hover { border-color: #9eacb6; }
.forum-thread-row h2, .forum-thread-row h3 { margin: 0 0 .3rem; color: var(--ink); font-size: 1.05rem; text-transform: none; letter-spacing: normal; }
.forum-post header { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
.forum-post-body { padding: 1rem 0; white-space: normal; overflow-wrap: anywhere; }
.forum-danger { margin-top: 1.5rem; }
.schedule-list, .schedule-options { display: grid; gap: .8rem; }
.schedule-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: 1rem 1.15rem; border: 1px solid var(--line); border-radius: .55rem; background: var(--surface); color: var(--ink); text-decoration: none; }
.schedule-row:hover { border-color: #9eacb6; }
.schedule-row h2 { margin: 0 0 .3rem; }
.schedule-slot-builder { display: grid; gap: .75rem; }
.schedule-slot-row { display: grid; grid-template-columns: 2rem minmax(0, 1fr) minmax(0, 1fr) auto; gap: .65rem; align-items: end; }
.schedule-option { margin-bottom: 0; }
.schedule-option-best { border-color: #8fbea4; }
.schedule-option-heading { display: flex; justify-content: space-between; gap: 1rem; }
.schedule-option-heading h2 { margin-bottom: .25rem; }
.schedule-summary, .availability-choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.schedule-summary span { padding: .65rem; border-radius: .4rem; background: #f1f4f5; text-align: center; font-size: .85rem; }
.schedule-summary strong { display: block; font-size: 1.1rem; }
.availability-choices { margin-top: .8rem; }
.availability-choices label { display: flex; justify-content: center; align-items: center; gap: .45rem; padding: .65rem; border: 1px solid var(--line); border-radius: .4rem; cursor: pointer; }
.availability-choices input { width: 1rem; min-height: 1rem; }
@media (max-width: 720px) {
    .site-header { align-items: flex-start; flex-direction: column; gap: .35rem; }
    .main-nav { width: 100%; overflow-x: auto; flex-wrap: nowrap; }
    .main-nav a, .link-button { white-space: nowrap; }
    .page-shell { width: min(100% - 1.2rem, 1180px); padding-top: .8rem; }
    .page-meta { justify-content: flex-start; flex-wrap: wrap; }
    .two-column, .form-grid { grid-template-columns: 1fr; }
    .field-wide, .form-actions { grid-column: auto; }
    .permission-list { columns: 1; }
    th, td { padding: .7rem .75rem; }
    .page-heading { align-items: flex-start; flex-direction: column; gap: .7rem; }
    .poll-row { grid-template-columns: 1fr; }
    .poll-actions { justify-content: flex-start; }
    .ticket-row { grid-template-columns: 1fr; }
    .status-steps { grid-template-columns: repeat(2, 1fr); }
    .filter-grid { grid-template-columns: 1fr; }
    .document-row { grid-template-columns: auto minmax(0, 1fr); }
    .document-row > :last-child { grid-column: 2; }
    .property-row { grid-template-columns: 1fr; }
    .property-filter-grid { grid-template-columns: 1fr; }
    .forum-search, .forum-thread-row { grid-template-columns: 1fr; }
    .forum-post header { flex-direction: column; gap: .35rem; }
    .schedule-row, .schedule-slot-row { grid-template-columns: 1fr; }
    .schedule-slot-row .option-number { display: none; }
    .schedule-summary, .availability-choices { grid-template-columns: 1fr; }
}

/* Shared shell and component refinements */
body { font-size: 15px; }
h1 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: clamp(2rem, 4vw, 2.65rem); letter-spacing: -.035em; }
h2 { font-size: 1.15rem; font-weight: 650; letter-spacing: -.02em; }
a { text-underline-offset: .2em; }
button, input, select, textarea { font-size: inherit; }
:focus-visible { outline: 3px solid #98763d; outline-offset: 4px; }
input:focus, textarea:focus, select:focus { border-color: var(--gold); outline: 3px solid #98763d26; outline-offset: 1px; }
input[readonly], input:disabled { background: #f0eee8; color: #61685f; }
button:disabled { opacity: .5; cursor: not-allowed; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--navy); }
.ui-icon { width: 21px; height: 21px; flex: 0 0 21px; vertical-align: middle; }
.skip-link { position: fixed; left: 1rem; top: -100px; z-index: 100; padding: .8rem 1rem; background: var(--surface); border: 1px solid var(--ink); border-radius: .5rem; }
.skip-link:focus { top: 1rem; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 40; display: flex; flex-direction: column; width: var(--sidebar-width); padding: 28px 16px 18px; background: #eeece4; border-right: 1px solid var(--line); overflow-y: auto; }
.brand { color: var(--ink); gap: 12px; padding: 0 9px; }
.brand-mark { width: 42px; height: 42px; border: 1px solid #a89167; border-radius: 11px 2px 11px 2px; color: #705324; font-family: Georgia, serif; font-size: 15px; font-weight: 400; letter-spacing: -.1em; background: #f9f6ed; flex-shrink: 0; }
.brand-text { display: grid; font-size: 16px; letter-spacing: -.025em; white-space: nowrap; }
.brand-text small { color: var(--muted); font-size: 10px; font-weight: 400; letter-spacing: .09em; text-transform: uppercase; margin-top: 3px; }
.nav-caption { padding: 42px 13px 12px; font-size: 10px; letter-spacing: .16em; color: var(--muted); text-transform: uppercase; }
.main-nav { display: grid; gap: 5px; align-items: stretch; }
.main-nav .nav-item { display: flex; align-items: center; gap: 13px; min-height: 46px; padding: 11px 13px; border-radius: 7px; color: #5b635c; font-size: 14px; font-weight: 500; white-space: nowrap; }
.main-nav .nav-item:hover { background: #e5e2d7; color: var(--ink); }
.main-nav .nav-item.is-active { color: #faf8f2; background: var(--navy); box-shadow: 0 3px 10px #26332912; }
.main-nav .nav-item.is-active .ui-icon { color: #dac7a2; }
.main-nav .nav-item:last-child { margin-top: 18px; }
.sidebar-bottom { display: grid; gap: 16px; margin-top: auto; padding: 34px 8px 0; }
.sidebar-privacy { display: flex; gap: 10px; align-items: center; color: #767c71; font-size: 11px; white-space: nowrap; }
.sidebar-privacy .ui-icon { width: 16px; height: 16px; flex-basis: 16px; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 44px; min-height: 44px; background: transparent; border: 1px solid transparent; border-radius: 6px; color: var(--muted); cursor: pointer; }
.icon-button:hover { background: #e4e1d7; color: var(--ink); }
.sidebar-collapse { width: 100%; justify-content: flex-start; font-size: 12px; }
.mobile-menu, .sidebar-close, .sidebar-collapse { display: none; }
.enhanced .sidebar-collapse { display: flex; }
.workspace-frame { margin-left: var(--sidebar-width); min-width: 0; }
.utility-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; padding: 12px clamp(20px, 3vw, 48px); border-bottom: 1px solid var(--line); background: #fffefad9; position: sticky; top: 0; z-index: 20; backdrop-filter: blur(12px); }
.utility-context { display: flex; align-items: center; gap: 10px; min-width: 0; }
.breadcrumb { display: flex; gap: 12px; align-items: center; font-size: 12px; color: var(--muted); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb > :last-child { color: var(--ink); font-weight: 600; }
.account-menu { position: relative; }
.account-menu summary { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; list-style: none; font-size: 13px; }
.account-menu summary::-webkit-details-marker { display: none; }
.avatar { display: grid; place-items: center; width: 33px; height: 33px; border: 1px solid #d6c8ae; border-radius: 50%; background: #ede8dc; color: #6f5833; font-size: 12px; }
.account-name { max-width: 180px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.account-popover { position: absolute; right: 0; top: calc(100% + 12px); width: 220px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 9px; box-shadow: 0 12px 30px #292b251a; }
.account-label { display: block; padding: 9px 12px; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.account-popover a, .account-popover button { display: block; width: 100%; text-align: left; padding: 12px; min-height: 44px; border: 0; background: none; font: inherit; font-size: 13px; color: var(--ink); text-decoration: none; cursor: pointer; border-radius: 5px; }
.account-popover a:hover, .account-popover button:hover { background: var(--background); }
.page-shell { width: min(1280px, 100%); padding: 35px clamp(20px, 3vw, 48px) 20px; }
.page-shell:focus { outline: none; }
.page-heading { gap: 1rem; margin-bottom: 25px; align-items: center; }
.page-heading p { font-size: 13px; margin-top: 9px; }
.page-heading h1 { overflow-wrap: anywhere; }
.workspace-footer { display: flex; justify-content: space-between; gap: 1rem; padding: 35px 0 10px; margin-top: 26px; border-top: 1px solid var(--line); color: #71776d; font-size: 10px; letter-spacing: .04em; }
.sidebar-overlay { display: none; }
.app-body.sidebar-compact { --sidebar-width: 82px; }
.sidebar-compact .sidebar { padding-left: 12px; padding-right: 12px; }
.sidebar-compact .brand { padding: 0 7px; }
.sidebar-compact .brand-text, .sidebar-compact .nav-item span, .sidebar-compact .sidebar-bottom span span, .sidebar-compact .sidebar-collapse span { display: none; }
.sidebar-compact .nav-caption { font-size: 0; padding-top: 38px; }
.sidebar-compact .nav-item { justify-content: center; padding: 12px; }
.sidebar-compact .sidebar-bottom { padding-left: 0; padding-right: 0; }
.sidebar-compact .sidebar-collapse, .sidebar-compact .sidebar-privacy { justify-content: center; }
.panel, .module-card { border-radius: 10px; background: var(--surface); box-shadow: 0 2px 6px #343b2f03; }
.panel { padding: clamp(20px, 2.4vw, 30px); margin-bottom: 22px; }
.panel > h2 { margin-bottom: 20px; }
.panel summary { font-size: 15px; padding: 4px 0; }
.panel details { border-top: 1px solid var(--line); }
.button { min-height: 44px; border-color: #d3d4c9; border-radius: 6px; font-size: 13px; padding: 10px 16px; font-weight: 600; gap: 8px; }
.button:hover { background: #f0eee5; border-color: #b7bbae; }
.button-primary { background: var(--navy); border-color: var(--navy); color: #fffefa; }
.button-primary:hover { color: white; background: var(--navy-dark); }
.button-small { min-height: 44px; font-size: 12px; padding: 7px 12px; }
.button-danger, .danger-zone .button { color: var(--danger); border-color: #e4c8c0; background: #fffaf7; }
.danger-zone { border-color: #e9d4cb; margin-top: 26px; }
.danger-zone summary { color: var(--danger); }
.button-row { gap: 10px; }
.form-grid { gap: 20px; }
.form-actions { margin-top: 18px; }
label { font-size: 12px; font-weight: 600; color: #4e594e; gap: 7px; }
input, textarea, select { border-color: #d3d5c9; border-radius: 6px; min-height: 46px; background: #fffefa; padding: 11px 13px; font-size: 14px; font-weight: 400; }
input[type="file"] { max-width: 100%; padding: 10px; }
input[type="file"]::file-selector-button { border: 1px solid var(--line); background: #edece3; color: var(--ink); padding: 8px 12px; margin-right: 12px; border-radius: 4px; }
.check-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 10px; }
.check-card { padding: 14px; border-radius: 7px; min-width: 0; }
.check-card:has(input:checked) { border-color: #aaa786; background: #f8f6ec; }
.check-card code, .permission-list code { overflow-wrap: anywhere; }
.check-card input { margin-top: 3px; flex-shrink: 0; }
.check-card small { line-height: 1.5; font-size: 11px; }
.detail-list { gap: 14px 26px; font-size: 13px; line-height: 1.6; }
.detail-list dd { overflow-wrap: anywhere; min-width: 0; }
.two-column > *, .panel { min-width: 0; }
.detail-list code { white-space: normal; overflow-wrap: anywhere; }
.subnav { gap: 5px; padding-bottom: 14px; margin-bottom: 25px; }
.subnav a { font-size: 12px; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.subnav a[aria-current] { background: #e8e6da; color: var(--ink); }
.badge { padding: 4px 9px; background: #eeeee5; color: #636a5f; font-size: 10px; font-weight: 600; letter-spacing: .015em; }
.badge-success { color: var(--success); background: #e6eee4; }
.badge-warning { color: var(--warning); background: #f4ebd5; }
.alert { padding: 15px 18px; border-radius: 7px; font-size: 13px; }
.alert-success { background: #eef3e9; border-color: #c7d6bf; }
.alert-error { background: #fcf0eb; border-color: #e3c1b7; }
.alert-warning { background: #fbf5e6; border-color: #e3d3a8; }
.table-panel { padding: 0; }
th { background: #f8f7f0; color: #707768; font-size: 10px; padding: 16px 20px; }
td { padding: 18px 20px; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
td code, td small { overflow-wrap: anywhere; }
tbody tr:hover { background: #faf9f3; }
.card-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 16px; }
.module-card { min-height: 160px; padding: 25px; gap: 10px; }
.module-card strong { font-size: 15px; }
.module-card > span:not(.icon-tile):not(.card-icon) { font-size: 12px; line-height: 1.65; }
.icon-tile { display: inline-flex; width: 42px; height: 42px; flex: 0 0 42px; align-items: center; justify-content: center; border: 1px solid #e2ddca; border-radius: 8px; color: #8a713e; background: #f5f2e6; }
.compact-modules .module-card { min-height: 75px; flex-direction: row; align-items: center; gap: 12px; padding: 18px; }
.compact-modules .module-card > .ui-icon { margin-left: auto; width: 16px; }
.poll-row, .ticket-row, .document-row, .property-row, .forum-thread-row, .schedule-row { padding: 21px 23px; border-radius: 9px; gap: 20px; }
.poll-row h2, .ticket-row h2, .document-row h2, .property-row h2, .schedule-row h2 { font-size: 16px; margin-bottom: 9px; }
.poll-row-meta, .tag-row { font-size: 11px; gap: 7px 16px; line-height: 1.6; }
.file-type { background: #eee9d9; color: #7b6335; width: 46px; height: 52px; border: 1px solid #ded5be; border-radius: 4px 12px 4px 4px; font-size: 10px; }
.filter-panel { padding: 20px; background: #efeee6; }
.filter-grid { grid-template-columns: minmax(180px, 2fr) repeat(3, minmax(110px, 1fr)) auto; gap: 14px; }
.property-filter-grid { grid-template-columns: minmax(180px, 2fr) repeat(3, minmax(110px, 1fr)) auto; }
.filter-grid .button-row { flex-wrap: nowrap; }
.back-link { display: inline-flex; min-height: 44px; align-items: center; color: var(--muted); font-size: 12px; margin-bottom: 4px; }
.empty-state { padding: 45px 20px; }
.empty-state h2, .empty-state h3 { font-size: 17px; margin-top: 15px; text-transform: none; letter-spacing: -.02em; color: var(--ink); }
.empty-state p { font-size: 13px; max-width: 400px; margin-left: auto; margin-right: auto; }
.vote-option { padding: 16px; border-radius: 7px; }
.vote-option:has(input:checked) { border-color: #a39c75; background: #f6f3e7; }
.result-track { background: #e8e7da; height: 7px; }
.status-step { padding: 14px 10px; background: #efeee5; border-radius: 6px; font-size: 11px; }
.status-step-current { background: var(--navy); color: white; }
.forum-post header { font-size: 12px; }
.forum-post-body { line-height: 1.85; font-size: 14px; }
.schedule-options { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.schedule-option-heading { flex-wrap: wrap; }
.schedule-option-heading h2 { font-size: 15px; }
.schedule-option-heading p { color: var(--muted); font-size: 12px; }
.schedule-summary span { font-size: 10px; background: #eeeee4; }
.availability-choices { gap: 5px; grid-template-columns: repeat(3, 1fr); }
.availability-choices label { font-size: 11px; min-height: 46px; padding: 10px 4px; gap: 5px; }
.availability-choices label:has(input:checked) { background: #e8eedf; border-color: #a2b190; }
.schedule-option-best { border-color: #a7b392; box-shadow: inset 0 3px 0 #8b9b75; }
.schedule-slot-row { padding: 16px; border: 1px solid var(--line); border-radius: 7px; background: #faf9f2; }
.guest-body { background: #eeece3; background-image: radial-gradient(ellipse at 15% 20%, #e6e2d4 0, transparent 55%); padding: 35px 20px; }
.guest-shell { width: min(440px, 100%); }
.brand-centered { color: var(--ink); padding: 0; margin-bottom: 30px; }
.auth-panel { padding: clamp(24px, 5vw, 42px); border-color: #d9d8ca; box-shadow: 0 14px 50px #484d2c09; }
.auth-panel h1 { font-size: 2.2rem; }
.auth-panel > p { font-size: 13px; line-height: 1.7; }
.auth-panel .stack { gap: 20px; margin-top: 28px; }
.auth-panel .button { width: 100%; margin-top: 6px; }
.form-panel { max-width: 620px; }
.timeline-shell { border-top: 3px solid #a89669; }
.timeline-label { display: flex; align-items: center; min-height: 44px; font-size: 12px; }
.timeline-track { background: repeating-linear-gradient(90deg, #f2f1e8 0, #f2f1e8 calc(10% - 1px), #e2dfce 10%); }
.timeline-bar { background: #54624c; height: 24px; top: 3px; font-size: 10px; padding: 4px 7px; }
.guest-note { text-align: center; color: var(--muted); font-size: 10px; letter-spacing: .08em; margin-top: 25px; }
.eyebrow { font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: #8a754e; font-weight: 600; margin: 0 0 12px; }
.dashboard-welcome { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0 30px; margin-bottom: 25px; border-bottom: 1px solid var(--line); }
.dashboard-welcome h1 { margin: 0 0 12px; font-size: clamp(2rem, 3.5vw, 2.9rem); }
.dashboard-welcome p:not(.eyebrow) { font-size: 13px; color: var(--muted); }
.welcome-date { text-align: right; color: #65705f; font-size: 12px; white-space: nowrap; }
.welcome-date span { display: block; margin-bottom: 6px; color: #68715e; text-transform: uppercase; letter-spacing: .1em; font-size: 9px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.section-heading h2 { margin: 0; }
.section-heading > .muted { font-size: 11px; }
.attention-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 18px; margin-bottom: 28px; }
.attention-card { padding: 23px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; display: flex; flex-direction: column; }
.attention-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.attention-count { font-family: Georgia, serif; font-size: 40px; font-weight: 400; line-height: 1; }
.attention-card h3 { margin: 0; color: var(--ink); font-size: 14px; text-transform: none; letter-spacing: -.01em; }
.attention-card p { font-size: 11px; }
.attention-clear { color: #7b846f; margin: 15px 0 22px; }
.attention-items { list-style: none; padding: 0; margin: 6px 0 20px; }
.attention-items li + li { border-top: 1px solid #efede4; }
.attention-items a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; font-size: 12px; text-decoration: none; padding: 7px 0; }
.attention-items .ui-icon { width: 14px; height: 14px; color: #a2a58e; }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; min-height: 44px; border-top: 1px solid var(--line); font-size: 11px; text-decoration: none; font-weight: 600; }
.text-link .ui-icon { width: 16px; height: 16px; }
.dashboard-columns { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 22px; margin-bottom: 10px; }
.recent-list { list-style: none; padding: 0; margin: 0; }
.recent-list li + li { border-top: 1px solid var(--line); }
.recent-list a { display: flex; align-items: center; gap: 16px; min-height: 86px; padding: 16px 0; text-decoration: none; }
.recent-list a:hover .recent-copy strong { color: var(--gold); }
.recent-copy { display: grid; gap: 4px; min-width: 0; flex: 1; }
.recent-copy small { font-size: 9px; text-transform: uppercase; letter-spacing: .08em; color: #68715e; }
.recent-copy strong { font-weight: 550; font-size: 13px; color: var(--ink); overflow-wrap: anywhere; }
.recent-copy time { font-size: 10px; color: var(--muted); }
.recent-list a > .ui-icon { width: 15px; color: #9d9f8c; }
.quick-actions { display: grid; margin-top: 12px; }
.quick-actions a { display: flex; align-items: center; gap: 12px; min-height: 49px; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 12px; }
.quick-actions a:hover { color: var(--gold); }
.quick-actions a > .ui-icon:first-child { width: 17px; color: #8a754e; }
.quick-actions a > .ui-icon:last-child { width: 14px; color: #a7aa94; margin-left: auto; }
@media (max-width: 1180px) {
    .filter-grid, .property-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .schedule-options { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
    .app-body { --sidebar-width: 0px; }
    .workspace-frame { margin-left: 0; }
    .sidebar { position: static; width: 100%; padding: 20px; }
    .sidebar .brand { margin-bottom: 15px; }
    .main-nav { display: flex; flex-wrap: wrap; overflow: visible; width: auto; }
    .main-nav .nav-item:last-child { margin-top: 0; }
    .sidebar-bottom, .nav-caption { display: none; }
    .enhanced .sidebar { position: fixed; width: 275px; max-width: calc(100vw - 45px); padding: 28px 16px 18px; transform: translateX(-100%); visibility: hidden; transition: transform .18s ease; }
    .enhanced .sidebar .brand { margin-top: 20px; margin-bottom: 0; }
    .enhanced .main-nav { display: grid; margin-top: 28px; }
    .enhanced .sidebar-close { display: flex; position: absolute; right: 10px; top: 2px; }
    .enhanced .mobile-menu { display: flex; }
    .enhanced .sidebar-collapse { display: none; }
    .enhanced.navigation-open .sidebar { transform: translateX(0); visibility: visible; }
    .enhanced.navigation-open { overflow: hidden; }
    .enhanced.navigation-open .sidebar-overlay { display: block; position: fixed; inset: 0; z-index: 30; border: 0; background: #212b2680; backdrop-filter: blur(2px); }
    .sidebar-compact .brand-text, .sidebar-compact .nav-item span { display: grid; }
    .sidebar-compact .nav-item { justify-content: flex-start; }
    .sidebar-compact .brand { padding: 0 9px; }
    .utility-bar { min-height: 67px; padding: 9px 20px; }
    .page-shell { padding: 24px 20px 15px; width: 100%; }
    .dashboard-columns { grid-template-columns: 1fr; gap: 0; }
    .account-name { max-width: 140px; }
}
@media (max-width: 720px) {
    .filter-grid, .property-filter-grid, .form-grid, .two-column { grid-template-columns: 1fr; }
    .dashboard-welcome { align-items: flex-start; flex-direction: column; gap: 0; padding-top: 5px; }
    .welcome-date { text-align: left; margin-top: 5px; }
    .welcome-date span { display: inline; margin-right: 8px; }
    .page-heading { align-items: flex-start; }
    .page-heading > .button-row { width: 100%; }
    .poll-row, .ticket-row, .document-row, .property-row, .forum-thread-row, .schedule-row { padding: 20px; gap: 12px; }
    .detail-list { grid-template-columns: 1fr; gap: 4px; }
    .detail-list dd { margin-bottom: 14px; }
    .detail-list dt { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
    .schedule-slot-row { grid-template-columns: 1fr; }
    .schedule-summary { grid-template-columns: repeat(3, 1fr); }
    .workspace-footer { flex-direction: column; gap: 5px; }
    .table-scroll { overflow: visible; }
    table { display: block; }
    thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
    tbody { display: block; }
    tr { display: block; padding: 16px 20px; border-bottom: 1px solid var(--line); }
    tr:last-child { border-bottom: 0; }
    td { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 12px; padding: 7px 0; border-bottom: 0; }
    td::before { content: attr(data-label); font-size: 10px; color: var(--muted); }
    td:not([data-label]) { display: block; }
    .table-panel { border-radius: 9px; }
    .compact-modules { grid-template-columns: 1fr 1fr; gap: 10px; }
    .compact-modules .module-card { padding: 14px; flex-wrap: wrap; }
    .compact-modules .module-card strong { font-size: 12px; }
    .compact-modules .module-card > .ui-icon { display: none; }
}
@media (max-width: 440px) {
    .breadcrumb a, .breadcrumb > span[aria-hidden] { display: none; }
    .account-name { display: none; }
    .utility-bar { padding-left: 12px; padding-right: 17px; }
    .page-shell { padding-left: 16px; padding-right: 16px; }
    .panel { padding: 20px; }
    .table-panel { padding: 0; }
    .availability-choices { grid-template-columns: 1fr; }
    .availability-choices label { justify-content: flex-start; padding: 12px; }
    .recent-list a { gap: 10px; }
    .compact-modules { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
    a.module-card:hover { transform: none; }
}
