/*
 * Host area — badge, page container, properties list, crew list, add property form.
 */
@layer areas {

/* Host dashboard layout: components/host_dashboard.css */

/* Tighter layout on grade recording page to reduce whitespace */
.host-page--grade-recording .page-header {
  margin-bottom: var(--space-4);
}

.host-page--grade-recording .card {
  padding: var(--space-4) var(--space-5);
}

.host-page--deep-clean {
  background: radial-gradient(
    ellipse 90% 45% at 50% -15%,
    color-mix(in srgb, var(--color-primary) 14%, transparent) 0%,
    transparent 58%
  );
}

.host-page--deep-clean .page-header {
  margin-bottom: var(--space-5);
}

.host-page--deep-clean .deep-clean-hub {
  max-width: 52rem;
  margin-inline: auto;
}

.host-page--backlog {
  background: radial-gradient(
    ellipse 90% 45% at 50% -15%,
    color-mix(in srgb, var(--color-primary) 12%, transparent) 0%,
    transparent 58%
  );
}

.host-page--backlog .page-header {
  margin-bottom: var(--space-5);
}

.host-page--backlog .property-backlog-hub {
  max-width: min(72rem, 100%);
  margin-inline: auto;
}

/* Deep clean: choose property (multi-home hosts) */
.host-page--deep-clean-landing .host-deep-clean-landing-list {
  list-style: none;
  margin: 0 0 var(--space-8);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 40rem;
}

.host-deep-clean-landing-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  text-decoration: none;
  color: inherit;
}

.host-deep-clean-landing-card__title {
  font-family: "Outfit", var(--font-sans);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text);
}

.host-deep-clean-landing-card__listing {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.4;
}

.host-deep-clean-landing-card__meta {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.45;
}

.host-deep-clean-landing-card__action {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  margin-top: var(--space-1);
}

.host-deep-clean-landing-back {
  margin: 0;
}

.host-deep-clean-landing-back__link {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
}

.host-deep-clean-landing-back__link:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

.host-badge {
  display: inline-block;
  padding: var(--space-1) var(--space-2);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius);
  margin-left: var(--space-2);
  background: var(--color-success);
  color: #fff;
}

.host-page .card {
  max-width: 67rem;
}

/* Host Wi‑Fi modal: shell lives in components/modal.css (.modal); rules below scope form content inside .host-wifi-modal */

.host-wifi-modal .host-property-wifi__title {
  display: none;
}

/* Wi‑Fi modal — form and content styling */
.host-wifi-modal .host-property-wifi__hint {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin: 0 0 var(--space-5);
  line-height: 1.5;
}

.host-wifi-modal .host-property-wifi__notice {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #fff;
  padding: var(--space-3) var(--space-4);
  border-radius: 9999px;
  font-size: var(--text-sm);
  font-weight: 500;
  margin: 0 0 var(--space-5);
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.25);
}

.host-wifi-modal .host-property-wifi__current {
  margin-bottom: var(--space-5);
  padding: var(--space-4);
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid color-mix(in srgb, var(--color-text) 6%, transparent);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 2px color-mix(in srgb, var(--color-text) 3%, transparent);
}

.host-wifi-modal .host-property-wifi__current-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-1);
  margin: 0 0 var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text);
}

.host-wifi-modal .host-property-wifi__current-line:last-of-type {
  margin-bottom: var(--space-3);
}

.host-wifi-modal .host-property-wifi__copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  padding: 0;
  color: var(--color-text-muted, #64748b);
  background: color-mix(in srgb, var(--color-text) 6%, transparent);
  border: 1px solid color-mix(in srgb, var(--color-text) 10%, transparent);
  border-radius: var(--radius);
  cursor: pointer;
  transition: color var(--duration-fast) var(--ease-default), background var(--duration-fast) var(--ease-default);
}

.host-wifi-modal .host-property-wifi__copy-btn:hover:not(:disabled) {
  color: var(--color-text, #0f172a);
  background: color-mix(in srgb, var(--color-text) 10%, transparent);
}

.host-wifi-modal .host-property-wifi__copy-btn:focus-visible {
  outline: 2px solid var(--color-primary, #ea580c);
  outline-offset: 2px;
}

.host-wifi-modal .host-property-wifi__copy-btn:disabled {
  cursor: default;
}

.host-wifi-modal .host-property-wifi__copy-icon {
  width: 1rem;
  height: 1rem;
  display: block;
}

.host-wifi-modal .host-property-wifi__copy-btn-feedback {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-primary, #ea580c);
}

.host-wifi-modal .host-property-wifi__view-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.host-wifi-modal .host-property-wifi__empty {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin: 0 0 var(--space-4);
}

.host-wifi-modal .host-property-wifi__remove {
  margin: 0;
}

/* Modal layout: slightly looser field spacing than inline Wi‑Fi form (controls: form_group.css modifiers). */
.host-wifi-modal .host-property-wifi-form .form-group {
  margin-bottom: var(--space-4);
}

.host-wifi-modal .host-property-wifi-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-5);
  padding-top: var(--space-2);
}

.host-wifi-modal .host-property-wifi-form__actions .btn--primary {
  flex: 1;
  min-width: 6rem;
}

.host-wifi-modal .host-property-wifi-form__actions .btn--primary:only-child {
  width: 100%;
}

.host-wifi-modal .host-property-wifi-form .btn--primary {
  width: 100%;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-md);
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background var(--duration-normal) var(--ease-default), transform var(--duration-fast) var(--ease-default);
}

.host-wifi-modal .host-property-wifi-form .btn--primary:hover {
  transform: translateY(-1px);
}

.host-wifi-modal .host-property-wifi-form .btn--primary:active {
  transform: translateY(0);
}

/* Wi‑Fi form content (shared by modal body and turbo frame response) */
.host-property-wifi {
  margin: 0;
}

.host-property-wifi__title {
  font-size: var(--text-lg);
  font-weight: 600;
  margin: 0 0 var(--space-1);
}

.host-property-wifi__hint {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin: 0 0 var(--space-4);
}

.host-property-wifi__notice {
  background: var(--color-success);
  color: #fff;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  margin: 0 0 var(--space-4);
}

.host-property-wifi__current {
  margin-bottom: var(--space-4);
  padding: var(--space-3);
  background: var(--color-surface);
  border: 1px solid color-mix(in srgb, var(--color-text) 8%, transparent);
  border-radius: var(--radius-md);
}

.host-property-wifi__current-line {
  margin: 0 0 var(--space-2);
  font-size: var(--text-sm);
}

.host-property-wifi__current-line:last-of-type {
  margin-bottom: var(--space-3);
}

.host-property-wifi__remove {
  margin-top: var(--space-2);
}

.host-property-wifi-form__actions {
  margin-top: var(--space-3);
}

.host-property-wifi__errors {
  margin-bottom: var(--space-3);
}

.host-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

/* Page header spacing overrides (layout); shell: components/page_header.css */
.host-page .page-header--host-properties {
  margin-bottom: var(--space-4);
}

/* Property sub-hubs (backlog, deep clean): separate header block from hub content */
.host-page--backlog .page-header--host-properties.page-header--property-context,
.host-page--deep-clean .page-header--host-properties.page-header--property-context {
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid color-mix(in srgb, var(--color-text) 8%, transparent);
}

.host-page .page-header--host-checklists-index {
  margin-bottom: var(--space-6);
}

/* Supplement address — hero + callout (post-import) */
.host-page--supplement-address {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.host-supplement-address__hero {
  margin-bottom: var(--space-6);
}

.host-supplement-address__kicker {
  margin: 0 0 var(--space-2);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.host-supplement-address__property-name {
  margin: 0 0 var(--space-5);
  font-family: "Outfit", var(--font-sans);
  font-size: clamp(1.375rem, 4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--color-text);
  background: linear-gradient(120deg, #0f172a 0%, #334155 55%, #c2410c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@supports not (background-clip: text) {
  .host-supplement-address__property-name {
    color: var(--color-text);
    background: none;
    -webkit-text-fill-color: unset;
  }
}

.host-supplement-address__callout {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  border: 1px solid color-mix(in srgb, var(--color-primary) 18%, transparent);
  background: linear-gradient(135deg, rgba(255, 247, 237, 0.95) 0%, rgba(254, 243, 199, 0.35) 50%, rgba(241, 245, 249, 0.65) 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 4px 20px color-mix(in srgb, var(--color-text) 6%, transparent);
}

.host-supplement-address__callout-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-md);
  color: #c2410c;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid color-mix(in srgb, var(--color-primary) 20%, transparent);
  box-shadow: 0 1px 2px color-mix(in srgb, var(--color-text) 6%, transparent);
}

.host-supplement-address__callout-icon svg {
  display: block;
}

.host-supplement-address__explainer {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text);
}

.host-supplement-address__card {
  padding: var(--space-6) var(--space-5);
  border: 1px solid color-mix(in srgb, var(--color-text) 8%, transparent);
  box-shadow: 0 2px 12px color-mix(in srgb, var(--color-text) 6%, transparent);
}

.host-supplement-address__form .form-group:last-of-type {
  margin-bottom: var(--space-2);
}

.host-supplement-address__actions {
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid color-mix(in srgb, var(--color-text) 8%, transparent);
}

.host-supplement-address__skip-wrap {
  margin-top: var(--space-6);
  text-align: center;
}

.host-supplement-address__skip {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--duration-fast) var(--ease-default), border-color var(--duration-fast) var(--ease-default);
}

.host-supplement-address__skip:hover {
  color: var(--color-text);
  border-bottom-color: color-mix(in srgb, var(--color-text) 25%, transparent);
}

/* Property show page — warm background and hero */
.host-page--property-show {
  min-height: 50vh;
  background: linear-gradient(165deg, #fef7ee 0%, #f1f5f9 45%, #e8eef5 100%);
  padding: var(--space-6);
  margin: calc(-1 * var(--space-4)) calc(-1 * var(--space-4)) 0;
  border-radius: var(--radius-md);
}

@media (min-width: 640px) {
  .host-page--property-show {
    margin: calc(-1 * var(--space-6)) calc(-1 * var(--space-8)) 0;
    padding: var(--space-8);
  }
}

.host-property-show-hero {
  background: linear-gradient(135deg, color-mix(in srgb, var(--color-primary) 12%, transparent) 0%, rgba(251, 146, 60, 0.08) 50%, rgba(248, 250, 252, 0.6) 100%);
  border: 1px solid color-mix(in srgb, var(--color-primary) 15%, transparent);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-6) var(--space-6);
  margin-bottom: var(--space-6);
  box-shadow: 0 2px 12px color-mix(in srgb, var(--color-primary) 6%, transparent);
}

.host-property-show-hero__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
}

.host-property-show-hero__title-block {
  flex: 1;
  min-width: 0;
}

.host-property-show-hero__title {
  margin: 0 0 var(--space-2);
  font-family: "Outfit", var(--font-sans);
  font-size: clamp(1.5rem, 4vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
  line-height: var(--leading-tight);
}

.host-property-show-hero__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.host-property-show-hero__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-primary);
  text-decoration: none;
}

.host-property-show-hero__link:hover {
  color: var(--color-primary-hover);
  text-decoration: underline;
}

.host-property-show-hero__actions {
  flex-shrink: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

/* Warm + recordings surfaces: .card--warm, .card--recordings (components/card.css) */

.host-page--property-show .host-recording-item,
.host-page--property-recordings .host-recording-item {
  border-color: color-mix(in srgb, var(--color-primary) 12%, transparent);
  box-shadow: 0 2px 8px color-mix(in srgb, var(--color-text) 6%, transparent), 0 0 0 1px color-mix(in srgb, var(--color-primary) 4%, transparent);
}

.host-page--property-show .host-recording-item:hover,
.host-page--property-recordings .host-recording-item:hover {
  border-color: color-mix(in srgb, var(--color-primary) 25%, transparent);
  box-shadow: 0 4px 14px color-mix(in srgb, var(--color-text) 8%, transparent), 0 0 0 1px color-mix(in srgb, var(--color-primary) 8%, transparent);
}

.host-property-details {
  margin-bottom: var(--space-4);
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.host-property-details__thumb {
  flex-shrink: 0;
  width: 120px;
  height: 90px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-surface-subtle);
}

.host-property-details__thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.host-property-details__body {
  flex: 1;
  min-width: 0;
}

.host-property-details__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-2);
}

.host-property-details__title {
  margin: 0;
  font-family: "Outfit", var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
}

.host-property-details__listing-title {
  margin: 0 0 var(--space-2);
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.host-property-details__listing-title-label {
  font-weight: 600;
  color: var(--color-text);
}

.host-property-details__description,
.host-property-details__address {
  margin: 0 0 var(--space-2);
  color: var(--color-text-secondary, #64748b);
  font-size: 0.9375rem;
}

.host-property-details__address {
  font-style: normal;
}

.host-property-details__empty {
  margin: 0;
  color: var(--color-text-secondary, #64748b);
  font-size: 0.9375rem;
}

.host-pagination nav.pagy {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.host-properties-list,
.host-crew-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.host-properties-list__item {
  margin-bottom: var(--space-4);
}

/* Surface + hover: .card.card--interactive.card--compact */
.host-property-card {
  position: relative;
  display: flex;
  gap: var(--space-5);
}

.host-property-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}

.host-property-card__overlay:focus {
  outline: none;
}

.host-property-card__img {
  position: relative;
  z-index: 2;
  width: 140px;
  height: 105px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
  pointer-events: none;
}

.host-property-card__body {
  position: relative;
  z-index: 2;
  flex: 1;
  min-width: 0;
  pointer-events: none;
}

.host-property-card__body .host-property-card__title-link,
.host-property-card__body .host-property-card__inner-link {
  pointer-events: auto;
}

.host-property-card__title {
  margin: 0 0 var(--space-2);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

.host-property-card__title-link {
  color: inherit;
  text-decoration: none;
  position: relative;
  z-index: 2;
}

.host-property-card__recordings-count {
  margin: var(--space-2) 0 0;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.host-property-card__link {
  margin: 0 0 var(--space-2);
  font-size: var(--text-sm);
}

.host-property-card__link a,
.host-property-card__inner-link {
  color: var(--color-primary);
  position: relative;
  z-index: 2;
}

.host-property-card__inner-link:hover {
  text-decoration: underline;
}

.host-property-card__description {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}

.host-crew-list__item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-2);
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--color-border);
}

.host-crew-list__name {
  font-weight: 500;
}

.host-crew-list__email {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.host-crew-table {
  width: 100%;
  border-collapse: collapse;
}

.host-crew-table th,
.host-crew-table td {
  padding: var(--space-2) var(--space-3);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.host-crew-table th {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
}

.host-crew-table td {
  vertical-align: middle;
}

.host-crew-status {
  display: inline-block;
  padding: 0.2em 0.5em;
  font-size: var(--text-sm);
  font-weight: 500;
  border-radius: var(--radius);
}

.host-crew-status--accepted {
  background: rgba(34, 197, 94, 0.12);
  color: var(--color-text);
}

.host-crew-status--pending {
  background: rgba(234, 179, 8, 0.15);
  color: var(--color-text);
}

.host-crew-pending-card {
  margin-bottom: var(--space-6);
}

.host-crew-pending-card__title {
  margin: 0 0 var(--space-4);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: var(--leading-tight);
  color: var(--color-text);
}

.host-checklist-templates-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.host-checklist-templates-list__item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border);
}

.host-checklist-templates-list__item:last-child {
  border-bottom: none;
}

.host-checklist-templates-list__link {
  font-weight: 600;
  color: var(--color-primary);
}

.host-checklist-templates-list__meta {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.host-checklist-templates-list__actions {
  display: flex;
  gap: var(--space-2);
}

/* Invite crew CTA — shown after first checklist is saved */
.host-invite-crew-cta {
  margin-top: var(--space-8);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(145deg, #ecfdf5 0%, #d1fae5 40%, #a7f3d0 100%);
  border: 1px solid rgba(5, 150, 105, 0.2);
  box-shadow: 0 4px 20px rgba(5, 150, 105, 0.12);
}

.host-invite-crew-cta__inner {
  padding: var(--space-6) var(--space-6);
  max-width: 36rem;
}

.host-invite-crew-cta__title {
  margin: 0 0 var(--space-3);
  font-family: "Outfit", var(--font-sans);
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.3;
  color: #065f46;
}

.host-invite-crew-cta__body {
  margin: 0 0 var(--space-5);
  font-size: var(--text-base);
  line-height: 1.55;
  color: #047857;
}

.host-invite-crew-cta__btn {
  display: inline-flex;
  align-items: center;
  padding: var(--space-3) var(--space-5);
  font-weight: 600;
  background: #059669 !important;
  color: #fff !important;
  border: none;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.35);
  transition: transform var(--duration-fast) var(--ease-default), box-shadow var(--duration-fast) var(--ease-default);
}

.host-invite-crew-cta__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.4);
}

.host-invite-crew-cta__btn:focus-visible {
  outline: 2px solid #065f46;
  outline-offset: 2px;
}

.host-checklist-edit__step {
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin: 0 0 var(--space-1);
}

.host-checklist-edit__lead {
  margin-top: var(--space-2);
}

.host-checklist-template-form__tasks-heading {
  font-size: var(--text-lg);
  margin: var(--space-6) 0 var(--space-3);
}

.host-checklist-template-form__task-fields {
  margin-bottom: var(--space-3);
}

.host-checklist-template-form__task-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: var(--space-3);
}

.host-checklist-template-form__task-select {
  min-width: 12rem;
}

.host-checklist-template-form__task-label {
  flex: 1;
  min-width: 10rem;
}

.host-checklist-template-form__task-position {
  width: 5rem;
}

.host-checklist-template-form__destroy-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* New checklist — AI upload flow */
.host-page--checklist-new {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 max(1.25rem, env(safe-area-inset-left)) var(--space-10) max(1.25rem, env(safe-area-inset-right));
  box-sizing: border-box;
}

.host-checklist-new-header {
  margin-bottom: var(--space-6);
  text-align: center;
  padding: var(--space-6) var(--space-4);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(99, 102, 241, 0.06) 0%, rgba(168, 85, 247, 0.05) 45%, rgba(14, 165, 233, 0.06) 100%);
  border: 1px solid rgba(99, 102, 241, 0.12);
}

.host-checklist-new-header__badge {
  display: inline-block;
  margin: 0 0 var(--space-3);
  padding: 0.35rem 0.85rem;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5b21b6;
  background: linear-gradient(90deg, rgba(167, 139, 250, 0.35), rgba(125, 211, 252, 0.4));
  border-radius: 999px;
  border: 1px solid rgba(91, 33, 182, 0.15);
}

.host-checklist-new-header__step {
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin: 0 0 var(--space-2);
}

.host-checklist-new-header__title {
  font-family: "Outfit", var(--font-sans);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin: 0 0 var(--space-3);
  line-height: 1.2;
}

.host-checklist-new-header__lead {
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--color-text-muted);
  margin: 0 auto;
  max-width: 34rem;
}

.host-checklist-new-form-wrap {
  display: block;
  position: relative;
}

.host-checklist-new-name-block {
  margin-bottom: var(--space-6);
  padding: 1.375rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid color-mix(in srgb, var(--color-text) 9%, transparent);
  background: var(--color-surface, #fff);
  box-shadow: 0 1px 3px color-mix(in srgb, var(--color-text) 6%, transparent);
  box-sizing: border-box;
}

@media (min-width: 30rem) {
  .host-checklist-new-name-block {
    padding: 1.5rem 1.875rem;
  }
}

.host-checklist-new-name-block__label {
  display: block;
  font-family: "Outfit", var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin: 0 0 0.5rem;
}

.host-checklist-new-name-input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0.7rem 1rem;
  font-family: inherit;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--color-text);
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--color-text) 14%, transparent);
  border-radius: 0.625rem;
  transition: border-color var(--duration-fast) var(--ease-default), box-shadow var(--duration-fast) var(--ease-default);
}

.host-checklist-new-name-input::placeholder {
  color: var(--color-text-muted);
  font-weight: 400;
}

.host-checklist-new-name-input:hover {
  border-color: color-mix(in srgb, var(--color-text) 22%, transparent);
}

.host-checklist-new-name-input:focus {
  outline: none;
  border-color: rgba(99, 102, 241, 0.55);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.host-checklist-new-ai-disclosure {
  margin-bottom: var(--space-6);
  border-radius: var(--radius-ml);
  border: 1px solid rgba(79, 70, 229, 0.18);
  background: rgba(248, 250, 255, 0.8);
  overflow: hidden;
}

.host-checklist-new-ai-disclosure__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  font-family: "Outfit", var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  color: #3730a3;
  cursor: pointer;
  list-style: none;
}

.host-checklist-new-ai-disclosure__summary::-webkit-details-marker {
  display: none;
}

.host-checklist-new-ai-disclosure__summary-text {
  flex: 1;
  text-align: left;
}

.host-checklist-new-ai-disclosure__chevron {
  flex-shrink: 0;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid #6366f1;
  border-bottom: 2px solid #6366f1;
  transform: rotate(45deg);
  transition: transform var(--duration-normal) var(--ease-default);
  margin-bottom: 0.15rem;
}

.host-checklist-new-ai-disclosure[open] .host-checklist-new-ai-disclosure__chevron {
  transform: rotate(-135deg);
  margin-bottom: -0.1rem;
}

.host-checklist-new-ai-disclosure__body {
  padding: 0 var(--space-5) var(--space-5);
  border-top: 1px solid rgba(79, 70, 229, 0.1);
}

.host-checklist-new-ai-disclosure__title {
  font-family: "Outfit", var(--font-sans);
  font-size: var(--text-base);
  font-weight: 700;
  color: #312e81;
  margin: var(--space-4) 0 var(--space-2);
  letter-spacing: -0.02em;
}

.host-checklist-new-ai-disclosure__lead {
  margin: 0 0 var(--space-3);
  font-size: var(--text-sm);
  line-height: 1.65;
  color: var(--color-text);
}

.host-checklist-new-ai-disclosure__list {
  margin: 0 0 var(--space-3);
  padding-left: 1.25rem;
  color: var(--color-text);
  font-size: var(--text-sm);
  line-height: 1.65;
}

.host-checklist-new-ai-disclosure__list li {
  margin-bottom: var(--space-2);
}

.host-checklist-new-ai-disclosure__list li::marker {
  color: #6366f1;
}

.host-checklist-new-ai-disclosure__footnote {
  margin: 0;
  font-size: var(--text-xs);
  line-height: 1.55;
  color: var(--color-text-muted);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(79, 70, 229, 0.08);
}

.host-page--checklist-new .host-checklist-new-card.card {
  padding: 0;
  margin-bottom: 0;
  box-shadow:
    0 1px 3px color-mix(in srgb, black 5%, transparent),
    0 10px 36px color-mix(in srgb, var(--color-text) 7%, transparent);
  border: 1px solid color-mix(in srgb, var(--color-text) 8%, transparent);
  border-radius: var(--radius-18);
  overflow: hidden;
  background: var(--color-surface, #fff);
}

.host-checklist-new-card__inner {
  padding: 1.625rem 1.5rem 1.75rem;
  box-sizing: border-box;
}

@media (min-width: 30rem) {
  .host-checklist-new-card__inner {
    padding: 2rem 1.875rem 2.125rem;
  }
}

@media (min-width: 40rem) {
  .host-checklist-new-card__inner {
    padding: 2.25rem 2.25rem 2.375rem;
  }
}

.host-checklist-new-scrub-callout {
  margin: 0 0 1.5rem;
  padding: 1rem 1.125rem;
  border-radius: var(--radius-md);
  border: 1px solid color-mix(in srgb, var(--color-primary) 25%, transparent);
  background: linear-gradient(135deg, rgba(255, 247, 237, 0.95) 0%, rgba(254, 243, 199, 0.35) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.host-checklist-new-scrub-callout__title {
  margin: 0 0 var(--space-2);
  font-family: "Outfit", var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #9a3412;
}

.host-checklist-new-scrub-callout__text {
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.6;
  color: #431407;
}

.host-checklist-form__section {
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid color-mix(in srgb, var(--color-text) 8%, transparent);
}

.host-checklist-form__section:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.host-checklist-form__properties-fieldset {
  margin: 0;
  padding: 0;
  border: none;
  min-width: 0;
}

.host-checklist-form__properties-legend {
  display: block;
  width: 100%;
  float: none;
  font-family: "Outfit", var(--font-sans);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 0.5rem;
  padding: 0 0.125rem;
}

.host-checklist-form__required {
  color: #dc2626;
  text-decoration: none;
  font-weight: 700;
  margin-left: 0.125rem;
}

.host-checklist-form__properties-hint {
  margin: 0 0 1rem;
  padding: 0 0.125rem;
  font-size: var(--text-sm);
  line-height: 1.65;
  color: var(--color-text-muted);
  max-width: 100%;
}

.host-checklist-form__properties-list {
  list-style: none;
  margin: 0;
  padding: 0.25rem;
  border: 1px solid color-mix(in srgb, var(--color-text) 8%, transparent);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(248, 250, 252, 0.6);
}

.host-checklist-form__properties-item {
  border-bottom: 1px solid color-mix(in srgb, var(--color-text) 6%, transparent);
}

.host-checklist-form__properties-item:last-child {
  border-bottom: none;
}

.host-checklist-form__property-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  cursor: pointer;
  margin: 0;
  font-weight: 500;
  transition: background var(--duration-fast) var(--ease-default);
}

.host-checklist-form__property-label:hover {
  background: rgba(99, 102, 241, 0.04);
}

.host-checklist-form__property-checkbox {
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.host-checklist-form__property-radio {
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.host-checklist-form__properties-multi {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid color-mix(in srgb, var(--color-text) 6%, transparent);
}

.host-checklist-form__properties-multi-summary {
  cursor: pointer;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
}

.host-checklist-form__properties-multi-hint {
  margin: 0.5rem 0 0.75rem;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}

.host-checklist-form__properties-list--multi {
  margin-top: 0.5rem;
}

.host-checklist-form__property-address {
  flex: 1;
  line-height: 1.5;
  font-size: var(--text-sm);
  color: var(--color-text);
}

.host-checklist-form__input {
  border-radius: var(--radius-md);
}

.host-checklist-form__upload-section {
  padding-top: 1.25rem;
  margin-top: 0.5rem;
}

@media (min-width: 30rem) {
  .host-checklist-form__upload-section {
    padding-top: 1.5rem;
    margin-top: 0.625rem;
  }
}

.host-checklist-form__upload-heading {
  font-family: "Outfit", var(--font-sans);
  font-size: var(--text-base);
  font-weight: 700;
  margin: 0 0 0.375rem;
  padding: 0 0.125rem;
  color: var(--color-text);
}

.host-checklist-form__upload-limit-hint {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: var(--host-warning-text, #b45309);
}

.host-checklist-form__upload-intro {
  margin: 0 0 1.125rem;
  padding: 0 0.125rem;
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--color-text-muted);
}

.host-checklist-upload__native {
  position: absolute;
  left: -9999px;
  top: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: 0;
}

.host-checklist-upload {
  position: relative;
  border-radius: var(--radius-lg);
  border: 2px dashed rgba(99, 102, 241, 0.35);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.95) 0%, rgba(238, 242, 255, 0.5) 100%);
  transition: border-color var(--duration-normal) var(--ease-default), box-shadow var(--duration-normal) var(--ease-default), background var(--duration-normal) var(--ease-default);
}

.host-checklist-upload--dragover {
  border-color: #6366f1;
  background: rgba(238, 242, 255, 0.95);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}

.host-checklist-upload--has-file {
  border-style: solid;
  border-color: rgba(34, 197, 94, 0.4);
  background: linear-gradient(180deg, rgba(240, 253, 244, 0.45) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.host-checklist-upload__empty {
  position: relative;
  padding: var(--space-6) var(--space-5);
  text-align: center;
  overflow: hidden;
}

.host-checklist-upload__has-files {
  padding: var(--space-4) var(--space-5) var(--space-5);
}

.host-checklist-upload__files-heading {
  margin: 0 0 var(--space-3);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #166534;
}

.host-checklist-upload__file-list {
  list-style: none;
  margin: 0 0 var(--space-4);
  padding: 0;
}

.host-checklist-upload-file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  margin-bottom: var(--space-2);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: var(--radius);
  font-size: var(--text-sm);
}

.host-checklist-upload-file__name {
  flex: 1;
  word-break: break-word;
  text-align: left;
  color: var(--color-text);
}

.host-checklist-upload-file__remove {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border: none;
  background: color-mix(in srgb, var(--color-text) 6%, transparent);
  border-radius: var(--radius-sm);
  font-size: 1.25rem;
  line-height: 1;
  color: var(--color-text-muted);
  cursor: pointer;
}

.host-checklist-upload-file__remove:hover {
  background: rgba(185, 28, 28, 0.12);
  color: #b91c1c;
}

.host-checklist-upload__file-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.host-checklist-upload__add-more {
  padding: 0.5rem 1rem;
  font-size: var(--text-sm);
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  background: linear-gradient(135deg, #6366f1, #7c3aed);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
}

.host-checklist-upload__clear-all {
  padding: 0.5rem 0.85rem;
  font-size: var(--text-sm);
  font-weight: 500;
  font-family: inherit;
  color: var(--color-text-muted);
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--color-text) 12%, transparent);
  border-radius: var(--radius);
  cursor: pointer;
}

.host-checklist-upload__drop-more {
  margin: 0;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.45;
}

.host-checklist-upload__orbit {
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 30% 40%, rgba(167, 139, 250, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 70% 60%, rgba(125, 211, 252, 0.1) 0%, transparent 40%);
  pointer-events: none;
}

.host-checklist-upload__icon {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-3);
  color: #6366f1;
}

.host-checklist-upload__title {
  margin: 0 0 var(--space-1);
  font-family: "Outfit", var(--font-sans);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
}

.host-checklist-upload__sub {
  margin: 0 0 var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 22rem;
  margin-left: auto;
  margin-right: auto;
}

.host-checklist-upload--has-file .host-checklist-upload__empty {
  display: none;
}

.host-checklist-upload__browse {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  font-size: var(--text-sm);
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  background: linear-gradient(135deg, #6366f1 0%, #7c3aed 50%, #2563eb 100%);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.35);
  transition: transform var(--duration-fast) var(--ease-default), box-shadow var(--duration-fast) var(--ease-default);
}

.host-checklist-upload__browse:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.host-checklist-upload__browse:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.45);
}

.host-checklist-form__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.375rem;
  padding-top: 0.5rem;
  margin-top: 0.375rem;
}

.host-checklist-form__submit-hint {
  margin: 0.0625rem 0;
  font-size: 0.75rem;
  line-height: 1.35;
  color: var(--color-text-muted);
  text-align: center;
  order: 1;
}

.host-checklist-form__submit-hint[hidden] {
  display: none;
}

.host-checklist-form__actions .btn-ai-sparkle {
  order: 2;
}

/* AI sparkle submit */
.btn-ai-sparkle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.25rem;
  padding: 0.85rem 1.5rem;
  font-family: "Outfit", var(--font-sans);
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fafafa;
  border: none;
  border-radius: var(--radius-ml);
  cursor: pointer;
  overflow: hidden;
  background: linear-gradient(125deg, #1e1b4b 0%, #4c1d95 35%, #312e81 70%, #1e3a5f 100%);
  background-size: 200% 200%;
  animation: btn-ai-sparkle-bg 8s ease infinite;
  box-shadow:
    0 2px 4px color-mix(in srgb, black 15%, transparent),
    0 8px 24px rgba(76, 29, 149, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform var(--duration-normal) var(--ease-default), box-shadow var(--duration-normal) var(--ease-default), opacity var(--duration-normal) var(--ease-default);
}

.btn-ai-sparkle:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow:
    0 4px 8px color-mix(in srgb, black 18%, transparent),
    0 14px 36px rgba(124, 58, 237, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-ai-sparkle:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(167, 139, 250, 0.6),
    0 8px 24px rgba(76, 29, 149, 0.35);
}

.btn-ai-sparkle:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
  animation: none;
  box-shadow: 0 2px 8px color-mix(in srgb, black 8%, transparent);
}

.btn-ai-sparkle__glow {
  position: absolute;
  inset: -50%;
  background: conic-gradient(from 180deg at 50% 50%, transparent 0deg, rgba(167, 139, 250, 0.15) 60deg, transparent 120deg, rgba(125, 211, 252, 0.12) 200deg, transparent 280deg);
  animation: btn-ai-sparkle-rotate 6s linear infinite;
  pointer-events: none;
}

.btn-ai-sparkle:disabled .btn-ai-sparkle__glow {
  animation: none;
  opacity: 0.3;
}

.btn-ai-sparkle__stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.btn-ai-sparkle__star {
  position: absolute;
  font-size: 0.65rem;
  line-height: 1;
  color: #fef3c7;
  text-shadow: 0 0 8px rgba(253, 224, 71, 0.9), 0 0 14px rgba(250, 204, 21, 0.5);
  animation: btn-ai-twinkle 2.4s ease-in-out infinite;
}

.btn-ai-sparkle__star--1 {
  top: 18%;
  left: 12%;
  animation-delay: 0s;
}

.btn-ai-sparkle__star--2 {
  top: 22%;
  right: 14%;
  animation-delay: 0.4s;
  font-size: 0.5rem;
}

.btn-ai-sparkle__star--3 {
  bottom: 20%;
  left: 18%;
  animation-delay: 0.9s;
}

.btn-ai-sparkle__star--4 {
  top: 50%;
  right: 10%;
  transform: translateY(-50%);
  animation-delay: 1.2s;
  font-size: 0.55rem;
}

.btn-ai-sparkle__star--5 {
  bottom: 16%;
  right: 22%;
  animation-delay: 1.7s;
}

.btn-ai-sparkle:disabled .btn-ai-sparkle__star {
  animation: none;
  opacity: 0.35;
}

.btn-ai-sparkle__label {
  position: relative;
  z-index: 1;
}

@keyframes btn-ai-sparkle-bg {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes btn-ai-sparkle-rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes btn-ai-twinkle {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.85);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

.host-checklist-form__properties {
  margin-bottom: var(--space-5);
  padding: 0;
  border: none;
}

.host-checklist-form__properties .form-group__label {
  margin-bottom: var(--space-1);
}

.host-checklist-form__properties-list {
  list-style: none;
  margin: var(--space-2) 0 0;
  padding: 0;
}

.host-checklist-form__properties-item {
  margin-bottom: var(--space-2);
}

.host-checklist-form__property-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  cursor: pointer;
  font-weight: 500;
}

.host-checklist-form__property-checkbox {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.host-checklist-new-form__errors {
  margin-bottom: var(--space-5);
  padding: var(--space-4);
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius);
  color: #b91c1c;
}

.host-checklist-new-form__errors-title {
  font-weight: 600;
  margin: 0 0 var(--space-2);
}

.host-checklist-new-form__errors ul {
  margin: 0;
  padding-left: var(--space-6);
}

.host-checklist-new-form__field {
  margin-bottom: var(--space-5);
}

.host-checklist-new-form__field:last-of-type {
  margin-bottom: var(--space-6);
}

.host-checklist-new-form__label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.host-checklist-new-form__input {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  font-family: inherit;
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid color-mix(in srgb, var(--color-text) 12%, transparent);
  border-radius: var(--radius-md);
  transition: border-color var(--duration-normal) var(--ease-default), box-shadow var(--duration-normal) var(--ease-default);
}

.host-checklist-new-form__input::placeholder {
  color: var(--color-text-muted);
}

.host-checklist-new-form__input:hover {
  border-color: color-mix(in srgb, var(--color-text) 20%, transparent);
}

.host-checklist-new-form__input:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--color-primary) 50%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 14%, transparent);
}

.host-checklist-new-form__hint {
  margin-top: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.host-checklist-new-form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  padding-top: var(--space-2);
}

.host-checklist-new-form__submit {
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-base);
  font-weight: 600;
  border-radius: var(--radius-md);
}

.host-checklist-new-form__back {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
}

.host-checklist-new-form__back:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

/* Checklist generation pending card: components/checklist_generation.css */

/* Checklist AI recommendations wizard (approve / veto lines before editor) */
.host-page--checklist-recommendations {
  /* Clear sticky app nav (see application.css .app-nav) */
  --reco-sticky-top: 4rem;
  /* Set by recommendations_sticky_offsets_controller.js = nav offset + measured #reco-section-files height (px) */
  --reco-group-sticky-top: calc(var(--reco-sticky-top) + 3.5rem);
  /* Full-bleed actions bar uses 100vw; clip so we do not get horizontal scroll / mis-measured scrollHeight */
  overflow-x: clip;
}

/* Guide interview — immersive “stage” UI (scoped to this page) */
@keyframes guide-interview-shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes guide-interview-enter {
  from {
    opacity: 0;
    transform: translateY(0.75rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes guide-interview-mic-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.35);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(52, 211, 153, 0);
  }
}

.host-page--guide-interview {
  --gi-fg: #e2e8f0;
  --gi-fg-muted: #94a3b8;
  --gi-accent: #34d399;
  --gi-accent2: #22d3ee;
  --gi-border: rgba(148, 163, 184, 0.18);
  min-height: min(78vh, 900px);
  margin: calc(-1 * var(--space-4)) calc(-1 * var(--space-4)) 0;
}

@media (min-width: 640px) {
  .host-page--guide-interview {
    margin: calc(-1 * var(--space-6)) calc(-1 * var(--space-8)) 0;
  }
}

.host-page--guide-interview .host-guide-interview-scene {
  max-width: 40rem;
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 2rem);
  color: var(--gi-fg);
  background: none !important;
}

@media (min-width: 640px) {
  .host-page--guide-interview .host-guide-interview-scene {
    padding: clamp(1.25rem, 4vw, 2.5rem);
  }
}

.host-page--guide-interview .host-guide-interview-card {
  position: relative;
  padding: clamp(1.25rem, 4vw, 2rem);
  border-radius: 1.35rem;
  background:
    radial-gradient(ellipse 90% 70% at 50% -30%, rgba(52, 211, 153, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 100% 20%, rgba(34, 211, 238, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 0% 80%, rgba(167, 139, 250, 0.08) 0%, transparent 45%),
    linear-gradient(168deg, #0b1220 0%, #111827 45%, #0f172a 100%);
  border: 1px solid var(--gi-border);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 25px 50px -12px color-mix(in srgb, black 55%, transparent),
    0 0 80px -20px rgba(52, 211, 153, 0.12);
}

.host-page--guide-interview .host-guide-interview-card > * {
  animation: guide-interview-enter var(--duration-slower) var(--ease-spring) backwards;
}

.host-page--guide-interview .host-guide-interview-card > *:nth-child(1) {
  animation-delay: 0.04s;
}
.host-page--guide-interview .host-guide-interview-card > *:nth-child(2) {
  animation-delay: 0.1s;
}
.host-page--guide-interview .host-guide-interview-card > *:nth-child(3) {
  animation-delay: 0.16s;
}
.host-page--guide-interview .host-guide-interview-card > *:nth-child(4) {
  animation-delay: 0.22s;
}
.host-page--guide-interview .host-guide-interview-card > *:nth-child(5) {
  animation-delay: 0.28s;
}

@media (prefers-reduced-motion: reduce) {
  .host-page--guide-interview .host-guide-interview-card > *,
  .host-page--guide-interview .host-guide-interview-progress__shine,
  .host-page--guide-interview .host-guide-interview-voice-processing__pulse {
    animation: none !important;
  }

  .host-page--guide-interview .chip-selector--rich .chip-selector__face,
  .host-page--guide-interview .host-guide-interview-btn {
    transition: none !important;
  }
}

.host-page--guide-interview .host-guide-interview-header__step {
  display: inline-block;
  margin: 0 0 0.65rem;
  padding: 0.25rem 0.65rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gi-accent);
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.28);
  border-radius: 999px;
  box-shadow: 0 0 20px rgba(52, 211, 153, 0.12);
}

.host-page--guide-interview .host-guide-interview-header__title {
  font-family: "Outfit", var(--font-sans);
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0 0 0.75rem;
  color: #f8fafc;
  text-shadow: 0 1px 24px color-mix(in srgb, black 35%, transparent);
}

.host-page--guide-interview .host-guide-interview-header__lead {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  color: var(--gi-fg-muted);
}

.host-page--guide-interview .host-guide-interview-prompt {
  margin: 0 0 1.25rem;
  font-size: clamp(1.05rem, 2.6vw, 1.2rem);
  line-height: 1.55;
  font-weight: 500;
  color: #f1f5f9;
}

.host-page--guide-interview .host-guide-interview-progress {
  margin-top: 0.35rem;
  max-width: 100%;
}

.host-page--guide-interview .host-guide-interview-progress__track {
  height: 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  box-shadow: inset 0 1px 2px color-mix(in srgb, black 35%, transparent);
}

.host-page--guide-interview .host-guide-interview-progress__fill {
  position: relative;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #059669 0%, #34d399 40%, #22d3ee 100%);
  transition: width var(--duration-slower) var(--ease-spring);
  box-shadow: 0 0 20px rgba(52, 211, 153, 0.35);
}

.host-page--guide-interview .host-guide-interview-progress__shine {
  position: absolute;
  inset: 0;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  animation: guide-interview-shimmer 2.2s ease-in-out infinite;
}

.host-page--guide-interview .host-guide-interview-options {
  margin: 0.5rem 0 0;
  padding: 0;
  border: 0;
}

.host-page--guide-interview .host-guide-interview-options__legend {
  margin: 0 0 0.75rem;
  padding: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gi-fg-muted);
}

.host-page--guide-interview .host-guide-interview-freeform {
  margin-top: 0.25rem;
}

.host-page--guide-interview .host-guide-interview-voice-wrap {
  margin-top: 0.5rem;
  position: relative;
}

/* Recording overlay — obvious animated state while the mic is live */
.host-page--guide-interview .host-guide-interview-recording-layer {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  border-radius: var(--radius-lg);
}

.host-page--guide-interview .host-guide-interview-recording-layer[hidden] {
  display: none !important;
}

.host-page--guide-interview .host-guide-interview-recording-layer__backdrop {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(120% 100% at 50% 0%, rgba(127, 29, 29, 0.45) 0%, color-mix(in srgb, var(--color-text) 88%, transparent) 55%, rgba(2, 6, 23, 0.94) 100%);
  backdrop-filter: blur(6px);
}

.host-page--guide-interview .host-guide-interview-recording-layer__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 22rem;
  padding: 1.15rem 1.25rem 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(248, 113, 113, 0.45);
  background: linear-gradient(160deg, rgba(30, 10, 10, 0.95) 0%, color-mix(in srgb, var(--color-text) 97%, transparent) 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 20px 50px color-mix(in srgb, black 55%, transparent),
    0 0 40px rgba(239, 68, 68, 0.12);
  text-align: center;
}

.host-page--guide-interview .host-guide-interview-recording-layer__top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
  text-align: left;
}

.host-page--guide-interview .host-guide-interview-recording-layer__pulse-ring {
  position: relative;
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
}

.host-page--guide-interview .host-guide-interview-recording-layer__pulse-ring::before,
.host-page--guide-interview .host-guide-interview-recording-layer__pulse-ring::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(248, 113, 113, 0.55);
  animation: guide-interview-recording-ring 2s ease-out infinite;
}

.host-page--guide-interview .host-guide-interview-recording-layer__pulse-ring::after {
  animation-delay: 1s;
}

.host-page--guide-interview .host-guide-interview-recording-layer__pulse-dot {
  position: relative;
  z-index: 1;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: #f87171;
  box-shadow: 0 0 12px rgba(248, 113, 113, 0.9);
  animation: guide-interview-recording-dot 1.2s ease-in-out infinite;
}

.host-page--guide-interview .host-guide-interview-recording-layer__title-row {
  flex: 1 1 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 0.75rem;
}

.host-page--guide-interview .host-guide-interview-recording-layer__title {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fecaca;
}

.host-page--guide-interview .host-guide-interview-recording-layer__timer {
  font-variant-numeric: tabular-nums;
  font-size: 1.35rem;
  font-weight: 700;
  color: #f8fafc;
  text-shadow: 0 0 20px rgba(248, 113, 113, 0.35);
}

.host-page--guide-interview .host-guide-interview-recording-layer__meter {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.28rem;
  height: 2.5rem;
  margin: 0.35rem 0 0.85rem;
}

.host-page--guide-interview .host-guide-interview-recording-layer__bar {
  width: 0.38rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #fca5a5 0%, #ef4444 55%, #b91c1c 100%);
  transform-origin: bottom center;
  animation: guide-interview-recording-bar 0.85s ease-in-out infinite;
  opacity: 0.92;
}

.host-page--guide-interview .host-guide-interview-recording-layer__bar:nth-child(1) {
  animation-delay: 0s;
  height: 35%;
}

.host-page--guide-interview .host-guide-interview-recording-layer__bar:nth-child(2) {
  animation-delay: 0.08s;
  height: 55%;
}

.host-page--guide-interview .host-guide-interview-recording-layer__bar:nth-child(3) {
  animation-delay: 0.16s;
  height: 80%;
}

.host-page--guide-interview .host-guide-interview-recording-layer__bar:nth-child(4) {
  animation-delay: 0.24s;
  height: 100%;
}

.host-page--guide-interview .host-guide-interview-recording-layer__bar:nth-child(5) {
  animation-delay: 0.32s;
  height: 72%;
}

.host-page--guide-interview .host-guide-interview-recording-layer__bar:nth-child(6) {
  animation-delay: 0.4s;
  height: 48%;
}

.host-page--guide-interview .host-guide-interview-recording-layer__bar:nth-child(7) {
  animation-delay: 0.48s;
  height: 62%;
}

.host-page--guide-interview .host-guide-interview-recording-layer__hint {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(226, 232, 240, 0.88);
}

.host-page--guide-interview .host-guide-interview-btn--recording-stop {
  width: 100%;
  min-height: 3rem;
  font-size: 1rem;
  font-weight: 700;
  color: #fff7ed;
  background: linear-gradient(135deg, #f87171 0%, #ef4444 45%, #dc2626 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.2) inset,
    0 12px 32px rgba(220, 38, 38, 0.35);
}

.host-page--guide-interview .host-guide-interview-btn--recording-stop:hover {
  transform: translateY(-1px);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.25) inset,
    0 16px 40px rgba(220, 38, 38, 0.45);
}

.host-page--guide-interview .host-guide-interview-btn--recording-stop:active {
  transform: translateY(0);
}

@keyframes guide-interview-recording-ring {
  0% {
    transform: scale(0.55);
    opacity: 0.85;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

@keyframes guide-interview-recording-dot {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.85;
  }
}

@keyframes guide-interview-recording-bar {
  0%,
  100% {
    transform: scaleY(0.35);
    opacity: 0.65;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .host-page--guide-interview .host-guide-interview-recording-layer__pulse-ring::before,
  .host-page--guide-interview .host-guide-interview-recording-layer__pulse-ring::after {
    animation: none;
    opacity: 0.35;
    transform: scale(1);
  }

  .host-page--guide-interview .host-guide-interview-recording-layer__pulse-dot {
    animation: none;
  }

  .host-page--guide-interview .host-guide-interview-recording-layer__bar {
    animation: none;
    transform: scaleY(0.65);
    opacity: 0.85;
  }

  .host-page--guide-interview .host-guide-interview-btn--recording-stop:hover {
    transform: none;
  }
}

.host-page--guide-interview .host-guide-interview-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.host-page--guide-interview .host-guide-interview-actions__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: stretch;
}

.host-page--guide-interview .host-guide-interview-actions__submit {
  flex: 1 1 10rem;
  min-height: 3.1rem;
  font-size: 1rem;
  font-weight: 700;
}

.host-page--guide-interview .host-guide-interview-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.15rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 0.85rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform var(--duration-normal) var(--ease-default),
    box-shadow var(--duration-normal) var(--ease-default),
    border-color var(--duration-normal) var(--ease-default),
    background var(--duration-normal) var(--ease-default);
}

.host-page--guide-interview .host-guide-interview-btn--primary {
  color: #042f2e;
  background: linear-gradient(135deg, #6ee7b7 0%, #34d399 45%, #14b8a6 100%);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.25) inset,
    0 12px 32px rgba(52, 211, 153, 0.25);
}

.host-page--guide-interview .host-guide-interview-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.3) inset,
    0 16px 40px rgba(52, 211, 153, 0.35);
}

.host-page--guide-interview .host-guide-interview-btn--primary:active {
  transform: translateY(0);
}

.host-page--guide-interview .host-guide-interview-btn--primary:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.12) inset,
    0 4px 16px rgba(52, 211, 153, 0.12);
}

.host-page--guide-interview .host-guide-interview-btn--ghost {
  color: var(--gi-fg);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--gi-border);
}

.host-page--guide-interview .host-guide-interview-btn--ghost:hover {
  border-color: rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.1);
}

.host-page--guide-interview .host-guide-interview-btn--mic {
  flex: 0 0 auto;
  min-height: 3.1rem;
  padding-left: 1rem;
  padding-right: 1.15rem;
  color: #ecfeff;
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.35);
  box-shadow: 0 4px 20px rgba(34, 211, 238, 0.12);
}

.host-page--guide-interview .host-guide-interview-btn--mic:hover {
  transform: translateY(-1px);
  border-color: rgba(34, 211, 238, 0.55);
  box-shadow: 0 8px 28px rgba(34, 211, 238, 0.2);
}

.host-page--guide-interview .host-guide-interview-btn--mic[aria-pressed="true"] {
  border-color: rgba(52, 211, 153, 0.75);
  background: rgba(52, 211, 153, 0.2);
  color: #ecfeff;
  animation: guide-interview-mic-pulse 1.6s ease-out infinite;
}

.host-page--guide-interview .host-guide-interview-btn--mic__icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.host-page--guide-interview .host-guide-interview-btn--mic__icon svg {
  display: block;
}

.host-page--guide-interview .host-guide-interview-btn--dev {
  font-size: 0.75rem;
  padding: 0.35rem 0.65rem;
  color: var(--gi-fg-muted);
  background: transparent;
  border: 1px dashed rgba(148, 163, 184, 0.35);
  border-radius: var(--radius);
}

.host-page--guide-interview .host-guide-interview-btn--dev:hover {
  color: var(--gi-fg);
  border-color: rgba(148, 163, 184, 0.55);
}

.host-page--guide-interview .host-guide-interview-written-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: flex-start;
  margin: 0;
  padding: 0.35rem 0;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gi-accent2);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--duration-normal) var(--ease-default);
}

.host-page--guide-interview .host-guide-interview-written-toggle:hover {
  color: #a5f3fc;
}

.host-page--guide-interview .host-guide-interview-written-toggle__chev {
  display: inline-block;
  font-size: 0.85rem;
  line-height: 1;
  transition: transform var(--duration-slow) var(--ease-spring);
}

.host-page--guide-interview .host-guide-interview-written-toggle--open .host-guide-interview-written-toggle__chev {
  transform: rotate(-180deg);
}

.host-page--guide-interview .host-guide-interview-written {
  display: grid;
  grid-template-rows: 0fr;
  margin: 0;
  padding: 0;
  opacity: 0;
  transition:
    grid-template-rows var(--duration-slower) var(--ease-spring),
    opacity var(--duration-slow) var(--ease-default),
    margin var(--duration-slow) var(--ease-default);
}

.host-page--guide-interview .host-guide-interview-written--open {
  grid-template-rows: 1fr;
  margin-top: 0.75rem;
  opacity: 1;
}

.host-page--guide-interview .host-guide-interview-written__inner {
  overflow: hidden;
  min-height: 0;
}

.host-page--guide-interview .host-guide-interview-written__hint {
  margin: 0 0 0.6rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--gi-fg-muted);
}

.host-page--guide-interview .host-guide-interview-field__label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gi-fg-muted);
}

.host-page--guide-interview .host-guide-interview-textarea {
  display: block;
  width: 100%;
  padding: 0.75rem 0.85rem;
  font: inherit;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #f8fafc;
  background: rgba(2, 6, 23, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: var(--radius-md);
  resize: vertical;
  min-height: 5rem;
  transition:
    border-color var(--duration-normal) var(--ease-default),
    box-shadow var(--duration-normal) var(--ease-default);
}

.host-page--guide-interview .host-guide-interview-textarea::placeholder {
  color: rgba(148, 163, 184, 0.55);
}

.host-page--guide-interview .host-guide-interview-textarea:hover {
  border-color: rgba(34, 211, 238, 0.35);
}

.host-page--guide-interview .host-guide-interview-textarea:focus {
  outline: none;
  border-color: rgba(52, 211, 153, 0.55);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.15);
}

.host-page--guide-interview .host-guide-interview-voice-processing {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0;
  padding: 1rem 1.1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(34, 211, 238, 0.25);
  background: rgba(34, 211, 238, 0.08);
  color: #cffafe;
  font-size: 0.95rem;
  line-height: 1.45;
}

.host-page--guide-interview .host-guide-interview-voice-processing__pulse {
  flex-shrink: 0;
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.35rem;
  border-radius: 50%;
  background: var(--gi-accent2);
  animation: guide-interview-mic-pulse 1.4s ease-out infinite;
}

.host-page--guide-interview .host-guide-interview-voice-staged {
  margin-top: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(52, 211, 153, 0.3);
  background: rgba(52, 211, 153, 0.1);
}

.host-page--guide-interview .host-guide-interview-voice-staged[hidden] {
  display: none !important;
}

.host-page--guide-interview .host-guide-interview-voice-staged__text {
  margin: 0 0 0.65rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #ecfdf5;
}

.host-page--guide-interview .host-guide-interview-voice-staged__discard {
  width: 100%;
  margin: 0;
}

.host-page--guide-interview .host-guide-interview-inferred {
  margin: 0.5rem 0 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(52, 211, 153, 0.25);
  background: rgba(52, 211, 153, 0.08);
  font-size: 1rem;
  line-height: 1.55;
  color: #ecfdf5;
  box-shadow: 0 8px 32px color-mix(in srgb, black 20%, transparent);
}

.host-page--guide-interview .host-guide-interview-confirm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.host-page--guide-interview .host-guide-interview-confirm-actions form {
  flex: 1 1 10rem;
  margin: 0;
}

.host-page--guide-interview .host-guide-interview-confirm-actions .button_to {
  display: block;
  width: 100%;
}

.host-page--guide-interview .host-guide-interview-confirm-actions__btn {
  width: 100%;
  min-height: 3rem;
}

.host-page--guide-interview .empty-state[role="status"] {
  margin-top: 0.5rem;
  padding: 1.25rem;
  border-radius: 0.85rem;
  border: 1px dashed color-mix(in srgb, var(--color-text-muted) 35%, transparent);
  background: color-mix(in srgb, var(--color-text) 8%, var(--color-bg));
}

.host-page--guide-interview .empty-state[role="status"] > p:first-of-type {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--gi-fg-muted);
}

.host-page--guide-interview .host-guide-interview-dev-reset {
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(148, 163, 184, 0.2);
}

.host-page--checklist-edit .host-guide-interview-dev-reset {
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px dashed color-mix(in srgb, black 12%, transparent);
}

.host-page--checklist-edit .host-guide-interview-btn--dev {
  color: var(--color-text-muted, #64748b);
  border-color: color-mix(in srgb, var(--color-text) 20%, transparent);
}

.host-page--checklist-edit .host-guide-interview-btn--dev:hover {
  color: var(--color-text, #0f172a);
  border-color: color-mix(in srgb, var(--color-text) 35%, transparent);
}

.host-page--guide-interview-complete .host-guide-interview-complete-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.35rem;
}

/* Guide interview complete — desktop: wide scene + horizontal panels (mobile & tablet keep narrow column + scroll) */
@media (min-width: 1024px) {
  .host-page--guide-interview-complete.host-page--guide-interview {
    min-height: auto;
  }

  .host-page--guide-interview-complete .host-guide-interview-scene {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 1rem 0 2rem;
  }

  .host-page--guide-interview-complete .host-guide-interview-card {
    padding: clamp(1.25rem, 1.75vw, 1.65rem) clamp(1.5rem, 2.5vw, 2.25rem);
  }

  .host-page--guide-interview-complete .host-guide-interview-complete-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.25rem;
    align-items: stretch;
  }

  .host-page--guide-interview-complete .host-guide-interview-complete-visual {
    grid-column: 1 / -1;
  }

  .host-page--guide-interview-complete .host-guide-interview-complete-panel--wait {
    grid-column: 1 / -1;
  }

  .host-page--guide-interview-complete .host-guide-interview-complete-visual__caption {
    max-width: 9rem;
  }
}

@media (min-width: 1200px) {
  .host-page--guide-interview-complete .host-guide-interview-complete-stack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .host-page--guide-interview-complete .host-guide-interview-complete-panel--wait {
    grid-column: auto;
  }
}

/* ---- Guide interview complete: visual pipeline (files → answers → guide) ---- */
.host-page--guide-interview-complete .host-guide-interview-complete-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem 0 0.25rem;
}

@media (min-width: 720px) {
  .host-page--guide-interview-complete .host-guide-interview-complete-visual {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.25rem 0.5rem;
    padding: 1rem 0.5rem 0.5rem;
  }
}

.host-page--guide-interview-complete .host-guide-interview-complete-visual__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem 0.5rem;
  border-radius: var(--radius-lg);
  background: rgba(2, 6, 23, 0.4);
  border: 1px solid rgba(148, 163, 184, 0.12);
  min-width: 6.5rem;
}

.host-page--guide-interview-complete .host-guide-interview-complete-visual__item--highlight {
  border-color: rgba(52, 211, 153, 0.28);
  background:
    radial-gradient(ellipse 80% 80% at 50% 0%, rgba(52, 211, 153, 0.12) 0%, transparent 55%),
    rgba(2, 6, 23, 0.45);
}

.host-page--guide-interview-complete .host-guide-interview-complete-visual__ring {
  position: absolute;
  inset: -2px;
  border-radius: 1.05rem;
  pointer-events: none;
  border: 1px solid rgba(52, 211, 153, 0.12);
}

.host-page--guide-interview-complete .host-guide-interview-complete-visual__ring--pulse {
  animation: guide-interview-complete-ring-pulse 2.4s ease-out infinite;
}

.host-page--guide-interview-complete .host-guide-interview-complete-visual__svg {
  width: 3.25rem;
  height: 3.25rem;
  display: block;
}

.host-page--guide-interview-complete .host-guide-interview-complete-visual__caption {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gi-fg-muted);
  text-align: center;
  line-height: 1.25;
  max-width: 7rem;
}

.host-page--guide-interview-complete .host-guide-interview-complete-visual__connector {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  padding: 0.15rem 0;
}

.host-page--guide-interview-complete .host-guide-interview-complete-visual__connector svg {
  transform: rotate(90deg);
}

@media (min-width: 720px) {
  .host-page--guide-interview-complete .host-guide-interview-complete-visual__connector svg {
    transform: none;
  }
}

@keyframes guide-interview-complete-ring-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.28);
  }

  70% {
    box-shadow: 0 0 0 12px rgba(52, 211, 153, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0);
  }
}

/* ---- Status / notify / wait panels ---- */
.host-page--guide-interview-complete .host-guide-interview-complete-panel {
  position: relative;
  margin: 0;
  padding: 1.05rem 1.15rem 1.15rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(2, 6, 23, 0.35);
  overflow: hidden;
}

.host-page--guide-interview-complete .host-guide-interview-complete-panel--generating {
  border-color: rgba(52, 211, 153, 0.22);
  background:
    radial-gradient(ellipse 100% 80% at 10% 0%, rgba(52, 211, 153, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse 80% 60% at 100% 100%, rgba(34, 211, 238, 0.08) 0%, transparent 45%),
    rgba(2, 6, 23, 0.4);
}

.host-page--guide-interview-complete .host-guide-interview-complete-panel__glow {
  position: absolute;
  inset: -40% -20%;
  background: conic-gradient(from 210deg, rgba(52, 211, 153, 0.07), rgba(34, 211, 238, 0.09), rgba(167, 139, 250, 0.06), rgba(52, 211, 153, 0.07));
  animation: guide-interview-complete-panel-glow 14s linear infinite;
  pointer-events: none;
  opacity: 0.55;
}

.host-page--guide-interview-complete .host-guide-interview-complete-panel--generating .host-guide-interview-complete-panel__title,
.host-page--guide-interview-complete .host-guide-interview-complete-panel--generating .host-guide-interview-complete-panel__body,
.host-page--guide-interview-complete .host-guide-interview-complete-panel--generating .host-guide-interview-complete-panel__icon {
  position: relative;
  z-index: 1;
}

.host-page--guide-interview-complete .host-guide-interview-complete-panel--notify {
  border-color: rgba(34, 211, 238, 0.18);
  background: rgba(8, 47, 73, 0.22);
}

.host-page--guide-interview-complete .host-guide-interview-complete-panel--wait {
  border-color: rgba(148, 163, 184, 0.16);
}

.host-page--guide-interview-complete .host-guide-interview-complete-panel__icon {
  margin-bottom: 0.45rem;
}

.host-page--guide-interview-complete .host-guide-interview-complete-panel__icon--check {
  opacity: 0.95;
}

.host-page--guide-interview-complete .host-guide-interview-complete-panel__title {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: #f1f5f9;
  letter-spacing: -0.01em;
}

.host-page--guide-interview-complete .host-guide-interview-complete-panel__body {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--gi-fg-muted);
}

.host-page--guide-interview-complete .host-guide-interview-complete-notify-icons {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.55rem;
}

.host-page--guide-interview-complete .host-guide-interview-complete-notify-icons__mail,
.host-page--guide-interview-complete .host-guide-interview-complete-notify-icons__bell {
  filter: drop-shadow(0 4px 12px color-mix(in srgb, black 25%, transparent));
}

.host-page--guide-interview-complete .host-guide-interview-complete-notify-list {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--gi-fg-muted);
}

.host-page--guide-interview-complete .host-guide-interview-complete-notify-list li + li {
  margin-top: 0.4rem;
}

@keyframes guide-interview-complete-panel-glow {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.host-page--guide-interview-complete .host-guide-interview-complete-actions {
  margin-top: 1.35rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
}

.host-page--guide-interview-complete .host-guide-interview-complete-actions__label {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--gi-fg-muted);
}

.host-page--guide-interview-complete .host-guide-interview-complete-actions__row {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

@media (min-width: 520px) {
  .host-page--guide-interview-complete .host-guide-interview-complete-actions__row {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
  }

  .host-page--guide-interview-complete .host-guide-interview-complete-actions__primary {
    flex: 1 1 12rem;
  }

  .host-page--guide-interview-complete .host-guide-interview-complete-actions__secondary {
    flex: 1 1 10rem;
  }
}

.host-page--guide-interview-complete .host-guide-interview-complete-actions__primary,
.host-page--guide-interview-complete .host-guide-interview-complete-actions__secondary {
  min-height: 3.1rem;
  text-align: center;
  justify-content: center;
  display: inline-flex;
  align-items: center;
}

.host-page--guide-interview-complete .host-guide-interview-complete-actions__secondary {
  border-color: rgba(148, 163, 184, 0.28);
  color: #e2e8f0;
}

.host-page--guide-interview-complete .host-guide-interview-complete-actions__secondary:hover {
  border-color: rgba(52, 211, 153, 0.35);
  color: #f8fafc;
  background: rgba(52, 211, 153, 0.06);
}

@media (prefers-reduced-motion: reduce) {
  .host-page--guide-interview-complete .host-guide-interview-complete-panel__glow,
  .host-page--guide-interview-complete .host-guide-interview-complete-visual__ring--pulse {
    animation: none !important;
  }
}

/* Intro lives inside the card (no orphan gap between “Review…” and the white surface) */
.host-page--checklist-recommendations .host-checklist-reco-card > .host-checklist-reco-header {
  margin: 0;
  padding: var(--space-5) var(--space-5) var(--space-3);
}

.host-checklist-reco-header__step {
  margin: 0 0 var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.host-checklist-reco-header__title {
  margin: 0 0 var(--space-2);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
}

.host-checklist-reco-header__lead {
  margin: 0;
  max-width: 40rem;
  font-size: var(--text-base);
  line-height: 1.55;
  color: var(--color-text-muted);
}

.host-checklist-reco-form {
  display: block;
}

.host-checklist-reco-card {
  padding: var(--space-5);
}

.host-page--checklist-recommendations .host-checklist-reco-card {
  padding: 0 var(--space-5) var(--space-5);
  /* Stacking context so sticky titles (z-index) sit above list rows painted later in the DOM */
  isolation: isolate;
}

/* Rows + lists stay below sticky headings (DOM order would paint ul after h3 otherwise) */
.host-page--checklist-recommendations .host-checklist-reco-group--files .host-checklist-reco-list {
  position: relative;
  z-index: 0;
}

.host-page--checklist-recommendations .host-checklist-reco-group--files .host-checklist-reco-item {
  position: relative;
  z-index: 0;
}

/* Dark AI block directly under the in-card intro (no white strip between) */
.host-page--checklist-recommendations .host-checklist-reco-card > .host-checklist-reco-header + .host-checklist-reco-ai-panel {
  margin-top: 0;
  border-top-left-radius: var(--radius-md);
  border-top-right-radius: var(--radius-md);
}

.host-checklist-reco-card__hint {
  margin: 0 0 var(--space-5);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* —— “May have missed” panel ——
 * Do NOT use overflow:hidden here: it breaks sticky vs viewport and can leave an empty striped band
 * above the first child. Clip the list only; put the stripe texture on the list, not empty panel space. */
.host-checklist-reco-ai-panel {
  position: relative;
  margin-bottom: var(--space-6);
  padding: 0 var(--space-5) var(--space-5);
  border-radius: var(--radius-md);
  border: 1px solid rgba(51, 65, 85, 0.65);
  background: linear-gradient(152deg, #0b1220 0%, #151032 42%, #0f172a 100%);
  box-shadow: 0 12px 32px color-mix(in srgb, var(--color-text) 35%, transparent);
  overflow: visible;
}

.host-checklist-reco-ai-panel > * {
  position: relative;
  z-index: 1;
}

.host-checklist-reco-section-title {
  margin: var(--space-6) 0 var(--space-2);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
}

/*
 * “What you may have missed” — not sticky: sticky + overflow:hidden on the panel caused a blank
 * striped band above this h2 in WebKit/Blink. Files headings below stay sticky.
 */
.host-page--checklist-recommendations .host-checklist-reco-ai-panel h2.host-checklist-reco-ai-heading {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  margin: 0 calc(-1 * var(--space-5)) var(--space-4);
  padding: var(--space-4) var(--space-5);
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.35;
  color: #e0f2fe;
  background: linear-gradient(180deg, #0a1628 0%, #111c2e 55%, #152238 100%);
  border: none;
  border-bottom: 1px solid rgba(51, 65, 85, 0.9);
  border-radius: var(--radius);
  box-shadow: none;
}

.host-checklist-reco-section-title--files {
  margin-top: var(--space-8);
}

/* Tighter gap before “From your files” when it follows the in-card intro or AI block */
.host-page--checklist-recommendations .host-checklist-reco-card > .host-checklist-reco-header + .host-checklist-reco-section-title--files,
.host-page--checklist-recommendations .host-checklist-reco-card > .host-checklist-reco-ai-panel + .host-checklist-reco-section-title--files {
  margin-top: var(--space-4);
}

/* Sticky: “from files” — z-index above all checklist rows (DOM order would otherwise paint rows on top) */
.host-page--checklist-recommendations .host-checklist-reco-card > .host-checklist-reco-section-title--files.host-checklist-reco-section-title--sticky {
  position: sticky;
  top: var(--reco-sticky-top);
  z-index: 20;
  margin-left: calc(-1 * var(--space-5));
  margin-right: calc(-1 * var(--space-5));
  margin-bottom: var(--space-3);
  padding: var(--space-3) var(--space-5);
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text);
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  box-shadow: none;
  transform: translateZ(0);
}

.host-checklist-reco-section-lead {
  margin: 0 0 var(--space-4);
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--color-text-muted);
}

.host-checklist-reco-group {
  margin-bottom: var(--space-6);
}

.host-page--checklist-recommendations .host-checklist-reco-group--files {
  margin-bottom: var(--space-4);
}

.host-checklist-reco-group--files:last-child {
  margin-bottom: 0;
}

/* Sticky: group name — top offset from JS matches files h2 height exactly (no guessed rem band) */
.host-page--checklist-recommendations .host-checklist-reco-group--files .host-checklist-reco-group__title--sticky {
  position: sticky;
  top: var(--reco-group-sticky-top);
  z-index: 10;
  margin: 0 calc(-1 * var(--space-5)) var(--space-2);
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  border-top: 1px solid var(--color-border);
  box-shadow: none;
  transform: translateZ(0);
}

.host-checklist-reco-group__title {
  margin: 0 0 var(--space-3);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
}

.host-checklist-reco-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.host-checklist-reco-list--ai {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(51, 65, 85, 0.55);
  background: rgba(2, 6, 23, 0.35);
}

.host-checklist-reco-list--ai::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -18deg,
    transparent,
    transparent 13px,
    rgba(148, 163, 184, 0.04) 13px,
    rgba(148, 163, 184, 0.04) 14px
  );
  pointer-events: none;
  z-index: 0;
}

.host-checklist-reco-list--ai > li {
  position: relative;
  z-index: 1;
}

.host-checklist-reco-item {
  border-bottom: 1px solid var(--color-border);
}

.host-checklist-reco-item:last-child {
  border-bottom: none;
}

.host-checklist-reco-item--ai {
  border-bottom-color: rgba(34, 211, 238, 0.12);
  transition: background var(--duration-fast) var(--ease-default);
}

.host-checklist-reco-item--ai:hover {
  background: rgba(34, 211, 238, 0.07);
}

.host-checklist-reco-item--ai .host-checklist-reco-item__checkbox {
  accent-color: #22d3ee;
}

.host-checklist-reco-item__label {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-3);
  cursor: pointer;
}

.host-checklist-reco-item__checkbox {
  margin-top: 0.2rem;
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

.host-checklist-reco-item__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  min-width: 0;
}

.host-checklist-reco-item__short {
  font-weight: 600;
  color: var(--color-text);
}

.host-checklist-reco-item--ai .host-checklist-reco-item__short {
  color: #f8fafc;
}

.host-checklist-reco-item__long {
  font-size: var(--text-sm);
  line-height: 1.45;
  color: var(--color-text-muted);
}

.host-checklist-reco-item--ai .host-checklist-reco-item__long,
.host-checklist-reco-item--ai .host-checklist-reco-item__rationale {
  color: rgba(226, 232, 240, 0.9);
}

.host-checklist-reco-item__rationale {
  font-size: var(--text-sm);
  font-style: italic;
  line-height: 1.45;
  color: rgba(165, 243, 252, 0.95);
}

/* Recommendations: submit bar — sticky to viewport bottom while scrolling; in-flow at document end (not fixed) */
.host-page--checklist-recommendations .host-checklist-reco-form {
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.host-page--checklist-recommendations .host-checklist-reco-actions {
  position: sticky;
  bottom: 0;
  z-index: 50;
  box-sizing: border-box;
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: var(--space-4);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-2);
  overflow: visible;
  /* Generous bottom padding so multi-line helper + home indicator never clip; primary button stays above the danger zone */
  padding: var(--space-4) var(--space-4) calc(var(--space-5) + max(env(safe-area-inset-bottom, 0px), 12px));
  background: var(--color-surface-elevated, #eef2f7);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -6px 24px color-mix(in srgb, var(--color-text) 8%, transparent);
  transform: translateZ(0);
}

@media (min-width: 640px) {
  .host-page--checklist-recommendations .host-checklist-reco-actions {
    padding-left: var(--space-8);
    padding-right: var(--space-8);
  }
}

.host-checklist-reco-actions__helper {
  margin: 0;
  max-width: 28rem;
  font-size: var(--text-xs);
  line-height: 1.45;
  color: var(--color-text-muted);
  /* Keep descenders / last line inside the padded bar (avoid subpixel clip on mobile) */
  padding-bottom: 0.125rem;
}

.host-page--checklist-recommendations .host-checklist-reco-actions__submit {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-lg);
  font-weight: 600;
  min-width: min(100%, 18rem);
  border-radius: var(--radius-md);
}

/* Don’t stretch <main> to fill the viewport — that left a tall empty band (page bg) between the sticky CTA and the footer */
main.app-container--wide:has(.host-page--checklist-recommendations) {
  flex: 0 1 auto;
  padding-top: var(--space-3);
  /* Mobile: full-bleed — inner card / panels keep horizontal padding */
  padding-left: 0;
  padding-right: 0;
}

@media (min-width: 640px) {
  main.app-container--wide:has(.host-page--checklist-recommendations) {
    padding-top: var(--space-4);
    padding-left: var(--space-8);
    padding-right: var(--space-8);
  }
}

@media (min-width: 1024px) {
  main.app-container--wide:has(.host-page--guide-interview-complete) {
    max-width: min(90rem, calc(100vw - 2rem));
  }
}

/* Checklist editor groups/items: components/sortable_list.css (.sortable-list + .checklist-editor-*) */

/* Meta bar surface: .card.card--meta (components/card.css) */

.host-checklist-edit-meta-card__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-5);
}

/* Meta bar: “More actions” opens junk-drawer dialog */
.host-checklist-edit-more-actions-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-color: color-mix(in srgb, var(--color-text) 14%, transparent);
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  box-shadow: 0 1px 2px color-mix(in srgb, var(--color-text) 6%, transparent);
}

.host-checklist-edit-more-actions-trigger:hover {
  border-color: color-mix(in srgb, var(--color-primary) 35%, transparent);
  background: #fff;
}

.host-checklist-edit-more-actions-trigger:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px color-mix(in srgb, var(--color-primary) 35%, transparent);
}

.host-checklist-edit-more-actions-trigger__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem;
  height: 1.25rem;
  font-size: 1rem;
  line-height: 1;
  font-weight: 700;
  color: var(--color-text-muted);
  transform: translateY(-1px);
}

.host-checklist-edit-more-actions__lead {
  margin: 0 0 var(--space-4);
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--color-text-muted);
}

.host-checklist-edit-modal--more-actions .host-checklist-edit-modal__content {
  max-width: 22.5rem;
}

.host-checklist-edit-modal--more-actions .host-checklist-edit-modal__body {
  overflow: visible;
}

.host-checklist-edit-more-actions__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  align-items: stretch;
}

.host-checklist-edit-more-actions__tile {
  position: relative;
  aspect-ratio: 1;
  min-width: 0;
  min-height: 0;
  border-radius: var(--radius-md);
  border: 1px solid color-mix(in srgb, var(--color-text) 12%, transparent);
  overflow: hidden;
}

/* Tinted tile bases (full bleed). Inner controls stay transparent — do not use .btn--secondary here (white surface). */
.host-checklist-edit-more-actions__tile--export {
  border-color: rgba(13, 148, 136, 0.45);
  background: linear-gradient(155deg, #5eead4 0%, #2dd4bf 28%, #a7f3d0 72%, #d1fae5 100%);
}

.host-checklist-edit-more-actions__tile--attach {
  border-color: color-mix(in srgb, var(--color-primary) 42%, transparent);
  background: linear-gradient(155deg, #fdba74 0%, #fb923c 32%, #fed7aa 100%);
}

.host-checklist-edit-more-actions__tile--icons {
  border-color: rgba(37, 99, 235, 0.4);
  background: linear-gradient(155deg, #93c5fd 0%, #60a5fa 30%, #bfdbfe 100%);
}

.host-checklist-edit-more-actions__tile--repopulate {
  border-color: rgba(124, 58, 237, 0.45);
  background: linear-gradient(155deg, #c4b5fd 0%, #a78bfa 28%, #ddd6fe 100%);
}

.host-checklist-edit-more-actions__tile-hit {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0.5rem 0.4rem 1.75rem;
  box-sizing: border-box;
  text-align: center;
  border: none;
  border-radius: 0.65rem;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform var(--duration-normal) var(--ease-spring),
    background var(--duration-normal) var(--ease-default),
    box-shadow var(--duration-normal) var(--ease-default),
    filter var(--duration-normal) var(--ease-default);
}

@media (hover: hover) and (pointer: fine) {
  .host-checklist-edit-more-actions__tile-hit:hover:not(:disabled) {
    transform: translateY(-3px);
  }

  a.host-checklist-edit-more-actions__tile-hit:hover {
    transform: translateY(-3px);
  }

  .host-checklist-edit-more-actions__tile-hit:active:not(:disabled) {
    transform: translateY(-1px);
  }

  a.host-checklist-edit-more-actions__tile-hit:active {
    transform: translateY(-1px);
  }
}

.host-checklist-edit-more-actions__tile-btn {
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.25;
  hyphens: auto;
  overflow-wrap: anywhere;
}

.host-checklist-edit-more-actions__tile-label {
  display: block;
  max-width: 100%;
}

.host-checklist-edit-more-actions__tile-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.host-checklist-edit-more-actions__tile-icon {
  display: block;
}

.host-checklist-edit-more-actions__tile-icon--attach {
  color: #7c2d12;
}

.host-checklist-edit-more-actions__tile-icon--icons {
  color: #1e3a8a;
}

/* Glass inset on top of tile color — not .btn--secondary (would paint white over the gradient). */
a.host-checklist-edit-more-actions__tile-surface {
  color: #0f172a;
}

a.host-checklist-edit-more-actions__tile-surface:visited {
  color: #0f172a;
}

@media (prefers-reduced-motion: reduce) {
  .host-checklist-edit-more-actions__tile-surface,
  .host-checklist-edit-export-xlsx,
  .host-checklist-edit-more-actions__tile-fg {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

.host-checklist-edit-more-actions__tile-surface {
  background: rgba(255, 255, 255, 0.14);
  color: #0f172a;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition:
    background var(--duration-normal) var(--ease-default),
    box-shadow var(--duration-normal) var(--ease-default),
    transform var(--duration-normal) var(--ease-default);
}

.host-checklist-edit-more-actions__tile--attach .host-checklist-edit-more-actions__tile-surface:hover {
  background: rgba(255, 255, 255, 0.32);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.55),
    inset 0 0 0 2px rgba(124, 45, 18, 0.25),
    0 8px 20px rgba(124, 45, 18, 0.18);
}

.host-checklist-edit-more-actions__tile--icons .host-checklist-edit-more-actions__tile-surface:hover {
  background: rgba(255, 255, 255, 0.32);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.55),
    inset 0 0 0 2px rgba(30, 58, 138, 0.28),
    0 8px 20px rgba(30, 64, 175, 0.2);
}

.host-checklist-edit-more-actions__tile--repopulate .host-checklist-edit-more-actions__tile-surface:hover {
  background: rgba(255, 255, 255, 0.32);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.55),
    inset 0 0 0 2px rgba(91, 33, 182, 0.28),
    0 8px 22px rgba(91, 33, 182, 0.22);
}

.host-checklist-edit-more-actions__tile--attach .host-checklist-edit-more-actions__tile-surface:focus-visible {
  outline: none;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.6),
    0 0 0 2px #fff,
    0 0 0 5px color-mix(in srgb, var(--color-primary) 40%, transparent);
}

.host-checklist-edit-more-actions__tile--icons .host-checklist-edit-more-actions__tile-surface:focus-visible {
  outline: none;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.6),
    0 0 0 2px #fff,
    0 0 0 5px rgba(37, 99, 235, 0.45);
}

.host-checklist-edit-more-actions__tile--repopulate .host-checklist-edit-more-actions__tile-surface:focus-visible {
  outline: none;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.6),
    0 0 0 2px #fff,
    0 0 0 5px rgba(109, 40, 217, 0.45);
}

form.host-checklist-edit-more-actions__tile-form {
  display: block;
  height: 100%;
  margin: 0;
}

/* Repopulate: same glass tile as others */
.host-checklist-edit-more-actions__repopulate-hit {
  overflow: hidden;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  line-height: 1.2;
}

/* Conic hover shimmer — all four modal actions (stronger sweep, hue-matched) */
.host-checklist-edit-more-actions__tile-shimmer {
  position: absolute;
  inset: -55%;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-default);
}

.host-checklist-edit-more-actions__tile-shimmer--export {
  background: conic-gradient(
    from 115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.65) 14%,
    transparent 28%,
    rgba(20, 184, 166, 0.65) 42%,
    transparent 56%,
    rgba(255, 255, 255, 0.45) 72%,
    rgba(13, 148, 136, 0.5) 86%,
    transparent 100%
  );
}

.host-checklist-edit-more-actions__tile-shimmer--attach {
  background: conic-gradient(
    from 115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.7) 14%,
    transparent 30%,
    rgba(251, 146, 60, 0.7) 44%,
    transparent 58%,
    rgba(255, 255, 255, 0.45) 74%,
    color-mix(in srgb, var(--color-primary) 55%, transparent) 88%,
    transparent 100%
  );
}

.host-checklist-edit-more-actions__tile-shimmer--icons {
  background: conic-gradient(
    from 115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.68) 14%,
    transparent 28%,
    rgba(96, 165, 250, 0.68) 42%,
    transparent 56%,
    rgba(255, 255, 255, 0.48) 72%,
    rgba(37, 99, 235, 0.55) 86%,
    transparent 100%
  );
}

.host-checklist-edit-more-actions__tile-shimmer--repopulate {
  background: conic-gradient(
    from 115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.72) 14%,
    transparent 28%,
    rgba(167, 139, 250, 0.75) 42%,
    transparent 56%,
    rgba(255, 255, 255, 0.5) 72%,
    rgba(124, 58, 237, 0.65) 86%,
    transparent 100%
  );
}

@media (hover: hover) and (pointer: fine) {
  .host-checklist-edit-more-actions__tile-hit:hover .host-checklist-edit-more-actions__tile-shimmer {
    opacity: 1;
    animation: checklist-more-actions-shimmer 2.5s linear infinite;
  }
}

.host-checklist-edit-more-actions__tile-hit:focus-visible .host-checklist-edit-more-actions__tile-shimmer {
  opacity: 1;
  animation: checklist-more-actions-shimmer 2.5s linear infinite;
}

@keyframes checklist-more-actions-shimmer {
  to {
    transform: rotate(360deg);
  }
}

/* Frosted plate: fixed % of tile hit area — same footprint on every action */
.host-checklist-edit-more-actions__tile-fg {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  align-self: center;
  width: 78%;
  height: 58%;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(0.15rem, 3%, 0.35rem);
  padding: clamp(0.2rem, 3.5%, 0.4rem) clamp(0.25rem, 4%, 0.45rem);
  box-sizing: border-box;
  border-radius: var(--radius);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: rgba(255, 255, 255, 0.9);
  box-shadow:
    0 2px 10px color-mix(in srgb, var(--color-text) 10%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.host-checklist-edit-more-actions__tile--export .host-checklist-edit-more-actions__tile-fg {
  background: rgba(236, 253, 245, 0.92);
}

.host-checklist-edit-more-actions__tile--attach .host-checklist-edit-more-actions__tile-fg {
  background: rgba(255, 247, 237, 0.92);
}

.host-checklist-edit-more-actions__tile--icons .host-checklist-edit-more-actions__tile-fg {
  background: rgba(239, 246, 255, 0.92);
}

.host-checklist-edit-more-actions__tile--repopulate .host-checklist-edit-more-actions__tile-fg {
  background: rgba(245, 243, 255, 0.92);
}

.host-checklist-edit-more-actions__repopulate-sparkle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin: 0;
  padding: 0;
  font-size: 1.125rem;
  line-height: 1;
  color: #5b21b6;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.55));
}

.host-checklist-edit-more-actions__tile-repopulate-label {
  display: block;
  max-width: 100%;
  text-align: center;
  color: #0f172a;
}

.host-checklist-edit-more-actions__tile-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  margin: 0;
  /* One blank line above the copy: padding-top = one line (line-height 1.3 at this font size). */
  padding: 1.3em 0.45rem 0.35rem;
  max-height: 48%;
  font-size: 0.625rem;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #f8fafc;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity var(--duration-normal) var(--ease-default), transform var(--duration-normal) var(--ease-default);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

/* Dark wash: extremely dark parent hue (not neutral black). */
.host-checklist-edit-more-actions__tile--export .host-checklist-edit-more-actions__tile-caption {
  background: linear-gradient(180deg, transparent 0%, rgba(2, 44, 38, 0.22) 12%, rgba(2, 44, 38, 0.68) 36%, rgba(2, 44, 38, 0.97) 52%);
}

.host-checklist-edit-more-actions__tile--attach .host-checklist-edit-more-actions__tile-caption {
  background: linear-gradient(180deg, transparent 0%, rgba(67, 20, 7, 0.24) 12%, rgba(67, 20, 7, 0.68) 36%, rgba(67, 20, 7, 0.97) 52%);
}

.host-checklist-edit-more-actions__tile--icons .host-checklist-edit-more-actions__tile-caption {
  background: linear-gradient(180deg, transparent 0%, rgba(15, 31, 74, 0.22) 12%, rgba(15, 31, 74, 0.68) 36%, rgba(15, 31, 74, 0.97) 52%);
}

.host-checklist-edit-more-actions__tile--repopulate .host-checklist-edit-more-actions__tile-caption {
  background: linear-gradient(180deg, transparent 0%, rgba(59, 7, 100, 0.24) 12%, rgba(59, 7, 100, 0.68) 36%, rgba(59, 7, 100, 0.97) 52%);
}

@media (hover: hover) and (pointer: fine) {
  .host-checklist-edit-more-actions__tile:hover .host-checklist-edit-more-actions__tile-caption {
    opacity: 1;
    transform: translateY(0);
  }

  .host-checklist-edit-more-actions__tile:focus-within .host-checklist-edit-more-actions__tile-caption {
    opacity: 1;
    transform: translateY(0);
  }

  .host-checklist-edit-more-actions__tile-info {
    display: none;
  }
}

@media (hover: none), (pointer: coarse) {
  .host-checklist-edit-more-actions__tile-caption {
    opacity: 0;
    transform: translateY(4px);
  }

  .host-checklist-edit-more-actions__tile--hint-open .host-checklist-edit-more-actions__tile-caption {
    opacity: 1;
    transform: translateY(0);
  }
}

.host-checklist-edit-more-actions__tile-info {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  z-index: 3;
  display: none;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--color-text) 12%, transparent);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-text-muted);
  font-size: 0.65rem;
  font-weight: 700;
  font-style: italic;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 1px 2px color-mix(in srgb, var(--color-text) 8%, transparent);
}

.host-checklist-edit-more-actions__tile-info:hover,
.host-checklist-edit-more-actions__tile-info:focus-visible {
  color: var(--color-primary);
  border-color: color-mix(in srgb, var(--color-primary) 35%, transparent);
  outline: none;
}

@media (hover: none), (pointer: coarse) {
  .host-checklist-edit-more-actions__tile-info {
    display: flex;
  }
}

/* More actions: export XLSX — glass on teal tile (no near-white fill) */
.host-checklist-edit-export-xlsx {
  --export-xlsx-fg: #0f172a;
  --export-xlsx-accent: #0f766e;
  --export-xlsx-accent2: #14b8a6;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  flex: 1;
  width: 100%;
  padding: 0.5rem 0.4rem 1.75rem;
  margin: 0;
  border: none;
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.16);
  color: var(--export-xlsx-fg);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition:
    box-shadow var(--duration-normal) var(--ease-default),
    transform var(--duration-normal) var(--ease-default),
    background var(--duration-normal) var(--ease-default);
}

.host-checklist-edit-export-xlsx:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.3);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.55),
    inset 0 0 0 2px rgba(6, 95, 70, 0.22),
    0 8px 22px rgba(6, 95, 70, 0.22);
}

.host-checklist-edit-export-xlsx:focus-visible {
  outline: none;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.6),
    0 0 0 2px #fff,
    0 0 0 5px rgba(13, 148, 136, 0.45);
}

.host-checklist-edit-export-xlsx:disabled {
  cursor: wait;
  opacity: 0.96;
}

.host-checklist-edit-export-xlsx__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.host-checklist-edit-export-xlsx__icon {
  flex-shrink: 0;
  color: var(--export-xlsx-accent);
}

.host-checklist-edit-export-xlsx__label {
  color: #042f2e;
}

.host-checklist-edit-export-xlsx__busy:not([hidden]) {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.15rem 0;
}

.host-checklist-edit-export-xlsx__busy[hidden] {
  display: none !important;
}

.host-checklist-edit-export-xlsx--working .host-checklist-edit-export-xlsx__busy-dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--export-xlsx-accent2), var(--export-xlsx-accent));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.6);
  animation: checklist-export-xlsx-dot 0.9s ease-in-out infinite both;
}

.host-checklist-edit-export-xlsx--working .host-checklist-edit-export-xlsx__busy-dot:nth-child(2) {
  animation-delay: 0.15s;
}

.host-checklist-edit-export-xlsx--working .host-checklist-edit-export-xlsx__busy-dot:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes checklist-export-xlsx-dot {
  0%,
  100% {
    opacity: 0.35;
    transform: translateY(0) scale(0.92);
  }
  50% {
    opacity: 1;
    transform: translateY(-2px) scale(1);
  }
}

.host-checklist-edit-export-xlsx--working::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0.55) 45%,
    rgba(20, 184, 166, 0.12) 50%,
    rgba(255, 255, 255, 0.55) 55%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: checklist-export-xlsx-shimmer 1.15s ease-in-out infinite;
}

@keyframes checklist-export-xlsx-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

/* Narrow viewports: iOS/WebKit often composites backdrop-filter poorly — SVG strokes look muddy.
   Overrides must sit after base .host-checklist-edit-export-xlsx / .tile-fg rules above. */
@media (max-width: 640px) {
  .host-checklist-edit-more-actions__tile-surface,
  .host-checklist-edit-more-actions__tile-fg {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .host-checklist-edit-more-actions__tile-surface {
    background: rgba(255, 255, 255, 0.58);
  }

  /* Frosted panel fills the whole tile square (not the inset 78×58% “plate”). */
  .host-checklist-edit-more-actions__tile-hit {
    padding: 0.35rem;
    align-items: stretch;
    justify-content: flex-start;
  }

  .host-checklist-edit-more-actions__tile-fg {
    width: 100%;
    flex: 1 1 0;
    align-self: stretch;
    min-height: 0;
    max-height: none;
    border-radius: 0.55rem;
  }

  .host-checklist-edit-more-actions__tile--export .host-checklist-edit-export-xlsx {
    padding: 0.35rem;
    align-items: stretch;
    justify-content: flex-start;
    min-height: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255, 255, 255, 0.52);
  }

  .host-checklist-edit-more-actions__tile--export .host-checklist-edit-more-actions__tile-fg {
    background: rgba(236, 253, 245, 0.98);
  }

  .host-checklist-edit-more-actions__tile--attach .host-checklist-edit-more-actions__tile-fg {
    background: rgba(255, 247, 237, 0.98);
  }

  .host-checklist-edit-more-actions__tile--icons .host-checklist-edit-more-actions__tile-fg {
    background: rgba(239, 246, 255, 0.98);
  }

  .host-checklist-edit-more-actions__tile--repopulate .host-checklist-edit-more-actions__tile-fg {
    background: rgba(245, 243, 255, 0.98);
  }

  .host-checklist-edit-more-actions__tile-visual {
    transform: translateZ(0);
  }

  .host-checklist-edit-more-actions__tile-icon {
    width: 28px;
    height: 28px;
  }

  .host-checklist-edit-export-xlsx__icon {
    width: 24px;
    height: 24px;
  }

  .host-checklist-edit-modal--more-actions .host-checklist-edit-modal__content {
    max-width: min(22.5rem, calc(100vw - 1.25rem));
  }

  /* “i” hints: desktop narrow mode still matches (hover: hover) + fine pointer, which hides .tile-info.
     Always show tappable info on small screens; keep above the full-bleed frosted layer. */
  .host-checklist-edit-more-actions__tile-info {
    display: flex !important;
    z-index: 6;
    width: 1.5rem;
    height: 1.5rem;
    top: 0.3rem;
    right: 0.3rem;
  }
}

/* AI repopulate icons: gradient pill + hover tooltip */
.host-checklist-edit-ai-repopulate {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.host-checklist-edit-ai-repopulate__form {
  display: inline;
  margin: 0;
}

.host-checklist-edit-ai-repopulate__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem 0.5rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #f8fafc;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #a855f7 100%);
  background-size: 200% 200%;
  border: none;
  border-radius: 999px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18) inset,
    0 2px 10px rgba(79, 70, 229, 0.35),
    0 0 20px rgba(168, 85, 247, 0.15);
  cursor: pointer;
  transition: transform var(--duration-normal) var(--ease-default), box-shadow var(--duration-normal) var(--ease-default), filter var(--duration-normal) var(--ease-default);
  overflow: hidden;
}

.host-checklist-edit-ai-repopulate__btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.25) inset,
    0 4px 18px rgba(124, 58, 237, 0.45),
    0 0 28px rgba(168, 85, 247, 0.25);
}

.host-checklist-edit-ai-repopulate__btn:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 2px #fff,
    0 0 0 4px #7c3aed,
    0 4px 18px rgba(124, 58, 237, 0.4);
}

.host-checklist-edit-ai-repopulate__glow {
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 120deg, transparent 0%, rgba(255, 255, 255, 0.12) 15%, transparent 35%, rgba(255, 255, 255, 0.08) 50%, transparent 70%);
  animation: none;
  pointer-events: none;
}

.host-checklist-edit-ai-repopulate__btn:hover .host-checklist-edit-ai-repopulate__glow,
.host-checklist-edit-ai-repopulate__btn:focus-visible .host-checklist-edit-ai-repopulate__glow {
  animation: checklist-ai-shimmer 4s linear infinite;
}

@keyframes checklist-ai-shimmer {
  to {
    transform: rotate(360deg);
  }
}

.host-checklist-edit-ai-repopulate__icon {
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
  line-height: 1;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.7));
}

.host-checklist-edit-ai-repopulate__btn > :not(.host-checklist-edit-ai-repopulate__glow) {
  position: relative;
  z-index: 1;
}

.host-checklist-edit-ai-repopulate__tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  transform: translateX(-50%) translateY(6px);
  width: min(22rem, calc(100vw - 2rem));
  max-width: 22rem;
  padding: 0.75rem 1rem;
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: normal;
  text-transform: none;
  color: var(--color-text);
  text-align: left;
  background: #fff;
  border: 1px solid rgba(124, 58, 237, 0.22);
  border-radius: 0.625rem;
  box-shadow: 0 12px 32px color-mix(in srgb, var(--color-text) 14%, transparent);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-default), transform var(--duration-normal) var(--ease-default), visibility var(--duration-normal) var(--ease-default);
  z-index: 30;
}

.host-checklist-edit-ai-repopulate__tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -7px;
  border: 7px solid transparent;
  border-top-color: #fff;
  filter: drop-shadow(0 2px 1px rgba(124, 58, 237, 0.08));
}

.host-checklist-edit-ai-repopulate:hover .host-checklist-edit-ai-repopulate__tooltip,
.host-checklist-edit-ai-repopulate:focus-within .host-checklist-edit-ai-repopulate__tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .host-checklist-edit-ai-repopulate__btn:hover .host-checklist-edit-ai-repopulate__glow,
  .host-checklist-edit-ai-repopulate__btn:focus-visible .host-checklist-edit-ai-repopulate__glow {
    animation: none;
  }

  .host-checklist-edit-more-actions__tile-hit:hover .host-checklist-edit-more-actions__tile-shimmer,
  .host-checklist-edit-more-actions__tile-hit:focus-visible .host-checklist-edit-more-actions__tile-shimmer {
    animation: none !important;
    opacity: 0.22;
  }

  .host-checklist-edit-export-xlsx--working::after {
    animation: none;
  }

  .host-checklist-edit-export-xlsx--working .host-checklist-edit-export-xlsx__busy-dot {
    animation: none;
  }

  @media (hover: hover) and (pointer: fine) {
    .host-checklist-edit-more-actions__tile-hit:hover:not(:disabled),
    a.host-checklist-edit-more-actions__tile-hit:hover {
      transform: none;
    }
  }
}

.host-checklist-edit-meta-card__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  flex-shrink: 0;
}

.host-checklist-edit-meta-card__hours-wrap {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
}

.host-checklist-edit-meta-card__name {
  flex: 1;
  min-width: 12rem;
  padding: var(--space-2) var(--space-3);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--color-text);
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--color-text) 10%, transparent);
  border-radius: var(--radius);
  transition: border-color var(--duration-normal) var(--ease-default), box-shadow var(--duration-normal) var(--ease-default);
}

.host-checklist-edit-meta-card__name::placeholder {
  font-weight: 500;
  color: var(--color-text-muted);
}

.host-checklist-edit-meta-card__name:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--color-primary) 40%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 10%, transparent);
}

.host-checklist-edit-meta-card__hours {
  width: 4.5rem;
  padding: var(--space-2) var(--space-2);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--color-text) 10%, transparent);
  border-radius: var(--radius);
  text-align: center;
  transition: border-color var(--duration-normal) var(--ease-default), box-shadow var(--duration-normal) var(--ease-default);
}

.host-checklist-edit-meta-card__hours::placeholder {
  color: var(--color-text-muted);
}

.host-checklist-edit-meta-card__hours:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--color-primary) 40%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 10%, transparent);
}

.host-checklist-edit-modal__textarea {
  width: 100%;
  min-height: 8rem;
  resize: vertical;
  margin-bottom: var(--space-4);
}

.checklist-long-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-2);
}

.host-checklist-edit-actions {
  margin-top: var(--space-6);
}

.host-checklist-edit-autosave {
  margin: 0 0 var(--space-2);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  min-height: 1em;
  line-height: 1.3;
  opacity: 0.85;
}

/* Edit checklist template — compact, no submit, drag reorder */
.host-page--checklist-edit {
  max-width: 40rem;
  margin: 0 auto;
}

.host-checklist-edit-card {
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-4);
  border: 1px solid color-mix(in srgb, var(--color-text) 6%, transparent);
  box-shadow: 0 1px 3px color-mix(in srgb, black 5%, transparent);
  border-radius: var(--radius-lg);
}

.host-checklist-edit-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-2) var(--space-4);
}

.host-checklist-edit-meta__label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}

.host-checklist-edit-meta__input {
  width: 5rem;
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-base);
  border: 1px solid color-mix(in srgb, var(--color-text) 12%, transparent);
  border-radius: var(--radius);
  transition: border-color var(--duration-normal) var(--ease-default), box-shadow var(--duration-normal) var(--ease-default);
}

.host-checklist-edit-meta__input:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--color-primary) 50%, transparent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 14%, transparent);
}

.host-checklist-edit-meta__hint {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  width: 100%;
}

.host-checklist-edit-add__heading {
  font-size: var(--text-base);
  font-weight: 700;
  margin: 0 0 var(--space-3);
  color: var(--color-text);
}

.host-checklist-edit-search {
  position: relative;
  margin-bottom: var(--space-3);
}

.host-checklist-edit-search__input {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  border: 1px solid color-mix(in srgb, var(--color-text) 12%, transparent);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text);
  transition: border-color var(--duration-normal) var(--ease-default), box-shadow var(--duration-normal) var(--ease-default);
}

.host-checklist-edit-search__input::placeholder {
  color: var(--color-text-muted);
}

.host-checklist-edit-search__input:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--color-primary) 50%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 12%, transparent);
}

.host-checklist-edit-search__results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: var(--space-1);
  padding: var(--space-2);
  background: var(--color-surface);
  border: 1px solid color-mix(in srgb, var(--color-text) 8%, transparent);
  border-radius: var(--radius);
  box-shadow: 0 4px 12px color-mix(in srgb, black 8%, transparent);
  max-height: 16rem;
  overflow-y: auto;
  z-index: 10;
}

.host-checklist-edit-search__result-item {
  display: block;
  width: 100%;
  padding: var(--space-2) var(--space-3);
  text-align: left;
  font-size: var(--text-sm);
  color: var(--color-text);
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease-default);
}

.host-checklist-edit-search__result-item:hover {
  background: color-mix(in srgb, var(--color-primary) 8%, transparent);
  color: var(--color-primary);
}

.host-checklist-edit-search__result-item--attached,
.host-checklist-edit-search__result-item:disabled {
  color: var(--color-text-muted);
  cursor: not-allowed;
  opacity: 0.7;
}

.host-checklist-edit-search__result-item--attached:hover,
.host-checklist-edit-search__result-item:disabled:hover {
  background: transparent;
  color: var(--color-text-muted);
}

.host-checklist-edit-search__empty {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding: var(--space-2);
}

.host-checklist-edit-browse {
  margin: var(--space-3) 0 0;
  padding-top: var(--space-2);
  border-top: 1px solid color-mix(in srgb, var(--color-text) 8%, transparent);
}

.host-checklist-edit-browse__btn {
  display: inline-block;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.host-checklist-edit-browse__btn:hover {
  color: var(--color-primary);
}

.host-checklist-edit-browse__btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Checklist editor modals: overlay + panel from components/modal.css (.modal) */

.host-checklist-edit-modal__lead {
  margin: 0 0 var(--space-4);
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--color-text-muted);
}

.host-checklist-edit-modal__empty {
  margin: 0 0 var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.host-checklist-edit-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.host-checklist-attach-properties-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  cursor: pointer;
  font-size: var(--text-sm);
  font-weight: 500;
}

.host-checklist-attach-properties-checkbox {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.host-checklist-attach-properties-list .host-checklist-edit-modal__list-item {
  padding: var(--space-2) var(--space-3);
}

.host-checklist-edit-modal__filter {
  margin-bottom: var(--space-4);
}

.host-checklist-edit-modal__filter-input {
  width: 100%;
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  border: 1px solid color-mix(in srgb, var(--color-text) 12%, transparent);
  border-radius: var(--radius);
  background: var(--color-surface);
  color: var(--color-text);
}

.host-checklist-edit-modal__filter-input:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--color-primary) 50%, transparent);
}

.host-checklist-edit-modal__list {
  list-style: none;
  margin: 0 0 var(--space-5);
  padding: 0;
  max-height: 12rem;
  overflow-y: auto;
}

.host-checklist-edit-modal__list-item {
  display: block;
  width: 100%;
  padding: var(--space-2) var(--space-3);
  text-align: left;
  font-size: var(--text-sm);
  color: var(--color-text);
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease-default);
}

.host-checklist-edit-modal__list-item:hover {
  background: color-mix(in srgb, var(--color-primary) 8%, transparent);
  color: var(--color-primary);
}

.host-checklist-edit-modal__list-item--attached,
.host-checklist-edit-modal__list-item:disabled {
  color: var(--color-text-muted);
  cursor: not-allowed;
  opacity: 0.7;
}

.host-checklist-edit-modal__list-item--attached:hover,
.host-checklist-edit-modal__list-item:disabled:hover {
  background: transparent;
  color: var(--color-text-muted);
}

.host-checklist-edit-modal__list-empty {
  margin: 0;
  padding: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.host-checklist-edit-modal__custom {
  padding-top: var(--space-4);
  border-top: 1px solid color-mix(in srgb, var(--color-text) 8%, transparent);
}

.host-checklist-edit-modal__custom-heading {
  font-size: var(--text-sm);
  font-weight: 600;
  margin: 0 0 var(--space-1);
  color: var(--color-text);
}

.host-checklist-edit-modal__custom-hint {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0 0 var(--space-3);
  line-height: 1.45;
}

.host-checklist-edit-modal__custom-row {
  display: flex;
  gap: var(--space-2);
  align-items: center;
  flex-wrap: wrap;
}

.host-checklist-edit-modal__custom-input {
  flex: 1;
  min-width: 10rem;
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  border: 1px solid color-mix(in srgb, var(--color-text) 12%, transparent);
  border-radius: var(--radius);
}

.host-checklist-edit-modal__custom-input:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--color-primary) 50%, transparent);
}

.host-checklist-edit-modal__custom-btn {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  flex-shrink: 0;
}

.host-checklist-edit-modal__similar {
  margin-top: var(--space-4);
  padding: var(--space-4);
  background: #fef3c7;
  border: 1px solid #fcd34d;
  border-radius: var(--radius);
}

.host-checklist-edit-modal__similar-message {
  font-size: var(--text-sm);
  font-weight: 500;
  color: #92400e;
  margin: 0 0 var(--space-2);
}

.host-checklist-edit-modal__similar-list {
  list-style: none;
  margin: 0 0 var(--space-3);
  padding: 0;
}

.host-checklist-edit-modal__similar-item {
  display: block;
  width: 100%;
  padding: var(--space-1) 0;
  text-align: left;
  font-size: var(--text-sm);
  color: #b45309;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.host-checklist-edit-modal__similar-item:hover {
  color: #92400e;
}

.host-checklist-edit-modal__add-anyway {
  font-size: var(--text-sm);
}

/* Sortable list rows: components/sortable_list.css */

.host-checklist-edit-back {
  margin: var(--space-4) 0 0;
}

.host-checklist-edit-back__link {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
}

.host-checklist-edit-back__link:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

.host-property-checklists-card .host-recordings-header__title {
  margin-top: 0;
}

.host-property-checklists-list {
  list-style: none;
  margin: 0 0 var(--space-4);
  padding: 0;
}

.host-property-checklists-list__item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--color-border);
}

.host-property-checklists-list__meta {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.host-property-checklists-attach {
  margin-top: var(--space-3);
}

.host-checklist-run-items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.host-checklist-run-items__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--color-border);
}

.host-checklist-run-items__completed {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.host-property-form .form-group {
  margin-bottom: var(--space-4);
}

/* Description textarea: match inputs, comfortable height, clear focus */
.host-property-form .form-group textarea {
  width: 100%;
  min-height: 6rem;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  font-family: inherit;
  line-height: 1.55;
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  resize: vertical;
  transition: border-color var(--duration-fast) var(--ease-default), box-shadow var(--duration-fast) var(--ease-default);
}

.host-property-form .form-group textarea::placeholder {
  color: var(--color-text-muted);
}

.host-property-form .form-group textarea:hover {
  border-color: var(--color-text-muted);
}

.host-property-form .form-group textarea:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--color-primary) 50%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 12%, transparent);
}

/* Prominent URL input for pasting Airbnb links */
.host-property-form__url-input {
  padding: var(--space-4) var(--space-5) !important;
  font-size: 1.0625rem !important;
  min-height: 3.25rem;
  max-width: 36rem;
}

.host-property-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

/* Property photo upload: preview and validation error */
.host-property-form__photo-input-row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.host-property-form__photo-input-row .form-group.input {
  flex: 0 0 auto;
}
.host-property-form__photo-selected-preview {
  flex: 0 0 auto;
  position: relative;
  display: none; /* hidden until user selects a file via Choose File */
}
.host-property-form__photo-selected-preview:not([hidden]) {
  display: inline-block;
}
.host-property-form__photo-preview-thumb {
  display: block;
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid color-mix(in srgb, var(--color-text) 12%, transparent);
  background: var(--color-surface-muted, #f1f5f9);
}
.host-property-form__photo-preview-remove {
  position: absolute;
  top: 0;
  right: 0;
  width: 1.5rem;
  height: 1.5rem;
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  line-height: 1;
  color: #fff;
  background: color-mix(in srgb, black 60%, transparent);
  border: none;
  border-radius: 0 var(--radius-md) 0 var(--radius-md);
  transition: background var(--duration-fast) var(--ease-default);
  cursor: pointer;
}
.host-property-form__photo-preview-remove:hover {
  background: color-mix(in srgb, black 85%, transparent);
  cursor: pointer;
}
.host-property-form__photo-preview {
  margin-bottom: var(--space-3);
}
.host-property-form__photo-img {
  display: block;
  max-width: 100%;
  width: 300px;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid color-mix(in srgb, var(--color-text) 10%, transparent);
}
.host-property-form__photo-replace {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: var(--space-1) 0 0;
}
.host-property-form__photo-error,
.host-property-form .form-group__error {
  margin-top: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: #b91c1c;
  display: none; /* hidden until validation error is shown */
}
.host-property-form__photo-error:not([hidden]),
.host-property-form .form-group__error:not([hidden]) {
  display: block;
}
.host-property-form__photo-error a,
.host-property-form .form-group__error a {
  color: var(--color-primary);
  text-decoration: underline;
}
.form-hint {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: var(--space-1) 0 0;
}

/* Add property page: collapsible sections with sticky headings under nav */
.host-property-new__section-card {
  --sticky-section-top: 4rem; /* clear app nav when sticky */
}

.host-property-new__section-details {
  display: block;
}

.host-property-new__section-details summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}

.host-property-new__section-details summary::-webkit-details-marker {
  display: none;
}

/* Caret: right when collapsed (▶), down when expanded (▼), right-floated */
.host-property-new__section-details summary::after {
  content: "";
  flex-shrink: 0;
  width: 0.5em;
  height: 0.5em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg); /* collapsed: point right */
  transition: transform var(--duration-normal) var(--ease-default);
}

.host-property-new__section-details[open] summary::after {
  transform: rotate(45deg); /* expanded: point down */
}

.host-property-new__section-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 var(--space-1);
  letter-spacing: -0.02em;
}

.host-property-new__section-title--sticky {
  position: sticky;
  top: var(--sticky-section-top);
  z-index: 50;
  background: var(--color-surface);
  padding: var(--space-2) 0;
  margin: 0 0 var(--space-2);
  margin-left: calc(-1 * var(--space-6));
  margin-right: calc(-1 * var(--space-6));
  padding-left: var(--space-6);
  padding-right: var(--space-6);
  border-bottom: 1px solid color-mix(in srgb, var(--color-text) 6%, transparent);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--color-text) 4%, transparent);
}

.host-property-new__section-body {
  padding-top: var(--space-1);
}

.host-property-new__import-card .host-property-new__section-hint {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin: 0 0 var(--space-6);
  max-width: 36rem;
}

.host-property-new__import-forms {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0 calc(-1 * var(--space-5));
}

@media (min-width: 42rem) {
  .host-property-new__import-forms {
    grid-template-columns: 1fr 1fr;
    margin: 0;
    gap: var(--space-5);
  }
}

.host-property-new__import-half {
  min-height: 18rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6) var(--space-5);
  border-radius: var(--radius-md);
  border: 1px solid color-mix(in srgb, var(--color-text) 8%, transparent);
}

@media (min-width: 42rem) {
  .host-property-new__import-half {
    min-height: 22rem;
    padding: var(--space-8) var(--space-6);
  }
}

.host-property-new__import-half--airbnb {
  background: linear-gradient(180deg, rgba(255, 90, 95, 0.06) 0%, rgba(255, 90, 95, 0.02) 50%, transparent 100%);
  border-color: rgba(255, 90, 95, 0.15);
}

.host-property-new__import-half--vrbo {
  background: linear-gradient(180deg, rgba(0, 106, 167, 0.06) 0%, rgba(0, 106, 167, 0.02) 50%, transparent 100%);
  border-color: rgba(0, 106, 167, 0.15);
}

.host-property-new__import-inner--vrbo {
  position: relative;
  width: 100%;
  max-width: 20rem;
}

.host-property-new__vrbo-overlay[hidden] {
  display: none !important;
}

.host-property-new__vrbo-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: var(--space-1);
  animation: vrbo-overlay-enter var(--duration-slow) var(--ease-spring) forwards;
}

@keyframes vrbo-overlay-enter {
  from {
    opacity: 0;
    transform: scale(0.94);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.host-property-new__vrbo-overlay__panel {
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 12rem;
  max-height: min(72vh, 26rem);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.99) 0%, rgba(236, 252, 255, 0.97) 45%, rgba(224, 242, 254, 0.94) 100%);
  border: 2px solid rgba(0, 106, 167, 0.38);
  border-radius: var(--radius);
  box-shadow:
    0 22px 56px color-mix(in srgb, var(--color-text) 16%, transparent),
    0 0 0 1px rgba(0, 106, 167, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  padding: var(--space-5);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.host-property-new__vrbo-overlay__title {
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
  margin: 0 0 var(--space-2);
  color: var(--color-text);
  background: linear-gradient(92deg, #006aa7 0%, #0284c7 55%, #0ea5e9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.host-property-new__vrbo-overlay__lead {
  margin: 0 0 var(--space-4);
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--color-text-muted);
  text-align: center;
}

.host-property-new__vrbo-overlay__log {
  flex: 1 1 auto;
  min-height: 7.5rem;
  max-height: 15rem;
  overflow: auto;
  text-align: left;
  font-family: ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.75rem;
  line-height: 1.5;
  padding: var(--space-3);
  margin: 0 0 var(--space-3);
  background: color-mix(in srgb, var(--color-text) 4.5%, transparent);
  border-radius: calc(var(--radius) - 4px);
  border: 1px solid color-mix(in srgb, var(--color-text) 10%, transparent);
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--color-text);
}

.host-property-new__vrbo-overlay__error {
  margin: 0 0 var(--space-3);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
  color: #b91c1c;
  text-align: center;
}

.host-property-new__vrbo-overlay__actions {
  display: flex;
  gap: var(--space-2);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: var(--space-1);
}

.host-property-new__import-inner {
  width: 100%;
  max-width: 20rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.host-property-new__import-logo {
  height: 2.5rem;
  width: auto;
  object-fit: contain;
  margin-bottom: var(--space-5);
  flex-shrink: 0;
}

.host-property-new__import-half--airbnb .host-property-new__import-logo {
  filter: drop-shadow(0 1px 2px rgba(255, 90, 95, 0.2));
}

.host-property-new__import-half--vrbo .host-property-new__import-logo {
  filter: drop-shadow(0 1px 2px rgba(0, 106, 167, 0.2));
}

.host-property-new__import-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.host-property-new__import-form .form-group {
  position: relative;
  margin-bottom: var(--space-4);
  width: 100%;
}

.host-property-new__import-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
  letter-spacing: 0.02em;
}

.host-property-new__import-form .host-property-form__url-input {
  width: 100%;
  max-width: none;
  text-align: left;
  border-radius: var(--radius);
  line-height: 1.25;
  min-height: 2.75rem;
  padding: var(--space-2) var(--space-4) !important;
}

/* Hint out of flow so button aligns with VRBO card; positioned 10px below input */
.host-property-new__import-form .form-group__hint {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% - 9px);
  line-height: 1.2;
  margin: 0;
  font-size: 0.55rem;
  padding: 0;
  pointer-events: none;
}

.host-property-new__import-btn {
  width: 100%;
  min-width: 10rem;
}

.host-property-new__or {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin: var(--space-6) 0;
}

.host-property-new__or::before,
.host-property-new__or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.host-property-new__or span {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: lowercase;
}

.host-property-edit-address {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border: none;
  border-top: 1px solid color-mix(in srgb, var(--color-text) 8%, transparent);
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
}

/* Constrain form width on desktop so fields aren't absurdly long */
.host-property-form--compact {
  max-width: 38rem;
}

.host-property-edit-address legend {
  font-weight: 600;
  margin-bottom: var(--space-2);
}

/* Address block: contained width, warm styling so it pops */
.host-property-edit-address {
  padding: var(--space-5);
  border-radius: var(--radius-md);
  border: 1px solid color-mix(in srgb, var(--color-primary) 14%, transparent);
  background: linear-gradient(165deg, rgba(255, 247, 237, 0.7) 0%, rgba(255, 251, 235, 0.4) 50%, rgba(254, 252, 250, 0.6) 100%);
  box-shadow: 0 1px 3px color-mix(in srgb, var(--color-primary) 6%, transparent);
}

.host-property-edit-address legend {
  font-family: "Outfit", var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
  padding: 0;
}

.host-property-edit-address .form-group__hint {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-bottom: var(--space-3);
}

.host-property-edit-address .form-group input,
.host-property-edit-address .form-group select {
  border-radius: var(--radius);
  border-color: color-mix(in srgb, var(--color-text) 12%, transparent);
  transition: border-color var(--duration-fast) var(--ease-default), box-shadow var(--duration-fast) var(--ease-default);
}

.host-property-edit-address .form-group input:focus,
.host-property-edit-address .form-group select:focus {
  border-color: color-mix(in srgb, var(--color-primary) 50%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 12%, transparent);
}

.host-property-edit-address__row {
  display: grid;
  grid-template-columns: 1fr minmax(0, 10rem) minmax(0, 8rem);
  gap: var(--space-4);
}

@media (max-width: 640px) {
  .host-property-edit-address__row {
    grid-template-columns: 1fr;
  }
}

/* Address autocomplete: panel + options in components/dropdown.css (issue #106) */
.host-property-edit-address .form-group:has([data-address-autocomplete-target="line1"]) {
  position: relative;
}

/* Compact manual form: less vertical bulk */
.host-property-new__manual-card .host-property-new__section-hint {
  margin-bottom: var(--space-4);
}

.host-property-edit-address--compact {
  margin-top: 0;
  /* keeps full border, padding, background from base */
}

/* Manual form: consistent input/select size (no giant URL style, same height) */
.host-property-new__manual-card .form-group input[type="text"],
.host-property-new__manual-card .form-group input[type="url"],
.host-property-new__manual-card .form-group select {
  min-height: 2.5rem;
  width: 100%;
}

.host-property-new__manual-card .host-property-edit-address__row .form-group input {
  min-height: 2.5rem;
}

.host-property-edit-address--compact legend {
  margin-bottom: var(--space-1);
}

.host-property-edit-address--compact .form-group__hint {
  margin-bottom: var(--space-2);
}

.host-property-recordings {
  display: inline-block;
  position: relative;
  z-index: 1;
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border);
}

.host-property-recordings__summary {
  cursor: pointer;
  font-weight: 600;
  font-size: var(--text-sm);
}

.host-property-recordings-list {
  list-style: none;
  margin: var(--space-2) 0 0;
  padding: 0;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.host-property-recordings-list__item {
  padding: var(--space-1) 0;
}

.host-property-recordings-list__link {
  display: block;
  color: var(--color-primary);
}

.host-property-recordings-more {
  margin: var(--space-2) 0 0;
  font-size: var(--text-sm);
}

/* Property show: recordings list and add form */
.host-property-description {
  margin-bottom: var(--space-4);
  color: var(--color-text-muted);
}

.host-recordings-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-2);
}

.host-recordings-header--sticky {
  position: sticky;
  top: var(--sticky-section-top);
  z-index: 50;
  background: var(--color-surface);
  padding: var(--space-2) 0 var(--space-2);
  margin: 0 0 var(--space-2);
  margin-left: calc(-1 * var(--space-6));
  margin-right: calc(-1 * var(--space-6));
  padding-left: var(--space-6);
  padding-right: var(--space-6);
  border-bottom: 1px solid color-mix(in srgb, var(--color-text) 6%, transparent);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--color-text) 4%, transparent);
}

.host-recordings-header h2 {
  margin: 0;
  font-family: "Outfit", var(--font-sans);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

.host-recordings-intro {
  margin: 0 0 var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.host-recordings-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.host-recording-item {
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-border);
}

.host-recording-item:last-child {
  border-bottom: none;
}

.host-recording-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-1);
}

.host-recording-item__notes {
  margin: 0 0 var(--space-2);
  font-size: var(--text-sm);
}

.host-recording-item__video-wrap {
  margin: var(--space-3) 0 0;
}

.host-recording-item__video {
  margin: 0;
  font-size: var(--text-sm);
}

.host-recording-item__video--none {
  color: var(--color-text-muted);
  font-style: italic;
}

.host-grade-recording-video-wrap {
  margin: 0 auto var(--space-3);
  max-width: 42rem;
  display: flex;
  justify-content: center;
}

.host-grade-recording-video-wrap .recording-video-player {
  width: 100%;
  max-width: 100%;
}

.host-recordings-pagination {
  margin-top: var(--space-4);
}

.host-recording-form .form-group {
  margin-bottom: var(--space-4);
}

.host-recording-form .form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

/* Grade recording wizard */
.host-grade-recording-meta {
  margin: 0 0 var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.host-grade-form .form-group {
  margin-bottom: var(--space-2);
}

.host-grade-form .form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.host-recording-item__grade-btn {
  margin-left: auto;
}

.host-recording-item__download-btn {
  margin-left: var(--space-2);
}

.host-recording-item__delete-btn {
  margin-left: var(--space-2);
}

.host-grade-recording-download {
  margin-left: var(--space-2);
}

/* Top row: meta + download on left, three-dot menu on right */
.host-grade-recording-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: 0;
}

.host-grade-recording-header .host-grade-recording-meta {
  margin: 0;
  flex: 1;
  min-width: 0;
}

.host-grade-recording-header__actions {
  flex-shrink: 0;
}

/* Three-dot "more" menu — shell from shared dropdown (issue #106) */
.host-recording-more-menu {
  display: inline-block;
}

.host-recording-more-menu__trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  color: var(--color-text-muted);
  font-size: 1.25rem;
  line-height: 1;
}

.host-recording-more-menu__trigger:hover {
  color: var(--color-text);
  background: var(--color-bg);
}

.host-recording-more-menu__dots {
  transform: rotate(90deg);
  font-weight: 600;
}

.host-recording-more-menu__delete {
  width: 100%;
  justify-content: flex-start;
}

.host-recording-more-menu[open] .host-recording-more-menu__trigger {
  color: var(--color-text);
  background: var(--color-bg);
}

.host-recording-back {
  margin-top: var(--space-4);
  margin-bottom: 0;
}

.host-recording-item__grade {
  font-weight: 500;
}

/* Comment thread (list, forms, @-menu, checklist modal): components/comment_thread.css */

/* Grade as star radios at bottom */
.host-grade-section {
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border);
}

/* Star rating: components/star_rating.css (_star_rating.html.erb) */

/* Host checklist task icons preview — 6-wide grid */
.host-page--checklist-icons {
  max-width: 1200px;
  margin-inline: auto;
}

.host-checklist-icons-header {
  margin-bottom: var(--space-6);
}

.host-checklist-icons-header__title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-2);
}

.host-checklist-icons-header__lead {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin: 0 0 var(--space-2);
  max-width: 36rem;
}

.host-checklist-icons-header__name {
  margin: 0 0 var(--space-3);
}

.host-checklist-icons-group {
  margin-bottom: var(--space-8);
}

.host-checklist-icons-group__name {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin: 0 0 var(--space-4);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid color-mix(in srgb, var(--color-text) 8%, transparent);
}

.host-checklist-icons-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--space-3) var(--space-3);
  list-style: none;
  margin: 0;
  padding: 0;
}

.host-checklist-icons-list__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-3) var(--space-2);
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--color-text) 8%, transparent);
  border-radius: var(--radius-md);
  box-shadow: 0 1px 3px color-mix(in srgb, var(--color-text) 5%, transparent);
  min-height: 8.5rem;
  transition: border-color var(--duration-fast) var(--ease-default), box-shadow var(--duration-fast) var(--ease-default);
}

.host-checklist-icons-list__item:hover {
  border-color: color-mix(in srgb, var(--color-primary) 20%, transparent);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--color-text) 8%, transparent);
}

.host-checklist-icons-list__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 3.5rem;
  margin-bottom: var(--space-2);
  flex-shrink: 0;
}

.host-checklist-icons-list__img {
  max-width: 100%;
  max-height: 3.25rem;
  width: auto;
  height: auto;
  object-fit: contain;
}

.host-checklist-icons-list__placeholder {
  font-size: 1.5rem;
  color: var(--color-text-muted);
  opacity: 0.45;
}

.host-checklist-icons-list__text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  width: 100%;
  min-width: 0;
}

.host-checklist-icons-list__short {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-text);
  word-break: break-word;
}

.host-checklist-icons-list__meta {
  font-size: 0.6875rem;
  line-height: 1.35;
  color: var(--color-text-muted);
  word-break: break-word;
}

@media (max-width: 1100px) {
  .host-checklist-icons-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .host-checklist-icons-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .host-checklist-icons-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .host-checklist-icons-list__icon {
    height: 4rem;
    transform: translateZ(0);
  }

  .host-checklist-icons-list__img {
    max-height: 3.5rem;
  }
}

/* ---- Crew guide (GuideNode) viewer ---- */
.host-checklist-crew-guide-link {
  margin: 0 0 1rem;
}

.host-checklist-crew-guide-link__anchor {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

/* Host guide viewer (read-only): use full wide shell; main column + sticky drill list */
.host-page--guide-show.host-page--guide-interview .host-guide-interview-scene {
  max-width: none;
  width: 100%;
}

.host-page--guide-show .host-guide-show-layout {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  width: 100%;
}

@media (min-width: 1024px) {
  .host-page--guide-show .host-guide-show-layout--with-aside {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(16rem, 1fr);
    align-items: start;
    gap: var(--space-6);
  }

  /* Grid: bounded height + sticky so the right column scrolls internally, not the whole page. */
  .host-page--guide-show .host-guide-show-layout--with-aside > .host-guide-show-aside {
    max-height: calc(100vh - var(--space-8));
    position: sticky;
    top: var(--space-4);
    align-self: start;
  }
}

.host-page--guide-show .host-guide-interview-card {
  min-width: 0;
  width: 100%;
}

.host-page--guide-show .host-guide-show__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.host-page--guide-show .host-guide-show__header-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.host-page--guide-show .host-guide-show__top-actions {
  display: flex;
  justify-content: flex-end;
  align-self: flex-start;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
}

.host-page--guide-show .host-guide-show__top-action-btn {
  white-space: nowrap;
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.25) inset,
    0 12px 32px rgba(52, 211, 153, 0.25);
}

@media (max-width: 640px) {
  .host-page--guide-show.host-page--guide-interview .host-guide-interview-scene {
    padding: var(--space-3);
  }

  .host-page--guide-show .host-guide-interview-card {
    padding: var(--space-4);
    border-radius: var(--radius-lg);
  }

  .host-page--guide-show .host-guide-show__header {
    flex-direction: column;
    align-items: stretch;
  }

  .host-page--guide-show .host-guide-show__top-actions {
    justify-content: stretch;
  }

  .host-page--guide-show .host-guide-show__top-action-btn {
    width: 100%;
    text-align: center;
  }
}

.host-page--guide-show .host-guide-interview-card .host-guide-interview-complete-panel + .host-guide-interview-complete-panel {
  margin-top: var(--space-6);
}

.host-page--guide-show .host-guide-interview-complete-panel__title {
  margin: 0 0 var(--space-3);
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--gi-fg);
}

/* Aside uses app light tokens so body copy is dark-on-light (main column keeps interview dark theme). */
.host-page--guide-show .host-guide-show-aside--light {
  color: var(--color-text);
}

/* Narrow / stacked layout: keep long aside content scrollable inside the column */
.host-page--guide-show .host-guide-show-layout--with-aside > .host-guide-show-aside {
  min-width: 0;
  min-height: 0;
  max-height: min(70vh, 36rem);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.host-page--guide-show .host-guide-show-aside__sticky {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-bottom: var(--space-2);
}

.host-page--guide-show .host-guide-show-aside--light .host-guide-show-aside__panel {
  margin: 0;
  padding: var(--space-4);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
}

.host-page--guide-show .host-guide-show-aside--light .host-guide-show-aside__panel .host-guide-interview-complete-panel__title {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* Guide Mermaid diagram: components/guide_mermaid_diagram.css */

.host-page--guide-show .host-guide-leaf-jump-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.host-page--guide-show .host-guide-show-aside--light .host-guide-leaf-jump__btn {
  display: inline-flex;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: var(--space-1) var(--space-2);
  text-align: left;
  font-size: 0.8125rem;
  line-height: 1.3;
  font-weight: 600;
  font-family: inherit;
  color: var(--color-text);
  background: var(--color-surface-muted);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition:
    color 0.15s ease,
    background-color 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.host-page--guide-show .host-guide-show-aside--light .host-guide-leaf-jump__label {
  color: var(--color-text);
  font-weight: 600;
  font-size: inherit;
  line-height: inherit;
}

.host-page--guide-show .host-guide-show-aside--light .host-guide-leaf-jump__btn:hover {
  color: var(--color-text);
  border-color: var(--color-border-focus);
  background: var(--color-surface-subtle);
}

.host-page--guide-show .host-guide-show-aside--light .host-guide-leaf-jump__btn.host-guide-show-mid--selected {
  color: var(--color-text);
  background: var(--color-primary-tint);
  border-color: color-mix(in srgb, var(--color-primary) 40%, var(--color-border));
  box-shadow: 0 0 0 2px var(--color-primary-ring);
}

.host-page--guide-show .host-guide-show-aside--light .host-guide-show-leaf-panel__body {
  margin: 0;
}

.host-page--guide-show .host-guide-show-aside--light .host-guide-show-leaf-panel__placeholder {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}

.host-page--guide-show .host-guide-show-aside--light .host-guide-show-leaf-panel__prose {
  font-size: var(--text-sm);
  line-height: 1.55;
  color: var(--color-text);
}

.host-page--guide-show .host-guide-show-aside--light .host-guide-show-leaf-panel__prose p {
  margin: 0 0 var(--space-3);
  color: var(--color-text);
}

.host-page--guide-show .host-guide-show-aside--light .host-guide-show-leaf-panel__prose p:last-child {
  margin-bottom: 0;
}

.host-page--guide-show .host-guide-show-aside--light .host-guide-show-leaf-panel__prose ul,
.host-page--guide-show .host-guide-show-aside--light .host-guide-show-leaf-panel__prose ol {
  margin: 0 0 var(--space-3);
  padding-left: 1.25rem;
  color: var(--color-text);
}

.host-page--guide-show .host-guide-show-aside--light .host-guide-show-leaf-panel__prose li {
  margin-bottom: var(--space-1);
  color: var(--color-text);
}

.host-page--guide-show .host-guide-show-aside--light .host-guide-show-leaf-panel__prose strong {
  color: var(--color-text);
  font-weight: 600;
}

.host-page--guide-show .host-guide-show-aside--light .host-guide-show-leaf-panel__content[hidden] {
  display: none !important;
}

.host-page--guide-show .host-guide-show-aside--light .host-guide-show-leaf-panel__content:not([hidden]) {
  display: block;
}
}
