:root {
  --settings-bg-dark: radial-gradient(circle at top, #0f172a 0%, #020617 65%);
  --settings-bg-light: linear-gradient(180deg, #ffffff 0%, #f8fafc 60%, #e2e8f0 100%);
  --settings-surface-dark: rgba(11, 18, 33, 0.85);
  --settings-surface-light: rgba(255, 255, 255, 0.94);
  --settings-border-dark: rgba(100, 116, 139, 0.35);
  --settings-border-light: rgba(148, 163, 184, 0.35);
  --settings-border-strong-dark: rgba(148, 163, 184, 0.5);
  --settings-border-strong-light: rgba(148, 163, 184, 0.5);
  --settings-text-muted-dark: rgba(148, 163, 184, 0.78);
  --settings-text-muted-light: rgba(71, 85, 105, 0.78);
  --settings-text-subtle-dark: rgba(148, 163, 184, 0.6);
  --settings-text-subtle-light: rgba(100, 116, 139, 0.65);
  --settings-accent: #10b981;
  --settings-accent-strong: #059669;
  --settings-accent-soft: rgba(16, 185, 129, 0.16);
  --settings-danger: #dc2626;
  --settings-danger-soft: rgba(248, 113, 113, 0.16);
  --settings-radius-lg: 22px;
  --settings-radius-md: 16px;
  --settings-radius-sm: 12px;
  --settings-shadow-dark: 0 24px 45px rgba(2, 6, 23, 0.55);
  --settings-shadow-light: 0 24px 40px rgba(15, 23, 42, 0.08);
  --settings-transition: 180ms ease;
}

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans";
  transition: background-color var(--settings-transition), color var(--settings-transition);
}

.page-settings {
  min-height: 100vh;
}

.theme-dark.page-settings {
  background: var(--settings-bg-dark);
  color: #e2e8f0;
}

.theme-light.page-settings {
  background: var(--settings-bg-light);
  color: #0f172a;
}

.settings-hero {
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  backdrop-filter: blur(12px);
}

.theme-dark .settings-hero {
  background: rgba(2, 6, 23, 0.78);
}

.theme-light .settings-hero {
  background: rgba(248, 250, 252, 0.84);
}

.settings-hero__title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}

.settings-hero__subtitle {
  margin-top: 0.75rem;
  max-width: 48rem;
  font-size: 0.98rem;
  line-height: 1.6;
}

.theme-dark .settings-hero__subtitle {
  color: var(--settings-text-muted-dark);
}

.theme-light .settings-hero__subtitle {
  color: var(--settings-text-muted-light);
}

.settings-hero__intro {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .settings-hero__intro {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
  }
}

.settings-hero__headline {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.settings-search {
  min-width: 260px;
  max-width: 340px;
}

.settings-search__input {
  width: 100%;
  border-radius: var(--settings-radius-md);
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.12);
  color: inherit;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  transition: border-color var(--settings-transition), background-color var(--settings-transition), box-shadow var(--settings-transition);
}

.settings-search__input::placeholder {
  color: var(--settings-text-subtle-dark);
}

.theme-light .settings-search__input {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(148, 163, 184, 0.4);
}

.theme-light .settings-search__input::placeholder {
  color: var(--settings-text-subtle-light);
}

.settings-search__input:focus {
  outline: none;
  border-color: rgba(16, 185, 129, 0.65);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

.settings-shell {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .settings-shell {
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  }
}

@media (max-width: 1023px) {
  .settings-shell {
    grid-template-columns: minmax(0, 1fr);
  }
}

.settings-shell__nav {
  position: sticky;
  top: 6.5rem;
  align-self: start;
  width: 100%;
  max-width: 320px;
}

@media (max-width: 960px) {
  .settings-shell__nav {
    position: static;
    max-width: none;
  }
}

.settings-shell__content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.settings-main {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}


.settings-tabs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: var(--settings-radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.25);
  backdrop-filter: blur(16px);
  max-height: calc(100vh - 7rem);
  overflow-y: auto;
  width: 100%;
  box-shadow: var(--settings-shadow-dark);
}

.theme-dark .settings-tabs {
  background: rgba(15, 23, 42, 0.72);
}

.theme-light .settings-tabs {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--settings-shadow-light);
}

@media (max-width: 960px) {
  .settings-tabs {
    flex-direction: row;
    overflow-x: auto;
    overflow-y: visible;
    max-height: none;
    padding: 0.85rem 0.75rem;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    -webkit-overflow-scrolling: touch;
  }
}

.settings-tab {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  border-radius: var(--settings-radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(148, 163, 184, 0.08);
  text-align: left;
  color: inherit;
  cursor: pointer;
  transition: transform var(--settings-transition), box-shadow var(--settings-transition), border-color var(--settings-transition), background-color var(--settings-transition);
}

.settings-tab:focus-visible {
  outline: 2px solid var(--settings-accent);
  outline-offset: 3px;
}

.settings-tab:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 24px rgba(15, 23, 42, 0.18);
}

.settings-tab__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: rgba(148, 163, 184, 0.18);
  color: rgba(15, 23, 42, 0.92);
}

.theme-dark .settings-tab__icon {
  background: rgba(100, 116, 139, 0.2);
  color: rgba(226, 232, 240, 0.86);
}

.settings-tab__svg {
  width: 22px;
  height: 22px;
  display: block;
}

.settings-tab__content {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.settings-tab__title {
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.settings-tab__description {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.theme-dark .settings-tab__description {
  color: var(--settings-text-subtle-dark);
}

.theme-light .settings-tab__description {
  color: var(--settings-text-subtle-light);
}

.settings-tab__chevron {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  font-size: 1.05rem;
  color: rgba(148, 163, 184, 0.7);
}

.settings-tab__chevron::before {
  content: '>';
}

.settings-tab.is-active {
  border-color: rgba(16, 185, 129, 0.55);
  background: rgba(16, 185, 129, 0.12);
  box-shadow: 0 16px 32px rgba(16, 185, 129, 0.22);
  transform: translateY(-2px);
}

.settings-tab.is-active .settings-tab__icon {
  background: rgba(16, 185, 129, 0.22);
  color: rgba(6, 78, 59, 0.95);
}

.theme-dark .settings-tab.is-active .settings-tab__icon {
  color: rgba(236, 253, 245, 0.9);
}

.settings-tab.is-active .settings-tab__chevron {
  color: rgba(16, 185, 129, 0.85);
}

@media (max-width: 960px) {
  .settings-tab {
    min-width: 230px;
    scroll-snap-align: start;
  }
}

.settings-plan {
  width: 100%;
}

.plan-summary {
  border-radius: var(--settings-radius-lg);
  padding: 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  border: 1px solid rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.08);
}

@media (min-width: 768px) {
  .plan-summary {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.plan-summary__content {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-width: 48ch;
}

.plan-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem;
}

.plan-badge {
  align-self: flex-start;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.45);
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.75rem;
  text-transform: uppercase;
}

.plan-description {
  font-size: 0.95rem;
  line-height: 1.5;
}

.plan-status {
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: rgba(148, 163, 184, 0.75);
}

body.theme-dark .plan-status {
  color: rgba(191, 219, 254, 0.8);
}

body.theme-light .plan-status {
  color: rgba(30, 41, 59, 0.62);
}

.plan-status[data-variant='pro'] {
  color: #bbf7d0;
}

body.theme-light .plan-status[data-variant='pro'] {
  color: #047857;
}

.connect-status {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(148, 163, 184, 0.12);
  color: rgba(148, 163, 184, 0.9);
}

.status-badge[data-variant='success'] {
  border-color: rgba(34, 197, 94, 0.45);
  background: rgba(34, 197, 94, 0.18);
  color: #4ade80;
}

.status-badge[data-variant='warning'] {
  border-color: rgba(251, 191, 36, 0.45);
  background: rgba(251, 191, 36, 0.18);
  color: #facc15;
}

.status-badge[data-variant='danger'] {
  border-color: rgba(248, 113, 113, 0.45);
  background: rgba(248, 113, 113, 0.2);
  color: #f87171;
}

.connect-status__message {
  font-size: 0.95rem;
  line-height: 1.6;
}

.connect-plan-hint {
  font-size: 0.86rem;
  color: rgba(248, 113, 113, 0.85);
}

body.theme-light .connect-plan-hint {
  color: #b91c1c;
}

.connect-requirements {
  border-radius: var(--settings-radius-sm);
  border: 1px dashed rgba(148, 163, 184, 0.35);
  padding: 0.85rem 1rem;
  background: rgba(148, 163, 184, 0.08);
}

.connect-requirements__title {
  margin-bottom: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.connect-requirements ul {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.35rem;
  font-size: 0.85rem;
}

.connect-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.plan-constraint {
  font-size: 0.85rem;
  color: #f87171;
}

body.theme-light .plan-constraint {
  color: #b91c1c;
}

.theme-dark .plan-description {
  color: var(--settings-text-muted-dark);
}

.theme-light .plan-description {
  color: var(--settings-text-muted-light);
}

.settings-panel {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  border-radius: var(--settings-radius-lg);
  border: 1px solid var(--settings-border-dark);
  padding: 2rem;
  backdrop-filter: blur(16px);
  transition: background-color var(--settings-transition), border-color var(--settings-transition), color var(--settings-transition);
}

.theme-dark .settings-panel {
  background: var(--settings-surface-dark);
  box-shadow: var(--settings-shadow-dark);
  border-color: var(--settings-border-dark);
}

.theme-light .settings-panel {
  background: var(--settings-surface-light);
  box-shadow: var(--settings-shadow-light);
  border-color: var(--settings-border-light);
}

@media (max-width: 960px) {
  .settings-panel {
    padding: 1.5rem;
  }
}

.settings-panel[hidden] {
  display: none !important;
}

.settings-panel__header h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.settings-panel__header .lead {
  font-size: 0.98rem;
  line-height: 1.6;
}

.theme-dark .settings-panel__header .lead {
  color: var(--settings-text-muted-dark);
}

.theme-light .settings-panel__header .lead {
  color: var(--settings-text-muted-light);
}

.settings-form {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.form-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-section__header {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-section__header h3,
.form-section__header h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
}

.form-section__header--compact h4 {
  font-size: 0.98rem;
}

.form-section__header p {
  font-size: 0.9rem;
  line-height: 1.5;
}

.theme-dark .form-section__header p {
  color: var(--settings-text-muted-dark);
}

.theme-light .form-section__header p {
  color: var(--settings-text-muted-light);
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.form-grid--split {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.form-grid--compact {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-field--sm {
  max-width: 220px;
}

label {
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}

label[class*="uppercase"],
label[class^="uppercase"] {
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.text-input,
textarea.text-input,
select.text-input {
  width: 100%;
  border-radius: var(--settings-radius-sm);
  border: 1px solid rgba(100, 116, 139, 0.4);
  background: rgba(15, 23, 42, 0.65);
  color: #f8fafc;
  padding: 0.7rem 0.9rem;
  font-size: 0.98rem;
  line-height: 1.4;
  transition: border-color var(--settings-transition), box-shadow var(--settings-transition), background-color var(--settings-transition);
}

.text-input:focus,
textarea.text-input:focus,
select.text-input:focus {
  outline: none;
  border-color: rgba(16, 185, 129, 0.6);
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.35);
  background: rgba(15, 23, 42, 0.82);
}

select.text-input {
  appearance: none;
  cursor: pointer;
}

textarea.text-input {
  min-height: 120px;
  resize: vertical;
}

.form-color {
  width: 100%;
  height: 3rem;
  border-radius: var(--settings-radius-sm);
  border: 1px solid rgba(100, 116, 139, 0.45);
  background: transparent;
  padding: 0;
}

.form-hint {
  font-size: 0.8rem;
  line-height: 1.5;
}

.theme-dark .form-hint {
  color: var(--settings-text-subtle-dark);
}

.theme-light .form-hint {
  color: var(--settings-text-subtle-light);
}

.form-error {
  padding: 0.85rem 1rem;
  border-radius: var(--settings-radius-sm);
  border: 1px solid rgba(248, 113, 113, 0.6);
  background: rgba(248, 113, 113, 0.12);
}

.settings-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(100, 116, 139, 0.35);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--settings-radius-sm);
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.6rem 1.25rem;
  cursor: pointer;
  transition: transform var(--settings-transition), background-color var(--settings-transition), border-color var(--settings-transition), color var(--settings-transition);
}

.btn:focus-visible {
  outline: 2px solid rgba(16, 185, 129, 0.6);
  outline-offset: 2px;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--settings-accent-strong);
  color: #ffffff;
}

.btn-primary:hover {
  background: #0eb37f;
}

.btn-secondary {
  background: rgba(148, 163, 184, 0.12);
  border-color: rgba(148, 163, 184, 0.3);
  color: inherit;
}

.btn-secondary:hover {
  border-color: rgba(148, 163, 184, 0.5);
  background: rgba(148, 163, 184, 0.22);
}

.btn-compact {
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
}

.btn-secondary--ghost {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.theme-dark .btn-secondary--ghost {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(148, 163, 184, 0.25);
  color: rgba(226, 232, 240, 0.9);
}

.theme-light .btn-secondary--ghost {
  background: rgba(241, 245, 249, 0.9);
  border-color: rgba(148, 163, 184, 0.4);
  color: #1f2937;
}

.btn-secondary--ghost:hover {
  border-color: rgba(16, 185, 129, 0.55);
  color: var(--settings-accent);
}

.btn-danger {
  background: var(--settings-danger-soft);
  border-color: rgba(248, 113, 113, 0.45);
  color: #fecaca;
}

.btn-danger:hover {
  background: rgba(248, 113, 113, 0.22);
  border-color: rgba(248, 113, 113, 0.6);
}

.btn-icon {
  gap: 0.4rem;
  padding-inline: 0.9rem;
}

.btn-icon__glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  border: 1px solid currentColor;
  font-size: 0.85rem;
  font-weight: 600;
}

#editPropertyBtn .btn-icon__glyph::before {
  content: '✎';
}

#openPropertyModal .btn-icon__glyph::before {
  content: '+';
}

.property-access {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border-radius: var(--settings-radius-lg);
  padding: 1.75rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.theme-dark .property-access {
  background: rgba(11, 18, 33, 0.7);
}

.theme-light .property-access {
  background: rgba(255, 255, 255, 0.96);
}

.property-access__grid {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 1024px) {
  .property-access__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.property-directory-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.property-directory__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
}

.property-directory__search {
  flex: 1 1 200px;
  max-width: 280px;
}

.property-directory__search-input {
  width: 100%;
  border-radius: var(--settings-radius-sm);
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.1);
  padding: 0.65rem 0.85rem;
  color: inherit;
  transition: border-color var(--settings-transition), box-shadow var(--settings-transition), background-color var(--settings-transition);
}

.property-directory__search-input::placeholder {
  color: var(--settings-text-subtle-dark);
}

.theme-light .property-directory__search-input {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(148, 163, 184, 0.32);
}

.property-directory__search-input:focus {
  outline: none;
  border-color: rgba(16, 185, 129, 0.6);
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.16);
}

.property-directory {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-height: 360px;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.property-directory__empty {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: var(--settings-text-subtle-dark);
}

.theme-light .property-directory__empty {
  color: var(--settings-text-subtle-light);
}

.property-directory__item {
  width: 100%;
  border-radius: var(--settings-radius-sm);
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.12);
  padding: 0.75rem 0.9rem;
  text-align: left;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: border-color var(--settings-transition), background-color var(--settings-transition), box-shadow var(--settings-transition), transform var(--settings-transition);
}

.property-directory__item:hover {
  transform: translateY(-1px);
  border-color: rgba(16, 185, 129, 0.45);
  background: rgba(16, 185, 129, 0.08);
  box-shadow: 0 14px 24px rgba(15, 23, 42, 0.18);
}

.property-directory__item:focus-visible {
  outline: 2px solid var(--settings-accent);
  outline-offset: 3px;
}

.property-directory__item.is-active {
  border-color: rgba(16, 185, 129, 0.6);
  background: rgba(16, 185, 129, 0.18);
}

.property-directory__item-title {
  font-weight: 600;
  font-size: 0.98rem;
}

.property-directory__item-subtitle {
  font-size: 0.8rem;
  color: var(--settings-text-subtle-dark);
}

.theme-light .property-directory__item {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(148, 163, 184, 0.28);
  box-shadow: var(--settings-shadow-light);
}

.theme-light .property-directory__item.is-active {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.45);
}

.theme-light .property-directory__item-subtitle {
  color: var(--settings-text-subtle-light);
}

.property-directory__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.property-directory__meta {
  font-size: 0.75rem;
  color: var(--settings-text-muted-dark);
}

.theme-light .property-directory__meta {
  color: var(--settings-text-muted-light);
}

.plan-constraint.hidden {
  display: none;
}

.property-summary {
  border-radius: var(--settings-radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.08);
  padding: 1.25rem 1.5rem;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.theme-light .property-summary {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(148, 163, 184, 0.3);
  box-shadow: var(--settings-shadow-light);
}

.property-summary__placeholder {
  font-size: 0.92rem;
  color: var(--settings-text-muted-dark);
  text-align: center;
  padding: 1.5rem 0.5rem;
}

.theme-light .property-summary__placeholder {
  color: var(--settings-text-muted-light);
}

.property-summary__content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.property-summary__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.property-summary__label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.property-summary__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.property-summary__hint {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--settings-text-subtle-dark);
}

.property-summary__title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}

.theme-light .property-summary__hint {
  color: var(--settings-text-subtle-light);
}

.property-summary__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.property-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
}

.property-status-badge--compact {
  padding: 0.25rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 500;
}

.property-status-badge[data-state="synced"] {
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(16, 185, 129, 0.45);
  color: #bbf7d0;
}

.property-status-badge[data-state="warning"] {
  background: rgba(251, 191, 36, 0.18);
  border-color: rgba(251, 191, 36, 0.45);
  color: #fef3c7;
}

.property-status-badge[data-state="disabled"] {
  background: rgba(100, 116, 139, 0.22);
  border-color: rgba(100, 116, 139, 0.45);
  color: rgba(226, 232, 240, 0.92);
}

.property-status-badge[data-state="unknown"] {
  background: rgba(148, 163, 184, 0.18);
  border-color: rgba(148, 163, 184, 0.35);
  color: rgba(226, 232, 240, 0.92);
}

.theme-light .property-status-badge[data-state="synced"] {
  color: #047857;
}

.theme-light .property-status-badge[data-state="warning"] {
  color: #b45309;
}

.theme-light .property-status-badge[data-state="disabled"],
.theme-light .property-status-badge[data-state="unknown"] {
  color: #1f2937;
}

.property-summary__details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.85rem;
}

.property-summary__detail {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.property-summary__detail dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--settings-text-subtle-dark);
}

.property-summary__detail dd {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 500;
}

.theme-light .property-summary__detail dt {
  color: var(--settings-text-subtle-light);
}

.property-panels__tabs {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  border-radius: var(--settings-radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.22);
  padding: 0.4rem;
  background: rgba(15, 23, 42, 0.18);
}

.theme-light .property-panels__tabs {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(148, 163, 184, 0.28);
  box-shadow: var(--settings-shadow-light);
}

.property-panels__tab {
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0.55rem 1rem;
  border-radius: var(--settings-radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--settings-transition), color var(--settings-transition), box-shadow var(--settings-transition), transform var(--settings-transition);
}

.property-panels__tab:hover:not([disabled]) {
  transform: translateY(-1px);
  background: rgba(16, 185, 129, 0.08);
  color: var(--settings-accent);
  box-shadow: 0 12px 20px rgba(15, 23, 42, 0.16);
}

.property-panels__tab.is-active {
  background: rgba(16, 185, 129, 0.18);
  color: #d1fae5;
  box-shadow: 0 14px 24px rgba(15, 23, 42, 0.22);
}

.theme-light .property-panels__tab.is-active {
  color: #047857;
  background: rgba(16, 185, 129, 0.18);
  box-shadow: 0 12px 24px rgba(16, 185, 129, 0.18);
}

.property-panels__tab[disabled] {
  cursor: not-allowed;
  opacity: 0.5;
  box-shadow: none;
  transform: none;
}

.property-panels__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.property-panel[hidden] {
  display: none;
}

.property-editor {
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: var(--settings-radius-lg);
  padding: 1.75rem;
}

@media (max-width: 720px) {
  .property-editor {
    padding: 1.35rem;
  }
}

.theme-dark .property-editor {
  background: rgba(11, 18, 33, 0.7);
}

.theme-light .property-editor {
  background: rgba(255, 255, 255, 0.96);
}

.property-editor__title {
  font-size: 1.1rem;
  font-weight: 600;
}

.property-editor__subtitle {
  font-size: 0.9rem;
  line-height: 1.6;
}

.theme-dark .property-editor__subtitle {
  color: var(--settings-text-muted-dark);
}

.theme-light .property-editor__subtitle {
  color: var(--settings-text-muted-light);
}

.property-editor__form {
  margin: 0;
}


.property-editor__layout {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 1100px) {
  .property-editor__layout {
    grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
    align-items: start;
  }
}

.property-guide {
  border-radius: var(--settings-radius-md);
  border: 1px solid rgba(148, 163, 184, 0.22);
  padding: 1.2rem 1.3rem;
  background: var(--settings-surface-light);
  color: #1f2937;
  backdrop-filter: blur(14px);
  transition: background-color var(--settings-transition), border-color var(--settings-transition);
  width: 100%;
}

@media (max-width: 720px) {
  .property-guide {
    padding: 1rem 1.1rem;
  }
}

.theme-dark .property-guide {
  background: rgba(15, 23, 42, 0.6);
  color: rgba(226, 232, 240, 0.92);
}

@media (min-width: 1100px) {
  .property-guide {
    position: sticky;
    top: 7.25rem;
  }
}

.property-guide__summary {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  cursor: pointer;
  list-style: none;
  margin: 0;
  position: relative;
  padding-right: 1.6rem;
}

.property-guide__summary:focus-visible {
  outline: 2px solid rgba(16, 185, 129, 0.55);
  outline-offset: 6px;
  border-radius: var(--settings-radius-sm);
}

.property-guide__summary::-webkit-details-marker {
  display: none;
}

.property-guide__summary::after {
  content: '\25BC';
  font-size: 0.75rem;
  color: rgba(15, 23, 42, 0.45);
  position: absolute;
  top: 0.35rem;
  right: 0;
  transition: transform var(--settings-transition);
}

.theme-dark .property-guide__summary::after {
  color: rgba(226, 232, 240, 0.55);
}

.property-guide[open] .property-guide__summary::after {
  transform: rotate(-180deg);
}

@media (min-width: 1100px) {
  .property-guide__summary {
    cursor: default;
    pointer-events: none;
  }
  .property-guide__summary::after {
    display: none;
  }
}

.property-guide__title {
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.property-guide__lead {
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
  color: inherit;
}

.property-guide__body {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px dashed rgba(148, 163, 184, 0.35);
  padding-top: 1rem;
}

.theme-dark .property-guide__body {
  border-top-color: rgba(148, 163, 184, 0.4);
}

.property-guide__steps {
  margin: 0;
  padding-left: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.82rem;
  line-height: 1.45;
}

.property-guide__steps li.is-active {
  font-weight: 600;
}

.theme-dark .property-guide__steps li.is-active {
  color: #34d399;
}

.theme-light .property-guide__steps li.is-active {
  color: #059669;
}

.property-guide__tip {
  border-radius: var(--settings-radius-sm);
  border: 1px dashed rgba(148, 163, 184, 0.4);
  padding: 0.75rem 0.9rem;
  font-size: 0.8rem;
  line-height: 1.45;
}

.theme-dark .property-guide__tip {
  background: rgba(15, 118, 110, 0.12);
  color: rgba(226, 232, 240, 0.86);
}

.theme-light .property-guide__tip {
  background: rgba(16, 185, 129, 0.08);
  color: #065f46;
}

.property-editor__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.property-stepper {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.25rem 0.25rem 0.6rem;
  margin: 0 -0.25rem;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.property-stepper::-webkit-scrollbar {
  height: 6px;
}

.property-stepper::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.35);
  border-radius: 999px;
}

@media (min-width: 1100px) {
  .property-stepper {
    flex-wrap: wrap;
    overflow-x: visible;
    padding: 0;
    margin: 0;
    scroll-snap-type: none;
  }
}

.property-stepper__item {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  border-radius: var(--settings-radius-md);
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(148, 163, 184, 0.12);
  color: inherit;
  font-weight: 600;
  padding: 0.75rem 1.1rem;
  cursor: pointer;
  transition: background-color var(--settings-transition), border-color var(--settings-transition), transform var(--settings-transition), box-shadow var(--settings-transition);
  scroll-snap-align: start;
  flex: 0 0 auto;
  min-width: 210px;
}

@media (min-width: 1100px) {
  .property-stepper__item {
    flex: 1 1 220px;
    min-width: 0;
  }
}

.theme-dark .property-stepper__item {
  background: rgba(30, 41, 59, 0.55);
  border-color: rgba(148, 163, 184, 0.35);
  color: rgba(226, 232, 240, 0.9);
}

.property-stepper__item:focus-visible {
  outline: 2px solid var(--settings-accent);
  outline-offset: 4px;
}

.property-stepper__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(15, 23, 42, 0.16);
}

.theme-dark .property-stepper__item.is-active {
  border-color: rgba(16, 185, 129, 0.5);
  background: rgba(16, 185, 129, 0.16);
  color: #bbf7d0;
  box-shadow: 0 16px 24px rgba(16, 185, 129, 0.24);
}

.theme-light .property-stepper__item.is-active {
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
  box-shadow: 0 16px 24px rgba(16, 185, 129, 0.18);
}

.property-stepper__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  border: 1px solid currentColor;
  font-size: 0.8rem;
  font-weight: 700;
}

.property-stepper__label {
  font-size: 0.88rem;
}

.property-stepper__panels {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.property-stepper__panel {
  border-radius: var(--settings-radius-md);
  border: 1px solid rgba(148, 163, 184, 0.22);
  padding: 1.25rem;
  background: rgba(15, 23, 42, 0.35);
}

@media (max-width: 720px) {
  .property-stepper__panel {
    padding: 1rem;
  }
}

.theme-light .property-stepper__panel {
  background: rgba(255, 255, 255, 0.94);
}

.property-stepper__panel[hidden] {
  display: none;
}

.property-stepper__footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.1rem;
}

@media (max-width: 720px) {
  .property-stepper__footer {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 0.75rem;
  }
  .property-stepper__footer .btn {
    width: 100%;
  }
}

.form-section--embedded {
  padding: 0;
  margin: 0;
  border: none;
  gap: 1.25rem;
}

.form-section--embedded .form-section__header {
  margin-bottom: 1rem;
}

.property-exports {
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: var(--settings-radius-md);
  background: rgba(15, 23, 42, 0.35);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.theme-light .property-exports {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(148, 163, 184, 0.3);
}

.property-exports__header {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.property-exports__header h4 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
}

.property-exports__header p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.45;
  color: rgba(226, 232, 240, 0.75);
}

.theme-light .property-exports__header p {
  color: rgba(71, 85, 105, 0.75);
}

.property-exports__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.property-exports__menu {
  position: relative;
}

.property-exports__popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 240px;
  max-width: 320px;
  border-radius: var(--settings-radius-md);
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.96);
  box-shadow: 0 18px 38px rgba(2, 6, 23, 0.5);
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  z-index: 40;
}

.property-exports__popover.hidden {
  display: none;
}

.theme-light .property-exports__popover {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.35);
  color: #0f172a;
}

.property-exports__status {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(226, 232, 240, 0.7);
}

.theme-light .property-exports__status {
  color: rgba(71, 85, 105, 0.75);
}

.property-exports__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.property-exports__item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-radius: var(--settings-radius-sm);
  border: 1px solid transparent;
  background: rgba(30, 41, 59, 0.65);
  padding: 0.55rem 0.75rem;
  font-size: 0.85rem;
  color: #f8fafc;
  cursor: pointer;
  transition: border-color var(--settings-transition), background-color var(--settings-transition), color var(--settings-transition);
}

.property-exports__item:hover {
  border-color: rgba(16, 185, 129, 0.45);
  background: rgba(16, 185, 129, 0.2);
  color: #bbf7d0;
}

.property-exports__suffix {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.65);
}

.theme-light .property-exports__item {
  background: rgba(226, 232, 240, 0.75);
  color: #0f172a;
}

.theme-light .property-exports__item:hover {
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.18);
  color: #047857;
}

.theme-light .property-exports__suffix {
  color: rgba(71, 85, 105, 0.65);
}

.source-list-wrapper {
  border-radius: var(--settings-radius-md);
  border: 1px dashed rgba(148, 163, 184, 0.35);
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.source-list__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.theme-dark .source-list__header {
  color: rgba(226, 232, 240, 0.92);
}

.theme-light .source-list__header {
  color: #1f2937;
}

.source-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.source-list:empty::before {
  content: 'Aucun flux iCal pour le moment.';
  font-size: 0.85rem;
  color: var(--settings-text-subtle-dark);
}

.theme-light .source-list:empty::before {
  color: var(--settings-text-subtle-light);
}

.direct-settings__card {
  border-radius: var(--settings-radius-lg);
}

.direct-stripe-card {
  border-radius: var(--settings-radius-lg);
  border: 1px solid rgba(16, 185, 129, 0.2);
  background: rgba(15, 118, 110, 0.12);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.theme-light .direct-stripe-card {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(5, 150, 105, 0.25);
}

.direct-stripe-card__header {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .direct-stripe-card__header {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}

.direct-stripe-card__header h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
}

.direct-stripe-card__header p {
  margin: 0.3rem 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 48ch;
}

.direct-stripe-card__status {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.direct-stripe-card__message {
  font-size: 0.9rem;
  line-height: 1.5;
}

.direct-stripe-card__plan {
  font-size: 0.82rem;
  line-height: 1.4;
  color: rgba(236, 253, 245, 0.85);
}

.theme-light .direct-stripe-card__plan {
  color: #065f46;
}

.direct-stripe-card__requirements {
  border-radius: var(--settings-radius-md);
  border: 1px dashed rgba(16, 185, 129, 0.4);
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  line-height: 1.45;
}

.direct-stripe-card__requirements-title {
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.direct-stripe-card__requirements ul,
.direct-stripe-card__requirements li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.direct-stripe-card__requirements li + li {
  margin-top: 0.35rem;
}

.direct-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.direct-form-section {
  border-radius: var(--settings-radius-md);
  border: 1px solid rgba(16, 185, 129, 0.25);
  background: rgba(16, 185, 129, 0.08);
  padding: 1.2rem 1.4rem;
}

.theme-light .direct-form-section {
  background: rgba(16, 185, 129, 0.06);
  border-color: rgba(5, 150, 105, 0.2);
}

.direct-form-section__header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.direct-form-section__header h4 {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.direct-form-section__header p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.45;
  color: rgba(226, 232, 240, 0.78);
}

.theme-light .direct-form-section__header p {
  color: rgba(22, 101, 52, 0.8);
}

.direct-label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(165, 243, 252, 0.8);
}

.theme-light .direct-label {
  color: rgba(15, 118, 110, 0.8);
}

.direct-collapsible {
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: var(--settings-radius-md);
  background: rgba(15, 23, 42, 0.25);
  padding: 0.35rem 0.9rem;
}

.theme-light .direct-collapsible {
  background: rgba(255, 255, 255, 0.92);
}

.direct-collapsible + .direct-collapsible {
  margin-top: -0.25rem;
}

.direct-collapsible[open] {
  border-color: rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.08);
}

.direct-collapsible--neutral {
  border-color: rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.18);
}

.direct-collapsible--neutral[open] {
  border-color: rgba(148, 163, 184, 0.35);
  background: rgba(30, 41, 59, 0.32);
}

.theme-light .direct-collapsible--neutral {
  background: rgba(248, 250, 252, 0.95);
  border-color: rgba(203, 213, 225, 0.5);
}

.theme-light .direct-collapsible--neutral[open] {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(148, 163, 184, 0.45);
}

.direct-collapsible summary {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 0.2rem 0.75rem;
  cursor: pointer;
  padding: 0.65rem 0;
  list-style: none;
  font-weight: 600;
  font-size: 0.9rem;
  align-items: center;
}

.direct-collapsible summary:focus-visible {
  outline: 2px solid rgba(16, 185, 129, 0.6);
  outline-offset: 4px;
  border-radius: var(--settings-radius-sm);
}

.direct-collapsible summary::-webkit-details-marker {
  display: none;
}

.direct-collapsible summary::after {
  content: '\25BC';
  font-size: 0.65rem;
  margin-left: 0.5rem;
  transition: transform var(--settings-transition);
  grid-column: 2 / 3;
  grid-row: 1 / span 2;
}

.direct-collapsible[open] summary::after {
  transform: rotate(-180deg);
}

.direct-collapsible__hint {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(226, 232, 240, 0.7);
  grid-column: 1 / 2;
}

.theme-light .direct-collapsible__hint {
  color: rgba(51, 65, 85, 0.7);
}

.direct-collapsible__content {
  padding: 0 0 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.direct-toggle-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.direct-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border-radius: var(--settings-radius-md);
  border: 1px solid rgba(16, 185, 129, 0.35);
  background: rgba(15, 118, 110, 0.12);
  padding: 0.6rem 0.8rem;
  font-size: 0.85rem;
  color: rgba(204, 251, 241, 0.92);
}

.theme-light .direct-toggle {
  background: rgba(16, 185, 129, 0.12);
  color: #065f46;
  border-color: rgba(5, 150, 105, 0.3);
}

.direct-toggle__input {
  width: 1rem;
  height: 1rem;
  border-radius: 0.35rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  accent-color: #10b981;
}

.direct-toggle__label {
  font-weight: 600;
}

.direct-settings__card header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .direct-settings__card header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.direct-settings__card h3 {
  font-size: 1.1rem;
  font-weight: 600;
}

.direct-settings__card p {
  font-size: 0.92rem;
  line-height: 1.5;
}

.direct-capabilities {
  border-radius: var(--settings-radius-md);
  border: 1px solid rgba(148, 163, 184, 0.32);
  background: rgba(148, 163, 184, 0.12);
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.direct-capabilities__content {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

@media (min-width: 640px) {
  .direct-capabilities__content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.direct-capabilities__text {
  flex: 1 1 auto;
  font-size: 0.9rem;
  line-height: 1.5;
}

.direct-capabilities[data-variant='success'] {
  border-color: rgba(16, 185, 129, 0.45);
  background: rgba(16, 185, 129, 0.14);
  color: #bbf7d0;
}

body.theme-light .direct-capabilities[data-variant='success'] {
  color: #047857;
  background: rgba(16, 185, 129, 0.1);
}

.direct-capabilities[data-variant='upgrade'] {
  border-color: rgba(248, 113, 113, 0.55);
  background: rgba(248, 113, 113, 0.14);
  color: #fecaca;
}

body.theme-light .direct-capabilities[data-variant='upgrade'] {
  color: #b91c1c;
  background: rgba(248, 113, 113, 0.12);
}

#directSettingsCard label {
  font-size: 0.9rem !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.direct-settings__empty {
  border-radius: var(--settings-radius-lg);
}

.checklist-board {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.checklist-group {
  border-radius: var(--settings-radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.45);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

body.theme-light .checklist-group {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(148, 163, 184, 0.35);
}

.checklist-group__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.checklist-group__header h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.95);
}

body.theme-light .checklist-group__header h3 {
  color: rgba(15, 23, 42, 0.92);
}

.checklist-group__hint {
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: rgba(148, 163, 184, 0.75);
}

body.theme-light .checklist-group__hint {
  color: rgba(71, 85, 105, 0.75);
}

.checklist-group__list {
  display: grid;
  gap: 1rem;
}

.checklist-card {
  border-radius: var(--settings-radius-md);
  border: 1px solid rgba(100, 116, 139, 0.35);
  background: rgba(15, 23, 42, 0.6);
  padding: 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  transition: border-color var(--settings-transition), background-color var(--settings-transition), transform var(--settings-transition);
}

.checklist-card:hover {
  border-color: rgba(16, 185, 129, 0.45);
  transform: translateY(-1px);
}

.checklist-card.is-inactive {
  opacity: 0.85;
  border-style: dashed;
  background: rgba(30, 41, 59, 0.45);
}

body.theme-light .checklist-card {
  background: rgba(248, 250, 252, 0.95);
  border-color: rgba(203, 213, 225, 0.55);
}

body.theme-light .checklist-card.is-inactive {
  background: rgba(254, 243, 199, 0.52);
  border-color: rgba(250, 204, 21, 0.45);
}

.checklist-card__header {
  display: flex;
  justify-content: space-between;
  gap: 0.85rem;
  align-items: flex-start;
}

.checklist-card__header-left {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.checklist-card__kind {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.16);
  color: #6ee7b7;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.checklist-card__title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
  color: inherit;
}

.checklist-card__scope {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(148, 163, 184, 0.75);
}

body.theme-light .checklist-card__kind {
  background: rgba(16, 185, 129, 0.14);
  color: #047857;
}

body.theme-light .checklist-card__scope {
  color: rgba(71, 85, 105, 0.74);
}

.checklist-card__description {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(148, 163, 184, 0.8);
}

body.theme-light .checklist-card__description {
  color: rgba(71, 85, 105, 0.75);
}

.checklist-card__status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.16);
  color: #6ee7b7;
}

.checklist-card.is-inactive .checklist-card__status {
  background: rgba(248, 113, 113, 0.16);
  color: #fca5a5;
}

.checklist-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.checklist-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(30, 41, 59, 0.55);
  color: rgba(226, 232, 240, 0.9);
}

body.theme-light .checklist-chip {
  background: rgba(226, 232, 240, 0.85);
  color: rgba(45, 55, 72, 0.8);
}

.checklist-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.checklist-card__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checklist-card__action {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(100, 116, 139, 0.4);
  background: rgba(15, 23, 42, 0.45);
  color: rgba(226, 232, 240, 0.92);
  transition: background-color var(--settings-transition), border-color var(--settings-transition), color var(--settings-transition);
}

.checklist-card__action:hover:not(:disabled) {
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(16, 185, 129, 0.45);
  color: #6ee7b7;
}

.checklist-card__action[data-checklist-action="delete"] {
  border-color: rgba(248, 113, 113, 0.45);
  color: #fca5a5;
}

.checklist-card__action[data-checklist-action="delete"]:hover:not(:disabled) {
  background: rgba(248, 113, 113, 0.16);
  border-color: rgba(248, 113, 113, 0.6);
  color: #f87171;
}

.checklist-card__action:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.checklist-empty {
  border: 1px dashed rgba(148, 163, 184, 0.4);
  border-radius: var(--settings-radius-md);
  padding: 1rem;
  text-align: center;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(148, 163, 184, 0.72);
}

body.theme-light .checklist-empty {
  border-color: rgba(148, 163, 184, 0.5);
  color: rgba(100, 116, 139, 0.8);
}

.settings-alert {
  border-radius: var(--settings-radius-md);
  padding: 0.9rem 1.1rem;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid rgba(250, 204, 21, 0.4);
  background: rgba(250, 204, 21, 0.14);
  color: #facc15;
}

.theme-light .settings-alert {
  border-color: rgba(234, 179, 8, 0.45);
  background: rgba(253, 230, 138, 0.26);
  color: #b45309;
}

.task-settings-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.task-settings-item {
  border-radius: var(--settings-radius-md);
  border: 1px solid rgba(100, 116, 139, 0.45);
  padding: 1rem 1.1rem;
  background: rgba(15, 23, 42, 0.55);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.theme-light .task-settings-item {
  background: rgba(248, 250, 252, 0.92);
  border-color: rgba(148, 163, 184, 0.55);
}

.task-settings-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.task-settings-kind-pill {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.45);
  background: rgba(16, 185, 129, 0.2);
  color: #5eead4;
}

.task-settings-status {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.theme-dark .task-settings-status {
  color: var(--settings-text-subtle-dark);
}

.theme-light .task-settings-status {
  color: var(--settings-text-subtle-light);
}

.task-settings-status.is-inactive {
  color: #fb923c;
}

.task-settings-input {
  width: 100%;
  border-radius: var(--settings-radius-sm);
  border: 1px solid rgba(100, 116, 139, 0.45);
  background: rgba(15, 23, 42, 0.65);
  padding: 0.65rem 0.85rem;
  font-size: 0.95rem;
  color: inherit;
  transition: border-color var(--settings-transition), box-shadow var(--settings-transition), background-color var(--settings-transition);
}

.task-settings-input:focus {
  outline: none;
  border-color: rgba(16, 185, 129, 0.55);
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.35);
  background: rgba(15, 23, 42, 0.85);
}

.theme-light .task-settings-input {
  background: #ffffff;
}

.task-settings-scope {
  margin-top: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.82rem;
  color: rgba(148, 163, 184, 0.82);
}

.task-settings-scope-summary {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.65);
}

.task-settings-scope-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.task-settings-scope-option {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  cursor: pointer;
  color: inherit;
}

.task-settings-scope-option input {
  accent-color: #34d399;
}

.task-settings-properties {
  display: grid;
  gap: 0.45rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--settings-radius-sm);
  border: 1px solid rgba(71, 85, 105, 0.45);
  background: rgba(15, 23, 42, 0.45);
}

.task-settings-properties.hidden {
  display: none;
}

.task-settings-property-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  color: rgba(226, 232, 240, 0.9);
}

.task-settings-property-item input {
  accent-color: #34d399;
}

.task-settings-properties-empty {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(148, 163, 184, 0.7);
}

.task-settings-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem;
}

.task-settings-actions button {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 10px;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(100, 116, 139, 0.45);
  background: rgba(15, 23, 42, 0.45);
  color: rgba(226, 232, 240, 0.9);
  transition: background-color var(--settings-transition), border-color var(--settings-transition), color var(--settings-transition);
}

.task-settings-actions button:hover:not(:disabled) {
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(16, 185, 129, 0.45);
  color: #6ee7b7;
}

.task-settings-actions button[data-role="delete"] {
  border-color: rgba(248, 113, 113, 0.5);
  color: #fca5a5;
  background: rgba(127, 29, 29, 0.2);
}

.task-settings-actions button[data-role="delete"]:hover:not(:disabled) {
  background: rgba(248, 113, 113, 0.22);
  border-color: rgba(248, 113, 113, 0.6);
  color: #fecaca;
}

.task-settings-actions button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.task-settings-placeholder {
  padding: 1rem;
  border-radius: var(--settings-radius-sm);
  border: 1px dashed rgba(148, 163, 184, 0.5);
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.theme-dark .task-settings-placeholder {
  color: var(--settings-text-subtle-dark);
  background: rgba(15, 23, 42, 0.45);
}

.theme-light .task-settings-placeholder {
  color: var(--settings-text-subtle-light);
  background: rgba(248, 250, 252, 0.92);
}

body.theme-light .text-input,
body.theme-light .task-settings-input,
body.theme-light .task-settings-item {
  color: #0f172a;
}

body.theme-light .task-settings-scope {
  color: rgba(71, 85, 105, 0.78);
}

body.theme-light .task-settings-scope-summary {
  color: rgba(71, 85, 105, 0.55);
}

body.theme-light .task-settings-properties {
  border-color: rgba(203, 213, 225, 0.75);
  background: rgba(248, 250, 252, 0.96);
}

body.theme-light .task-settings-property-item {
  color: #1f2937;
}

body.theme-light .task-settings-properties-empty {
  color: rgba(71, 85, 105, 0.6);
}

body.theme-light .text-input,
body.theme-light textarea.text-input,
body.theme-light select.text-input {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.5);
}

body.theme-light .text-input:focus,
body.theme-light textarea.text-input:focus,
body.theme-light select.text-input:focus {
  background: #ffffff;
}

body.theme-light .settings-panel {
  border-color: var(--settings-border-light);
}

body.theme-light .btn-secondary {
  background: rgba(241, 245, 249, 0.92);
  border-color: rgba(148, 163, 184, 0.35);
  color: #1f2937;
}

body.theme-light .btn-secondary:hover {
  border-color: rgba(71, 85, 105, 0.45);
}

body.theme-light .btn-danger {
  color: #b91c1c;
}

body.theme-light .plan-badge {
  color: #047857;
  border-color: rgba(16, 185, 129, 0.45);
  background: rgba(16, 185, 129, 0.18);
}

body.theme-light .plan-summary {
  background: rgba(209, 250, 229, 0.4);
}

@media (max-width: 600px) {
  .settings-panel {
    padding: 1.25rem;
  }
  .settings-panel__header h2 {
    font-size: 1.1rem;
  }
  .settings-panel__header .lead {
    font-size: 0.92rem;
  }
  .settings-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .btn {
    width: 100%;
  }
}

.checklist-editor {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.checklist-editor.hidden {
  display: none;
}

.checklist-editor__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.7);
  backdrop-filter: blur(3px);
}

.checklist-editor__panel {
  position: relative;
  z-index: 1;
  width: min(880px, 100%);
  max-height: calc(100vh - 3rem);
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid rgba(71, 85, 105, 0.55);
  background: rgba(15, 23, 42, 0.96);
  display: flex;
  flex-direction: column;
}

body.theme-light .checklist-editor__panel {
  background: #f8fafc;
  border-color: rgba(148, 163, 184, 0.55);
}

.checklist-editor__header {
  padding: 1.5rem;
  padding-bottom: 1.1rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(71, 85, 105, 0.35);
}

.checklist-editor__header-left {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.checklist-editor__title-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.checklist-editor__kind {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(148, 163, 184, 0.65);
}

.checklist-editor__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.95);
}

.checklist-editor__subtitle {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(148, 163, 184, 0.75);
}

body.theme-light .checklist-editor__title {
  color: rgba(15, 23, 42, 0.92);
}

body.theme-light .checklist-editor__subtitle {
  color: rgba(71, 85, 105, 0.7);
}

.checklist-editor__header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.checklist-editor__status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.16);
  color: #6ee7b7;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.checklist-editor__status[data-variant='inactive'] {
  background: rgba(248, 113, 113, 0.16);
  color: #fda4af;
}

.checklist-editor__close {
  border: none;
  background: rgba(30, 41, 59, 0.35);
  color: rgba(226, 232, 240, 0.78);
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color var(--settings-transition), color var(--settings-transition);
}

.checklist-editor__close:hover {
  background: rgba(248, 113, 113, 0.22);
  color: #fecaca;
}

body.theme-light .checklist-editor__close {
  background: rgba(226, 232, 240, 0.85);
  color: rgba(30, 41, 59, 0.8);
}

body.theme-light .checklist-editor__close:hover {
  background: rgba(248, 113, 113, 0.18);
  color: #b91c1c;
}

.checklist-editor__body {
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.checklist-editor__form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.checklist-editor__section {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.checklist-editor__section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.checklist-editor__section-header h4 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
}

.checklist-editor__section-hint {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(148, 163, 184, 0.72);
}

body.theme-light .checklist-editor__section-hint {
  color: rgba(71, 85, 105, 0.7);
}

.checklist-editor__properties {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.checklist-editor__property {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(71, 85, 105, 0.45);
  background: rgba(15, 23, 42, 0.45);
  font-size: 0.85rem;
  color: rgba(226, 232, 240, 0.9);
}

.checklist-editor__property input {
  accent-color: #34d399;
}

body.theme-light .checklist-editor__property {
  background: rgba(248, 250, 252, 0.95);
  border-color: rgba(203, 213, 225, 0.55);
  color: rgba(45, 55, 72, 0.9);
}

.checklist-editor__steps {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checklist-editor__steps-empty {
  padding: 0.9rem;
  border-radius: var(--settings-radius-md);
  border: 1px dashed rgba(148, 163, 184, 0.45);
  text-align: center;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(148, 163, 184, 0.7);
}

.checklist-editor__step {
  border-radius: var(--settings-radius-md);
  border: 1px solid rgba(71, 85, 105, 0.45);
  background: rgba(15, 23, 42, 0.55);
  padding: 0.85rem 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
}

.checklist-editor__step-main {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.checklist-editor__step-input {
  flex: 1;
  min-width: 0;
  border-radius: var(--settings-radius-sm);
  border: 1px solid rgba(100, 116, 139, 0.45);
  background: rgba(15, 23, 42, 0.7);
  padding: 0.55rem 0.7rem;
  font-size: 0.9rem;
  color: inherit;
}

.checklist-editor__step-input:focus {
  outline: none;
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.3);
}

.checklist-editor__step-photo {
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: transparent;
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.85);
  cursor: pointer;
}

.checklist-editor__step-photo[data-required='true'] {
  border-color: rgba(34, 197, 94, 0.5);
  color: #6ee7b7;
}

.checklist-editor__step-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.checklist-editor__step-actions button {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 10px;
  border: 1px solid rgba(71, 85, 105, 0.45);
  background: rgba(15, 23, 42, 0.55);
  color: rgba(226, 232, 240, 0.85);
  font-size: 0.85rem;
  cursor: pointer;
}

.checklist-editor__step-actions button:hover:not(:disabled) {
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(16, 185, 129, 0.45);
  color: #6ee7b7;
}

.checklist-editor__step-actions button[data-role='delete'] {
  width: auto;
  padding: 0.3rem 0.65rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-color: rgba(248, 113, 113, 0.45);
  color: #fca5a5;
}

.checklist-editor__step-actions button[data-role='delete']:hover:not(:disabled) {
  background: rgba(248, 113, 113, 0.18);
  border-color: rgba(248, 113, 113, 0.6);
  color: #f87171;
}

.checklist-editor__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(30, 41, 59, 0.6);
  color: rgba(226, 232, 240, 0.85);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.checklist-editor__message {
  margin: 0;
  padding: 0.75rem 1rem;
  border-radius: var(--settings-radius-md);
  border: 1px solid rgba(248, 113, 113, 0.45);
  background: rgba(127, 29, 29, 0.25);
  color: #fca5a5;
  font-size: 0.85rem;
}

.checklist-editor__message.hidden {
  display: none;
}

.checklist-editor__footer {
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.checklist-editor__footer-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.checklist-editor__autosave {
  font-size: 0.75rem;
  color: rgba(148, 163, 184, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.checklist-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.5rem;
  border-radius: 999px;
  background: rgba(30, 41, 59, 0.5);
}

.checklist-switch__input {
  width: 1.4rem;
  height: 1.4rem;
  accent-color: #34d399;
}

.checklist-switch__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(226, 232, 240, 0.75);
}

body.theme-light .checklist-switch {
  background: rgba(226, 232, 240, 0.85);
}

body.theme-light .checklist-switch__label {
  color: rgba(45, 55, 72, 0.75);
}

body.modal-open {
  overflow: hidden;
}
