/* Shared palette for the workspace, sign-in and public directory. */
:root {
 --ts-page: #f5f7fb;
 --ts-panel: #fff;
 --ts-panel-soft: #f1f4fa;
 --ts-field: #fff;
 --ts-ink: #172440;
 --ts-muted: #53647e;
 --ts-line: #dbe3ef;
 --ts-accent: #2949b4;
 --ts-accent-soft: #eaf0ff;
 --ts-focus: #4162d5;
 --ts-shadow: 0 2px 8px #22376908;
 --ts-hero-ink: var(--ts-ink);
 --ts-hero-muted: var(--ts-muted);
 --ts-hero-line: #d5dff2;
 --ts-hero: radial-gradient(ellipse at 100% 100%,#ece8fb,transparent 58%),
            radial-gradient(ellipse at 78% 0%,#e4edff,transparent 78%),#fcfdff;
 --ts-cta: #2e50cc;
 --ts-cta-hover: #2342b4;
 --ts-cta-edge: #2e50cc;
 --ts-grid: linear-gradient(#829adb21 1px,transparent 1px),
            linear-gradient(90deg,#829adb21 1px,transparent 1px);
}
html[data-theme="dark"] {
 --ts-page: #0c101b;
 --ts-panel: #161c2a;
 --ts-panel-soft: #202b44;
 --ts-field: #121929;
 --ts-ink: #edf2fc;
 --ts-muted: #a9b6ce;
 --ts-line: #303b51;
 --ts-accent: #adbdff;
 --ts-accent-soft: #253255;
 --ts-focus: #9baeff;
 --ts-shadow: 0 8px 28px #05091440;
 --ts-hero-ink: #f5f7ff;
 --ts-hero-muted: #c0cee9;
 --ts-hero-line: #34466d;
 --ts-hero: radial-gradient(ellipse at 92% 100%,#312358,transparent 59%),
            radial-gradient(ellipse at 55% 0%,#1a3159,transparent 70%),#0b1223;
 --ts-cta: linear-gradient(110deg,#3358cf,#6740bd);
 --ts-cta-hover: linear-gradient(110deg,#284ab9,#5731ac);
 --ts-cta-edge: #6675df;
 --ts-grid: linear-gradient(#91a6d51c 1px,transparent 1px),
            linear-gradient(90deg,#91a6d51c 1px,transparent 1px);
}
body.facebook-workbench.product-workspace,
html[data-theme="dark"] body.facebook-workbench.product-workspace {
 --ink: var(--ts-ink);
 --muted: var(--ts-muted);
 --green: var(--ts-accent);
 --lime: var(--ts-accent-soft);
 --line: var(--ts-line);
 --paper: var(--ts-page);
 --text: var(--ts-ink);
 --card: var(--ts-panel);
 --surface: var(--ts-panel-soft);
 --border: var(--ts-line);
 --bg: var(--ts-page);
 --accent: var(--ts-accent);
 --scroll-thumb: var(--ts-muted);
 background: var(--ts-page);
 color: var(--ts-ink);
}
:is(.product-workspace,.auth-page,.public-page) {
 accent-color: var(--ts-focus);
}
html[data-theme] .product-workspace :is(.sidebar, main > header) {
 background: var(--ts-panel);
 border-color: var(--ts-line);
 color: var(--ts-muted);
}
html[data-theme="dark"] .product-workspace :is(.sidebar, main > header) { background: #111725; }
html[data-theme] :is(.product-workspace .brand,.product-workspace .brand-light,.auth-logo,.pub-logo) { color: var(--ts-ink); }
html[data-theme] :is(.product-workspace .logo,.auth-logo > span,.auth-mini-logo,.pub-logo > span).ts-brand-mark {
 background: none;
 border: 0;
 box-shadow: none;
}
.ts-brand-mark img {
 display: block;
 width: 100%;
 height: 100%;
}
html[data-theme] .product-workspace .sidebar :is(nav button,.side-bottom > button) { color: var(--ts-muted); }
html[data-theme] .product-workspace .sidebar :is(nav button:hover,nav button.active,[data-nav-group].has-current-page,.side-bottom > button:hover) {
 background: var(--ts-accent-soft);
 color: var(--ts-accent);
 box-shadow: none;
}
html[data-theme] .product-workspace .sidebar :is(nav b,nav button.active svg) { color: var(--ts-accent); }
html[data-theme] :is(.product-workspace .primary,.auth-submit,.public-page .pub-primary) {
 background: var(--ts-cta);
 border-color: var(--ts-cta-edge);
 color: #fff;
 box-shadow: 0 4px 14px #3957c72b;
}
html[data-theme] :is(.product-workspace .primary,.auth-submit,.public-page .pub-primary):hover {
 background: var(--ts-cta-hover);
 box-shadow: 0 6px 18px #3957c74a;
}
html[data-theme] .product-workspace :is(.secondary,.ts-header-icon,.ts-language-control,.ts-language-control select,#wb-global-search) {
 background: var(--ts-field);
 border-color: var(--ts-line);
 color: var(--ts-ink);
}
html[data-theme] .product-workspace :is(.secondary,.ts-header-icon,#wb-global-search):hover {
 background: var(--ts-accent-soft);
 border-color: var(--ts-focus);
 color: var(--ts-accent);
}
html[data-theme] .product-workspace :is(.text-btn,.wb-tool-tag,.product-kicker,.group-name + a,.gm-name a,.card a:not([class])) { color: var(--ts-accent); }
html[data-theme] .product-workspace :is(.wb-tool-icon,.product-connection-icon,.product-quick > span,.ft-icon) {
 background: var(--ts-accent-soft);
 color: var(--ts-accent);
}
html[data-theme] .product-workspace :is(.card,.wb-tool,.product-metric,.ts-activity-panel,.wf-inspector,.bill-plan,.gm-scan-details) {
 background: var(--ts-panel);
 border-color: var(--ts-line);
 box-shadow: var(--ts-shadow);
}
html[data-theme] .product-workspace :is(.empty,.editor-empty,.suite-set-picker,.gm-controls,.fm-source,.wb-group-controls,.bill-subtabs button.active,.ts-activity-item.is-unread) {
 background: var(--ts-panel-soft);
 border-color: var(--ts-line);
 color: var(--ts-ink);
}
html[data-theme] .product-workspace :is(.wb-table-tabs button.selected,.wb-tool-filters button.selected,.ts-activity-filters button[aria-pressed=true]) {
 background: var(--ts-accent-soft);
 border-color: var(--ts-focus);
 color: var(--ts-accent);
}
html[data-theme] .product-workspace :is(th,td) { border-color: var(--ts-line); }
html[data-theme] .product-workspace th { background: var(--ts-panel-soft); color: var(--ts-muted); }
html[data-theme] .product-workspace tbody tr:hover { background: var(--ts-panel-soft); }
html[data-theme] .product-workspace :is(input:not([type=checkbox]):not([type=radio]),select,textarea) {
 background-color: var(--ts-field);
 border-color: var(--ts-line);
 color: var(--ts-ink);
}
html[data-theme] :is(.product-workspace,.auth-page,.public-page) :is(input[type=checkbox],input[type=radio]) { accent-color: var(--ts-focus); }
html[data-theme] .product-workspace :is(input,textarea)::placeholder { color: var(--ts-muted); }
html[data-theme] .product-workspace :is(input,textarea,select):focus {
 border-color: var(--ts-focus);
 box-shadow: 0 0 0 3px color-mix(in srgb,var(--ts-focus) 23%,transparent);
}
html[data-theme] :is(.product-workspace,.auth-page,.public-page) :focus-visible { outline-color: var(--ts-focus); }
html[data-theme] .product-workspace :is(#modal,#modal.campaign-editor) {
 background: var(--ts-panel);
 border-color: var(--ts-line);
 color: var(--ts-ink);
}
html[data-theme] .product-workspace #modal::backdrop { background: #090f23a8; backdrop-filter: blur(6px); }
html[data-theme] .product-workspace #modal > button,
html[data-theme] .product-workspace #modal :is(.editor-footer,.gs-editor-footer) {
 background: var(--ts-panel-soft);
 color: var(--ts-ink);
 border-color: var(--ts-line);
}
html[data-theme] .product-workspace :is(.wf-hero,.bill-hero) {
 background: var(--ts-grid) 0 0 / 31px 31px,var(--ts-hero);
 border: 1px solid var(--ts-hero-line);
 border-radius: 19px;
 color: var(--ts-hero-ink);
}
html[data-theme] .product-workspace :is(.wf-hero,.bill-hero) :is(h1,h2,h3) { color: var(--ts-hero-ink); }
html[data-theme] .product-workspace :is(.wf-hero,.bill-hero) :is(p,.sub,.growth-eyebrow,.bill-hero-points) { color: var(--ts-hero-muted); }
html[data-theme="dark"] .product-workspace :is(.wf-hero,.bill-hero) :is(.secondary,.wf-hero-btn,.text-btn) {
 background: #233154;
 border-color: #6074ac;
 color: var(--ts-hero-ink);
}

html[data-theme] body.auth-page,
html[data-theme] body.public-page { background: var(--ts-page); color: var(--ts-ink); }
html[data-theme] .auth-page { --auth-ink: var(--ts-ink); --auth-mint: var(--ts-accent-soft); }
html[data-theme] .auth-page :is(.auth-panel,.auth-value,.auth-switch .active) {
 background: var(--ts-panel);
 border-color: var(--ts-line);
 color: var(--ts-ink);
 box-shadow: var(--ts-shadow);
}
html[data-theme] .auth-page :is(.auth-switch,input,.auth-account-hint) { background: var(--ts-field); border-color: var(--ts-line); color: var(--ts-ink); }
html[data-theme] .auth-page :is(.auth-story > p,.auth-panel-top,.auth-footer,.auth-password button,.auth-eyebrow) { color: var(--ts-muted); }
html[data-theme] .auth-page :is(.auth-story h1 em,.auth-trust i) { color: var(--ts-accent); }
html[data-theme] .auth-page .auth-eyebrow i { background: var(--ts-focus); box-shadow: 0 0 0 4px var(--ts-accent-soft); }
.public-page {
 --pub-bg: var(--ts-page);
 --pub-surface: var(--ts-panel);
 --pub-text: var(--ts-ink);
 --pub-muted: var(--ts-muted);
 --pub-line: var(--ts-line);
 --pub-accent: var(--ts-accent);
 --pub-tint: var(--ts-accent-soft);
}
html[data-theme] .public-page :is(.pub-hero,.pub-bottom-cta) {
 background: var(--ts-grid) 0 0 / 34px 34px,var(--ts-hero);
 border-color: var(--ts-hero-line);
 color: var(--ts-hero-ink);
}
html[data-theme] .public-page :is(.pub-hero,.pub-bottom-cta) :is(p,.pub-kicker) { color: var(--ts-hero-muted); }

@media (prefers-reduced-motion: no-preference) {
 :is(.product-workspace .primary,.product-workspace .secondary,.auth-submit,.public-page .pub-primary) {
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
 }
 :is(.product-workspace .primary,.auth-submit,.public-page .pub-primary):hover { transform: translateY(-1px); }
 .product-workspace #modal[open],.auth-panel,.public-page .pub-hero { animation: ts-surface-in .24s cubic-bezier(.2,.7,.3,1) both; }
}
@keyframes ts-surface-in { from { opacity: .4; transform: translateY(7px); } to { opacity: 1; transform: none; } }

html[data-theme] .product-workspace #wb-tool-search { background: transparent; }
html[data-theme] .product-workspace :is(.ft-stats > div,.posting-card,.campaign-setup,.manager-toolbar,.suite-workflow-cards > button) {
 background: var(--ts-panel);
 border-color: var(--ts-line);
}
html[data-theme] .product-workspace :is(.wf-inspector-head,.wf-palette > button strong,.wf-palette > button b) { color: var(--ts-ink); }
html[data-theme] .product-workspace .wf-canvas {
 background-color: var(--ts-field);
 background-image: radial-gradient(var(--ts-line) 1px,transparent 1px);
}
html[data-theme] .product-workspace :is(.wf-canvas-toolbar,.ts-activity-head,.ts-activity-foot) {
 color: var(--ts-ink);
 border-color: var(--ts-line);
}
html[data-theme] .product-workspace .gm-scan-details > summary { color: var(--ts-accent); }
html[data-theme] .auth-page :is(.auth-switch a:not(.active),.auth-panel > p,.auth-trust,.auth-trust small,.auth-value b) { color: var(--ts-muted); }
html[data-theme] .auth-page .auth-panel input:focus {
 border-color: var(--ts-focus);
 box-shadow: 0 0 0 3px var(--ts-accent-soft);
}
html[data-theme] .auth-page .social-stage::before { background: radial-gradient(ellipse,var(--ts-accent-soft),transparent 67%); }
html[data-theme] .auth-page .stage-orbit { border-color: var(--ts-focus); }
html[data-theme] .auth-page .stage-core {
 background: var(--ts-cta);
 border-color: var(--ts-focus);
 box-shadow: 0 14px 38px #5359ce55;
}
html[data-theme] .auth-page .stage-core small { color: #fff; }
.auth-page .stage-core img { width: 50%; height: auto; }
html[data-theme] .auth-page .stage-spark { color: var(--ts-accent); }
html[data-theme="dark"] .public-page :is(.pub-hero,.pub-bottom-cta) .pub-secondary {
 background: #233154;
 border-color: #6074ac;
 color: var(--ts-hero-ink);
}
@media (prefers-reduced-motion: reduce) {
 .auth-page :is(.auth-panel,.social-stage *),.public-page :is(.pub-hero,.pub-card,.pub-primary) {
  animation: none;
  transition: none;
 }
 .public-page { scroll-behavior: auto; }
}

/* Light mode uses tinted headers and reserves saturated blue for actions. */
html[data-theme="light"] .product-workspace :is(.wf-hero,.bill-hero) {
 background: var(--ts-grid) right top / 32px 32px,var(--ts-hero);
}
html[data-theme="light"] :is(.product-workspace,.auth-page,.public-page) :is(.secondary,.wf-hero-btn,.pub-secondary) {
 background: var(--ts-panel);
 border-color: var(--ts-line);
 color: var(--ts-accent);
}
html[data-theme="light"] :is(.product-workspace,.public-page) :is(.secondary,.wf-hero-btn,.pub-secondary):hover {
 background: var(--ts-accent-soft);
 border-color: var(--ts-focus);
}
html[data-theme="light"] .product-workspace :is(.gm-controls,.wb-group-controls) { background: transparent; }
html[data-theme="light"] .product-workspace :is(.wb-table-tabs,.wf-canvas-toolbar,.ts-activity-filters button) {
 background: var(--ts-panel-soft);
 border-color: var(--ts-line);
 color: var(--ts-muted);
}
html[data-theme="light"] .product-workspace .wb-table-tabs { border-radius: 9px; }
html[data-theme="light"] .product-workspace :is(.wb-table-tabs button.selected,.ts-activity-filters button[aria-pressed=true]) {
 background: var(--ts-accent-soft);
 color: var(--ts-accent);
}
html[data-theme="light"] .product-workspace :is(.ft-stats > div,.fm-source,.gm-scan-details) {
 background: var(--ts-panel);
 border-color: var(--ts-line);
}
html[data-theme="light"] .product-workspace .ft-stats > div b { color: var(--ts-ink); }
html[data-theme="light"] .product-workspace :is(.ft-stats > div span,.fm-source small,.field-hint,.sub) { color: var(--ts-muted); }
html[data-theme="light"] .product-workspace :is(.identity-card,.facebook-identity,.ts-language-control,.ts-header-icon,#wb-global-search) {
 background: var(--ts-panel);
 border-color: var(--ts-line);
 color: var(--ts-ink);
}
html[data-theme="light"] .product-workspace :is(.wf-palette,.wf-inspector,.wf-canvas-shell,.wf-node:not([data-status])) {
 border-color: var(--ts-line);
}
html[data-theme="light"] .product-workspace #modal :is(.editor-top,.editor-selection,.campaign-wizard-steps,.suite-set-picker,.suite-followup-config,.cw-summary,.cw-review-item) {
 background: var(--ts-panel-soft);
 border-color: var(--ts-line);
 color: var(--ts-ink);
}
html[data-theme="light"] .product-workspace #modal .campaign-wizard-steps button {
 background: var(--ts-panel);
 border-color: var(--ts-line);
 color: var(--ts-muted);
}
html[data-theme="light"] .product-workspace #modal .campaign-wizard-steps button b { background: var(--ts-panel-soft); }
html[data-theme="light"] .product-workspace #modal .campaign-wizard-steps button[aria-current="step"] {
 background: var(--ts-accent-soft);
 border-color: var(--ts-focus);
 color: var(--ts-accent);
}
html[data-theme="light"] .product-workspace #modal .campaign-wizard-steps :is(.active,.done) b {
 background: var(--ts-cta);
 color: #fff;
}
html[data-theme="light"] .product-workspace #modal :is(.cw-kicker,.cw-close,.editor-top .eyebrow) { color: var(--ts-accent); }
html[data-theme="light"] .product-workspace #modal :is(.campaign-section-heading h2,.suite-section-title h2,.cw-summary h3) { color: var(--ts-ink); }
html[data-theme="light"] .product-workspace #modal :is(.cw-sub,.muted,.campaign-section-heading p,.cw-summary small,.cw-summary span:not(.cw-kicker)) { color: var(--ts-muted); }

html[data-theme="light"] .ts-home .ts-home-welcome {
 background: var(--ts-hero);
 border-color: var(--ts-hero-line);
 color: var(--ts-ink);
}
html[data-theme="light"] .ts-home-welcome::before { background-image: var(--ts-grid); }
html[data-theme="light"] .ts-home :is(.ts-home-welcome h1,.ts-home-connection b) { color: var(--ts-ink); }
html[data-theme="light"] .ts-home .ts-home-type {
 color: var(--ts-accent);
 background-image: linear-gradient(98deg,#254bb7,#643fb3);
}
html[data-theme="light"] .ts-home :is(.ts-home-welcome p,.ts-home-hero-context,.ts-home-connection) { color: var(--ts-muted); }
html[data-theme="light"] .product-workspace .ts-home .ts-home-hero-actions .primary {
 background: var(--ts-cta);
 border-color: var(--ts-cta-edge);
 color: #fff;
}
html[data-theme="light"] .product-workspace .ts-home .ts-home-hero-actions .primary:hover { background: var(--ts-cta-hover); filter: none; }
html[data-theme="light"] .product-workspace .ts-home .ts-home-hero-actions .secondary { background: var(--ts-panel); border-color: var(--ts-line); color: var(--ts-accent); }
html[data-theme="light"] .product-workspace .ts-home .ts-home-connection .text-btn { color: var(--ts-accent); }
html[data-theme="light"] .ts-home .ts-home-welcome button:focus-visible { outline-color: var(--ts-focus); }
html[data-theme="light"] .ts-home .ts-home-rings i { border-color: #718ac668; }
html[data-theme="light"] .ts-home .ts-home-rings::before { background: radial-gradient(circle,#668bed42,transparent 61%); }
html[data-theme="light"] .ts-home .ts-home-core {
 background: #f7f9ff;
 border-color: #a0b4e4;
 box-shadow: 0 0 0 7px #718ae525,0 0 40px #7596ff44;
}
html[data-theme="light"] .ts-home .ts-home-node {
 background: var(--ts-panel);
 color: var(--ts-ink);
 border-color: var(--ts-line);
 box-shadow: 0 6px 22px #3148a126;
}
html[data-theme="light"] .ts-home .ts-home-node:hover { background: var(--ts-accent-soft); border-color: var(--ts-focus); }
html[data-theme="light"] .ts-home .ts-home-node > span { color: #fff; }
html[data-theme="light"] .ts-home .ts-home-node > svg { color: var(--ts-muted); }

/* Page headings keep the working area near the top, at the same scale as the group library. */
html[data-theme] .product-workspace #app .page-title {
 display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;
 gap:10px 16px;padding:0;margin:0 0 16px;
 border:0;border-radius:0;background:none;box-shadow:none;color:var(--ts-ink);
}
html[data-theme] .product-workspace #app .page-title>div:first-child{min-width:0;flex:1 1 210px}
html[data-theme] .product-workspace #app .page-title h1 {
 margin:0;color:var(--ts-ink);font-size:clamp(21px,2vw,27px);line-height:1.2;overflow-wrap:anywhere;
}
html[data-theme] .product-workspace #app .page-title :is(p,.sub){margin:5px 0 0;color:var(--ts-muted)}
html[data-theme] .product-workspace #app .page-title>.actions {display:flex;flex-wrap:wrap;gap:8px;margin:0}

/* Forms and dialogs share one input focus ring and consistent space inside visible field groups. */
html[data-theme] .product-workspace :is(#modal-body,.posting-review) label:has(>:is(input:not([type=checkbox],[type=radio],[type=hidden]),select,textarea)):not(.check) {
 min-width:0;
}
html[data-theme] .product-workspace :is(#modal-body,.posting-review) label>:is(input:not([type=checkbox],[type=radio],[type=hidden]),select,textarea){
 margin-block-start:6px;
}
html[data-theme] .product-workspace :is(#modal-body,.posting-review) :is(input:not([type=checkbox],[type=radio],[type=hidden]),select,textarea):focus {
 box-shadow:none;outline:2px solid var(--ts-focus);outline-offset:2px;border-color:var(--ts-line);
}
html[data-theme] .product-workspace :is(#modal-body,#app) fieldset {
 min-inline-size:0;padding:12px 14px 14px;border:1px solid var(--ts-line);border-radius:11px;
}
html[data-theme] .product-workspace :is(#modal-body,#app) fieldset>legend{padding-inline:6px;color:var(--ts-ink)}
html[data-theme] .product-workspace .posting-review{
 background:var(--ts-panel);color:var(--ts-ink);border-color:var(--ts-line);
}
html[data-theme] .product-workspace :is(.posting-review-header,.posting-review footer){background:var(--ts-panel);border-color:var(--ts-line)}
html[data-theme] .product-workspace :is(.posting-preview,.posting-review-body dl>div){background:var(--ts-panel-soft);border-color:var(--ts-line);color:var(--ts-ink)}
html[data-theme] .product-workspace :is(.posting-review-body dd,.posting-preview h3,.posting-preview p){color:var(--ts-ink)}

/* The same step states are used in the campaign wizard and post composer. */
html[data-theme] .product-workspace :is(#modal .campaign-wizard-steps,.ps-compose-steps) {
 gap:8px;margin:0;background:transparent;
}
html[data-theme] .product-workspace :is(#modal .campaign-wizard-steps button,.ps-compose-steps li){
 min-width:0;min-height:42px;padding:7px 9px;gap:8px;
 border:1px solid var(--ts-line);border-radius:10px;
 color:var(--ts-muted);background:var(--ts-panel);
}
html[data-theme] .product-workspace :is(#modal .campaign-wizard-steps button,.ps-compose-steps li) b{
 display:grid;place-items:center;flex:0 0 23px;width:23px;height:23px;
 color:var(--ts-muted);background:var(--ts-panel-soft);border:0;border-radius:7px;
 font-size:11px;line-height:1;
}
html[data-theme] .product-workspace :is(#modal .campaign-wizard-steps button,.ps-compose-steps li)[aria-current=step]{
 background:var(--ts-accent-soft);color:var(--ts-ink);border-color:var(--ts-focus);font-weight:750;
}
html[data-theme] .product-workspace :is(#modal .campaign-wizard-steps button,.ps-compose-steps li)[aria-current=step] b{
 background:var(--ts-cta);color:white;
}
html[data-theme] .product-workspace :is(#modal .campaign-wizard-steps button,.ps-compose-steps li).done b{
 background:var(--ts-accent-soft);color:var(--ts-accent);
}
html[data-theme] .product-workspace #modal .campaign-wizard-steps button:hover{
 border-color:var(--ts-focus);
}
html[data-theme] .product-workspace :is(.friend-steps,.gd-monitor-steps)>*{
 border-color:var(--ts-line);border-radius:10px;background:var(--ts-panel-soft);color:var(--ts-ink);
}
html[data-theme] .product-workspace .gd-monitor-steps :is(small,p){color:var(--ts-muted)}
html[data-theme] .product-workspace .posting-review>.ps-compose-steps{padding:0 18px 12px;flex:none;border-bottom:1px solid var(--ts-line)}

/* Keep structural panels and form borders visually distinct inside the campaign dialog. */
html[data-theme] .product-workspace #modal:has(.campaign-wizard) :is(#modal-body,.editor-top,.campaign-wizard){
 background:var(--ts-panel);color:var(--ts-ink);
}
html[data-theme] .product-workspace #modal:has(.campaign-wizard) .cw-pane .campaign-choice{
 border:0;padding:0;background:transparent;min-width:0;
}
html[data-theme] .product-workspace #modal:has(.campaign-wizard) .cw-pane .editor-grid{gap:24px}
html[data-theme] .product-workspace #modal:has(.campaign-wizard) .cw-name label{display:block;margin:0 0 8px;color:var(--ts-ink)}
html[data-theme] .product-workspace #modal:has(.campaign-wizard) :is(.editor-selection,.suite-set-picker,.suite-followup-config,.campaign-run-settings,#cw-review){
 border-color:var(--ts-line);color:var(--ts-ink);
}
html[data-theme] .product-workspace #modal:has(.campaign-wizard) :is(.suite-set-picker,#cw-review){
 background:var(--ts-field);
}
html[data-theme] .product-workspace #modal:has(.campaign-wizard) :is(.campaign-section-heading h2,.suite-section-title h2,.cw-summary h3){
 color:var(--ts-ink);
}
html[data-theme] .product-workspace #modal:has(.campaign-wizard) .campaign-section-heading p{color:var(--ts-muted)}
html[data-theme] .product-workspace #modal:has(.campaign-wizard) .suite-set-picker{
 padding:13px 14px;margin-block:0 14px;
}
html[data-theme] .product-workspace #modal:has(.campaign-wizard) .suite-set-picker :is(select,button){margin-block:0}
html[data-theme] .product-workspace #modal:has(.campaign-wizard) .editor-footer .actions button{min-height:42px;margin:0}
@media(max-width:760px){
 html[data-theme] .product-workspace #modal:has(.campaign-wizard) .cw-pane .editor-grid{gap:20px}
 html[data-theme] .product-workspace :is(#modal .campaign-wizard-steps button,.ps-compose-steps li){gap:5px;padding:6px;overflow-wrap:anywhere}
 html[data-theme] .product-workspace :is(#modal .campaign-wizard-steps button,.ps-compose-steps li) b{width:20px;height:20px;flex-basis:20px}
}
html[data-theme] .product-workspace .posting-review-body dl>div{padding:8px 10px;border:1px solid var(--ts-line);border-radius:8px}
html[data-theme] .product-workspace :is(#app .step-num,.friend-steps>span){
 background:var(--ts-accent-soft);border-color:var(--ts-line);color:var(--ts-accent);
}

@media(max-width:540px){html[data-theme] .product-workspace #app .page-title h1{font-size:21px}}
