/* Profession planner and account milestones. */

.hero {
  min-height: 590px;
  display: grid;
  grid-template-columns: 1.17fr 1fr;
  gap: 35px;
  align-items: center;
  padding-top: 45px;
  padding-bottom: 40px;
}

.hero-copy { padding: 15px 0 20px; z-index: 1; }

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(40px,4.2vw,62px);
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: 2px;
  margin: 23px 0;
}

.hero h1 span { color: var(--gold-bright); }

.hero-description {
  font-size: 15px;
  color: var(--muted);
  line-height: 2;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  letter-spacing: .7px;
  color: #888f83;
  margin-top: 29px;
}

.hero-meta>span:not(.status-dot) { color: var(--gold-dim); }

.status-dot {
  width: 5px;
  height: 5px;
  background: #9baa80;
  border-radius: 50%;
  box-shadow: 0 0 8px #9baa8033;
}

.hero-atlas {
  aspect-ratio: 1;
  position: relative;
  width: 100%;
  max-width: 470px;
  justify-self: end;
  background: radial-gradient(circle,#ac884815 0,transparent 58%);
}

.atlas-coordinate {
  position: absolute;
  font: 8px/1.5 var(--sans);
  letter-spacing: 1.6px;
  color: #6f776b;
}

.top-left { top: 8%; left: 1%; }

.bottom-right { bottom: 4%; right: 0; }

.atlas-orbit {
  position: absolute;
  left: 50%;
  top: 49%;
  transform: translate(-50%,-50%);
  border: 1px solid #a88b4938;
  border-radius: 50%;
  width: 68%;
  height: 68%;
}

.orbit-two {
  width: 91%;
  height: 91%;
  border-style: dashed;
  border-color: #a88b4923;
}

.orbit-three {
  width: 58%;
  height: 58%;
  border-color: #a88b491c;
}

.atlas-orbit::before, .atlas-orbit::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -4px;
  width: 7px;
  height: 7px;
  border: 1px solid var(--gold-dim);
  background: var(--bg);
  transform: rotate(45deg);
}

.atlas-orbit::after { left: auto; right: -4px; }

.orbit-two::before, .orbit-two::after { border-color: #736346; }

.atlas-axis {
  position: absolute;
  left: 50%;
  top: 49%;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg,transparent,#a88b4924,transparent);
  transform: translate(-50%,-50%) rotate(36deg);
}

.axis-two { transform: translate(-50%,-50%) rotate(-36deg); }

.atlas-center {
  position: absolute;
  left: 50%;
  top: 49%;
  transform: translate(-50%,-50%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.atlas-star {
  color: var(--gold);
  font-size: 35px;
  line-height: 1;
}

.atlas-number {
  font-family: Georgia,serif;
  font-size: 110px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--gold-bright);
  text-shadow: 0 2px 40px #cfa85e18;
}

.atlas-label {
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 5px;
  color: var(--text);
  margin-left: 5px;
}

.atlas-sub {
  font-size: 8px;
  letter-spacing: 1.6px;
  color: var(--gold-dim);
  margin-top: 12px;
  white-space: nowrap;
}

.atlas-class {
  position: absolute;
  width: 49px;
  height: 53px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 22px;
  border: 1px solid var(--class-color);
  background: var(--bg);
  color: var(--class-color);
  box-shadow: 0 0 0 6px var(--bg);
  border-radius: 3px;
  transform: translate(-50%,-50%);
}

.atlas-class::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid currentColor;
  opacity: .2;
}

.atlas-class small {
  position: absolute;
  top: 62px;
  white-space: nowrap;
  font: 9px/1.4 var(--sans);
  letter-spacing: 1px;
  color: #939b8a;
}

.atlas-warrior {
  --class-color: #c6a385;
  left: 50%;
  top: 15%;
}

.atlas-mage {
  --class-color: #84c5ce;
  left: 82%;
  top: 38%;
}

.atlas-druid {
  --class-color: #cb985c;
  left: 70%;
  top: 77%;
}

.atlas-hunter {
  --class-color: #a6bb7b;
  left: 29%;
  top: 77%;
}

.atlas-rogue {
  --class-color: #d8cb82;
  left: 18%;
  top: 38%;
}

.stat-strip {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr .9fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 27px;
  gap: 24px;
}

.stat-strip>div {
  display: flex;
  align-items: center;
  gap: 20px;
  border-right: 1px solid var(--line);
}

.stat-strip strong { font: 42px/1 Georgia,serif; color: var(--gold); }

.stat-strip span { font-size: 13px; line-height: 1.6; }

.stat-strip small {
  display: block;
  color: #818b7c;
  font-size: 10px;
  margin-top: 4px;
}

.stat-strip>p {
  font: 14px/1.9 var(--serif);
  color: #a5ab9b;
  margin: 0;
  text-align: right;
  letter-spacing: 2px;
}

.plans-section { padding-top: 95px; padding-bottom: 80px; }

.plan-tabs {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  border-bottom: 1px solid var(--line);
  gap: 10px;
  margin-bottom: 30px;
}

.plan-tabs>button {
  position: relative;
  display: grid;
  grid-template-columns: 29px 1fr;
  column-gap: 10px;
  background: transparent;
  border: 0;
  color: var(--muted);
  text-align: left;
  padding: 18px 20px 22px;
  min-height: 100px;
}

.plan-tabs>button>span {
  font: 15px/1.8 Georgia,serif;
  color: #687260;
  grid-row: 1/3;
}

.plan-tabs strong {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 1px;
}

.plan-tabs small {
  font-size: 10px;
  color: #7e8977;
  margin-top: 4px;
}

.plan-tabs em {
  display: inline-block;
  color: #d4b87e;
  background: #5f4b292e;
  border: 1px solid #9d7f494d;
  font-style: normal;
  font-size: 9px;
  letter-spacing: .5px;
  padding: 0 6px;
  vertical-align: 2px;
  margin-left: 5px;
}

.plan-tabs>button::after {
  position: absolute;
  content: "";
  height: 2px;
  bottom: -1px;
  left: 0;
  right: 0;
  background: transparent;
}

.plan-tabs>button[aria-selected=true] {
  background: linear-gradient(0deg,#b79a5e0b,transparent);
  color: var(--gold-bright);
}

.plan-tabs>button[aria-selected=true]::after { background: var(--gold); }

.plan-tabs>button[aria-selected=true]>span { color: var(--gold); }

.plan-tabs>button:hover { background: #b79a5e0b; }

.plan-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 28px;
}

.plan-tag {
  display: inline-block;
  font-size: 9px;
  line-height: 1.5;
  color: var(--gold);
  letter-spacing: 2px;
}

.plan-intro h3 {
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: .7px;
  margin: 9px 0 8px;
  line-height: 1.6;
}

.plan-intro p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  max-width: 730px;
}

.plan-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  flex-shrink: 0;
}

.stage-switch {
  border: 1px solid var(--line);
  padding: 3px;
  display: flex;
  gap: 2px;
}

.stage-switch button {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 5px 9px;
  font-size: 10px;
}

.stage-switch button[aria-pressed=true] { background: var(--gold); color: var(--bg); }

.roster { border-top: 1px solid var(--line); }

.character-row {
  display: grid;
  grid-template-columns: 70px 160px 210px 1fr 65px;
  align-items: center;
  gap: 20px;
  padding: 24px 18px;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background .2s;
}

.character-row:hover { background: #bfc3a504; }

.character-row:first-child::before {
  content: "";
  height: 100%;
  position: absolute;
  width: 2px;
  background: var(--red);
  left: 0;
  top: 0;
}

.row-order {
  color: #7e8979;
  font-size: 10px;
  white-space: nowrap;
}

.class-cell {
  display: flex;
  align-items: center;
  gap: 13px;
}

.class-seal {
  --class-color: #aaa;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 44px;
  border: 1px solid color-mix(in srgb,var(--class-color) 45%,transparent);
  background: color-mix(in srgb,var(--class-color) 5%,transparent);
  color: var(--class-color);
  font: 21px var(--serif);
  position: relative;
}

.class-seal::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid currentColor;
  opacity: .13;
}

.paladin { --class-color: #dda6bc; }

.mage { --class-color: #85c9d5; }

.druid { --class-color: #db9b5a; }

.hunter { --class-color: #a8c486; }

.rogue { --class-color: #ded187; }

.warrior { --class-color: #c6a385; }

.warlock { --class-color: #a996d8; }

.class-cell h4 {
  font-size: 15px;
  letter-spacing: 1px;
  font-weight: 500;
  margin: 0;
  line-height: 1.4;
}

.class-cell small {
  font-size: 9px;
  color: #84907e;
  white-space: nowrap;
}

.profession-pair {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.profession-chip {
  font-size: 11px;
  padding: 4px 9px;
  border: 1px solid #4d594338;
  background: #82947409;
  color: #c4ceba;
  white-space: nowrap;
}

.profession-chip.crafting {
  color: #dfc897;
  background: #b29a5b0c;
  border-color: #ad915a3b;
}

.profession-chip.flexible {
  border-style: dashed;
  color: var(--muted);
  background: transparent;
}

.profession-pair i {
  font-style: normal;
  font-size: 10px;
  color: #6c745f;
}

.row-reason {
  font-size: 11px;
  color: #9ca691;
  line-height: 1.95;
  margin: 0;
}

.row-points {
  font: 26px/1.3 Georgia,serif;
  color: var(--gold);
  text-align: right;
  white-space: nowrap;
}

.row-points small {
  display: block;
  font: 8px/1.6 var(--sans);
  letter-spacing: 1px;
  color: #7f886f;
  margin-top: 3px;
}

.plan-bottom {
  display: flex;
  gap: 30px;
  justify-content: space-between;
  align-items: center;
  margin: 18px 0;
}

.plan-bottom p {
  font-size: 10px;
  line-height: 1.9;
  color: #8e9984;
  max-width: 650px;
  margin: 0;
}

.plan-bottom>span {
  font-size: 10px;
  color: var(--gold);
  white-space: nowrap;
}

.coverage-grid {
  display: grid;
  grid-template-columns: repeat(9,1fr);
  border: 1px solid var(--line);
  margin-top: 23px;
}

.coverage-item {
  padding: 12px 5px;
  text-align: center;
  border-right: 1px solid var(--line);
  font-size: 10px;
  color: #a5b396;
  background: #adc58e03;
}

.coverage-item:last-child { border-right: 0; }

.coverage-item::before {
  content: "✓";
  margin-right: 6px;
  color: #9db17b;
}

.coverage-item.missing { background: #9a453e0b; color: #ca9489; }

.coverage-item.missing::before { content: "○"; color: #ca9489; }

.workshop-section {
  border-block: 1px solid var(--line);
  background: linear-gradient(120deg,#242b201e,#27321e16);
  padding: 68px 0;
}

.workshop-grid {
  display: grid;
  grid-template-columns: 1fr 1.16fr;
  gap: 100px;
}

.workshop-lead h2 { font-size: 33px; }

.workshop-lead>p:not(.eyebrow) {
  font-size: 12px;
  color: var(--muted);
  margin: 20px 0;
  max-width: 385px;
}

.workshop-lead>small {
  font-size: 10px;
  color: #7f8b75;
  display: block;
  margin-top: 20px;
}

.material-flow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  font-size: 11px;
  margin-top: 25px;
}

.material-flow span {
  padding: 7px 12px;
  border-block: 1px solid #9d84533b;
  background: #b1985806;
}

.material-flow b {
  font-size: 15px;
  font-weight: 400;
  color: #7c795f;
}

.workshop-notes article {
  display: flex;
  gap: 25px;
  align-items: flex-start;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.workshop-notes article:first-child { padding-top: 0; }

.workshop-notes article:last-child { border: 0; padding-bottom: 0; }

.note-number {
  font: 24px/1.4 Georgia,serif;
  color: #85754e;
  min-width: 30px;
}

.workshop-notes h3 {
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 1px;
  margin: 0 0 8px;
}

.workshop-notes p {
  font-size: 12px;
  line-height: 1.9;
  color: #9aa58e;
  margin: 0;
}

.legacy-section { padding-block: 90px; }

.legacy-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 55px;
  border-top: 1px solid var(--line);
  padding-top: 35px;
}

.legacy-score {
  background: linear-gradient(135deg,#332e1a24,transparent);
  padding: 25px 27px;
  border: 1px solid #7163444a;
}

.score-number {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 12px 0 20px;
}

.score-number strong { font: 68px/1.2 Georgia,serif; color: var(--gold-bright); }

.score-number>span { font: 22px Georgia,serif; color: #6e755e; }

.progress-track {
  height: 3px;
  background: #343c2e;
  overflow: hidden;
}

.progress-track>span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--gold);
  transition: width .3s;
}

.legacy-score p {
  font-size: 12px;
  color: #c2c7b8;
  line-height: 1.9;
  margin: 22px 0 16px;
}

.legacy-score>small {
  display: block;
  font-size: 10px;
  line-height: 1.9;
  color: #8f9981;
}

.reset-link {
  display: block;
  border: 0;
  background: none;
  color: #9ba48e;
  padding: 0;
  margin-top: 25px;
  font-size: 10px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.reset-link:hover { color: var(--gold); }

.milestone-head, .milestone-row {
  display: grid;
  grid-template-columns: 1fr 52px 52px 52px 135px;
  align-items: center;
  gap: 10px;
}

.milestone-head {
  font-size: 10px;
  color: #828c75;
  padding: 6px 0 15px;
  border-bottom: 1px solid var(--line);
}

.milestone-head>span:not(:first-child) { text-align: center; }

.milestone-row { padding: 17px 0; border-bottom: 1px solid #343b3199; }

.milestone-name {
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.profession-mark {
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #b49b5d33;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 12px;
}

.milestone-dot {
  display: block;
  margin: auto;
  width: 14px;
  height: 14px;
  border: 1px solid #586148;
  transform: rotate(45deg);
  background: #1c221a;
  position: relative;
}

.milestone-dot.complete { border-color: var(--gold); background: #cfb17a33; }

.milestone-dot.complete::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: var(--gold);
}

.milestone-row select {
  width: 100%;
  border: 1px solid #47513b;
  border-radius: 0;
  background: #1b2119;
  color: #c5cbb8;
  min-height: 36px;
  padding: 4px 7px;
  font-size: 10px;
  cursor: pointer;
}

.milestone-row select:focus { border-color: var(--gold); }

.storage-note {
  font-size: 10px;
  color: #7e8b70;
  margin-top: 18px;
}

.field-notes {
  display: grid;
  grid-template-columns: .85fr 1.7fr;
  gap: 80px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 45px;
  margin-bottom: 85px;
}

.field-intro h2 { font-size: 25px; }

.field-copy h3 {
  font-size: 15px;
  margin: 0 0 13px;
  font-weight: 500;
  letter-spacing: .5px;
}

.field-copy p {
  font-size: 12px;
  color: #9ca78f;
  margin: 0 0 13px;
  line-height: 1.95;
}

.field-copy .text-link {
  display: inline-block;
  font-size: 10px;
  margin-top: 5px;
}

.copy-dialog {
  width: min(560px,calc(100% - 32px));
  border: 1px solid var(--gold-dim);
  background: var(--panel);
  color: var(--text);
  padding: 25px;
}

.copy-dialog::backdrop { background: #000b; }

.copy-dialog h2 { font-size: 22px; }

.copy-dialog p { font-size: 12px; color: var(--muted); }

.copy-dialog textarea {
  width: 100%;
  height: 260px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 12px;
  font: 12px/1.8 var(--sans);
  resize: vertical;
}

.copy-dialog form { text-align: right; margin-top: 15px; }

@media (min-width:1500px) {
  .hero { min-height: 650px; }

  .hero-atlas { max-width: 500px; }

  .hero h1 { font-size: 64px; }
}

@media (max-width:1120px) {
  .hero { min-height: 535px; gap: 20px; }

  .hero h1 { font-size: 43px; }

  .atlas-number { font-size: 90px; }

  .atlas-class {
    width: 42px;
    height: 47px;
    font-size: 19px;
  }

  .atlas-label { font-size: 12px; letter-spacing: 3px; }

  .atlas-class small { top: 55px; }

  .hero-description { font-size: 13px; }

  .hero-actions { gap: 18px; }

  .character-row {
    grid-template-columns: 60px 142px 195px 1fr 55px;
    gap: 12px;
    padding-inline: 12px;
  }

  .row-reason { font-size: 10px; }

  .profession-chip { padding: 4px 7px; }

  .class-cell { gap: 9px; }

  .workshop-grid { gap: 60px; }

  .legacy-layout { gap: 30px; grid-template-columns: 270px 1fr; }

  .milestone-head, .milestone-row { grid-template-columns: 1fr 38px 38px 38px 120px; gap: 8px; }

  .plan-tabs>button { padding-inline: 12px; }

  .plan-tabs strong { font-size: 12px; }
}

@media (max-width:900px) {
  .hero { grid-template-columns: 1.1fr 1fr; min-height: 480px; }

  .hero h1 { font-size: 35px; letter-spacing: .8px; }

  .hero .eyebrow { font-size: 8px; letter-spacing: 1.8px; }

  .hero-description { font-size: 12px; }

  .hero-actions { gap: 14px; }

  .hero-actions .text-link { font-size: 10px; }

  .hero .button {
    padding: 10px 15px;
    font-size: 11px;
    gap: 10px;
  }

  .hero-meta { font-size: 8px; gap: 8px; }

  .atlas-number { font-size: 76px; }

  .atlas-label { font-size: 10px; }

  .atlas-sub { font-size: 7px; letter-spacing: 1px; }

  .atlas-coordinate { font-size: 6px; letter-spacing: 1px; }

  .atlas-class {
    width: 36px;
    height: 40px;
    font-size: 16px;
  }

  .atlas-class small { font-size: 7px; top: 48px; }

  .atlas-star { font-size: 26px; }

  .stat-strip { gap: 15px; }

  .stat-strip>div { gap: 12px; }

  .stat-strip strong { font-size: 32px; }

  .stat-strip span { font-size: 11px; }

  .stat-strip small { font-size: 8px; }

  .stat-strip>p { font-size: 11px; letter-spacing: 1px; }

  .character-row {
    grid-template-columns: 75px 1fr 1fr 55px;
    padding: 22px 15px;
    row-gap: 10px;
  }

  .class-cell { grid-column: 2; }

  .profession-pair { grid-column: 3; }

  .row-points {
    grid-column: 4;
    grid-row: 1/3;
    align-self: center;
  }

  .row-reason {
    grid-column: 2/4;
    grid-row: 2;
    font-size: 11px;
  }

  .plan-intro h3 { font-size: 18px; }

  .plan-intro p { font-size: 11px; }

  .plan-bottom { align-items: flex-start; gap: 18px; }

  .plan-bottom>span {
    white-space: normal;
    min-width: 160px;
    text-align: right;
  }

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

  .coverage-item {
    border-bottom: 1px solid var(--line);
    font-size: 11px;
    padding: 9px;
  }

  .coverage-item:nth-child(3n) { border-right: 0; }

  .coverage-item:nth-last-child(-n/**/+3) { border-bottom: 0; }

  .workshop-grid { gap: 40px; }

  .workshop-lead h2 { font-size: 28px; }

  .workshop-notes article { gap: 16px; }

  .material-flow { gap: 8px; font-size: 10px; }

  .material-flow span { padding: 7px 8px; }

  .legacy-layout { grid-template-columns: 230px 1fr; gap: 25px; }

  .legacy-score { padding: 22px 20px; }

  .milestone-head, .milestone-row { grid-template-columns: 1fr 24px 24px 24px 98px; gap: 6px; }

  .milestone-name { gap: 7px; font-size: 11px; }

  .profession-mark {
    width: 21px;
    height: 23px;
    font-size: 10px;
  }

  .milestone-row select { font-size: 9px; padding-inline: 4px; }

  .field-notes { gap: 40px; grid-template-columns: 1fr 1.8fr; }

  .field-intro h2 { font-size: 23px; }
}

@media (max-width:640px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 47px;
    padding-bottom: 25px;
    gap: 0;
  }

  .hero-copy { padding: 0; }

  .hero .eyebrow { font-size: 8px; letter-spacing: 2px; }

  .hero h1 {
    font-size: clamp(32px,8.3vw,48px);
    letter-spacing: 1px;
    line-height: 1.5;
    margin: 20px 0;
  }

  .hero-description { font-size: 12px; line-height: 2; }

  .hero-actions { gap: 20px; }

  .hero .button { padding: 12px 18px; }

  .hero-meta { font-size: 9px; margin-top: 23px; }

  .hero-atlas {
    width: 78%;
    max-width: 330px;
    justify-self: center;
    margin-top: 14px;
    aspect-ratio: 1;
  }

  .atlas-number { font-size: 77px; }

  .atlas-label { font-size: 10px; }

  .atlas-sub { font-size: 7px; }

  .atlas-coordinate { font-size: 6px; }

  .stat-strip {
    grid-template-columns: repeat(3,1fr);
    gap: 10px;
    padding: 21px 0;
  }

  .stat-strip>div {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-left: 10px;
  }

  .stat-strip>div:first-child { padding-left: 0; }

  .stat-strip>div:nth-child(3) { border: 0; }

  .stat-strip>p { display: none; }

  .stat-strip strong { font-size: 34px; }

  .stat-strip span { font-size: 10px; }

  .stat-strip small {
    font-size: 8px;
    letter-spacing: 0;
    line-height: 1.7;
    max-width: 95px;
  }

  .plans-section { padding-top: 58px; padding-bottom: 50px; }

  .plan-tabs {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 3px;
    margin-bottom: 24px;
  }

  .plan-tabs>button {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    padding: 12px 7px 17px;
    min-height: 112px;
  }

  .plan-tabs>button>span { font-size: 12px; line-height: 1; }

  .plan-tabs strong {
    font-size: 11px;
    line-height: 1.6;
    letter-spacing: .3px;
    max-width: 100px;
  }

  .plan-tabs small {
    font-size: 8px;
    line-height: 1.5;
    max-width: 90px;
    margin: 0;
  }

  .plan-tabs em {
    font-size: 7px;
    padding: 0 4px;
    margin-left: 2px;
    vertical-align: 1px;
  }

  .plan-intro { display: block; padding-bottom: 21px; }

  .plan-intro h3 {
    font-size: 17px;
    line-height: 1.7;
    margin: 9px 0;
  }

  .plan-intro p { font-size: 11px; }

  .plan-tag { font-size: 8px; letter-spacing: 1.5px; }

  .plan-controls {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
  }

  .stage-switch button { font-size: 9px; padding: 4px 7px; }

  .character-row {
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 20px 11px;
  }

  .row-order {
    grid-column: 1;
    grid-row: 1;
    font-size: 9px;
    letter-spacing: .5px;
  }

  .class-cell {
    grid-column: 1;
    grid-row: 2;
    gap: 12px;
  }

  .class-cell h4 { font-size: 16px; }

  .class-cell small { font-size: 9px; }

  .class-seal {
    width: 38px;
    height: 42px;
    font-size: 20px;
  }

  .profession-pair {
    grid-column: 1;
    grid-row: 3;
    margin-top: 3px;
    gap: 7px;
  }

  .profession-chip { font-size: 10px; padding: 3px 8px; }

  .row-points {
    grid-column: 2;
    grid-row: 2/4;
    font-size: 28px;
    align-self: center;
  }

  .row-reason {
    grid-column: 1/3;
    grid-row: 4;
    font-size: 10px;
    line-height: 1.9;
    margin-top: 1px;
  }

  .row-points small { font-size: 8px; }

  .plan-bottom { display: block; margin-top: 15px; }

  .plan-bottom>span {
    display: block;
    text-align: left;
    margin-top: 10px;
    font-size: 10px;
  }

  .plan-bottom p { font-size: 10px; }

  .coverage-grid { margin-top: 18px; }

  .coverage-item { font-size: 10px; }

  .workshop-section { padding: 45px 0; }

  .workshop-grid { grid-template-columns: 1fr; gap: 32px; }

  .workshop-lead h2 { font-size: 29px; }

  .workshop-lead>p:not(.eyebrow) { max-width: none; font-size: 12px; }

  .workshop-lead>small { font-size: 10px; }

  .material-flow { font-size: 11px; gap: 10px; }

  .material-flow span { padding: 7px 12px; }

  .workshop-notes h3 { font-size: 16px; }

  .workshop-notes p { font-size: 11px; }

  .workshop-notes article { padding: 19px 0; }

  .legacy-section { padding: 55px 0; }

  .legacy-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 25px;
  }

  .legacy-score {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 22px;
    padding: 22px;
  }

  .legacy-score .plan-tag { grid-column: 1; }

  .score-number {
    grid-column: 1;
    grid-row: 2/4;
    margin: 0;
    align-self: center;
  }

  .score-number strong { font-size: 62px; }

  .legacy-score .progress-track { grid-column: 1/-1; }

  .legacy-score p {
    grid-column: 2;
    grid-row: 1/3;
    font-size: 11px;
    margin: 0;
    align-self: center;
  }

  .legacy-score>small { grid-column: 1/-1; font-size: 10px; }

  .legacy-score .reset-link {
    grid-column: 1/-1;
    margin-top: 4px;
    justify-self: start;
  }

  .milestone-head, .milestone-row { grid-template-columns: 1fr 28px 28px 28px 106px; gap: 5px; }

  .milestone-head { font-size: 9px; }

  .milestone-name { font-size: 11px; gap: 7px; }

  .milestone-row { padding: 14px 0; }

  .milestone-row select { font-size: 10px; padding: 4px; }

  .milestone-dot { width: 12px; height: 12px; }

  .storage-note { font-size: 9px; }

  .field-notes {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-block: 30px;
    margin-bottom: 55px;
  }

  .field-intro h2 { font-size: 24px; }

  .field-intro h2 br { display: none; }

  .field-copy h3 { font-size: 13px; }

  .field-copy p { font-size: 11px; }
}

@media print {
  .hero-atlas, .hero-actions, .plan-tabs, .plan-controls, .legacy-section, .reset-link { display: none; }

  .hero {
    display: block;
    min-height: 0;
    padding: 20px 0;
  }

  .hero h1 { font-size: 30px; }

  .hero-description { margin: 10px 0; }

  .stat-strip { padding: 15px 0; }

  .plans-section { padding: 30px 0; }

  .character-row { break-inside: avoid; grid-template-columns: 65px 140px 190px 1fr 50px; }

  .profession-chip { color: #444 !important; }

  .row-reason, .row-order { color: #555; }

  .workshop-section, .field-notes { padding: 25px 0; }

  .workshop-grid { gap: 35px; }

  .atlas-orbit { display: none; }
}

.paladin-routes {
  padding: 24px;
  border: 1px solid #74603d66;
  background: linear-gradient(135deg,#ae8b4910,transparent);
  margin-bottom: 30px;
}

.route-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: baseline;
  margin-bottom: 18px;
}

.route-heading h3 {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 1px;
  margin: 0;
  white-space: nowrap;
}

.route-heading p {
  font-size: 10px;
  color: var(--muted);
  margin: 0;
  max-width: 530px;
}

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

.route-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  border: 1px solid #47503b;
  background: #151b14;
  color: var(--muted);
  padding: 16px;
  text-align: left;
  min-width: 0;
  transition: background .2s,border-color .2s;
}

.route-option:hover { border-color: var(--gold-dim); background: #222719; }

.route-option[aria-pressed=true] {
  border-color: var(--gold);
  background: #c4a76b0e;
  box-shadow: inset 2px 0 0 var(--gold);
}

.route-letter {
  font: 14px Georgia,serif;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 9px;
}

.route-letter em {
  font: 8px var(--sans);
  font-style: normal;
  letter-spacing: .5px;
  border: 1px solid #a68c4a55;
  padding: 2px 5px;
  color: var(--gold);
}

.route-option strong {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  letter-spacing: 1px;
}

.route-pair { font-size: 12px; color: var(--gold-bright); }

.route-option small {
  font-size: 9px;
  color: #89977c;
  line-height: 1.8;
}

.route-details {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 24px;
  margin: 24px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.route-details dt {
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 1px;
  margin-bottom: 7px;
}

.route-details dd {
  margin: 0;
  font-size: 11px;
  line-height: 1.95;
  color: #a2ac95;
}

.route-details>div { min-width: 0; }

@media (max-width:900px) {
  .paladin-routes { padding: 20px; }

  .route-heading { display: block; }

  .route-heading p { margin-top: 8px; }

  .route-options { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }

  .route-option { padding: 13px; gap: 6px; }

  .route-option strong { font-size: 12px; }

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

  .route-details { gap: 18px; }

  .route-details dd { font-size: 10px; }
}

@media (max-width:640px) {
  .paladin-routes { padding: 16px; margin-bottom: 24px; }

  .route-heading h3 { font-size: 17px; }

  .route-heading p { font-size: 10px; }

  .route-options { grid-template-columns: 1fr; gap: 9px; }

  .route-option {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 5px 12px;
    padding: 12px 14px;
  }

  .route-letter { grid-column: 1/-1; }

  .route-option strong {
    font-size: 13px;
    grid-column: 1;
    grid-row: 2;
  }

  .route-pair {
    font-size: 11px;
    grid-column: 2;
    grid-row: 2;
  }

  .route-option small { font-size: 9px; grid-column: 1/-1; }

  .route-details {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 18px;
    padding-top: 16px;
  }

  .route-details dd { font-size: 11px; }
}

.workshop-scene { margin-block: 0 42px; }

.workshop-scene > img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #8d6c535c;
  box-shadow: 0 16px 50px #0003;
}

.workshop-scene figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 18px;
  line-height: 1.9;
}

.workshop-scene figcaption strong {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--gold-bright);
}

.workshop-scene figcaption span { font-size: 12px; color: var(--muted); }

@media (max-width: 640px) {
  .workshop-scene { margin-bottom: 30px; }

  .workshop-scene figcaption { display: block; margin-top: 13px; }

  .workshop-scene figcaption strong {
    display: block;
    font-size: 15px;
    letter-spacing: .5px;
  }

  .workshop-scene figcaption span {
    display: block;
    margin-top: 5px;
    font-size: 11px;
  }
}

@media print {
  .workshop-scene { display: none; }
}
