:root {
  --bg: #f7f3ff;
  --surface: #ffffff;
  --surface-muted: #f4edff;
  --surface-tint: #f0fbff;
  --surface-strong: #1d1b2f;
  --ink: #1d1b2f;
  --ink-muted: #64708a;
  --ink-subtle: #8c94aa;
  --line: #e7dcfb;
  --line-strong: #cbb7f3;
  --accent: #8b45f7;
  --accent-strong: #6930c3;
  --accent-soft: #efe4ff;
  --pink: #d650a1;
  --pink-soft: #fde8f5;
  --cyan: #67c7dc;
  --cyan-strong: #239ab4;
  --cyan-soft: #e1f8fd;
  --blue: #5b6cf6;
  --blue-soft: #e8ebff;
  --amber: #f59f35;
  --amber-soft: #fff0da;
  --danger: #dc4668;
  --danger-soft: #ffe6ee;
  --gradient-primary: linear-gradient(135deg, #7c3cff 0%, #d650a1 54%, #67c7dc 100%);
  --gradient-secondary: linear-gradient(135deg, #5b6cf6 0%, #67c7dc 100%);
  --gradient-soft: linear-gradient(135deg, rgba(124, 60, 255, 0.14), rgba(214, 80, 161, 0.11) 52%, rgba(103, 199, 220, 0.16));
  --shadow: 0 22px 70px rgba(93, 57, 168, 0.14);
  --shadow-soft: 0 14px 34px rgba(93, 57, 168, 0.1);
  --radius: 18px;
  --radius-sm: 12px;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(circle at 10% -10%, rgba(124, 60, 255, 0.2), transparent 32rem),
    radial-gradient(circle at 88% 8%, rgba(103, 199, 220, 0.26), transparent 28rem),
    radial-gradient(circle at 78% 72%, rgba(214, 80, 161, 0.14), transparent 30rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.34) 22rem),
    var(--bg);
  background-attachment: fixed;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  padding: 0.7rem 0.78rem;
  transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

input:hover,
select:hover,
textarea:hover {
  border-color: var(--line-strong);
  background: #fff;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(139, 69, 247, 0.14);
}

input[readonly] {
  background: linear-gradient(135deg, rgba(244, 237, 255, 0.92), rgba(225, 248, 253, 0.8));
  color: var(--ink-muted);
}

textarea {
  resize: vertical;
  line-height: 1.45;
}

label {
  display: inline-block;
  margin-bottom: 0.38rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-muted);
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1,
h2,
h3 {
  letter-spacing: 0;
  line-height: 1.08;
}

h1 {
  font-size: 1.55rem;
  font-weight: 800;
}

h2 {
  font-size: 1.18rem;
  font-weight: 800;
}

h3 {
  font-size: 1rem;
  font-weight: 800;
}

h4 {
  font-size: 0.9rem;
}

.page-shell {
  width: min(1480px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0 2rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem 0.25rem 0;
  border-top: 1px solid rgba(203, 183, 243, 0.6);
  color: var(--ink-muted);
  font-size: 0.84rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer a,
.legal-back,
.legal-footer a,
.legal-content a {
  color: var(--accent-strong);
  font-weight: 700;
  text-decoration: none;
}

.site-footer a:hover,
.legal-back:hover,
.legal-footer a:hover,
.legal-content a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

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

.legal-shell {
  width: min(820px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0 3rem;
}

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0 1.25rem;
}

.legal-header .brand-lockup {
  color: inherit;
  text-decoration: none;
}

.legal-card {
  padding: clamp(1.35rem, 4vw, 3rem);
  border: 1px solid rgba(203, 183, 243, 0.72);
  border-radius: calc(var(--radius) + 6px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.legal-intro {
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
}

.legal-intro h1 {
  margin-top: 0.35rem;
  font-size: clamp(2rem, 6vw, 3.25rem);
  letter-spacing: -0.04em;
}

.legal-date {
  margin-top: 0.8rem;
  color: var(--ink-muted);
  font-size: 0.92rem;
}

.legal-content {
  display: grid;
  gap: 1.75rem;
  padding-top: 1.75rem;
}

.legal-content section {
  display: grid;
  gap: 0.75rem;
}

.legal-content h2 {
  font-size: 1.1rem;
}

.legal-content p,
.legal-content li {
  color: #3f4659;
  line-height: 1.72;
}

.legal-content ul {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding-left: 1.25rem;
}

.legal-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0.25rem 0;
  color: var(--ink-muted);
  font-size: 0.84rem;
}

.legal-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 640px) {
  .site-footer,
  .legal-header,
  .legal-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-footer nav {
    display: grid;
    gap: 0.65rem;
  }

  .legal-back {
    margin-left: 3.55rem;
  }
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
  margin-bottom: 0.9rem;
  padding: 0.75rem 0;
  background: rgba(247, 243, 255, 0.74);
  border-bottom: 1px solid rgba(203, 183, 243, 0.5);
  backdrop-filter: blur(16px);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.brand-mark {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(139, 69, 247, 0.28);
}

.header-status {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  max-width: 620px;
  min-height: 42px;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(203, 183, 243, 0.72);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink-muted);
  font-size: 0.9rem;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.status-dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--cyan-strong);
  box-shadow: 0 0 0 4px rgba(103, 199, 220, 0.2);
}

.status-dot.is-error {
  background: var(--danger);
  box-shadow: 0 0 0 4px rgba(220, 70, 104, 0.14);
}

.section-head,
.row-head,
.list-block__head,
.facts-box__head,
.editor-actions {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.panel {
  border: 1px solid rgba(203, 183, 243, 0.62);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  padding: 1rem;
  backdrop-filter: blur(18px);
}

.surface {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(203, 183, 243, 0.58);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  padding: 1rem;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.surface::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(124, 60, 255, 0.08), transparent 32%);
  opacity: 0;
  transition: opacity 160ms ease;
}

.surface:hover::after {
  opacity: 1;
}

.surface h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.surface h3::before {
  content: "";
  display: inline-block;
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  background: var(--gradient-secondary);
  box-shadow: 0 10px 22px rgba(103, 199, 220, 0.26);
}

.surface:nth-of-type(even) h3::before {
  background: linear-gradient(135deg, #d650a1, #f59fcb);
  box-shadow: 0 10px 22px rgba(214, 80, 161, 0.24);
}

.layout {
  display: grid;
  gap: 1rem;
}

.auth-panel {
  max-width: 1040px;
  margin: 0 auto;
}

.auth-grid,
.editor-grid,
.field-grid,
.metrics,
.workspace-shell {
  display: grid;
}

.auth-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.account-mode-picker {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.account-mode-picker legend {
  margin-bottom: 0.55rem;
  font-weight: 700;
}

.account-mode-option {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.85rem;
  border: 1px solid var(--line, rgba(99, 74, 141, 0.18));
  border-radius: 14px;
  cursor: pointer;
}

.account-mode-option:has(input:checked) {
  border-color: var(--accent, #7c3cff);
  background: rgba(124, 60, 255, 0.07);
}

.account-mode-option input {
  width: auto;
  margin-top: 0.2rem;
}

.account-mode-option span {
  display: grid;
  gap: 0.2rem;
}

.account-mode-option small {
  color: var(--muted, #736b7d);
}

.workspace-shell {
  grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.sidebar {
  position: sticky;
  top: 92px;
  max-height: calc(100vh - 108px);
  overflow: auto;
}

.content {
  min-height: calc(100vh - 108px);
  overflow: hidden;
}

.section-head {
  margin-bottom: 1rem;
}

.section-head > .muted {
  max-width: 48ch;
  font-size: 0.9rem;
}

.eyebrow {
  margin-bottom: 0.28rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.muted {
  color: var(--ink-muted);
  line-height: 1.48;
}

.stack {
  display: flex;
  flex-direction: column;
}

.gap-s {
  gap: 0.65rem;
}

.gap-m {
  gap: 0.9rem;
}

.gap-l {
  gap: 1rem;
}

.button {
  appearance: none;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--gradient-primary);
  color: #fff;
  padding: 0.68rem 1rem;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: 0 14px 32px rgba(139, 69, 247, 0.28);
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease, filter 140ms ease;
}

.button:hover {
  transform: translateY(-1px);
  filter: saturate(1.08) brightness(0.98);
  box-shadow: 0 18px 38px rgba(139, 69, 247, 0.32);
}

.button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(139, 69, 247, 0.2), 0 14px 32px rgba(139, 69, 247, 0.28);
}

.button:disabled {
  opacity: 0.62;
  cursor: progress;
  transform: none;
}

.button--secondary {
  background: var(--gradient-secondary);
}

.button--secondary:hover {
  box-shadow: 0 18px 38px rgba(91, 108, 246, 0.26);
}

.button--ghost {
  border-color: rgba(203, 183, 243, 0.72);
  background: rgba(255, 255, 255, 0.72);
  color: var(--accent-strong);
  box-shadow: none;
}

.button--ghost:hover {
  border-color: var(--line-strong);
  background: var(--accent-soft);
  box-shadow: none;
}

.button--small {
  min-height: 36px;
  padding: 0.52rem 0.72rem;
  font-size: 0.86rem;
}

.inline-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.metric {
  min-width: 0;
  padding: 0.85rem;
  border: 1px solid rgba(203, 183, 243, 0.58);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(244, 237, 255, 0.82));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.metric span {
  display: block;
  font-size: 1.7rem;
  font-weight: 850;
  line-height: 1;
  background: var(--gradient-primary);
  background-clip: text;
  color: transparent;
}

.metric small {
  display: block;
  margin-top: 0.3rem;
  color: var(--ink-muted);
  font-size: 0.78rem;
}

.list-block {
  margin-top: 1rem;
}

.list-block__head {
  align-items: center;
  margin-bottom: 0.55rem;
}

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

.list .muted {
  padding: 0.75rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: rgba(244, 237, 255, 0.58);
  font-size: 0.9rem;
}

.list-item {
  width: 100%;
  border: 1px solid rgba(203, 183, 243, 0.56);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  color: inherit;
  text-align: left;
  padding: 0.78rem 0.85rem;
  transition: border-color 140ms ease, background 140ms ease, box-shadow 140ms ease;
}

.list-item:hover {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-soft);
}

.list-item.is-active {
  border-color: rgba(139, 69, 247, 0.58);
  background: var(--gradient-soft);
  box-shadow: inset 4px 0 0 var(--accent), var(--shadow-soft);
}

.list-item__title {
  display: block;
  overflow: hidden;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.list-item__meta {
  display: block;
  overflow: hidden;
  margin-top: 0.25rem;
  color: var(--ink-muted);
  font-size: 0.82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.list-count {
  display: inline-grid;
  min-width: 1.7rem;
  min-height: 1.7rem;
  place-items: center;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.8rem;
  font-weight: 900;
}

.manual-thread {
  display: grid;
  gap: 0.65rem;
}

.manual-thread__actions {
  display: flex;
  justify-content: flex-end;
}

.empty-state {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: calc(100vh - 168px);
  padding: 2rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 24% 8%, rgba(124, 60, 255, 0.18), transparent 18rem),
    radial-gradient(circle at 82% 22%, rgba(103, 199, 220, 0.24), transparent 18rem),
    rgba(255, 255, 255, 0.5);
  text-align: center;
}

.empty-state h2 {
  max-width: 24ch;
  margin-bottom: 0.55rem;
  font-size: 1.55rem;
}

.empty-state p:not(.eyebrow) {
  max-width: 58ch;
  color: var(--ink-muted);
  line-height: 1.5;
}

.editor-shell {
  animation: fade-up 260ms ease both;
}

.editor-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.dynamic-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.dynamic-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem;
  border: 1px solid rgba(203, 183, 243, 0.58);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(244, 237, 255, 0.76), rgba(225, 248, 253, 0.62));
}

.dynamic-row__grid {
  display: grid;
  flex: 1;
  gap: 0.7rem;
}

.dynamic-row__grid--price {
  grid-template-columns: 1.05fr 1fr 1fr 0.8fr;
}

.booking-dashboard {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.booking-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0.9rem;
  border: 1px solid rgba(203, 183, 243, 0.58);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(240, 251, 255, 0.68));
}

.booking-card--wide {
  grid-column: 1 / -1;
}

.availability-row {
  align-items: center;
}

.availability-row__grid {
  grid-template-columns: 1.2fr repeat(2, minmax(100px, 0.72fr)) minmax(92px, 0.6fr);
}

.calendar-range {
  min-width: 180px;
}

.calendar-list {
  display: grid;
  gap: 0.55rem;
}

.calendar-event {
  display: grid;
  grid-template-columns: minmax(132px, 0.42fr) minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.78rem 0.85rem;
  border: 1px solid rgba(203, 183, 243, 0.58);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
}

.calendar-event[data-event-type="block"] {
  background: linear-gradient(135deg, rgba(255, 240, 218, 0.82), rgba(255, 255, 255, 0.78));
}

.calendar-event__time {
  color: var(--accent-strong);
  font-weight: 850;
}

.calendar-event__title {
  display: block;
  margin-bottom: 0.18rem;
  font-weight: 850;
}

.calendar-event__meta,
.booking-empty {
  color: var(--ink-muted);
  font-size: 0.84rem;
  line-height: 1.42;
}

.calendar-event__badge {
  justify-self: end;
  padding: 0.32rem 0.55rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 850;
}

.booking-empty {
  padding: 0.85rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: rgba(244, 237, 255, 0.58);
}

.integration-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
}

.integration-card {
  display: flex;
  flex-direction: column;
  gap: 0.72rem;
  padding: 0.85rem;
  border: 1px solid rgba(203, 183, 243, 0.58);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(244, 237, 255, 0.76), rgba(225, 248, 253, 0.62));
}

.integration-card header,
.field-label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.integration-card header {
  justify-content: space-between;
}

.integration-card__badge {
  padding: 0.28rem 0.48rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink-muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.connection-badge {
  padding: 0.32rem 0.58rem;
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--ink-muted);
  font-size: 0.72rem;
  font-weight: 850;
}

.connection-badge[data-status="connected"] {
  background: #e4f8ec;
  color: #177344;
}

.connection-badge[data-status="pending"] {
  background: var(--amber-soft);
  color: #95550a;
}

.connection-badge[data-status="error"] {
  background: var(--danger-soft);
  color: var(--danger);
}

.connection-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.72rem;
  border: 1px solid rgba(103, 199, 220, 0.45);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
}

.connection-summary__title {
  margin-bottom: 0.28rem;
  font-weight: 850;
}

.connection-actions,
.modal-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.connection-help {
  display: grid;
  gap: 0.5rem;
}

.guide-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.72rem 0.8rem;
  border: 1px solid rgba(124, 60, 255, 0.24);
  border-radius: var(--radius);
  color: var(--ink);
  background: linear-gradient(135deg, rgba(244, 237, 255, 0.94), rgba(225, 248, 253, 0.82));
  box-shadow: 0 12px 28px rgba(80, 53, 141, 0.1);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.guide-card:hover,
.guide-card:focus-visible {
  border-color: rgba(124, 60, 255, 0.55);
  box-shadow: 0 16px 34px rgba(80, 53, 141, 0.16);
  transform: translateY(-1px);
  outline: none;
}

.guide-card__copy {
  display: grid;
  gap: 0.2rem;
}

.guide-card__copy strong {
  font-size: 0.98rem;
}

.guide-card__copy > span:last-child,
.connection-help__meta {
  color: var(--ink-muted);
  font-size: 0.78rem;
}

.guide-card__eyebrow {
  color: var(--accent-strong);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.guide-card__action {
  flex: none;
  padding: 0.48rem 0.68rem;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  font-size: 0.76rem;
  font-weight: 850;
}

.connection-help__meta {
  margin: 0;
  text-align: right;
}

.connection-help__meta a {
  color: var(--accent-strong);
  font-weight: 800;
}

.advanced-settings {
  border-top: 1px solid rgba(203, 183, 243, 0.62);
  padding-top: 0.6rem;
}

.advanced-settings summary {
  color: var(--ink-muted);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 800;
}

.advanced-settings[open] summary {
  margin-bottom: 0.55rem;
}

.advanced-settings > p {
  margin-bottom: 0.55rem;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(29, 27, 47, 0.6);
  backdrop-filter: blur(10px);
}

.modal-card {
  width: min(760px, 100%);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  border: 1px solid rgba(203, 183, 243, 0.72);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 30px 90px rgba(29, 27, 47, 0.3);
}

.whatsapp-wizard {
  display: flex;
  flex-direction: column;
}

.modal-head,
.modal-actions,
.wizard-panel {
  padding: 1.2rem 1.35rem;
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
}

.wizard-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0;
  padding: 1rem 1.35rem;
  list-style: none;
  background: linear-gradient(135deg, rgba(244, 237, 255, 0.72), rgba(225, 248, 253, 0.62));
}

.wizard-progress li {
  display: flex;
  align-items: center;
  gap: 0.38rem;
  color: var(--ink-subtle);
  font-size: 0.76rem;
  font-weight: 800;
}

.wizard-progress li span {
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
}

.wizard-progress li.is-active,
.wizard-progress li.is-complete {
  color: var(--accent-strong);
}

.wizard-progress li.is-active span,
.wizard-progress li.is-complete span {
  border-color: transparent;
  background: var(--accent);
  color: #fff;
}

.wizard-panel {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  gap: 0.85rem;
}

.tutorial-list {
  display: grid;
  gap: 0.65rem;
}

.provider-choice {
  display: grid;
  gap: 0.75rem;
}

.provider-choice label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 0.75rem;
  padding: 0.85rem;
  border: 1px solid rgba(203, 183, 243, 0.58);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.provider-choice input {
  margin-top: 0.2rem;
  accent-color: var(--accent);
}

.provider-choice small {
  display: block;
  margin-top: 0.2rem;
  color: var(--ink-muted);
  line-height: 1.4;
}

.whapi-qr {
  display: block;
  width: min(240px, 100%);
  aspect-ratio: 1;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
}

.tutorial-list article,
.notice-card {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  padding: 0.8rem;
  border: 1px solid rgba(203, 183, 243, 0.58);
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(244, 237, 255, 0.68), rgba(225, 248, 253, 0.58));
}

.tutorial-list article span,
.notice-card span {
  color: var(--ink-muted);
  font-size: 0.86rem;
  line-height: 1.4;
}

.notice-card .button {
  align-self: flex-start;
  margin-top: 0.4rem;
  text-decoration: none;
}

.check-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 0.65rem;
  margin-top: 0.35rem;
  color: var(--ink);
  font-size: 0.88rem;
}

.check-row input {
  width: 1.1rem;
  min-height: 1.1rem;
  margin-top: 0.12rem;
  accent-color: var(--accent);
}

.wizard-test-action {
  display: flex;
  align-items: flex-end;
}

.modal-actions {
  justify-content: space-between;
  border-top: 1px solid var(--line);
}

.tooltip {
  display: inline-grid;
  place-items: center;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
}

.import-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 0.75rem;
}

.prompt-mode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.prompt-mode-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
  min-height: 150px;
  padding: 0.95rem;
  border: 1px solid rgba(203, 183, 243, 0.68);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(240, 251, 255, 0.78));
  cursor: pointer;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.prompt-mode-card:hover {
  transform: translateY(-1px);
  border-color: rgba(139, 69, 247, 0.5);
  box-shadow: var(--shadow-soft);
}

.prompt-mode-card input {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.12rem;
  accent-color: var(--accent);
}

.prompt-mode-card:has(input:checked) {
  border-color: rgba(139, 69, 247, 0.72);
  background: linear-gradient(135deg, rgba(239, 228, 255, 0.98), rgba(225, 248, 253, 0.92));
  box-shadow: 0 18px 38px rgba(139, 69, 247, 0.18);
}

.prompt-mode-card strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink);
  font-size: 0.98rem;
}

.prompt-mode-card small {
  display: block;
  color: var(--ink-muted);
  line-height: 1.45;
}

.template-activation {
  display: grid;
  gap: 0.35rem;
  min-width: 180px;
  color: var(--ink-muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.template-format-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.template-format-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
  padding: 0.95rem;
  border: 1px solid rgba(203, 183, 243, 0.68);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  cursor: pointer;
}

.template-format-card:has(input:checked) {
  border-color: rgba(139, 69, 247, 0.72);
  background: linear-gradient(135deg, rgba(239, 228, 255, 0.98), rgba(225, 248, 253, 0.92));
  box-shadow: var(--shadow-soft);
}

.template-format-card input {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.12rem;
  accent-color: var(--accent);
}

.template-format-card strong,
.template-format-card small {
  display: block;
}

.template-format-card small {
  margin-top: 0.25rem;
  color: var(--ink-muted);
  line-height: 1.4;
}

.template-panel {
  display: grid;
  gap: 0.65rem;
}

.template-panel > textarea {
  min-height: 290px;
  font-family: inherit;
  line-height: 1.55;
}

.template-image-preview {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-muted);
}

.template-image-preview img {
  width: min(280px, 100%);
  max-height: 360px;
  object-fit: contain;
  border-radius: calc(var(--radius) - 4px);
}

.template-note {
  padding: 0.8rem 0.9rem;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--ink-muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.template-save-row {
  display: flex;
  justify-content: flex-end;
}

.media-library-upload {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border: 1px dashed rgba(139, 69, 247, 0.42);
  border-radius: var(--radius);
  background: rgba(239, 228, 255, 0.45);
}

.media-library-upload strong,
.media-library-upload p {
  display: block;
}

.media-library-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.media-library-empty {
  grid-column: 1 / -1;
  padding: 2rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink-muted);
  background: var(--surface-muted);
  text-align: center;
}

.media-library-card {
  display: grid;
  gap: 0.75rem;
  min-width: 0;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
}

.media-library-card > label {
  display: grid;
  gap: 0.35rem;
  color: var(--ink-muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.media-library-preview {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  border-radius: calc(var(--radius) - 4px);
  background: #17131f;
}

.media-library-preview img,
.media-library-preview video {
  width: 100%;
  height: 220px;
  object-fit: contain;
}

.media-library-preview span {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  color: white;
  background: rgba(24, 18, 34, 0.72);
  font-size: 0.68rem;
  font-weight: 800;
}

.media-library-active {
  grid-template-columns: auto minmax(0, 1fr) !important;
  align-items: center;
}

.media-library-active input {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--accent);
}

.media-library-actions {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
}

.button--danger {
  border-color: rgba(176, 45, 83, 0.24);
  color: #a82d52;
  background: #feeaf0;
}

@media (max-width: 820px) {
  .media-library-upload {
    align-items: stretch;
    flex-direction: column;
  }

  .media-library-grid {
    grid-template-columns: 1fr;
  }
}

.facts-box {
  padding: 0.85rem;
  border: 1px solid rgba(139, 69, 247, 0.24);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #201739 0%, #33205d 52%, #173d49 100%);
  color: #f6f2ff;
  box-shadow: var(--shadow-soft);
}

.facts-box__head {
  align-items: center;
  margin-bottom: 0.65rem;
}

.facts-box h4 {
  color: #fff;
}

.facts-box span {
  color: #c9b8ff;
  font-size: 0.84rem;
}

.chat-log {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 260px;
  max-height: 420px;
  overflow: auto;
  padding: 1rem;
  border: 1px solid rgba(203, 183, 243, 0.58);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 12% 6%, rgba(124, 60, 255, 0.12), transparent 14rem),
    radial-gradient(circle at 88% 20%, rgba(103, 199, 220, 0.16), transparent 16rem),
    rgba(255, 255, 255, 0.58);
}

.chat-empty {
  margin: auto;
  color: var(--ink-muted);
  text-align: center;
}

.chat-bubble {
  width: min(76%, 680px);
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(203, 183, 243, 0.58);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  line-height: 1.5;
  box-shadow: var(--shadow-soft);
}

.chat-bubble--customer {
  align-self: flex-start;
}

.chat-bubble--assistant {
  align-self: flex-end;
  border-color: rgba(139, 69, 247, 0.36);
  background: linear-gradient(135deg, rgba(239, 228, 255, 0.94), rgba(225, 248, 253, 0.86));
}

.chat-bubble__role {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.chat-composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 0.75rem;
}

pre {
  margin: 0;
  max-height: 280px;
  overflow: auto;
  color: #f6f2ff;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.5;
  white-space: pre-wrap;
}

.hidden {
  display: none !important;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1160px) {
  .workspace-shell,
  .auth-grid,
  .editor-grid,
  .prompt-mode-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    max-height: none;
  }

  .content,
  .empty-state {
    min-height: 520px;
  }
}

@media (max-width: 820px) {
  .page-shell {
    width: min(100% - 1rem, 100%);
    padding-top: 0.5rem;
  }

  .app-header,
  .section-head,
  .row-head,
  .facts-box__head,
  .editor-actions,
  .dynamic-row,
  .connection-summary,
  .modal-head {
    flex-direction: column;
    align-items: stretch;
  }

  .app-header {
    position: static;
  }

  .field-grid,
  .import-preview,
  .prompt-mode-grid,
  .chat-composer,
  .dynamic-row__grid--price,
  .availability-row__grid,
  .booking-dashboard,
  .calendar-event,
  .integration-grid,
  .wizard-progress {
    grid-template-columns: 1fr;
  }

  .wizard-progress {
    gap: 0.35rem;
  }

  .metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .guide-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .connection-help__meta {
    text-align: left;
  }

  .panel,
  .surface {
    padding: 0.85rem;
  }

  .metrics {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 1.35rem;
  }

  .empty-state {
    min-height: 420px;
    padding: 1.25rem;
  }

  .chat-bubble {
    width: 100%;
  }
}

/* Dialloga 2026 — iOS-inspired control room */
@font-face {
  font-family: "Dialloga Ionicons";
  src: url("./assets/vendor/ionicons/Ionicons.ttf") format("truetype");
  font-display: block;
  font-style: normal;
  font-weight: normal;
}

.ion-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 1.25em;
  height: 1.25em;
  font-size: 1.15em;
  line-height: 1;
}

.ion-icon::before {
  font-family: "Dialloga Ionicons";
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

.ion-home::before { content: "\f383"; }
.ion-mail::before { content: "\f434"; }
.ion-calendar::before { content: "\f1d6"; }
.ion-people::before { content: "\f4a3"; }
.ion-person::before { content: "\f4ac"; }
.ion-extension::before { content: "\f2e4"; }
.ion-settings::before { content: "\f56c"; }
.ion-chevron-forward::before { content: "\f23f"; }
.ion-chevron-down::before { content: "\f236"; }
.ion-eye::before { content: "\f2ea"; }
.ion-save::before { content: "\f551"; }
.ion-business::before { content: "\f1c7"; }
.ion-log-out::before { content: "\f3d1"; }
.ion-check::before { content: "\f21f"; }
.ion-alert::before { content: "\f114"; }
.ion-whatsapp::before { content: "\f425"; }
.ion-time::before { content: "\f5de"; }
.ion-information::before { content: "\f399"; }
.ion-sparkles::before { content: "\f58d"; }
.ion-chat::before { content: "\f218"; }
.ion-document::before { content: "\f2b4"; }
.ion-list::before { content: "\f3bf"; }

body.theme-control-room {
  --bg: #edf5fc;
  --surface: rgba(255, 255, 255, 0.76);
  --surface-muted: rgba(244, 249, 255, 0.74);
  --surface-tint: rgba(232, 244, 255, 0.74);
  --surface-strong: #0c2035;
  --ink: #15202b;
  --ink-muted: #5c6b7a;
  --ink-subtle: #8090a1;
  --line: rgba(103, 135, 166, 0.22);
  --line-strong: rgba(74, 113, 151, 0.36);
  --accent: #0a84ff;
  --accent-strong: #0071e3;
  --accent-soft: rgba(10, 132, 255, 0.11);
  --pink: #4b8fe8;
  --pink-soft: #e9f3ff;
  --cyan: #64b5ff;
  --cyan-strong: #0a84ff;
  --cyan-soft: #e6f3ff;
  --blue: #0a84ff;
  --blue-soft: #eaf4ff;
  --amber: #d88a13;
  --amber-soft: #fff4df;
  --danger: #d43c5d;
  --danger-soft: #ffebf0;
  --gradient-primary: linear-gradient(180deg, #2b95ff 0%, #0071e3 100%);
  --gradient-secondary: linear-gradient(180deg, #69b9ff 0%, #0a84ff 100%);
  --gradient-soft: linear-gradient(145deg, rgba(210, 235, 255, 0.74), rgba(255, 255, 255, 0.44));
  --shadow: 0 1px 2px rgba(15, 48, 79, 0.06), 0 22px 60px rgba(26, 75, 119, 0.12);
  --shadow-soft: 0 1px 2px rgba(15, 48, 79, 0.05), 0 10px 30px rgba(26, 75, 119, 0.08);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --nav-width: 232px;
  --rail-width: 270px;
  --layout-gap: 12px;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", Inter, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 84% -8%, rgba(109, 190, 255, 0.32), transparent 32rem),
    radial-gradient(circle at 48% 86%, rgba(198, 226, 250, 0.48), transparent 42rem),
    linear-gradient(135deg, #e9f3fb 0%, #f8fbfe 48%, #e5f1fb 100%);
  background-attachment: fixed;
}

body.theme-control-room h1,
body.theme-control-room h2,
body.theme-control-room h3 {
  letter-spacing: -0.018em;
}

body.theme-control-room h1 { font-weight: 720; }
body.theme-control-room h2 { font-weight: 700; }
body.theme-control-room h3 { font-weight: 650; }

body.theme-control-room .panel,
body.theme-control-room .surface,
body.theme-control-room .metric,
body.theme-control-room .booking-card,
body.theme-control-room .integration-card,
body.theme-control-room .calendar-event,
body.theme-control-room .modal-card,
body.theme-control-room .inspector-card {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(244, 249, 255, 0.64));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), var(--shadow-soft);
  backdrop-filter: blur(24px) saturate(142%);
  -webkit-backdrop-filter: blur(24px) saturate(142%);
}

body.theme-control-room .surface::after,
body.theme-control-room .surface h3::before {
  content: none;
}

body.theme-control-room input,
body.theme-control-room select,
body.theme-control-room textarea {
  min-height: 44px;
  border: 1px solid rgba(94, 126, 157, 0.24);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96), 0 2px 7px rgba(31, 77, 119, 0.04);
  color: var(--ink);
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease, transform 150ms ease;
}

body.theme-control-room input[type="radio"],
body.theme-control-room input[type="checkbox"] {
  min-height: auto;
  box-shadow: none;
  accent-color: var(--accent);
}

body.theme-control-room input:hover,
body.theme-control-room select:hover,
body.theme-control-room textarea:hover {
  border-color: rgba(10, 132, 255, 0.34);
  background: rgba(255, 255, 255, 0.96);
}

body.theme-control-room input:focus,
body.theme-control-room select:focus,
body.theme-control-room textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(10, 132, 255, 0.15), inset 0 1px 0 #fff;
}

body.theme-control-room label {
  color: #536474;
  font-weight: 600;
}

body.theme-control-room .button {
  min-height: 42px;
  gap: 0.45rem;
  border: 1px solid rgba(0, 102, 204, 0.34);
  border-radius: 12px;
  background: var(--gradient-primary);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34), 0 7px 18px rgba(0, 113, 227, 0.2);
  color: #fff;
  font-weight: 650;
  transition: transform 150ms ease, box-shadow 150ms ease, filter 150ms ease;
}

body.theme-control-room .button:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42), 0 10px 24px rgba(0, 113, 227, 0.24);
  filter: saturate(106%);
}

body.theme-control-room .button:focus-visible,
body.theme-control-room .primary-navigation__item:focus-visible,
body.theme-control-room .profile-tab:focus-visible,
body.theme-control-room .current-workspace-card:focus-visible,
body.theme-control-room .sidebar-logout:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(10, 132, 255, 0.22);
}

body.theme-control-room .button--secondary {
  background: linear-gradient(180deg, #63b6ff 0%, #0a84ff 100%);
}

body.theme-control-room .button--ghost {
  border-color: rgba(79, 115, 150, 0.26);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 5px 14px rgba(32, 72, 109, 0.07);
  color: #203344;
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
}

body.theme-control-room .button--ghost:hover {
  border-color: rgba(10, 132, 255, 0.34);
  background: rgba(240, 248, 255, 0.9);
  color: var(--accent-strong);
}

body.theme-control-room .button--small {
  min-height: 36px;
  border-radius: 10px;
}

body.theme-control-room .button--wide {
  width: 100%;
}

body.theme-control-room .eyebrow {
  color: var(--accent-strong);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
}

body.theme-control-room.is-authenticated .page-shell {
  width: 100%;
  max-width: none;
  padding: 0;
}

body.theme-control-room.is-authenticated .app-header {
  display: grid;
  grid-template-columns: var(--nav-width) minmax(0, 1fr) var(--rail-width);
  top: 0;
  min-height: 70px;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid rgba(91, 124, 157, 0.2);
  background: rgba(248, 252, 255, 0.74);
  box-shadow: 0 1px 18px rgba(30, 72, 109, 0.06);
  backdrop-filter: blur(28px) saturate(145%);
  -webkit-backdrop-filter: blur(28px) saturate(145%);
}

body.theme-control-room.is-authenticated .brand-lockup {
  align-self: stretch;
  padding: 0 20px;
  color: #fff;
  background: linear-gradient(180deg, rgba(13, 35, 58, 0.98), rgba(8, 27, 47, 0.96));
  box-shadow: inset -1px 0 0 rgba(160, 211, 255, 0.13);
}

body.theme-control-room.is-authenticated .brand-mark {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(176, 220, 255, 0.34);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(69, 157, 255, 0.36), rgba(10, 132, 255, 0.18));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 8px 20px rgba(0, 0, 0, 0.13);
}

body.theme-control-room.is-authenticated .brand-lockup .eyebrow {
  color: #79bdff;
}

body.theme-control-room.is-authenticated .brand-lockup h1 {
  font-size: 1.2rem;
}

.header-context {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  padding: 0 24px;
  color: var(--ink-muted);
  font-size: 0.88rem;
}

.header-context strong {
  overflow: hidden;
  color: var(--ink);
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.theme-control-room:not(.is-authenticated) .header-context {
  display: none;
}

body.theme-control-room.is-authenticated .header-status {
  justify-self: stretch;
  min-width: 0;
  margin-right: 12px;
  padding: 0.55rem 0.75rem;
  border-color: rgba(91, 124, 157, 0.18);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

body.theme-control-room.is-authenticated .header-status p {
  overflow: hidden;
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.theme-control-room .status-dot {
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(10, 132, 255, 0.12);
}

body.theme-control-room.is-authenticated .layout {
  display: block;
}

body.theme-control-room.is-authenticated .workspace-shell {
  display: grid;
  grid-template-columns: var(--nav-width) minmax(0, 1fr) var(--rail-width);
  gap: var(--layout-gap);
  align-items: start;
  padding: 0 12px 12px 0;
}

body.theme-control-room.is-authenticated .sidebar.panel {
  position: sticky;
  top: 70px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: calc(100vh - 70px);
  max-height: none;
  padding: 20px 12px 12px;
  overflow: visible;
  border: 0;
  border-radius: 0 0 20px 0;
  background:
    radial-gradient(circle at 15% 9%, rgba(38, 126, 210, 0.19), transparent 17rem),
    linear-gradient(180deg, rgba(13, 35, 58, 0.98), rgba(7, 24, 43, 0.97));
  box-shadow: inset -1px 0 0 rgba(155, 209, 255, 0.12), 8px 18px 38px rgba(11, 42, 70, 0.11);
  color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(30px) saturate(135%);
  -webkit-backdrop-filter: blur(30px) saturate(135%);
}

.primary-navigation {
  display: grid;
  gap: 5px;
}

.primary-navigation__item {
  position: relative;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: rgba(236, 246, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 560;
  text-decoration: none;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.primary-navigation__item::before {
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: -12px;
  width: 3px;
  border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
  background: transparent;
  content: "";
}

.primary-navigation__item:hover {
  border-color: rgba(155, 209, 255, 0.11);
  background: rgba(151, 209, 255, 0.08);
  color: #fff;
  transform: translateX(1px);
}

.primary-navigation__item.is-active {
  border-color: rgba(137, 200, 255, 0.18);
  background: linear-gradient(145deg, rgba(38, 142, 255, 0.2), rgba(170, 218, 255, 0.09));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 9px 20px rgba(0, 0, 0, 0.1);
  color: #fff;
}

.primary-navigation__item.is-active::before {
  background: #54aaff;
  box-shadow: 0 0 14px rgba(84, 170, 255, 0.72);
}

.navigation-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: var(--radius-pill);
  background: #0a84ff;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}

.navigation-badge.is-empty {
  opacity: 0.45;
}

.sidebar-footer {
  display: grid;
  gap: 8px;
  margin-top: auto;
}

.sidebar-management {
  position: relative;
}

.sidebar-management > summary {
  list-style: none;
}

.sidebar-management > summary::-webkit-details-marker {
  display: none;
}

.current-workspace-card {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 10px;
  min-height: 78px;
  padding: 12px;
  border: 1px solid rgba(159, 211, 255, 0.22);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(151, 211, 255, 0.12), rgba(255, 255, 255, 0.04));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 9px 26px rgba(0, 0, 0, 0.12);
  color: #fff;
  cursor: pointer;
}

.current-workspace-card__copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.current-workspace-card__copy small:first-child {
  color: #69b5ff;
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.current-workspace-card__copy strong,
.current-workspace-card__copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.current-workspace-card__copy strong {
  font-size: 0.84rem;
}

.current-workspace-card__copy span {
  color: rgba(221, 239, 255, 0.62);
  font-size: 0.68rem;
}

.sidebar-management[open] .ion-chevron-down {
  transform: rotate(180deg);
}

.workspace-popover {
  position: absolute;
  right: -372px;
  bottom: 0;
  z-index: 80;
  display: grid;
  width: 360px;
  max-height: min(760px, calc(100vh - 92px));
  gap: 14px;
  padding: 16px;
  overflow: auto;
  border: 1px solid rgba(91, 124, 157, 0.24);
  border-radius: 20px;
  background: rgba(246, 251, 255, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 28px 70px rgba(16, 52, 84, 0.22);
  color: var(--ink);
  backdrop-filter: blur(30px) saturate(145%);
  -webkit-backdrop-filter: blur(30px) saturate(145%);
}

.workspace-popover .surface {
  padding: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.workspace-popover .section-head {
  margin: 0;
}

.operator-card {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-top: 1px solid rgba(164, 214, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
}

.operator-card > span:last-child {
  display: grid;
  min-width: 0;
}

.operator-card strong {
  font-size: 0.83rem;
  font-weight: 620;
}

.operator-card small {
  overflow: hidden;
  color: rgba(220, 238, 255, 0.55);
  font-size: 0.68rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-logout {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: rgba(230, 243, 255, 0.72);
  font: inherit;
  font-size: 0.83rem;
  cursor: pointer;
}

.sidebar-logout:hover {
  background: rgba(155, 209, 255, 0.09);
  color: #fff;
}

body.theme-control-room.is-authenticated .content.panel {
  min-width: 0;
  min-height: auto;
  margin-top: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.profile-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(244, 249, 255, 0.62));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94), var(--shadow-soft);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
}

.profile-heading__title-row,
.profile-heading__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile-heading h2 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.profile-state {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 0 10px;
  border: 1px solid rgba(10, 132, 255, 0.19);
  border-radius: 9px;
  background: rgba(229, 243, 255, 0.78);
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 650;
}

.profile-meta {
  margin-top: 5px;
  color: var(--ink-subtle);
  font-size: 0.76rem;
}

.profile-tabs {
  display: flex;
  align-items: stretch;
  min-height: 64px;
  margin-bottom: 12px;
  padding: 0 10px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 0 0 18px 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.8), rgba(244, 249, 255, 0.58));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), var(--shadow-soft);
  scrollbar-width: none;
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
}

.profile-tabs::-webkit-scrollbar {
  display: none;
}

.profile-tab {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  min-height: 64px;
  padding: 0 14px;
  color: var(--ink-muted);
  font-size: 0.78rem;
  font-weight: 560;
  text-decoration: none;
}

.profile-tab::after {
  position: absolute;
  right: 12px;
  bottom: 0;
  left: 12px;
  height: 3px;
  border-radius: var(--radius-pill) var(--radius-pill) 0 0;
  background: transparent;
  content: "";
}

.profile-tab:hover,
.profile-tab.is-active {
  color: var(--accent-strong);
}

.profile-tab.is-active::after {
  background: var(--accent);
  box-shadow: 0 -3px 12px rgba(10, 132, 255, 0.2);
}

body.theme-control-room #escort-editor-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#profile-basics { order: 1; }
#profile-services { order: 2; }
#pricing-section { order: 3; }
#profile-communication { order: 4; }
#integration-section { order: 5; }
#booking-section { order: 6; }
#chat-section { order: 7; }
#profile-settings { order: 8; }
.editor-actions { order: 9; }

body.theme-control-room .profile-section,
body.theme-control-room .profile-settings,
body.theme-control-room #profile-notes {
  scroll-margin-top: 92px;
}

body.theme-control-room .profile-section--basics {
  grid-template-columns: 1fr;
  gap: 12px;
}

body.theme-control-room .profile-section__card {
  padding: 22px;
}

body.theme-control-room .profile-section__card--basis .field-grid:last-child {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.theme-control-room .profile-section__card--contact > .field-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-notes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-notes-grid__wide {
  grid-column: 1 / -1;
}

.contact-notes-grid textarea {
  height: 44px;
  min-height: 44px;
  resize: vertical;
}

.contact-notes-grid textarea:focus {
  min-height: 88px;
}

.contact-advanced {
  position: absolute;
  top: 14px;
  right: 18px;
  z-index: 12;
  width: 178px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(240, 247, 255, 0.62);
}

.profile-section__card--contact {
  position: relative;
}

.contact-advanced > summary {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 12px;
  color: var(--ink-muted);
  font-size: 0.76rem;
  font-weight: 620;
  cursor: pointer;
  list-style: none;
}

.contact-advanced > summary::-webkit-details-marker {
  display: none;
}

.contact-advanced[open] > summary {
  border-bottom: 1px solid var(--line);
  color: var(--accent-strong);
}

.contact-advanced[open] > summary .ion-chevron-down {
  transform: rotate(180deg);
}

.contact-advanced > .field-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 12px;
}

.contact-advanced[open] {
  width: min(660px, calc(100% - 36px));
  background: rgba(246, 251, 255, 0.96);
  box-shadow: inset 0 1px 0 #fff, 0 20px 48px rgba(23, 67, 108, 0.2);
  backdrop-filter: blur(26px) saturate(145%);
  -webkit-backdrop-filter: blur(26px) saturate(145%);
}

body.theme-control-room .editor-grid,
body.theme-control-room .profile-section--secondary {
  gap: 12px;
}

body.theme-control-room .surface,
body.theme-control-room .booking-card,
body.theme-control-room .integration-card {
  border-radius: 18px;
}

body.theme-control-room .surface {
  padding: 22px;
}

body.theme-control-room .prompt-mode-card,
body.theme-control-room .dynamic-row,
body.theme-control-room .guide-card,
body.theme-control-room .notice-card,
body.theme-control-room .advanced-settings {
  border-color: var(--line);
  border-radius: 14px;
  background: rgba(246, 251, 255, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

body.theme-control-room .prompt-mode-card:hover,
body.theme-control-room .prompt-mode-card:has(input:checked) {
  border-color: rgba(10, 132, 255, 0.4);
  background: rgba(232, 244, 255, 0.9);
  box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.09);
}

body.theme-control-room .facts-box {
  border: 1px solid rgba(111, 174, 227, 0.24);
  border-radius: 15px;
  background: linear-gradient(160deg, #102a44, #0a1f35);
  box-shadow: inset 0 1px 0 rgba(186, 222, 255, 0.12), 0 12px 28px rgba(11, 43, 72, 0.16);
}

body.theme-control-room .chat-bubble--assistant {
  border-color: rgba(10, 132, 255, 0.2);
  background: #eaf4ff;
}

body.theme-control-room .connection-badge,
body.theme-control-room .list-count {
  border-radius: var(--radius-pill);
}

body.theme-control-room .modal-backdrop {
  background: rgba(9, 30, 51, 0.42);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
}

body.theme-control-room .modal-card {
  border-radius: 22px;
  background: rgba(248, 252, 255, 0.9);
}

.button--mobile-save {
  display: none;
}

.readiness-inspector {
  position: sticky;
  top: 82px;
  display: grid;
  gap: 10px;
  align-self: start;
  max-height: calc(100vh - 94px);
  margin-top: 12px;
  overflow: auto;
  scrollbar-width: none;
}

.readiness-inspector::-webkit-scrollbar {
  display: none;
}

.readiness-inspector.is-empty {
  opacity: 0.72;
}

.inspector-card {
  padding: 17px;
  border-radius: 18px;
}

.inspector-card__head,
.inspector-integration {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.inspector-card__head > .ion-icon {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(10, 132, 255, 0.17);
  border-radius: 11px;
  background: rgba(230, 243, 255, 0.82);
  color: var(--accent);
}

.inspector-card h2 {
  margin-top: 3px;
  font-size: 1rem;
  line-height: 1.2;
}

.inspector-card h3 {
  font-size: 0.88rem;
}

.inspector-card > .muted,
.inspector-integration .muted {
  margin-top: 6px;
  font-size: 0.72rem;
  line-height: 1.48;
}

.readiness-score {
  display: grid;
  gap: 9px;
  margin-top: 16px;
}

.readiness-score__value {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.readiness-score__value strong {
  font-size: 1.55rem;
  letter-spacing: -0.04em;
}

.readiness-score__value span {
  color: var(--ink-muted);
  font-size: 0.68rem;
}

.readiness-score progress {
  width: 100%;
  height: 8px;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-pill);
  background: #d9e8f5;
}

.readiness-score progress::-webkit-progress-bar {
  border-radius: var(--radius-pill);
  background: #d9e8f5;
}

.readiness-score progress::-webkit-progress-value {
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, #54aaff, #0a84ff);
}

.readiness-score progress::-moz-progress-bar {
  border-radius: var(--radius-pill);
  background: #0a84ff;
}

.readiness-checklist {
  display: grid;
  gap: 15px;
  margin: 15px 0 0;
  padding: 0;
  list-style: none;
}

.readiness-checklist li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 9px;
  color: var(--ink-muted);
}

.readiness-checklist li > .ion-icon {
  color: var(--accent);
  font-size: 1.2rem;
}

.readiness-checklist li.is-complete > .ion-icon {
  color: #24a46d;
}

.readiness-checklist li.is-warning > .ion-icon {
  color: var(--amber);
}

.readiness-checklist li > span:last-child {
  display: grid;
  gap: 2px;
}

.readiness-checklist strong {
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 650;
}

.readiness-checklist small {
  font-size: 0.66rem;
  line-height: 1.42;
}

.inspector-note {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 8px;
  margin-top: 16px;
  padding: 11px;
  border: 1px solid rgba(10, 132, 255, 0.13);
  border-radius: 13px;
  background: rgba(232, 244, 255, 0.74);
  color: #526576;
}

.inspector-note .ion-icon {
  color: var(--accent);
}

.inspector-note p {
  font-size: 0.66rem;
  line-height: 1.46;
}

.inspector-integration {
  justify-content: flex-start;
}

.inspector-integration > .ion-icon {
  margin-top: 1px;
  color: var(--accent);
  font-size: 1.25rem;
}

.inspector-card .button--wide {
  margin-top: 13px;
}

body.theme-control-room.is-authenticated .site-footer {
  display: none;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  body.theme-control-room .panel,
  body.theme-control-room .surface,
  body.theme-control-room .inspector-card,
  body.theme-control-room .profile-heading,
  body.theme-control-room .profile-tabs,
  body.theme-control-room .workspace-popover {
    background: rgba(248, 252, 255, 0.96);
  }
}

@media (max-width: 1319px) {
  body.theme-control-room {
    --nav-width: 220px;
  }

  body.theme-control-room.is-authenticated .app-header {
    grid-template-columns: var(--nav-width) minmax(0, 1fr);
  }

  body.theme-control-room.is-authenticated .header-status {
    display: none;
  }

  body.theme-control-room.is-authenticated .workspace-shell {
    grid-template-columns: var(--nav-width) minmax(0, 1fr);
  }

  .readiness-inspector {
    position: static;
    grid-column: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: none;
    margin-top: 0;
  }
}

@media (max-width: 1099px) {
  body.theme-control-room.is-authenticated .app-header {
    grid-template-columns: 1fr auto;
  }

  body.theme-control-room.is-authenticated .brand-lockup {
    min-height: 70px;
    background: transparent;
    box-shadow: none;
    color: var(--ink);
  }

  body.theme-control-room.is-authenticated .brand-lockup .eyebrow {
    color: var(--accent-strong);
  }

  body.theme-control-room.is-authenticated .header-context {
    justify-content: flex-end;
  }

  body.theme-control-room.is-authenticated .workspace-shell {
    grid-template-columns: minmax(0, 1fr);
    padding: 10px;
  }

  body.theme-control-room.is-authenticated .sidebar.panel {
    position: static;
    display: grid;
    height: auto;
    gap: 10px;
    padding: 10px;
    border-radius: 18px;
  }

  .primary-navigation {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .primary-navigation::-webkit-scrollbar {
    display: none;
  }

  .primary-navigation__item {
    flex: 0 0 auto;
    grid-template-columns: 22px auto auto;
    min-height: 44px;
  }

  .primary-navigation__item::before {
    display: none;
  }

  .sidebar-footer {
    display: flex;
    align-items: center;
    margin-top: 0;
  }

  .sidebar-management {
    margin-right: auto;
  }

  .current-workspace-card {
    min-width: 230px;
    min-height: 58px;
  }

  .workspace-popover {
    right: auto;
    bottom: auto;
    left: 0;
    top: calc(100% + 8px);
  }

  .operator-card {
    border: 0;
  }

  body.theme-control-room.is-authenticated .content.panel {
    margin-top: 0;
  }

  .readiness-inspector {
    grid-column: 1;
  }
}

@media (max-width: 820px) {
  body.theme-control-room.is-authenticated .app-header {
    position: sticky;
    display: flex;
    min-height: 62px;
    padding: 0 8px;
  }

  body.theme-control-room.is-authenticated .brand-lockup {
    min-height: 62px;
    padding: 0 4px;
  }

  body.theme-control-room.is-authenticated .brand-mark {
    width: 34px;
    height: 34px;
  }

  body.theme-control-room.is-authenticated .header-context {
    display: none;
  }

  body.theme-control-room.is-authenticated .sidebar.panel {
    top: auto;
  }

  .sidebar-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .current-workspace-card {
    min-width: 0;
  }

  .workspace-popover {
    position: fixed;
    right: 8px;
    bottom: 8px;
    left: 8px;
    top: auto;
    width: auto;
    max-height: calc(100vh - 100px);
  }

  .operator-card,
  .sidebar-logout {
    display: none;
  }

  .profile-heading {
    align-items: stretch;
    flex-direction: column;
    padding: 17px;
  }

  .profile-heading__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .profile-heading__actions .button {
    width: 100%;
  }

  .profile-tabs {
    min-height: 56px;
  }

  .profile-tab {
    min-height: 56px;
    padding: 0 12px;
  }

  body.theme-control-room .profile-section__card--basis .field-grid:last-child,
  body.theme-control-room .profile-section__card--contact > .field-grid,
  body.theme-control-room .contact-notes-grid,
  body.theme-control-room .contact-advanced > .field-grid,
  body.theme-control-room .field-grid,
  body.theme-control-room .editor-grid,
  body.theme-control-room .booking-dashboard,
  body.theme-control-room .integration-grid {
    grid-template-columns: 1fr;
  }

  .contact-notes-grid__wide {
    grid-column: auto;
  }

  .contact-advanced,
  .contact-advanced[open] {
    position: static;
    width: 100%;
  }

  body.theme-control-room .surface,
  body.theme-control-room .profile-section__card {
    padding: 16px;
    border-radius: 15px;
  }

  .readiness-inspector {
    grid-template-columns: 1fr;
  }

  .button--mobile-save {
    display: none;
  }
}

@media (max-width: 560px) {
  body.theme-control-room.is-authenticated .workspace-shell {
    padding: 7px;
  }

  .primary-navigation__item {
    padding: 0 10px;
    font-size: 0.78rem;
  }

  .navigation-badge {
    display: none;
  }

  .profile-heading h2 {
    font-size: 1.35rem;
  }

  .profile-tabs {
    margin-bottom: 8px;
  }

  .inspector-card {
    padding: 15px;
    border-radius: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.theme-control-room *,
  body.theme-control-room *::before,
  body.theme-control-room *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
