:root {
  --color-primary: #2457d6;
  --color-primary-hover: #1944b2;
  --color-on-primary: #ffffff;
  --color-background: #f5f6f8;
  --color-surface: #ffffff;
  --color-surface-soft: #f9fafb;
  --color-foreground: #172033;
  --color-muted: #657087;
  --color-border: #dfe3ea;
  --color-focus: #1748c8;
  --color-danger: #b42318;
  --color-warning: #a15c00;
  --color-success: #16794a;
  --brand-bemi: #c9957f;
  --brand-nove: #c91f67;
  --brand-academy: #c16a7b;
  --radius-sm: 8px;
  --radius-md: 14px;
  --shadow-card: 0 1px 2px rgb(20 29 48 / 6%), 0 7px 24px rgb(20 29 48 / 5%);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  color: var(--color-foreground);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
.filter-row-status { margin-top: -.55rem; }
.card-actions { display: flex; flex-wrap: wrap; gap: .55rem; }
.card-actions form { margin: 0; }
.card-actions .button { min-height: 44px; }
body { margin: 0; min-width: 320px; min-height: 100dvh; background: var(--color-background); color: var(--color-foreground); }
button, input, select, textarea { font: inherit; }
button, a { touch-action: manipulation; }
a { color: inherit; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.skip-link { position: fixed; left: 16px; top: -80px; z-index: 1000; background: var(--color-foreground); color: white; padding: 12px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--color-focus) 72%, white); outline-offset: 3px; }

.app-header { min-height: 72px; padding: 0 max(20px, calc((100vw - 1240px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); background: var(--color-surface); border-bottom: 1px solid var(--color-border); }
.app-header nav { display: flex; align-items: center; gap: var(--space-3); }
.wordmark { min-height: 48px; display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.wordmark-mark { width: 38px; height: 38px; display: grid; place-items: center; color: white; background: var(--color-foreground); border-radius: 11px; }
.wordmark-mark svg { width: 23px; height: 23px; }
.wordmark strong, .wordmark small { display: block; line-height: 1.15; }
.wordmark strong { font-size: 15px; }
.wordmark small { margin-top: 2px; color: var(--color-muted); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.nav-link { min-height: 44px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: var(--radius-sm); color: var(--color-muted); font-weight: 650; text-decoration: none; }
.nav-link[aria-current="page"], .nav-link:hover { color: var(--color-foreground); background: var(--color-surface-soft); }

.page-shell { width: min(1240px, calc(100% - 40px)); margin: 0 auto; padding: var(--space-7) 0 80px; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-5); margin-bottom: var(--space-6); }
.eyebrow { margin: 0 0 6px; color: var(--color-primary); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(30px, 4vw, 44px); line-height: 1.08; letter-spacing: -.035em; }
.lede { max-width: 650px; margin: 10px 0 0; color: var(--color-muted); font-size: 17px; line-height: 1.55; }

.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border: 1px solid transparent; border-radius: var(--radius-sm); cursor: pointer; font-weight: 750; text-decoration: none; transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease; }
.button-primary { color: var(--color-on-primary); background: var(--color-primary); }
.button-primary:hover { background: var(--color-primary-hover); }
.button-secondary { color: var(--color-foreground); background: var(--color-surface); border-color: var(--color-border); }
.button-secondary:hover { border-color: #aeb7c6; background: var(--color-surface-soft); }
.button-quiet { color: var(--color-danger); background: transparent; }
.button-quiet:hover { background: #fff3f1; }
.button-bypass { color: var(--color-danger); background: var(--color-surface); border-color: #e4aaa5; }
.button-bypass:hover { color: #8f1b13; background: #fff3f1; border-color: var(--color-danger); }
.button-full { width: 100%; }

.status-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); margin-bottom: var(--space-5); }
.status-summary article { min-height: 92px; padding: 18px 20px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); box-shadow: var(--shadow-card); }
.status-summary span, .status-summary small { display: block; }
.status-summary span { font-size: 27px; font-variant-numeric: tabular-nums; font-weight: 780; }
.status-summary small { margin-top: 5px; color: var(--color-muted); font-size: 14px; }
.status-summary .has-attention { border-color: #f2c0b8; background: #fff8f6; }
.status-summary .has-attention span { color: var(--color-danger); }

.filter-row { display: flex; gap: var(--space-2); margin-bottom: var(--space-5); overflow-x: auto; padding: 2px 2px 6px; }
.filter-chip { min-height: 44px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--color-border); border-radius: 999px; background: var(--color-surface); color: var(--color-muted); cursor: pointer; font-weight: 700; line-height: 1.25; }
.filter-chip.is-active { color: white; background: var(--color-foreground); border-color: var(--color-foreground); }
.filter-chip:not(.is-active)::before { content: ""; width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: currentColor; }
.filter-chip.brand-bemi { color: var(--brand-bemi); }
.filter-chip.brand-nove { color: var(--brand-nove); }
.filter-chip.brand-academy { color: var(--brand-academy); }

.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
.post-card { min-width: 0; overflow: hidden; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); box-shadow: var(--shadow-card); }
.post-card[hidden] { display: none; }
.media-frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #e9ebef; }
.media-frame img { width: 100%; height: 100%; display: block; object-fit: cover; }
.media-placeholder { height: 100%; display: grid; place-content: center; justify-items: center; gap: 8px; color: var(--color-muted); }
.media-placeholder svg { width: 38px; height: 38px; }
.brand-badge { position: absolute; left: 12px; top: 12px; max-width: calc(100% - 24px); padding: 7px 10px; color: white; border-radius: 999px; font-size: 12px; font-weight: 800; }
.brand-badge.brand-bemi, .brand-badge.brand-bemi-beauty-box { background: var(--brand-bemi); }
.brand-badge.brand-nove-wholesale { background: var(--brand-nove); }
.brand-badge.brand-nove-academy { background: var(--brand-academy); }
.post-card-body { padding: 18px; }
.card-topline { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); }
.card-topline time { color: var(--color-muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.status { padding: 5px 8px; border-radius: 999px; background: #eef2f7; color: #465269; font-size: 11px; font-weight: 800; text-transform: capitalize; }
.status-scheduled { color: #17479f; background: #eaf1ff; }
.status-awaiting-review { color: #835200; background: #fff4d8; }
.status-failed, .status-published-attention, .status-publication-uncertain { color: var(--color-danger); background: #fff0ed; }
.post-card h2 { min-height: 48px; margin: 14px 0 10px; font-size: 18px; line-height: 1.35; }
.post-facts { display: flex; flex-wrap: wrap; gap: 7px 14px; margin-bottom: 16px; color: var(--color-muted); font-size: 13px; }
.result-summary { padding: 10px 12px; border-left: 3px solid var(--color-warning); background: #fff9ed; color: #704b15; font-size: 13px; line-height: 1.45; }

.empty-state { min-height: 360px; display: grid; place-content: center; justify-items: center; padding: 44px 20px; text-align: center; background: var(--color-surface); border: 1px dashed #bec5d0; border-radius: var(--radius-md); }
.empty-icon { width: 62px; height: 62px; display: grid; place-items: center; color: var(--color-primary); background: #edf3ff; border-radius: 18px; }
.empty-icon svg { width: 32px; height: 32px; }
.empty-state h2 { margin: 18px 0 6px; font-size: 22px; }
.empty-state p { margin: 0 0 22px; color: var(--color-muted); }

.back-link { display: inline-flex; min-height: 44px; align-items: center; gap: 6px; margin-bottom: 4px; color: var(--color-muted); font-size: 14px; font-weight: 700; text-decoration: none; }
.back-link svg { width: 17px; height: 17px; }
.back-link:hover { color: var(--color-foreground); }
.composer-hero { margin: -10px 0 24px; }
.composer-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.composer-title-row h1 { font-size: clamp(32px, 4vw, 42px); }
.composer-title-row .lede { margin-top: 7px; font-size: 16px; }
.composer .eyebrow { font-size: 13px; }
.autosave-state { min-height: 40px; display: inline-flex; align-items: center; gap: 8px; margin: 0 0 4px; padding: 9px 12px; color: var(--color-muted); background: #eef1f5; border-radius: 999px; font-size: 13px; white-space: nowrap; }
.autosave-state svg { width: 16px; height: 16px; }
.composer-grid { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 20px; align-items: start; }
.composer-main { min-width: 0; display: grid; gap: 22px; }
.panel { padding: 26px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 12px; box-shadow: 0 1px 2px rgb(20 29 48 / 5%); }
.composer-section { overflow: hidden; }
.sticky-panel { position: sticky; top: 20px; }
.section-heading { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 24px; }
.section-heading h2 { margin: 0 0 5px; font-size: 21px; line-height: 1.3; }
.section-heading p { margin: 0; color: var(--color-muted); font-size: 15px; line-height: 1.5; }
.step-number { width: 30px; height: 30px; flex: 0 0 auto; display: grid; place-items: center; color: white; background: var(--color-foreground); border-radius: 50%; font-size: 13px; font-weight: 800; }
.field-grid { display: grid; gap: 20px; align-items: start; }
.two-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { min-width: 0; display: grid; gap: 8px; color: var(--color-foreground); font-size: 15px; font-weight: 720; }
.field > span { display: flex; align-items: center; justify-content: flex-start; gap: 4px; }
.field > span small { font-weight: 550; }
.field .field-label-row { justify-content: space-between; gap: 16px; }
.field-label-row > span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.field-label-row > small { text-align: right; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; color: var(--color-foreground); background: var(--color-surface); border: 1px solid #b8c0cd; border-radius: 8px; font-size: 16px; font-weight: 500; transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #929dad; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--color-focus); box-shadow: 0 0 0 3px rgb(36 87 214 / 12%); outline: 0; }
.field textarea { min-height: 190px; resize: vertical; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: #778297; }
.field small, .field-note { color: var(--color-muted); font-size: 13px; font-weight: 500; line-height: 1.45; }
.field b { color: var(--color-danger); }
.alert { margin: 0 0 18px; padding: 14px 16px; border: 1px solid; border-radius: 8px; }
.alert p { margin: 5px 0 0; }
.alert-error { color: #7a271a; background: #fff4f1; border-color: #f3b8ad; }

.media-product-grid { display: grid; grid-template-columns: minmax(330px, 1.08fr) minmax(280px, .92fr); gap: 18px; align-items: stretch; }
.workspace-card { min-width: 0; padding: 18px; background: var(--color-surface-soft); border: 1px solid #e5e8ee; border-radius: 10px; }
.workspace-heading { min-height: 52px; display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.workspace-heading h3 { margin: 0 0 4px; font-size: 16px; }
.workspace-heading p { margin: 0; color: var(--color-muted); font-size: 13px; line-height: 1.45; }
.upload-zone { min-height: 44px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; padding: 8px 11px; color: var(--color-primary); background: var(--color-surface); border: 1px solid #b7c3dc; border-radius: 8px; cursor: pointer; text-align: center; transition: background-color 180ms ease, border-color 180ms ease; }
.upload-zone:hover, .upload-zone.has-file { border-color: var(--color-primary); background: #f3f7ff; }
.upload-zone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-prompt { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 13px; }
.upload-prompt svg { width: 17px; height: 17px; }
.tag-canvas { position: relative; min-height: 360px; overflow: hidden; background: #e8ebf0; border: 1px solid #d7dce4; border-radius: 8px; cursor: crosshair; }
.tag-canvas img { width: 100%; height: 100%; min-height: 360px; max-height: 540px; display: block; object-fit: contain; }
.tag-canvas-empty { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 7px; padding: 24px; color: var(--color-muted); text-align: center; }
.tag-canvas-empty[hidden] { display: none; }
.tag-canvas-empty svg { width: 40px; height: 40px; margin-bottom: 4px; color: #7d899d; }
.tag-canvas-empty strong { color: #465269; font-size: 15px; }
.tag-canvas-empty span { max-width: 250px; font-size: 13px; line-height: 1.5; }
.workspace-hint { display: flex; align-items: flex-start; gap: 7px; margin: 13px 0 0; color: var(--color-muted); font-size: 13px; line-height: 1.45; }
.workspace-hint svg { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 1px; }
.tag-marker { position: absolute; width: 34px; height: 34px; translate: -50% -50%; border: 3px solid white; border-radius: 50%; color: white; background: var(--color-primary); box-shadow: 0 2px 9px rgb(0 0 0 / 28%); cursor: pointer; font-size: 13px; font-weight: 800; }
.tag-marker:hover { background: var(--color-danger); }
.product-panel { display: flex; flex-direction: column; }
.search-control { position: relative; }
.search-control svg { position: absolute; left: 12px; top: 50%; width: 18px; height: 18px; translate: 0 -50%; color: var(--color-muted); pointer-events: none; }
.search-control input { padding-left: 39px; }
.catalog-results { display: grid; gap: 7px; max-height: 250px; margin-top: 10px; overflow-x: hidden; overflow-y: auto; }
.catalog-result { width: 100%; min-height: 64px; display: grid; grid-template-columns: 58px minmax(0, 1fr); align-items: center; gap: 10px; padding: 8px; border: 1px solid var(--color-border); border-radius: 8px; color: var(--color-foreground); background: var(--color-surface); cursor: pointer; text-align: left; transition: background-color 180ms ease, border-color 180ms ease; }
.catalog-result:hover { border-color: #9ca9bd; background: #f6f8fb; }
.catalog-result:disabled { opacity: .55; cursor: not-allowed; }
.catalog-result span, .catalog-result strong, .catalog-result small { min-width: 0; display: block; }
.catalog-result strong { overflow-wrap: anywhere; font-size: 14px; line-height: 1.35; white-space: normal; }
.catalog-result small { margin-top: 3px; color: var(--color-muted); font-size: 12px; line-height: 1.35; white-space: normal; }
.catalog-result b { min-height: 44px; display: grid; place-items: center; align-self: stretch; padding: 6px; color: var(--color-primary); background: #edf3ff; border-radius: 6px; font-size: 13px; text-align: center; transition: background-color 180ms ease, color 180ms ease; }
.catalog-result:hover b, .catalog-result:focus-visible b { color: white; background: var(--color-primary); }
.selected-products { min-width: 0; flex: 1; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--color-border); }
.selected-products h3 { display: flex; justify-content: space-between; margin: 0 0 10px; font-size: 14px; }
.selected-products h3 span { min-width: 24px; padding: 2px 7px; border-radius: 999px; color: var(--color-muted); background: #e9edf3; text-align: center; }
[data-product-chips] { min-width: 0; display: grid; gap: 7px; }
.product-chip-row { width: 100%; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; overflow: hidden; border: 1px solid var(--color-border); border-radius: 8px; background: var(--color-surface); }
.product-chip { min-width: 0; min-height: 52px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 10px; border: 0; color: var(--color-foreground); background: transparent; cursor: pointer; text-align: left; }
.product-chip span { min-width: 0; overflow-wrap: anywhere; line-height: 1.35; }
.product-chip small { color: var(--color-primary); font-weight: 800; white-space: nowrap; }
.product-remove { min-width: 72px; min-height: 52px; padding: 8px 10px; border: 0; border-left: 1px solid var(--color-border); color: var(--color-danger); background: #fff8f7; cursor: pointer; font-size: 13px; font-weight: 800; }
.product-remove:hover { background: #fff0ed; }
.product-chip-row.is-active { border-color: var(--color-primary); box-shadow: 0 0 0 2px rgb(36 87 214 / 12%); }
.section-clear-row { display: flex; justify-content: flex-end; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--color-border); }
.section-clear-button { min-height: 44px; color: var(--color-danger); }
.empty-helper, .loading-row, .inline-error { margin: 9px 0; color: var(--color-muted); font-size: 13px; line-height: 1.5; }
.inline-error { color: var(--color-danger); }

.channel-picker { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; padding: 0; border: 0; }
.channel-picker legend { width: 100%; margin-bottom: 5px; font-size: 14px; font-weight: 720; }
.channel-picker label { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; background: var(--color-surface-soft); border: 1px solid var(--color-border); border-radius: 999px; cursor: pointer; font-size: 14px; font-weight: 700; transition: background-color 180ms ease, border-color 180ms ease; }
.channel-picker label:has(input:checked) { color: #163f99; background: #edf3ff; border-color: #a9bce9; }
.channel-picker input { width: 17px; height: 17px; accent-color: var(--color-primary); }
.copy-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; border: 1px solid var(--color-border); border-radius: 10px; overflow: hidden; }
.channel-copy { min-width: 0; display: grid; grid-template-rows: minmax(54px, auto) minmax(0, 1fr) auto; gap: 18px; padding: 22px; background: var(--color-surface); }
.channel-copy + .channel-copy { border-left: 1px solid var(--color-border); }
.channel-heading { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.channel-heading strong, .channel-heading small { display: block; }
.channel-heading strong { font-size: 16px; }
.channel-heading small { margin-top: 4px; color: var(--color-muted); font-size: 13px; }
.channel-heading > span { padding: 6px 8px; color: var(--color-success); background: #edf8f2; border-radius: 999px; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.channel-copy > .field:first-of-type { grid-template-rows: auto 190px auto; align-content: start; }
.channel-copy > .field:first-of-type textarea { height: 190px; min-height: 190px; }
.channel-copy > .field:last-of-type { align-self: end; }
.text-button { min-height: 44px; padding: 8px 10px; border: 0; border-radius: 6px; color: var(--color-primary); background: transparent; cursor: pointer; font-size: 13px; font-weight: 800; }
.text-button:hover { background: #edf3ff; }

.action-panel { display: grid; gap: 20px; padding: 22px; }
.action-panel .field > span { justify-content: space-between; gap: 8px; }
.action-panel-heading { display: flex; align-items: flex-start; gap: 11px; padding-bottom: 16px; border-bottom: 1px solid var(--color-border); }
.action-panel-heading h2 { margin: 1px 0 4px; font-size: 19px; line-height: 1.3; }
.action-panel-heading p { margin: 0; color: var(--color-muted); font-size: 13px; line-height: 1.45; }
.action-icon { width: 32px; height: 32px; flex: 0 0 auto; display: grid; place-items: center; color: var(--color-primary); background: #edf3ff; border-radius: 8px; }
.action-icon svg { width: 18px; height: 18px; }
.readiness-block h3 { margin: 0 0 10px; font-size: 13px; letter-spacing: .03em; text-transform: uppercase; }
.readiness-list { display: grid; gap: 9px; }
.readiness-list p { display: flex; align-items: center; gap: 9px; margin: 0; color: var(--color-muted); font-size: 13px; line-height: 1.4; }
.readiness-dot { width: 15px; height: 15px; flex: 0 0 auto; border: 2px solid #a8b0be; border-radius: 50%; }
.readiness-list p.is-ready { color: var(--color-success); }
.readiness-list p.is-ready .readiness-dot { border-color: var(--color-success); background: var(--color-success); box-shadow: inset 0 0 0 3px white; }
.action-buttons { display: grid; gap: 9px; padding-top: 2px; }
.action-panel .button-full { height: 48px; min-height: 48px; }
.post-now-zone { padding-top: 18px; border-top: 1px solid var(--color-border); }
.post-now-note { margin: 7px 0 0; color: var(--color-muted); font-size: 13px; line-height: 1.45; text-align: center; }
.button:disabled { opacity: .52; cursor: wait; }
.button-danger { color: white; background: var(--color-danger); }
.button-danger:hover { background: #8f1b13; }
.confirm-dialog { width: min(460px, calc(100% - 32px)); padding: 28px; border: 0; border-radius: var(--radius-md); color: var(--color-foreground); box-shadow: 0 24px 70px rgb(20 29 48 / 30%); }
.confirm-dialog::backdrop { background: rgb(10 16 29 / 55%); backdrop-filter: blur(3px); }
.confirm-dialog h2 { margin: 16px 0 7px; }
.confirm-dialog p { margin: 0; color: var(--color-muted); line-height: 1.55; }
.dialog-icon { width: 48px; height: 48px; display: grid; place-items: center; color: var(--color-danger); background: #fff0ed; border-radius: 14px; }
.dialog-icon svg { width: 26px; height: 26px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.login-shell { min-height: calc(100dvh - 190px); display: grid; place-items: center; }
.login-card { width: min(430px, 100%); padding: clamp(26px, 5vw, 42px); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 18px; box-shadow: var(--shadow-card); }
.login-card h1 { font-size: clamp(30px, 5vw, 40px); }
.login-card > p:not(.eyebrow, .inline-error) { margin: 10px 0 24px; color: var(--color-muted); line-height: 1.55; }
.login-card form { display: grid; gap: 18px; }
.login-mark { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 22px; color: white; background: var(--color-foreground); border-radius: 15px; }
.login-mark svg { width: 27px; height: 27px; }

@media (max-width: 1080px) {
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .composer-grid { grid-template-columns: 1fr; }
  .sticky-panel { position: static; }
  .action-panel { grid-template-columns: minmax(230px, .8fr) minmax(250px, 1fr); align-items: start; }
  .action-panel-heading, .post-now-zone { grid-column: 1 / -1; }
  .action-buttons { grid-column: 1 / -1; align-self: end; }
}

@media (max-width: 760px) {
  .media-product-grid, .copy-panels { grid-template-columns: 1fr; }
  .channel-copy + .channel-copy { border-top: 1px solid var(--color-border); border-left: 0; }
  .action-panel { grid-template-columns: 1fr; }
  .action-panel-heading, .post-now-zone { grid-column: auto; }
}

@media (max-width: 620px) {
  .app-header { min-height: 64px; padding: 0 16px; }
  .wordmark strong { font-size: 14px; }
  .wordmark small, .nav-link { display: none; }
  .app-header .button { padding: 9px 12px; }
  .page-shell { width: min(100% - 24px, 1240px); padding-top: 24px; }
  .page-heading { align-items: flex-start; margin-bottom: 24px; }
  .desktop-action { display: none; }
  .status-summary { grid-template-columns: 1fr; gap: 8px; }
  .status-summary article { min-height: 70px; display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; }
  .status-summary small { margin: 0; }
  .post-grid { grid-template-columns: 1fr; }
  .composer-hero { margin-top: -4px; }
  .composer-title-row { display: block; }
  .two-columns { grid-template-columns: 1fr; }
  .field .field-label-row { align-items: flex-start; }
  .field-label-row > small { max-width: 170px; }
  .tag-canvas, .tag-canvas img { min-height: 310px; }
  .panel { padding: 17px; }
  .workspace-card { padding: 13px; }
  .workspace-heading { display: grid; }
  .upload-zone { width: 100%; }
  .channel-copy { padding: 18px; }
  .autosave-state { margin-top: 14px; white-space: normal; }
  .dialog-actions { display: grid; }
  .dialog-actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
