:root {
  color-scheme: light;
  --ink: #161b23;
  --muted: #525b69;
  --line: #dce0e6;
  --canvas: #f2f3f5;
  --card: #fff;
  --accent: #ac2625;
  --accent-hover: #8f1c1b;
  --nav: #12161c;
  --focus: #2167b2;
  --radius: 12px;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--canvas);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
button:disabled, input:disabled { cursor: wait; opacity: .65; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: .35em; font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.04; letter-spacing: -.055em; }
h2 { margin-bottom: 1.1rem; font-size: 1.125rem; line-height: 1.3; letter-spacing: -.025em; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.admin-header { background: var(--nav); color: #fff; }
.header-inner { width: min(100% - 3rem, 1220px); margin: 0 auto; min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { text-decoration: none; display: inline-flex; align-items: center; gap: .8rem; font-size: .97rem; font-weight: 700; }
.brand-mark { display: grid; place-items: center; padding: .45rem .5rem; border: 1px solid #77808d; border-left: 3px solid #e6544b; color: #fff; font-size: .85rem; line-height: 1; font-weight: 850; letter-spacing: .1em; }
.header-actions { display: flex; align-items: center; gap: 1.25rem; font-size: .875rem; }
.site-link { color: #e4e6eb; text-decoration-color: #86909c; text-underline-offset: .27em; }
.logout-button { color: #fff; background: transparent; border: 1px solid #5c6470; padding: .56rem .8rem; border-radius: 6px; font-size: .85rem; }
.logout-button:hover { background: #28303b; }

.admin-main { width: min(100% - 3rem, 1220px); margin: 2.75rem auto 5rem; }
.admin-nav { display: flex; flex-wrap: wrap; column-gap: 1.3rem; border-bottom: 1px solid var(--line); margin-bottom: 1.6rem; }
.admin-nav button { min-height: 44px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); padding: .4rem .05rem .65rem; font-size: .9rem; font-weight: 690; }
.admin-nav button:hover { color: var(--ink); }
.admin-nav button[aria-current] { color: var(--ink); border-bottom-color: var(--accent); }
.global-message:empty, .form-message:empty { display: none; }
.global-message { padding: .85rem 1rem; border: 1px solid #a7cfb7; border-radius: 8px; color: #14542f; background: #ebf7ef; }
.global-message[data-error], .form-message[data-error] { color: #992323; }
.global-message[data-error] { border-color: #e7b5b3; background: #fff0f0; }
.form-message { margin: .85rem 0 0; font-size: .875rem; line-height: 1.55; color: var(--muted); }
.card { border: 1px solid var(--line); background: var(--card); border-radius: var(--radius); box-shadow: 0 2px 9px rgb(15 23 42 / .04); }
.auth-card { width: min(100%, 440px); margin: min(10vh, 7rem) auto; padding: clamp(1.25rem, 5vw, 2.3rem); }
.auth-card h1 { font-size: 2.2rem; }
.auth-card p { color: var(--muted); line-height: 1.5; }
.auth-card form { display: grid; gap: .6rem; }
.auth-card .button { margin-top: .5rem; }

.page-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.2rem; margin-bottom: 1.75rem; }
.page-intro p { margin-bottom: 0; color: var(--muted); line-height: 1.55; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: .55rem; vertical-align: middle; min-height: 44px; padding: .6rem 1rem; border-radius: 7px; border: 1px solid transparent; font-size: .9rem; font-weight: 730; text-decoration: none; text-align: center; white-space: nowrap; }
.primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.primary span[aria-hidden] { font-size: 1.3rem; line-height: 1; }
.secondary { background: #fff; border-color: #cfd5de; color: var(--ink); }
.secondary:hover { background: #f3f5f7; border-color: #aeb7c3; }
.danger { color: var(--accent); background: #fff; border-color: #e2b9b8; }
.danger:hover { background: #fff1f1; }
.overview { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem; margin-bottom: 1.25rem; }
.metric { padding: 1rem 1.15rem; min-height: 91px; display: grid; gap: .18rem; }
.metric span { color: var(--muted); font-size: .875rem; font-weight: 580; }
.metric strong { font-size: 1.85rem; line-height: 1.15; font-variant-numeric: tabular-nums; letter-spacing: -.04em; }

.dashboard-intro { align-items: center; flex-wrap: wrap; margin-bottom: 1.6rem; }
.dashboard-intro h1 { margin: 0; }
.dashboard-group + .dashboard-group { margin-top: 1.85rem; }
.dashboard-group h2 { margin: 0 0 .75rem; font-size: 1.075rem; }
.dashboard-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.dashboard-tile {
  min-width: 0;
  min-height: 94px;
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr);
  align-items: center;
  gap: .8rem;
  padding: .85rem 1rem;
  color: var(--ink);
  text-align: start;
}
button.dashboard-tile:hover { border-color: #c5837b; background: #fffafa; }
.dashboard-icon {
  width: 2.6rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #fbefed;
  color: var(--accent);
}
.dashboard-icon svg { width: 1.35rem; height: 1.35rem; stroke: currentColor; fill: none; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.dashboard-tile-copy { display: grid; gap: .25rem; }
.dashboard-tile-copy strong { font-weight: 730; line-height: 1.25; }
.dashboard-tile-copy small { color: var(--muted); font-size: .875rem; line-height: 1.45; }
.dashboard-tile-links { display: flex; flex-wrap: wrap; gap: .4rem; }
.dashboard-tile-links button {
  padding: .25rem .65rem;
  min-height: 44px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f7f8fa;
  font-size: .875rem;
  font-weight: 650;
}
.dashboard-tile-links button:hover { background: #fff4f2; border-color: #c5837b; }

.filters { padding: 1.05rem 1.15rem .5rem; display: flex; align-items: center; gap: .65rem; }
.filters .search-field { width: min(100%, 375px); position: relative; }
.search-field svg { color: var(--muted); position: absolute; left: .65rem; top: 50%; transform: translateY(-50%); pointer-events: none; }
.filter-field select { min-width: 10rem; }
.filter-count { margin: .25rem 1.15rem .7rem; color: var(--muted); font-size: .875rem; }
.inventory-table { overflow-x: auto; }
.inventory-table table { border-collapse: collapse; width: 100%; font-size: .9rem; }
.inventory-table thead { background: #f6f7f9; color: #434d5b; }
.inventory-table th { border-block: 1px solid var(--line); text-align: left; font-size: .82rem; font-weight: 650; }
.inventory-table th, .inventory-table td { padding: .78rem 1rem; }
.inventory-table th:first-child, .inventory-table td:first-child { padding-left: 1.15rem; }
.inventory-table th:last-child, .inventory-table td:last-child { text-align: right; padding-right: 1.15rem; }
.inventory-table tbody tr + tr td { border-top: 1px solid #edf0f3; }
.car-summary { display: flex; align-items: center; gap: .7rem; min-width: 13rem; }
.car-summary img, .car-placeholder { width: 64px; height: 48px; flex: none; border-radius: 5px; object-fit: cover; background: #e7e9ed; }
.car-summary strong, .car-summary small { display: block; }
.car-summary small { margin-top: .18rem; color: var(--muted); line-height: 1.35; font-size: .8rem; }
.row-price { white-space: nowrap; font-weight: 680; font-variant-numeric: tabular-nums; }
.row-action .button { min-height: 38px; padding: .4rem .7rem; }
.status-pill, .demo-pill, .featured-pill { display: inline-flex; padding: .25rem .5rem; border-radius: 6px; font-size: .77rem; font-weight: 690; white-space: nowrap; background: #edf0f3; color: #364151; }
.status-pill[data-status="available"] { color: #155c34; background: #e5f4ea; }
.status-pill[data-status="incoming"] { color: #244c87; background: #e9f0fb; }
.status-pill[data-status="reserved"] { color: #79500f; background: #fff0ce; }
.status-pill[data-status="new"] { color: #244c87; background: #e9f0fb; }
.status-pill[data-status="in_progress"] { color: #79500f; background: #fff0ce; }
.status-pill[data-status="done"] { color: #155c34; background: #e5f4ea; }
.demo-pill { margin-left: .35rem; vertical-align: .05em; padding: .1rem .35rem; }
.featured-pill { margin: .25rem 0 0 .25rem; color: #883027; background: #f9eae8; }
.empty-state { padding: 2rem 1.15rem; text-align: center; border-top: 1px solid var(--line); color: var(--muted); margin-bottom: 0; line-height: 1.5; }

.back-button { padding: .25rem 0; font-size: .9rem; font-weight: 675; border: 0; margin-bottom: .9rem; background: transparent; color: var(--muted); text-decoration: underline; text-underline-offset: .25em; }
.back-button:hover { color: var(--ink); }
.editor-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(245px, 1fr); gap: 1rem; align-items: start; }
.editor-main, .editor-sidebar { display: grid; align-content: start; gap: 1rem; min-width: 0; }
.editor-sidebar { position: sticky; top: 1rem; }
.form-card { padding: clamp(1rem, 2vw, 1.5rem); }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .9rem; }
.span-two { grid-column: 1 / -1; }
label:not(.search-field, .filter-field, .upload-box) { display: block; font-size: .875rem; font-weight: 650; }
.required { color: var(--accent); }
input:not([type="file"]), textarea, select { background: #fff; border: 1px solid #bec7d2; width: 100%; border-radius: 6px; color: var(--ink); padding: .59rem .65rem; min-height: 43px; font-size: 1rem; }
.search-field input { padding-left: 2.35rem; }
input::placeholder, textarea::placeholder { color: #637083; opacity: 1; }
select { appearance: none; padding-right: 2.1rem; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%234c5868' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right .65rem center / 1rem; }
.form-grid input, .form-card textarea, .publish-card select, .image-item input { margin-top: .35rem; }
textarea { resize: vertical; line-height: 1.5; display: block; }
.form-card textarea + label { margin-top: 1rem; }
.field-help { color: var(--muted); margin: .4rem 0 0; line-height: 1.5; font-size: .875rem; }
.photo-help { margin: -.5rem 0 .8rem; }
.equipment-fieldset { min-width: 0; border: 0; padding: 0; margin: 1.15rem 0 0; }
.equipment-fieldset legend { padding: 0; font-weight: 690; }
.equipment-groups { display: grid; gap: .45rem; margin: .75rem 0 1rem; }
.equipment-group { border: 1px solid var(--line); border-radius: 7px; }
.equipment-group summary { padding: .75rem; background: #f7f8fa; border-radius: inherit; cursor: pointer; font-size: .92rem; font-weight: 690; min-height: 44px; }
.equipment-group[open] summary { border-bottom: 1px solid var(--line); border-radius: 7px 7px 0 0; }
.equipment-count { float: inline-end; color: var(--muted); font-size: .875rem; font-weight: 600; }
.equipment-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .12rem .55rem; padding: .45rem; }
label.checkbox-choice { display: flex; align-items: flex-start; gap: .55rem; min-height: 39px; padding: .55rem .4rem; border-radius: 5px; line-height: 1.42; cursor: pointer; }
.equipment-choices .checkbox-choice:hover { background: #f3f5f7; }
.checkbox-choice input[type="checkbox"] { flex: none; margin: .07rem 0 0; width: 1rem; height: 1rem; min-height: 0; accent-color: var(--accent); cursor: pointer; }
label.featured-choice { margin-top: .75rem; padding-inline: 0; }
#featured-help { margin-top: 0; }
.publish-card .button { display: flex; width: 100%; margin-top: .62rem; }
.publish-card .save-button { margin-top: 1rem; }
.settings-card { width: min(100%, 800px); }
.hero-preview { display: block; width: 100%; aspect-ratio: 2.2 / 1; object-fit: cover; background: var(--nav); border-radius: 8px; }
.hero-upload { margin: .8rem 0 1rem; }
#hero-alt { margin-top: .35rem; }
.settings-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .85rem; }
.danger-card h2 { margin-bottom: .45rem; }
.danger-card .button { margin-top: 1rem; }
.upload-box { position: relative; min-height: 136px; padding: 1.1rem .7rem; display: grid; align-content: center; justify-items: center; gap: .3rem; text-align: center; color: var(--ink); background: #f7f8fa; border: 1px dashed #9ba7b6; border-radius: 8px; cursor: pointer; }
.upload-box:hover, .upload-box:focus-within { background: #ebf2f8; border-color: var(--focus); }
.upload-box:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.upload-box input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-box span { font-size: .92rem; font-weight: 680; }
.upload-box small { font-size: .82rem; color: var(--muted); }
.image-list { padding: 0; display: grid; gap: .65rem; list-style: none; margin: .9rem 0 0; }
.image-list:empty { display: none; }
.image-item { display: grid; grid-template-columns: 94px minmax(0, 1fr); gap: .75rem; padding: .7rem; border: 1px solid var(--line); border-radius: 7px; }
.image-item img { width: 94px; aspect-ratio: 4 / 3; object-fit: cover; background: #e7e9ed; border-radius: 4px; }
.image-item .photo-name { display: block; color: var(--muted); font-size: .82rem; margin-bottom: .4rem; }
.image-tools { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .45rem; }
.image-tools button { min-height: 34px; padding: .25rem .5rem; font-size: .8rem; color: var(--ink); border: 1px solid #cfd5de; background: #fff; border-radius: 5px; }
.image-tools button:not(:disabled):hover { background: #edf0f3; }
.image-tools button:disabled { cursor: default; opacity: .45; }
.image-tools button:last-child { color: var(--accent); }
.noscript { padding: 0 1.5rem; text-align: center; }

.inbox-layout { display: grid; grid-template-columns: minmax(18rem, .9fr) minmax(0, 1.1fr); gap: 1rem; align-items: start; }
.inbox-list-head { display: flex; align-items: center; justify-content: space-between; gap: .7rem; }
.inbox-list-head h2 { margin: 0; }
.inbox-list-head select { width: auto; max-width: 100%; }
.inbox-state { margin: 1rem 0 0; color: var(--muted); font-size: .875rem; line-height: 1.5; }
.inbox-state:empty { display: none; }
.inbox-list { list-style: none; padding: 0; margin: .8rem 0 0; display: grid; gap: .4rem; }
.inbox-list:empty { display: none; }
.inbox-item { width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 7px; padding: .68rem .78rem; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: .22rem .55rem; color: var(--ink); text-align: start; }
.inbox-item:hover { background: #f7f8fa; }
.inbox-item[aria-current] { background: #fff5f3; border-color: #c5837b; }
.inbox-item-name { min-width: 0; overflow-wrap: anywhere; line-height: 1.35; }
.inbox-item-name small { display: block; color: var(--muted); margin-top: .18rem; font-size: .875rem; }
.inbox-item .status-pill { font-size: .875rem; }
.inbox-item-date, .inbox-received { color: var(--muted); font-size: .875rem; line-height: 1.45; }
.inbox-item-date { grid-column: 1 / -1; }
.inbox-detail h2, .inbox-detail h3, .inbox-facts dd, .inbox-message { overflow-wrap: anywhere; }
.inbox-detail h2 { font-size: 1.35rem; margin-bottom: .2rem; }
.inbox-detail h3 { margin: 1.15rem 0 .35rem; font-size: 1rem; }
.inbox-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.inbox-facts dt { font-size: .875rem; color: var(--muted); margin-bottom: .18rem; }
.inbox-facts dd { margin: 0; line-height: 1.45; }
.inbox-facts a { color: var(--accent); text-underline-offset: .22em; }
.inbox-message { white-space: pre-wrap; line-height: 1.6; }
#request-status-form { border-top: 1px solid var(--line); padding-top: 1rem; }
.status-actions { margin-top: .35rem; display: flex; gap: .55rem; }
.status-actions select { width: min(100%, 15rem); }

@media (max-width: 740px) {
  .dashboard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .editor-layout { grid-template-columns: 1fr; }
  .inbox-layout { grid-template-columns: 1fr; }
  .editor-sidebar { position: static; }
  .inventory-table th, .inventory-table td { padding-inline: .55rem; }
  .inventory-table .optional-column { display: none; }
}

@media (max-width: 560px) {
  .header-inner, .admin-main { width: calc(100% - 1.5rem); }
  .admin-main { margin-top: 1.45rem; }
  .admin-nav { flex-wrap: nowrap; overflow-x: auto; column-gap: .85rem; padding: .25rem .25rem 0; margin: -.35rem -.25rem 1.15rem; scrollbar-width: thin; }
  .admin-nav button { flex: 0 0 auto; white-space: nowrap; }
  .admin-nav button:focus-visible { outline-offset: -3px; }
  .header-inner { min-height: 60px; }
  .brand { font-size: .78rem; gap: .35rem; }
  .brand-mark { padding: .4rem .31rem; font-size: .68rem; }
  .header-actions { font-size: .75rem; gap: .55rem; }
  .logout-button { padding-inline: .37rem; font-size: .75rem; }
  .page-intro { align-items: flex-start; flex-direction: column; margin-bottom: 1.35rem; gap: .75rem; }
  .dashboard-intro { align-items: center; flex-direction: row; }
  .dashboard-grid { grid-template-columns: 1fr; gap: .55rem; }
  .dashboard-tile { min-height: 74px; padding: .67rem .75rem; gap: .65rem; }
  .dashboard-group + .dashboard-group { margin-top: 1.35rem; }
  .overview { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
  .metric { min-height: 72px; padding: .65rem .75rem; }
  .metric strong { font-size: 1.5rem; }
  .filters { align-items: stretch; flex-direction: column; padding-inline: .75rem; }
  .filters .search-field { width: 100%; }
  .filter-count, .inventory-table th:first-child, .inventory-table td:first-child { margin-left: .75rem; padding-left: .75rem; }
  .filter-count { padding-left: 0; }
  .inventory-table th:last-child, .inventory-table td:last-child { padding-right: .75rem; }
  .car-summary { min-width: 0; gap: .4rem; }
  .car-summary img, .car-placeholder { display: none; }
  .demo-pill { margin-left: 0; }
  .featured-pill { margin-left: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .equipment-choices { grid-template-columns: 1fr; }
}

.site-editor-fieldset { display: block; min-width: 0; margin: 0; padding: 0; border: 0; }
.site-editor-layout, .campaign-editor-layout { display: grid; align-items: start; gap: 1rem; }
.site-editor-layout { grid-template-columns: minmax(11.5rem, .75fr) minmax(0, 2.5fr); }
.campaign-editor-layout { grid-template-columns: minmax(0, 1.5fr) minmax(18rem, 1fr); }
.campaign-editor-main { display: grid; gap: 1rem; min-width: 0; }
.site-editor-menu, .campaign-editor-preview { position: sticky; top: 1rem; }
.site-editor-menu h2 { margin-bottom: .65rem; }
.site-editor-menu nav { display: grid; gap: .15rem; }
.site-editor-menu button { min-height: 44px; padding: .55rem .7rem; border: 1px solid transparent; border-radius: 6px; background: #fff; text-align: left; color: var(--ink); font-size: .875rem; font-weight: 650; }
.site-editor-menu button:hover { background: #f7f8fa; }
.site-editor-menu button[aria-current] { color: #882928; border-color: #edcecb; background: #fcf1ef; }
.site-editor-card { min-width: 0; }
.site-editor-card-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .45rem .85rem; margin-bottom: .85rem; }
.site-editor-card-heading h2 { margin: 0; font-size: 1.28rem; }
.site-editor-card-heading button { min-height: 39px; }
.site-editor-inputs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem .9rem; }
#site-content-group > .button + .site-editor-inputs { margin-top: 1rem; }
.site-editor-field:has(textarea, input[type="file"]) { grid-column: 1 / -1; }
.site-editor-field :is(input, textarea) { display: block; margin-top: .35rem; }
.site-editor-field input[type="file"] { width: 100%; color: var(--muted); }
.site-editor-image { display: block; width: min(12rem, 100%); max-height: 9rem; margin-bottom: .65rem; padding: .55rem; border-radius: 6px; border: 1px solid var(--line); background: #f7f8fa; object-fit: contain; }
.site-section-list { display: grid; gap: .4rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.site-section-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .35rem .6rem; padding: .38rem .45rem; border: 1px solid var(--line); border-radius: 6px; }
.site-section-actions { display: flex; flex-wrap: wrap; gap: .38rem; }
.site-section-actions .button { min-height: 38px; padding: .35rem .58rem; font-size: .875rem; }
.website-save-actions { position: sticky; bottom: 0; z-index: 2; display: flex; align-items: center; flex-wrap: wrap; gap: .7rem 1rem; margin-top: 1rem; padding: .75rem; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 -2px 10px rgb(15 23 42 / .05); }
.website-save-actions .form-message { margin: 0; }
.campaign-editor-card .optional-label { color: var(--muted); font-weight: 400; }
.campaign-editor-card .form-grid select { margin-top: .35rem; }
#campaign-example-help { margin-top: -.55rem; }
#campaign-rate-conflict { margin: 0; padding: .6rem .72rem; border-radius: 5px; background: #fff0ef; }
.campaign-type-help { margin-top: -.55rem; }
.campaign-visibility { margin-bottom: .75rem; }
.campaign-preview-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .35rem .65rem; margin-bottom: .75rem; }
.campaign-preview-head h2 { margin: 0; }
.campaign-preview-head .status-pill { font-size: .875rem; }
.campaign-preview-banner { display: grid; gap: 1rem; padding: 1.22rem 1.05rem; border: 1px solid #363d47; border-inline-start: 4px solid var(--accent); border-radius: 6px; background: var(--nav); color: #fff; overflow-wrap: anywhere; }
.campaign-preview-copy { display: grid; gap: .35rem; }
#campaign-preview-title { font-size: clamp(1.5rem, 3.8vw, 2.2rem); font-weight: 800; line-height: 1.08; letter-spacing: -.035em; }
#campaign-preview-description { color: #d8dde5; font-size: .93rem; line-height: 1.45; }
.campaign-preview-rates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin: 0; }
.campaign-preview-rates dt { color: #d8dde5; font-size: .875rem; font-weight: 630; }
.campaign-preview-rates dd { margin: .25rem 0 0; font-size: clamp(1.9rem, 5.1vw, 2.6rem); font-weight: 800; line-height: 1.05; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
#campaign-preview-cta { justify-self: start; padding: .4rem .67rem; border: 1px solid #8d969f; border-radius: 4px; color: #fff; font-size: .875rem; font-weight: 680; }
.campaign-preview-credit-note { margin-top: .65rem; }
.campaign-preview-details { margin-top: .7rem; color: var(--muted); font-size: .875rem; overflow-wrap: anywhere; }
.campaign-preview-details p { margin: 0 0 .4rem; line-height: 1.45; white-space: pre-line; }

@media (max-width: 800px) {
  .campaign-editor-layout { grid-template-columns: 1fr; }
  .campaign-editor-preview { position: static; }
}

@media (max-width: 640px) {
  .site-editor-layout, .site-editor-inputs { grid-template-columns: 1fr; }
  .site-editor-menu { position: static; }
  .site-editor-menu nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-editor-menu button { padding-inline: .48rem; }
}
