@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dm-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dm-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("/fonts/playfair-display-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  --ink: #0b1d21;
  --ink-soft: #173238;
  --paper: #f5f4ef;
  --white: #ffffff;
  --gold: #c9a45d;
  --line: #d9dedb;
  --muted: #667579;
  --green: #1f7a55;
  --red: #a63d3d;
}

* { box-sizing: border-box; }
html { color-scheme: light; }
body {
  margin: 0;
  background: #eef1ef;
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  letter-spacing: 0;
}
button, input, select, textarea { font: inherit; letter-spacing: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 9px 12px;
  background: var(--white);
  color: var(--ink);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }

.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand > span:last-child { display: grid; gap: 2px; }
.brand strong { font-size: 15px; letter-spacing: 0.06em; }
.brand small { font-size: 7px; font-weight: 600; letter-spacing: 0.18em; }
.brand-mark { width: 38px; height: 38px; display: flex; align-items: end; justify-content: center; gap: 3px; padding: 8px; border: 1px solid currentColor; }
.brand-mark b { width: 4px; background: currentColor; }
.brand-mark b:nth-child(1) { height: 12px; }
.brand-mark b:nth-child(2) { height: 20px; }
.brand-mark b:nth-child(3) { height: 15px; }
.brand-logo-mark { align-items: center; padding: 2px; overflow: hidden; background: rgba(255, 255, 255, .08); }
.brand-logo-mark img { width: 100%; height: 100%; object-fit: contain; }

.auth-layout { min-height: 100vh; display: grid; grid-template-columns: minmax(360px, 520px) 1fr; background: var(--paper); }
.login-panel { display: flex; flex-direction: column; padding: 44px clamp(34px, 6vw, 82px); }
.login-heading { margin: auto 0 32px; }
.login-heading p, .admin-header p, .dialog-header p { margin: 0 0 8px; color: var(--gold); font-size: 10px; font-weight: 600; letter-spacing: 0.16em; }
.login-heading h1 { margin: 0; font-family: "Playfair Display", Georgia, serif; font-size: 48px; font-weight: 500; line-height: 1.05; }
.login-form { display: grid; gap: 19px; }
.activation-intro { margin: -4px 0 2px; color: var(--muted); font-size: 12px; line-height: 1.6; }
label { display: grid; gap: 7px; min-width: 0; }
label > span:first-child { color: #516267; font-size: 11px; font-weight: 600; text-transform: uppercase; }
input, select, textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cad1cd;
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  padding: 10px 12px;
  outline: none;
}
textarea { resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 2px rgba(11, 29, 33, 0.1); }
.password-field { position: relative; display: block; }
.password-field input { padding-right: 50px; }
.password-field .icon-button { position: absolute; top: 4px; right: 4px; }
.form-error { margin: -4px 0 0; color: var(--red); font-size: 12px; }
.primary-button, .secondary-button, .danger-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 10px 17px;
  font-weight: 600;
}
.primary-button { background: var(--ink); color: var(--white); }
.primary-button:hover { background: var(--ink-soft); }
.primary-button.wide { width: 100%; justify-content: space-between; padding-inline: 18px; }
.secondary-button { border-color: #c6ceca; background: var(--white); color: var(--ink); }
.danger-button { background: var(--red); color: var(--white); }
.primary-button svg, .secondary-button svg { width: 17px; height: 17px; }
.icon-button { width: 38px; height: 38px; display: inline-grid; place-items: center; border: 0; border-radius: 4px; background: transparent; color: inherit; }
.icon-button:hover { background: rgba(11, 29, 33, 0.08); }
.icon-button svg { width: 18px; height: 18px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; color: var(--muted); font-size: 12px; text-decoration: none; }
.back-link svg { width: 15px; }
.login-image { min-height: 100vh; background: linear-gradient(rgba(11, 29, 33, 0.12), rgba(11, 29, 33, 0.24)), url("/assets/hero.jpg") center / cover; }

.dashboard { min-height: 100vh; display: grid; grid-template-columns: 248px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 28px 22px 22px; background: var(--ink); color: var(--white); }
.brand-light { margin: 0 8px 54px; }
.sidebar nav { display: grid; gap: 5px; }
.nav-item { width: 100%; min-height: 43px; display: flex; align-items: center; gap: 11px; border: 0; border-radius: 4px; padding: 0 12px; background: transparent; color: rgba(255,255,255,.68); text-decoration: none; text-align: left; }
.nav-item svg { width: 18px; }
.nav-item:hover, .nav-item.is-active { background: rgba(255,255,255,.09); color: var(--white); }
.sidebar-footer { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.13); }
.user-chip { min-width: 0; flex: 1; display: flex; align-items: center; gap: 10px; }
.user-chip > span { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: 11px; font-weight: 600; }
.user-chip div { min-width: 0; display: grid; }
.user-chip strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.user-chip small { color: rgba(255,255,255,.5); font-size: 9px; }
.icon-button.light:hover { background: rgba(255,255,255,.1); }

.admin-main { min-width: 0; padding: 45px clamp(24px, 5vw, 72px) 70px; }
.admin-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.admin-header h1 { margin: 0; font-family: "Playfair Display", Georgia, serif; font-size: 46px; font-weight: 500; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 34px 0 42px; border: 1px solid var(--line); background: var(--line); }
.stats div { min-height: 92px; display: flex; align-items: end; justify-content: space-between; gap: 16px; padding: 20px; background: var(--white); }
.stats span { color: var(--muted); font-size: 12px; }
.stats strong { font-family: "Playfair Display", Georgia, serif; font-size: 34px; font-weight: 500; }
.properties-section { background: var(--white); border: 1px solid var(--line); }
.section-toolbar { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.section-toolbar h2 { margin: 0; font-size: 15px; }
.search-field { position: relative; width: min(260px, 45%); }
.search-field svg { position: absolute; top: 13px; left: 12px; width: 16px; color: var(--muted); }
.search-field input { min-height: 40px; padding-left: 37px; }
.property-list { display: grid; }
.property-row { min-width: 0; display: grid; grid-template-columns: 78px minmax(190px, 1.5fr) minmax(120px, .7fr) minmax(100px, .6fr) 112px; align-items: center; gap: 18px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.property-row:last-child { border-bottom: 0; }
.property-row > img { width: 78px; aspect-ratio: 4 / 3; object-fit: cover; background: #e1e5e2; }
.property-title { min-width: 0; }
.property-title strong, .property-title span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.property-title strong { font-size: 13px; }
.property-title span { margin-top: 4px; color: var(--muted); font-size: 10px; }
.property-price { font-size: 12px; font-weight: 600; }
.status-pill { width: max-content; padding: 6px 8px; border-radius: 3px; background: #e9f4ee; color: var(--green); font-size: 9px; font-weight: 600; text-transform: uppercase; }
.status-pill.draft { background: #f0f0ed; color: var(--muted); }
.row-actions { display: flex; justify-content: end; gap: 2px; }
.row-actions .delete-action { color: var(--red); }
.empty-state { padding: 60px 20px; text-align: center; }
.empty-state svg { width: 28px; color: var(--gold); }
.empty-state h3 { margin: 16px 0 6px; font-family: "Playfair Display", Georgia, serif; font-size: 25px; font-weight: 500; }
.empty-state p { margin: 0; color: var(--muted); font-size: 12px; }

dialog { border: 0; padding: 0; color: var(--ink); }
dialog::backdrop { background: rgba(4, 15, 18, .62); }
.editor-dialog { width: min(780px, calc(100vw - 32px)); max-height: calc(100vh - 32px); border-radius: 6px; }
.editor-dialog form { display: flex; max-height: calc(100vh - 32px); flex-direction: column; }
.dialog-header { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; border-bottom: 1px solid var(--line); background: var(--white); }
.dialog-header h2 { margin: 0; font-family: "Playfair Display", Georgia, serif; font-size: 30px; font-weight: 500; }
.dialog-body { overflow: auto; padding: 4px 24px 26px; background: #f8f8f5; }
.form-section { padding: 23px 0; border-bottom: 1px solid var(--line); }
.form-section:last-child { border-bottom: 0; }
.form-section h3 { margin: 0 0 17px; font-size: 12px; }
.form-grid { display: grid; gap: 16px; }
.two-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.four-columns { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.full { grid-column: 1 / -1; }
.unit-field { position: relative; display: block; }
.unit-field input { padding-right: 38px; }
.unit-field b { position: absolute; top: 14px; right: 11px; color: var(--muted); font-size: 11px; }
.image-upload { position: relative; min-height: 220px; overflow: hidden; border: 1px dashed #9eaaa4; border-radius: 4px; background: var(--white); cursor: pointer; }
.image-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-placeholder { min-height: 220px; display: grid; place-items: center; align-content: center; gap: 8px; color: var(--muted); text-align: center; }
.upload-placeholder svg { width: 26px; color: var(--gold); }
.upload-placeholder strong { color: var(--ink); font-size: 13px; }
.upload-placeholder small { font-size: 10px; }
.image-upload > img { width: 100%; height: 300px; object-fit: cover; }
.replace-image { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 7px; border-radius: 3px; padding: 8px 10px; background: rgba(11,29,33,.9); color: var(--white); font-size: 10px; }
.replace-image svg { width: 14px; }
.publish-settings { display: grid; grid-template-columns: 1fr 1fr 120px; gap: 14px; align-items: end; }
.publish-settings h3 { grid-column: 1 / -1; margin-bottom: 2px; }
.toggle-row { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--line); border-radius: 4px; padding: 10px 12px; background: var(--white); }
.toggle-row > span { display: grid; }
.toggle-row strong { font-size: 11px; }
.toggle-row small { color: var(--muted); font-size: 9px; }
.toggle-row input { width: 38px; min-height: 21px; accent-color: var(--ink); }
.order-field input { min-height: 38px; }
.dialog-footer { flex: none; display: flex; justify-content: end; gap: 10px; padding: 16px 24px; border-top: 1px solid var(--line); background: var(--white); }
.confirm-dialog { width: min(420px, calc(100vw - 32px)); border-radius: 6px; padding: 30px; text-align: center; }
.confirm-icon { width: 48px; height: 48px; display: grid; place-items: center; margin: 0 auto 18px; border-radius: 50%; background: #f8e9e9; color: var(--red); }
.confirm-icon svg { width: 20px; }
.confirm-dialog h2 { margin: 0; font-family: "Playfair Display", Georgia, serif; font-size: 28px; font-weight: 500; }
.confirm-dialog p { margin: 10px 0 24px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.confirm-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.password-dialog { width: min(500px, calc(100vw - 32px)); border-radius: 6px; }
.password-body { display: grid; gap: 16px; padding: 24px; }
.toast { position: fixed; z-index: 200; right: 24px; bottom: 24px; max-width: 360px; border-left: 4px solid var(--green); border-radius: 4px; padding: 13px 16px; background: var(--ink); color: var(--white); box-shadow: 0 18px 45px rgba(0,0,0,.18); font-size: 12px; }
.toast.error { border-left-color: var(--red); }

.admin-view { min-width: 0; }
.crm-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.crm-stats div:nth-child(3) strong { color: var(--red); }
.workspace-section { border: 1px solid var(--line); background: var(--white); }
.mini-kicker { margin: 0 0 5px; color: var(--gold); font-size: 9px; font-weight: 600; letter-spacing: .14em; }
.toolbar-filters { display: flex; align-items: center; justify-content: end; gap: 10px; }
.toolbar-filters > select { width: 170px; min-height: 40px; }
.task-list, .mini-task-list { display: grid; }
.task-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 13px 18px; border-bottom: 1px solid var(--line); }
.task-row:last-child { border-bottom: 0; }
.task-check { width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--muted); }
.task-check:hover { border-color: var(--green); color: var(--green); }
.task-copy { min-width: 0; display: grid; gap: 3px; }
.task-copy strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.task-copy span, .task-row time { color: var(--muted); font-size: 10px; }
.task-row.is-overdue time { color: var(--red); font-weight: 600; }
.empty-state.compact { padding: 42px 20px; }

.lead-table { display: grid; }
.lead-row { min-width: 0; display: grid; grid-template-columns: minmax(190px, 1.3fr) minmax(150px, 1fr) 130px minmax(130px, .8fr) 42px; align-items: center; gap: 18px; padding: 15px 18px; border-bottom: 1px solid var(--line); background: var(--white); text-align: left; }
.lead-row:last-child { border-bottom: 0; }
.lead-row:hover { background: #f8faf8; }
.rental-source { color: var(--muted); font-size: 12px; }
.rental-board { display: grid; }
.rental-row { min-width: 0; display: grid; grid-template-columns: minmax(190px, 1.3fr) minmax(150px, 1fr) 130px minmax(130px, .8fr); align-items: center; gap: 18px; padding: 15px 18px; border-bottom: 1px solid var(--line); background: var(--white); }
.rental-row:last-child { border-bottom: 0; }
.stay-section { margin-bottom: 24px; }
.stay-list { display: grid; }
.stay-row { min-width: 0; display: grid; grid-template-columns: minmax(120px, 1fr) minmax(150px, .8fr) minmax(175px, 1fr) 80px; align-items: center; gap: 16px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.stay-row:last-child { border-bottom: 0; }
.stay-identity { min-width: 0; display: grid; gap: 5px; overflow-wrap: anywhere; }
.stay-identity strong { font-size: 13px; }
.stay-identity > span:not(.status-pill) { color: var(--muted); font-size: 12px; }
.stay-row .row-actions { align-self: center; }
.stay-row .icon-button { flex: none; text-decoration: none; }
.stay-feedback { margin: 0; padding: 16px 18px; font-size: 12px; overflow-wrap: anywhere; }
.stay-note { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.stay-dialog .dialog-header h2 { font-family: "DM Sans", sans-serif; font-size: 20px; overflow-wrap: anywhere; }
.stay-dialog .dialog-header > div { min-width: 0; }
.stay-dialog .dialog-header > button { flex: none; }
.stay-dialog .form-error { line-height: 1.5; }
.stay-request-row { grid-template-columns: minmax(120px, 1fr) minmax(175px, 1fr) minmax(85px, .5fr) 80px; }
.lead-identity, .lead-contact, .lead-owner { min-width: 0; display: grid; gap: 4px; }
.lead-identity strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.lead-identity span, .lead-contact span, .lead-owner span { overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.lead-stage { width: max-content; max-width: 100%; display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 4px; padding: 6px 8px; background: var(--white); font-size: 10px; }
.lead-stage::before { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--stage-color, var(--gold)); content: ""; }
.priority-mark { color: var(--red); font-size: 9px; font-weight: 600; text-transform: uppercase; }

.pipeline-board { min-width: 0; display: grid; grid-auto-columns: minmax(250px, 1fr); grid-auto-flow: column; gap: 12px; margin-top: 34px; overflow-x: auto; padding-bottom: 14px; }
.pipeline-column { min-height: 520px; border: 1px solid var(--line); background: #f4f6f4; }
.pipeline-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px; border-top: 3px solid var(--stage-color, var(--gold)); border-bottom: 1px solid var(--line); background: var(--white); }
.pipeline-heading strong { font-size: 11px; }
.pipeline-heading span { min-width: 23px; min-height: 23px; display: grid; place-items: center; border-radius: 50%; background: #edf0ee; font-size: 9px; }
.pipeline-cards { display: grid; gap: 8px; padding: 10px; }
.pipeline-card { display: grid; gap: 9px; border: 1px solid var(--line); border-radius: 4px; padding: 13px; background: var(--white); color: var(--ink); text-align: left; box-shadow: 0 2px 6px rgba(11,29,33,.03); }
.pipeline-card:hover { border-color: #aeb9b3; }
.pipeline-card strong { font-size: 12px; }
.pipeline-card span { color: var(--muted); font-size: 10px; }
.pipeline-card footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 7px; border-top: 1px solid #edf0ee; }
.pipeline-card time { color: var(--muted); font-size: 9px; }

.lead-dialog { width: min(940px, calc(100vw - 32px)); }
.lead-followup { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.lead-followup-column { min-width: 0; }
.inline-entry { display: grid; gap: 8px; }
.inline-entry .secondary-button { justify-self: start; min-height: 38px; }
.timeline { display: grid; gap: 0; margin-top: 18px; }
.timeline-item { position: relative; display: grid; gap: 3px; padding: 0 0 16px 20px; }
.timeline-item::before { position: absolute; top: 4px; left: 2px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); content: ""; }
.timeline-item::after { position: absolute; top: 13px; bottom: 0; left: 5px; width: 1px; background: var(--line); content: ""; }
.timeline-item:last-child::after { display: none; }
.timeline-item strong { font-size: 10px; text-transform: uppercase; }
.timeline-item p { margin: 0; font-size: 11px; line-height: 1.5; }
.timeline-item time { color: var(--muted); font-size: 9px; }
.mini-task-list { margin-top: 18px; border: 1px solid var(--line); background: var(--white); }
.mini-task-list .task-row { grid-template-columns: 28px minmax(0, 1fr); padding: 10px; }
.mini-task-list .task-row time { grid-column: 2; }
.mini-task-list .task-check { width: 26px; height: 26px; }

@media (max-width: 1080px) {
  .stay-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 80px; }
  .stay-row > .stay-identity:nth-child(3) { grid-column: 1 / 3; grid-row: 2; }
  .stay-row > .row-actions { grid-column: 3; grid-row: 1 / 3; }
  .stay-request-row > .status-pill { grid-column: 1 / 3; }
  .auth-layout { grid-template-columns: 1fr; }
  .login-panel { min-height: 100vh; }
  .login-image { display: none; }
  .dashboard { grid-template-columns: 76px minmax(0, 1fr); }
  .sidebar { padding-inline: 13px; }
  .brand-light > span:last-child, .nav-item { font-size: 0; }
  .brand-light { justify-content: center; margin-inline: 0; }
  .nav-item { justify-content: center; padding: 0; }
  .user-chip div, .icon-button.light { display: none; }
  .user-chip { justify-content: center; }
  .property-row { grid-template-columns: 70px minmax(160px, 1.5fr) minmax(100px, .7fr) 100px; }
  .property-row > .status-pill { display: none; }
  .four-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .crm-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lead-row { grid-template-columns: minmax(180px, 1.3fr) minmax(130px, 1fr) 120px 42px; }
  .rental-row { grid-template-columns: minmax(180px, 1.3fr) minmax(130px, 1fr) 120px; }
  .lead-owner { display: none; }
}

@media (max-width: 640px) {
  .stay-row { grid-template-columns: minmax(0, 1fr) 80px; gap: 12px; padding: 14px; }
  .stay-row > .stay-identity, .stay-row > .stay-identity:nth-child(3), .stay-request-row > .status-pill { grid-column: 1; grid-row: auto; }
  .stay-row > .row-actions { grid-column: 2; grid-row: 1 / 4; }
  .dashboard { display: block; }
  .sidebar { position: static; width: 100%; height: 66px; flex-direction: row; align-items: center; padding: 9px 14px; }
  .brand-light { margin: 0 auto 0 0; }
  .brand-light .brand-mark { width: 36px; height: 36px; }
  .sidebar nav { display: none; }
  .sidebar-footer { margin: 0; padding: 0; border: 0; }
  .admin-main { padding: 28px 14px 50px; }
  .admin-header { align-items: end; }
  .admin-header h1 { font-size: 38px; }
  .admin-header > .primary-button span { display: none; }
  .stats { margin: 24px 0; }
  .crm-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats div { min-height: 74px; display: grid; align-content: space-between; padding: 14px; }
  .stats strong { font-size: 27px; }
  .section-toolbar { align-items: stretch; flex-direction: column; }
  .toolbar-filters { align-items: stretch; flex-direction: column; }
  .toolbar-filters > select { width: 100%; }
  .search-field { width: 100%; }
  .property-row { grid-template-columns: 64px minmax(0, 1fr) 76px; gap: 11px; padding: 12px; }
  .property-row > img { width: 64px; }
  .property-row > .property-price { display: none; }
  .lead-row { grid-template-columns: minmax(0, 1fr) 110px 38px; gap: 10px; padding: 12px; }
  .rental-row { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 12px; }
  .lead-contact, .lead-owner { display: none; }
  .lead-followup { grid-template-columns: 1fr; }
  .row-actions { gap: 0; }
  .two-columns, .four-columns, .publish-settings { grid-template-columns: 1fr; }
  .publish-settings h3 { grid-column: auto; }
  .dialog-header, .dialog-footer { padding-inline: 16px; }
  .dialog-body { padding-inline: 16px; }
  .dialog-footer { display: grid; grid-template-columns: 1fr 1fr; }
  .dialog-footer .primary-button span { display: inline; }
}
