/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer theme {
  :root,
  :host {
    --font-sans:
      ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
      "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono:
      ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --spacing: 0.25rem;
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}

.connection-warning {
  position: fixed;
  inset: 0 0 auto;
  z-index: 2000;
  padding: 0.75rem 1rem;
  background: #fff3cd;
  color: #5c4300;
  text-align: center;
  font-weight: 700;
  box-shadow: 0 2px 12px rgb(0 0 0 / 12%);
}

.access-blocker {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgb(5 20 35 / 78%);
  backdrop-filter: blur(8px);
}

.access-blocker-card {
  width: min(42rem, 100%);
  max-height: min(46rem, 90vh);
  overflow: auto;
  padding: clamp(1.35rem, 4vw, 2.25rem);
  border-radius: 1rem;
  background: #fff;
  color: #0d1f33;
  box-shadow: 0 1.5rem 4rem rgb(0 0 0 / 30%);
}

.access-blocker-card h2 { margin: 0.35rem 0 0.75rem; font-size: clamp(1.45rem, 4vw, 2rem); }
.access-blocker-card > p { line-height: 1.6; }
.access-blocker-card > small { display: block; margin-top: 1rem; color: #5b6b7a; line-height: 1.5; }
.session-list { display: grid; gap: 0.75rem; margin: 1.25rem 0; }
.session-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem; border: 1px solid #d7e1e8; border-radius: 0.75rem; }
.session-row div { display: grid; gap: 0.25rem; }
.session-row span { color: #5b6b7a; font-size: 0.875rem; }
.session-row button, .access-blocker-actions button, .access-blocker-actions a { min-height: 2.75rem; border-radius: 0.65rem; padding: 0.7rem 1rem; font: inherit; font-weight: 750; text-decoration: none; }
.session-row button { border: 1px solid #c9362b; background: #fff; color: #a1261d; }
.access-blocker-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }
.access-blocker-actions button { border: 0; background: #087864; color: #fff; }
.access-blocker-actions a { display: inline-flex; align-items: center; border: 1px solid #087864; color: #087864; }

@media (max-width: 39rem) {
  .session-row { align-items: stretch; flex-direction: column; }
  .session-row button { width: 100%; }
}
@layer base {
  *,
  :after,
  :before,
  ::backdrop {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }
  ::file-selector-button {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }
  html,
  :host {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    line-height: 1.5;
    font-family: var(
      --default-font-family,
      ui-sans-serif,
      system-ui,
      sans-serif,
      "Apple Color Emoji",
      "Segoe UI Emoji",
      "Segoe UI Symbol",
      "Noto Color Emoji"
    );
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b,
  strong {
    font-weight: bolder;
  }
  code,
  kbd,
  samp,
  pre {
    font-family: var(
      --default-mono-font-family,
      ui-monospace,
      SFMono-Regular,
      Menlo,
      Monaco,
      Consolas,
      "Liberation Mono",
      "Courier New",
      monospace
    );
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(
      --default-mono-font-variation-settings,
      normal
    );
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub,
  sup {
    vertical-align: baseline;
    font-size: 75%;
    line-height: 0;
    position: relative;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol,
  ul,
  menu {
    list-style: none;
  }
  img,
  svg,
  video,
  canvas,
  audio,
  iframe,
  embed,
  object {
    vertical-align: middle;
    display: block;
  }
  img,
  video {
    max-width: 100%;
    height: auto;
  }
  button,
  input,
  select,
  optgroup,
  textarea {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }
  ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not ((-webkit-appearance: -apple-pay-button))) or
    (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentColor;
    }
    @supports (color: color-mix(in lab, red, red)) {
      ::placeholder {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-year-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-month-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-day-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-hour-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-minute-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-second-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-millisecond-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button,
  input:where([type="button"], [type="reset"], [type="submit"]) {
    appearance: button;
  }
  ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button {
    height: auto;
  }
  ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer components;
@layer utilities {
  .visible {
    visibility: visible;
  }
  .fixed {
    position: fixed;
  }
  .relative {
    position: relative;
  }
  .start {
    inset-inline-start: var(--spacing);
  }
  .table {
    display: table;
  }
  .antialiased {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}
:root {
  --navy-950: #0d1f33;
  --navy-900: #142d4a;
  --navy-800: #1b426a;
  --blue-700: #17669b;
  --blue-100: #e8f3fa;
  --orange-500: #f2a33a;
  --orange-100: #fff5e5;
  --green-700: #087864;
  --green-100: #e7f6f1;
  --red-700: #ad3e3e;
  --red-100: #fff0f0;
  --ink: #172335;
  --muted: #647286;
  --line: #dce3eb;
  --surface: #fff;
  --background: #f4f7fa;
}
* {
  box-sizing: border-box;
}
html {
  background: var(--background);
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
  scroll-behavior: smooth;
}
body {
  background:
    radial-gradient(circle at 15% -10%, #17669b14, transparent 30%),
    var(--background);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  margin: 0;
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    Segoe UI,
    sans-serif;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
.splash-screen {
  min-height: 100dvh;
  padding: max(24px, env(safe-area-inset-top))
    max(24px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom))
    max(24px, env(safe-area-inset-left));
  background: radial-gradient(circle at 75% 18%, #17669b59, #0000 30%), #07182b;
  justify-content: center;
  align-items: center;
  animation: 0.45s 4.55s forwards splash-exit;
  display: flex;
  position: relative;
  overflow: hidden;
}
.splash-glow {
  filter: blur(80px);
  background: #f2a33a29;
  border-radius: 999px;
  width: 260px;
  height: 260px;
  position: absolute;
  top: 55%;
  left: 8%;
}
.splash-content {
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: 1180px;
  animation: 0.6s both splash-arrive;
  display: flex;
  position: relative;
}
.splash-art {
  aspect-ratio: 1732/909;
  object-fit: cover;
  border: 1px solid #9bc8f133;
  border-radius: 24px;
  width: 100%;
  height: auto;
  display: block;
  box-shadow:
    0 35px 90px #00000061,
    0 0 0 1px #ffffff0a;
}
.splash-loading {
  width: 100%;
  max-width: 660px;
  margin: 0 auto;
}
.splash-progress {
  background: #ffffff21;
  border-radius: 999px;
  height: 7px;
  overflow: hidden;
}
.splash-progress span {
  background: linear-gradient(90deg, var(--orange-500), #ffd18f);
  border-radius: inherit;
  transform-origin: 0;
  width: 100%;
  height: 100%;
  animation: 5s linear both splash-progress;
  display: block;
}
.splash-loading-copy {
  color: #bcd0e2;
  letter-spacing: 0.02em;
  justify-content: space-between;
  align-items: center;
  margin-top: 11px;
  font-size: 12px;
  display: flex;
}
.splash-loading-copy strong {
  color: #fff;
  font-size: 11px;
}
@keyframes splash-progress {
  0% {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
@keyframes splash-arrive {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes splash-exit {
  to {
    opacity: 0;
    transform: scale(1.015);
  }
}
.app-shell {
  min-height: 100dvh;
  animation: 0.45s both app-arrive;
}
@keyframes app-arrive {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.topbar {
  background: var(--navy-950);
  border-bottom: 3px solid var(--orange-500);
  color: #fff;
}
.topbar-inner {
  max-width: 1240px;
  min-height: 72px;
  padding: max(10px, env(safe-area-inset-top)) 28px 10px;
  align-items: center;
  gap: 13px;
  margin: 0 auto;
  display: flex;
}
.brand-mark {
  border-radius: 12px;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  display: flex;
  overflow: hidden;
}
.brand-mark img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}
.brand-name,
.brand-product {
  margin: 0;
}
.brand-name {
  letter-spacing: 0.01em;
  font-size: 15px;
  font-weight: 750;
}
.brand-product {
  color: #b9c9d9;
  margin-top: 2px;
  font-size: 12px;
}
.topbar-status {
  color: #c8d5e1;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  font-size: 12px;
  display: flex;
}
.topbar-status span {
  background: #45d5ad;
  border-radius: 50%;
  width: 7px;
  height: 7px;
  box-shadow: 0 0 0 4px #45d5ad1f;
}
.logout-form {
  margin-left: 10px;
}
.logout-form button {
  color: #536176;
  cursor: pointer;
  background: #fff;
  border: 1px solid #d6dee8;
  border-radius: 8px;
  min-height: 34px;
  padding: 7px 12px;
  font-size: 10px;
  font-weight: 800;
}
.logout-form button:hover {
  color: var(--navy-900);
  border-color: #aab8c8;
}

.access-page {
  background: #071828;
  justify-content: center;
  align-items: center;
  min-height: 100dvh;
  padding: 28px 18px;
  display: flex;
  position: relative;
  overflow: hidden;
}
.access-backdrop {
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 18%, #17669b66, transparent 35%),
    radial-gradient(circle at 82% 76%, #0878644d, transparent 32%),
    radial-gradient(circle at 70% 8%, #f2a33a29, transparent 24%);
  position: absolute;
  inset: 0;
}
.access-card {
  background: #fffffffa;
  border: 1px solid #ffffff26;
  border-radius: 22px;
  width: min(100%, 520px);
  padding: clamp(28px, 6vw, 48px);
  position: relative;
  box-shadow: 0 28px 80px #00000052;
}
.access-brand {
  align-items: center;
  gap: 12px;
  margin-bottom: 42px;
  display: flex;
}
.access-brand img {
  border-radius: 11px;
  width: 42px;
  height: 42px;
}
.access-brand span,
.access-brand strong {
  display: block;
}
.access-brand span {
  color: #617084;
  font-size: 10px;
  font-weight: 750;
}
.access-brand strong {
  color: var(--navy-950);
  margin-top: 2px;
  font-size: 13px;
}
.access-eyebrow {
  color: var(--green-700);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 10px;
  font-size: 10px;
  font-weight: 850;
}
.access-card h1 {
  color: var(--navy-950);
  letter-spacing: -0.04em;
  margin: 0;
  font-size: clamp(30px, 6vw, 42px);
  line-height: 1.05;
}
.access-copy {
  color: #617084;
  margin: 16px 0 28px;
  font-size: 14px;
  line-height: 1.65;
}
.access-form {
  gap: 9px;
  display: grid;
}
.access-form label {
  color: #435268;
  font-size: 11px;
  font-weight: 750;
}
.access-form input {
  color: var(--navy-950);
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 11px;
  outline: none;
  min-height: 52px;
  padding: 12px 14px;
  font-size: 16px;
  font-weight: 650;
}
.access-form input:focus {
  border-color: var(--blue-700);
  background: #fff;
  box-shadow: 0 0 0 4px #17669b1c;
}
.access-form button {
  color: #fff;
  cursor: pointer;
  background: var(--green-700);
  border: 0;
  border-radius: 11px;
  min-height: 52px;
  margin-top: 4px;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 850;
  box-shadow: 0 10px 24px #0878642e;
}
.access-form button:hover {
  background: #076a58;
}
.access-form button:disabled {
  cursor: wait;
  opacity: 0.7;
}
.access-message {
  color: #126857;
  background: var(--green-100);
  border: 1px solid #cce8df;
  border-radius: 10px;
  margin: 16px 0 0;
  padding: 12px 13px;
  font-size: 11px;
  line-height: 1.5;
}
.access-debug-link {
  color: var(--blue-700);
  margin-top: 10px;
  font-size: 11px;
  font-weight: 800;
  display: inline-block;
}
.access-security-note {
  color: #657388;
  border-top: 1px solid #e4e9ef;
  align-items: flex-start;
  gap: 9px;
  margin-top: 30px;
  padding-top: 20px;
  font-size: 10px;
  line-height: 1.5;
  display: flex;
}
.access-security-note span {
  color: var(--green-700);
  font-weight: 900;
}
.access-security-note p {
  margin: 0;
}
.page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 50px 28px 34px;
}
.pricing-mode-switch {
  background: #e8edf3;
  border: 1px solid #d5dee8;
  border-radius: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 0 0 34px;
  padding: 6px;
  display: grid;
}
.pricing-mode-switch legend {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
}
.pricing-mode-switch label {
  cursor: pointer;
  min-width: 0;
  position: relative;
}
.pricing-mode-switch input {
  opacity: 0;
  width: 1px;
  height: 1px;
  position: absolute;
}
.pricing-mode-switch label > span {
  color: #536176;
  border: 1px solid transparent;
  border-radius: 11px;
  flex-direction: column;
  gap: 3px;
  min-height: 62px;
  padding: 12px 15px;
  transition:
    background 0.15s,
    border-color 0.15s,
    box-shadow 0.15s;
  display: flex;
}
.pricing-mode-switch strong {
  color: var(--navy-900);
  font-size: 12px;
}
.pricing-mode-switch small {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.4;
}
.pricing-mode-switch input:checked + span {
  background: #fff;
  border-color: #c9d8e5;
  box-shadow: 0 5px 16px #142d4a12;
}
.pricing-mode-switch input:checked + span strong {
  color: var(--blue-700);
}
.pricing-mode-switch input:focus-visible + span {
  outline-offset: 2px;
  outline: 3px solid #17669b33;
}
.hero {
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 34px;
  display: flex;
}
.eyebrow {
  color: var(--blue-700);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 800;
}
.hero h1 {
  color: var(--navy-950);
  letter-spacing: -0.045em;
  margin: 0;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1;
}
.hero-copy {
  color: var(--muted);
  max-width: 660px;
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 1.65;
}
.rules-summary {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  flex: none;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 2px 15px;
  min-width: 250px;
  padding: 16px 18px;
  display: grid;
  box-shadow: 0 12px 32px #142d4a0f;
}
.rules-summary span {
  color: var(--muted);
  font-size: 11px;
}
.rules-summary strong {
  color: var(--navy-900);
  text-align: right;
  font-size: 14px;
}
.rules-summary i {
  background: var(--line);
  grid-column: 1/-1;
  height: 1px;
  margin: 8px 0;
}
.calculator-layout {
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  align-items: start;
  gap: 24px;
  display: grid;
}
.form-column {
  flex-direction: column;
  gap: 16px;
  display: flex;
}
.card,
.result-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 14px 36px #142d4a0e;
}
.card {
  padding: 26px;
}
.card-heading {
  align-items: center;
  gap: 13px;
  display: flex;
}
.step-number {
  background: var(--navy-900);
  color: #fff;
  border-radius: 10px;
  flex: none;
  justify-content: center;
  align-items: center;
  width: 34px;
  height: 34px;
  font-size: 13px;
  font-weight: 800;
  display: flex;
}
.card-heading h2 {
  color: var(--navy-950);
  letter-spacing: -0.02em;
  margin: 0;
  font-size: 18px;
}
.card-heading p {
  color: var(--muted);
  margin: 3px 0 0;
  font-size: 12px;
  line-height: 1.45;
}
.form-grid {
  gap: 16px;
  display: grid;
}
.product-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 24px;
}
.sale-price-entry {
  background: linear-gradient(145deg, var(--blue-100), #f7fbfe);
  border: 1px solid #c9e0ef;
  border-radius: 14px;
  margin-top: 22px;
  padding: 16px;
}
.sale-price-entry .field-label {
  color: var(--navy-900);
  font-size: 12px;
}
.cost-credit-card {
  background: #f7f9fb;
  border: 1px solid #dce3eb;
  border-radius: 14px;
  margin-top: 20px;
  padding: 16px;
  transition:
    background 0.15s,
    border-color 0.15s,
    box-shadow 0.15s;
}
.cost-credit-card.is-active {
  background: #f4fbf8;
  border-color: #b9ded3;
  box-shadow: 0 0 0 3px #0878640d;
}
.cost-credit-heading {
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  display: flex;
}
.cost-credit-heading > div {
  min-width: 0;
}
.cost-credit-kicker {
  color: var(--green-700);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
  font-size: 9px;
  font-weight: 850;
  display: block;
}
.cost-credit-heading strong {
  color: var(--navy-950);
  font-size: 13px;
  display: block;
}
.cost-credit-heading p {
  color: var(--muted);
  max-width: 430px;
  margin: 4px 0 0;
  font-size: 10px;
  line-height: 1.45;
}
.credit-toggle {
  cursor: pointer;
  flex: none;
  align-items: center;
  gap: 8px;
  display: flex;
}
.credit-toggle input {
  opacity: 0;
  width: 1px;
  height: 1px;
  position: absolute;
}
.credit-toggle > span {
  background: #b9c3cf;
  border-radius: 999px;
  width: 42px;
  height: 24px;
  padding: 3px;
  transition: background 0.15s;
  display: block;
}
.credit-toggle i {
  background: #fff;
  border-radius: 999px;
  width: 18px;
  height: 18px;
  transition: transform 0.15s;
  display: block;
  box-shadow: 0 2px 6px #0d1f3338;
}
.credit-toggle input:checked + span {
  background: var(--green-700);
}
.credit-toggle input:checked + span i {
  transform: translate(18px);
}
.credit-toggle input:focus-visible + span {
  outline-offset: 2px;
  outline: 3px solid #08786433;
}
.credit-toggle em {
  color: #536176;
  min-width: 54px;
  font-size: 9px;
  font-style: normal;
  font-weight: 750;
}
.cost-credit-content {
  border-top: 1px solid #d9ebe5;
  margin-top: 15px;
  padding-top: 15px;
}
.cost-credit-grid {
  grid-template-columns: 1fr 1fr;
}
.cost-credit-preview {
  background: #fff;
  border: 1px solid #d5e9e3;
  border-radius: 10px;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 3px 14px;
  margin-top: 12px;
  padding: 11px 13px;
  display: grid;
}
.cost-credit-preview span {
  color: #537066;
  font-size: 10px;
}
.cost-credit-preview strong {
  color: var(--green-700);
  font-size: 15px;
}
.cost-credit-preview small {
  color: var(--muted);
  grid-column: 1/-1;
  font-size: 9px;
}
.credit-limit-note {
  color: #8a5e1c;
  margin: 8px 0 0;
  font-size: 9px;
  line-height: 1.4;
}
.dimensions-grid {
  grid-template-columns: repeat(3, 1fr);
}
.dimensions-label {
  justify-content: space-between;
  align-items: center;
  margin: 24px 0 10px;
  display: flex;
}
.dimensions-label span {
  color: var(--navy-900);
  font-size: 12px;
  font-weight: 750;
}
.dimensions-label small {
  color: var(--muted);
  font-size: 10px;
}
.reputation-fieldset {
  border: 0;
  border-top: 1px solid var(--line);
  min-width: 0;
  margin: 24px 0 0;
  padding: 22px 0 0;
}
.reputation-fieldset legend {
  color: var(--navy-950);
  float: left;
  width: 100%;
  margin: 0 0 4px;
  padding: 0;
  font-size: 13px;
  font-weight: 800;
}
.reputation-fieldset > p {
  clear: both;
  color: var(--muted);
  margin: 0 0 12px;
  font-size: 10px;
  line-height: 1.45;
}
.reputation-options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  display: grid;
}
.reputation-option {
  color: var(--navy-900);
  cursor: pointer;
  text-align: left;
  background: #fbfcfd;
  border: 1px solid #d8e0e9;
  border-radius: 10px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-height: 58px;
  padding: 10px;
  transition:
    border-color 0.15s,
    box-shadow 0.15s,
    background 0.15s;
  display: grid;
}
.reputation-option:hover {
  background: #fff;
  border-color: #aab8c8;
}
.reputation-option:focus-visible {
  outline-offset: 2px;
  outline: 3px solid #17669b33;
}
.reputation-option.is-selected {
  border-color: var(--blue-700);
  background: #f7fbfe;
  box-shadow: 0 0 0 2px #17669b14;
}
.reputation-dot {
  background: #26a269;
  border-radius: 999px;
  width: 9px;
  height: 9px;
  box-shadow: 0 0 0 4px #26a2691f;
}
.reputation-yellow .reputation-dot {
  background: #d8a20d;
  box-shadow: 0 0 0 4px #d8a20d21;
}
.reputation-red .reputation-dot {
  background: #d84a4a;
  box-shadow: 0 0 0 4px #d84a4a1f;
}
.reputation-option strong,
.reputation-option small {
  display: block;
}
.reputation-option strong {
  font-size: 11px;
}
.reputation-option small {
  color: var(--muted);
  margin-top: 3px;
  font-size: 8px;
  line-height: 1.3;
}
.reputation-option i {
  color: var(--blue-700);
  opacity: 0;
  font-size: 12px;
  font-style: normal;
}
.reputation-option.is-selected i {
  opacity: 1;
}
.field {
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  display: flex;
}
.field-label {
  color: #435268;
  font-size: 11px;
  font-weight: 700;
}
.input-shell {
  background: #fbfcfd;
  border: 1px solid #cfd8e3;
  border-radius: 10px;
  align-items: center;
  min-height: 44px;
  transition:
    border-color 0.15s,
    box-shadow 0.15s,
    background 0.15s;
  display: flex;
  overflow: hidden;
}
.input-shell:focus-within {
  border-color: var(--blue-700);
  background: #fff;
  box-shadow: 0 0 0 3px #17669b1c;
}
.input-shell input {
  appearance: textfield;
  color: var(--navy-950);
  background: 0 0;
  border: 0;
  outline: 0;
  width: 100%;
  min-width: 0;
  padding: 10px 11px;
  font-size: 15px;
  font-weight: 700;
}
.input-shell input::-webkit-outer-spin-button {
  appearance: none;
  margin: 0;
}
.input-shell input::-webkit-inner-spin-button {
  appearance: none;
  margin: 0;
}
.input-affix {
  color: var(--muted);
  padding-left: 12px;
  font-size: 11px;
  font-weight: 700;
}
.input-affix-right {
  padding-left: 0;
  padding-right: 12px;
}
.field-hint {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}
.settings-card {
  padding: 0;
}
.settings-card summary {
  cursor: pointer;
  justify-content: space-between;
  align-items: center;
  padding: 22px 26px;
  list-style: none;
  display: flex;
}
.settings-card summary::-webkit-details-marker {
  display: none;
}
.summary-action {
  color: var(--blue-700);
  font-size: 12px;
  font-weight: 800;
}
.settings-card[open] .summary-action {
  font-size: 0;
}
.settings-card[open] .summary-action:after {
  content: "Fechar";
  font-size: 12px;
}
.settings-content {
  border-top: 1px solid var(--line);
  padding: 22px 26px 26px;
}
.settings-content h3 {
  color: var(--navy-900);
  margin: 0 0 14px;
  font-size: 12px;
}
.rates-grid {
  grid-template-columns: repeat(3, 1fr);
}
.extra-fees-block {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 22px;
}
.extra-fees-heading {
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  display: flex;
}
.extra-fees-heading h3 {
  margin-bottom: 3px;
}
.extra-fees-heading p {
  color: var(--muted);
  margin: 0;
  font-size: 10px;
  line-height: 1.45;
}
.add-fee-button {
  background: var(--blue-100);
  color: var(--blue-700);
  border: 1px solid #c9e0ef;
  border-radius: 9px;
  flex: none;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 7px 11px;
  font-size: 10px;
  font-weight: 800;
  transition:
    background 0.12s,
    border-color 0.12s,
    transform 0.12s;
  display: flex;
}
.add-fee-button:hover {
  background: #dceefa;
  border-color: #a7cfe8;
  transform: translateY(-1px);
}
.add-fee-button span {
  font-size: 16px;
  line-height: 1;
}
.empty-fees {
  color: var(--muted);
  text-align: center;
  background: #f7f9fb;
  border: 1px dashed #d5dde6;
  border-radius: 10px;
  margin: 14px 0 0;
  padding: 13px;
  font-size: 10px;
}
.extra-fee-list {
  flex-direction: column;
  gap: 9px;
  margin-top: 14px;
  display: flex;
}
.extra-fee-row {
  background: #f7f9fb;
  border: 1px solid #e1e7ed;
  border-radius: 11px;
  grid-template-columns:
    minmax(140px, 1.4fr) minmax(105px, 0.95fr) minmax(90px, 0.7fr)
    auto;
  align-items: end;
  gap: 9px;
  padding: 12px;
  display: grid;
}
.compact-field {
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  display: flex;
}
.compact-field > span:first-child {
  color: #536176;
  font-size: 9px;
  font-weight: 700;
}
.compact-field > input,
.compact-field > select,
.compact-number-shell {
  color: var(--navy-950);
  background: #fff;
  border: 1px solid #ccd6e1;
  border-radius: 8px;
  outline: none;
  width: 100%;
  min-height: 37px;
  transition:
    border-color 0.12s,
    box-shadow 0.12s;
}
.compact-field > input,
.compact-field > select {
  padding: 8px 9px;
  font-size: 11px;
  font-weight: 650;
}
.compact-field > select {
  cursor: pointer;
}
.compact-field > input:focus,
.compact-field > select:focus,
.compact-number-shell:focus-within {
  border-color: var(--blue-700);
  box-shadow: 0 0 0 3px #17669b1a;
}
.compact-number-shell {
  align-items: center;
  display: flex;
  overflow: hidden;
}
.compact-number-shell > span {
  color: var(--muted);
  padding-left: 9px;
  font-size: 9px;
  font-weight: 800;
}
.compact-number-shell input {
  appearance: textfield;
  color: var(--navy-950);
  background: 0 0;
  border: 0;
  outline: none;
  width: 100%;
  min-width: 0;
  padding: 8px;
  font-size: 11px;
  font-weight: 700;
}
.compact-number-shell input::-webkit-outer-spin-button {
  appearance: none;
  margin: 0;
}
.compact-number-shell input::-webkit-inner-spin-button {
  appearance: none;
  margin: 0;
}
.remove-fee-button {
  color: var(--red-700);
  background: 0 0;
  border: 0;
  border-radius: 7px;
  min-height: 37px;
  padding: 7px 8px;
  font-size: 9px;
  font-weight: 750;
}
.remove-fee-button:hover {
  background: var(--red-100);
}
.settings-divider {
  background: var(--line);
  height: 1px;
  margin: 24px 0;
}
.rate-total {
  background: var(--blue-100);
  color: var(--navy-800);
  border-radius: 10px;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding: 12px 14px;
  font-size: 11px;
  display: flex;
}
.rate-total strong {
  font-size: 14px;
}
.promotion-rate-summary {
  background: var(--orange-100);
  color: #765522;
  border: 1px solid #f1dfc1;
  border-radius: 10px;
  margin-top: 8px;
  padding: 11px 14px;
}
.promotion-rate-summary > div {
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 3px 0;
  font-size: 10px;
  display: flex;
}
.promotion-rate-summary strong {
  color: #513c1e;
  font-size: 12px;
}
.promotion-rate-summary small {
  border-top: 1px solid #ead5b4;
  margin-top: 7px;
  padding-top: 8px;
  font-size: 9px;
  line-height: 1.45;
  display: block;
}
.fixed-total {
  color: #58677b;
  background: #f5f7fa;
  border-radius: 10px;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  padding: 10px 14px;
  font-size: 10px;
  display: flex;
}
.fixed-total strong {
  color: var(--navy-900);
  font-size: 12px;
}
.form-actions {
  justify-content: flex-end;
  gap: 10px;
  display: flex;
}
.button {
  border: 0;
  border-radius: 10px;
  min-height: 40px;
  padding: 10px 15px;
  font-size: 12px;
  font-weight: 800;
  transition:
    transform 0.12s,
    box-shadow 0.12s,
    background 0.12s;
}
.button:hover {
  transform: translateY(-1px);
}
.button:focus-visible {
  outline-offset: 2px;
  outline: 3px solid #17669b40;
}
.button-ghost {
  color: var(--muted);
  background: 0 0;
}
.button-ghost:hover {
  background: #fff;
}
.button-secondary {
  background: var(--navy-900);
  color: #fff;
  box-shadow: 0 6px 16px #142d4a29;
}
.result-column {
  position: sticky;
  top: 22px;
}
.result-card {
  min-height: 520px;
  overflow: hidden;
}
.empty-result,
.error-result {
  text-align: center;
  flex-direction: column;
  align-items: center;
  min-height: 520px;
  padding: 54px 36px;
  display: flex;
}
.empty-visual {
  background: linear-gradient(145deg, #17669b29, #f2a33a21);
  border: 1px solid #17669b1f;
  border-radius: 24px;
  justify-content: center;
  align-items: center;
  width: 88px;
  height: 88px;
  margin-bottom: 28px;
  display: flex;
  transform: rotate(-3deg);
}
.empty-visual span {
  color: var(--navy-800);
  font-size: 24px;
  font-weight: 900;
  transform: rotate(3deg);
}
.empty-result h2,
.error-result h2 {
  color: var(--navy-950);
  letter-spacing: -0.025em;
  margin: 2px 0 10px;
  font-size: 22px;
}
.empty-result > p:not(.eyebrow),
.error-result > p:not(.eyebrow) {
  color: var(--muted);
  max-width: 340px;
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
}
.empty-result ul {
  border-top: 1px solid var(--line);
  color: #506078;
  flex-direction: column;
  gap: 9px;
  width: 100%;
  margin: 28px 0 0;
  padding: 22px 0 0;
  font-size: 11px;
  list-style: none;
  display: flex;
}
.empty-result li:before {
  color: var(--green-700);
  content: "✓";
  margin-right: 8px;
  font-weight: 900;
}
.error-result {
  background: var(--red-100);
  justify-content: center;
}
.error-result .eyebrow,
.error-result h2 {
  color: var(--red-700);
}
.price-result {
  background:
    radial-gradient(circle at 110% -20%, #f2a33a3d, transparent 43%),
    linear-gradient(145deg, var(--navy-950), var(--navy-800));
  color: #fff;
  padding: 28px 30px 25px;
}
.price-result p {
  color: #bcd0e2;
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
}
.price-result > strong {
  letter-spacing: -0.05em;
  font-size: clamp(38px, 5vw, 54px);
  line-height: 1;
  display: block;
}
.price-result > span {
  color: #bcd0e2;
  margin-top: 10px;
  font-size: 10px;
  display: block;
}
.promotion-strip,
.reverse-expense-summary {
  grid-template-columns: 1fr 1fr;
  display: grid;
}
.promotion-strip {
  background: var(--green-100);
  border-bottom: 1px solid #cfe8e0;
}
.promotion-strip > div,
.reverse-expense-summary > div {
  flex-direction: column;
  gap: 4px;
  padding: 14px 30px;
  display: flex;
}
.promotion-strip > div + div {
  border-left: 1px solid #cfe8e0;
}
.promotion-strip span {
  color: #437166;
  font-size: 9px;
}
.promotion-strip strong {
  color: var(--green-700);
  font-size: 15px;
}
.profit-strip {
  background: var(--orange-100);
  border-bottom: 1px solid #f1dfc1;
  grid-template-columns: 1fr 1fr;
  display: grid;
}
.profit-strip > div {
  flex-direction: column;
  gap: 4px;
  padding: 15px 30px;
  display: flex;
}
.profit-strip > div + div {
  border-left: 1px solid #ead5b4;
}
.profit-strip span {
  color: #806740;
  font-size: 10px;
}
.profit-strip strong {
  color: #513c1e;
  font-size: 17px;
}
.reverse-expense-summary {
  background: var(--blue-100);
  border-bottom: 1px solid #cae4f4;
}
.reverse-expense-summary > div + div {
  border-left: 1px solid #cae4f4;
}
.reverse-expense-summary span {
  color: #557188;
  font-size: 9px;
}
.reverse-expense-summary strong {
  color: var(--navy-800);
  font-size: 15px;
}
.result-section {
  border-bottom: 1px solid var(--line);
  padding: 24px 30px;
}
.result-section h3 {
  color: var(--navy-950);
  margin: 0;
  font-size: 13px;
}
.section-title-row {
  justify-content: space-between;
  align-items: center;
  display: flex;
}
.section-title-row > strong {
  color: var(--navy-900);
  font-size: 18px;
}
.weight-cards {
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-top: 16px;
  display: grid;
}
.weight-cards > div {
  background: #f6f8fb;
  border: 1px solid #edf0f4;
  border-radius: 9px;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  padding: 10px;
  display: flex;
}
.weight-cards span {
  color: var(--muted);
  font-size: 8px;
  line-height: 1.25;
}
.weight-cards strong {
  color: var(--navy-900);
  white-space: nowrap;
  font-size: 11px;
}
.weight-cards .weight-used {
  background: var(--blue-100);
  border-color: #cae4f4;
}
.freight-bands {
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
  display: flex;
}
.freight-bands span {
  color: #56657a;
  background: #eef2f6;
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 9px;
  font-weight: 700;
}
.notice {
  border-radius: 9px;
  flex-direction: column;
  gap: 3px;
  margin-top: 13px;
  padding: 10px 12px;
  display: flex;
}
.notice strong {
  font-size: 10px;
}
.notice span {
  font-size: 9px;
  line-height: 1.4;
}
.notice-warning {
  background: var(--orange-100);
  color: #765522;
}
.notice-success {
  background: var(--green-100);
  color: #126857;
}
.notice-neutral {
  background: var(--blue-100);
  color: var(--navy-800);
}
.breakdown h3 {
  margin-bottom: 14px;
}
.percentage-base-note {
  color: #537066;
  background: var(--green-100);
  border-radius: 8px;
  margin: 8px 0 12px;
  padding: 9px 10px;
  font-size: 9px;
  line-height: 1.45;
}
.breakdown-row {
  color: #657388;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  font-size: 10px;
  display: flex;
}
.breakdown-row strong {
  color: #405067;
  font-size: 10px;
}
.breakdown-row-strong {
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 13px;
}
.breakdown-row-strong,
.breakdown-row-strong strong {
  color: var(--navy-950);
  font-size: 12px;
}
.breakdown-row-positive strong {
  color: var(--green-700);
}
.button-copy {
  background: var(--navy-900);
  color: #fff;
  border-radius: 0;
  width: 100%;
}
footer {
  color: var(--muted);
  text-align: center;
  padding: 27px 4px 0;
  font-size: 10px;
  line-height: 1.6;
}
footer p {
  margin: 0;
}
.platform-disclaimer {
  max-width: 760px;
  margin: 8px auto 0;
  color: #7a8797;
  font-size: 9px;
}
.sr-only {
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
}
.admin-page {
  background:
    radial-gradient(circle at 10% 0%, #17669b14, transparent 28%),
    var(--background);
  min-height: 100dvh;
}
.admin-topbar {
  color: #fff;
  background: var(--navy-950);
  border-bottom: 3px solid var(--orange-500);
}
.admin-topbar-inner {
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100%, 1160px);
  min-height: 74px;
  margin: 0 auto;
  padding: max(10px, env(safe-area-inset-top)) 28px 10px;
  display: flex;
}
.admin-brand {
  align-items: center;
  gap: 12px;
  display: flex;
}
.admin-brand img {
  border-radius: 11px;
  width: 42px;
  height: 42px;
}
.admin-brand span,
.admin-brand small,
.admin-brand strong {
  display: block;
}
.admin-brand small {
  color: #aebfd0;
  font-size: 10px;
}
.admin-brand strong {
  margin-top: 2px;
  font-size: 14px;
}
.admin-nav {
  align-items: center;
  gap: 10px;
  display: flex;
}
.admin-nav a,
.admin-nav button {
  border-radius: 9px;
  min-height: 38px;
  padding: 9px 13px;
  font-size: 11px;
  font-weight: 800;
}
.admin-nav a {
  color: #d9e4ed;
  border: 1px solid #ffffff24;
}
.admin-nav button {
  color: var(--navy-950);
  background: #fff;
  border: 0;
}
.admin-content {
  width: min(100%, 1160px);
  margin: 0 auto;
  padding: 54px 28px 72px;
}
.admin-hero {
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 28px;
  display: flex;
}
.admin-eyebrow {
  color: var(--green-700);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 9px;
  font-size: 10px;
  font-weight: 850;
}
.admin-hero h1 {
  color: var(--navy-950);
  letter-spacing: -0.04em;
  max-width: 680px;
  margin: 0;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.03;
}
.admin-hero > div > p:last-child {
  color: var(--muted);
  max-width: 650px;
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.65;
}
.admin-stats {
  flex: none;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  gap: 10px;
  display: grid;
}
.admin-stats > div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  min-width: 140px;
  padding: 18px;
  box-shadow: 0 8px 24px #142d4a0a;
}
.admin-stats strong,
.admin-stats span {
  display: block;
}
.admin-stats strong {
  color: var(--navy-950);
  font-size: 28px;
  line-height: 1;
}
.admin-stats span {
  color: var(--muted);
  margin-top: 7px;
  font-size: 10px;
  font-weight: 700;
}
.admin-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 17px;
  margin-top: 18px;
  padding: 26px;
  box-shadow: 0 10px 32px #142d4a0a;
}
.admin-grant-panel {
  background:
    linear-gradient(105deg, #ffffff 0%, #ffffff 68%, #e7f6f17d 100%);
}
.admin-panel-heading {
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  display: flex;
}
.admin-panel-heading h2 {
  color: var(--navy-950);
  margin: 0;
  font-size: 20px;
  font-weight: 800;
}
.admin-secure-badge,
.admin-status {
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 9px;
  font-weight: 850;
}
.admin-secure-badge,
.admin-status-active {
  color: var(--green-700);
  background: var(--green-100);
}
.admin-status-revoked {
  color: var(--red-700);
  background: var(--red-100);
}
.admin-grant-form {
  max-width: 760px;
  margin-top: 22px;
}
.admin-grant-form label {
  color: #435268;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 750;
  display: block;
}
.admin-grant-form > div {
  gap: 9px;
  display: flex;
}
.admin-grant-form input {
  color: var(--navy-950);
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  outline: none;
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  font-size: 14px;
  font-weight: 650;
}
.admin-grant-form input:focus {
  background: #fff;
  border-color: var(--blue-700);
  box-shadow: 0 0 0 4px #17669b1c;
}
.admin-grant-form button {
  color: #fff;
  white-space: nowrap;
  background: var(--green-700);
  border: 0;
  border-radius: 10px;
  min-width: 150px;
  padding: 11px 18px;
  font-size: 12px;
  font-weight: 850;
}
.admin-grant-form button:disabled,
.admin-table button:disabled,
.admin-refresh:disabled {
  cursor: wait;
  opacity: 0.6;
}
.admin-help {
  color: var(--muted);
  margin: 11px 0 0;
  font-size: 10px;
  line-height: 1.55;
}
.admin-feedback {
  border-radius: 9px;
  margin: 14px 0 0;
  padding: 10px 12px;
  font-size: 11px;
  line-height: 1.5;
}
.admin-feedback-success {
  color: #126857;
  background: var(--green-100);
}
.admin-feedback-error {
  color: var(--red-700);
  background: var(--red-100);
}
.admin-refresh {
  color: var(--blue-700);
  background: var(--blue-100);
  border: 1px solid #c9e0ef;
  border-radius: 9px;
  padding: 8px 11px;
  font-size: 10px;
  font-weight: 850;
}
.admin-table-wrap {
  margin-top: 22px;
  overflow-x: auto;
}
.admin-table {
  width: 100%;
}
.admin-table th,
.admin-table td {
  text-align: left;
  border-bottom: 1px solid #e8edf2;
  padding: 13px 10px;
  font-size: 11px;
}
.admin-table th {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-top: 0;
  font-size: 9px;
  font-weight: 850;
}
.admin-table td {
  color: #56657a;
}
.admin-table td strong {
  color: var(--navy-950);
  font-weight: 750;
}
.admin-table-action {
  text-align: right !important;
}
.admin-table-action button {
  background: transparent;
  border: 0;
  border-radius: 8px;
  padding: 7px 9px;
  font-size: 10px;
  font-weight: 850;
}
.admin-table-action .danger {
  color: var(--red-700);
}
.admin-table-action .danger:hover {
  background: var(--red-100);
}
.admin-table-action .success {
  color: var(--green-700);
}
.admin-table-action .success:hover {
  background: var(--green-100);
}
.admin-empty {
  color: var(--muted);
  text-align: center;
  margin: 22px 0 0;
  padding: 28px;
  font-size: 12px;
}
@media (width<=900px) {
  .hero {
    flex-direction: column;
    align-items: stretch;
  }
  .rules-summary {
    align-self: stretch;
  }
  .calculator-layout {
    grid-template-columns: 1fr;
  }
  .result-column {
    position: static;
  }
  .admin-hero {
    align-items: stretch;
    flex-direction: column;
  }
  .admin-stats {
    width: 100%;
  }
}
@media (width<=600px) {
  .splash-screen {
    padding-left: max(14px, env(safe-area-inset-left));
    padding-right: max(14px, env(safe-area-inset-right));
  }
  .splash-content {
    gap: 20px;
  }
  .splash-art {
    border-radius: 16px;
  }
  .splash-loading-copy {
    font-size: 10px;
  }
  .topbar-inner,
  .page {
    padding-left: 17px;
    padding-right: 17px;
  }
  .topbar-status {
    display: none;
  }
  .logout-form {
    margin-left: auto;
  }
  .page {
    padding-top: 32px;
    padding-bottom: max(28px, env(safe-area-inset-bottom));
  }
  .pricing-mode-switch {
    grid-template-columns: 1fr;
    margin-bottom: 26px;
  }
  .pricing-mode-switch label > span {
    min-height: 58px;
  }
  .hero {
    margin-bottom: 24px;
  }
  .hero h1 {
    font-size: 38px;
  }
  .hero-copy {
    font-size: 14px;
  }
  .card {
    padding: 20px;
  }
  .product-grid,
  .dimensions-grid,
  .rates-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cost-credit-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
  }
  .credit-toggle {
    justify-content: space-between;
    width: 100%;
  }
  .cost-credit-grid {
    grid-template-columns: 1fr;
  }
  .extra-fees-heading {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .add-fee-button {
    justify-content: center;
    width: 100%;
  }
  .extra-fee-row {
    grid-template-columns: 1fr 1fr;
  }
  .reputation-options {
    grid-template-columns: 1fr;
  }
  .extra-fee-row .compact-field:first-child,
  .remove-fee-button,
  .dimensions-grid .field:last-child {
    grid-column: 1/-1;
  }
  .settings-card summary,
  .settings-content {
    padding-left: 20px;
    padding-right: 20px;
  }
  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .button {
    width: 100%;
    min-height: 48px;
  }
  .price-result,
  .result-section,
  .profit-strip > div,
  .promotion-strip > div,
  .reverse-expense-summary > div {
    padding-left: 22px;
    padding-right: 22px;
  }
  .promotion-strip,
  .reverse-expense-summary {
    grid-template-columns: 1fr;
  }
  .promotion-strip > div + div,
  .reverse-expense-summary > div + div {
    border-top: 1px solid #cfe8e0;
    border-left: 0;
  }
  .input-shell {
    min-height: 48px;
  }
  .input-shell input {
    font-size: 16px;
  }
  .admin-topbar-inner,
  .admin-content {
    padding-left: 17px;
    padding-right: 17px;
  }
  .admin-topbar-inner {
    align-items: flex-start;
    flex-direction: column;
    padding-top: max(14px, env(safe-area-inset-top));
    padding-bottom: 14px;
  }
  .admin-nav {
    width: 100%;
  }
  .admin-nav a,
  .admin-nav form,
  .admin-nav button {
    width: 100%;
  }
  .admin-nav a,
  .admin-nav button {
    text-align: center;
    display: block;
  }
  .admin-content {
    padding-top: 34px;
    padding-bottom: max(36px, env(safe-area-inset-bottom));
  }
  .admin-hero h1 {
    font-size: 36px;
  }
  .admin-stats {
    grid-template-columns: 1fr 1fr;
  }
  .admin-stats > div {
    min-width: 0;
    padding: 15px;
  }
  .admin-panel {
    padding: 20px;
  }
  .admin-grant-form > div {
    flex-direction: column;
  }
  .admin-grant-form button {
    min-height: 48px;
  }
  .admin-table,
  .admin-table tbody,
  .admin-table tr,
  .admin-table td {
    display: block;
  }
  .admin-table thead {
    display: none;
  }
  .admin-table tr {
    border-bottom: 1px solid var(--line);
    padding: 12px 0;
  }
  .admin-table td {
    border: 0;
    justify-content: space-between;
    gap: 16px;
    padding: 7px 0;
    display: flex;
  }
  .admin-table td:before {
    color: var(--muted);
    content: attr(data-label);
    font-size: 9px;
    font-weight: 800;
  }
  .admin-table-action {
    text-align: left !important;
  }
  .admin-table-action button {
    width: 100%;
    min-height: 40px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .splash-content,
  .splash-screen,
  .app-shell {
    animation-name: none;
  }
}
