:root {
  --bg: #050917;
  --bg-deep: #02050d;
  --panel: rgba(9, 14, 29, 0.9);
  --panel-solid: #0a0f20;
  --panel-raised: #11172b;
  --panel-soft: rgba(255, 255, 255, 0.035);
  --ink: rgba(247, 249, 255, 0.98);
  --muted: rgba(220, 227, 249, 0.67);
  --faint: rgba(218, 225, 249, 0.42);
  --line: rgba(235, 240, 255, 0.14);
  --line-strong: rgba(235, 240, 255, 0.25);
  --accent: #ad91ff;
  --accent-bright: #cbbdff;
  --accent-soft: rgba(173, 145, 255, 0.16);
  --danger: #ff746b;
  --success: #b8f56d;
  --radius: 20px;
  --radius-small: 10px;
  --font: "Avenir Next", "Helvetica Neue", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Iowan Old Style", Baskerville, "Times New Roman", serif;
  --ease: cubic-bezier(0.2, 0.82, 0.22, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  height: 100%;
  background: var(--bg-deep);
  color: var(--ink);
}

body {
  width: 100%;
  min-width: 320px;
  height: 100svh;
  margin: 0;
  display: grid;
  grid-template-rows: 64px minmax(0, 1fr) 32px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(2, 5, 14, 0.3), rgba(2, 5, 14, 0.76)),
    radial-gradient(circle at 74% 18%, rgba(114, 96, 210, 0.13), transparent 34%),
    url("assets/caslavinieri-lite-bg.jpg") center center / cover fixed no-repeat;
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body *::selection {
  background: var(--accent);
  color: var(--bg-deep);
}

[hidden] {
  display: none !important;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-underline-offset: 0.25em;
}

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

button,
label,
select {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

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

.skip-link {
  position: fixed;
  z-index: 200;
  top: 10px;
  left: 14px;
  padding: 10px 14px;
  transform: translateY(-170%);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--panel-solid);
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.skip-link:focus {
  transform: none;
}

/* Header mirrors the quiet navigation language of caslavinieri.com. */
.site-header {
  position: relative;
  z-index: 40;
  min-width: 0;
  height: 58px;
  padding: 0 clamp(18px, 3vw, 48px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid rgba(235, 240, 255, 0.11);
  background: rgba(5, 8, 20, 0.68);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
}

.brand {
  justify-self: start;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  filter: invert(1) brightness(1.45) saturate(0);
  opacity: 0.94;
}

.brand > span {
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-transform: uppercase;
}

.brand strong {
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.19em;
}

.brand small {
  margin-top: 3px;
  color: var(--faint);
  font-size: 7px;
  font-weight: 650;
  letter-spacing: 0.23em;
}

.product-name {
  justify-self: center;
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 8px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.product-name strong {
  color: var(--accent-bright);
  font-size: 10px;
}

.product-name span {
  color: var(--muted);
}

.header-nav {
  justify-self: end;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
}

.header-nav a {
  color: rgba(226, 232, 252, 0.68);
  font-size: 8px;
  font-weight: 680;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease;
  white-space: nowrap;
}

.header-nav a:hover {
  color: var(--ink);
}

.brief-main {
  min-width: 0;
  min-height: 0;
  padding: clamp(10px, 1.8vh, 18px) clamp(10px, 2vw, 28px);
  display: grid;
  place-items: center;
}

.brief-workspace {
  position: relative;
  width: min(1280px, 100%);
  height: min(790px, 100%);
  min-height: 520px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(140deg, rgba(17, 22, 43, 0.83), rgba(7, 10, 23, 0.97)),
    var(--panel-solid);
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.43),
    0 1px 0 rgba(255, 255, 255, 0.055) inset;
  isolation: isolate;
}

.brief-workspace::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(circle at 12% 0%, rgba(170, 140, 255, 0.07), transparent 26%);
  pointer-events: none;
}

.workspace-mast {
  flex: 0 0 48px;
  min-width: 0;
  padding: 0 clamp(18px, 2.3vw, 34px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 8, 18, 0.48);
}

.step-eyebrow,
.text-button,
.trace-trigger,
.progress-shell,
.entry-visual-copy > span,
.entry-panel-head > span,
.entry-visual-meta,
.route-time,
.section-label,
.field-label,
.form-section > legend,
.optional,
.character-count,
.dialog-kicker {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.step-eyebrow {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: var(--faint);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.workspace-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.text-button {
  padding: 5px 0;
  border-bottom: 1px solid var(--line-strong);
  background: none;
  color: var(--muted);
  cursor: pointer;
}

.text-button:hover {
  color: var(--ink);
}

.trace-trigger {
  min-height: 30px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.trace-trigger strong {
  color: var(--accent-bright);
  font-size: 7px;
  letter-spacing: 0.1em;
}

.trace-trigger:hover {
  border-color: rgba(198, 181, 255, 0.45);
  background: var(--accent-soft);
  color: var(--ink);
}

/* Numeric progress: no ring and no progress bar. */
.progress-shell {
  flex: 0 0 70px;
  min-width: 0;
  display: grid;
  grid-template-columns: 112px minmax(160px, 0.46fr) minmax(360px, 1fr);
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 8, 18, 0.32);
}

.progress-number {
  height: 100%;
  padding: 0 22px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  border-right: 1px solid var(--line);
}

.progress-number strong {
  color: var(--ink);
  font-size: 26px;
  font-variant-numeric: tabular-nums;
  font-weight: 530;
  letter-spacing: -0.055em;
}

.progress-number span {
  color: var(--faint);
  font-size: 7px;
  letter-spacing: 0.08em;
}

.progress-copy {
  min-width: 0;
  height: 100%;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  border-right: 1px solid var(--line);
}

#progressText {
  color: var(--ink);
}

#draftStatus {
  overflow: hidden;
  color: var(--faint);
  font-size: 7px;
  letter-spacing: 0.06em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chapter-index {
  min-width: 0;
  height: 100%;
  margin: 0;
  padding: 0 clamp(22px, 3vw, 48px);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  gap: 18px;
  list-style: none;
}

.chapter-index li {
  position: relative;
  color: rgba(218, 225, 249, 0.28);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.chapter-index li.is-past {
  color: rgba(226, 232, 252, 0.63);
}

.chapter-index li.is-current {
  color: var(--accent-bright);
}

#briefForm {
  position: relative;
  min-width: 0;
  min-height: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

#stepContent {
  min-width: 0;
  min-height: 0;
  flex: 1 1 auto;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(198, 181, 255, 0.4) transparent;
}

#stepContent::-webkit-scrollbar,
.trace-content::-webkit-scrollbar {
  width: 6px;
}

#stepContent::-webkit-scrollbar-thumb,
.trace-content::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(198, 181, 255, 0.36);
}

.website-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Compact single-screen entry. */
.entry-stage {
  width: 100%;
  min-height: 100%;
  display: grid;
  grid-template-columns: minmax(380px, 0.87fr) minmax(560px, 1.13fr);
}

.entry-visual {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background:
    radial-gradient(circle at 58% 62%, rgba(81, 72, 155, 0.2), transparent 33%),
    linear-gradient(160deg, #0b1026, #050817 72%);
}

.entry-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 8, 23, 0.86) 0%, rgba(5, 8, 23, 0.34) 56%, rgba(5, 8, 23, 0.62) 100%),
    linear-gradient(180deg, rgba(5, 8, 23, 0.12), rgba(5, 8, 23, 0.85));
  pointer-events: none;
}

.entry-visual > img {
  position: absolute;
  z-index: 0;
  right: 3%;
  bottom: -38%;
  width: min(60%, 340px);
  height: auto;
  opacity: 0.96;
  filter: saturate(0.7) contrast(1.05);
}

.entry-visual-copy {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: clamp(34px, 5vh, 60px) clamp(30px, 4vw, 58px) 82px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.entry-visual-copy > span,
.entry-panel-head > span {
  color: var(--accent-bright);
}

.entry-visual-copy h1 {
  max-width: 9.5ch;
  margin: 28px 0 22px;
  color: var(--ink);
  font-size: clamp(40px, 4.6vw, 67px);
  font-weight: 525;
  letter-spacing: -0.06em;
  line-height: 0.95;
  text-wrap: balance;
  text-shadow: 0 14px 42px rgba(0, 0, 0, 0.34);
}

.entry-visual-copy h1 em {
  color: var(--accent-bright);
  font-family: var(--serif);
  font-size: 0.96em;
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.9;
}

.entry-visual-copy h1:focus,
.step-header h1:focus,
.success-card h1:focus,
.blueprint-panel:focus {
  outline: 0;
}

.entry-visual-copy p {
  max-width: 45ch;
  margin: 0;
  color: var(--muted);
  font-size: clamp(13px, 1.15vw, 15px);
  line-height: 1.62;
}

.entry-visual-meta {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  min-height: 54px;
  padding: 0 clamp(24px, 3vw, 48px);
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  border-top: 1px solid var(--line);
  background: rgba(4, 6, 16, 0.52);
  color: var(--faint);
}

.entry-panel {
  min-width: 0;
  min-height: 0;
  padding: clamp(28px, 4.5vh, 48px) clamp(32px, 4vw, 62px) 24px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(150deg, rgba(18, 23, 43, 0.62), rgba(9, 12, 25, 0.72));
}

.entry-panel-head {
  flex: 0 0 auto;
  margin-bottom: clamp(20px, 3vh, 30px);
}

.entry-panel-head h2 {
  max-width: 680px;
  margin: 12px 0 10px;
  color: var(--ink);
  font-size: clamp(25px, 2.6vw, 38px);
  font-weight: 520;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.entry-panel-head p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.route-list {
  min-height: 0;
  display: grid;
  grid-template-rows: repeat(3, minmax(82px, 1fr));
  border-top: 1px solid var(--line-strong);
}

.route-row {
  width: 100%;
  min-width: 0;
  padding: 15px 10px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: background 170ms ease, padding 170ms var(--ease);
}

.route-row:hover,
.route-row:focus-visible {
  padding-inline: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.route-row.is-recommended {
  background: linear-gradient(90deg, rgba(170, 140, 255, 0.1), rgba(170, 140, 255, 0.025));
}

.route-row.is-recommended:hover,
.route-row.is-recommended:focus-visible {
  background: rgba(170, 140, 255, 0.16);
}

.route-index {
  color: var(--accent-bright);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  font-weight: 720;
  letter-spacing: 0.1em;
}

.route-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.route-copy strong {
  overflow: hidden;
  font-size: clamp(15px, 1.5vw, 20px);
  font-weight: 560;
  letter-spacing: -0.025em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.route-copy small {
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.route-time {
  color: var(--faint);
  white-space: nowrap;
}

.entry-panel-foot {
  flex: 0 0 auto;
  min-height: 48px;
  padding-top: 15px;
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--faint);
  font-size: 8px;
}

.entry-panel-foot p {
  flex: 1 1 auto;
  margin: 0;
}

.entry-panel-foot a {
  flex: 0 0 auto;
  color: var(--faint);
  text-decoration: none;
}

.entry-panel-foot a:hover {
  color: var(--ink);
}

/* Question scene: context on the left, answers on the right. */
body:not([data-step="entry"]) #stepContent {
  display: grid;
  grid-template-columns: minmax(280px, 0.74fr) minmax(520px, 1.26fr);
  grid-auto-rows: max-content;
  align-content: safe center;
  align-items: start;
  gap: clamp(34px, 5vw, 82px);
  padding: clamp(28px, 4vh, 46px) clamp(30px, 4vw, 64px);
}

.step-header {
  position: sticky;
  top: 0;
  align-self: start;
  min-width: 0;
  padding-right: clamp(10px, 2vw, 28px);
}

.step-header .section-label {
  display: block;
  margin-bottom: clamp(24px, 4vh, 44px);
  color: var(--accent-bright);
}

.step-header h1 {
  max-width: 10.5ch;
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 3.7vw, 54px);
  font-weight: 520;
  letter-spacing: -0.058em;
  line-height: 0.98;
  text-wrap: balance;
}

.step-header h1 em {
  color: var(--accent-bright);
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.035em;
}

.step-header > p {
  max-width: 38ch;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.62;
}

.step-header > small {
  max-width: 42ch;
  margin-top: 18px;
  padding: 12px 14px;
  display: block;
  border-left: 2px solid rgba(170, 140, 255, 0.62);
  background: rgba(170, 140, 255, 0.055);
  color: var(--faint);
  font-size: 9px;
  line-height: 1.55;
}

.form-stack {
  min-width: 0;
  display: grid;
  gap: 28px;
}

.form-section,
.field-wrap {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.form-section > legend,
.field-label {
  width: 100%;
  margin-bottom: 11px;
  display: block;
  color: rgba(229, 234, 252, 0.76);
}

.optional {
  color: var(--faint);
  font-size: 7px;
  font-weight: 600;
}

.choice-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

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

.choice-card {
  position: relative;
  min-width: 0;
  min-height: 52px;
  padding: 11px 40px 11px 13px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: rgba(255, 255, 255, 0.025);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease, transform 150ms var(--ease);
}

.choice-card:hover {
  border-color: rgba(198, 181, 255, 0.36);
  background: rgba(170, 140, 255, 0.07);
}

.choice-card:has(input:checked) {
  border-color: rgba(198, 181, 255, 0.62);
  background: rgba(170, 140, 255, 0.15);
  box-shadow: 0 0 0 1px rgba(170, 140, 255, 0.08) inset;
}

.choice-card input,
.signal-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.choice-card:has(input:focus-visible),
.signal-card:has(input:focus-visible),
.drop-zone:has(input:focus-visible) {
  outline: 2px solid var(--accent-bright);
  outline-offset: 2px;
}

.choice-indicator {
  position: absolute;
  top: 50%;
  right: 13px;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  border: 1px solid rgba(226, 232, 252, 0.48);
  border-radius: 3px;
}

.is-radio .choice-indicator {
  border-radius: 50%;
}

.choice-card:has(input:checked) .choice-indicator {
  border-color: var(--accent-bright);
  background: var(--accent-bright);
  box-shadow: 0 0 0 3px rgba(170, 140, 255, 0.11);
}

.is-radio:has(input:checked) .choice-indicator {
  box-shadow: 0 0 0 3px rgba(170, 140, 255, 0.11), 0 0 0 4px var(--panel-solid) inset;
}

.choice-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.choice-copy strong {
  min-width: 0;
  color: rgba(244, 247, 255, 0.92);
  font-size: 11px;
  font-weight: 590;
  line-height: 1.35;
}

.choice-copy small {
  color: var(--faint);
  font-size: 8px;
  line-height: 1.4;
}

.project-type-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-type-card {
  min-height: 72px;
  padding-left: 55px;
}

.project-code {
  position: absolute;
  left: 13px;
  width: 30px;
  color: var(--accent-bright);
  font-family: var(--serif);
  font-size: 11px;
  font-style: italic;
}

.project-type-card .choice-copy strong {
  font-size: 12px;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.signal-card {
  position: relative;
  min-height: 48px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  cursor: pointer;
  text-align: center;
}

.signal-card:has(input:checked) {
  border-color: rgba(198, 181, 255, 0.58);
  background: var(--accent-soft);
  color: var(--ink);
}

.signal-card span {
  font-size: 9px;
  font-weight: 580;
}

.field-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 14px;
}

.span-two {
  grid-column: 1 / -1;
}

.text-field,
.select-field {
  width: 100%;
  min-height: 45px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  outline: 0;
  background: rgba(3, 6, 16, 0.5);
  color: var(--ink);
  font-size: 12px;
  transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

textarea.text-field {
  min-height: 112px;
  resize: vertical;
  line-height: 1.55;
}

.text-field::placeholder {
  color: rgba(218, 225, 249, 0.3);
}

.text-field:focus,
.select-field:focus {
  border-color: rgba(198, 181, 255, 0.62);
  background: rgba(8, 11, 25, 0.82);
  box-shadow: 0 0 0 3px rgba(170, 140, 255, 0.08);
}

.text-field[aria-invalid="true"],
.select-field[aria-invalid="true"] {
  border-color: var(--danger);
}

.character-count {
  margin-top: 6px;
  display: block;
  color: var(--faint);
  font-size: 7px;
  text-align: right;
}

.drop-zone {
  min-height: 118px;
  padding: 18px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(198, 181, 255, 0.34);
  border-radius: var(--radius-small);
  background: rgba(170, 140, 255, 0.035);
  cursor: pointer;
  text-align: center;
  transition: border-color 150ms ease, background 150ms ease;
}

.drop-zone:hover,
.drop-zone.is-dragging {
  border-color: rgba(198, 181, 255, 0.72);
  background: rgba(170, 140, 255, 0.1);
}

.drop-zone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.drop-zone-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.drop-zone-copy strong {
  font-size: 12px;
  font-weight: 600;
}

.drop-zone-copy > span:last-child {
  color: var(--faint);
  font-size: 8px;
}

.drop-zone-icon {
  display: none;
}

.file-list {
  margin-top: 7px;
}

.file-item {
  min-height: 38px;
  padding: 0 9px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 9px;
}

.file-type {
  color: var(--accent-bright);
  font-size: 7px;
  font-weight: 700;
  text-transform: uppercase;
}

.file-name {
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-remove,
.review-edit {
  padding: 4px 0;
  border-bottom: 1px solid var(--line-strong);
  background: none;
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
}

.inline-note,
.preview-note {
  margin: 0;
  padding: 12px 14px;
  border-left: 2px solid rgba(170, 140, 255, 0.68);
  background: rgba(170, 140, 255, 0.055);
  color: var(--muted);
  font-size: 9px;
  line-height: 1.55;
}

.error-summary {
  position: absolute;
  z-index: 18;
  top: 10px;
  left: 50%;
  width: min(720px, calc(100% - 32px));
  padding: 12px 16px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 116, 107, 0.68);
  border-radius: var(--radius-small);
  background: rgba(45, 13, 19, 0.97);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.38);
  color: #ffd2ce;
  font-size: 10px;
}

.error-summary strong {
  margin-right: 8px;
  text-transform: uppercase;
}

.resume-draft {
  position: absolute;
  z-index: 16;
  top: 12px;
  right: 16px;
  left: 16px;
  min-height: 58px;
  padding: 10px 12px 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(198, 181, 255, 0.4);
  border-radius: 12px;
  background: rgba(15, 19, 38, 0.97);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.42);
}

.resume-draft > div:first-child span {
  color: var(--accent-bright);
  font-size: 8px;
  font-weight: 720;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.resume-draft p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 9px;
}

.resume-draft > div:last-child {
  flex: 0 0 auto;
  display: flex;
  gap: 7px;
}

.button {
  min-height: 38px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  font-size: 8px;
  font-weight: 720;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 150ms var(--ease), border-color 150ms ease, background 150ms ease;
}

.button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.button-primary {
  border-color: rgba(198, 181, 255, 0.55);
  background: linear-gradient(135deg, rgba(170, 140, 255, 0.36), rgba(118, 88, 210, 0.26));
  box-shadow: 0 8px 22px rgba(75, 48, 165, 0.14);
}

.button-primary:hover:not(:disabled) {
  border-color: rgba(211, 200, 255, 0.76);
  background: linear-gradient(135deg, rgba(181, 156, 255, 0.45), rgba(132, 98, 229, 0.34));
}

.button-ghost {
  background: rgba(255, 255, 255, 0.025);
}

.button-danger {
  border-color: rgba(255, 116, 107, 0.58);
  background: rgba(255, 116, 107, 0.13);
}

.button:disabled {
  cursor: wait;
  opacity: 0.46;
}

.form-navigation {
  flex: 0 0 58px;
  padding: 0 clamp(18px, 2.4vw, 34px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--line);
  background: rgba(5, 8, 18, 0.66);
}

.form-navigation .button:first-child {
  justify-self: start;
}

.form-navigation .button:last-child {
  min-width: 128px;
  justify-self: end;
}

.keyboard-hint {
  margin: 0;
  color: var(--faint);
  font-size: 8px;
}

kbd {
  padding: 3px 6px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font: inherit;
}

/* Review remains compact and scrolls inside the application shell. */
.review-shell {
  min-width: 0;
  display: grid;
  gap: 10px;
}

.review-section {
  min-width: 0;
  padding: 14px;
  display: grid;
  grid-template-columns: minmax(120px, 0.3fr) 1fr;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: rgba(255, 255, 255, 0.022);
}

.review-heading h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}

.review-data {
  margin: 0;
}

.review-data > div {
  display: grid;
  grid-template-columns: minmax(90px, 0.28fr) 1fr;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(235, 240, 255, 0.08);
}

.review-data > div:last-child {
  border-bottom: 0;
}

.review-data dt {
  color: var(--faint);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.review-data dd {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  white-space: pre-line;
}

.consent-box {
  position: relative;
  padding: 14px 16px 14px 47px;
  display: block;
  border: 1px solid rgba(198, 181, 255, 0.34);
  border-radius: var(--radius-small);
  background: rgba(170, 140, 255, 0.06);
  color: var(--muted);
  cursor: pointer;
  font-size: 9px;
  line-height: 1.55;
}

.consent-box input {
  position: absolute;
  top: 14px;
  left: 15px;
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.consent-box a {
  color: var(--ink);
}

.success-card {
  grid-column: 1 / -1;
  min-height: 100%;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.success-card .section-label {
  color: var(--accent-bright);
}

.success-card h1 {
  margin: 18px 0 12px;
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 520;
  letter-spacing: -0.065em;
  line-height: 0.95;
}

.success-card > p {
  max-width: 58ch;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.success-orbit {
  display: none;
}

.success-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

/* Centered Project Trace. Media stay rectangular and untransformed. */
.blueprint-backdrop {
  position: fixed;
  z-index: 79;
  inset: 0;
  background: rgba(2, 4, 12, 0.76);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}

.blueprint-panel {
  position: fixed;
  z-index: 80;
  top: 50%;
  left: 50%;
  width: min(1160px, calc(100% - 34px));
  height: min(720px, calc(100svh - 34px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translate(-50%, -47%) scale(0.985);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(8, 11, 23, 0.985);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.64);
  opacity: 0;
  visibility: hidden;
  transition: transform 280ms var(--ease), opacity 220ms ease, visibility 0s linear 280ms;
}

.blueprint-panel.is-open {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.trace-topline {
  flex: 0 0 56px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.trace-topline > div {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.trace-topline strong {
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.trace-topline span {
  color: var(--faint);
  font-size: 8px;
}

.blueprint-close {
  padding: 6px 0;
  border-bottom: 1px solid var(--line-strong);
  background: none;
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.blueprint-close:hover {
  color: var(--ink);
}

.trace-layout {
  min-width: 0;
  min-height: 0;
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(500px, 1.28fr);
}

.blueprint-visual {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background: #080c1c;
}

.blueprint-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(4, 6, 16, 0.82));
}

.blueprint-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.76) contrast(1.04);
}

.blueprint-panel[data-visual="default"] .blueprint-visual img {
  object-fit: contain;
  object-position: center bottom;
  background: radial-gradient(circle at 50% 65%, rgba(83, 68, 160, 0.22), transparent 33%);
}

.blueprint-visual-meta {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 19px;
  left: 20px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  color: rgba(239, 243, 255, 0.82);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.blueprint-visual-meta small {
  color: var(--faint);
  font-size: 7px;
}

.trace-content {
  min-width: 0;
  min-height: 0;
  padding: 30px clamp(26px, 3vw, 44px);
  overflow: auto;
}

.blueprint-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.blueprint-heading p,
.readiness-ring span,
.blueprint-missing > span,
.blueprint-output > span {
  margin: 0 0 8px;
  display: block;
  color: var(--faint);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.blueprint-heading h2 {
  max-width: 680px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 520;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.readiness-ring {
  min-width: 120px;
  text-align: right;
}

.readiness-ring strong {
  color: var(--accent-bright);
  font-size: 11px;
  letter-spacing: 0.05em;
}

.blueprint-status {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.blueprint-status p {
  max-width: 66ch;
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.blueprint-data {
  margin: 0;
}

.blueprint-data > div {
  display: grid;
  grid-template-columns: minmax(86px, 0.26fr) 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(235, 240, 255, 0.09);
}

.blueprint-data dt {
  color: var(--faint);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blueprint-data dd {
  margin: 0;
  color: rgba(239, 243, 255, 0.84);
  font-size: 10px;
}

.blueprint-missing {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.blueprint-missing ul {
  margin: 0;
  padding-left: 17px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 20px;
  color: var(--muted);
}

.blueprint-missing li {
  padding-left: 2px;
  font-size: 9px;
}

.blueprint-missing li::marker {
  color: var(--accent-bright);
}

.blueprint-output {
  padding: 20px 0 0;
}

.blueprint-output p {
  margin: 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
}

.blueprint-footer {
  flex: 0 0 50px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  background: rgba(170, 140, 255, 0.06);
  color: var(--faint);
  font-size: 8px;
}

.blueprint-footer p {
  margin: 0;
}

.blueprint-footer a {
  color: var(--accent-bright);
  font-weight: 650;
}

.site-footer {
  min-width: 0;
  height: 30px;
  padding: 0 clamp(18px, 3vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(235, 240, 255, 0.08);
  background: rgba(3, 5, 14, 0.64);
  color: rgba(218, 225, 249, 0.32);
}

.site-footer p {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  font-size: 7px;
  letter-spacing: 0.07em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-footer nav {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-footer a,
.site-footer button {
  padding: 0;
  border: 0;
  background: none;
  color: rgba(218, 225, 249, 0.38);
  font-size: 7px;
  text-decoration: none;
  cursor: pointer;
}

.site-footer a:hover,
.site-footer button:hover {
  color: var(--muted);
}

.privacy-notice {
  position: fixed;
  z-index: 95;
  right: 18px;
  bottom: 44px;
  width: min(470px, calc(100% - 36px));
  padding: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(12, 16, 32, 0.97);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.54);
  backdrop-filter: blur(14px);
}

.privacy-notice p {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}

.privacy-notice p strong {
  margin-bottom: 2px;
  display: block;
  color: var(--ink);
  font-size: 9px;
  text-transform: uppercase;
}

.privacy-notice > div {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.privacy-link {
  padding: 5px 0;
  border-bottom: 1px solid var(--line-strong);
  background: none;
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
}

dialog {
  border: 0;
}

dialog::backdrop {
  background: rgba(2, 4, 12, 0.78);
  backdrop-filter: blur(7px);
}

.privacy-center,
.confirm-dialog {
  width: min(630px, calc(100% - 28px));
  max-height: calc(100svh - 28px);
  padding: 0;
  overflow: auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #0c1020;
  color: var(--ink);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.64);
}

.privacy-center form,
.confirm-dialog form {
  padding: clamp(24px, 4vw, 42px);
}

.privacy-center-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line);
  color: var(--faint);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.privacy-center-head button {
  padding: 5px 0;
  border-bottom: 1px solid var(--line-strong);
  background: none;
  color: var(--muted);
  font-size: 8px;
  cursor: pointer;
  text-transform: uppercase;
}

.privacy-center h2,
.confirm-dialog h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 520;
  letter-spacing: -0.055em;
  line-height: 1;
}

.privacy-center > form > p,
.confirm-dialog p {
  color: var(--muted);
  font-size: 10px;
}

.privacy-setting {
  min-height: 72px;
  padding: 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-top: 1px solid var(--line);
  cursor: pointer;
}

.privacy-setting > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.privacy-setting strong {
  font-size: 11px;
  font-weight: 600;
}

.privacy-setting small {
  color: var(--faint);
  font-size: 8px;
}

.privacy-setting > span {
  color: var(--faint);
  font-size: 7px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.privacy-setting input {
  width: 44px;
  height: 24px;
  accent-color: var(--accent);
}

.privacy-center-actions,
.confirm-dialog form > div:last-child {
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.privacy-legal-links {
  margin-top: 22px !important;
  color: var(--faint) !important;
  text-align: center;
}

.noscript-card {
  margin: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
}

/* Brief Studio 3.0 -------------------------------------------------------
   A compact glass workspace laid over the Caslavinieri LITE landscape. */

.site-header {
  height: 64px;
  padding-inline: clamp(22px, 3.2vw, 58px);
  border-bottom-color: rgba(240, 244, 255, 0.13);
  background: linear-gradient(180deg, rgba(3, 6, 17, 0.88), rgba(3, 6, 17, 0.64));
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(22px) saturate(125%);
  -webkit-backdrop-filter: blur(22px) saturate(125%);
}

.brand {
  gap: 11px;
}

.brand img {
  width: 40px;
  height: 40px;
}

.brand strong {
  font-size: 10px;
  letter-spacing: 0.22em;
}

.product-name {
  gap: 10px;
}

.product-name strong {
  color: #d5caff;
}

.header-nav a {
  color: rgba(235, 239, 255, 0.72);
}

.brief-main {
  padding: clamp(10px, 1.7vh, 18px) clamp(12px, 2.2vw, 30px);
}

.brief-workspace {
  width: min(1240px, 100%);
  height: min(760px, 100%);
  min-height: 530px;
  border-color: rgba(234, 239, 255, 0.21);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(13, 18, 37, 0.82), rgba(4, 8, 20, 0.93)),
    rgba(7, 11, 24, 0.86);
  box-shadow:
    0 38px 100px rgba(0, 0, 0, 0.48),
    0 1px 0 rgba(255, 255, 255, 0.075) inset,
    0 0 0 1px rgba(3, 6, 15, 0.2);
  backdrop-filter: blur(24px) saturate(112%);
  -webkit-backdrop-filter: blur(24px) saturate(112%);
}

.brief-workspace::before {
  background:
    radial-gradient(circle at 6% 0%, rgba(190, 173, 255, 0.12), transparent 28%),
    linear-gradient(115deg, rgba(255, 255, 255, 0.018), transparent 42%);
}

.workspace-mast {
  flex-basis: 54px;
  padding-inline: clamp(20px, 2.5vw, 36px);
  background: rgba(3, 6, 16, 0.44);
}

.step-eyebrow {
  color: rgba(224, 230, 250, 0.55);
  letter-spacing: 0.17em;
}

.workspace-actions {
  gap: 14px;
}

.text-button {
  border-bottom-color: rgba(235, 240, 255, 0.24);
}

.trace-trigger {
  min-height: 32px;
  padding-inline: 13px;
  gap: 11px;
  border-color: rgba(235, 240, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.trace-trigger strong {
  color: #d3c7ff;
}

.progress-shell {
  flex-basis: 76px;
  grid-template-columns: 150px minmax(190px, 0.42fr) minmax(430px, 1fr);
  background: rgba(3, 6, 16, 0.48);
}

.progress-number {
  padding-inline: 24px;
  justify-content: flex-start;
  gap: 8px;
}

.progress-number strong {
  font-size: 33px;
  font-weight: 520;
}

.progress-number span {
  color: rgba(220, 227, 249, 0.46);
}

.progress-copy {
  padding-inline: 24px;
}

#progressText {
  font-size: 8px;
  letter-spacing: 0.12em;
}

.chapter-index {
  padding-inline: clamp(18px, 2.4vw, 34px);
  gap: 5px;
}

.chapter-index li {
  min-height: 32px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  color: rgba(224, 230, 250, 0.3);
  text-align: center;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.chapter-index li.is-past {
  color: rgba(232, 236, 252, 0.62);
}

.chapter-index li.is-current {
  border-color: rgba(203, 189, 255, 0.28);
  background: rgba(173, 145, 255, 0.1);
  color: #d3c7ff;
}

#stepContent {
  scrollbar-color: rgba(203, 189, 255, 0.5) transparent;
}

.entry-stage {
  grid-template-columns: minmax(400px, 0.9fr) minmax(560px, 1.1fr);
}

.entry-visual {
  border-right-color: rgba(235, 240, 255, 0.13);
  background:
    linear-gradient(110deg, rgba(4, 8, 19, 0.86), rgba(7, 11, 24, 0.42)),
    radial-gradient(circle at 85% 70%, rgba(184, 164, 255, 0.12), transparent 34%);
}

.entry-visual::after {
  background:
    linear-gradient(90deg, rgba(4, 7, 18, 0.6), rgba(4, 7, 18, 0.08) 72%),
    linear-gradient(180deg, transparent 45%, rgba(3, 6, 16, 0.56));
}

.entry-visual > img {
  display: none;
}

.entry-visual-copy {
  padding: clamp(36px, 5.5vh, 66px) clamp(34px, 4.4vw, 62px) 82px;
  justify-content: center;
}

.entry-visual-copy > span,
.entry-panel-head > span {
  color: #cec1ff;
  letter-spacing: 0.17em;
}

.entry-visual-copy h1 {
  max-width: 9ch;
  margin: 25px 0 22px;
  font-size: clamp(42px, 4.45vw, 65px);
  font-weight: 520;
  line-height: 0.94;
}

.entry-visual-copy h1 em,
.step-header h1 em {
  color: #c8b8ff;
}

.entry-visual-copy p {
  max-width: 43ch;
  color: rgba(226, 232, 251, 0.72);
  font-size: 13px;
}

.entry-visual-meta {
  min-height: 56px;
  border-top-color: rgba(235, 240, 255, 0.12);
  background: rgba(3, 6, 15, 0.34);
  color: rgba(222, 228, 248, 0.52);
}

.entry-panel {
  padding: clamp(30px, 4.6vh, 50px) clamp(34px, 4vw, 58px) 24px;
  background: linear-gradient(145deg, rgba(14, 19, 38, 0.82), rgba(7, 11, 24, 0.72));
}

.entry-panel-head {
  margin-bottom: clamp(18px, 2.7vh, 26px);
}

.entry-panel-head h2 {
  margin-block: 12px 9px;
  font-size: clamp(27px, 2.45vw, 36px);
  line-height: 1.02;
}

.entry-panel-head p {
  color: rgba(222, 228, 248, 0.62);
}

.route-list {
  gap: 8px;
  border-top: 0;
}

.route-row {
  min-height: 78px;
  padding: 13px 15px;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 14px;
  border: 1px solid rgba(235, 240, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 170ms ease, background 170ms ease, box-shadow 170ms ease;
}

.route-row:hover,
.route-row:focus-visible {
  padding-inline: 15px;
  border-color: rgba(203, 189, 255, 0.46);
  background: rgba(173, 145, 255, 0.09);
  box-shadow: 0 12px 30px rgba(2, 4, 12, 0.22);
}

.route-row.is-recommended {
  border-color: rgba(203, 189, 255, 0.34);
  background: linear-gradient(90deg, rgba(173, 145, 255, 0.14), rgba(173, 145, 255, 0.04));
}

.route-row.is-recommended:hover,
.route-row.is-recommended:focus-visible {
  background: rgba(173, 145, 255, 0.17);
}

.route-index {
  color: #d2c5ff;
}

.route-copy strong {
  font-size: clamp(15px, 1.35vw, 18px);
}

.route-copy small {
  color: rgba(220, 227, 249, 0.58);
  font-size: 9px;
}

.entry-panel-foot {
  color: rgba(218, 225, 249, 0.46);
}

body:not([data-step="entry"]) #stepContent {
  grid-template-columns: minmax(250px, 0.55fr) minmax(570px, 1.45fr);
  gap: clamp(38px, 4.6vw, 66px);
  padding: clamp(30px, 4vh, 46px) clamp(32px, 4.2vw, 58px);
}

.step-header {
  padding: 6px clamp(8px, 1.8vw, 24px) 6px 0;
}

.step-header .section-label {
  margin-bottom: clamp(22px, 3.6vh, 38px);
  color: #cbbdff;
  letter-spacing: 0.17em;
}

.step-header h1 {
  max-width: 9.5ch;
  font-size: clamp(38px, 3.55vw, 53px);
  line-height: 0.96;
}

.step-header > p {
  margin-top: 20px;
  color: rgba(224, 230, 249, 0.68);
}

.step-header > small {
  margin-top: 16px;
  padding: 11px 13px;
  border-left-color: rgba(203, 189, 255, 0.68);
  background: rgba(173, 145, 255, 0.07);
  color: rgba(220, 227, 249, 0.55);
}

#stepContent > .form-stack,
#stepContent > .form-section {
  padding: clamp(19px, 2.4vw, 27px);
  border: 1px solid rgba(235, 240, 255, 0.14);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(17, 22, 42, 0.72), rgba(8, 12, 26, 0.68));
  box-shadow: 0 18px 48px rgba(1, 3, 10, 0.2);
}

.form-stack {
  gap: 25px;
}

.form-section > legend,
.field-label {
  margin-bottom: 10px;
  color: rgba(236, 240, 253, 0.8);
  letter-spacing: 0.14em;
}

.choice-grid {
  gap: 8px;
}

.choice-card {
  min-height: 55px;
  padding: 12px 42px 12px 14px;
  border-color: rgba(235, 240, 255, 0.14);
  background: rgba(255, 255, 255, 0.026);
  transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.choice-card:hover {
  border-color: rgba(203, 189, 255, 0.42);
  background: rgba(173, 145, 255, 0.07);
}

.choice-card:has(input:checked) {
  border-color: rgba(211, 199, 255, 0.66);
  background: linear-gradient(120deg, rgba(173, 145, 255, 0.18), rgba(173, 145, 255, 0.08));
  box-shadow: 3px 0 0 #b9a5ff inset, 0 8px 22px rgba(4, 5, 16, 0.12);
}

.choice-indicator {
  right: 14px;
  width: 15px;
  height: 15px;
  border-color: rgba(235, 240, 255, 0.5);
}

.choice-card:has(input:checked) .choice-indicator {
  border-color: #d5caff;
  background: #c4b3ff;
}

.choice-copy strong {
  color: rgba(248, 249, 255, 0.96);
  font-size: 11px;
}

.choice-copy small {
  color: rgba(220, 227, 249, 0.52);
}

.project-type-card {
  min-height: 76px;
  padding-left: 56px;
}

.project-code {
  color: #cbbdff;
}

.signal-card {
  min-height: 52px;
  border-color: rgba(235, 240, 255, 0.14);
  background: rgba(255, 255, 255, 0.026);
}

.signal-card:has(input:checked) {
  border-color: rgba(211, 199, 255, 0.64);
  background: rgba(173, 145, 255, 0.17);
  box-shadow: 0 0 0 1px rgba(173, 145, 255, 0.08) inset;
}

.text-field,
.select-field {
  min-height: 48px;
  padding: 11px 13px;
  border-color: rgba(235, 240, 255, 0.16);
  background: rgba(2, 5, 14, 0.52);
  font-size: 12px;
}

textarea.text-field {
  min-height: 122px;
}

.text-field:focus,
.select-field:focus {
  border-color: rgba(211, 199, 255, 0.72);
  background: rgba(5, 9, 21, 0.88);
  box-shadow: 0 0 0 3px rgba(173, 145, 255, 0.1);
}

.drop-zone {
  min-height: 126px;
  border-color: rgba(203, 189, 255, 0.4);
  background: rgba(173, 145, 255, 0.045);
}

.inline-note,
.preview-note {
  border-left-color: rgba(203, 189, 255, 0.7);
  background: rgba(173, 145, 255, 0.07);
}

.error-summary {
  top: 11px;
  width: min(700px, calc(100% - 34px));
  padding: 13px 16px;
  border-color: rgba(255, 126, 116, 0.78);
  border-radius: 10px;
  background: rgba(55, 14, 21, 0.96);
}

.resume-draft {
  top: 14px;
  right: 18px;
  left: 18px;
  border-color: rgba(203, 189, 255, 0.48);
  background: rgba(11, 16, 32, 0.97);
}

.button {
  min-height: 40px;
  padding-inline: 19px;
  border-radius: 9px;
  letter-spacing: 0.12em;
}

.button-primary {
  border-color: #d7ceff;
  background: linear-gradient(135deg, #c3b2ff, #9d80ed);
  box-shadow: 0 10px 28px rgba(91, 59, 181, 0.24);
  color: #090c18;
}

.button-primary:hover:not(:disabled) {
  border-color: #eeeaff;
  background: linear-gradient(135deg, #d2c5ff, #ad94f5);
}

.button-ghost {
  border-color: rgba(235, 240, 255, 0.25);
  background: rgba(255, 255, 255, 0.035);
}

.form-navigation {
  flex-basis: 64px;
  padding-inline: clamp(20px, 2.5vw, 36px);
  background: rgba(3, 6, 15, 0.68);
  backdrop-filter: blur(14px);
}

.form-navigation .button:last-child {
  min-width: 142px;
}

.review-shell {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 10px;
}

.review-section {
  padding: 16px;
  display: block;
  border-color: rgba(235, 240, 255, 0.14);
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.018));
}

.review-heading {
  margin-bottom: 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.review-heading h2 {
  margin: 0;
  font-size: 13px;
}

.review-data > div {
  grid-template-columns: minmax(82px, 0.3fr) 1fr;
  padding: 6px 0;
}

.review-data dd {
  color: rgba(224, 230, 249, 0.7);
}

.consent-box,
.review-shell > .preview-note {
  grid-column: 1 / -1;
}

.consent-box {
  padding: 15px 18px 15px 49px;
  border-color: rgba(203, 189, 255, 0.46);
  border-radius: 11px;
  background: rgba(173, 145, 255, 0.09);
}

.success-card {
  padding: 40px;
  border-radius: 14px;
  background: radial-gradient(circle at 50% 52%, rgba(173, 145, 255, 0.12), transparent 42%);
}

.blueprint-backdrop {
  background: rgba(1, 3, 10, 0.78);
  backdrop-filter: blur(12px);
}

.blueprint-panel {
  width: min(1100px, calc(100% - 40px));
  height: min(690px, calc(100svh - 40px));
  border-color: rgba(235, 240, 255, 0.24);
  border-radius: 18px;
  background: rgba(7, 11, 23, 0.96);
  box-shadow: 0 38px 110px rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(22px);
}

.trace-topline {
  flex-basis: 58px;
  padding-inline: 24px;
}

.trace-layout {
  grid-template-columns: minmax(300px, 0.68fr) minmax(520px, 1.32fr);
}

.blueprint-visual {
  background: #070b19;
}

.blueprint-panel[data-visual="default"] .blueprint-visual {
  background:
    linear-gradient(180deg, rgba(2, 5, 14, 0.08), rgba(2, 5, 14, 0.62)),
    url("assets/caslavinieri-lite-bg.jpg") 58% center / cover no-repeat;
}

.blueprint-panel[data-visual="default"] .blueprint-visual img {
  opacity: 0;
}

.trace-content {
  padding: 32px clamp(28px, 3.2vw, 44px);
}

.blueprint-heading h2 {
  font-size: clamp(30px, 3.8vw, 48px);
}

.readiness-ring strong {
  color: #cbbdff;
}

.blueprint-footer {
  flex-basis: 52px;
  background: rgba(173, 145, 255, 0.075);
}

.site-footer {
  height: 32px;
  padding-inline: clamp(22px, 3.2vw, 58px);
  background: rgba(2, 5, 13, 0.7);
  backdrop-filter: blur(18px);
}

.privacy-notice {
  bottom: 48px;
  border-color: rgba(235, 240, 255, 0.22);
  background: rgba(9, 14, 29, 0.96);
}

@media (max-width: 1050px) {
  .entry-stage {
    grid-template-columns: minmax(330px, 0.78fr) minmax(480px, 1.22fr);
  }

  body:not([data-step="entry"]) #stepContent {
    grid-template-columns: minmax(240px, 0.64fr) minmax(480px, 1.36fr);
    gap: 34px;
  }

  .step-header h1 {
    font-size: clamp(32px, 4.1vw, 46px);
  }
}

@media (max-width: 820px) {
  body {
    grid-template-rows: 54px minmax(0, 1fr) 26px;
  }

  .site-header {
    height: 54px;
    grid-template-columns: 1fr auto;
  }

  .product-name {
    display: none;
  }

  .header-nav a:first-child,
  .header-nav a:last-child {
    display: none;
  }

  .brief-main {
    padding: 7px;
  }

  .brief-workspace {
    width: 100%;
    height: 100%;
    min-height: 0;
    border-radius: 12px;
  }

  .entry-stage {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(190px, 0.78fr) minmax(380px, 1.22fr);
  }

  .entry-visual {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .entry-visual > img {
    right: 7%;
    bottom: -82%;
    width: min(38%, 240px);
  }

  .entry-visual-copy {
    padding: 24px 28px 58px;
  }

  .entry-visual-copy h1 {
    max-width: 12ch;
    margin-block: 14px 10px;
    font-size: clamp(31px, 7vw, 44px);
  }

  .entry-visual-copy p {
    max-width: 56ch;
    font-size: 11px;
  }

  .entry-visual-meta {
    min-height: 42px;
    padding-inline: 28px;
  }

  .entry-panel {
    padding: 22px 28px 14px;
  }

  .entry-panel-head {
    margin-bottom: 13px;
  }

  .entry-panel-head h2 {
    margin-block: 7px 4px;
    font-size: 24px;
  }

  .route-list {
    grid-template-rows: repeat(3, minmax(66px, 1fr));
  }

  .route-row {
    padding-block: 9px;
  }

  .entry-panel-foot {
    min-height: 40px;
  }

  body:not([data-step="entry"]) #stepContent {
    display: block;
    padding: 24px 26px 30px;
  }

  .step-header {
    position: static;
    padding-right: 0;
    margin-bottom: 28px;
  }

  .step-header .section-label {
    margin-bottom: 16px;
  }

  .step-header h1 {
    max-width: 15ch;
  }

  .step-header > p {
    max-width: 64ch;
    margin-top: 14px;
  }

  .form-stack {
    gap: 22px;
  }

  .trace-layout {
    grid-template-columns: minmax(230px, 0.55fr) minmax(420px, 1.45fr);
  }
}

@media (max-width: 620px) {
  .site-header {
    padding-inline: 14px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .brand strong {
    font-size: 9px;
  }

  .header-nav {
    gap: 0;
  }

  .workspace-mast {
    flex-basis: 44px;
    padding-inline: 14px;
  }

  .workspace-actions {
    gap: 11px;
  }

  .text-button {
    font-size: 7px;
  }

  .trace-trigger {
    min-height: 27px;
    padding-inline: 9px;
  }

  .trace-trigger strong {
    display: none;
  }

  .progress-shell {
    flex-basis: 60px;
    grid-template-columns: 95px 1fr;
  }

  .progress-number {
    padding-inline: 14px;
  }

  .progress-number strong {
    font-size: 22px;
  }

  .progress-copy {
    padding-inline: 15px;
    border-right: 0;
  }

  .chapter-index {
    display: none;
  }

  .entry-stage {
    grid-template-rows: minmax(176px, 0.68fr) minmax(420px, 1.32fr);
  }

  .entry-visual > img {
    right: 3%;
    bottom: -58%;
    width: 43%;
  }

  .entry-visual-copy {
    padding: 19px 20px 49px;
    justify-content: center;
  }

  .entry-visual-copy > span {
    font-size: 7px;
  }

  .entry-visual-copy h1 {
    max-width: 12ch;
    margin-block: 10px 7px;
    font-size: clamp(28px, 8.6vw, 37px);
  }

  .entry-visual-copy p {
    max-width: 35ch;
    font-size: 9px;
    line-height: 1.45;
  }

  .entry-visual-meta {
    min-height: 38px;
    padding-inline: 20px;
    gap: 16px;
    font-size: 6px;
  }

  .entry-panel {
    padding: 17px 20px 10px;
  }

  .entry-panel-head {
    margin-bottom: 9px;
  }

  .entry-panel-head h2 {
    max-width: 15ch;
    margin-block: 5px 3px;
    font-size: 21px;
  }

  .entry-panel-head p {
    font-size: 9px;
  }

  .route-list {
    grid-template-rows: repeat(3, minmax(70px, 1fr));
  }

  .route-row {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 9px;
    padding: 8px 5px;
  }

  .route-row:hover,
  .route-row:focus-visible {
    padding-inline: 9px;
  }

  .route-copy strong {
    font-size: 14px;
  }

  .route-copy small {
    font-size: 8px;
  }

  .route-time {
    grid-column: 2;
    margin-top: -2px;
    font-size: 6px;
  }

  .entry-panel-foot {
    min-height: 34px;
    padding-top: 8px;
    gap: 12px;
  }

  .entry-panel-foot p {
    display: none;
  }

  body:not([data-step="entry"]) #stepContent {
    padding: 20px 18px 28px;
  }

  .step-header {
    margin-bottom: 22px;
  }

  .step-header h1 {
    font-size: clamp(30px, 10vw, 40px);
  }

  .step-header > p {
    font-size: 11px;
  }

  .choice-grid,
  .choice-grid.compact,
  .project-type-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

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

  .span-two {
    grid-column: 1;
  }

  .choice-card {
    min-height: 48px;
  }

  .project-type-card {
    min-height: 64px;
  }

  textarea.text-field {
    min-height: 100px;
  }

  .form-navigation {
    flex-basis: 54px;
    padding-inline: 13px;
    grid-template-columns: auto 1fr;
  }

  .form-navigation .button {
    min-width: 0 !important;
    min-height: 34px;
    padding-inline: 14px;
  }

  .keyboard-hint {
    display: none;
  }

  .review-section {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .review-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .review-heading h2 {
    margin: 0;
  }

  .review-data > div {
    grid-template-columns: 76px 1fr;
  }

  .blueprint-panel {
    width: calc(100% - 14px);
    height: calc(100svh - 14px);
    border-radius: 12px;
  }

  .trace-topline {
    flex-basis: 50px;
    padding-inline: 16px;
  }

  .trace-topline span {
    display: none;
  }

  .trace-layout {
    display: flex;
    flex-direction: column;
  }

  .blueprint-visual {
    flex: 0 0 190px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trace-content {
    flex: 1 1 auto;
    padding: 22px 18px;
  }

  .blueprint-heading {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .readiness-ring {
    min-width: 0;
    text-align: left;
  }

  .blueprint-missing ul {
    grid-template-columns: 1fr;
  }

  .blueprint-footer {
    flex-basis: 44px;
    padding-inline: 16px;
  }

  .site-footer {
    height: 26px;
    padding-inline: 14px;
  }

  .site-footer > p {
    display: none;
  }

  .site-footer nav {
    width: 100%;
    justify-content: center;
    gap: 14px;
  }

  .privacy-notice {
    right: 9px;
    bottom: 36px;
    width: calc(100% - 18px);
  }

  .resume-draft {
    align-items: stretch;
    flex-direction: column;
  }

  .resume-draft > div:last-child {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-height: 680px) and (min-width: 821px) {
  .brief-main {
    padding-block: 7px;
  }

  .entry-visual-copy {
    padding-top: 26px;
  }

  .entry-visual-copy h1 {
    margin-block: 18px 13px;
    font-size: clamp(36px, 4vw, 54px);
  }

  .entry-panel {
    padding-top: 24px;
  }

  .entry-panel-head {
    margin-bottom: 14px;
  }

  .route-list {
    grid-template-rows: repeat(3, minmax(68px, 1fr));
  }

  body:not([data-step="entry"]) #stepContent {
    padding-block: 22px;
  }

  .step-header .section-label {
    margin-bottom: 20px;
  }
}

/* Responsive refinements for the 3.0 workspace. */
@media (max-width: 1050px) {
  .brief-workspace {
    width: min(980px, 100%);
  }

  .progress-shell {
    grid-template-columns: 132px minmax(175px, 0.38fr) minmax(380px, 1fr);
  }

  .chapter-index {
    padding-inline: 14px;
  }

  .chapter-index li {
    padding-inline: 6px;
  }

  .entry-stage {
    grid-template-columns: minmax(340px, 0.8fr) minmax(500px, 1.2fr);
  }

  body:not([data-step="entry"]) #stepContent {
    grid-template-columns: minmax(225px, 0.5fr) minmax(500px, 1.5fr);
    gap: 32px;
    padding-inline: 34px;
  }

  .review-shell {
    grid-template-columns: 1fr;
  }

  .consent-box,
  .review-shell > .preview-note {
    grid-column: 1;
  }
}

@media (max-width: 820px) {
  body {
    grid-template-rows: 58px minmax(0, 1fr) 28px;
    background:
      linear-gradient(180deg, rgba(2, 5, 14, 0.3), rgba(2, 5, 14, 0.78)),
      radial-gradient(circle at 72% 16%, rgba(114, 96, 210, 0.14), transparent 36%),
      url("assets/caslavinieri-lite-bg.jpg") 56% center / cover scroll no-repeat;
  }

  .site-header {
    height: 58px;
    padding-inline: 18px;
  }

  .brief-main {
    padding: 7px;
  }

  .brief-workspace {
    min-height: 0;
    border-radius: 15px;
  }

  .entry-stage {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(205px, 0.7fr) minmax(390px, 1.3fr);
  }

  .entry-visual {
    background:
      linear-gradient(100deg, rgba(3, 7, 18, 0.86), rgba(5, 8, 20, 0.38)),
      radial-gradient(circle at 84% 74%, rgba(184, 164, 255, 0.13), transparent 36%);
  }

  .entry-visual-copy {
    padding: 25px 30px 58px;
  }

  .entry-visual-copy h1 {
    max-width: 12ch;
    margin-block: 15px 11px;
    font-size: clamp(33px, 7.3vw, 46px);
  }

  .entry-panel {
    padding: 22px 28px 14px;
  }

  .route-row {
    min-height: 66px;
  }

  body:not([data-step="entry"]) #stepContent {
    display: block;
    padding: 24px 26px 30px;
  }

  .step-header {
    position: static;
    margin-bottom: 25px;
    padding: 0;
  }

  .step-header .section-label {
    margin-bottom: 15px;
  }

  .step-header h1 {
    max-width: 14ch;
    font-size: clamp(34px, 6.2vw, 44px);
  }

  #stepContent > .form-stack,
  #stepContent > .form-section {
    padding: 20px;
  }

  .review-shell {
    grid-template-columns: 1fr;
  }

  .blueprint-panel {
    width: calc(100% - 18px);
    height: calc(100svh - 18px);
    border-radius: 14px;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding-inline: 14px;
  }

  .workspace-mast {
    flex-basis: 46px;
    padding-inline: 14px;
  }

  .trace-trigger {
    border-radius: 7px;
  }

  .progress-shell {
    flex-basis: 62px;
    grid-template-columns: 100px 1fr;
  }

  .progress-number {
    padding-inline: 13px;
  }

  .progress-number strong {
    font-size: 24px;
  }

  .entry-stage {
    grid-template-rows: minmax(184px, 0.62fr) minmax(430px, 1.38fr);
  }

  .entry-visual-copy {
    padding: 20px 20px 50px;
  }

  .entry-visual-copy h1 {
    margin-block: 10px 8px;
    font-size: clamp(29px, 8.8vw, 38px);
  }

  .entry-visual-copy p {
    font-size: 10px;
  }

  .entry-panel {
    padding: 17px 18px 10px;
  }

  .entry-panel-head h2 {
    max-width: 17ch;
    font-size: 21px;
  }

  .route-list {
    gap: 6px;
  }

  .route-row {
    min-height: 74px;
    padding: 9px 10px;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 8px;
    border-radius: 9px;
  }

  .route-row:hover,
  .route-row:focus-visible {
    padding-inline: 10px;
  }

  .route-time {
    grid-column: 2;
  }

  body:not([data-step="entry"]) #stepContent {
    padding: 20px 16px 26px;
  }

  .step-header {
    margin-bottom: 20px;
  }

  .step-header h1 {
    max-width: 13ch;
    font-size: clamp(31px, 9.4vw, 40px);
  }

  #stepContent > .form-stack,
  #stepContent > .form-section {
    padding: 15px;
    border-radius: 12px;
  }

  .form-stack {
    gap: 20px;
  }

  .choice-card {
    min-height: 50px;
  }

  .project-type-card {
    min-height: 68px;
  }

  .form-navigation {
    flex-basis: 56px;
    padding-inline: 12px;
  }

  .form-navigation .button {
    min-height: 36px;
    border-radius: 8px;
  }

  .review-section {
    padding: 14px;
  }

  .consent-box {
    padding: 14px 14px 14px 46px;
  }

  .site-footer {
    height: 28px;
    padding-inline: 12px;
  }
}

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

@media print {
  html,
  body {
    height: auto;
    overflow: visible;
    background: white;
    color: black;
  }

  .site-header,
  .workspace-mast,
  .progress-shell,
  .form-navigation,
  .site-footer,
  .privacy-notice,
  .blueprint-panel,
  .button,
  .review-edit,
  .preview-note,
  .consent-box {
    display: none !important;
  }

  .brief-main,
  .brief-workspace,
  #briefForm,
  #stepContent {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    box-shadow: none !important;
    background: white !important;
    color: black !important;
  }

  .step-header,
  .review-shell {
    width: 100%;
  }

  .step-header h1,
  .review-data dd,
  .review-heading h2 {
    color: black;
  }

  .review-section {
    break-inside: avoid;
    border-color: #aaa;
  }
}
