/* [project]/src/app/globals.css [app-client] (css) */
:root {
  --bg-app: #f4efe6;
  --bg-app-alt: #ede6d8;
  --bg-surface: #fff;
  --bg-surface-2: #fbf7f0;
  --bg-overlay: #1f1b168c;
  --bg-hover: #f0eadd;
  --bg-selected: #efe3d6;
  --bg-sidebar: #1f1b16;
  --bg-sidebar-active: #2a251e;
  --bg-tag: #efe3d6;
  --ink-1: #1f1b16;
  --ink-2: #4a4339;
  --ink-3: #786e5f;
  --ink-4: #a89c89;
  --ink-on-dark: #f4efe6;
  --ink-on-dark-dim: #a89c89;
  --border-subtle: #ebe2d2;
  --border-default: #dcd0b9;
  --border-strong: #b9a98a;
  --border-dark: #2e2922;
  --primary: #5b4be0;
  --primary-hover: #4b3ccb;
  --primary-press: #3e30ac;
  --primary-tint: #eceafb;
  --primary-tint-2: #d7d2f5;
  --accent: #2f4a3a;
  --accent-tint: #dde5dc;
  --warm-1: #e8b96a;
  --warm-2: #b07a3e;
  --warm-tint: #f7ead2;
  --success: #2f7d4f;
  --success-tint: #ddebdf;
  --warning: #b45309;
  --warning-tint: #fbe6c2;
  --danger: #b91c1c;
  --danger-tint: #f6dddd;
  --info: #2c6fbf;
  --info-tint: #dde7f3;
  --font-display: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 20px;
  --s-6: 24px;
  --s-8: 32px;
  --s-10: 40px;
  --s-12: 48px;
  --s-16: 64px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;
  --r-full: 999px;
  --shadow-xs: 0 1px 2px #1f1b160f;
  --shadow-sm: 0 1px 3px #1f1b1614, 0 1px 2px #1f1b160a;
  --shadow-md: 0 4px 16px #1f1b161a;
  --shadow-lg: 0 12px 32px #1f1b1624;
  --shadow-focus: 0 0 0 3px #5b4be038;
  --sidebar-w: 240px;
  --topbar-h: 64px;
  --content-pad: 32px;
}

body.dark {
  --bg-app: #1a1612;
  --bg-app-alt: #221e18;
  --bg-surface: #25201a;
  --bg-surface-2: #2c271f;
  --bg-hover: #2e2922;
  --bg-selected: #38322a;
  --bg-sidebar: #14110d;
  --bg-sidebar-active: #1f1b15;
  --bg-tag: #38322a;
  --ink-1: #f4efe6;
  --ink-2: #c8bfb0;
  --ink-3: #9a8f7d;
  --ink-4: #6e6555;
  --border-subtle: #2e2922;
  --border-default: #3a342b;
  --border-strong: #564e41;
  --border-dark: #0f0d0a;
  --primary-tint: #241e52;
  --primary-tint-2: #322a6b;
  --warm-tint: #4a3820;
  --success-tint: #1f3528;
  --warning-tint: #4a3318;
  --danger-tint: #4a1f1f;
  --info-tint: #1f2e45;
  --accent-tint: #1f2e25;
}

body.compact {
  --s-4: 12px;
  --s-5: 14px;
  --s-6: 18px;
  --s-8: 24px;
  --content-pad: 22px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-app);
  color: var(--ink-1);
  -webkit-font-smoothing: antialiased;
  letter-spacing: -.005em;
  font-size: 14px;
  line-height: 1.5;
}

.display {
  font-family: var(--font-display);
  letter-spacing: -.015em;
  font-weight: 400;
  line-height: 1;
}

.italic {
  font-style: italic;
}

.mono {
  font-family: var(--font-mono);
}

h1, h2, h3, h4 {
  letter-spacing: -.012em;
  color: var(--ink-1);
  margin: 0;
  font-weight: 600;
}

.app {
  grid-template-columns: var(--sidebar-w) 1fr;
  min-height: 100vh;
  display: grid;
}

.sidebar {
  background: var(--bg-sidebar);
  color: var(--ink-on-dark);
  flex-direction: column;
  gap: 4px;
  height: 100vh;
  padding: 20px 14px;
  display: flex;
  position: sticky;
  top: 0;
}

.sidebar__brand {
  border-bottom: 1px solid #f4efe614;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 8px 8px 24px;
  display: flex;
}

.sidebar__brand-mark {
  background: var(--primary);
  color: #fff;
  width: 32px;
  height: 32px;
  font-family: var(--font-display);
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  line-height: 1;
  display: flex;
}

.sidebar__brand-name {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
}

.sidebar__brand-meta {
  color: var(--ink-on-dark-dim);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-top: 2px;
  font-size: 11px;
}

.sidebar__section-label {
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink-on-dark-dim);
  padding: 16px 10px 6px;
  font-size: 10px;
}

.sidebar__item {
  color: var(--ink-on-dark);
  cursor: pointer;
  border-radius: 8px;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  transition: background .15s;
  display: flex;
  position: relative;
}

.sidebar__item:hover {
  background: var(--bg-sidebar-active);
}

.sidebar__item.active {
  background: var(--bg-sidebar-active);
  color: #fff;
}

.sidebar__item.active:before {
  content: "";
  background: var(--primary);
  border-radius: 0 3px 3px 0;
  width: 3px;
  height: 18px;
  position: absolute;
  top: 50%;
  left: -14px;
  transform: translateY(-50%);
}

.sidebar__item i {
  width: 16px;
  height: 16px;
}

.sidebar__count {
  color: var(--ink-on-dark);
  text-align: center;
  background: #f4efe61f;
  border-radius: 999px;
  min-width: 20px;
  margin-left: auto;
  padding: 2px 7px;
  font-size: 11px;
}

.sidebar__count.accent {
  background: var(--primary);
  color: #fff;
}

.sidebar__footer {
  border-top: 1px solid #f4efe614;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 12px 8px;
  display: flex;
}

.sidebar__avatar {
  background: var(--warm-1);
  width: 32px;
  height: 32px;
  color: var(--ink-1);
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  display: flex;
}

.sidebar__user-name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.sidebar__user-role {
  color: var(--ink-on-dark-dim);
  font-size: 11px;
}

.view-toggle {
  background: var(--bg-sidebar-active);
  border-radius: 8px;
  gap: 2px;
  margin: 0 4px 12px;
  padding: 3px;
  display: flex;
}

.view-toggle button {
  color: var(--ink-on-dark-dim);
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 6px;
  flex: 1;
  padding: 6px 8px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  transition: all .15s;
}

.view-toggle button.active {
  background: var(--bg-surface);
  color: var(--ink-1);
}

.topbar {
  height: var(--topbar-h);
  background: var(--bg-app);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0 var(--content-pad);
  z-index: 5;
  align-items: center;
  gap: 16px;
  display: flex;
  position: sticky;
  top: 0;
}

.topbar__crumb {
  color: var(--ink-3);
  font-size: 13px;
}

.topbar__crumb b {
  color: var(--ink-1);
  font-weight: 600;
}

.topbar__search {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--ink-3);
  border-radius: 8px;
  flex: 0 0 320px;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 7px 12px;
  display: flex;
}

.topbar__search input {
  color: var(--ink-1);
  background: none;
  border: 0;
  outline: 0;
  flex: 1;
  font-family: inherit;
  font-size: 13px;
}

.topbar__icon-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  width: 36px;
  height: 36px;
  color: var(--ink-2);
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  display: flex;
  position: relative;
}

.topbar__icon-btn:hover {
  background: var(--bg-hover);
}

.topbar__icon-btn .dot {
  background: var(--primary);
  border: 2px solid var(--bg-app);
  border-radius: 999px;
  width: 7px;
  height: 7px;
  position: absolute;
  top: 7px;
  right: 8px;
}

.main {
  padding: var(--content-pad);
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.page-header {
  border-bottom: 1px solid var(--border-subtle);
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  display: flex;
}

.page-header__eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--primary);
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 600;
}

.page-header__title {
  font-family: var(--font-display);
  color: var(--ink-1);
  letter-spacing: -.02em;
  font-size: 44px;
  font-weight: 400;
  line-height: 1;
}

.page-header__sub {
  color: var(--ink-3);
  max-width: 540px;
  margin-top: 8px;
  font-size: 14.5px;
}

.page-header__actions {
  gap: 10px;
  margin-left: auto;
  display: flex;
}

.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: 24px;
}

.card--flat {
  box-shadow: none;
}

.card__title {
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink-3);
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
}

.card__heading {
  font-family: var(--font-display);
  color: var(--ink-1);
  margin-bottom: 4px;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.05;
}

.btn {
  cursor: pointer;
  border: 1px solid #0000;
  border-radius: 8px;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.2;
  transition: all .15s;
  display: inline-flex;
}

.btn--primary {
  background: var(--primary);
  color: #fff;
}

.btn--primary:hover {
  background: var(--primary-hover);
}

.btn--primary:active {
  background: var(--primary-press);
}

.btn--secondary {
  background: var(--bg-surface);
  color: var(--ink-1);
  border-color: var(--border-default);
}

.btn--secondary:hover {
  background: var(--bg-hover);
}

.btn--ghost {
  color: var(--ink-2);
  background: none;
}

.btn--ghost:hover {
  background: var(--bg-hover);
}

.btn--dark {
  background: var(--ink-1);
  color: var(--ink-on-dark);
}

.btn--dark:hover {
  background: #000;
}

.btn--sm {
  padding: 6px 11px;
  font-size: 12.5px;
}

.btn--lg {
  padding: 12px 22px;
  font-size: 15px;
}

.btn--icon {
  padding: 8px;
}

.btn i {
  width: 15px;
  height: 15px;
}

.badge {
  letter-spacing: .01em;
  background: var(--bg-tag);
  color: var(--ink-2);
  border-radius: 999px;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  font-size: 11.5px;
  font-weight: 600;
  display: inline-flex;
}

.badge--primary {
  background: var(--primary-tint);
  color: var(--primary-press);
}

.badge--success {
  background: var(--success-tint);
  color: var(--success);
}

.badge--warning {
  background: var(--warning-tint);
  color: var(--warning);
}

.badge--danger {
  background: var(--danger-tint);
  color: var(--danger);
}

.badge--info {
  background: var(--info-tint);
  color: var(--info);
}

.badge--accent {
  background: var(--accent-tint);
  color: var(--accent);
}

.badge--outline {
  border: 1px solid var(--border-default);
  color: var(--ink-2);
  background: none;
}

.badge .dot {
  background: currentColor;
  border-radius: 999px;
  width: 6px;
  height: 6px;
}

.field {
  flex-direction: column;
  gap: 6px;
  display: flex;
}

.field label {
  color: var(--ink-1);
  font-size: 13px;
  font-weight: 600;
}

.field .hint {
  color: var(--ink-3);
  font-size: 12px;
}

.input, .textarea, .select {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  width: 100%;
  color: var(--ink-1);
  border-radius: 8px;
  outline: 0;
  padding: 10px 13px;
  font-family: inherit;
  font-size: 14px;
  transition: all .15s;
}

.input::placeholder, .textarea::placeholder {
  color: var(--ink-4);
}

.input:focus, .textarea:focus, .select:focus {
  border-color: var(--primary);
  box-shadow: var(--shadow-focus);
}

.textarea {
  resize: vertical;
  min-height: 80px;
  font-family: inherit;
}

.input--lg {
  padding: 14px 16px;
  font-size: 16px;
}

.radio-group, .check-group {
  flex-wrap: wrap;
  gap: 8px;
  display: flex;
}

.radio-pill {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  cursor: pointer;
  color: var(--ink-1);
  border-radius: 999px;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 13px;
  transition: all .15s;
  display: inline-flex;
}

.radio-pill:hover {
  background: var(--bg-hover);
}

.radio-pill.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.check-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  cursor: pointer;
  border-radius: 10px;
  flex: 1;
  align-items: flex-start;
  gap: 10px;
  min-width: 200px;
  padding: 12px 14px;
  transition: all .15s;
  display: flex;
}

.check-card:hover {
  background: var(--bg-hover);
}

.check-card.active {
  background: var(--primary-tint);
  border-color: var(--primary);
}

.check-box {
  border: 1.5px solid var(--border-strong);
  background: #fff;
  border-radius: 4px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  display: flex;
}

.check-card.active .check-box {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.stars {
  color: var(--warm-2);
  gap: 2px;
  display: inline-flex;
}

.stars .star-empty {
  color: var(--border-default);
}

.progress {
  background: var(--bg-app-alt);
  border-radius: 999px;
  height: 8px;
  overflow: hidden;
}

.progress__fill {
  background: var(--primary);
  border-radius: 999px;
  height: 100%;
  transition: width .4s cubic-bezier(.2, 0, 0, 1);
}

.table-wrap {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.tbl {
  border-collapse: collapse;
  width: 100%;
}

.tbl thead th {
  text-align: left;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: var(--bg-surface-2);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 600;
}

.tbl tbody td {
  border-bottom: 1px solid var(--border-subtle);
  color: var(--ink-1);
  vertical-align: middle;
  padding: 14px 16px;
  font-size: 14px;
}

.tbl tbody tr:last-child td {
  border-bottom: 0;
}

.tbl tbody tr {
  transition: background .1s;
}

.tbl tbody tr:hover {
  background: var(--bg-hover);
}

.row {
  align-items: center;
  gap: 12px;
  display: flex;
}

.col {
  flex-direction: column;
  gap: 12px;
  display: flex;
}

.grow {
  flex: 1;
}

.muted {
  color: var(--ink-3);
}

.muted-2 {
  color: var(--ink-4);
}

.divider {
  background: var(--border-subtle);
  height: 1px;
}

.hr {
  background: var(--border-subtle);
  border: 0;
  height: 1px;
  margin: 24px 0;
}

.dot-pulse {
  background: var(--success);
  width: 8px;
  height: 8px;
  box-shadow: 0 0 0 4px var(--success-tint);
  border-radius: 999px;
}

.section-head {
  border-top: 1px solid var(--border-subtle);
  align-items: baseline;
  gap: 16px;
  margin: 40px 0 16px;
  padding-top: 8px;
  display: flex;
}

.section-head__num {
  font-family: var(--font-display);
  color: var(--primary);
  letter-spacing: .04em;
  padding-top: 14px;
  font-size: 14px;
  font-style: italic;
}

.section-head__title {
  font-family: var(--font-display);
  letter-spacing: -.015em;
  flex: 1;
  padding-top: 12px;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.1;
}

.section-head__hint {
  color: var(--ink-3);
  max-width: 280px;
  padding-top: 18px;
  font-size: 13px;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.fade-in {
  animation: .25s cubic-bezier(.2, 0, 0, 1) both fadeUp;
}

.portal {
  background: var(--bg-app);
  min-height: 100vh;
  color: var(--ink-1);
  flex-direction: column;
  display: flex;
}

.portal__header {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 20;
  -webkit-backdrop-filter: saturate(140%) blur(6px);
  backdrop-filter: saturate(140%) blur(6px);
  position: sticky;
  top: 0;
}

.portal__header-inner {
  align-items: center;
  gap: 14px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
}

.portal__brand {
  font-family: var(--font-display);
  letter-spacing: -.01em;
  color: var(--ink-1);
  align-items: center;
  gap: 10px;
  font-size: 19px;
  display: flex;
}

.portal__brand-dot {
  background: var(--primary);
  color: #fff;
  width: 26px;
  height: 26px;
  font-family: var(--font-sans);
  border-radius: 8px;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  display: grid;
}

.portal__client {
  color: var(--ink-3);
  border-left: 1px solid var(--border-subtle);
  padding-left: 14px;
  font-size: 12.5px;
  display: none;
}

@media (min-width: 720px) {
  .portal__client {
    display: block;
  }
}

.portal__step {
  color: var(--ink-2);
  background: var(--primary-tint);
  letter-spacing: .02em;
  border-radius: 999px;
  margin-left: auto;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
}

.portal__main {
  flex: 1;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 28px 20px 120px;
}

.portal__hero {
  padding: 28px 0 18px;
}

.portal__hero-kicker {
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
}

.portal__hero-title {
  font-family: var(--font-display);
  letter-spacing: -.01em;
  color: var(--ink-1);
  margin: 0 0 12px;
  font-size: clamp(30px, 5.5vw, 44px);
  line-height: 1.05;
}

.portal__hero-sub {
  color: var(--ink-2);
  max-width: 620px;
  font-size: 15.5px;
  line-height: 1.55;
}

.portal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
  padding: 20px;
}

.portal-card--soft {
  background: var(--bg-surface-2);
}

.portal-card--accent {
  background: linear-gradient(180deg, var(--primary-tint), var(--bg-surface));
  border-color: var(--primary-tint-2);
}

.portal-card__head {
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  display: flex;
}

.portal-card__num {
  background: var(--ink-1);
  width: 28px;
  height: 28px;
  color: var(--bg-app);
  border-radius: 999px;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  display: grid;
}

.portal-card__title {
  font-family: var(--font-display);
  color: var(--ink-1);
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.step-dots {
  gap: 6px;
  margin-bottom: 24px;
  display: flex;
}

.step-dots__dot {
  background: var(--bg-tag);
  border-radius: 999px;
  flex: 1;
  height: 5px;
  transition: background .2s;
}

.step-dots__dot--done {
  background: var(--primary);
}

.step-dots__dot--now {
  background: var(--ink-1);
}

.portal__cta-bar {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
  z-index: 30;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  box-shadow: 0 -8px 24px #1f1b160f;
}

.portal__cta-inner {
  align-items: center;
  gap: 12px;
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
}

.portal__cta-meta {
  color: var(--ink-3);
  margin-right: auto;
  font-size: 12.5px;
  display: none;
}

@media (min-width: 720px) {
  .portal__cta-meta {
    display: block;
  }
}

.pipeline {
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 14px;
  padding-bottom: 6px;
  display: flex;
  overflow-x: auto;
}

.pipeline__step {
  scroll-snap-align: start;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  flex: 0 0 240px;
  padding: 14px 16px;
  position: relative;
}

.pipeline__step--current {
  border-color: var(--primary);
  background: linear-gradient(180deg, var(--primary-tint) 0%, var(--bg-surface) 60%);
  box-shadow: var(--shadow-sm);
}

.pipeline__step--done {
  opacity: .7;
}

.pipeline__step-num {
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-size: 11px;
  font-weight: 700;
}

.pipeline__step--current .pipeline__step-num {
  color: var(--primary);
}

.pipeline__step-label {
  font-family: var(--font-display);
  margin: 6px 0 4px;
  font-size: 19px;
  line-height: 1.2;
}

.pipeline__step-state {
  color: var(--ink-3);
  font-size: 12px;
}

.action-list {
  flex-direction: column;
  gap: 10px;
  display: flex;
}

.action-row {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  color: inherit;
  cursor: pointer;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  text-decoration: none;
  transition: transform .12s, border-color .12s, box-shadow .12s;
  display: flex;
}

.action-row:hover {
  border-color: var(--border-default);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.action-row__icon {
  background: var(--primary-tint);
  width: 36px;
  height: 36px;
  color: var(--primary);
  border-radius: 10px;
  flex-shrink: 0;
  place-items: center;
  display: grid;
}

.action-row__body {
  flex: 1;
  min-width: 0;
}

.action-row__title {
  margin: 0 0 2px;
  font-size: 14.5px;
  font-weight: 600;
}

.action-row__sub {
  color: var(--ink-3);
  font-size: 12.5px;
}

.action-row__chev {
  color: var(--ink-3);
}

.action-row--done {
  opacity: .55;
}

.action-row--done .action-row__icon {
  background: var(--success-tint);
  color: var(--success);
}

.action-row--locked {
  opacity: .4;
  pointer-events: none;
}

.action-row--locked .action-row__icon {
  background: var(--bg-tag);
  color: var(--ink-4);
}

.portal-nav {
  border-right: 1px solid var(--border-subtle);
  flex-shrink: 0;
  align-self: flex-start;
  width: 220px;
  padding-right: 16px;
  display: none;
  position: sticky;
  top: 72px;
}

@media (min-width: 880px) {
  .portal-nav {
    display: block;
  }
}

.portal-nav__item {
  cursor: pointer;
  color: var(--ink-2);
  text-align: left;
  background: none;
  border: 0;
  border-radius: 8px;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  display: flex;
}

.portal-nav__item:hover {
  background: var(--bg-hover);
}

.portal-nav__item--active {
  background: var(--ink-1);
  color: var(--ink-on-dark);
}

.portal-nav__item--active:hover {
  background: var(--ink-1);
}

.portal-nav__badge {
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  margin-left: auto;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
}

.portal-bottombar {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 8px 4px calc(8px + env(safe-area-inset-bottom));
  z-index: 25;
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  box-shadow: 0 -4px 16px #1f1b160d;
}

@media (min-width: 880px) {
  .portal-bottombar {
    display: none;
  }
}

.portal-bottombar__item {
  color: var(--ink-3);
  cursor: pointer;
  background: none;
  border: 0;
  flex-direction: column;
  flex: 1;
  align-items: center;
  gap: 2px;
  padding: 6px 4px;
  font-family: inherit;
  font-size: 10.5px;
  font-weight: 600;
  display: flex;
  position: relative;
}

.portal-bottombar__item--active {
  color: var(--primary);
}

.portal-bottombar__item-dot {
  background: var(--primary);
  border-radius: 999px;
  width: 6px;
  height: 6px;
  position: absolute;
  top: 4px;
  right: 20%;
}

.portal-grid {
  gap: 28px;
  display: flex;
}

@media (max-width: 879px) {
  .portal-grid {
    display: block;
  }

  .portal__main {
    padding-bottom: 110px;
  }
}

.portal-grid__content {
  flex: 1;
  min-width: 0;
}

.charte-mockup {
  border-radius: var(--r-md);
  border: 1px solid var(--border-subtle);
  aspect-ratio: 16 / 10;
  margin-top: 12px;
  position: relative;
  overflow: hidden;
}

.charte-mockup__head {
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
}

.charte-mockup__hero {
  flex-direction: column;
  flex: 1;
  justify-content: center;
  gap: 8px;
  padding: 22px 16px 24px;
  display: flex;
  position: relative;
  overflow: hidden;
}

.charte-mockup__title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.05;
}

.charte-mockup__sub {
  opacity: .7;
  font-size: 11.5px;
  line-height: 1.3;
}

.charte-mockup__btn {
  border-radius: 6px;
  width: fit-content;
  margin-top: 4px;
  padding: 7px 14px;
  font-size: 11.5px;
  font-weight: 600;
  display: inline-block;
}

.charte-mockup__body {
  flex-direction: column;
  height: 100%;
  display: flex;
}

.portal-field {
  flex-direction: column;
  gap: 6px;
  display: flex;
}

.portal-field > label {
  color: var(--ink-1);
  font-size: 14px;
  font-weight: 600;
}

.portal-field__hint {
  color: var(--ink-3);
  margin-top: -2px;
  font-size: 12.5px;
}

.portal-field .input, .portal-field .textarea {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  color: var(--ink-1);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  transition: border-color .12s, box-shadow .12s;
}

.portal-field .input:focus, .portal-field .textarea:focus {
  border-color: var(--primary);
  box-shadow: var(--shadow-focus);
  outline: 0;
}

.portal-field .textarea {
  resize: vertical;
  min-height: 90px;
}

.portal-radio {
  flex-wrap: wrap;
  gap: 8px;
  display: flex;
}

.portal-radio__pill {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  cursor: pointer;
  color: var(--ink-2);
  border-radius: 999px;
  padding: 10px 16px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  transition: all .12s;
}

.portal-radio__pill:hover {
  border-color: var(--border-default);
}

.portal-radio__pill--active {
  background: var(--ink-1);
  border-color: var(--ink-1);
  color: var(--ink-on-dark);
}

.portal-check-grid {
  grid-template-columns: 1fr;
  gap: 8px;
  display: grid;
}

@media (min-width: 540px) {
  .portal-check-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.portal-check {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  cursor: pointer;
  border-radius: 10px;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 500;
  transition: all .12s;
  display: flex;
}

.portal-check:hover {
  border-color: var(--border-default);
}

.portal-check__box {
  border: 1.5px solid var(--border-default);
  background: var(--bg-surface);
  width: 22px;
  height: 22px;
  color: var(--primary);
  border-radius: 6px;
  flex-shrink: 0;
  place-items: center;
  font-weight: 700;
  display: grid;
}

.portal-check--active {
  border-color: var(--primary);
  background: var(--primary-tint);
}

.portal-check--active .portal-check__box {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.portal-btn {
  cursor: pointer;
  border: 0;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all .12s;
  display: inline-flex;
}

.portal-btn--primary {
  background: var(--primary);
  color: #fff;
}

.portal-btn--primary:hover:not(:disabled) {
  background: var(--primary-hover);
}

.portal-btn--primary:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.portal-btn--ghost {
  color: var(--ink-2);
  border: 1.5px solid var(--border-subtle);
  background: none;
}

.portal-btn--ghost:hover {
  background: var(--bg-hover);
}

.portal-btn--lg {
  padding: 14px 26px;
  font-size: 15.5px;
}

.portal-btn--block {
  width: 100%;
}

.portal-btn--dark {
  background: var(--ink-1);
  color: var(--ink-on-dark);
}

.portal-btn--dark:hover:not(:disabled) {
  background: #14110d;
}

.sitemap-grid {
  grid-template-columns: 1fr;
  gap: 10px;
  display: grid;
}

@media (min-width: 600px) {
  .sitemap-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.sitemap-node {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  display: flex;
}

.sitemap-node__icon {
  background: var(--accent-tint);
  width: 32px;
  height: 32px;
  color: var(--accent);
  border-radius: 8px;
  flex-shrink: 0;
  place-items: center;
  display: grid;
}

.sitemap-node__title {
  margin: 0 0 2px;
  font-size: 14.5px;
  font-weight: 600;
}

.sitemap-node__note {
  color: var(--ink-3);
  font-size: 12.5px;
}

.device-toolbar {
  background: var(--bg-surface-2);
  border-bottom: 1px solid var(--border-subtle);
  justify-content: center;
  gap: 6px;
  padding: 10px;
  display: flex;
}

.device-toolbar__btn {
  border: 1.5px solid var(--border-subtle);
  cursor: pointer;
  color: var(--ink-2);
  background: none;
  border-radius: 8px;
  padding: 7px 14px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
}

.device-toolbar__btn--active {
  background: var(--ink-1);
  color: var(--ink-on-dark);
  border-color: var(--ink-1);
}

.device-iframe-wrap {
  background: var(--bg-app-alt);
  place-items: start center;
  min-height: 540px;
  padding: 16px;
  display: grid;
}

.device-iframe-wrap iframe {
  border: 1px solid var(--border-subtle);
  background: #fff;
  border-radius: 6px;
  transition: width .2s, height .2s;
  display: block;
}

.dropzone {
  border: 2px dashed var(--border-default);
  border-radius: var(--r-md);
  text-align: center;
  background: var(--bg-surface-2);
  cursor: pointer;
  padding: 32px 20px;
  transition: all .12s;
}

.dropzone:hover, .dropzone--over {
  background: var(--primary-tint);
  border-color: var(--primary);
}

.files-grid {
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 16px;
  display: grid;
}

.file-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: inherit;
  border-radius: 10px;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  text-decoration: none;
  display: flex;
}

.file-card__thumb {
  aspect-ratio: 1;
  background: var(--bg-surface-2);
  color: var(--ink-3);
  border-radius: 6px;
  place-items: center;
  display: grid;
  overflow: hidden;
}

.file-card__thumb img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.file-card__name {
  word-break: break-all;
  font-size: 12.5px;
  line-height: 1.3;
}

.feedback-list {
  flex-direction: column;
  gap: 10px;
  display: flex;
}

.feedback-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13.5px;
}

.feedback-item--resolved {
  opacity: .55;
}

.feedback-item__head {
  color: var(--ink-3);
  letter-spacing: .05em;
  text-transform: uppercase;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
}

.feedback-item__head svg {
  color: var(--primary);
}

.voice-rec {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  border-radius: 10px;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  display: flex;
}

.voice-rec__pulse {
  background: var(--danger);
  border-radius: 999px;
  width: 12px;
  height: 12px;
  animation: 1s infinite voice-pulse;
}

@keyframes voice-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .3;
    transform: scale(.7);
  }
}

.portal-empty {
  text-align: center;
  color: var(--ink-3);
  padding: 40px 20px;
}

.portal-empty__icon {
  background: var(--bg-surface-2);
  width: 56px;
  height: 56px;
  color: var(--ink-4);
  border-radius: 16px;
  place-items: center;
  margin: 0 auto 14px;
  display: grid;
}

/* [project]/src/app/tool.css [app-client] (css) */
.field {
  gap: var(--s-2);
  margin-bottom: var(--s-4);
  flex-direction: column;
  display: flex;
}

.field__label {
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
}

.field__hint {
  color: var(--ink-3);
  font-size: 12px;
}

.auth-wrap {
  background: var(--bg-app);
  min-height: 100dvh;
  padding: var(--s-4);
  place-items: center;
  display: grid;
}

.auth-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--r-xl);
  width: 100%;
  max-width: 380px;
  padding: var(--s-8);
  box-shadow: var(--shadow-md);
}

.auth-brand {
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-6);
  display: flex;
}

.auth-logo {
  border-radius: var(--r-md);
  background: var(--primary);
  color: #fff;
  width: 44px;
  height: 44px;
  font-family: var(--font-display);
  place-items: center;
  font-size: 24px;
  display: grid;
}

.auth-title {
  font-family: var(--font-display);
  color: var(--ink-1);
  font-size: 22px;
  line-height: 1.1;
}

.auth-sub {
  color: var(--ink-3);
  font-size: 12px;
}

.auth-error {
  background: var(--danger-tint);
  color: var(--danger);
  padding: var(--s-2) var(--s-3);
  border-radius: var(--r-sm);
  margin-bottom: var(--s-3);
  font-size: 13px;
}

.shell {
  grid-template-columns: var(--sidebar-w) 1fr;
  background: var(--bg-app);
  min-height: 100dvh;
  display: grid;
}

.shell__side {
  background: var(--bg-sidebar);
  color: var(--ink-on-dark);
  padding: var(--s-5) var(--s-3);
  flex-direction: column;
  height: 100dvh;
  display: flex;
  position: sticky;
  top: 0;
}

.shell__brand {
  align-items: center;
  gap: var(--s-3);
  padding: 0 var(--s-2) var(--s-5);
  display: flex;
}

.shell__logo {
  border-radius: var(--r-sm);
  background: var(--primary);
  color: #fff;
  width: 34px;
  height: 34px;
  font-family: var(--font-display);
  flex: none;
  place-items: center;
  font-size: 19px;
  display: grid;
}

.shell__brandtext {
  font-family: var(--font-display);
  color: var(--ink-on-dark);
  font-size: 17px;
  line-height: 1;
}

.shell__brandsub {
  color: var(--ink-on-dark-dim);
  font-size: 11px;
}

.shell__nav {
  margin-top: var(--s-2);
  flex-direction: column;
  gap: 2px;
  display: flex;
}

.shell__navitem {
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3);
  border-radius: var(--r-sm);
  color: var(--ink-on-dark-dim);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background .12s, color .12s;
  display: flex;
}

.shell__navitem:hover, .shell__navitem--active {
  background: var(--bg-sidebar-active);
  color: var(--ink-on-dark);
}

.shell__navitem svg {
  flex: none;
}

.shell__spacer {
  flex: 1;
}

.shell__user {
  border-top: 1px solid var(--border-dark);
  padding-top: var(--s-4);
  margin-top: var(--s-4);
}

.shell__username {
  color: var(--ink-on-dark);
  font-size: 13px;
  font-weight: 600;
}

.shell__userorg {
  color: var(--ink-on-dark-dim);
  font-size: 11px;
}

.shell__logout {
  margin-top: var(--s-3);
  border: 1px solid var(--border-dark);
  color: var(--ink-on-dark-dim);
  padding: var(--s-2) var(--s-3);
  border-radius: var(--r-sm);
  cursor: pointer;
  background: none;
  width: 100%;
  font-size: 12px;
}

.shell__logout:hover {
  background: var(--bg-sidebar-active);
  color: var(--ink-on-dark);
}

.shell__main {
  flex-direction: column;
  min-width: 0;
  display: flex;
}

.shell__top {
  height: var(--topbar-h);
  justify-content: space-between;
  align-items: center;
  gap: var(--s-4);
  padding: 0 var(--content-pad);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  z-index: 20;
  display: flex;
  position: sticky;
  top: 0;
}

.shell__title {
  font-family: var(--font-display);
  color: var(--ink-1);
  font-size: 22px;
}

.shell__content {
  padding: var(--content-pad);
  min-width: 0;
}

.shell__burger {
  display: none;
}

.page-head {
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--s-4);
  margin-bottom: var(--s-6);
  flex-wrap: wrap;
  display: flex;
}

.page-head__title {
  font-family: var(--font-display);
  color: var(--ink-1);
  font-size: 26px;
  line-height: 1.1;
}

.page-head__sub {
  color: var(--ink-3);
  margin-top: 4px;
  font-size: 14px;
}

.page-actions {
  gap: var(--s-2);
  flex-wrap: wrap;
  display: flex;
}

.stat-grid {
  gap: var(--s-4);
  margin-bottom: var(--s-6);
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  display: grid;
}

.stat {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: var(--s-5);
}

.stat__num {
  font-family: var(--font-display);
  color: var(--ink-1);
  font-size: 34px;
  line-height: 1;
}

.stat__label {
  color: var(--ink-3);
  margin-top: var(--s-2);
  font-size: 13px;
}

.stat__icon {
  color: var(--primary);
  margin-bottom: var(--s-3);
}

.form-grid {
  gap: var(--s-4);
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  display: grid;
}

.form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  gap: var(--s-3);
  flex-direction: column;
  transition: border-color .12s, box-shadow .12s;
  display: flex;
}

.form-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.form-card__title {
  color: var(--ink-1);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

.form-card__title:hover {
  color: var(--primary);
}

.form-card__meta {
  color: var(--ink-3);
  gap: var(--s-3);
  flex-wrap: wrap;
  align-items: center;
  font-size: 12px;
  display: flex;
}

.form-card__foot {
  justify-content: space-between;
  align-items: center;
  gap: var(--s-2);
  padding-top: var(--s-3);
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
  display: flex;
}

.form-card__actions {
  gap: 4px;
  display: flex;
}

.icon-btn {
  border: 1px solid var(--border-default);
  color: var(--ink-3);
  border-radius: var(--r-sm);
  cursor: pointer;
  background: none;
  place-items: center;
  width: 30px;
  height: 30px;
  display: grid;
}

.icon-btn:hover {
  background: var(--bg-hover);
  color: var(--ink-1);
  border-color: var(--border-strong);
}

.icon-btn--danger:hover {
  background: var(--danger-tint);
  color: var(--danger);
  border-color: var(--danger);
}

.builder {
  gap: var(--s-4);
  grid-template-columns: 240px 1fr 300px;
  align-items: start;
  display: grid;
}

.builder__palette {
  top: calc(var(--topbar-h) + var(--s-4));
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: var(--s-4);
  position: sticky;
}

.builder__palette h4 {
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--ink-4);
  margin-bottom: var(--s-3);
  font-size: 12px;
}

.palette-btn {
  align-items: center;
  gap: var(--s-3);
  text-align: left;
  border-radius: var(--r-sm);
  width: 100%;
  padding: var(--s-2) var(--s-3);
  color: var(--ink-2);
  cursor: pointer;
  background: none;
  border: 1px solid #0000;
  font-size: 13px;
  display: flex;
}

.palette-btn:hover {
  background: var(--bg-hover);
  border-color: var(--border-default);
  color: var(--ink-1);
}

.palette-btn svg {
  color: var(--primary);
  flex: none;
}

.builder__canvas {
  gap: var(--s-3);
  flex-direction: column;
  min-width: 0;
  display: flex;
}

.q-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--r-lg);
  padding: var(--s-4);
  gap: var(--s-3);
  display: flex;
}

.q-card--active {
  border-color: var(--primary);
  box-shadow: var(--shadow-focus);
}

.q-card--section {
  background: var(--bg-surface-2);
  border-style: dashed;
}

.q-card__handle {
  color: var(--ink-4);
  cursor: grab;
  flex: none;
  padding-top: 4px;
}

.q-card__body {
  flex: 1;
  min-width: 0;
}

.q-card__type {
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--primary);
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 600;
}

.q-card__label {
  color: var(--ink-1);
  font-size: 15px;
  font-weight: 600;
}

.q-card__preview {
  margin-top: var(--s-2);
}

.q-card__tools {
  flex-direction: column;
  flex: none;
  gap: 4px;
  display: flex;
}

.builder__inspector {
  top: calc(var(--topbar-h) + var(--s-4));
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: var(--s-4);
  max-height: calc(100dvh - var(--topbar-h) - var(--s-8));
  position: sticky;
  overflow-y: auto;
}

.builder__inspector h4 {
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--ink-4);
  margin-bottom: var(--s-3);
  font-size: 12px;
}

.opt-row {
  gap: var(--s-2);
  margin-bottom: var(--s-2);
  align-items: center;
  display: flex;
}

.opt-row .input {
  flex: 1;
}

.empty {
  text-align: center;
  padding: var(--s-12) var(--s-4);
  color: var(--ink-3);
  border: 1px dashed var(--border-default);
  border-radius: var(--r-lg);
  background: var(--bg-surface-2);
}

.empty__title {
  color: var(--ink-2);
  margin-bottom: var(--s-2);
  font-size: 16px;
  font-weight: 600;
}

.seg {
  background: var(--bg-app-alt);
  border: 1px solid var(--border-default);
  border-radius: var(--r-sm);
  padding: 2px;
  display: inline-flex;
}

.seg button {
  cursor: pointer;
  color: var(--ink-3);
  background: none;
  border: none;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 13px;
}

.seg button.active {
  background: var(--bg-surface);
  color: var(--ink-1);
  box-shadow: var(--shadow-xs);
  font-weight: 600;
}

.toast {
  bottom: var(--s-6);
  background: var(--ink-1);
  color: #fff;
  padding: var(--s-3) var(--s-5);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  z-index: 100;
  font-size: 14px;
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
}

.modal-overlay {
  background: var(--bg-overlay);
  z-index: 90;
  padding: var(--s-4);
  place-items: center;
  display: grid;
  position: fixed;
  inset: 0;
}

.modal {
  background: var(--bg-surface);
  border-radius: var(--r-xl);
  padding: var(--s-6);
  width: 100%;
  max-width: 460px;
  box-shadow: var(--shadow-lg);
}

.modal__title {
  font-family: var(--font-display);
  margin-bottom: var(--s-4);
  font-size: 20px;
}

.modal__foot {
  justify-content: flex-end;
  gap: var(--s-2);
  margin-top: var(--s-5);
  display: flex;
}

.answer-row {
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--border-subtle);
}

.answer-row__q {
  color: var(--ink-3);
  margin-bottom: 2px;
  font-size: 13px;
}

.answer-row__a {
  color: var(--ink-1);
  white-space: pre-wrap;
  font-size: 15px;
}

.bar {
  background: var(--bg-app-alt);
  border-radius: 3px;
  height: 6px;
  overflow: hidden;
}

.bar__fill {
  background: var(--primary);
  height: 100%;
  transition: width .3s;
}

.fill {
  background: var(--bg-app);
  flex-direction: column;
  min-height: 100dvh;
  display: flex;
}

.fill__top {
  z-index: 10;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

.fill__body {
  width: 100%;
  max-width: 640px;
  padding: var(--s-8) var(--s-5);
  flex: 1;
  margin: 0 auto;
}

.fill__intro-title {
  font-family: var(--font-display);
  color: var(--ink-1);
  font-size: clamp(28px, 6vw, 40px);
  line-height: 1.1;
}

.fill__intro-desc {
  color: var(--ink-2);
  margin: var(--s-4) 0 var(--s-6);
  font-size: 16px;
  line-height: 1.5;
}

.fill-q {
  margin-bottom: var(--s-8);
}

.fill-q__label {
  color: var(--ink-1);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

.fill-q__req {
  color: var(--primary);
}

.fill-q__desc {
  color: var(--ink-3);
  margin-top: 4px;
  font-size: 14px;
}

.fill-q__control {
  margin-top: var(--s-4);
}

.fill-section {
  font-family: var(--font-display);
  color: var(--ink-1);
  margin: var(--s-10) 0 var(--s-2);
  padding-bottom: var(--s-2);
  border-bottom: 2px solid var(--primary-tint-2);
  font-size: 24px;
}

.fill-statement {
  color: var(--ink-2);
  margin: var(--s-4) 0;
  padding: var(--s-4);
  background: var(--bg-surface-2);
  border-radius: var(--r-md);
  border-left: 3px solid var(--primary);
  font-size: 16px;
  line-height: 1.6;
}

.fill-tf {
  max-width: 640px;
  min-height: 100dvh;
  padding: var(--s-10) var(--s-5);
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  display: flex;
}

.fill-tf__num {
  color: var(--primary);
  margin-bottom: var(--s-3);
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
}

.fill-tf__label {
  font-family: var(--font-display);
  color: var(--ink-1);
  font-size: clamp(24px, 5vw, 34px);
  line-height: 1.15;
}

.fill-tf__desc {
  color: var(--ink-3);
  margin-top: var(--s-3);
  font-size: 15px;
}

.fill-tf__control {
  margin-top: var(--s-6);
}

.fill-tf__nav {
  align-items: center;
  gap: var(--s-3);
  margin-top: var(--s-8);
  display: flex;
}

.fill-tf__hint {
  color: var(--ink-4);
  font-size: 12px;
}

.fill-anim {
  animation: .35s fillIn;
}

@keyframes fillIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.choice {
  align-items: center;
  gap: var(--s-3);
  text-align: left;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-default);
  border-radius: var(--r-md);
  width: 100%;
  padding: var(--s-4);
  color: var(--ink-1);
  cursor: pointer;
  margin-bottom: var(--s-3);
  font-size: 16px;
  transition: border-color .12s, background .12s;
  display: flex;
}

.choice:hover {
  border-color: var(--primary);
}

.choice--active {
  border-color: var(--primary);
  background: var(--primary-tint);
}

.choice__key {
  border: 1px solid var(--border-strong);
  width: 26px;
  height: 26px;
  color: var(--ink-3);
  border-radius: 6px;
  flex: none;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
  display: grid;
}

.choice--active .choice__key {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.stars {
  gap: var(--s-2);
  display: flex;
}

.star {
  cursor: pointer;
  color: var(--border-strong);
  background: none;
  border: none;
  padding: 0;
}

.star--on {
  color: var(--warm-1);
}

.scale {
  gap: var(--s-2);
  flex-wrap: wrap;
  display: flex;
}

.scale__btn {
  border-radius: var(--r-sm);
  border: 1.5px solid var(--border-default);
  background: var(--bg-surface);
  width: 44px;
  height: 44px;
  color: var(--ink-2);
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
}

.scale__btn--active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.scale__labels {
  color: var(--ink-4);
  margin-top: var(--s-2);
  justify-content: space-between;
  font-size: 12px;
  display: flex;
}

.fill-done {
  text-align: center;
  min-height: 100dvh;
  padding: var(--s-6);
  place-items: center;
  display: grid;
}

.fill-done__icon {
  background: var(--success-tint);
  width: 72px;
  height: 72px;
  color: var(--success);
  margin: 0 auto var(--s-5);
  border-radius: 50%;
  place-items: center;
  display: grid;
}

.fill-done__title {
  font-family: var(--font-display);
  color: var(--ink-1);
  font-size: 32px;
}

.fill-done__msg {
  color: var(--ink-2);
  margin-top: var(--s-3);
  max-width: 420px;
  font-size: 16px;
}

.fill-brand {
  text-align: center;
  color: var(--ink-4);
  padding: var(--s-5);
  font-size: 12px;
}

.fill-brand a {
  color: var(--ink-3);
}

@media (max-width: 1080px) {
  .builder {
    grid-template-columns: 1fr;
  }

  .builder__palette, .builder__inspector {
    max-height: none;
    position: static;
  }
}

@media (max-width: 820px) {
  .shell {
    grid-template-columns: 1fr;
  }

  .shell__side {
    z-index: 50;
    width: var(--sidebar-w);
    transition: transform .2s;
    position: fixed;
    transform: translateX(-100%);
  }

  .shell__side--open {
    transform: none;
  }

  .shell__main {
    width: 100%;
  }

  .shell__burger {
    display: grid;
  }
}

/*# sourceMappingURL=src_app_0fksc55._.css.map*/