@font-face {
  font-family: Manrope;
  src: url("/assets/gea-font-2.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: Cormorant;
  src: url("/assets/gea-font-1.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}
:root {
  color-scheme: dark;
  color: #f5f1f4;
  background: #0b0a0c;
  font: 16px/1.6 Manrope, sans-serif;
  --muted: #c2b9c5;
  --line: #433a45;
  --accent: #e4d5f0;
}
* { box-sizing: border-box; }
body { margin: 0 auto; max-width: 1280px; padding: 0 clamp(18px, 6vw, 76px) 72px; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
::selection { color: #100c13; background: var(--accent); }
header { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; font-size: .9rem; letter-spacing: .14em; }
.brand img { display: block; object-fit: contain; }
.account { display: flex; align-items: center; gap: 16px; color: var(--muted); font-size: .81rem; }
.skip { position: absolute; left: 20px; top: 14px; background: #0b0a0c; padding: 8px 14px; transform: translateY(-200%); }
.skip:focus { transform: none; }
main { padding-top: clamp(32px, 6vw, 72px); }
h1, h2 { font-family: Cormorant, Georgia, serif; font-weight: 500; line-height: .98; letter-spacing: -.025em; margin: 0 0 18px; overflow-wrap: anywhere; }
h1 { font-size: clamp(3.3rem, 8vw, 5.6rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3rem); }
.workspace main { padding-top: 40px; }
.workspace h1 { font-size: 3.5rem; }
.workspace h2 { font-size: 2.2rem; }
.panel-nav, .local-nav { display: flex; flex-wrap: wrap; align-items: stretch; }
.panel-nav { border-bottom: 1px solid var(--line); gap: 28px; }
.panel-nav a, .local-nav a { display: flex; align-items: center; min-height: 48px; color: var(--muted); text-decoration: none; }
.panel-nav a { border-bottom: 2px solid transparent; }
.panel-nav a:hover, .local-nav a:hover { color: #fff; }
.panel-nav a[aria-current] { color: var(--accent); border-bottom-color: var(--accent); }
.local-nav { align-self: start; }
.local-nav a { padding: 0 14px; border: 1px solid var(--line); }
.local-nav a + a { border-left: 0; }
.local-nav a[aria-current] { color: var(--accent); background: #201825; }
.catalog-tabs { margin: 24px 0 34px; }
.overview-heading, .overview-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}
.overview-heading h1 { margin-bottom: 10px; }
.overview-mode { display: flex; align-items: center; gap: 8px; margin: 0; font-size: .875rem; }
.overview-mode::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.overview-mode[data-mode="test"] { color: var(--accent); }
.overview-mode[data-mode="production"] { color: #b9d8c7; }
.overview-block { margin: 34px 0; background: #151217; padding: 24px 28px; }
.overview h2 { margin: 0; font: 650 1.125rem/1.4 Manrope, sans-serif; letter-spacing: -.02em; }
.overview-toolbar p { margin: 4px 0 0; font-size: .875rem; }
.overview-toolbar .local-nav a { min-height: 44px; font-size: .875rem; }
.metrics { display: grid; grid-template-columns: 1.55fr 1fr 1fr; margin: 18px 0 0; border-top: 1px solid var(--line); }
.metrics div { min-width: 0; padding: 16px 16px 0 0; }
.metrics div + div { padding-left: 20px; }
.metrics dt { color: var(--muted); font-size: .875rem; }
.metrics dd { margin: 4px 0 0; font-size: 1.5rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; line-height: 1.2; }
.metrics div:first-child dd { font-size: 2.35rem; letter-spacing: -.035em; }
.overview-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 40px; }
.overview-grid section { min-width: 0; }
.overview-grid section > h2 { display: flex; align-items: center; min-height: 44px; }
.overview-grid .overview-toolbar { gap: 0 14px; }
.overview-grid .quiet { font-size: .875rem; }
.overview-grid .activity-history { margin-top: 4px; }
.overview-grid .history a { padding-block: 12px; }
.history-value { text-align: right; }
.payment-status { margin-top: 2px; }
.payment-status.is-paid { color: #b9d8c7; }
.overview-empty { margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.overview-grid section + section > p { margin-top: 12px; }
.category-totals, .catalog-list { margin: 0; padding: 0; list-style: none; }
.category-totals { margin-top: 4px; }
.category-totals li + li { margin-top: 15px; }
.category-totals li div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: .875rem; }
.category-totals svg { display: block; margin-top: 7px; width: 100%; height: 4px; fill: var(--line); }
.category-totals .category-share { fill: var(--accent); }
.catalog-list li { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.catalog-list li > div { min-width: 0; }
.catalog-list li .quiet { flex: none; }
.item-name { display: inline-block; font-weight: 650; overflow-wrap: anywhere; text-underline-offset: 4px; }
.form-notice { padding: 10px 0; border-block: 1px solid var(--line); color: var(--accent); }
p { color: var(--muted); margin: 0 0 18px; max-width: 64ch; }
.entry { min-height: 36vh; display: grid; align-items: center; }
.entry-error { display: block; }
.button, .quiet { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.button { border: 1px solid var(--accent); background: var(--accent); color: #140f18; padding: 9px 24px; font-weight: 700; text-decoration: none; }
.button:hover { background: #fff; }
.button:disabled { opacity: .56; cursor: default; background: var(--accent); }
.quiet { padding: 0; border: 0; background: transparent; color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.connection { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; border-block: 1px solid var(--line); margin: 26px 0 44px; }
.connection p { margin: 5px 0 0; }
.meta, small { font-size: .83rem; }
.columns { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: clamp(30px, 7vw, 90px); }
.charge { display: grid; align-items: start; gap: 8px; }
label { display: block; font-size: .9rem; }
input, select, textarea { width: 100%; min-height: 48px; color: inherit; background: #18131b; border: 1px solid #706375; padding: 9px 12px; margin: 0 0 10px; }
textarea { resize: vertical; }
input::placeholder { color: #aba0b0; }
.charge button { justify-self: start; margin-top: 5px; }
.history { list-style: none; margin: 0; padding: 0; }
.history li, .history a { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.history li { border-top: 1px solid var(--line); }
.history li > span { padding: 12px 0; overflow-wrap: anywhere; }
.history a { width: 100%; min-height: 56px; padding: 9px 0; text-decoration: none; overflow-wrap: anywhere; }
.history a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
small { display: block; color: var(--muted); }
.number, .total { font-variant-numeric: tabular-nums; }
.number { white-space: nowrap; }
.total { font-size: 1.35rem; }
.back { display: inline-block; margin-bottom: 18px; color: var(--accent); text-underline-offset: 4px; }
.environment { min-width: 0; }
.environment form { margin: 12px 0 20px; }
.check { display: flex; align-items: start; gap: 10px; margin-top: 12px; }
.check input { width: 18px; min-height: 18px; margin: 3px 0 0; flex: none; }
@media (max-width: 640px) {
  header { min-height: 72px; }
  .workspace main { padding-top: 30px; }
  .workspace h1 { font-size: 2.65rem; }
  .panel-nav { gap: 0 14px; justify-content: space-between; font-size: .88rem; }
  .overview-block { margin: 24px 0 28px; padding: 16px; }
  .overview-grid { grid-template-columns: 1fr; gap: 26px; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .metrics div:first-child { grid-column: 1 / -1; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
  .metrics div:nth-child(2) { padding-left: 0; }
  .metrics div:first-child dd { font-size: 2rem; }
  .entry { min-height: 0; }
  .connection { align-items: start; flex-direction: column; margin-bottom: 30px; }
  .columns { grid-template-columns: 1fr; }
  .account { gap: 10px; }
}
