:root {
  color-scheme: light;
  --ink: #000056;
  --paper: #fcf6ed;
  --cream: #faf0e1;
  --white: #fffdf7;
  --pink: #ff715e;
  --coral: #ff4c38;
  --yellow: #ffe361;
  --line: #d7cfc4;
  --muted: #525367;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
  --radius: 12px;
  font:
    16px/1.5 "Albert Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-synthesis: none;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
}
body:has(dialog[open]) {
  overflow: hidden;
}
[hidden] {
  display: none !important;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.58;
  cursor: wait;
}
button {
  touch-action: manipulation;
}
:focus-visible {
  outline: 3px solid #6354de !important;
  outline-offset: 3px;
}
/* The main landmark is a programmatic navigation target, not a control. */
#main:focus, body:focus {
  outline: none !important;
}
a {
  color: inherit;
}
button,
select,
input {
  min-height: 44px;
}
svg.icon {
  width: 19px;
  height: 19px;
  display: inline-block;
  vertical-align: middle;
  flex: none;
  stroke-width: 1.8;
}
.shell {
  width: min(1352px, 100%);
  padding-inline: clamp(20px, 4.6vw, 78px);
  margin: auto;
}
.skip {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 5;
  transform: translateY(-150%);
  background: white;
  padding: 12px;
}
.skip:focus {
  transform: none;
}
header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.header-row,
.brand,
.header-actions,
nav,
.row,
.btn,
.secondary,
.text-btn,
.meta,
.tag,
.select-wrap,
.pagination,
.chips,
.status,
.toolbar,
.profile-pill,
.notice,
.hero-eyebrow,
.caption,
.card-bottom,
.topline,
.lang-toggle {
  display: flex;
  align-items: center;
}
.header-row {
  min-height: 78px;
  gap: clamp(14px, 2.5vw, 44px);
}
.brand {
  color: var(--ink);
  background: none;
  border: 0;
  padding: 0;
  gap: 13px;
}
.brand img {
  width: 72px;
  display: block;
}
.brand-divider {
  height: 24px;
  border-left: 1px solid #aaa4b0;
}
.brand-name {
  font-size: 32px;
  font-weight: 780;
  letter-spacing: -2.1px;
  line-height: 1;
}
nav {
  align-self: stretch;
  gap: 20px;
}
nav button {
  align-self: stretch;
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  border-top: 3px solid transparent;
  font-weight: 600;
  font-size: 0.92rem;
  padding-inline: 2px;
}
nav button[aria-current="page"] {
  border-bottom-color: var(--ink);
}
.header-actions {
  margin-left: auto;
  gap: 12px;
}
.workshop,
.lang-toggle,
.profile-pill {
  font-size: 0.83rem;
  font-weight: 650;
}
.workshop {
  display: flex;
  align-items: center;
  gap: 5px;
}
.lang-toggle,
.profile-pill {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: transparent;
  padding: 0 13px;
  gap: 7px;
  justify-content: center;
}
.lang-toggle:hover,
.profile-pill:hover,
.secondary:hover {
  background: #f0e7d9;
}
.lang-toggle .icon {
  width: 16px;
}
.profile-pill {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.profile-pill:hover,
.btn:hover {
  background: #222273;
}
main {
  padding-block: 28px 50px;
}
.hero {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  text-align: left;
  min-height: 312px;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(24px, 3.8vw, 58px);
  position: relative;
}
.eyebrow,
.hero-eyebrow,
.caption,
.sheetno,
.index,
.kicker {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  line-height: 1.4;
}
.hero-eyebrow {
  gap: 9px;
  flex-wrap: wrap;
}
.hero-eyebrow .pilot-label {
  font-size: 9px;
}
.accent-line {
  background: var(--coral);
  width: 27px;
  height: 4px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
.hero h1 {
  font-size: clamp(48px, 5.5vw, 84px);
  line-height: 0.94;
  letter-spacing: -0.04em;
  margin: 19px 0 15px;
  max-width: 8.5em;
  font-weight: 750;
}
.hero p {
  max-width: 30em;
  color: #454561;
  font-size: 1.02rem;
  line-height: 1.45;
}
.hero-art {
  border: none;
  padding: 0;
  display: grid;
  grid-template: 1fr/1fr;
  background: #ecd9bf;
  position: relative;
  min-width: 0;
  isolation: isolate;
  color: var(--ink);
  overflow: hidden;
}
.hero-art img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  inset: 0;
  transition: transform 0.3s;
}
.hero-art:hover img {
  transform: scale(1.018);
}
.sheetno {
  position: absolute;
  top: 14px;
  left: 15px;
  padding: 5px 9px;
  background: var(--cream);
  border: 1px solid #00005633;
  border-radius: 4px;
}
.hero-overlay {
  position: absolute;
  bottom: 14px;
  inset-inline: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid #00005635;
  border-radius: 7px;
  padding: 9px 12px;
  text-align: left;
}
.hero-overlay strong {
  font-size: 1.03rem;
  font-weight: 700;
}
.hero-overlay small {
  color: var(--muted);
  margin-left: auto;
}
.hero-overlay .icon {
  margin-left: 4px;
}
.section-head {
  margin: 35px 0 14px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.section-head h1,
.section-head h2 {
  font-size: clamp(32px, 3vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 720;
}
.section-head .eyebrow {
  color: var(--muted);
  margin-bottom: 8px;
}
.count {
  font-size: 0.88rem;
  color: var(--muted);
}
.count b {
  color: var(--ink);
}
.toolbar {
  flex-wrap: wrap;
  gap: 9px;
}
.search,
.select-wrap {
  background: var(--white);
  border: 1px solid #c6bdaf;
  border-radius: 8px;
  min-height: 46px;
  display: flex;
  align-items: center;
}
.search {
  flex: 1 1 230px;
  gap: 9px;
  padding: 0 12px;
}
.search input {
  border: 0;
  background: transparent;
  outline: none;
  min-width: 0;
  width: 100%;
}
.search:focus-within,
.select-wrap:focus-within {
  outline: 3px solid #6354de;
  outline-offset: 1px;
}
.search input:focus-visible,
.select-wrap select:focus-visible {
  outline: none !important;
}
.select-wrap {
  position: relative;
}
.select-wrap select {
  cursor: pointer;
  width: 100%;
  max-width: 220px;
  background: transparent;
  border: 0;
  appearance: none;
  padding: 0 34px 0 12px;
  font-size: 0.9rem;
  font-weight: 600;
}
.select-wrap .icon {
  pointer-events: none;
  position: absolute;
  right: 10px;
  width: 15px;
}
.chips {
  flex-wrap: wrap;
  margin: 11px 0 16px;
  gap: 7px;
}
.chip {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 0 14px;
  min-height: 40px;
  line-height: 1.15;
  font-size: 0.88rem;
  font-weight: 600;
}
.chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}
.chip:not([aria-pressed="true"]):hover {
  background: var(--cream);
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.card {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  width: 100%;
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 0;
  transition:
    border-color 0.18s,
    box-shadow 0.18s;
}
.card:hover {
  border-color: var(--ink);
  box-shadow: 0 4px 12px #27294c12;
}
.card-art {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 1.95;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.card-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s;
}
.card:hover .card-art img {
  transform: scale(1.025);
}
.index {
  position: absolute;
  top: 10px;
  left: 12px;
  background: #fff9eacc;
  border-radius: 3px;
  padding: 2px 5px;
  color: #44445b;
  font-size: 10px;
}
.card-copy {
  padding: 16px 17px 15px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}
.card h3 {
  font-size: 1.45rem;
  letter-spacing: -0.045em;
  line-height: 1.13;
}
.topline {
  justify-content: space-between;
  gap: 8px;
}
.kicker {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.12em;
}
.card-bottom {
  border-top: 1px solid var(--line);
  padding-top: 10px;
  justify-content: space-between;
  margin-top: auto;
  gap: 8px;
}
.price {
  font-weight: 700;
  font-size: 0.85rem;
}
.meta {
  gap: 6px 12px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--muted);
  margin: 2px 0 8px;
}
.meta span,
.tag,
.status {
  gap: 5px;
  display: inline-flex;
  align-items: center;
}
.meta .icon {
  width: 15px;
  height: 15px;
}
.tag {
  background: #eaf0da;
  color: #30502b;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 20px;
  padding: 3px 8px;
}
.pilot-label {
  font-family: var(--mono);
  font-weight: 650;
  font-size: 0.68rem;
  letter-spacing: 0.055em;
  border: 1px solid #9e999f;
  padding: 2px 6px;
  border-radius: 3px;
  text-transform: uppercase;
}
footer {
  border-top: 1px solid var(--line);
  padding-block: 18px;
  color: var(--muted);
  font-size: 0.82rem;
}
footer .shell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.empty,
.panel,
.receipt-list {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--white);
}
.empty {
  margin: 12px 0;
  display: grid;
  justify-items: start;
  gap: 8px;
}
.empty h3,
.panel h3 {
  font-size: 1.25rem;
  letter-spacing: -0.025em;
}
.btn,
.secondary,
.text-btn {
  border: 1px solid transparent;
  gap: 8px;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  font-weight: 660;
  line-height: 1.25;
  padding: 10px 16px;
}
.btn {
  background: var(--ink);
  color: white;
}
.secondary {
  border-color: var(--line);
  background: var(--white);
}
.text-btn {
  background: none;
  border: none;
  text-decoration: underline;
}
.row {
  flex-wrap: wrap;
  gap: 10px;
}
dialog {
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 0;
  max-height: 90dvh;
  width: min(760px, calc(100vw - 32px));
  box-shadow: 0 12px 70px #0000323b;
}
dialog::backdrop {
  background: #15152e79;
}
dialog.small {
  width: min(480px, calc(100vw - 32px));
}
.dialog-head {
  position: sticky;
  top: 0;
  isolation: isolate;
  z-index: 1;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 18px;
}
.dialog-head h2 {
  font-size: 1.06rem;
  letter-spacing: -0.025em;
}
.close {
  padding: 0;
  background: transparent;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
}
.close:hover {
  background: var(--cream);
}
.detail-art {
  aspect-ratio: 3/1;
  position: relative;
  overflow: hidden;
  background: var(--cream);
}
.detail-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.detail-art .sheetno {
  font-size: 9px;
}
.dialog-body {
  padding: clamp(18px, 3.2vw, 32px);
  display: grid;
  gap: 15px;
}
.dialog-body h3 {
  font-size: clamp(25px, 3vw, 36px);
  letter-spacing: -0.045em;
  line-height: 1.12;
}
.dialog-body p,
.detail-grid dd {
  color: #444560;
}
.detail-grid {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}
.detail-grid > div {
  border-top: 1px solid var(--line);
  padding: 10px 0;
}
.detail-grid dt,
.field > span {
  font-weight: 700;
  font-size: 0.85rem;
}
.detail-grid dd {
  margin: 3px 0 0;
  font-size: 0.94rem;
}
.panel {
  padding: 16px;
  display: grid;
  gap: 12px;
}
.press-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.field {
  display: grid;
  gap: 5px;
}
.field input,
.field select {
  min-width: 0;
  width: 100%;
  background: white;
  border: 1px solid #9f99a0;
  border-radius: 7px;
  min-height: 46px;
  padding: 8px 11px;
}
.fine {
  font-size: 0.84rem;
  color: var(--muted);
}
.error {
  color: #801e19 !important;
  font-weight: 650;
}
.notice {
  background: #fff2bc;
  padding: 9px 13px;
  gap: 8px;
  border-radius: 6px;
  font-size: 0.86rem;
}
.form {
  display: grid;
  gap: 14px;
}
.receipt-list {
  display: grid;
  gap: 0;
  margin-top: 12px;
  padding: 0 16px;
}
.receipt-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.receipt-item:last-child {
  border: none;
}
.receipt-item small {
  color: var(--muted);
}
.startup {
  margin: 15vh auto;
  text-align: center;
}
.live-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.warn {
  position: fixed;
  inset: auto 10px 10px;
  z-index: 8;
  background: var(--ink);
  color: white;
  max-width: 580px;
  margin: auto;
  box-shadow: 0 3px 18px #25254540;
  border-radius: 8px;
  padding: 12px 15px;
  text-align: center;
}
.warn button {
  margin-left: 6px;
}
@media (min-width: 1500px) {
  .hero {
    min-height: 365px;
  }
}
@media (max-width: 960px) {
  .shell {
    padding-inline: 26px;
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .workshop .icon {
    display: none;
  }
  .header-row {
    gap: 18px;
  }
  .header-actions {
    gap: 6px;
  }
  nav {
    gap: 13px;
  }
  .hero-copy {
    padding: 27px;
  }
  .hero h1 {
    font-size: clamp(49px, 6.4vw, 66px);
  }
}
@media (max-width: 760px) {
  .shell {
    padding-inline: 18px;
  }
  .header-row {
    min-height: 65px;
    flex-wrap: wrap;
    gap: 0 12px;
    padding-top: 10px;
  }
  .brand-name {
    font-size: 29px;
  }
  .brand img {
    width: 60px;
  }
  .header-actions {
    gap: 6px;
  }
  .workshop {
    display: none;
  }
  nav {
    order: 3;
    width: 100%;
    height: 43px;
    gap: 20px;
  }
  nav button {
    font-size: 0.87rem;
    min-height: 43px;
  }
  .hero {
    grid-template-columns: 1.05fr 1fr;
    min-height: 270px;
  }
  .hero h1 {
    font-size: 43px;
  }
  .hero p {
    font-size: 0.9rem;
  }
  .hero-copy {
    padding: 20px;
  }
  .hero-overlay small {
    display: none;
  }
  .hero-overlay .icon {
    margin-left: auto;
  }
  .sheetno {
    font-size: 9px;
  }
  main {
    padding-top: 18px;
  }
  .section-head {
    margin-top: 26px;
  }
  .hero-overlay {
    inset-inline: 9px;
    bottom: 9px;
  }
  .brand {
    gap: 8px;
  }
}
@media (max-width: 570px) {
  .shell {
    padding-inline: 14px;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding: 22px;
  }
  .hero h1 {
    font-size: 50px;
    margin: 12px 0 10px;
    max-width: 100%;
  }
  .hero-art {
    height: 180px;
  }
  .hero-art img {
    object-fit: contain;
  }
  .hero-overlay {
    inset-inline: auto 8px;
    max-width: 85%;
    padding: 6px 10px;
  }
  .hero-overlay strong {
    font-size: 0.9rem;
  }
  .sheetno {
    left: 8px;
    top: 8px;
  }
  .profile-pill,
  .lang-toggle {
    padding-inline: 10px;
    min-height: 44px;
  }
  .profile-pill .icon {
    display: none;
  }
  .grid {
    gap: 10px;
  }
  .card-copy {
    padding: 11px;
    gap: 5px;
  }
  .card h3 {
    font-size: 1.16rem;
  }
  .card-art {
    aspect-ratio: 1.48;
  }
  .index {
    left: 5px;
    top: 5px;
    font-size: 9px;
  }
  .card .kicker,
  .card .price {
    font-size: 0.7rem;
  }
  .card .pilot-label {
    font-size: 0.55rem;
  }
  .meta {
    gap: 3px 7px;
    font-size: 0.73rem;
  }
  .card-bottom {
    padding-top: 7px;
  }
  .card .card-bottom .icon {
    width: 15px;
  }
  .section-head h2 {
    font-size: 32px;
  }
  .search {
    flex-basis: 100%;
  }
  .select-wrap {
    flex: 1;
  }
  .select-wrap select {
    max-width: none;
    font-size: 0.84rem;
  }
  .caption {
    font-size: 9px;
  }
  .detail-grid,
  .press-grid {
    grid-template-columns: 1fr;
  }
  .detail-art {
    aspect-ratio: 2.1;
  }
  .chip {
    padding-inline: 11px;
  }
  .tag {
    font-size: 0.68rem;
  }
  .header-actions .profile-pill {
    max-width: 125px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .count {
    font-size: 0.77rem;
  }
}
@media (max-width: 370px) {
  .grid {
    grid-template-columns: 1fr;
  }
  .card-art {
    aspect-ratio: 2;
  }
  .card h3 {
    font-size: 1.45rem;
  }
  .hero h1 {
    font-size: 43px;
  }
  .brand img {
    width: 50px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.card-title {
  font-size: 1.45rem;
  font-weight: 710;
  letter-spacing: -0.045em;
  line-height: 1.13;
}
@media (max-width: 570px) {
  .card-title {
    font-size: 1.16rem;
  }
}
h4 {
  font-size: 1.12rem;
  margin: 0;
}
.error:empty {
  display: none;
}

.receipt-item small {
  overflow-wrap: anywhere;
}
.receipt-item {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.receipt-item > :nth-child(even) {
  text-align: right;
}
.course-picks {
  display: grid;
  gap: 0.6rem;
}
.link-check {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  font-weight: 600;
}
.link-check input {
  width: 1.2rem;
  height: 1.2rem;
}
.legacy-order {
  display: block;
  margin-top: 0.75rem;
}
