:root { color: #172033; background: #f3f6fb; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-synthesis: none; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; }
a { color: inherit; text-decoration: none; }
.topbar { position: sticky; top: 0; z-index: 10; height: 68px; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #e4e9f2; background: rgba(255,255,255,.94); backdrop-filter: blur(14px); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; color: white; background: linear-gradient(135deg,#6d5dfc,#1d84ff); font-size: 13px; }
.topbar-actions { display: flex; align-items: center; gap: 18px; }
.language-switcher { display: flex; padding: 3px; border: 1px solid #e3e7ef; border-radius: 9px; background: #f6f8fb; }
.language-button { margin: 0; padding: 5px 8px; color: #778297; background: transparent; font-size: 11px; cursor: pointer; }
.language-button.active { color: #4f46e5; background: #fff; box-shadow: 0 1px 4px rgba(32,40,58,.12); }
.system-state { display: flex; align-items: center; gap: 9px; color: #637087; font-size: 13px; }
.state-dot { width: 9px; height: 9px; border-radius: 50%; background: #f2a93b; box-shadow: 0 0 0 4px #fff0d7; }
.state-dot.ok { background: #19a974; box-shadow: 0 0 0 4px #dff8ef; }
.state-dot.error { background: #d9485f; box-shadow: 0 0 0 4px #ffe4e8; }
.layout { display: grid; grid-template-columns: 220px minmax(0,1fr); min-height: calc(100vh - 68px); }
.sidebar { padding: 28px 18px; border-right: 1px solid #e4e9f2; background: #fff; }
.nav-link { display: block; margin-bottom: 6px; padding: 11px 14px; border-radius: 10px; color: #647087; font-size: 14px; font-weight: 600; }
.nav-link:hover, .nav-link.active { color: #4f46e5; background: #f0efff; }
main { width: 100%; max-width: 1480px; margin: 0 auto; padding: 36px 40px 60px; }
.workspace-bar { display: grid; grid-template-columns: minmax(210px,1fr) minmax(180px,280px) minmax(180px,280px); align-items: end; gap: 14px; margin-bottom: 30px; padding: 16px 18px; }
.workspace-copy { align-self: center; }
.workspace-copy span, .workspace-bar label span { display: block; margin-bottom: 5px; color: #7b8799; font-size: 11px; font-weight: 700; }
.workspace-copy strong { display: block; overflow: hidden; color: #20283a; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.workspace-bar select { width: 100%; padding: 10px 34px 10px 11px; border: 1px solid #d9dfeb; border-radius: 9px; color: #243047; background: #fff; font: inherit; }
.hero { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.eyebrow { margin: 0 0 6px; color: #7568ee; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1 { margin: 0; color: #111827; font-size: clamp(28px,4vw,42px); line-height: 1.1; letter-spacing: -.04em; }
.lead { max-width: 680px; margin: 10px 0 0; color: #68758b; line-height: 1.6; }
.mode-badge, .tag { display: inline-flex; align-items: center; padding: 8px 11px; border: 1px solid #dedbff; border-radius: 999px; color: #5b50d6; background: #f3f1ff; font-size: 12px; font-weight: 700; white-space: nowrap; }
.tag.safe { color: #087a55; border-color: #c9eddf; background: #eafaf4; }
.metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; margin-bottom: 16px; }
.card { border: 1px solid #e5eaf2; border-radius: 16px; background: #fff; box-shadow: 0 8px 28px rgba(38,51,77,.045); }
.metric { padding: 20px; }
.metric span, .metric small { display: block; color: #718096; font-size: 12px; }
.metric strong { display: block; margin: 8px 0 5px; color: #111827; font-size: 28px; }
.grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap: 16px; }
.panel { padding: 24px; }
.panel-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
h2 { margin: 0; color: #20283a; font-size: 19px; letter-spacing: -.02em; }
.empty-state { min-height: 250px; padding: 34px 18px 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.empty-state.compact { min-height: 250px; }
.empty-state h3 { margin: 13px 0 8px; font-size: 16px; }
.empty-state p { max-width: 500px; margin: 0; color: #718096; font-size: 13px; line-height: 1.65; }
.empty-icon, .shield { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; color: #fff; background: #f44336; font-weight: 900; }
.shield { color: #0c8b63; background: #def8ed; }
.notice { display: flex; align-items: center; gap: 12px; min-height: 90px; margin-top: 20px; padding: 16px; border-radius: 12px; color: #5f6c81; background: #f7f9fc; }
.notice span { display: grid; flex: 0 0 auto; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: #5b50d6; background: #e9e7ff; font-size: 12px; font-weight: 800; }
.notice p { margin: 0; font-size: 13px; line-height: 1.5; }
.account-list { display: grid; gap: 9px; margin-top: 18px; }
.account-card { width: 100%; margin: 0; padding: 13px; display: flex; align-items: center; gap: 12px; border: 1px solid #e5eaf2; color: #20283a; background: #fff; text-align: left; cursor: pointer; }
.account-card:hover, .account-card.selected { border-color: #bcb6ff; background: #f8f7ff; }
.account-icon { display: grid; flex: 0 0 auto; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: #fff; background: #f44336; font-weight: 900; }
.account-copy { min-width: 0; flex: 1; }
.account-copy strong, .account-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-copy small { margin-top: 3px; color: #7b8799; font-weight: 500; }
.account-arrow { color: #948cae; font-size: 24px; }
.inline-empty { display: flex; flex-direction: column; gap: 5px; padding: 20px 4px 8px; color: #2e3749; font-size: 13px; }
.inline-empty span { color: #7b8799; line-height: 1.5; }
.connect-form { display: grid; grid-template-columns: minmax(180px,1.3fr) minmax(130px,1fr) minmax(130px,1fr) auto; align-items: end; gap: 9px; margin-top: 20px; padding-top: 18px; border-top: 1px solid #edf0f5; }
.connect-form div strong, .connect-form div small { display: block; }
.connect-form div small { margin-top: 4px; color: #7b8799; font-size: 11px; line-height: 1.4; }
.connect-form input { min-width: 0; padding: 10px 11px; border: 1px solid #d9dfeb; border-radius: 9px; font: inherit; }
.connect-form .primary-button, .secondary-button { width: auto; margin: 0; white-space: nowrap; }
.secondary-button { color: #5b50d6; background: #efedff; cursor: pointer; }
.secondary-button:disabled { opacity: .55; cursor: wait; }
.campaigns-panel { margin-top: 16px; }
.builder-panel { margin-bottom: 16px; scroll-margin-top: 84px; }
.section-lead { max-width: 720px; margin: 7px 0 0; color: #718096; font-size: 13px; line-height: 1.55; }
.wizard { margin-top: 24px; }
.wizard-progress { margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(3,1fr); list-style: none; }
.wizard-progress li { position: relative; display: flex; align-items: center; gap: 8px; color: #98a2b3; font-size: 12px; }
.wizard-progress li::after { content: ""; position: absolute; z-index: 0; right: 8px; left: 42px; height: 2px; background: #e9edf3; }
.wizard-progress li:last-child::after { display: none; }
.wizard-progress span { z-index: 1; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #edf0f5; }
.wizard-progress li.active { color: #5146ca; }
.wizard-progress li.active span { color: #fff; background: #5b50d6; }
.wizard-progress li.active::after { background: #c9c4ff; }
.wizard-step { margin: 0; padding: 0; border: 0; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-grid label span { display: block; margin-bottom: 7px; color: #475569; font-size: 12px; font-weight: 700; }
.field-grid .wide { grid-column: 1 / -1; }
.field-grid input, .field-grid textarea { width: 100%; padding: 11px 12px; border: 1px solid #d9dfeb; border-radius: 9px; color: #172033; background: #fff; font: inherit; resize: vertical; }
.field-grid input:focus, .field-grid textarea:focus { outline: 3px solid #e7e5ff; border-color: #7568ee; }
.choice-section { margin-top: 22px; }
.choice-section > strong { display: block; margin-bottom: 10px; color: #364152; font-size: 13px; }
.choice-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.choice-grid label { cursor: pointer; }
.choice-grid input { position: absolute; opacity: 0; pointer-events: none; }
.choice-grid span { display: block; padding: 9px 13px; border: 1px solid #dfe4ed; border-radius: 999px; color: #637087; font-size: 12px; font-weight: 700; }
.choice-grid input:checked + span { color: #5146ca; border-color: #bbb5ff; background: #f1efff; }
.mode-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.mode-grid label { position: relative; cursor: pointer; }
.mode-grid input { position: absolute; opacity: 0; pointer-events: none; }
.mode-grid label > span { display: block; min-height: 86px; padding: 15px; border: 1px solid #dfe4ed; border-radius: 12px; }
.mode-grid b, .mode-grid small { display: block; }
.mode-grid b { color: #364152; font-size: 13px; }
.mode-grid small { margin-top: 6px; color: #7b8799; font-size: 11px; line-height: 1.4; }
.mode-grid input:checked + span { border-color: #aaa2ff; background: #f7f5ff; box-shadow: 0 0 0 2px #e5e1ff; }
.wizard-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 22px; }
.wizard-actions button { width: auto; margin: 0; }
.plan-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 20px; }
.plan-card { min-width: 0; padding: 14px; display: flex; align-items: center; gap: 11px; border: 1px solid #e5eaf2; border-radius: 12px; }
.plan-icon { display: grid; flex: 0 0 auto; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: #fff; background: linear-gradient(135deg,#6d5dfc,#1d84ff); font-size: 11px; font-weight: 800; }
.plan-copy { min-width: 0; flex: 1; }
.plan-copy strong, .plan-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.plan-copy small { margin-top: 4px; color: #7b8799; font-size: 11px; }
.plan-status { padding: 6px 8px; border-radius: 999px; color: #7568ee; background: #f1efff; font-size: 10px; font-weight: 700; white-space: nowrap; }
.form-success { margin: 14px 0 0; color: #087a55; font-size: 13px; }
button { margin-top: 18px; padding: 10px 14px; border: 0; border-radius: 9px; color: #8993a5; background: #edf0f5; font-weight: 700; }
.login-view { min-height: calc(100vh - 68px); padding: 32px 16px; display: grid; place-items: center; }
.login-view[hidden], .layout[hidden] { display: none; }
.login-card { width: min(100%,440px); padding: 34px; }
.login-card h1 { font-size: 32px; }
.login-card label { display: block; margin-top: 20px; color: #475569; font-size: 13px; font-weight: 700; }
.login-card input { width: 100%; margin-top: 7px; padding: 12px 13px; border: 1px solid #d9dfeb; border-radius: 9px; background: #fff; color: #172033; font: inherit; }
.login-card input:focus { outline: 3px solid #e7e5ff; border-color: #7568ee; }
.primary-button { width: 100%; color: #fff; background: #5b50d6; cursor: pointer; }
.primary-button:disabled { opacity: .65; cursor: wait; }
.form-error { margin: 14px 0 0; color: #b4233a; font-size: 13px; }
.user-strip { min-height: 30px; margin: -12px 0 18px; display: flex; justify-content: flex-end; align-items: center; gap: 12px; color: #68758b; font-size: 13px; }
.user-strip button { margin: 0; padding: 7px 10px; color: #5b50d6; cursor: pointer; }
.platform-form { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr auto; gap: 10px; margin-top: 22px; }
.platform-form input, .platform-form select { min-width: 0; padding: 10px 11px; border: 1px solid #d9dfeb; border-radius: 9px; background: #fff; font: inherit; }
.platform-form .primary-button { width: auto; margin: 0; }
.table-action { margin: 0 6px 0 0; padding: 7px 9px; color: #5b50d6; cursor: pointer; }
.table-action.danger { color: #b4233a; background: #fff0f2; }
.audit { margin-top: 16px; }
.table-wrap { margin-top: 20px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { padding: 11px 12px; color: #748095; background: #f7f9fc; text-align: left; white-space: nowrap; }
td { padding: 17px 12px; border-top: 1px solid #edf0f5; }
.empty-row { color: #8792a6; text-align: center; }
.audit-more { width: auto; margin: 14px 0 0 auto; }
@media (max-width: 1050px) { .metrics { grid-template-columns: repeat(2,1fr); } .grid { grid-template-columns: 1fr; } .connect-form { grid-template-columns: 1fr 1fr; } .connect-form > div { grid-column: 1 / -1; } .mode-grid { grid-template-columns: 1fr; } }
@media (max-width: 1200px) { .platform-form { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .topbar { height: 60px; padding: 0 16px; } .brand > span:last-child { display: none; } .layout { display: block; min-height: calc(100vh - 60px); } .sidebar { position: sticky; top: 60px; z-index: 9; display: flex; gap: 6px; padding: 8px 12px; overflow-x: auto; border-right: 0; border-bottom: 1px solid #e4e9f2; } .nav-link { margin: 0; padding: 8px 11px; white-space: nowrap; } main { padding: 24px 16px 42px; } .workspace-bar { grid-template-columns: 1fr 1fr; } .workspace-copy { grid-column: 1 / -1; } .hero { display: block; } .mode-badge { margin-top: 16px; } .metrics { grid-template-columns: 1fr 1fr; gap: 10px; } .metric, .panel { padding: 17px; } .metric strong { font-size: 24px; } .panel-heading { align-items: center; } .plan-list { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .topbar-actions { gap: 10px; } .system-state { font-size: 0; } .system-state .state-dot { display: block; } .workspace-bar, .connect-form, .field-grid { grid-template-columns: 1fr; } .workspace-copy, .connect-form > div, .field-grid .wide { grid-column: auto; } .wizard-progress b { display: none; } .metrics { grid-template-columns: 1fr; } .panel-heading { display: block; } .panel-heading .secondary-button { margin-top: 12px; } .tag { margin-top: 10px; } .empty-state { min-height: 220px; padding-inline: 0; } .plan-card { align-items: flex-start; flex-wrap: wrap; } .plan-copy { width: calc(100% - 50px); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.plan-editor { width: min(1120px,calc(100% - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 18px; color: #172033; background: #fff; box-shadow: 0 24px 80px rgba(25,35,58,.28); }
.plan-editor::backdrop { background: rgba(20,28,45,.58); backdrop-filter: blur(3px); }
.plan-editor-form { padding: 26px; overflow: auto; }
.plan-editor-header { position: sticky; z-index: 3; top: -26px; margin: -26px -26px 22px; padding: 24px 26px 18px; display: flex; justify-content: space-between; gap: 18px; border-bottom: 1px solid #edf0f5; background: rgba(255,255,255,.97); }
.editor-close { width: 38px; height: 38px; margin: 0; padding: 0; color: #68758b; background: #f2f4f8; font-size: 25px; cursor: pointer; }
.editor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.editor-grid .wide { grid-column: 1 / -1; }
.editor-grid label > span, .editor-summary > span, .editor-audience label > span, .editor-ad label > span { display: block; margin-bottom: 6px; color: #475569; font-size: 12px; font-weight: 700; }
.editor-grid input, .editor-grid textarea, .editor-summary input, .editor-audience input, .editor-audience textarea, .editor-ad input, .editor-ad textarea { width: 100%; padding: 10px 11px; border: 1px solid #d9dfeb; border-radius: 9px; color: #172033; background: #fff; font: inherit; resize: vertical; }
.editor-section-heading, .editor-item-heading, .editor-subheading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.editor-section-heading { margin: 28px 0 14px; }
.editor-section-heading h3, .editor-item-heading h4 { margin: 0; }
.editor-section-heading p { margin: 5px 0 0; color: #718096; font-size: 12px; }
.editor-section-heading button, .editor-subheading button { margin: 0; }
.editor-groups { display: grid; gap: 16px; }
.editor-group { padding: 18px; border: 1px solid #e1e6ef; border-radius: 14px; background: #fafbfe; }
.editor-group > .editor-grid { margin-top: 14px; }
.editor-subheading { margin: 20px 0 10px; padding-top: 16px; border-top: 1px solid #e6eaf1; font-size: 13px; }
.editor-nested-list { display: grid; gap: 10px; }
.editor-audience, .editor-ad { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 11px; padding: 14px; border: 1px solid #e4e8f0; border-radius: 11px; background: #fff; }
.editor-audience .editor-remove, .editor-ad .editor-remove { position: absolute; z-index: 1; top: 8px; right: 8px; }
.editor-audience label:nth-of-type(2), .editor-ad label:nth-of-type(3), .editor-ad label:nth-of-type(4) { grid-column: 1 / -1; }
.editor-remove { margin: 0; padding: 6px 8px; color: #b4233a; background: #fff0f2; cursor: pointer; }
.editor-summary { display: block; margin-top: 20px; }
.version-history { margin-top: 24px; }
.version-list { display: grid; gap: 8px; }
.version-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid #e1e6ef; border-radius: 10px; background: #fafbfe; }
.version-item small { display: block; margin-top: 4px; color: #718096; }
.version-actions { display: flex; gap: 7px; flex: 0 0 auto; }
.version-actions button { width: auto; margin: 0; }
.version-diff { margin-top: 12px; padding: 14px 16px; border: 1px solid #d8d4ff; border-radius: 11px; color: #3f367c; background: #f6f4ff; font-size: 13px; }
.version-diff > strong { display: block; }
.version-diff p { margin: 8px 0 0; }
.version-diff ul { margin: 10px 0 0; padding: 0; display: grid; gap: 8px; list-style: none; }
.version-diff li { display: grid; grid-template-columns: minmax(150px, .35fr) 1fr; gap: 10px; }
.version-diff li span { overflow-wrap: anywhere; }
.plan-editor-actions { position: sticky; bottom: -26px; margin: 22px -26px -26px; padding: 16px 26px; display: flex; justify-content: flex-end; gap: 9px; border-top: 1px solid #edf0f5; background: rgba(255,255,255,.97); }
.plan-editor-actions button { width: auto; margin: 0; }
.plan-status:is(button) { margin: 0; border: 0; cursor: pointer; }
.plan-status:is(button):hover { color: #fff; background: #6d5dfc; }
@media (max-width: 700px) { .plan-editor-form { padding: 18px; } .plan-editor-header { top: -18px; margin: -18px -18px 18px; padding: 18px; } .editor-grid, .editor-audience, .editor-ad { grid-template-columns: 1fr; } .editor-grid .wide, .editor-audience label:nth-of-type(2), .editor-ad label:nth-of-type(3), .editor-ad label:nth-of-type(4) { grid-column: auto; } .plan-editor-actions { bottom: -18px; margin: 18px -18px -18px; padding: 12px 18px; flex-wrap: wrap; } }

.preflight-report { margin-top: 18px; padding: 14px 16px; border: 1px solid #c9eddf; border-radius: 11px; color: #087a55; background: #eafaf4; font-size: 13px; }
.preflight-report.has-errors { color: #9f2337; border-color: #f2c7ce; background: #fff1f3; }
.preflight-report strong { display: block; }
.preflight-report ul { margin: 10px 0 0; padding: 0; display: grid; gap: 7px; list-style: none; }
.preflight-report li { display: flex; align-items: flex-start; gap: 8px; line-height: 1.45; }
.preflight-report li b { display: grid; flex: 0 0 auto; place-items: center; width: 19px; height: 19px; border-radius: 50%; color: #fff; background: currentColor; font-size: 0; }
.preflight-report li b::after { content: "!"; color: #fff; font-size: 11px; }
.preflight-report p, .execution-report p { margin: 8px 0 0; }
.preflight-report button { width: auto; margin: 12px 0 0; }
.execution-report { margin-top: 12px; padding: 14px 16px; border: 1px solid #d9dfeb; border-radius: 11px; color: #475569; background: #f7f9fc; font-size: 13px; }
.execution-report.running, .execution-report.queued { color: #775f0b; border-color: #f0dfaa; background: #fff9e8; }
.execution-report.succeeded { color: #087a55; border-color: #c9eddf; background: #eafaf4; }
.execution-report.failed { color: #9f2337; border-color: #f2c7ce; background: #fff1f3; }


.password-dialog { width: min(440px,calc(100% - 32px)); padding: 0; border: 0; border-radius: 16px; color: #172033; background: transparent; }
.password-dialog::backdrop { background: rgba(20,28,45,.58); backdrop-filter: blur(3px); }
.password-form { padding: 28px; }
.password-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.password-heading h2 { margin: 4px 0 0; }
.password-heading button { width: 36px; height: 36px; margin: 0; padding: 0; color: #68758b; font-size: 24px; cursor: pointer; }
.password-form label { display: block; margin-top: 17px; color: #475569; font-size: 13px; font-weight: 700; }
.password-form input { width: 100%; margin-top: 7px; padding: 12px 13px; border: 1px solid #d9dfeb; border-radius: 9px; background: #fff; color: #172033; font: inherit; }
.password-form input:focus { outline: 3px solid #e7e5ff; border-color: #7568ee; }


.recommendation-list { display: grid; gap: 10px; margin-top: 18px; }
.recommendation-card { padding: 15px; border: 1px solid #e5eaf2; border-radius: 12px; background: #fafbfe; }
.recommendation-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.recommendation-heading small, .recommendation-heading strong { display: block; }
.recommendation-heading small { margin-bottom: 4px; color: #7b8799; font-size: 11px; }
.recommendation-heading strong { color: #263044; font-size: 14px; }
.recommendation-status { flex: 0 0 auto; padding: 6px 8px; border-radius: 999px; color: #775f0b; background: #fff4cc; font-size: 10px; font-weight: 800; }
.recommendation-status.approved { color: #087a55; background: #def8ed; }
.recommendation-status.rejected, .recommendation-status.failed { color: #9f2337; background: #fff0f2; }
.recommendation-evidence { margin: 13px 0 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.recommendation-evidence div { padding: 9px 10px; border-radius: 9px; background: #fff; }
.recommendation-evidence dt { color: #7b8799; font-size: 10px; }
.recommendation-evidence dd { margin: 3px 0 0; color: #303a4d; font-size: 12px; font-weight: 800; }
.recommendation-actions { display: flex; gap: 7px; margin-top: 12px; }
.recommendation-actions button { margin: 0; }
@media (max-width: 480px) { .recommendation-heading { display: grid; } .recommendation-status { justify-self: start; } .recommendation-evidence { grid-template-columns: 1fr; } }


.sync-schedule-form {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1rem;
  align-items: end;
  margin: 0 0 1rem;
  padding: .9rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-soft);
}
.sync-schedule-form[hidden] { display: none; }
.sync-schedule-form label { display: grid; gap: .35rem; font-size: .85rem; }
.sync-schedule-form input[type="number"] { width: 8rem; }
.sync-schedule-form .sync-schedule-toggle {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-height: 2.75rem;
}
.sync-schedule-form .sync-schedule-toggle input { width: 1.1rem; height: 1.1rem; }
.sync-schedule-form small { flex-basis: 100%; color: var(--muted); }
@media (max-width: 640px) {
  .sync-schedule-form { align-items: stretch; }
  .sync-schedule-form label,
  .sync-schedule-form input[type="number"],
  .sync-schedule-form button { width: 100%; }
}
