/* Shared light workspace; the navigation keeps its navy palette in both modes. */
body[data-dashboard-theme="light"]{background:#f3f6fa;color:#173047;color-scheme:light;--muted:#65768a;--border:#d9e3ec;--accent:#0c7469}
body.turnly-admin-suite[data-dashboard-theme="light"]{--suite-panel:#fff;--suite-panel-strong:#fff;--suite-panel-soft:#f8fafc;--suite-text:#173047;--suite-soft:#52677f;--suite-muted:#65768a;--suite-border:#d9e3ec;--suite-shadow:0 2px 8px #17304708;background:#f3f6fa}
body.turnly-admin-suite[data-dashboard-theme="light"] :is(.suite-main,.suite-content){background:transparent}
body.turnly-admin-suite[data-dashboard-theme="light"] :is(.suite-panel,.metric-card,.table-card,.filter-card){background:#fff;border-color:#d9e3ec;box-shadow:0 2px 8px #17304708;border-radius:14px}
body.turnly-admin-suite[data-dashboard-theme="light"] .suite-topbar{background:#fff;border-color:#d9e3ec;box-shadow:none}
body[data-portal="admin"][data-dashboard-theme="light"] :is(.panel,.lead-card,.message-preview,dialog){background:#fff;color:#173047;border-color:#d9e3ec;box-shadow:0 2px 8px #17304708}
body[data-portal="admin"][data-dashboard-theme="light"] :is(input,select,textarea){background:#fff;color:#173047;border-color:#cbd8e2}
body[data-portal="admin"][data-dashboard-theme="light"] label{color:#52677f}
body[data-portal="admin"][data-dashboard-theme="light"] :is(.main,dialog) :is(button,.button){background:#fff;color:#214158;border-color:#cfdae4;font-weight:650}
body[data-portal="admin"][data-dashboard-theme="light"] :is(.main,dialog) :is(button,.button):hover{background:#eaf3f5}
body[data-portal="admin"][data-dashboard-theme="light"] :is(.main,dialog) :is(.primary,.view-switch button[aria-pressed="true"]){background:#0c7469;color:#fff;border-color:#0c7469}
body[data-portal="admin"][data-dashboard-theme="light"] :is(.main,dialog) a:not(.button){color:#087e72}
body[data-portal="admin"][data-dashboard-theme="light"] .notice{background:#eaf5f2;border-color:#c4e3dc;color:#256258}
body[data-portal="admin"][data-dashboard-theme="light"] .notice.error{background:#fff0ee;border-color:#f2cac5;color:#9a352b}
body[data-portal="admin"][data-dashboard-theme="light"] .pill{background:#eff4f7;color:#506779;border-color:#d9e3ec}
body[data-portal="admin"][data-dashboard-theme="light"] :is(.pill.active,.pill.earned,.pill.delivered){background:#e5f5ef;color:#17624d;border-color:#bcded1}
body[data-portal="admin"][data-dashboard-theme="light"] :is(.pill.not_interested,.pill.failed,.pill.unknown){background:#fff0ee;color:#9a352b;border-color:#f2cac5}
body.turnly-admin-suite[data-dashboard-theme="light"] .suite-main :is(h1,h2,h3,h4){color:#173047}
body.turnly-admin-suite[data-dashboard-theme="light"] :is(.page-heading p,.panel-head p,.suite-panel>p,.request-message,.pipeline-message,.table-foot,.admin-preview-trigger small){color:#65768a}
body.turnly-admin-suite[data-dashboard-theme="light"] .primary-action{background:#0c7469;color:white;border-color:#0c7469;box-shadow:none}
body.turnly-admin-suite[data-dashboard-theme="light"] .primary-action:hover{background:#095e56}
body.turnly-admin-suite[data-dashboard-theme="light"] :is(.empty-state,.small-empty-state,.resident-feedback-intro){background:#f8fafc;border-color:#d9e3ec}
body.turnly-admin-suite[data-dashboard-theme="light"] .resident-feedback-intro p{color:#65768a}
body.turnly-admin-suite[data-dashboard-theme="light"] .command-grid>.suite-panel{background:#fff;box-shadow:0 2px 8px #17304708}
body.turnly-admin-suite[data-dashboard-theme="light"] :is(.status-message,.panel-head p){color:#65768a}

/* Detail surfaces are also mounted outside .suite-main by legacy editors. */
body.turnly-admin-suite[data-dashboard-theme="light"] {
  --suite-green:#087e72;--suite-red:#b63745;
  --admin-text:#173047;--admin-muted:#65768a;--admin-green:#087e72;--admin-red:#b63745;
}
body.turnly-admin-suite[data-dashboard-theme="light"] :is(.client-modal-panel,.property-modal-panel,.admin-sales-modal-panel,dialog) {
  background:#fff;color:#173047;border-color:#d9e3ec;border-radius:14px;box-shadow:0 20px 70px #07182730;color-scheme:light;
}
body.turnly-admin-suite[data-dashboard-theme="light"] :is([role="dialog"],dialog,.property-command) :is(h1,h2,h3,h4,label,legend,.panel-heading strong) {color:#173047}
body.turnly-admin-suite[data-dashboard-theme="light"] :is(input,select,textarea,option) {background:#fff;color:#173047;border-color:#cbd8e2;accent-color:#0c7469;color-scheme:light}
body.turnly-admin-suite[data-dashboard-theme="light"] :is(input,textarea)::placeholder {color:#65768a;opacity:1}
body.turnly-admin-suite[data-dashboard-theme="light"] :is(input,select,textarea):focus-visible {outline:2px solid #0c7469;outline-offset:2px;box-shadow:none}
body.turnly-admin-suite[data-dashboard-theme="light"] :is(.assignment-form-section,.client-form-section,.property-form-card,.property-recurring-card,.sales-form-card,.client-monthly-turnovers,.assignment-edit-contractor-list,.assignment-detail-cell,.assignment-notes-preview,.assignment-board-quickbar,.assignment-thin-list-head,.assignment-list-panel .suite-toolbar,.toggle-row,.qa-review-item,.qa-review-summary) {background:#f8fafc;color:#173047;border-color:#d9e3ec}
body.turnly-admin-suite[data-dashboard-theme="light"] :is(.assignment-list-item,.assignment-edit-contractor-option,.client-manager-menu,.assignment-video-upload-card,.assignment-video-chip) {background:#fff;color:#173047;border-color:#d9e3ec}
body.turnly-admin-suite[data-dashboard-theme="light"] :is(.assignment-list-item,.assignment-edit-contractor-option,.client-manager-option):hover {background:#eaf3f5;border-color:#91c5bf}
body.turnly-admin-suite[data-dashboard-theme="light"] :is(.assignment-notes-drawer summary,.assignment-board-due,.assignment-detail-cell strong,.assignment-thin-row,.client-monthly-turnovers-head,.suite-field,.checkbox-field,.toggle-row) {color:#173047}
body.turnly-admin-suite[data-dashboard-theme="light"] :is(.assignment-short-id,.assignment-detail-cell span,.property-modal-header p,.client-modal-header p,.admin-sales-modal-header p) {color:#65768a}
body.turnly-admin-suite[data-dashboard-theme="light"] :is(.client-modal-close,.property-modal-close,.secondary-command-btn,.secondary-btn,.new-btn,.assignment-board-quick-btn,.property-modal .panel-heading button) {background:#fff;color:#214158;border:1px solid #cbd8e2;box-shadow:none}
body.turnly-admin-suite[data-dashboard-theme="light"] :is(.client-modal-close,.property-modal-close,.secondary-command-btn,.secondary-btn,.assignment-board-quick-btn):hover {background:#eaf3f5;color:#173047}
body.turnly-admin-suite[data-dashboard-theme="light"] :is(.new-btn,.primary-action,.assignment-board-quick-btn.is-active,.cr-tabs button[aria-pressed="true"]) {background:#0c7469;color:#fff;border-color:#0c7469;box-shadow:none}
body.turnly-admin-suite[data-dashboard-theme="light"] :is(.new-btn,.primary-action):hover {background:#095e56;color:#fff}
body.turnly-admin-suite[data-dashboard-theme="light"] :is(.admin-clear-claim-row,.property-warning) {background:#fff7e6;color:#795312;border-color:#e9d8b4}
body.turnly-admin-suite[data-dashboard-theme="light"] :is(.assignment-notes-drawer summary strong,.cr-eyebrow,.cr-feedback) {color:#087e72}
body.turnly-admin-suite[data-dashboard-theme="light"] :is(.status-message.error,.danger-action,.cr-error) {color:#b63745}
body.turnly-admin-suite[data-dashboard-theme="light"] :is(.client-modal-backdrop,.property-modal-backdrop,.admin-sales-modal-backdrop) {background:#07182799}
body.turnly-admin-suite[data-dashboard-theme="light"] dialog::backdrop {background:#07182799}
body.turnly-admin-suite[data-dashboard-theme="light"] :is(.checklist-summary,.assignment-weekday-option span) {background:#f8fafc;color:#173047;border-color:#d9e3ec}
body.turnly-admin-suite[data-dashboard-theme="light"] .assignment-weekday-option input:checked+span {background:#e5f5ef;color:#17624d;border-color:#83b9a9}
body.turnly-admin-suite[data-dashboard-theme="light"] :is(.assignment-bulk-unit-option,.assignment-bulk-bar,.qa-search-field,.qa-builder-toolbar,.qa-builder-section,.qa-toggle) {background:#f8fafc;color:#173047;border-color:#d9e3ec}
body.turnly-admin-suite[data-dashboard-theme="light"] :is(.assignment-status-inline,.assignment-status-select,.assignment-page-size select) {background:#fff;color:#173047;border-color:#cbd8e2}
body.turnly-admin-suite[data-dashboard-theme="light"] :is(.assignment-bulk-unit-option.is-selected,.qa-toggle:has(input:checked)) {background:#e5f5ef;color:#17624d;border-color:#83b9a9}

/* Dashboard widgets share the Website Inquiries surface and spacing. */
body.turnly-admin-suite[data-dashboard-theme="light"] .command-grid {
  --widget-bg:radial-gradient(circle at 0 0,rgba(37,99,235,.15),transparent 36%),linear-gradient(150deg,#fff,#f6f9ff);
  --widget-border:rgba(37,99,235,.16);
}
body.turnly-admin-suite[data-dashboard-theme="light"] .command-grid > .suite-panel,
body.turnly-admin-suite[data-dashboard-theme="light"] .command-grid > .suite-panel:not(.website-inquiries-card) {
  --wi-bg:var(--widget-bg);--wi-border:var(--widget-border);
  background:var(--widget-bg);border:1px solid var(--widget-border);border-radius:14px;box-shadow:0 2px 8px #17304708;
}
body.turnly-admin-suite[data-dashboard-theme="light"] .command-grid > .suite-panel::before,
body.turnly-admin-suite[data-dashboard-theme="light"] .command-grid > .suite-panel:not(.website-inquiries-card)::before {display:none}
body.turnly-admin-suite[data-dashboard-theme="light"] .command-grid > .suite-panel:not(.website-inquiries-card) > .panel-head {padding:22px 22px 12px}
body.turnly-admin-suite[data-dashboard-theme="light"] .command-grid .panel-title-icon {width:46px;height:46px;border-radius:18px;background:linear-gradient(135deg,rgba(56,189,248,.25),rgba(34,197,94,.16));border-color:rgba(125,211,252,.26);color:#2563eb;box-shadow:none}
body.turnly-admin-suite[data-dashboard-theme="light"] .command-grid .panel-title-copy h2 {font-size:21px;line-height:1.15;letter-spacing:-.02em}
body.turnly-admin-suite[data-dashboard-theme="light"] .command-grid :is(.resident-feedback-widget-list,.dashboard-list,.manager-request-list) {padding:0 18px 18px;gap:12px}
body.turnly-admin-suite[data-dashboard-theme="light"] .resident-feedback-widget-toolbar {padding:0 22px 12px;gap:12px}
body.turnly-admin-suite[data-dashboard-theme="light"] .resident-feedback-widget-toolbar .request-message {padding:0}
body.turnly-admin-suite[data-dashboard-theme="light"] .command-grid :is(.resident-feedback-widget-card,.dashboard-item-row,.manager-request-row,.skeleton-list>div),
body.turnly-admin-suite[data-dashboard-theme="light"] .command-grid > .suite-panel:not(.website-inquiries-card) :is(.dashboard-item-row,.manager-request-row) {background:rgba(255,255,255,.84);border:1px solid rgba(15,23,42,.08);border-radius:20px;box-shadow:none;padding:15px}
body.turnly-admin-suite[data-dashboard-theme="light"] .command-grid :is(.resident-feedback-widget-card,.dashboard-item-row,.manager-request-row):hover {background:#fff;border-color:rgba(56,189,248,.34)}
body.turnly-admin-suite[data-dashboard-theme="light"] .command-grid > .suite-panel:not(.website-inquiries-card) :is(.empty-state,.small-empty-state),
body.turnly-admin-suite[data-dashboard-theme="light"] .resident-feedback-widget-empty {background:rgba(255,255,255,.06);border:1px dashed rgba(148,163,184,.28);border-radius:22px;box-shadow:none;min-height:170px;padding:28px 18px;text-align:center}
body.turnly-admin-suite[data-dashboard-theme="light"] .command-grid .empty-icon {box-shadow:none;background:rgba(56,189,248,.13);border-color:rgba(56,189,248,.22);color:#2563eb;border-radius:18px}
body.turnly-admin-suite[data-dashboard-theme="light"] .command-customize-bar {background:#fff;box-shadow:none;border-color:#d9e3ec}
@media(max-width:720px){body.turnly-admin-suite[data-dashboard-theme="light"] .command-grid :is(.resident-feedback-widget-list,.dashboard-list,.manager-request-list){padding-inline:14px}body.turnly-admin-suite[data-dashboard-theme="light"] .resident-feedback-widget-toolbar {padding-inline:18px}}
/* Expense import uses the same light card surface as the Finance workspace. */
body.turnly-admin-suite[data-dashboard-theme="light"] .finance-expense-import {
  background:#fff;border:1px solid #d9e3ec;border-radius:14px;padding:22px;
  gap:16px;box-shadow:none;
}
body.turnly-admin-suite[data-dashboard-theme="light"] .finance-expense-import strong {color:#173047;font-size:16px;margin-bottom:8px}
body.turnly-admin-suite[data-dashboard-theme="light"] .finance-expense-import p {color:#52677f;line-height:1.6;max-width:1000px}
body.turnly-admin-suite[data-dashboard-theme="light"] .finance-expense-import textarea {
  background:#f8fafc;border-color:#cbd8e2;border-radius:10px;min-height:150px;padding:14px 16px;line-height:1.6;
}
body.turnly-admin-suite[data-dashboard-theme="light"] .finance-expense-import textarea:focus {background:#fff;border-color:#0c7469;outline:2px solid #0c746920;outline-offset:2px}
@media(max-width:640px){body.turnly-admin-suite[data-dashboard-theme="light"] .finance-expense-import{padding:16px}body.turnly-admin-suite[data-dashboard-theme="light"] .finance-expense-import .primary-action{width:100%;justify-content:center}}

/* Schedule checklist review and selection */
.schedule-checklist-panel{padding:20px;border:1px solid #d5e2ed;border-radius:14px;background:#fff;color:#19344c;display:grid;gap:12px}
.schedule-checklist-panel h3{margin:0 0 12px}.schedule-checklist-panel p{line-height:1.5}.schedule-checklist-panel select{width:100%;padding:12px;border:1px solid #c7d8e6;border-radius:10px;background:#fff;color:#19344c}.schedule-checklist-panel details{padding:14px;border:1px solid #d5e2ed;border-radius:10px;margin:12px 0}.schedule-checklist-panel summary{cursor:pointer;font-weight:600}.schedule-checklist-panel li{margin:10px 0;line-height:1.5}.schedule-checklist-panel .primary-action{justify-self:start}
