body[data-shell="dashboard"] { background: var(--surface-page); }

.dash { display: grid; grid-template-columns: 272px minmax(0, 1fr); min-height: 100vh; }

/* ───── Sidebar ───── */
.dash-side {
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
  display: flex; flex-direction: column; gap: 20px;
  padding: 20px 16px; background: var(--surface-card); border-right: 1px solid var(--border);
}
.dash-side__top { display: flex; align-items: center; gap: 14px; padding: 0 8px; }
.dash-side__top .logo__word { height: 22px; }
.dash-side__top .logo { font-size: 1.1875rem; }
.dash-badge { font-size: var(--fs-xs); font-weight: 600; padding: 4px 10px; border-radius: var(--r-pill); background: var(--surface-tint); color: var(--action); }
.dash-side__close { display: none; margin-left: auto; }
.dash-biz { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: var(--r-md); background: var(--surface-tint); }
.dash-biz strong { display: block; line-height: 1.2; }
.dash-biz__status { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-xs); color: var(--success); font-weight: 600; }
.dash-nav ul { display: grid; gap: 2px; }
.dash-nav a {
  display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px;
  border-radius: var(--r-sm); text-decoration: none; font-weight: 580; color: var(--text-secondary);
  transition: background-color var(--t-fast), color var(--t-fast);
}
.dash-nav a:hover { background: var(--surface-tint); color: var(--text); }
.dash-nav a[aria-current="page"] { background: var(--action); color: var(--text-on-dark); }
.dash-nav__pct { margin-left: auto; font-size: var(--fs-xs); font-weight: 650; padding: 2px 8px; border-radius: var(--r-pill); background: var(--highlight-soft); color: var(--text); }
.dash-side__foot { margin-top: auto; display: grid; gap: 2px; padding-top: 16px; border-top: 1px solid var(--border); }
.dash-side__link { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 12px; border-radius: var(--r-sm); text-decoration: none; font-size: var(--fs-sm); font-weight: 560; }
.dash-side__link:hover { background: var(--surface-tint); }
.dash-owner { display: flex; align-items: center; gap: 10px; padding: 12px; margin-top: 8px; }
.dash-owner strong { display: block; font-size: var(--fs-sm); line-height: 1.2; }
.dash-owner .t-small { display: block; overflow: hidden; text-overflow: ellipsis; max-width: 170px; white-space: nowrap; }
.dash-reset { justify-self: start; margin-left: 12px; color: var(--text-tertiary); font-weight: 500; }
.dash-scrim { position: fixed; inset: 0; z-index: 59; background: rgba(23,36,29,.4); }

.dash-topbar { display: none; }
.dash-tabbar { display: none; }

.dash-main { min-width: 0; }
.dash-content { max-width: 1120px; margin: 0 auto; padding: clamp(24px, 4vw, 48px) clamp(16px, 4vw, 48px) 96px; outline: none; }

@media (max-width: 960px) {
  .dash { grid-template-columns: 1fr; }
  .dash-side {
    position: fixed; z-index: 60; left: 0; top: 0; bottom: 0; width: min(300px, 86vw);
    transform: translateX(-102%); transition: transform var(--t-med) var(--ease); box-shadow: var(--shadow-pop);
  }
  .dash-side.is-open { transform: none; }
  .dash-side__close { display: inline-grid; }
  .dash-topbar {
    display: flex; align-items: center; gap: 8px; position: sticky; top: 0; z-index: 30;
    height: 60px; padding: 0 8px; background: var(--surface-card); border-bottom: 1px solid var(--border);
  }
  .dash-topbar__title { font-weight: 680; flex: 1; }
  .dash-tabbar {
    display: grid; grid-template-columns: repeat(4, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    height: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
    background: var(--surface-card); border-top: 1px solid var(--border);
  }
  .dash-tabbar a { display: grid; place-items: center; align-content: center; gap: 2px; text-decoration: none; font-size: 0.75rem; font-weight: 580; color: var(--text-tertiary); }
  .dash-tabbar a[aria-current="page"] { color: var(--action); }
  .dash-content { padding-bottom: calc(var(--tabbar-h) + 96px); }
}

/* ───── Page head ───── */
.dash-head { display: flex; justify-content: space-between; align-items: end; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 28px; }
.dash-head__title { font-size: clamp(1.875rem, 1.4rem + 1.8vw, 2.625rem); }
.dash-head__sub { color: var(--text-secondary); margin-top: 8px; max-width: 60ch; }
.dash-head__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.dash-content > .back-link { margin-bottom: 4px; }

.panel { background: var(--surface-card); border-radius: var(--r-md); padding: 24px; border: 1px solid var(--border); }
.panel__head { display: flex; justify-content: space-between; align-items: start; gap: 12px; margin-bottom: 16px; }

.dash-block { margin-bottom: 20px; }
.dash-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.dash-grid--2 { margin-top: 20px; }
@media (max-width: 860px) { .dash-grid { grid-template-columns: 1fr; } }

/* ───── Overview ───── */
.quick-actions { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.qa {
  display: flex; gap: 14px; align-items: flex-start; width: 100%; height: 100%; min-height: 88px;
  padding: 18px; border-radius: var(--r-md); border: 1px solid var(--border); background: var(--surface-card);
  text-align: left; text-decoration: none; color: var(--text);
  transition: border-color var(--t-fast), background-color var(--t-fast), transform var(--t-fast) var(--ease);
}
.qa:hover { border-color: var(--action); background: var(--action-soft); }
.qa:active { transform: scale(0.99); }
.qa svg { color: var(--action); flex: none; margin-top: 2px; }
.qa > span { display: grid; gap: 2px; }
.qa strong { font-size: var(--fs-md); }
.qa > span > span { font-size: var(--fs-xs); color: var(--text-secondary); }
@media (max-width: 1100px) { .quick-actions { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .qa { padding: 14px; gap: 10px; } }

.profile-status { display: grid; gap: 14px; }
.profile-status__live { display: flex; align-items: center; gap: 8px; font-weight: 620; color: var(--success); }
.complete { display: grid; gap: 8px; }
.complete__top { display: flex; justify-content: space-between; font-size: var(--fs-sm); }
.todo { list-style: none; padding: 0; display: grid; }
.todo a {
  display: grid; grid-template-columns: 20px 1fr 16px; gap: 10px; align-items: center;
  min-height: 48px; padding: 8px 0; border-top: 1px solid var(--border); text-decoration: none; font-size: var(--fs-sm); font-weight: 540;
}
.todo a:hover span { text-decoration: underline; }
.todo a > svg:first-child { color: var(--action); }

.glances { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border-radius: var(--r-sm); overflow: hidden; }
.glance { display: grid; gap: 2px; padding: 16px; background: var(--surface-card); }
.glance__value { font-family: var(--font-display); font-size: 1.875rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.glance__label { font-size: var(--fs-sm); font-weight: 580; }

.dash-events { list-style: none; padding: 0; display: grid; gap: 4px; }
.dash-events li { display: flex; gap: 14px; align-items: center; padding: 8px 0; }
.dash-events li > div { display: grid; gap: 1px; }
.dash-events a { text-decoration: none; }
.dash-events a:hover { text-decoration: underline; }
.empty--small { padding: 20px; }

.activity { list-style: none; padding: 0; display: grid; }
.activity li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; padding: 10px 0; font-size: var(--fs-sm); }
.activity li + li { border-top: 1px solid var(--border); }
.activity__icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--surface-tint); }
.activity .t-small { display: block; }

/* ───── Hours editor ───── */
.hours-edit { display: grid; }
.hours-edit__row {
  display: grid; grid-template-columns: 110px 120px 1fr auto; align-items: center; gap: 8px 16px;
  padding: 8px 0; border-bottom: 1px solid var(--border);
}
.hours-edit__day { font-weight: 620; font-size: var(--fs-sm); }
.hours-edit__state { min-width: 50px; font-weight: 500; color: var(--text-secondary); }
.hours-edit__times { display: flex; align-items: center; gap: 8px; font-size: var(--fs-sm); color: var(--text-secondary); }
.hours-edit__times .input { min-height: 40px; padding: 6px 10px; max-width: 140px; }
.hours-edit__row.is-closed .hours-edit__times { opacity: 0.4; }
.hours-edit__row.has-error .input { border-color: var(--danger); }
.hours-edit__copy { color: var(--text-secondary); font-weight: 560; }
@media (max-width: 640px) {
  .hours-edit__row { grid-template-columns: 1fr auto; }
  .hours-edit__times { grid-column: 1 / -1; }
  .hours-edit__row.is-closed .hours-edit__times { display: none; }
  .hours-edit__copy { grid-column: 1 / -1; justify-self: start; }
  .hours-edit__row.is-closed .hours-edit__copy { display: none; }
}
#qh-error { margin-top: 12px; }

/* ───── Profile editor ───── */
.profile-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; align-items: start; }
.profile-nav { position: sticky; top: 24px; display: grid; gap: 16px; }
.profile-nav ul { display: grid; gap: 2px; }
.profile-nav a { display: flex; align-items: center; justify-content: space-between; min-height: 40px; padding: 0 12px; border-radius: var(--r-sm); text-decoration: none; font-size: var(--fs-sm); font-weight: 560; color: var(--text-secondary); }
.profile-nav a:hover { background: var(--surface-card); color: var(--text); }
.dot-todo { width: 8px; height: 8px; border-radius: 50%; background: var(--highlight-strong); }
.profile-nav__pct { display: grid; gap: 6px; padding: 0 12px; }
@media (max-width: 960px) {
  .profile-layout { grid-template-columns: 1fr; gap: 16px; }
  .profile-nav { position: sticky; top: 60px; z-index: 10; background: var(--surface-tint); margin-inline: -16px; padding: 8px 16px; }
  .profile-nav ul { display: flex; overflow-x: auto; scrollbar-width: none; }
  .profile-nav a { white-space: nowrap; }
  .profile-nav__pct { display: none; }
}

.profile-form { display: grid; gap: 20px; }
.form-section { display: grid; gap: 4px; scroll-margin-top: 24px; transition: box-shadow 400ms var(--ease); }
.form-section > h2 { margin-bottom: 8px; }
.form-section > .t-meta { margin-bottom: 12px; }
.form-section.is-highlight { box-shadow: 0 0 0 3px var(--highlight); }
@media (max-width: 960px) { .form-section { scroll-margin-top: 120px; } }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.field-row .field + .field { margin-top: 0; }
.field-row--3 { grid-template-columns: 1.4fr 1fr 1fr; }
.form-section .field-row:first-child { margin-top: 0; }
@media (max-width: 640px) { .field-row, .field-row--3 { grid-template-columns: 1fr; } }
.label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.counter { font-size: var(--fs-xs); color: var(--text-tertiary); font-variant-numeric: tabular-nums; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0 16px; }
fieldset.field { border: 0; padding: 0; margin-inline: 0; }
fieldset.field legend { margin-bottom: 6px; padding: 0; }

.form-summary { padding: 16px 18px; border-radius: var(--r-md); background: var(--danger-soft); color: var(--danger); outline: none; }
.form-summary strong { display: flex; align-items: center; gap: 8px; }
.form-summary ul { margin: 8px 0 0; padding-left: 26px; }
.form-summary a { color: var(--danger); }

.offer-edit { list-style: none; padding: 0; display: grid; gap: 12px; margin: 8px 0 16px; }
.offer-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; padding: 14px; border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--surface-card); }
.offer-row__fields { display: grid; grid-template-columns: 1.2fr 1.6fr 110px; gap: 12px; }
.offer-row__fields .field + .field { margin-top: 0; }
.offer-row__fields .input { min-height: 42px; padding-block: 8px; }
.offer-row__tools { display: flex; }
@media (max-width: 720px) { .offer-row { grid-template-columns: 1fr; } .offer-row__fields { grid-template-columns: 1fr 100px; } .offer-row__fields .field:first-child { grid-column: 1 / -1; } .offer-row__tools { justify-content: flex-end; } }

.photo-edit { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin-top: 8px; }
.photo-edit__tile { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-sm); overflow: hidden; background: var(--surface-tint); }
.photo-edit__tile img { width: 100%; height: 100%; object-fit: cover; }
.photo-edit__label { position: absolute; left: 8px; top: 8px; padding: 2px 8px; border-radius: var(--r-pill); background: var(--surface-card); font-size: var(--fs-xs); font-weight: 600; }
.photo-edit__tile[data-key="hero"] .photo-edit__label { background: var(--highlight); }
.photo-edit__tools { position: absolute; left: 6px; right: 6px; bottom: 6px; display: flex; justify-content: space-between; align-items: center; gap: 6px; opacity: 0; transition: opacity var(--t-fast); }
.photo-edit__tools .icon-btn { background: var(--surface-card); width: 38px; height: 38px; margin-left: auto; }
.photo-edit__tools .btn { min-height: 34px; padding: 0 12px; }
.photo-edit__tile:hover .photo-edit__tools, .photo-edit__tile:focus-within .photo-edit__tools { opacity: 1; }
@media (hover: none) { .photo-edit__tools { opacity: 1; } }
.photo-edit__tile--empty { display: grid; place-items: center; align-content: center; gap: 6px; padding: 12px; text-align: center; border: 1.5px dashed var(--border-strong); background: transparent; color: var(--text-secondary); }
.photo-edit__add label {
  display: grid; place-items: center; align-content: center; gap: 4px; height: 100%; aspect-ratio: 4 / 3;
  border: 1.5px dashed var(--border-strong); border-radius: var(--r-sm); cursor: pointer; color: var(--text-secondary);
  transition: border-color var(--t-fast), background-color var(--t-fast);
}
.photo-edit__add label:hover { border-color: var(--action); background: var(--action-soft); color: var(--action); }
.photo-edit__add label:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }

.save-bar { position: fixed; left: 272px; right: 0; bottom: 20px; z-index: 50; display: flex; justify-content: center; padding: 0 16px; pointer-events: none; animation: toast-in var(--t-med) var(--ease); }
.save-bar__inner { pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; width: min(640px, 100%); padding: 10px 10px 10px 18px; border-radius: var(--r-pill); background: var(--text); color: var(--text-on-dark); box-shadow: var(--shadow-pop); }
.save-bar__inner > span { display: flex; align-items: center; gap: 8px; font-size: var(--fs-sm); font-weight: 560; }
.save-bar__inner > div { display: flex; gap: 6px; }
.save-bar .btn--ghost { --btn-fg: var(--text-on-dark); }
.save-bar .btn--ghost:hover { --btn-bg: rgba(255,255,255,.1); }
@media (max-width: 960px) { .save-bar { left: 0; bottom: calc(var(--tabbar-h) + 12px + env(safe-area-inset-bottom)); } .save-bar__inner > span { font-size: var(--fs-xs); } }

/* ───── Posts & events ───── */
.dash-tabs { margin-bottom: 16px; }
.tab-count { margin-left: 6px; font-size: var(--fs-xs); padding: 1px 7px; border-radius: 99px; background: var(--surface-feature); color: var(--text-secondary); }
.content-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.content-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 16px; align-items: center; padding: 14px 16px; background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--r-md); }
.content-item__thumb { width: 72px; height: 72px; object-fit: cover; border-radius: var(--r-sm); }
.content-item__thumb--text { display: grid; place-items: center; background: var(--surface-tint); color: var(--text-tertiary); }
.content-item__body { display: grid; gap: 2px; min-width: 0; }
.content-item__title { font-weight: 650; font-size: var(--fs-md); }
.content-item__excerpt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.content-item__actions { display: flex; align-items: center; gap: 4px; }
.pill-status { font-size: var(--fs-xs); font-weight: 650; padding: 3px 10px; border-radius: 99px; background: var(--action-soft); color: var(--action); }
@media (max-width: 760px) {
  .content-item { grid-template-columns: auto minmax(0, 1fr); }
  .pill-status { grid-column: 2; justify-self: start; grid-row: 2; }
  .content-item__actions { grid-column: 1 / -1; justify-content: flex-end; border-top: 1px solid var(--border); padding-top: 8px; }
}

/* ───── Composers ───── */
.composer { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 28px; align-items: start; }
.composer__form { display: grid; gap: 20px; }
.composer__form.panel { gap: 0; }
.composer__preview { position: sticky; top: 24px; display: grid; gap: 10px; }
.preview-frame { background: var(--surface-card); border-radius: var(--r-md); border: 1px solid var(--border); padding: 4px 20px; }
.preview-frame .post { border-bottom: 0; }
.preview-frame--event { padding: 0; overflow: hidden; }
.composer__actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.composer__form:not(.panel) .composer__actions { margin-top: 0; }
@media (max-width: 1100px) { .composer { grid-template-columns: 1fr; } .composer__preview { position: static; } }

.type-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.type-picker--2 { grid-template-columns: 1fr 1fr; margin-bottom: 8px; }
.type-option { position: relative; cursor: pointer; }
.type-option input { position: absolute; opacity: 0; }
.type-option > span {
  display: grid; gap: 2px; height: 100%; padding: 12px 14px; border-radius: var(--r-sm);
  border: 1.5px solid var(--border-strong); transition: border-color var(--t-fast), background-color var(--t-fast);
}
.type-option:hover > span { border-color: var(--text-tertiary); }
.type-option input:checked + span { border-color: var(--action); background: var(--action-soft); }
.type-option input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
@media (max-width: 640px) { .type-picker, .type-picker--2 { grid-template-columns: 1fr; } }

.photo-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.photo-pick label { position: relative; cursor: pointer; aspect-ratio: 1; border-radius: var(--r-sm); overflow: hidden; }
.photo-pick input { position: absolute; opacity: 0; }
.photo-pick img { width: 100%; height: 100%; object-fit: cover; transition: opacity var(--t-fast); }
.photo-pick label:has(input:checked) { outline: 3px solid var(--action); outline-offset: 2px; }
.photo-pick label:has(input:checked)::after { content: ""; position: absolute; right: 6px; top: 6px; width: 20px; height: 20px; border-radius: 50%; background: var(--action) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.photo-pick label:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.photo-pick__none span { display: grid; place-items: center; align-content: center; gap: 4px; height: 100%; border: 1.5px dashed var(--border-strong); border-radius: var(--r-sm); font-size: var(--fs-xs); color: var(--text-secondary); text-align: center; }

.capacity, .price-field { margin-top: 10px; }
.form-section .switch { margin-top: 4px; }
.form-section .field-row:has(.switch) { align-items: end; }

.preview-event img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.preview-event__body { display: grid; gap: 10px; padding: 18px 20px 22px; justify-items: start; }
.preview-event__when { display: flex; gap: 12px; align-items: center; }
.preview-event__when .date-block { background: var(--event-soft); border-color: transparent; }
.preview-event .t-meta { display: flex; align-items: center; gap: 6px; }
.preview-event .serif { font-size: 1.0625rem; line-height: 1.5; color: var(--text-secondary); }

/* ───── Insights ───── */
.seg-link { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: var(--r-pill); text-decoration: none; font-size: var(--fs-sm); font-weight: 560; color: var(--text-secondary); }
.segmented .seg-link[aria-pressed="true"] { background: var(--surface-card); color: var(--text); box-shadow: 0 1px 2px rgba(23,36,29,.12); }
.dash-head .segmented { background: var(--surface-feature); }

.metric-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.metric {
  display: grid; gap: 4px; text-align: left; padding: 18px; border-radius: var(--r-md);
  border: 1.5px solid var(--border); background: var(--surface-card); color: var(--text);
  transition: border-color var(--t-fast);
}
.metric:hover { border-color: var(--text-tertiary); }
.metric[aria-pressed="true"] { border-color: var(--action); box-shadow: inset 0 -3px 0 var(--action); }
.metric__label { font-size: var(--fs-sm); font-weight: 600; color: var(--text-secondary); }
.metric__value { font-family: var(--font-display); font-size: clamp(1.625rem, 1.3rem + 1.1vw, 2.125rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.metric__change { font-size: var(--fs-xs); color: var(--text-tertiary); }
@media (max-width: 860px) { .metric-tiles { grid-template-columns: 1fr 1fr; } }

.chart { position: relative; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart__tick { font-size: 12px; fill: var(--text-tertiary); font-family: var(--font-sans); font-variant-numeric: tabular-nums; }
.chart__bar { cursor: default; }
.chart__bar path { transition: opacity var(--t-fast); }
.chart__bar.is-dim path { opacity: 0.35; }
.chart__tip {
  position: absolute; top: -8px; transform: translate(-50%, -100%); pointer-events: none;
  display: grid; gap: 2px; padding: 8px 12px; border-radius: var(--r-sm);
  background: var(--text); color: var(--text-on-dark); font-size: var(--fs-xs); white-space: nowrap; box-shadow: var(--shadow-pop);
}
.chart__tip strong { font-size: var(--fs-sm); }
.chart__tip span { color: rgba(255,255,255,.7); }
.chart-table { margin-top: 16px; max-height: 320px; overflow: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }
.data-table th, .data-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--border); }
.data-table td:last-child, .data-table th:last-child { text-align: right; }
.data-table thead th { position: sticky; top: 0; background: var(--surface-card); font-weight: 650; }

.insight-notes { list-style: none; padding: 0; display: grid; gap: 14px; margin-top: 14px; }
.insight-notes li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; font-size: var(--fs-sm); line-height: 1.5; }
.insight-notes svg { color: var(--action); }
.field-row + .field, .field-row + fieldset.field { margin-top: 18px; }
.form-section > .field:first-of-type, .form-section > h2 + .field-row { margin-top: 0; }
.form-section > .btn, .form-section > .switch { justify-self: start; }
.type-option .t-small { color: var(--text-secondary); }
