:root{color-scheme:light}.header-actions{display:flex;align-items:center;gap:20px}.theme-toggle{flex-shrink:0;background:transparent;border:1px solid var(--line);color:var(--ink);font-size:11px;padding:9px 11px;white-space:nowrap}.teaser-lock{display:flex;gap:10px;align-items:center;padding:12px 0;color:var(--muted);border-top:1px solid var(--line)}.teaser-lock p{margin:0;font-size:12px;line-height:1.6}.teaser-button{width:100%;margin-top:5px}.teaser-card .card-cover{filter:none}.teaser-card h3{margin-bottom:8px}
:root[data-theme=dark]{color-scheme:dark;--ink:#e0eee8;--muted:#a8b9b1;--orange:#eb9a63;--paper:#111a17;--line:#34463e;--green:#346c57;--surface:#1b2722;--raised:#23352c;--soft:#263c30}
[data-theme=dark] body{background:var(--paper);color:var(--ink)}
[data-theme=dark] :is(.outline,.filters,.card,.panel,.empty,.stat,.admin-row,.photo-grid figure,.admin-market-link,.admin-sidebar,.admin-filters,.review-row,.admin-login,.market-intro,.project-switcher button,.browse-filters,.sort-label select,.mobile-filter-toggle,.gallery-total,.gallery-tabs button,.gallery-tile,.crm-metrics>button,.crm-sidebar,.crm-box,.queue-row,.crm-filterbar,.crm-table-wrap,.request-pipeline button,dialog){background:var(--surface);color:var(--ink);border-color:var(--line)}
[data-theme=dark] :is(input,select,textarea,.browse-filters select,.browse-filters input){background:#142019;color:var(--ink);border-color:var(--line)}
[data-theme=dark] :is(.market-search,.hint,.contact,.how,.locked,.member-notice,.project-switcher button.active,.filter-chip,.card-location,.crm-priority,.crm-contact,.related-listing,.crm-review-price,.customer-avatar,.results-header h2>span,.table-action,.request-pipeline button.active,.crm-sidebar button b,.review-row[open] summary){background:var(--raised);color:var(--ink);border-color:var(--line)}
[data-theme=dark] .market-search input{background:transparent}
[data-theme=dark] :is(.topline,.brand-icon,#toast,.tabs button.active,.admin-sidebar .tabs button.active,.gallery-tabs button.active,.crm-sidebar button.active){background:#28533f;color:#f1f7f2}
[data-theme=dark] :is(.crm-table th,.queue-row:hover){background:#223128;color:var(--ink)}
[data-theme=dark] :is(.badge,.badge.green,.badge.demo,.demo-pill,.demo-notice,.submission-notice,.buyer-message,.danger,.status,.status.approved,.status.sold,.status.rejected,.request-status.new,.request-status.progress,.request-status.done,.request-status.waiting,.request-status.closed,.follow-due){background:#354136;color:#f1e4bf;border-color:#58614b}
[data-theme=dark] :is(.project-caption,.photo-modal){background:#10261ee8;color:#e8f2eb}
[data-theme=dark] :is(.sub,.hero p,.locked p,.hint,.card-project,.card-dates,.crm-top p,.crm-section-heading p,.crm-result-count,.crm-table small,.crm-table span,.queue-row small,.crm-sidebar-note p,.buyer-message p,.listing-cell>div>span,.gallery-tile p,.member-notice p,.intro-copy p,.intro-notes,.filter-privacy,.site-help summary>span,.crm-contact p,.crm-checklist p,.record-history,.crm-review-price small){color:var(--muted)}
[data-theme=dark] :is(.eyebrow,.brand,.card h3,.crm-table b,.crm-form-heading,.crm-table th,.crm-section-heading h2,.review-modal-title h2,.gallery-tile h3,.crm-contact h3,.crm-review-price strong){color:var(--ink)}
[data-theme=dark] :is(#room:disabled,#area[readonly],#dues[readonly],#start-display,#end-display,.browse-filters input:disabled,.browse-filters select:disabled){background:#1e2b23;color:#a0b2a6}
[data-theme=dark] .market-search button{color:#fff}[data-theme=dark] :is(.close,.photo-close){color:#e0eee8}[data-theme=dark] .error{color:#ffaaa0}[data-theme=dark] input::placeholder{color:#90a499}[data-theme=dark] dialog::backdrop{background:#020b08bb}
@media(max-width:1000px){.header-actions{gap:12px}.header-actions nav{gap:14px}.theme-toggle{padding:8px;font-size:10px}}
@media(max-width:760px){header{height:auto;min-height:100px;flex-wrap:wrap;gap:14px;padding-top:18px;padding-bottom:18px}.header-actions{width:100%;justify-content:space-between;flex-wrap:wrap}.header-actions nav{gap:14px;flex-wrap:wrap}.header-actions .theme-toggle{order:2}.header-actions nav{flex:1}}
.sort-label{display:flex;flex-direction:column;flex:0 0 175px;min-width:0;white-space:normal}.sort-label select{width:100%;min-width:0}.card{min-width:0}@media(max-width:680px){.sort-label{flex-basis:auto;width:135px}}
.remember-help{font-size:11px;color:var(--muted);line-height:1.6;margin:-6px 0 18px}.remember-username{margin-bottom:10px}
.seo-footer{width:100%;border-top:1px solid var(--line);padding-top:20px;margin-top:16px;font-size:11px;line-height:1.8;color:var(--muted)}.seo-links{display:flex;flex-wrap:wrap;gap:12px 22px;font-size:11px}.seo-links a{border-bottom:1px dotted var(--muted);padding-bottom:2px}.seo-initial{min-height:380px}.seo-initial>p{max-width:760px;line-height:1.9}.seo-initial .seo-links{margin:24px 0}.seo-home-link{display:inline-block;padding:12px 16px;border:1px solid var(--line);border-radius:6px}footer{flex-wrap:wrap}
