/* v1.7.140 — complete light-theme component and interaction-state audit. */
.studio-embed[data-theme="light"]{
  color-scheme:light;
  --bg:#f5f8f6;--panel:#fff;--panel2:#f6f9f7;--line:#cbd8d0;--text:#16241b;--muted:#4d5e54;
  --purple:#176f36;--accent:#16823b;--green:#11813a;--danger:#b32646;
  --light-bg:#f5f8f6;--light-surface:#fff;--light-subtle:#f1f6f3;--light-raised:#e9f1ec;
  --light-border:#cbd8d0;--light-border-strong:#adbbb2;--light-text:#16241b;--light-muted:#4d5e54;
  --light-green:#176f36;--light-green-strong:#0c6630;--light-green-soft:#d9efe0;
  --light-danger:#aa2342;--light-warning:#765708;
}

/* App frame and brand */
.studio-embed[data-theme="light"] body,.studio-embed[data-theme="light"] .app-shell,.studio-embed[data-theme="light"] .app-main,.studio-embed[data-theme="light"] .workspace{background:var(--light-bg)!important;color:var(--light-text)!important}
.studio-embed[data-theme="light"] .workspace{background:radial-gradient(circle at 48% -18%,#e2f2e7 0,transparent 34%),var(--light-bg)!important}
.studio-embed[data-theme="light"] .topbar{background:#fff!important;border-color:var(--light-border)!important}
.studio-embed[data-theme="light"] .sidebar{background:#e8f0eb!important;border-color:#c3d1c8!important}
.studio-embed[data-theme="light"] .sidebar-brand{border-color:#c3d1c8!important}
.studio-embed[data-theme="light"] .sidebar-brand.brand>span{background:#0b5128!important;border-color:#15763a!important;color:#d8ffe2!important;box-shadow:0 0 0 3px #b8dfc4!important}
.studio-embed[data-theme="light"] .sidebar-brand.brand strong{color:#183126!important}
.studio-embed[data-theme="light"] .sidebar-brand.brand small{color:#0b6b31!important;font-weight:850!important}
.studio-embed[data-theme="light"] .tabs.sidebar-nav{background:transparent!important;border-color:transparent!important}
.studio-embed[data-theme="light"] .tabs.sidebar-nav button{background:transparent!important;border-color:transparent!important;color:#516158!important}
.studio-embed[data-theme="light"] .tabs.sidebar-nav button .nav-icon{color:#65766c!important}
.studio-embed[data-theme="light"] .tabs.sidebar-nav button:hover{background:#dce8e0!important;color:#1d3528!important}
.studio-embed[data-theme="light"] .tabs.sidebar-nav button.active{background:#cfead7!important;border-color:#8fc99f!important;color:#0c5929!important;box-shadow:inset 3px 0 0 #16823b!important}
.studio-embed[data-theme="light"] .tabs.sidebar-nav button.active .nav-icon{color:#0e7134!important}
.studio-embed[data-theme="light"] .sidebar-toggle,.studio-embed[data-theme="light"] .app-shell.sidebar-collapsed .sidebar-toggle{background:#fff!important;border-color:#aebdb4!important;color:#405148!important;box-shadow:0 0 0 3px #e8f0eb!important}
.studio-embed[data-theme="light"] .sidebar-toggle:hover,.studio-embed[data-theme="light"] .sidebar-toggle:focus-visible{background:#dceee2!important;border-color:#3b8d57!important;color:#0b5e2b!important}
.studio-embed[data-theme="light"] .app-shell.sidebar-collapsed .tabs.sidebar-nav button::before{background:#fff!important;border-color:var(--light-border)!important;color:var(--light-text)!important;box-shadow:0 8px 24px #24372d2e!important}
.studio-embed[data-theme="light"] .health-pill{background:#f2f7f4!important;border-color:#cbd8d0!important;color:#42534a!important}
.studio-embed[data-theme="light"] .account-button{background:#cdebd6!important;border:1px solid #8cc89c!important}
.studio-embed[data-theme="light"] .account-button b{color:#0a5d2a!important}
.studio-embed[data-theme="light"] .breadcrumb{color:#5c6c63!important}.studio-embed[data-theme="light"] .breadcrumb strong{color:#24372d!important}

/* Text contrast */
.studio-embed[data-theme="light"] h1,.studio-embed[data-theme="light"] h2,.studio-embed[data-theme="light"] h3,.studio-embed[data-theme="light"] h4,.studio-embed[data-theme="light"] h5,.studio-embed[data-theme="light"] legend,.studio-embed[data-theme="light"] .head strong{color:var(--light-text)!important}
.studio-embed[data-theme="light"] label{color:#31443a!important}
.studio-embed[data-theme="light"] .muted,.studio-embed[data-theme="light"] .head p,.studio-embed[data-theme="light"] .status,.studio-embed[data-theme="light"] .toolbar-count,.studio-embed[data-theme="light"] .field-count,.studio-embed[data-theme="light"] .log-retention-note,.studio-embed[data-theme="light"] .analytics-status,.studio-embed[data-theme="light"] .analytics-none,.studio-embed[data-theme="light"] .analytics-chart-empty,.studio-embed[data-theme="light"] .replies-message,.studio-embed[data-theme="light"] .queue-refresh-status,.studio-embed[data-theme="light"] .queue-selection-summary{color:var(--light-muted)!important}
.studio-embed[data-theme="light"] .stats span,.studio-embed[data-theme="light"] .summaries span,.studio-embed[data-theme="light"] .summaries small,.studio-embed[data-theme="light"] .setting-title p,.studio-embed[data-theme="light"] .wide p,.studio-embed[data-theme="light"] .social-account-row small,.studio-embed[data-theme="light"] .media-card small,.studio-embed[data-theme="light"] .library-group-folder small,.studio-embed[data-theme="light"] .reply-meta,.studio-embed[data-theme="light"] .reply-context,.studio-embed[data-theme="light"] .admin-user-row small{color:var(--light-muted)!important}

/* Native form controls and picker affordances */
.studio-embed[data-theme="light"] input,.studio-embed[data-theme="light"] select,.studio-embed[data-theme="light"] textarea{background:#fff!important;border-color:#bdcbc2!important;color:var(--light-text)!important;box-shadow:none!important}
.studio-embed[data-theme="light"] input::placeholder,.studio-embed[data-theme="light"] textarea::placeholder{color:#687970!important;opacity:1!important}
.studio-embed[data-theme="light"] input[type="date"],.studio-embed[data-theme="light"] input[type="time"],.studio-embed[data-theme="light"] input[type="datetime-local"]{color-scheme:light!important;-webkit-appearance:auto!important;appearance:auto!important;padding-right:10px!important;cursor:pointer!important}
.studio-embed[data-theme="light"] input[type="date"]::-webkit-calendar-picker-indicator,.studio-embed[data-theme="light"] input[type="time"]::-webkit-calendar-picker-indicator,.studio-embed[data-theme="light"] input[type="datetime-local"]::-webkit-calendar-picker-indicator{display:block!important;opacity:1!important;filter:none!important;cursor:pointer!important}
.studio-embed[data-theme="light"] input[type="checkbox"],.studio-embed[data-theme="light"] input[type="radio"]{accent-color:#16823b}
.studio-embed[data-theme="light"] .destination-set-dialog input,.studio-embed[data-theme="light"] .media-upload-fields input,.studio-embed[data-theme="light"] .media-upload-fields select,.studio-embed[data-theme="light"] #calendar .calendar-filters select{background:#fff!important;border-color:#bdcbc2!important;color:var(--light-text)!important;color-scheme:light!important}
.studio-embed[data-theme="light"] input:focus,.studio-embed[data-theme="light"] select:focus,.studio-embed[data-theme="light"] textarea:focus,.studio-embed[data-theme="light"] button:focus-visible{outline:2px solid #287f49!important;outline-offset:2px!important;border-color:#287f49!important;box-shadow:0 0 0 3px #bfe2c9!important}
.studio-embed[data-theme="light"] dialog:focus,.studio-embed[data-theme="light"] dialog:focus-visible{outline:none!important}

/* Buttons: normal, hover, active, disabled, and destructive */
.studio-embed[data-theme="light"] button{background:#f8faf9!important;border-color:#c3d0c8!important;color:#25382d!important;box-shadow:none!important}
.studio-embed[data-theme="light"] button:hover{background:#edf4ef!important;border-color:#84978c!important;color:#14261c!important}
.studio-embed[data-theme="light"] button.primary,.studio-embed[data-theme="light"] .primary,.studio-embed[data-theme="light"] .calendar-primary-action{background:#11813a!important;border-color:#0b6a30!important;color:#fff!important;font-weight:750!important}
.studio-embed[data-theme="light"] button.primary:hover,.studio-embed[data-theme="light"] .primary:hover,.studio-embed[data-theme="light"] .calendar-primary-action:hover{background:#0c6d31!important;border-color:#075625!important;color:#fff!important}
.studio-embed[data-theme="light"] button.danger,.studio-embed[data-theme="light"] .danger{background:#fff!important;border-color:#d8a7b2!important;color:var(--light-danger)!important}
.studio-embed[data-theme="light"] button.danger:hover,.studio-embed[data-theme="light"] .danger:hover{background:#fff0f3!important;border-color:#bd667b!important;color:#8d1733!important}
.studio-embed[data-theme="light"] button:disabled,.studio-embed[data-theme="light"] button[aria-disabled="true"]{background:#e4eae6!important;border-color:#d0d9d3!important;color:#758279!important;box-shadow:none!important;opacity:1!important;filter:none!important;cursor:not-allowed!important}
.studio-embed[data-theme="light"] button.primary:disabled,.studio-embed[data-theme="light"] .primary:disabled{background:#b8cdbd!important;border-color:#a7bcae!important;color:#42564a!important}
.studio-embed[data-theme="light"] .bulk-media-heading .bulk-media-actions button,.studio-embed[data-theme="light"] .destination-tools button,.studio-embed[data-theme="light"] .destination-set-tools button,.studio-embed[data-theme="light"] .template-button{background:#f8faf9!important;border-color:#c3d0c8!important;color:#25382d!important}
.studio-embed[data-theme="light"] .bulk-media-heading .bulk-media-actions button:hover,.studio-embed[data-theme="light"] .destination-tools button:hover,.studio-embed[data-theme="light"] .destination-set-tools button:hover,.studio-embed[data-theme="light"] .template-button:hover{background:#e8f1eb!important;border-color:#799184!important;color:#14261c!important}
.studio-embed[data-theme="light"] .composer-media-management button,
.studio-embed[data-theme="light"] .bulk-media-heading .composer-media-management button,
.studio-embed[data-theme="light"] .media-tools .composer-media-management button{
  background:#fff !important;
  border:1.5px solid #176f36 !important;
  color:#0d5a2a !important;
  font-weight:700 !important;
  box-shadow:none !important;
}
.studio-embed[data-theme="light"] .composer-media-management button:hover,
.studio-embed[data-theme="light"] .bulk-media-heading .composer-media-management button:hover,
.studio-embed[data-theme="light"] .media-tools .composer-media-management button:hover{
  background:#e8f6ec !important;
  border-color:#0d5a2a !important;
  color:#084420 !important;
}

/* Shared panels and tables */
.studio-embed[data-theme="light"] .panel,.studio-embed[data-theme="light"] .wide,.studio-embed[data-theme="light"] .stats button,.studio-embed[data-theme="light"] .summaries article,.studio-embed[data-theme="light"] .media-card,.studio-embed[data-theme="light"] .analytics-post-card,.studio-embed[data-theme="light"] .reply-card,.studio-embed[data-theme="light"] .queue-row,.studio-embed[data-theme="light"] .admin-user-row,.studio-embed[data-theme="light"] .billing-details,.studio-embed[data-theme="light"] .x-credit-wallet,.studio-embed[data-theme="light"] .x-credit-explainer,.studio-embed[data-theme="light"] .x-credit-topups{background:#fff!important;border-color:var(--light-border)!important;color:var(--light-text)!important}
.studio-embed[data-theme="light"] .toolbar,.studio-embed[data-theme="light"] .log-toolbar,.studio-embed[data-theme="light"] .queue-bulk-actions,.studio-embed[data-theme="light"] .analytics-chart,.studio-embed[data-theme="light"] .library-groups-pinned{background:var(--light-subtle)!important;border-color:var(--light-border)!important}
.studio-embed[data-theme="light"] .table-head,.studio-embed[data-theme="light"] .log-head,.studio-embed[data-theme="light"] .analytics-table th{background:#edf3ef!important;border-color:var(--light-border)!important;color:#4b5d53!important}
.studio-embed[data-theme="light"] .analytics-table td,.studio-embed[data-theme="light"] .log-row,.studio-embed[data-theme="light"] .reply-card header{border-color:#d5dfd9!important}
.studio-embed[data-theme="light"] .empty>b{color:#5c7065!important}
.studio-embed[data-theme="light"] .week div,.studio-embed[data-theme="light"] .user-settings-danger p,.studio-embed[data-theme="light"] .admin-panel-head p,.studio-embed[data-theme="light"] .admin-email-preview-head,.studio-embed[data-theme="light"] .admin-edit-grid label>small,.studio-embed[data-theme="light"] .workflow-empty-state,.studio-embed[data-theme="light"] .reply-provider-unavailable,.studio-embed[data-theme="light"] .delivery-result-content header p{color:var(--light-muted)!important}
.studio-embed[data-theme="light"] .switch,.studio-embed[data-theme="light"] .admin-section-switch{background:#eaf1ed!important;border-color:var(--light-border)!important}
.studio-embed[data-theme="light"] .switch button,.studio-embed[data-theme="light"] .admin-section-switch button{background:transparent!important;border-color:transparent!important;color:#405248!important}
.studio-embed[data-theme="light"] .switch button.active,.studio-embed[data-theme="light"] .admin-section-switch button.active{background:#cfead7!important;border-color:#87c397!important;color:#0c5c2a!important}
.studio-embed[data-theme="light"] .calendar-context-menu,.studio-embed[data-theme="light"] .account-context-menu{background:#fff!important;border-color:#aebdb4!important;color:var(--light-text)!important;box-shadow:0 16px 45px #22342a33!important}
.studio-embed[data-theme="light"] .calendar-context-menu strong,.studio-embed[data-theme="light"] .account-context-menu strong{color:#17492a!important}
.studio-embed[data-theme="light"] .calendar-context-menu button,.studio-embed[data-theme="light"] .account-context-menu button{background:#fff!important;border-color:#c3d0c8!important;color:#25382d!important}

/* Calendar */
.studio-embed[data-theme="light"] #calendar .calendar-top,.studio-embed[data-theme="light"] #calendar .calendar-head,.studio-embed[data-theme="light"] #calendar .calendar-modes{background:transparent!important;color:var(--light-text)!important}
.studio-embed[data-theme="light"] #calendar .calendar-head>div:nth-child(2),.studio-embed[data-theme="light"] #calendar .calendar-view-switch,.studio-embed[data-theme="light"] #calendar .calendar-density-switch{background:#eaf1ed!important;border-color:#c3d0c8!important}
.studio-embed[data-theme="light"] #calendar .calendar-view-switch button,.studio-embed[data-theme="light"] #calendar .calendar-density-switch button{background:transparent!important;border-color:transparent!important;color:#3f5147!important}
.studio-embed[data-theme="light"] #calendar .calendar-view-switch button.active,.studio-embed[data-theme="light"] #calendar .calendar-density-switch button.active{background:#cfead7!important;border-color:#87c397!important;color:#0c5c2a!important}
.studio-embed[data-theme="light"] #calendar .calendar-actions{background:#f6f9f7!important;border-color:var(--light-border)!important}
.studio-embed[data-theme="light"] #calendar .calendar-action-center button{background:#fff!important;border-color:#c3d0c8!important;color:#25382d!important}
.studio-embed[data-theme="light"] #calendar .calendar-legend>span{background:#fff!important;border-color:#c3d0c8!important;color:#31443a!important}
.studio-embed[data-theme="light"] #calendar .panel.calendar,.studio-embed[data-theme="light"] #calendar .calendar-items{background:#fff!important;border-color:var(--light-border)!important}
.studio-embed[data-theme="light"] #calendar .calendar-week-day,.studio-embed[data-theme="light"] #calendar .calendar-month-view .calendar-week-day,.studio-embed[data-theme="light"] #calendar .calendar-month-view .calendar-week-day.has-posts{background:#fff!important;border-color:#d5dfd9!important;color:var(--light-text)!important;opacity:1!important;box-shadow:none!important}
.studio-embed[data-theme="light"] #calendar .calendar-week-day.outside-month,.studio-embed[data-theme="light"] #calendar .calendar-month-view .calendar-week-day.outside-month{background:#edf2ef!important;color:#52645a!important;opacity:1!important}
.studio-embed[data-theme="light"] #calendar .calendar-week-day.today,.studio-embed[data-theme="light"] #calendar .calendar-week-day.today.has-posts{background:#eaf6ed!important}
.studio-embed[data-theme="light"] #calendar .calendar-week-day>header,.studio-embed[data-theme="light"] #calendar .calendar-day-view .calendar-week-day>header{background:inherit!important;border-color:#d5dfd9!important;color:var(--light-text)!important}
.studio-embed[data-theme="light"] #calendar .calendar-week-day>header span{color:#53645b!important;opacity:1!important}.studio-embed[data-theme="light"] #calendar .calendar-week-day>header strong{color:#263a2f!important}
.studio-embed[data-theme="light"] #calendar .calendar-week-day.today>header strong{background:#11813a!important;color:#fff!important}
.studio-embed[data-theme="light"] #calendar .calendar-day-add{background:#fff!important;border-color:#c3d0c8!important;color:#4e6157!important}
.studio-embed[data-theme="light"] #calendar .calendar-day-add:hover{background:#dcefe2!important;border-color:#4d9d66!important;color:#0c5d2b!important}
.studio-embed[data-theme="light"] #calendar .calendar-day-slots{background:repeating-linear-gradient(to bottom,transparent 0,transparent calc(100% / 24 - 1px),#dde6e0 calc(100% / 24))!important}
.studio-embed[data-theme="light"] #calendar .calendar-condensed .calendar-day-slots,.studio-embed[data-theme="light"] #calendar .calendar-month-view .calendar-day-slots{background:none!important}
.studio-embed[data-theme="light"] #calendar .calendar-post-card,.studio-embed[data-theme="light"] #calendar .calendar-day-summary{background:#fff!important;border-color:#c5d3ca!important;color:var(--light-text)!important;box-shadow:0 1px 4px #23362b14!important}
.studio-embed[data-theme="light"] #calendar .calendar-post-card:hover,.studio-embed[data-theme="light"] #calendar .calendar-day-summary:hover{background:#edf7f0!important;border-color:#6eae80!important}
.studio-embed[data-theme="light"] #calendar .calendar-post-card strong,.studio-embed[data-theme="light"] #calendar .calendar-day-summary strong{color:#153d23!important}
.studio-embed[data-theme="light"] #calendar .calendar-post-card small,.studio-embed[data-theme="light"] #calendar .calendar-day-summary small{color:var(--light-muted)!important}

/* New Post, Bulk Scheduling, CSV, preflight, and drafts */
.studio-embed[data-theme="light"] dialog,.studio-embed[data-theme="light"] .post-dialog,.studio-embed[data-theme="light"] .workflow-dialog,.studio-embed[data-theme="light"] .preflight-dialog,.studio-embed[data-theme="light"] .media-upload-dialog,.studio-embed[data-theme="light"] .user-settings-dialog,.studio-embed[data-theme="light"] .admin-dialog,.studio-embed[data-theme="light"] .delivery-result-dialog{background:#fff!important;border-color:#aebeb4!important;color:var(--light-text)!important;box-shadow:0 24px 70px #26372e42!important}
.studio-embed[data-theme="light"] dialog::backdrop{background:#26332d70!important}
.studio-embed[data-theme="light"] .post-dialog-head,.studio-embed[data-theme="light"] .user-settings-head,.studio-embed[data-theme="light"] .media-upload-head,.studio-embed[data-theme="light"] .preflight-heading{background:#eaf2ed!important;border-color:var(--light-border)!important;color:var(--light-text)!important}
.studio-embed[data-theme="light"] .post-dialog-head h3,.studio-embed[data-theme="light"] .post-dialog-head h4,.studio-embed[data-theme="light"] .preflight-heading h3{color:var(--light-text)!important}
.studio-embed[data-theme="light"] .post-dialog-head p,.studio-embed[data-theme="light"] .preflight-heading p,.studio-embed[data-theme="light"] .media-upload-head p{color:var(--light-muted)!important}
.studio-embed[data-theme="light"] .post-submit-row,.studio-embed[data-theme="light"] .media-upload-footer,.studio-embed[data-theme="light"] .preflight-actions{background:#eaf2ed!important;border-color:var(--light-border)!important;color:var(--light-text)!important}
.studio-embed[data-theme="light"] .composer-card,.studio-embed[data-theme="light"] .post-schedule-fields,.studio-embed[data-theme="light"] .post-destinations,.studio-embed[data-theme="light"] .post-media-choices,.studio-embed[data-theme="light"] .workflow-preview,.studio-embed[data-theme="light"] .workflow-preview-section,.studio-embed[data-theme="light"] .workflow-row,.studio-embed[data-theme="light"] .bulk-schedule-summary>div,.studio-embed[data-theme="light"] .csv-file-drop,.studio-embed[data-theme="light"] .csv-requirements,.studio-embed[data-theme="light"] .media-file-picker,.studio-embed[data-theme="light"] .media-upload-queue{background:#f7faf8!important;border-color:var(--light-border)!important;color:var(--light-text)!important}
.studio-embed[data-theme="light"] .post-draft-notice{background:#e2f3e7!important;border-color:#83bd92!important;color:#194c2a!important}.studio-embed[data-theme="light"] .post-draft-notice small{color:#3e664a!important}
.studio-embed[data-theme="light"] .destination-platform-heading{background:#e4ede7!important;border-color:#bdcbc2!important;color:var(--light-text)!important;backdrop-filter:none!important}
.studio-embed[data-theme="light"] .destination-platform-heading strong{color:var(--light-text)!important}.studio-embed[data-theme="light"] .destination-platform-heading small{color:#506158!important}
.studio-embed[data-theme="light"] .post-destination,.studio-embed[data-theme="light"] .post-media-choice,.studio-embed[data-theme="light"] .preflight-destinations,.studio-embed[data-theme="light"] .preflight-destination-chip,.studio-embed[data-theme="light"] .preflight-summary article,.studio-embed[data-theme="light"] .publishing-readiness,.studio-embed[data-theme="light"] .readiness-status,.studio-embed[data-theme="light"] .readiness-check{background:#fff!important;border-color:var(--light-border)!important;color:var(--light-text)!important}
.studio-embed[data-theme="light"] .post-destination:hover,.studio-embed[data-theme="light"] .post-media-choice:hover{background:#f0f6f2!important;border-color:#91a89a!important}
.studio-embed[data-theme="light"] .post-destination:has(input:checked),.studio-embed[data-theme="light"] .post-media-choice:has(input:checked){background:#dff2e4!important;border-color:#70b582!important;color:var(--light-text)!important;box-shadow:inset 3px 0 0 #16823b!important}
.studio-embed[data-theme="light"] .destination-tools>span,.studio-embed[data-theme="light"] .post-media-heading>span,.studio-embed[data-theme="light"] .social-result-count{color:#126b31!important}
.studio-embed[data-theme="light"] .workflow-preview-heading>strong{background:#dff2e4!important;border-color:#70b582!important;color:#0e5f2b!important}
.studio-embed[data-theme="light"] .readiness-check span,.studio-embed[data-theme="light"] .composer-section-heading small,.studio-embed[data-theme="light"] .workflow-preview-section p,.studio-embed[data-theme="light"] .preflight-summary small,.studio-embed[data-theme="light"] .preflight-destination-chip em{color:var(--light-muted)!important}
.studio-embed[data-theme="light"] .readiness-status.ready,.studio-embed[data-theme="light"] .readiness-check.ready strong{color:#12682f!important}
.studio-embed[data-theme="light"] .readiness-status.warning,.studio-embed[data-theme="light"] .readiness-check.warning strong{color:var(--light-warning)!important}
.studio-embed[data-theme="light"] .readiness-status.blocked,.studio-embed[data-theme="light"] .readiness-check.blocked strong{color:var(--light-danger)!important}
.studio-embed[data-theme="light"] .preflight-check{background:#dff3e5!important;border-color:#5ea873!important;color:#0c652e!important}
.studio-embed[data-theme="light"] .preflight-summary strong{color:#24372d!important}
.studio-embed[data-theme="light"] .preflight-warnings{background:#fff7dc!important;border-color:#cfac4d!important;color:#674b08!important}
.studio-embed[data-theme="light"] .workflow-queue-progress{background:#e5f3e9!important;border-color:#8cbd99!important;color:#164d29!important}

/* Accounts, integrations, and defaults */
.studio-embed[data-theme="light"] .settings-section{background:#fff!important;border-color:var(--light-border)!important;color:var(--light-text)!important}
.studio-embed[data-theme="light"] .settings-section>summary{background:#e8f1eb!important;border-color:var(--light-border)!important;color:var(--light-text)!important}
.studio-embed[data-theme="light"] .settings-section>summary strong{color:var(--light-text)!important}.studio-embed[data-theme="light"] .settings-section>summary small{color:var(--light-muted)!important}.studio-embed[data-theme="light"] .settings-section>summary::after{color:#176f36!important}
.studio-embed[data-theme="light"] .settings-section-body,.studio-embed[data-theme="light"] .social-saved-card,.studio-embed[data-theme="light"] .social-account-row,.studio-embed[data-theme="light"] .platform-default-row,.studio-embed[data-theme="light"] .social-defaults-card,.studio-embed[data-theme="light"] .bluesky-credential-fields{background:#fff!important;border-color:var(--light-border)!important;color:var(--light-text)!important}
.studio-embed[data-theme="light"] .account-health-summary article{background:#f6f9f7!important;border-color:var(--light-border)!important;color:var(--light-text)!important}
.studio-embed[data-theme="light"] .social-account-row.account-health-attention,.studio-embed[data-theme="light"] .social-account-row.account-health-expired{background:#fff1f3!important;border-color:#d7a2ae!important}
.studio-embed[data-theme="light"] .social-account-row.account-health-expiring{background:#fff8e3!important;border-color:#d3b865!important}
.studio-embed[data-theme="light"] .account-health-pill.expiring{background:#fff4d4!important;border-color:#cba84a!important;color:#6d4f05!important}
.studio-embed[data-theme="light"] .account-health-pill.attention,.studio-embed[data-theme="light"] .account-health-pill.expired{background:#ffe8ed!important;border-color:#cc7e91!important;color:#921d39!important}
.studio-embed[data-theme="light"] .oauth-token-notice{background:#e8f3fb!important;border-color:#8bb7d1!important;color:#244d66!important}
.studio-embed[data-theme="light"] .defaults-state{background:#dff2e4!important;border-color:#70b582!important;color:#0f642d!important}
.studio-embed[data-theme="light"] .defaults-state.unsaved{background:#fff4d8!important;border-color:#caa74e!important;color:#6f5107!important}

/* Media Library */
.studio-embed[data-theme="light"] .library-storage,.studio-embed[data-theme="light"] .library-group-folder,.studio-embed[data-theme="light"] .library-selection-bar{background:#fff!important;border-color:var(--light-border)!important;color:var(--light-text)!important}
.studio-embed[data-theme="light"] .library-group-folder:hover,.studio-embed[data-theme="light"] .library-group-folder.active{background:#e8f4eb!important;border-color:#65a978!important;box-shadow:0 0 0 2px #b9dfc4!important}
.studio-embed[data-theme="light"] .library-group-folder-icon{background:linear-gradient(145deg,#287a48,#115b31)!important;border-color:#0d4b28!important;color:#fff!important}
.studio-embed[data-theme="light"] .library-storage span,.studio-embed[data-theme="light"] .library-storage small,.studio-embed[data-theme="light"] .library-load-more{color:var(--light-muted)!important}
.studio-embed[data-theme="light"] .library-storage progress{color:#17783a!important;accent-color:#17783a!important;background:#dce6df!important;border-radius:999px!important;overflow:hidden!important}
.studio-embed[data-theme="light"] .library-storage progress::-webkit-progress-bar{background:#dce6df!important;border-radius:999px!important}.studio-embed[data-theme="light"] .library-storage progress::-webkit-progress-value{background:#17783a!important;border-radius:999px!important}
.studio-embed[data-theme="light"] .media-card{box-shadow:0 7px 20px #24382d18!important}.studio-embed[data-theme="light"] .media-info{background:#fff!important;color:var(--light-text)!important}
.studio-embed[data-theme="light"] .media-labels span{background:#eee8f8!important;border-color:#9f84c7!important;color:#51337f!important}
.studio-embed[data-theme="light"] .media-labels .media-usage.published{background:#dff2e4!important;border-color:#70b582!important;color:#0f642d!important}
.studio-embed[data-theme="light"] .media-labels .media-usage.unused{background:#e9eeeb!important;border-color:#aebbb3!important;color:#3f5147!important}
.studio-embed[data-theme="light"] .media-card-selected{border-color:#16823b!important;box-shadow:0 0 0 2px #8ac89b!important}
.studio-embed[data-theme="light"] .library-media-scroll{scrollbar-color:#8fa198 #e8efeb!important}.studio-embed[data-theme="light"] .library-media-scroll::-webkit-scrollbar-track{background:#e8efeb!important}.studio-embed[data-theme="light"] .library-media-scroll::-webkit-scrollbar-thumb{background:#8fa198!important;border-color:#e8efeb!important}
.studio-embed[data-theme="light"] .csv-limit-error{background:#fff0f3!important;border-color:#d7a2ae!important;color:#99203c!important}

/* Queue, Analytics, Replies, System Log */
.studio-embed[data-theme="light"] .queue-row.queue-selected{background:#e0f2e5!important;border-color:#7bb78b!important}.studio-embed[data-theme="light"] .queue-row.queue-stuck{background:#fff0f3!important;border-color:#d7a2ae!important}
.studio-embed[data-theme="light"] .queue-stats button.active{background:#dff2e4!important;border-color:#70b582!important;color:#0f642d!important;box-shadow:inset 0 0 0 1px #98cda6!important}.studio-embed[data-theme="light"] .queue-stats button.active span,.studio-embed[data-theme="light"] #queueSelectedCount{color:#126b31!important}
.studio-embed[data-theme="light"] .queue-result-summary span,.studio-embed[data-theme="light"] .queue-activity-panel,.studio-embed[data-theme="light"] .queue-activity-panel article,.studio-embed[data-theme="light"] .reply-refresh-popover,.studio-embed[data-theme="light"] .reply-refresh-account,.studio-embed[data-theme="light"] .reply-stat,.studio-embed[data-theme="light"] .reply-post-placeholder{background:#f5f8f6!important;border-color:var(--light-border)!important;color:var(--light-text)!important}
.studio-embed[data-theme="light"] .queue-result-summary .success{background:#dff2e4!important;color:#0f642d!important}.studio-embed[data-theme="light"] .queue-activity-error{background:#fff0f3!important;border-color:#d7a2ae!important;color:#99203c!important}
.studio-embed[data-theme="light"] .analytics-toolbar select,.studio-embed[data-theme="light"] .analytics-toolbar input,.studio-embed[data-theme="light"] .analytics-post-sort select{background:#fff!important;border-color:#bdcbc2!important;color:var(--light-text)!important}
.studio-embed[data-theme="light"] .analytics-chart-controls button.active{background:#dff2e4!important;border-color:#70b582!important;color:#0f642d!important}
.studio-embed[data-theme="light"] .analytics-live-status.available{background:#e0f2e5!important;border-color:#70b582!important;color:#0f642d!important}.studio-embed[data-theme="light"] .x-credit-button{background:#fff6dc!important;border-color:#c8a54a!important;color:#6c5008!important}
.studio-embed[data-theme="light"] .metric-pending,.studio-embed[data-theme="light"] .queue-due,.studio-embed[data-theme="light"] .pill{color:#765708!important}.studio-embed[data-theme="light"] .queue-stuck-label{color:#a32240!important}.studio-embed[data-theme="light"] .reply-link{color:#513c87!important}
.studio-embed[data-theme="light"] .analytics-chart .grid-line{stroke:#ccd8d1!important}.studio-embed[data-theme="light"] .analytics-chart .axis-label,.studio-embed[data-theme="light"] .analytics-chart .axis-value{fill:#405248!important}
.studio-embed[data-theme="light"] .reply-state.replied{background:#dff2e4!important;border-color:#70b582!important;color:#0f642d!important}
.studio-embed[data-theme="light"] .log-detail summary,.studio-embed[data-theme="light"] .dialog-log-link,.studio-embed[data-theme="light"] .reply-refresh-details summary{color:#4f3a86!important}
.studio-embed[data-theme="light"] .log-detail pre,.studio-embed[data-theme="light"] .attempt-history-response pre{background:#edf2ef!important;border-color:#c5d2ca!important;color:#263a2f!important}

/* Billing, administration, settings, and notices */
.studio-embed[data-theme="light"] .entitlement-panel,.studio-embed[data-theme="light"] .billing-profile-form,.studio-embed[data-theme="light"] .billing-danger-zone,.studio-embed[data-theme="light"] .admin-template-row,.studio-embed[data-theme="light"] .admin-campaign-row,.studio-embed[data-theme="light"] .admin-activity-row{background:#fff!important;border-color:var(--light-border)!important;color:var(--light-text)!important}
.studio-embed[data-theme="light"] .entitlement-metrics article,.studio-embed[data-theme="light"] .billing-reference-list div,.studio-embed[data-theme="light"] .x-credit-breakdown article{background:#fff!important;border-color:var(--light-border)!important;color:var(--light-text)!important}
.studio-embed[data-theme="light"] .entitlement-plan span,.studio-embed[data-theme="light"] .entitlement-metrics span,.studio-embed[data-theme="light"] .billing-grid span,.studio-embed[data-theme="light"] .billing-grid small,.studio-embed[data-theme="light"] .billing-reference-list dt,.studio-embed[data-theme="light"] .x-credit-wallet-heading p,.studio-embed[data-theme="light"] .x-credit-breakdown span,.studio-embed[data-theme="light"] .x-credit-breakdown small{color:var(--light-muted)!important}
.studio-embed[data-theme="light"] .account-enable-expired{background:#fff4d8!important;border-color:#caa74e!important;color:#6f5107!important}
.studio-embed[data-theme="light"] .billing-danger-zone,.studio-embed[data-theme="light"] .delete-account-dialog{background:#fff!important;border-color:#d7a2ae!important;color:var(--light-text)!important}
.studio-embed[data-theme="light"] .support-message-dialog{background:#fff!important;border-color:var(--light-border)!important;color:var(--light-text)!important}
.studio-embed[data-theme="light"] .admin-user-head{background:#eaf1ed!important;border-color:var(--light-border)!important;color:#405248!important}.studio-embed[data-theme="light"] .admin-template-row:hover{background:#eaf5ed!important;border-color:#76a984!important}
.studio-embed[data-theme="light"] .admin-email-empty{color:var(--light-muted)!important}.studio-embed[data-theme="light"] .admin-email-empty b{color:#126b31!important}.studio-embed[data-theme="light"] .admin-email-preview,.studio-embed[data-theme="light"] .admin-email-preview pre{background:#fff!important;border-color:var(--light-border)!important;color:var(--light-text)!important}
.studio-embed[data-theme="light"] .admin-integration-card code{color:#4e3b80!important}
.studio-embed[data-theme="light"] .founder-invite-plan{background:#eeeaf7!important;border-color:#9a84bd!important;color:#40345c!important}.studio-embed[data-theme="light"] .founder-invite-plan span{color:#5c526d!important}
.studio-embed[data-theme="light"] .admin-integration-toggle span{background:#dce5df!important;border-color:#aebbb3!important}.studio-embed[data-theme="light"] .admin-integration-toggle input:checked+span{background:#cfead7!important;border-color:#62a975!important}
.studio-embed[data-theme="light"] .user-settings-email-note{background:transparent!important;border:0!important;color:var(--light-muted)!important}
.studio-embed[data-theme="light"] .user-settings-content{background:#f5f8f6!important}
.studio-embed[data-theme="light"] .user-settings-card,.studio-embed[data-theme="light"] .user-personalization,.studio-embed[data-theme="light"] .user-setting-toggles>label{background:#fff!important;border-color:var(--light-border)!important;color:var(--light-text)!important}
.studio-embed[data-theme="light"] .user-settings-section-head{border-color:var(--light-border)!important}.studio-embed[data-theme="light"] .user-settings-section-head span,.studio-embed[data-theme="light"] .user-settings-danger>div>span{color:#0b6b31!important}
.studio-embed[data-theme="light"] .user-settings-savebar{background:linear-gradient(to bottom,transparent,#f5f8f6 30%)!important}
.studio-embed[data-theme="light"] .user-settings-danger{background:#fff7f8!important;border-color:#d7a2ae!important}
.studio-embed[data-theme="light"] .user-setting-toggles strong{color:var(--light-text)!important}.studio-embed[data-theme="light"] .user-setting-toggles small{color:var(--light-muted)!important}
.studio-embed[data-theme="light"] .user-setting-toggles input{appearance:none!important;background:#b9c5be!important;border-color:#91a299!important}.studio-embed[data-theme="light"] .user-setting-toggles input::after{background:#fff!important}
.studio-embed[data-theme="light"] .user-setting-toggles input:checked{background:#176f36!important;border-color:#0d5b2b!important}.studio-embed[data-theme="light"] .user-setting-toggles input:checked::after{background:#fff!important}
.studio-embed[data-theme="light"] .notice{background:#fff7dc!important;border-color:#cfac4d!important;color:#674b08!important}.studio-embed[data-theme="light"] .error{background:#fff0f3!important;border-color:#d7a2ae!important;color:#99203c!important}
.studio-embed[data-theme="light"] .notice p{color:#674b08!important}.studio-embed[data-theme="light"] .error p{color:#99203c!important}
.studio-embed[data-theme="light"] .post-recovery-actions{background:#fff0f3!important;border-color:#d7a2ae!important;color:#7f2439!important}.studio-embed[data-theme="light"] .post-recovery-actions strong{color:#99203c!important}.studio-embed[data-theme="light"] .post-recovery-actions span{color:#694650!important}
.studio-embed[data-theme="light"] .global-attention{background:#fff7dc!important;border-color:#cfac4d!important;color:#674b08!important}.studio-embed[data-theme="light"] .global-attention span{color:#674b08!important}
.studio-embed[data-theme="light"] .founder-checklist{background:linear-gradient(125deg,#e6f4ea,#fff)!important;border-color:#8dc49b!important}.studio-embed[data-theme="light"] .founder-checklist-step{background:#fff!important;border-color:var(--light-border)!important;color:#41544a!important}.studio-embed[data-theme="light"] .founder-checklist-step.complete{background:#dff2e4!important;border-color:#70b582!important;color:#0f642d!important}
.studio-embed[data-theme="light"] .app-toast{background:#fff!important;border-color:#92b69d!important;color:var(--light-text)!important;box-shadow:0 16px 45px #23362c38!important}.studio-embed[data-theme="light"] .app-toast p{color:var(--light-muted)!important}.studio-embed[data-theme="light"] .app-toast.success{border-left-color:#16823b!important}.studio-embed[data-theme="light"] .app-toast.error{border-left-color:#b32646!important}.studio-embed[data-theme="light"] .app-toast button{background:#f2f6f3!important;border-color:#c3d0c8!important;color:#263a2f!important}
.studio-embed[data-theme="light"] .delivery-result-check{background:#dff2e4!important;border-color:#70b582!important;color:#0f642d!important}.studio-embed[data-theme="light"] .delivery-result-row{background:#f5f8f6!important;border-color:var(--light-border)!important;color:var(--light-text)!important}.studio-embed[data-theme="light"] .delivery-result-pill{background:#dff2e4!important;border-color:#70b582!important;color:#0f642d!important}

/* Sign-in and connection surfaces */
.studio-embed[data-theme="light"] .login-shell{background:radial-gradient(circle at 50% 18%,#dff1e4 0,transparent 38%),#edf3ef!important;color:var(--light-text)!important}
.studio-embed[data-theme="light"] .login-card{background:#fff!important;border-color:#bfcfc5!important;color:var(--light-text)!important;box-shadow:0 26px 70px #23362c2b!important}
.studio-embed[data-theme="light"] .login-copy>b,.studio-embed[data-theme="light"] .app-version{color:#0b6b31!important}.studio-embed[data-theme="light"] .login-copy p,.studio-embed[data-theme="light"] .invite{color:var(--light-muted)!important}
.studio-embed[data-theme="light"] .connected-pill{background:#dff2e4!important;border-color:#70b582!important;color:#0f642d!important}

/* Detail rows, secondary labels, and destructive confirmations */
.studio-embed[data-theme="light"] .post-delivery-heading p,.studio-embed[data-theme="light"] .delivery-account small,.studio-embed[data-theme="light"] .delivery-provider-id small,.studio-embed[data-theme="light"] .delivery-message,.studio-embed[data-theme="light"] .post-delivery-empty,.studio-embed[data-theme="light"] .attempt-history-heading p,.studio-embed[data-theme="light"] .attempt-history-heading>span,.studio-embed[data-theme="light"] .attempt-history-empty,.studio-embed[data-theme="light"] .attempt-history-account small,.studio-embed[data-theme="light"] .attempt-history-meta small{color:var(--light-muted)!important}
.studio-embed[data-theme="light"] .delivery-result,.studio-embed[data-theme="light"] .attempt-history-item{background:#f7faf8!important;border-color:var(--light-border)!important;color:var(--light-text)!important}
.studio-embed[data-theme="light"] .delivery-provider-id code,.studio-embed[data-theme="light"] .queue-activity-detail{color:#33473c!important}
.studio-embed[data-theme="light"] .post-delivery-summary-good{color:#0f6c30!important}.studio-embed[data-theme="light"] .post-delivery-summary-bad{color:#a32240!important}
.studio-embed[data-theme="light"] .delete-choice-social{background:#fff0f3!important;border-color:#d7a2ae!important;color:#99203c!important}
.studio-embed[data-theme="light"] .platforms button>span{background:#e7eee9!important;color:#25382d!important}.studio-embed[data-theme="light"] .platforms small{color:var(--light-muted)!important}
.studio-embed[data-theme="light"] .calendar-secondary-action.feature-locked{background:#e4eae6!important;border-color:#c4cec7!important;color:#68766e!important}.studio-embed[data-theme="light"] .feature-locked::after{background:#fff7dc!important;border-color:#cfac4d!important;color:#674b08!important}
.studio-embed[data-theme="light"] .calendar-text-thumb{color:#24613a!important}

/* Intentionally dark media presentation areas retain high-contrast controls. */
.studio-embed[data-theme="light"] .media-preview,.studio-embed[data-theme="light"] .post-media-preview,.studio-embed[data-theme="light"] .queue-thumb,.studio-embed[data-theme="light"] .analytics-post-thumbnail,.studio-embed[data-theme="light"] .reply-post-thumb,.studio-embed[data-theme="light"] .media-viewer-dialog,.studio-embed[data-theme="light"] .media-viewer-stage{background:#09100d!important;color:#eef6f0!important}
.studio-embed[data-theme="light"] .preflight-media{align-items:center;border-color:#b9c9bf!important;background:#eef5f0!important;color:#17251d!important}
.studio-embed[data-theme="light"] .preflight-media>img,.studio-embed[data-theme="light"] .preflight-media>video{width:auto!important;height:auto!important;max-width:100%!important;max-height:clamp(280px,45vh,500px)!important;background:transparent!important;color-scheme:light!important}
.studio-embed[data-theme="light"] .preflight-media>div{box-sizing:border-box;width:100%;border-top-color:#b9c9bf!important;background:#f8fbf9!important}
.studio-embed[data-theme="light"] .preflight-media span{color:#176c35!important}
.studio-embed[data-theme="light"] .preflight-media strong{color:#17251d!important}
.studio-embed[data-theme="light"] .media-viewer-close{background:#101915e8!important;border-color:#728178!important;color:#fff!important}.studio-embed[data-theme="light"] .media-viewer-caption{background:#101915!important;border-color:#334239!important;color:#eef6f0!important}.studio-embed[data-theme="light"] .media-viewer-caption small{color:#b8c5bd!important}

/* Provider/status colors are semantic and remain colored, with readable text. */
.studio-embed[data-theme="light"] .platform-pill,.studio-embed[data-theme="light"] .queue-status,.studio-embed[data-theme="light"] .delivery-status,.studio-embed[data-theme="light"] .connection-badge,.studio-embed[data-theme="light"] .admin-pill.administrator,.studio-embed[data-theme="light"] .admin-pill.active{color:#fff!important}

.studio-embed[data-theme="light"] .analytics-post-card p{
  color:#24362c !important;
}
.studio-embed[data-theme="light"] .analytics-post-card dt,
.studio-embed[data-theme="light"] .analytics-post-card footer,
.studio-embed[data-theme="light"] .analytics-post-card small{
  color:#405248 !important;
}
.studio-embed[data-theme="light"] .analytics-post-card header strong,
.studio-embed[data-theme="light"] .analytics-post-card header span{
  color:#16241b !important;
}

.studio-embed[data-theme="light"] .storage-subscription,
.studio-embed[data-theme="light"] .storage-subscription-breakdown article,
.studio-embed[data-theme="light"] .topup-options-dialog,
.studio-embed[data-theme="light"] .topup-option{background:#fff!important;border-color:var(--light-border)!important;color:var(--light-text)!important}
.studio-embed[data-theme="light"] .storage-subscription-heading p,
.studio-embed[data-theme="light"] .storage-subscription-actions span,
.studio-embed[data-theme="light"] .storage-subscription-breakdown span,
.studio-embed[data-theme="light"] .storage-subscription-breakdown small,
.studio-embed[data-theme="light"] .topup-option-kicker,
.studio-embed[data-theme="light"] .topup-option small,
.studio-embed[data-theme="light"] .topup-dialog-header p{color:var(--light-muted)!important}
.studio-embed[data-theme="light"] .storage-subscription-heading>strong,
.studio-embed[data-theme="light"] .topup-option-price{color:#176f36!important}
.studio-embed[data-theme="light"] .topup-dialog-header{border-color:var(--light-border)!important}
.studio-embed[data-theme="light"] .topup-current-note{background:#e2f3e7!important;border-color:#83bd92!important;color:#194c2a!important}
