@import url("./tokens.css");
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.18;
}
h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 46px;
  letter-spacing: -1.7px;
}
h2 {
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 16px;
  font-weight: 600;
}
h1:focus {
  outline: none;
}
strong,
b {
  font-weight: 600;
}
small {
  font-size: 12px;
}
em {
  font-weight: 400;
  color: var(--brand);
}
img {
  display: block;
  max-width: 100%;
}
svg {
  flex-shrink: 0;
}
.icon {
  width: 22px;
  height: 22px;
  vertical-align: middle;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.8px;
  line-height: 1.6;
  text-transform: uppercase;
}
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.section-space {
  margin-top: 36px;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 18px;
}
.section-title h2 {
  margin-top: 4px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 600;
  background: transparent;
  line-height: 1.45;
  text-align: center;
  transition:
    background 0.18s,
    transform 0.18s;
}
.button:hover {
  transform: translateY(-1px);
}
.button .icon {
  width: 18px;
  height: 18px;
}
.primary {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
}
.primary:hover {
  background: var(--brand-hover);
}
.outline {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--ink);
}
.outline:hover {
  background: var(--canvas);
}
.light {
  background: var(--surface);
  color: var(--brand);
}
.light:hover {
  background: #f5eae2;
}
.ghost-light {
  color: white;
  border-color: #ffffff65;
}
.ghost-light:hover {
  background: #ffffff15;
}
.icon-button {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: transparent;
  font-size: 0;
  padding: 10px;
}
.icon-button:hover {
  background: var(--soft);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-weight: 600;
  color: var(--brand);
}
.text-link .icon {
  width: 18px;
  height: 18px;
}
.button-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--line);
  background: var(--soft);
  padding: 4px 9px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.4px;
  line-height: 1.5;
}
.pending,
.ready,
.claimed {
  color: #735416;
  background: #f8edcf;
  border-color: #ead8a7;
}
.approved,
.completed {
  color: #2b5d4e;
  background: #e3eee7;
  border-color: #c4d9cd;
}
.rejected,
.frozen {
  color: #923c42;
  background: #f8e7e8;
  border-color: #eac6c9;
}
.note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 15px 17px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  margin: 18px 0;
}
.note .icon {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--brand);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: fixed;
  left: 20px;
  top: -100px;
  background: white;
  padding: 16px;
  z-index: 100;
}
.skip:focus {
  top: 12px;
}
/* Shell */
.demo-banner {
  min-height: 34px;
  background: var(--brand);
  color: #fff1ed;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 24px;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 0.25px;
  position: relative;
  z-index: 5;
}
.demo-banner > span {
  display: flex;
  align-items: center;
  gap: 10px;
}
.demo-banner i {
  width: 5px;
  height: 5px;
  background: #d6ae8b;
  border-radius: 50%;
}
.demo-banner b {
  opacity: 0.5;
}
.studio-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 5px;
  min-height: 28px;
  font-size: 10px;
}
.studio-toggle .icon {
  width: 14px;
  height: 14px;
}
.demo-studio {
  position: relative;
  z-index: 6;
  background: #f0e8e1;
  border-bottom: 1px solid var(--line-strong);
  padding: 18px 24px;
  display: flex;
  gap: 16px;
  align-items: end;
  flex-wrap: wrap;
}
.studio-field {
  min-width: 170px;
  flex: 1;
}
.studio-field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 5px;
}
.studio-field select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.route-picker {
  flex: 3;
  min-width: 260px;
}
.demo-studio > small {
  width: 100%;
  color: var(--muted);
}
.sidebar {
  position: absolute;
  top: 34px;
  bottom: 0;
  min-height: calc(100vh - 34px);
  width: 228px;
  border-right: 1px solid var(--line);
  padding: 34px 22px 24px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.brand {
  font-family: var(--sans);
  font-size: 34px;
  letter-spacing: 4px;
  font-weight: 650;
  line-height: 1.1;
  color: var(--brand);
  display: block;
  margin: 0 12px 38px;
}
.brand span {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.3px;
  margin-top: 7px;
  color: var(--muted);
}
.nav-caption {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.7px;
  color: var(--muted);
  margin: 16px 14px 10px;
}
.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 47px;
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.nav-item:hover {
  background: var(--soft);
  color: var(--brand);
}
.nav-item.active {
  color: var(--brand);
  background: var(--brand-soft);
  font-weight: 650;
  box-shadow: inset 3px 0 var(--brand);
}
.nav-item .icon {
  width: 20px;
  height: 20px;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 56px;
}
.sidebar-note {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 20px 10px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 11px;
}
.sidebar-note .icon {
  width: 18px;
  height: 18px;
}
.sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
}
.sidebar-user small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}
.sidebar-user > .icon {
  width: 15px;
  margin-left: auto;
}
.small-avatar {
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: #efe3dc;
  color: var(--brand);
  font-family: var(--serif);
  font-size: 20px;
}
.workspace {
  margin-left: 228px;
  min-height: calc(100vh - 34px);
}
.topbar {
  height: 76px;
  margin: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.breadcrumb {
  font-size: 11px;
  color: var(--muted);
}
.breadcrumb span {
  margin: 0 12px;
  color: var(--line-strong);
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.language-button {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 44px;
  font-size: 11px;
}
.language-button .icon {
  width: 17px;
  height: 17px;
}
.notification-button {
  border: 0;
  position: relative;
}
.notification-button:after {
  content: "";
  position: absolute;
  right: 11px;
  top: 10px;
  background: var(--accent);
  width: 4px;
  height: 4px;
  border-radius: 50%;
}
main {
  padding: 34px 40px 56px;
  max-width: 1400px;
  margin: auto;
  min-height: calc(100vh - 200px);
  outline: none;
}
.site-footer {
  margin: 0 40px;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: var(--muted);
}
.site-footer b {
  margin: 0 10px;
}
.mobile-brand,
.mobile-nav {
  display: none;
}
.translation-note {
  font-size: 11px;
  padding: 0 0 18px;
  color: var(--muted);
}
/* Discovery */
.home-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 8px 0 30px;
}
.home-heading h1 {
  font-size: 57px;
  line-height: 1.07;
  margin: 12px 0 17px;
  letter-spacing: -2.3px;
}
.home-heading > div > p:last-child {
  font-size: 13px;
  color: var(--muted);
}
.edition {
  text-align: right;
  font-size: 9px;
  line-height: 1.9;
  letter-spacing: 1.6px;
  color: var(--muted);
  border-right: 2px solid var(--line-strong);
  padding-right: 14px;
}
.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.3fr) minmax(245px, 1fr);
  gap: 22px;
  align-items: stretch;
}
.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  align-self: start;
}
.banner-media {
  background: #2e1327;
}
.banner-media img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.hero-caption {
  padding: 19px 22px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.hero-caption h2 {
  font-size: 17px;
  letter-spacing: -0.3px;
  margin: 4px 0 3px;
}
.hero-caption .eyebrow {
  color: var(--muted);
  font-size: 8px;
}
.hero-caption small {
  font-size: 9px;
  color: var(--muted);
  display: block;
}
.carousel-tools {
  display: flex;
  gap: 6px;
}
.carousel-tools .icon-button {
  min-height: 36px;
  min-width: 36px;
  width: 36px;
  height: 36px;
  padding: 8px;
}
.carousel-tools .icon {
  width: 16px;
  height: 16px;
}
.carousel-dots {
  display: flex;
  gap: 4px;
  padding: 0 18px 7px;
}
.dot {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  position: relative;
  min-height: 44px;
  min-width: 44px;
  padding: 8px;
}
.dot:after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 7px;
  height: 2px;
  background: var(--line);
}
.dot.active {
  color: var(--brand);
  font-weight: 700;
}
.dot.active:after {
  background: var(--brand);
}
.welcome-card {
  background: var(--brand);
  color: #fbf3ee;
  border-radius: var(--radius);
  padding: 25px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.welcome-card:after {
  content: "";
  width: 260px;
  height: 260px;
  border: 1px solid #ffffff0b;
  border-radius: 50%;
  position: absolute;
  right: -150px;
  top: 50px;
  pointer-events: none;
}
.welcome-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.welcome-top > .icon {
  width: 28px;
  height: 28px;
  color: #ddb89c;
}
.welcome-top .tag {
  background: #ffffff08;
  border-color: #ffffff30;
  color: #ead5c9;
  font-size: 8px;
}
.welcome-card .eyebrow {
  color: #d8bda9;
  font-size: 8px;
  margin-bottom: 11px;
}
.welcome-card h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 34px;
  line-height: 1.12;
  letter-spacing: -0.7px;
  margin-bottom: 15px;
}
.welcome-card p:not(.eyebrow) {
  font-size: 11px;
  line-height: 1.9;
  color: #dfc8cf;
}
.welcome-card .button {
  justify-content: space-between;
  z-index: 1;
}
.welcome-footer {
  border-top: 1px solid #ffffff20;
  padding-top: 14px;
  font-size: 9px;
  color: #d9c3c7;
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: -6px;
}
.welcome-footer .icon {
  width: 14px;
  height: 14px;
}
.notice-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 9px;
  margin-top: 22px;
  padding: 14px 18px;
  font-size: 11px;
  color: var(--muted);
}
.notice-strip > .icon {
  width: 17px;
  height: 17px;
  color: var(--brand);
}
.notice-strip > .icon:last-child {
  margin-left: auto;
}
.notice-strip .eyebrow {
  font-size: 9px;
  color: var(--brand);
  white-space: nowrap;
}
.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.quick-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  position: relative;
  gap: 18px;
  transition:
    border 0.2s,
    transform 0.2s;
}
.quick-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.quick-card h3 {
  font-size: 14px;
  margin-bottom: 5px;
}
.quick-card p {
  font-size: 10px;
  color: var(--muted);
}
.quick-card > .icon {
  position: absolute;
  top: 25px;
  right: 18px;
  width: 16px;
  height: 16px;
  color: var(--muted);
}
.quick-icon {
  width: 39px;
  height: 39px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: var(--brand);
  background: var(--brand-soft);
}
.quick-icon .icon {
  width: 21px;
  height: 21px;
}
.tone-1 {
  background: #eee6dc;
  color: #806445;
}
.tone-2 {
  background: #e6ece3;
  color: #516749;
}
.tone-3 {
  background: #e8e7ed;
  color: #635975;
}
.explore-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.editorial-tile {
  background: #eaded3;
  border: 1px solid #deccbb;
  border-radius: var(--radius);
  padding: 30px;
  position: relative;
  overflow: hidden;
}
.editorial-tile:after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border: 1px solid #b59b8540;
  border-radius: 50%;
  right: -90px;
  top: 20px;
  pointer-events: none;
}
.tile-mark {
  position: absolute;
  right: 32px;
  top: 30px;
  color: #a98b70;
}
.tile-mark .icon {
  width: 50px;
  height: 50px;
}
.editorial-tile > .eyebrow {
  font-size: 8px;
  color: #795d4b;
}
.editorial-tile h2 {
  font-family: var(--serif);
  font-size: 35px;
  font-weight: 400;
  letter-spacing: -0.8px;
  margin: 17px 0 26px;
  color: #503828;
}
.editorial-tile > span {
  font-size: 11px;
  color: #624431;
  display: flex;
  gap: 14px;
  align-items: center;
}
.editorial-tile > span > .icon {
  width: 17px;
  height: 17px;
}
.discover-panel {
  padding: 28px;
}
.discover-panel .eyebrow {
  font-size: 8px;
  color: var(--muted);
  margin-bottom: 16px;
}
.discover-panel h2 {
  font-family: var(--serif);
  font-size: 29px;
  margin-bottom: 13px;
}
.discover-panel > p.muted {
  font-size: 11px;
  line-height: 1.9;
  margin-bottom: 12px;
  max-width: 340px;
}
.discover-panel > .text-link {
  display: flex;
  border-top: 1px solid var(--line);
  font-size: 11px;
  padding: 12px 0;
}
.discover-panel > .text-link .icon {
  margin-left: auto;
}
/* Shared page and forms */
.page-heading {
  display: flex;
  gap: 18px;
  align-items: center;
  margin: 6px 0 30px;
}
.page-heading .eyebrow {
  font-size: 9px;
  color: var(--muted);
  margin-bottom: 7px;
}
.page-heading h1 {
  font-size: 42px;
  overflow-wrap: anywhere;
}
.page-heading .muted {
  font-size: 12px;
  margin-top: 10px;
}
.back-button {
  background: var(--surface);
}
.flow-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 55px;
  align-items: start;
  margin-top: 28px;
}
.form-panel {
  padding: 30px;
  min-width: 0;
}
.form-panel.narrow {
  max-width: 600px;
}
.flow-aside {
  padding: 18px 0;
}
.flow-aside .eyebrow {
  color: var(--muted);
  font-size: 9px;
}
.flow-aside h2 {
  font-family: var(--serif);
  font-size: 41px;
  font-weight: 400;
  letter-spacing: -1.2px;
  line-height: 1.12;
  margin: 15px 0 20px;
  color: var(--brand);
}
.flow-aside > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 13px;
  max-width: 360px;
}
.flow-aside > .text-link {
  font-size: 12px;
}
.step-kicker {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-bottom: 22px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}
.step-kicker > span {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--accent);
}
.field {
  margin: 20px 0;
}
.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
}
.field label > span {
  color: var(--accent);
}
input,
select,
textarea {
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  border-radius: 7px;
  padding: 12px;
  min-height: 46px;
  max-width: 100%;
  width: 100%;
  line-height: 1.45;
}
input::placeholder,
textarea::placeholder {
  color: var(--muted);
}
input[type="checkbox"],
input[type="radio"] {
  width: 18px;
  height: 18px;
  min-height: 18px;
  accent-color: var(--brand);
  flex-shrink: 0;
}
input[type="checkbox"] {
  border-radius: 4px;
}
.input-wrap {
  position: relative;
}
.input-wrap input[type="password"],
.input-wrap input[type="text"]:has(+ button) {
  padding-right: 50px;
}
.input-wrap > .icon-button {
  position: absolute;
  right: 2px;
  top: 1px;
  border: 0;
}
.input-wrap > .icon-button .icon {
  width: 18px;
  height: 18px;
}
.field small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 8px;
}
.field-error {
  font-size: 11px;
  color: var(--danger);
  display: block;
  margin-top: 5px;
}
.field input[aria-invalid="true"] {
  border-color: var(--danger);
}
.form-error {
  background: #fbebeb;
  color: var(--danger);
  padding: 13px 16px;
  border: 1px solid #e8c4c7;
  border-radius: 7px;
  margin-bottom: 20px;
  font-size: 12px;
}
.form-error[hidden] {
  display: none;
}
.save-result:not(:empty) {
  font-size: 12px;
  background: #e7f0e8;
  color: #315a43;
  border: 1px solid #ccdacc;
  border-radius: 7px;
  padding: 14px;
  margin-top: 18px;
}
.channel-group {
  border: 0;
  margin: 0 0 20px;
  padding: 0;
  min-width: 0;
}
.channel-group legend {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}
.channel {
  display: flex;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  align-items: center;
}
.channel.selected {
  border-color: var(--brand);
  background: #fcf7f6;
}
.channel > span {
  min-width: 0;
}
.channel > span small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}
.channel .icon {
  width: 23px;
  color: var(--brand);
}
.channel .tag {
  margin-left: auto;
  font-size: 8px;
}
.channel strong {
  font-size: 12px;
}
.checkbox,
.demo-credential {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 11px;
  line-height: 1.7;
  margin: 22px 0;
}
.checkbox input,
.demo-credential input {
  margin: 0 0 0 0;
}
.amount-shortcuts {
  display: flex;
  gap: 8px;
  margin-top: -4px;
}
.amount-option {
  border: 1px solid var(--line);
  background: var(--soft);
  border-radius: 6px;
  min-height: 44px;
  padding: 9px 15px;
  font-size: 11px;
}
.amount-option:hover {
  border-color: var(--brand);
}
.process-list {
  list-style: none;
  padding: 0;
  counter-reset: steps;
  margin: 25px 0;
  color: var(--muted);
  font-size: 12px;
}
.process-list li {
  counter-increment: steps;
  display: flex;
  gap: 14px;
  margin: 18px 0;
}
.process-list li:before {
  content: "0" counter(steps);
  color: var(--accent);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.3;
}
.progress-steps {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 10px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
  margin-bottom: 24px;
}
.progress-steps span {
  padding-bottom: 8px;
}
.progress-steps .active {
  color: var(--brand);
  font-weight: 650;
  border-bottom: 2px solid var(--brand);
  margin-bottom: -20px;
  padding-bottom: 26px;
}
.amount-review {
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 17px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.amount-review span {
  font-size: 11px;
  color: var(--muted);
}
.amount-review strong {
  font-size: 27px;
  font-family: var(--serif);
  font-weight: 400;
  overflow-wrap: anywhere;
}
/* Account and membership */
.account-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.member-identity {
  display: flex;
  gap: 18px;
  padding: 26px;
  align-items: center;
  min-width: 0;
}
.member-identity h2 {
  font-family: var(--serif);
  font-size: 28px;
  margin: 7px 0 13px;
  overflow-wrap: anywhere;
}
.member-identity .eyebrow {
  font-size: 8px;
  color: var(--muted);
}
.member-identity > .icon-button {
  margin-left: auto;
  flex-shrink: 0;
}
.member-identity > div:nth-child(2) {
  min-width: 0;
}
.avatar {
  width: 65px;
  height: 65px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eaddd3;
  color: var(--brand);
  font-family: var(--serif);
  font-size: 36px;
  position: relative;
}
.avatar > span {
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #71856d;
  right: 2px;
  bottom: 2px;
  border: 3px solid var(--surface);
}
.balance-card {
  background: var(--brand);
  color: white;
  border-radius: var(--radius);
  padding: 27px;
}
.balance-card .eyebrow {
  font-size: 8px;
  color: #dec8d0;
}
.balance-card strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 39px;
  letter-spacing: -1px;
  line-height: 1.3;
  display: block;
  margin-top: 8px;
  overflow-wrap: anywhere;
}
.balance-card p:not(.eyebrow) {
  font-size: 9px;
  color: #d9c0c8;
  margin: 5px 0 18px;
}
.balance-card .button {
  min-height: 40px;
  font-size: 11px;
  padding: 9px 14px;
}
.invite-mini {
  margin: 22px 0;
  padding: 16px 24px;
  display: flex;
  gap: 17px;
  align-items: center;
  flex-wrap: wrap;
}
.invite-mini .eyebrow {
  font-size: 8px;
  color: var(--muted);
}
.invite-mini strong {
  font-size: 15px;
  letter-spacing: 1px;
}
.invite-mini .button {
  margin-left: auto;
  font-size: 11px;
}
.icon-disc {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--soft);
  display: grid;
  place-items: center;
  color: var(--brand);
}
.copy-result {
  font-size: 11px;
  color: #315a43;
}
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.menu-item {
  display: flex;
  gap: 15px;
  align-items: center;
  min-height: 78px;
  padding: 20px;
  font-size: 12px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.menu-item:nth-child(3n) {
  border-right: 0;
}
.menu-item:nth-last-child(-n + 3) {
  border-bottom: 0;
}
.menu-item > .icon:first-child {
  color: var(--brand);
  width: 20px;
  height: 20px;
}
.menu-item > .icon:last-child {
  margin-left: auto;
  color: var(--muted);
  width: 14px;
  height: 14px;
}
.menu-item:hover {
  background: var(--soft);
}
.account-footer {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 24px;
  font-size: 11px;
}
.account-footer > .button {
  margin-left: auto;
}
.membership-intro {
  padding: 28px 0 45px;
}
.membership-intro .eyebrow {
  color: var(--accent);
}
.membership-intro h2 {
  font-family: var(--serif);
  font-size: 53px;
  letter-spacing: -1.6px;
  font-weight: 400;
  line-height: 1.08;
  margin: 16px 0 18px;
  color: var(--brand);
}
.membership-intro > p:last-child {
  max-width: 500px;
  color: var(--muted);
  font-size: 12px;
}
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.tier-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 27px;
  min-width: 0;
}
.tier-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 44px;
  gap: 10px;
}
.tier-top > .icon {
  width: 32px;
  height: 32px;
  color: #8e725b;
}
.tier-card .eyebrow {
  font-size: 8px;
  color: var(--muted);
}
.tier-card h2 {
  font-family: var(--serif);
  font-size: 39px;
  font-weight: 400;
  margin: 9px 0 14px;
}
.tier-card p:not(.eyebrow) {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.9;
}
.tier-card ul {
  list-style: none;
  padding: 0;
  margin: 25px 0;
  font-size: 11px;
  line-height: 2.5;
}
.tier-card li:before {
  content: "✓";
  margin-right: 8px;
}
.tier-card .button {
  width: 100%;
  font-size: 11px;
}
.current-tier {
  border-color: var(--brand);
  background: #fcf7f4;
}
.current-tier .tag {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
}
.current-tier .tier-top > .icon {
  color: var(--brand);
}
.benefit-panel {
  padding: 60px;
  max-width: 800px;
}
.benefit-panel > .icon {
  width: 48px;
  height: 48px;
  color: var(--brand);
  margin-bottom: 30px;
}
.benefit-panel .eyebrow {
  color: var(--muted);
}
.benefit-panel h2 {
  font-family: var(--serif);
  font-size: 36px;
  margin: 16px 0;
}
.benefit-panel > p:last-of-type {
  color: var(--muted);
  max-width: 500px;
  margin-bottom: 25px;
}
.language-panel {
  padding: 30px;
}
.language-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}
.language-choice {
  display: flex;
  align-items: center;
  gap: 15px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--surface);
  min-height: 60px;
}
.language-choice.selected {
  border-color: var(--brand);
  background: var(--brand-soft);
  box-shadow: inset 3px 0 var(--brand);
}
.language-choice .icon {
  color: var(--brand);
  width: 19px;
  height: 19px;
}
.invite-feature {
  background: #eee2d8;
  border-radius: var(--radius);
  padding: 55px;
  max-width: 850px;
  position: relative;
  overflow: hidden;
}
.invite-feature h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 51px;
  margin: 18px 0;
  color: var(--brand);
}
.invite-feature > p:not(.eyebrow) {
  max-width: 390px;
  color: var(--muted);
  font-size: 12px;
}
.invite-art {
  position: absolute;
  right: 45px;
  top: 55px;
  color: #b08b75;
}
.invite-art .icon {
  width: 110px;
  height: 110px;
  stroke-width: 0.6;
}
.invite-code {
  display: flex;
  gap: 20px;
  align-items: center;
  max-width: 380px;
  padding: 14px 20px;
  border: 1px dashed #b89480;
  background: #ffffff60;
  border-radius: 8px;
  margin: 25px 0;
}
.invite-code code {
  letter-spacing: 2px;
  flex: 1;
}
.invite-feature > .button {
  display: flex;
  max-width: 380px;
  margin-top: 20px;
}
/* Activity and lists */
.tabs {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  margin-bottom: 12px;
}
.tab {
  min-height: 44px;
  padding: 10px 18px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 7px;
  color: var(--muted);
  font-size: 12px;
}
.tab.selected {
  color: var(--brand);
  border-color: var(--line);
  background: var(--brand-soft);
  font-weight: 650;
}
.tab.selected:before {
  content: "•";
  margin-right: 7px;
}
.orders-panel,
.records-panel {
  padding: 25px;
  margin: 24px 0;
}
.list-heading {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 0.5px;
  color: var(--muted);
  padding: 14px 0;
}
.order-item {
  border-top: 1px solid var(--line);
}
summary {
  list-style: none;
  cursor: pointer;
}
summary::-webkit-details-marker {
  display: none;
}
.order-item summary {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 21px 0;
  min-width: 0;
}
.order-number {
  font-family: var(--serif);
  font-size: 23px;
  color: #8c6e5e;
  width: 32px;
  flex-shrink: 0;
}
.order-body {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.order-body > small {
  font-size: 9px;
  letter-spacing: 0.5px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.order-body > strong {
  font-size: 13px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.order-body > span {
  font-size: 9px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.order-body .tag {
  font-size: 8px;
}
.order-total {
  min-width: 100px;
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.order-total strong {
  font-size: 15px;
}
.order-total small {
  font-size: 9px;
  color: var(--muted);
}
.order-item summary > .icon,
.record summary > .icon {
  width: 15px;
  height: 15px;
  color: var(--muted);
}
details[open] > summary > .icon:last-child {
  transform: rotate(90deg);
}
.order-detail {
  padding: 5px 0 20px 50px;
}
.order-detail dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
dl {
  margin: 20px 0;
}
dl > div {
  min-width: 0;
}
dt {
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 5px;
}
dd {
  font-size: 13px;
  margin: 0;
  overflow-wrap: anywhere;
}
.pagination {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 10px;
  color: var(--muted);
}
.pagination > div {
  display: flex;
  gap: 12px;
  align-items: center;
}
.pagination .button {
  font-size: 10px;
  padding: 10px 12px;
  min-height: 44px;
}
.pagination .icon {
  width: 13px;
  height: 13px;
}
.date-filter {
  display: flex;
  gap: 12px;
  align-items: end;
  flex-wrap: wrap;
  margin: 20px 0 25px;
}
.date-filter label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 10px;
  flex: 1;
  min-width: 140px;
}
.date-filter input {
  font-size: 12px;
}
.date-filter .button {
  font-size: 11px;
}
.record {
  border-top: 1px solid var(--line);
}
.record summary {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 0;
}
.record-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--soft);
  border-radius: 50%;
  color: var(--brand);
}
.record-icon .icon {
  width: 19px;
  height: 19px;
}
.record-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}
.record-title strong {
  font-size: 12px;
  overflow-wrap: anywhere;
}
.record-title small {
  font-size: 9px;
  color: var(--muted);
}
.record-amount {
  display: flex;
  align-items: end;
  flex-direction: column;
  gap: 5px;
}
.record-amount strong {
  font-size: 15px;
}
.record-amount .tag {
  font-size: 8px;
}
.record-detail {
  padding: 0 0 22px 58px;
  color: var(--muted);
  font-size: 12px;
}
.record-detail dl {
  display: flex;
  gap: 30px;
}
.record-detail select {
  margin-top: 8px;
  font-size: 12px;
  max-width: 260px;
  display: block;
}
.task-panel {
  padding: 30px;
}
.task-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--brand);
  margin-bottom: 26px;
}
.task-top > .icon {
  width: 30px;
  height: 30px;
}
.task-panel h2 {
  font-family: var(--serif);
  font-size: 33px;
  margin-bottom: 20px;
}
.task-amount {
  font-family: var(--serif);
  font-size: 45px;
  color: var(--brand);
  margin: 25px 0;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 22px 0;
  border-block: 1px solid var(--line);
}
.report-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.report-stats .panel {
  padding: 25px;
}
.report-stats p {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 13px;
}
.report-stats strong {
  font-family: var(--serif);
  font-size: 33px;
  font-weight: 400;
  overflow-wrap: anywhere;
}
.records-panel + .button {
  margin-top: 4px;
}
/* Auth, content and states */
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  align-items: stretch;
}
.auth-story {
  background: var(--brand);
  color: #f7eee8;
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 590px;
  position: relative;
  overflow: hidden;
}
.auth-story:after {
  content: "";
  width: 330px;
  height: 330px;
  border: 1px solid #ffffff15;
  border-radius: 50%;
  position: absolute;
  right: -170px;
  top: 180px;
  pointer-events: none;
}
.auth-story .brand {
  color: #f7eee8;
  margin: 0 0 60px;
  font-size: 27px;
}
.auth-story .brand span {
  color: #d9c0c8;
}
.auth-story .eyebrow {
  font-size: 9px;
  color: #d6b493;
}
.auth-story h1 {
  font-size: 55px;
  line-height: 1.08;
  margin: 20px 0;
}
.auth-story p:not(.eyebrow) {
  font-size: 12px;
  color: #dfc9ce;
  max-width: 240px;
}
.auth-story > span {
  font-size: 9px;
  letter-spacing: 1.8px;
  margin-top: 60px;
  color: #d6b493;
}
.auth-panel {
  padding: 34px;
}
.auth-panel > h2 {
  font-family: var(--serif);
  font-size: 36px;
  margin: 22px 0 12px;
}
.auth-panel > .muted {
  font-size: 11px;
}
.auth-panel form > .button {
  width: 100%;
  margin-top: 8px;
}
.auth-other {
  margin: 18px 0;
  font-size: 11px;
}
.auth-panel .note {
  font-size: 10px;
}
.auth-panel .field {
  margin: 15px 0;
}
.sms-preview {
  font-size: 10px;
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 15px;
}
.sms-preview .button {
  font-size: 10px;
}
.notification-panel {
  padding: 32px;
  max-width: 850px;
}
.notification-lead {
  display: flex;
  align-items: start;
  gap: 24px;
  margin-bottom: 30px;
}
.notification-lead > .icon {
  width: 35px;
  height: 35px;
  color: var(--brand);
  margin-top: 8px;
}
.notification-lead h2 {
  font-family: var(--serif);
  font-size: 34px;
  margin: 20px 0 16px;
}
.notification-lead p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
}
.faq {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}
.faq summary {
  min-height: 30px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.faq summary:after {
  content: "+";
  color: var(--brand);
  font-size: 20px;
}
.faq[open] summary:after {
  content: "−";
}
.faq > p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
  margin: 12px 0 0;
}
.support-icon {
  width: 52px;
  height: 52px;
  background: var(--soft);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--brand);
  margin-bottom: 20px;
}
.support-icon .icon {
  width: 25px;
  height: 25px;
}
.form-panel > h2 {
  font-family: var(--serif);
  font-size: 32px;
  margin-bottom: 13px;
}
.form-panel > .muted {
  font-size: 12px;
}
.demo-message {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 18px;
  margin-top: 22px;
  background: var(--soft);
  font-size: 12px;
  overflow-wrap: anywhere;
}
.demo-message strong {
  font-size: 10px;
  color: var(--brand);
}
.demo-message p {
  margin: 8px 0;
}
.demo-message small {
  font-size: 10px;
  color: var(--muted);
}
.empty {
  text-align: center;
  padding: 60px 24px;
  margin: 24px 0;
}
.empty-symbol {
  width: 65px;
  height: 65px;
  background: var(--soft);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  color: var(--brand);
}
.empty-symbol .icon {
  width: 29px;
  height: 29px;
}
.empty h2 {
  font-family: var(--serif);
  font-size: 32px;
}
.empty p {
  max-width: 450px;
  font-size: 12px;
  color: var(--muted);
  margin: 18px auto 25px;
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.media-card {
  overflow: hidden;
}
.media-placeholder {
  background: #ede7e3;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 15px;
  padding: 30px;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
  border-radius: var(--radius);
}
.media-placeholder > .icon {
  width: 40px;
  height: 40px;
  stroke-width: 1;
}
.media-placeholder > h2 {
  font-family: var(--serif);
  font-size: 28px;
}
.media-copy {
  padding: 23px;
}
.media-copy h2 {
  font-size: 19px;
  margin: 18px 0 12px;
}
.media-copy p {
  font-size: 11px;
  line-height: 1.9;
  margin-bottom: 20px;
}
.media-copy > .button {
  font-size: 11px;
}
.skeleton-panel {
  padding: 40px;
  max-width: 900px;
}
.skeleton {
  height: 44px;
  border-radius: 7px;
  background: linear-gradient(100deg, #f1e9e3 20%, #faf5f0 50%, #f1e9e3 80%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  margin-bottom: 22px;
}
.skeleton:first-child {
  height: 200px;
}
.skeleton-panel p {
  font-size: 12px;
  color: var(--muted);
  margin: 20px 0;
}
.contract-panel {
  padding: 35px;
}
.contract-panel code {
  font-size: 12px;
  overflow-wrap: anywhere;
}
.contract-panel h2 {
  margin: 25px 0 15px;
  font-family: var(--serif);
  font-size: 35px;
}
.contract-panel p {
  color: var(--muted);
  margin-bottom: 25px;
  font-size: 12px;
}
/* Modal */
dialog {
  border: 1px solid var(--line);
  border-radius: 16px;
  width: min(540px, calc(100% - 32px));
  padding: 0;
  background: var(--surface);
  color: var(--ink);
  max-height: calc(100dvh - 32px);
  box-shadow: 0 25px 100px #24131d30;
}
dialog::backdrop {
  background: #2d172d66;
  backdrop-filter: blur(4px);
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: var(--surface);
  z-index: 1;
}
.modal-head h2 {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 400;
  overflow-wrap: anywhere;
}
.modal-head .icon-button {
  flex-shrink: 0;
}
.modal-body {
  padding: 24px;
  font-size: 13px;
}
.modal-body > p {
  color: var(--muted);
  margin-bottom: 20px;
  overflow-wrap: anywhere;
}
.modal-body > .button {
  display: flex;
  width: 100%;
  margin-top: 10px;
}
.modal-body dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.modal-body .amount-review {
  margin: 20px 0;
}
.modal-body .button-row {
  margin-top: 24px;
}
.modal-body .button-row > .button {
  flex: 1;
}
@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}
@media (min-width: 1700px) {
  .home-grid {
    grid-template-columns: minmax(0, 2.5fr) minmax(250px, 1fr);
  }
  .welcome-card {
    padding: 32px;
    gap: 30px;
  }
  .welcome-card h2 {
    font-size: 43px;
  }
  .welcome-card p:not(.eyebrow) {
    font-size: 13px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 200px;
    padding-inline: 16px;
  }
  .workspace {
    margin-left: 200px;
  }
  .topbar {
    margin-inline: 28px;
  }
  main {
    padding-inline: 28px;
  }
  .site-footer {
    margin-inline: 28px;
  }
  .home-heading h1 {
    font-size: 50px;
  }
  .home-grid {
    grid-template-columns: minmax(0, 1.8fr) minmax(220px, 1fr);
    gap: 16px;
  }
  .welcome-card {
    padding: 20px;
    gap: 18px;
  }
  .welcome-card h2 {
    font-size: 30px;
  }
  .welcome-footer {
    font-size: 8px;
  }
  .quick-card {
    padding: 18px 14px;
  }
  .quick-card p {
    font-size: 9px;
  }
  .quick-card h3 {
    font-size: 13px;
  }
  .hero-caption {
    padding: 16px;
  }
  .hero-caption h2 {
    font-size: 15px;
  }
  .hero-caption small {
    font-size: 8px;
  }
  .flow-grid {
    gap: 30px;
  }
  .account-grid {
    grid-template-columns: 1fr 1fr;
  }
  .member-identity {
    padding: 22px;
    gap: 12px;
  }
  .member-identity h2 {
    font-size: 24px;
  }
  .avatar {
    width: 48px;
    height: 48px;
    font-size: 28px;
  }
  .tier-card {
    padding: 22px;
  }
  .auth-story {
    padding: 28px;
  }
  .auth-panel {
    padding: 25px;
  }
  .auth-story h1 {
    font-size: 44px;
  }
}
@media (max-width: 1000px) {
  .home-grid {
    grid-template-columns: 1fr;
  }
  .welcome-card {
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 24px;
  }
  .welcome-top {
    display: none;
  }
  .welcome-card h2 {
    font-size: 28px;
  }
  .welcome-card h2 br {
    display: none;
  }
  .welcome-card > div > p:last-child {
    max-width: 400px;
  }
  .welcome-card > .button {
    align-self: center;
  }
  .welcome-card .eyebrow {
    font-size: 8px;
  }
  .welcome-footer {
    grid-column: 1/-1;
  }
  .welcome-card .eyebrow {
    margin-bottom: 7px;
  }
  .hero-caption h2 {
    font-size: 18px;
  }
  .quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .quick-card {
    flex-direction: row;
    align-items: center;
  }
  .quick-card > .icon {
    display: none;
  }
  .quick-card p {
    font-size: 10px;
  }
  .quick-card h3 {
    font-size: 14px;
  }
  .explore-grid {
    gap: 16px;
  }
  .editorial-tile {
    padding: 23px;
  }
  .editorial-tile h2 {
    font-size: 29px;
  }
  .discover-panel {
    padding: 23px;
  }
  .discover-panel h2 {
    font-size: 26px;
  }
  .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .menu-item:nth-child(3n) {
    border-right: 1px solid var(--line);
  }
  .menu-item:nth-child(2n) {
    border-right: 0;
  }
  .menu-item:nth-last-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }
  .menu-item:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
  .account-grid {
    grid-template-columns: 1fr;
  }
  .flow-grid {
    gap: 25px;
  }
  .form-panel {
    padding: 23px;
  }
  .flow-aside h2 {
    font-size: 34px;
  }
  .tier-grid {
    gap: 12px;
  }
  .tier-card {
    padding: 18px;
  }
  .tier-card .button {
    padding-inline: 9px;
  }
  .tier-card h2 {
    font-size: 32px;
  }
  .tier-top {
    flex-wrap: wrap;
    margin-bottom: 25px;
  }
  .auth-layout {
    grid-template-columns: 1fr;
  }
  .auth-story {
    min-height: auto;
    padding: 24px;
    display: block;
  }
  .auth-story .brand,
  .auth-story > span,
  .auth-story .eyebrow {
    display: none;
  }
  .auth-story h1 {
    font-size: 37px;
    margin: 0 0 15px;
  }
  .auth-story h1 br {
    display: none;
  }
  .auth-story p:not(.eyebrow) {
    max-width: none;
  }
  .media-grid {
    grid-template-columns: 1fr 1fr;
  }
  .report-stats {
    gap: 12px;
  }
  .report-stats .panel {
    padding: 18px;
  }
  .report-stats strong {
    font-size: 28px;
  }
  .invite-art {
    right: 25px;
  }
  .invite-art .icon {
    width: 70px;
    height: 70px;
  }
  .invite-feature {
    padding: 35px;
  }
  .invite-feature h2 {
    font-size: 43px;
  }
}
@media (max-width: 767px) {
  .sidebar {
    display: none;
  }
  .workspace {
    margin-left: 0;
  }
  .demo-banner {
    padding: 7px 16px;
    min-height: 34px;
    font-size: 8px;
  }
  .demo-banner > span {
    gap: 7px;
  }
  .demo-banner > span > b,
  .demo-banner > span > b + * {
    display: none;
  }
  .studio-toggle {
    font-size: 9px;
    min-height: 30px;
  }
  .demo-studio {
    padding: 15px 18px;
    gap: 12px;
  }
  .demo-studio .studio-field {
    width: 100%;
    flex: 1 1 100%;
    min-width: 0;
  }
  .demo-studio .route-picker select {
    font-size: 11px;
  }
  .demo-studio .button {
    font-size: 11px;
  }
  .demo-studio > small {
    font-size: 10px;
  }
  .topbar {
    height: 68px;
    margin: 0 22px;
  }
  .breadcrumb {
    display: none;
  }
  .mobile-brand {
    display: block;
    font-size: 26px;
    letter-spacing: 3px;
    font-weight: 650;
    color: var(--brand);
  }
  .topbar-actions {
    gap: 15px;
  }
  .notification-button {
    min-width: 34px;
    width: 34px;
  }
  .notification-button:after {
    right: 6px;
  }
  .topbar-actions .language-button {
    font-size: 10px;
  }
  main {
    padding: 28px 22px 34px;
    min-height: 70vh;
  }
  .home-heading {
    margin: 0 0 25px;
    gap: 16px;
  }
  .home-heading h1 {
    font-size: 45px;
    margin: 10px 0 15px;
    letter-spacing: -1.8px;
  }
  .home-heading > div > p:last-child {
    font-size: 11px;
    max-width: 270px;
  }
  .home-heading .eyebrow {
    font-size: 8px;
    letter-spacing: 1.5px;
  }
  .edition {
    display: none;
  }
  .home-grid {
    gap: 16px;
  }
  .hero-caption {
    padding: 15px 16px 8px;
    gap: 12px;
  }
  .hero-caption h2 {
    font-size: 16px;
  }
  .hero-caption small {
    font-size: 8px;
    line-height: 1.6;
  }
  .hero-caption .eyebrow {
    font-size: 7px;
  }
  .carousel-tools {
    gap: 4px;
  }
  .carousel-tools .icon-button {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }
  .carousel-dots {
    padding: 0 12px 3px;
  }
  .welcome-card {
    padding: 21px;
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .welcome-card h2 {
    font-size: 28px;
    margin-bottom: 10px;
  }
  .welcome-card p:not(.eyebrow) {
    font-size: 11px;
    max-width: 400px;
  }
  .welcome-card .button {
    max-width: 100%;
    justify-content: space-between;
  }
  .welcome-footer {
    padding-top: 13px;
    margin: 0;
    font-size: 9px;
  }
  .notice-strip {
    margin-top: 16px;
    gap: 10px;
    padding: 14px 15px;
    font-size: 10px;
    line-height: 1.7;
    align-items: flex-start;
  }
  .notice-strip .eyebrow {
    display: none;
  }
  .notice-strip > .icon {
    margin-top: 1px;
  }
  .section-space {
    margin-top: 29px;
  }
  .section-title {
    gap: 12px;
    align-items: start;
    flex-direction: column;
    margin-bottom: 16px;
  }
  .section-title .eyebrow {
    font-size: 8px;
  }
  .section-title h2 {
    font-size: 21px;
  }
  .section-title .tag {
    font-size: 8px;
  }
  .quick-grid {
    gap: 10px;
  }
  .quick-card {
    padding: 16px 13px;
    flex-direction: column;
    align-items: start;
    gap: 14px;
  }
  .quick-card h3 {
    font-size: 13px;
  }
  .quick-card p {
    font-size: 10px;
  }
  .quick-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }
  .quick-card > .icon {
    display: block;
    top: 24px;
    right: 15px;
    width: 14px;
  }
  .explore-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .editorial-tile {
    padding: 27px;
  }
  .editorial-tile h2 {
    font-size: 34px;
  }
  .tile-mark {
    right: 28px;
    top: 30px;
  }
  .discover-panel {
    padding: 25px;
  }
  .discover-panel h2 {
    font-size: 29px;
  }
  .discover-panel > p.muted {
    font-size: 12px;
  }
  .discover-panel > .text-link {
    font-size: 12px;
  }
  .site-footer {
    margin: 0 22px;
    padding: 22px 0 110px;
    flex-direction: column;
    gap: 6px;
    font-size: 9px;
  }
  .mobile-nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    position: fixed;
    z-index: 10;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fffdfaee;
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--line);
    padding: 7px 6px calc(7px + env(safe-area-inset-bottom));
  }
  .mobile-nav .nav-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-height: 54px;
    padding: 7px 3px 5px;
    border-radius: 7px;
    font-size: 8px;
    line-height: 1.3;
    text-align: center;
  }
  .mobile-nav .nav-item .icon {
    width: 22px;
    height: 22px;
  }
  .mobile-nav .nav-item.active {
    box-shadow: inset 0 2px var(--brand);
  }
  .page-heading {
    gap: 13px;
    margin: 0 0 25px;
  }
  .page-heading .eyebrow {
    font-size: 8px;
  }
  .page-heading h1 {
    font-size: 34px;
    letter-spacing: -1px;
  }
  .page-heading .muted {
    font-size: 11px;
  }
  .back-button {
    min-width: 44px;
  }
  .flow-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 20px;
  }
  .form-panel {
    padding: 23px;
  }
  .flow-aside {
    padding: 0 3px;
  }
  .flow-aside h2 {
    font-size: 37px;
  }
  .flow-aside h2 br {
    display: none;
  }
  .flow-aside > p:not(.eyebrow) {
    max-width: none;
    font-size: 12px;
  }
  .flow-aside .process-list {
    margin: 20px 0;
  }
  .field label {
    font-size: 12px;
  }
  input,
  select,
  textarea {
    font-size: 16px;
  }
  .channel {
    gap: 10px;
    padding: 14px;
  }
  .channel .tag {
    display: none;
  }
  .channel strong {
    font-size: 12px;
  }
  .note {
    padding: 14px;
    gap: 10px;
    font-size: 11px;
  }
  .progress-steps {
    font-size: 9px;
  }
  .form-panel .button-row .button {
    flex: 1;
  }
  .account-grid {
    gap: 16px;
  }
  .member-identity {
    padding: 22px;
  }
  .member-identity h2 {
    font-size: 26px;
  }
  .member-identity .avatar {
    width: 52px;
    height: 52px;
    font-size: 28px;
  }
  .member-identity > .icon-button {
    width: 34px;
    min-width: 34px;
    border: 0;
  }
  .balance-card {
    padding: 25px;
  }
  .balance-card strong {
    font-size: 40px;
  }
  .balance-card .button {
    min-height: 44px;
  }
  .balance-card .eyebrow {
    font-size: 9px;
  }
  .invite-mini {
    padding: 16px;
    gap: 13px;
    margin-top: 16px;
  }
  .invite-mini .button {
    font-size: 10px;
    padding: 10px;
  }
  .invite-mini .icon-disc {
    display: none;
  }
  .invite-mini .eyebrow {
    font-size: 7px;
  }
  .menu-item {
    padding: 19px 15px;
    gap: 11px;
    min-height: 80px;
    font-size: 11px;
  }
  .menu-item > .icon:first-child {
    width: 18px;
    height: 18px;
  }
  .menu-item > .icon:last-child {
    width: 11px;
  }
  .account-footer {
    gap: 14px;
    margin-top: 20px;
  }
  .account-footer > .button {
    margin: 0;
    width: 100%;
  }
  .account-footer > .text-link {
    font-size: 11px;
  }
  .membership-intro {
    padding: 12px 0 30px;
  }
  .membership-intro h2 {
    font-size: 43px;
  }
  .tier-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .tier-card {
    padding: 26px;
  }
  .tier-top {
    margin-bottom: 24px;
    flex-wrap: nowrap;
  }
  .tier-card h2 {
    font-size: 38px;
  }
  .tier-card p:not(.eyebrow),
  .tier-card ul {
    font-size: 12px;
  }
  .tier-card .button {
    font-size: 12px;
  }
  .tier-card ul {
    margin: 20px 0;
  }
  .language-panel {
    padding: 20px;
  }
  .language-grid {
    gap: 10px;
  }
  .language-choice {
    padding: 14px 12px;
    font-size: 13px;
    gap: 9px;
  }
  .language-choice .icon {
    width: 17px;
    height: 17px;
  }
  .benefit-panel {
    padding: 30px;
  }
  .benefit-panel h2 {
    font-size: 31px;
  }
  .benefit-panel p {
    font-size: 12px;
  }
  .invite-feature {
    padding: 30px 24px;
  }
  .invite-feature h2 {
    font-size: 42px;
  }
  .invite-art {
    top: 30px;
    right: 25px;
  }
  .invite-art .icon {
    width: 40px;
    height: 40px;
  }
  .invite-feature > .eyebrow {
    font-size: 8px;
  }
  .invite-feature > p:not(.eyebrow) {
    max-width: none;
  }
  .invite-code {
    padding: 10px 14px;
  }
  .orders-panel,
  .records-panel {
    padding: 16px;
    margin: 20px 0;
  }
  .tab {
    padding: 9px 12px;
    font-size: 11px;
    flex: 1;
  }
  .tabs {
    gap: 4px;
  }
  .tab.selected:before {
    margin-right: 5px;
  }
  .order-item summary {
    gap: 11px;
    padding: 20px 0;
    flex-wrap: wrap;
  }
  .order-number {
    width: 24px;
    font-size: 21px;
    align-self: flex-start;
    margin-top: 12px;
  }
  .order-body > small {
    font-size: 8px;
    letter-spacing: 0;
  }
  .order-body > strong {
    font-size: 12px;
    line-height: 1.65;
  }
  .order-body > span {
    font-size: 8px;
    gap: 8px;
  }
  .order-total {
    margin-left: 35px;
    min-width: 0;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    text-align: left;
  }
  .order-total strong {
    font-size: 14px;
  }
  .order-item summary > .icon {
    margin-left: auto;
    width: 13px;
    height: 13px;
  }
  .order-body {
    flex-basis: calc(100% - 40px);
  }
  .order-detail {
    padding: 0 0 16px;
  }
  .order-detail dl {
    grid-template-columns: 1fr 1fr;
    gap: 17px;
  }
  .pagination {
    gap: 12px;
    flex-wrap: wrap;
  }
  .pagination > div {
    gap: 9px;
    justify-content: space-between;
    flex: 1;
  }
  .pagination .button {
    font-size: 9px;
    padding: 10px;
  }
  .pagination .icon {
    display: none;
  }
  .date-filter {
    gap: 9px;
  }
  .date-filter label {
    min-width: 120px;
  }
  .date-filter .button {
    flex: 1;
  }
  .date-filter input {
    font-size: 12px;
    padding-inline: 8px;
  }
  .record summary {
    gap: 11px;
    flex-wrap: wrap;
  }
  .record-icon {
    width: 32px;
    height: 32px;
  }
  .record-title strong {
    font-size: 10px;
  }
  .record-title small {
    font-size: 8px;
  }
  .record-amount {
    gap: 5px;
  }
  .record-amount strong {
    font-size: 13px;
  }
  .record-amount .tag {
    font-size: 7px;
    padding: 3px 6px;
  }
  .record summary > .icon {
    width: 12px;
    height: 12px;
  }
  .record-detail {
    padding: 0 0 18px;
  }
  .record-detail dl {
    gap: 20px;
    flex-wrap: wrap;
  }
  .report-stats {
    grid-template-columns: 1fr;
  }
  .report-stats .panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px;
  }
  .report-stats p {
    margin: 0;
    max-width: 160px;
  }
  .report-stats strong {
    font-size: 31px;
  }
  .task-panel {
    padding: 23px;
  }
  .task-panel h2 {
    font-size: 30px;
  }
  .metrics {
    gap: 13px;
  }
  .metrics dd {
    font-size: 12px;
  }
  .auth-layout {
    gap: 16px;
  }
  .auth-story {
    padding: 27px;
  }
  .auth-story h1 {
    font-size: 38px;
  }
  .auth-story p:not(.eyebrow) {
    font-size: 11px;
  }
  .auth-panel {
    padding: 24px;
  }
  .auth-panel > h2 {
    font-size: 33px;
  }
  .auth-panel > .tag {
    font-size: 9px;
  }
  .auth-panel .field {
    margin: 20px 0;
  }
  .auth-panel .note {
    font-size: 10px;
  }
  .notification-panel {
    padding: 25px;
  }
  .notification-lead {
    gap: 17px;
    flex-direction: column;
  }
  .notification-lead h2 {
    font-size: 31px;
  }
  .notification-lead > .icon {
    width: 28px;
    height: 28px;
  }
  .media-grid {
    grid-template-columns: 1fr;
  }
  .media-placeholder {
    min-height: 180px;
  }
  .media-copy > p {
    font-size: 12px;
  }
  .empty {
    padding: 40px 20px;
  }
  .empty h2 {
    font-size: 29px;
  }
  .skeleton-panel {
    padding: 25px;
  }
  .contract-panel {
    padding: 25px;
  }
  .contract-panel h2 {
    font-size: 30px;
  }
  .modal-head {
    padding: 18px;
  }
  .modal-head h2 {
    font-size: 25px;
  }
  .modal-body {
    padding: 20px;
  }
  .modal-body .button-row {
    flex-wrap: wrap;
  }
  .modal-body .button-row > .button {
    min-width: 140px;
  }
  .modal-body dl {
    gap: 15px;
  }
  .modal-body dd {
    font-size: 12px;
  }
  .modal-body .button {
    font-size: 12px;
  }
  .translation-note {
    font-size: 10px;
  }
}
@media (max-width: 359px) {
  main {
    padding-inline: 16px;
  }
  .topbar,
  .site-footer {
    margin-inline: 16px;
  }
  .demo-banner {
    padding-inline: 12px;
  }
  .demo-banner > span {
    font-size: 7px;
    max-width: 205px;
    display: block;
  }
  .demo-banner i {
    display: none;
  }
  .home-heading h1 {
    font-size: 39px;
  }
  .hero-caption {
    padding-inline: 12px;
  }
  .hero-caption h2 {
    font-size: 14px;
  }
  .carousel-tools .icon-button {
    min-width: 44px;
    width: 44px;
  }
  .carousel-tools {
    gap: 0;
  }
  .hero-caption small {
    font-size: 7px;
  }
  .quick-card {
    padding: 14px 12px;
  }
  .quick-card h3 {
    font-size: 12px;
  }
  .quick-card p {
    font-size: 9px;
  }
  .menu-item {
    padding: 16px 12px;
    gap: 8px;
  }
  .menu-item > .icon:last-child {
    display: none;
  }
  .form-panel {
    padding: 18px;
  }
  .channel {
    padding: 12px;
    gap: 8px;
  }
  .channel > .icon {
    display: none;
  }
  .page-heading h1 {
    font-size: 30px;
  }
  .page-heading .muted {
    font-size: 10px;
  }
  .record-icon {
    display: none;
  }
  .record-title {
    flex-basis: 110px;
  }
  .member-identity {
    padding: 18px;
    gap: 12px;
  }
  .member-identity h2 {
    font-size: 23px;
  }
  .member-identity .avatar {
    width: 44px;
    height: 44px;
  }
  .language-choice {
    font-size: 12px;
    padding: 12px 10px;
  }
  .invite-mini {
    gap: 8px;
  }
  .invite-mini .button .icon {
    display: none;
  }
  .invite-mini .button {
    padding: 10px 8px;
    font-size: 9px;
  }
  .account-footer {
    gap: 10px;
  }
  .account-footer > .text-link {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}

/* Uniform primary hit targets and small-screen status line. */
.carousel-tools .icon-button {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
}
.studio-toggle {
  min-height: 44px;
}
.demo-banner {
  min-height: 52px;
}
.sidebar {
  top: 0;
  min-height: 100vh;
}
.channel-address,.preserve-lines { white-space: pre-wrap; overflow-wrap: anywhere; }
.channel-address { display: block; margin-top: 8px; }
.media-cover { width:100%; aspect-ratio:4/3; object-fit:cover; }
#mainVideo { width:100%; max-height:70vh; background:#161316; }
.order-product-image { object-fit:contain; }
.sidebar-user {
  min-height: 44px;
}
.faq summary {
  min-height: 44px;
}
@media (max-width: 767px) {
  .demo-banner > span {
    display: block;
    max-width: 245px;
    font-size: 8px;
    line-height: 1.7;
  }
  .demo-banner b {
    margin: 0 5px;
  }
  .demo-banner i {
    display: none;
  }
  .studio-toggle {
    flex-shrink: 0;
  }
  .sidebar {
    display: none;
  }
}

.empty h1 {
  font-family: var(--serif);
  font-size: 32px;
  letter-spacing: -0.5px;
}
.checkbox,
.demo-credential {
  min-height: 44px;
}
@media (max-width: 767px) {
  .demo-banner > span > b {
    display: inline;
    margin: 0 5px;
  }
  .empty h1 {
    font-size: 29px;
  }
}
