:root {
  --bg: #fcfcfe;
  --bg-soft: #f4f6fb;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --surface-muted: #f6f7fb;
  --text: #1e2432;
  --text-soft: #667085;
  --line: rgba(18, 27, 44, 0.08);
  --line-strong: rgba(18, 27, 44, 0.14);
  --orange: #ff7a00;
  --orange-strong: #ff9f2f;
  --orange-soft: rgba(255, 122, 0, 0.12);
  --blue-soft: rgba(86, 157, 255, 0.14);
  --green: #22a447;
  --danger: #c62828;
  --warning: #b56a00;
  --shadow-sm: 0 12px 28px rgba(19, 28, 45, 0.06);
  --shadow-md: 0 24px 60px rgba(19, 28, 45, 0.08);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(680px 380px at 14% 58%, rgba(125, 179, 255, 0.16), transparent 70%),
    radial-gradient(580px 300px at 85% 32%, rgba(255, 183, 116, 0.16), transparent 70%),
    linear-gradient(180deg, #ffffff 0%, #fbfbfd 52%, #f8fafe 100%);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  position: relative;
}

.shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid rgba(18, 27, 44, 0.06);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 78px;
  padding: 8px 0;
}

.brand {
  flex: 0 0 auto;
}

.brand-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1 1 auto;
}

.nav a {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(30, 36, 50, 0.78);
  transition: color 0.18s ease, background 0.18s ease;
}

.nav a:hover {
  color: var(--text);
  background: rgba(18, 27, 44, 0.04);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.12s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-strong) 100%);
  box-shadow: 0 16px 36px rgba(255, 122, 0, 0.22);
}

.btn-primary:hover {
  box-shadow: 0 18px 42px rgba(255, 122, 0, 0.28);
}

.btn-flip {
  opacity: 1;
  outline: 0;
  color: #fff;
  position: relative;
  text-align: center;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 800;
  width: min(220px, 100%);
  min-width: 170px;
  height: 48px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  box-shadow: 0 10px 24px rgba(255, 122, 0, 0.18);
  overflow: hidden;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  perspective: 230px;
  transition: all 0.5s ease;
}

.btn-flip:focus-visible {
  outline: 0;
  box-shadow:
    0 0 0 4px rgba(255, 122, 0, 0.18),
    0 10px 24px rgba(255, 122, 0, 0.18);
}

.btn-flip-face {
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border-radius: inherit;
  transition: all 0.5s ease;
  backface-visibility: hidden;
}

.btn-flip-face i {
  font-size: 13px;
}

.btn-flip-front {
  color: #fff5ea;
  background: linear-gradient(135deg, #ff7a00 0%, #e56700 100%);
  transform: translateY(0) rotateX(0);
}

.btn-flip-back {
  opacity: 0;
  color: #7a3600;
  background: linear-gradient(135deg, #ffd2a5 0%, #ffbf80 100%);
  transform: translateY(-50%) rotateX(90deg);
}

.btn-flip:hover .btn-flip-back,
.btn-flip:focus-visible .btn-flip-back {
  opacity: 1;
  transform: translateY(0) rotateX(0);
}

.btn-flip:hover .btn-flip-front,
.btn-flip:focus-visible .btn-flip-front {
  opacity: 0;
  transform: translateY(50%) rotateX(90deg);
}

.btn-flip:active {
  transform: scale(0.98);
  box-shadow: 0 8px 18px rgba(255, 122, 0, 0.16);
}

.btn-ghost {
  color: var(--orange);
  border-color: rgba(255, 122, 0, 0.42);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-sm);
}

.clear-concept-button {
  --clear-red: #c95a2b;
  --clear-red-dark: #a9471e;
  --clear-green: #27ae60;
  position: relative;
  width: min(190px, 100%);
  min-width: 160px;
  min-height: 48px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--clear-red) 0%, #d86b34 100%);
  color: #fff;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(169, 71, 30, 0.18);
  transition: all 0.25s cubic-bezier(0.31, -0.105, 0.43, 1.4);
}

.clear-concept-button span,
.clear-concept-button .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  position: absolute;
  top: 0;
}

.clear-concept-button > span:first-child {
  width: 72%;
  left: 0;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: all 0.25s cubic-bezier(0.31, -0.105, 0.43, 1.4);
}

.clear-concept-button > span:first-child::after {
  content: "";
  background: var(--clear-red-dark);
  width: 2px;
  height: 68%;
  position: absolute;
  top: 16%;
  right: -1px;
  transition: inherit;
}

.clear-concept-button .icon {
  width: 28%;
  right: 0;
  transition: all 0.25s cubic-bezier(0.31, -0.105, 0.43, 1.4);
}

.clear-concept-button .icon i {
  position: absolute;
  font-size: 18px;
  color: #fff;
  transition:
    all 0.25s cubic-bezier(0.31, -0.105, 0.43, 1.4),
    height 0.25s ease;
}

.clear-concept-button .icon .fa-check {
  display: none;
}

.clear-concept-button:hover,
.clear-concept-button.success {
  color: #fff;
}

.clear-concept-button:hover > span:first-child,
.clear-concept-button.success > span:first-child {
  left: -72%;
  opacity: 0;
}

.clear-concept-button:hover .icon,
.clear-concept-button.success .icon {
  width: 100%;
}

.clear-concept-button:hover .icon i,
.clear-concept-button.success .icon i {
  font-size: 24px;
}

.clear-concept-button:hover {
  opacity: 0.94;
  box-shadow: 0 14px 28px rgba(169, 71, 30, 0.22);
}

.clear-concept-button.success {
  background: linear-gradient(135deg, var(--clear-green) 0%, #229954 100%);
  box-shadow: 0 12px 28px rgba(39, 174, 96, 0.24);
}

.clear-concept-button.success .icon .fa-solid.fa-broom {
  display: none;
}

.clear-concept-button.success .icon .fa-check {
  display: inline-block;
}

.clear-concept-button:active {
  opacity: 1;
  transform: scale(0.98);
}

.btn-lg {
  min-height: 56px;
  padding-inline: 22px;
  border-radius: 16px;
}

.hamburger {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.mobile-drawer {
  display: none;
}

.hero {
  position: relative;
  padding: 72px 0 48px;
}

.hero-bg {
  position: absolute;
  inset: auto;
  pointer-events: none;
  filter: blur(18px);
}

.hero-bg-left {
  left: -60px;
  bottom: 70px;
  width: 420px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(133, 186, 255, 0.3) 0%, rgba(133, 186, 255, 0) 72%);
}

.hero-bg-right {
  right: -40px;
  top: 72px;
  width: 360px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 183, 116, 0.24) 0%, rgba(255, 183, 116, 0) 70%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 520px);
  gap: 56px;
  align-items: center;
}

.hero-copy {
  max-width: 560px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--orange);
  background: rgba(255, 122, 0, 0.1);
  font-size: 13px;
  font-weight: 600;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.hero h1 {
  margin: 20px 0 0;
  font-size: clamp(44px, 5vw, 70px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.hero h1 span {
  display: block;
  color: var(--orange);
}

.hero-text {
  margin: 22px 0 0;
  max-width: 620px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-soft);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero-visual {
  position: relative;
  min-width: 0;
}

.dashboard-preview {
  position: relative;
  padding: 0 18px 18px;
  border: 1px solid rgba(18, 27, 44, 0.06);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.dashboard-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
  margin: 0 -18px 18px;
  padding: 0 16px;
  border-radius: 24px 24px 0 0;
  background: linear-gradient(90deg, var(--orange) 0%, #ffb33f 100%);
}

.dashboard-topbar-dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dashboard-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
}

.dashboard-refresh {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}

.dashboard-refresh:hover {
  background: rgba(255, 255, 255, 0.28);
}

.dashboard-refresh:active {
  transform: scale(0.96);
}

.dashboard-refresh.is-spinning i {
  animation: spin 0.8s linear infinite;
}

.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.metric-card {
  padding: 16px;
  border-radius: 16px;
  background: #f4f5f9;
}

.metric-card-wide {
  grid-column: span 2;
}

.metric-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(30, 36, 50, 0.55);
}

.metric-value {
  margin-top: 8px;
  font-size: 28px;
  line-height: 1;
  font-weight: 800;
  color: var(--text);
}

.metric-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.metric-kv {
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(18, 27, 44, 0.06);
}

.metric-k {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(30, 36, 50, 0.56);
}

.metric-delta {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  font-size: 10px;
}

.metric-delta.is-up {
  color: #1f7a37;
  background: rgba(34, 164, 71, 0.14);
}

.metric-delta.is-down {
  color: #b42318;
  background: rgba(198, 40, 40, 0.14);
}

.metric-delta.is-neutral {
  color: rgba(30, 36, 50, 0.5);
  background: rgba(18, 27, 44, 0.08);
}

.metric-big {
  display: block;
  margin-top: 6px;
  font-size: 26px;
  line-height: 1;
  font-weight: 800;
  color: var(--text);
}

.metric-trend {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
}

.metric-trend.positive {
  color: var(--green);
}

.dashboard-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  min-height: 248px;
}

.list-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #f6f7fb;
}

.list-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 156, 102, 0.42), rgba(255, 197, 170, 0.74));
}

.list-copy {
  flex: 1 1 auto;
}

.list-line {
  height: 8px;
  border-radius: 999px;
  background: #ced3dc;
}

.line-lg {
  width: 78px;
}

.line-sm {
  width: 52px;
  margin-top: 7px;
}

.list-tag {
  min-width: 118px;
  padding: 7px 10px;
  border-radius: 999px;
  text-align: center;
  background: rgba(134, 208, 136, 0.68);
  color: #2f6541;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.support-modal {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  place-items: center;
  padding: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.support-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.support-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.48);
  backdrop-filter: blur(8px);
}

.support-modal-dialog {
  position: relative;
  width: min(1340px, calc(100vw - 56px));
  max-height: calc(100vh - 56px);
  overflow: auto;
  padding: 34px 28px 28px;
  border: 1px solid rgba(18, 27, 44, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 30px 80px rgba(18, 27, 44, 0.22);
  transform: translateY(20px) scale(0.98);
  transition: transform 0.22s ease;
}

.support-modal.is-open .support-modal-dialog {
  transform: translateY(0) scale(1);
}

.support-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(18, 27, 44, 0.08);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.support-modal-close:hover {
  background: rgba(255, 122, 0, 0.08);
  color: var(--orange);
}

.support-modal-close:active {
  transform: scale(0.96);
}

.support-modal-head {
  margin-bottom: 24px;
}

.support-modal-head h2 {
  margin: 14px 0 10px;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.support-modal-head p {
  margin: 0;
  max-width: 720px;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.65;
}

.guide-modal-dialog {
  width: min(980px, calc(100vw - 56px));
}

.guide-modal-body {
  display: grid;
  gap: 18px;
}

.guide-modal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.guide-modal-card {
  padding: 18px 20px;
  border: 1px solid rgba(18, 27, 44, 0.08);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fafcff 100%);
}

.guide-modal-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.guide-modal-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
  font-size: 14px;
}

.guide-modal-kicker {
  margin-bottom: 8px;
  color: rgba(30, 36, 50, 0.56);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.guide-modal-endpoint {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.guide-modal-list {
  margin: 0;
  padding-left: 18px;
  color: var(--text-soft);
  display: grid;
  gap: 8px;
  line-height: 1.6;
  font-size: 14px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.support-card {
  min-height: 312px;
  padding: 30px 28px;
  border: 1px solid rgba(18, 27, 44, 0.11);
  border-radius: 26px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.support-icon {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(255, 122, 0, 0.1);
  color: var(--orange);
  font-size: 30px;
}

.support-card h3 {
  margin: 28px 0 12px;
  font-size: 22px;
  line-height: 1.2;
}

.support-card p {
  margin: 0;
  max-width: 340px;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.65;
}

.support-card a {
  margin-top: auto;
  padding-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--orange);
  font-size: 18px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.support-card a:hover {
  color: #e56700;
}

.section {
  padding: 32px 0;
}

.section-last {
  padding-bottom: 80px;
}

.section-head {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 24px;
}

.section-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 122, 0, 0.08);
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.section-head p {
  margin: 14px auto 0;
  max-width: 760px;
  color: var(--text-soft);
  line-height: 1.72;
  font-size: 15px;
}

.card {
  border: 1px solid rgba(18, 27, 44, 0.06);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 28px 18px;
  border-bottom: 1px solid rgba(18, 27, 44, 0.06);
}

.card-head h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.card-head h3 i {
  color: var(--orange);
}

.sub {
  margin-top: 8px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.6;
}

.card-head-split {
  align-items: center;
}

.card-help-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 122, 0, 0.24);
  border-radius: 14px;
  background: rgba(255, 122, 0, 0.08);
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.18s ease, border-color 0.18s ease;
}

.card-help-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 122, 0, 0.12);
  border-color: rgba(255, 122, 0, 0.34);
}

.card-help-btn i {
  font-size: 16px;
}

.card-help-btn-inline {
  flex: 0 0 auto;
}

.card-body {
  padding: 24px 28px 30px;
}

.form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 280px;
  min-width: 0;
  position: relative;
}

.field-small {
  flex: 0 0 132px;
}

.field-full {
  flex-basis: 100%;
}

.form .field:not(.field-full) {
  padding-bottom: 24px;
}

.form > .btn {
  align-self: flex-start;
  margin-top: 32px;
}

label {
  display: block;
  min-height: 20px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(30, 36, 50, 0.76);
}

.input {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid rgba(18, 27, 44, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.input:focus {
  border-color: rgba(255, 122, 0, 0.45);
  box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.12);
}

.textarea-input {
  min-height: 200px;
  resize: vertical;
  white-space: pre-wrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  line-height: 1.5;
}

.hint {
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.5;
}

.form .field:not(.field-full) .hint {
  position: absolute;
  left: 0;
  bottom: 0;
}

.standalone-hint {
  margin-top: 14px;
}

code {
  padding: 2px 7px;
  border-radius: 8px;
  background: rgba(18, 27, 44, 0.05);
  color: rgba(30, 36, 50, 0.76);
  font-size: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.divider {
  height: 1px;
  margin: 22px 0;
  background: linear-gradient(90deg, rgba(18, 27, 44, 0.06), rgba(18, 27, 44, 0.02));
}

.filter-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.filter-field {
  min-width: 280px;
}

.tc-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-eur-refresh {
  min-width: 152px;
}

.tc-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.tc-panels-single {
  grid-template-columns: minmax(0, 1fr);
}

.tc-panel {
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fc 100%);
  border: 1px solid rgba(18, 27, 44, 0.06);
}

.tc-panel-full {
  width: 100%;
}

.tc-panel-title {
  font-size: 18px;
  font-weight: 800;
}

.tc-panel-endpoint {
  margin-top: 6px;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 600;
}

.site-footer {
  margin-top: 48px;
  background: #252933;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer-topline {
  height: 3px;
  background: linear-gradient(90deg, #ff7a00 0%, #ff9f2f 100%);
}

.site-footer-shell {
  padding-top: 44px;
  padding-bottom: 24px;
}

.site-footer-grid {
  display: grid;
  grid-template-columns: 2.2fr repeat(5, minmax(120px, 1fr));
  gap: 34px;
}

.site-footer-brand {
  max-width: 330px;
  min-width: 0;
}

.site-footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 22px;
}

.site-footer-logo img {
  width: 110px;
  height: auto;
}

.site-footer-copy {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  line-height: 1.6;
}

.site-footer-contact {
  display: grid;
  gap: 12px;
}

.site-footer-contact a,
.site-footer-address {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.45;
}

.site-footer-contact a:hover {
  color: #fff;
}

.site-footer-contact i,
.site-footer-address i {
  width: 16px;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  flex: 0 0 16px;
}

.site-footer-social {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.site-footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.site-footer-social a:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  transform: translateY(-1px);
}

.site-footer-col h4 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.site-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  min-width: 0;
}

.site-footer-col a {
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  line-height: 1.4;
  transition: color 0.18s ease;
}

.site-footer-col a:hover {
  color: #fff;
}

.site-footer-bottom {
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 14px;
}

.site-footer-bottom span {
  color: rgba(255, 255, 255, 0.34);
}

.site-footer-bottom a {
  color: rgba(255, 255, 255, 0.64);
}

.site-footer-bottom a:hover {
  color: #fff;
}

.result-wrap {
  display: grid;
  gap: 14px;
}

.result-loading {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border: 1px dashed rgba(18, 27, 44, 0.14);
  border-radius: 18px;
  background: rgba(245, 247, 251, 0.82);
  color: rgba(30, 36, 50, 0.76);
  font-weight: 700;
}

.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(18, 27, 44, 0.16);
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.result-empty {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(245, 247, 251, 0.84);
  border: 1px solid rgba(18, 27, 44, 0.06);
  color: rgba(30, 36, 50, 0.72);
  font-weight: 700;
}

.result-error {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(234, 87, 87, 0.08);
  border: 1px solid rgba(198, 40, 40, 0.18);
  color: #7a2020;
}

.result-error-title {
  margin-bottom: 4px;
  font-weight: 800;
}

.result-error-msg {
  color: rgba(122, 32, 32, 0.88);
}

.result-card {
  padding: 18px;
  border: 1px solid rgba(18, 27, 44, 0.07);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  box-shadow: 0 10px 24px rgba(19, 28, 45, 0.05);
}

.muted {
  color: var(--text-soft);
}

.chips,
.cabys-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(18, 27, 44, 0.08);
  background: #f5f7fb;
  color: rgba(30, 36, 50, 0.78);
  font-size: 12px;
  font-weight: 700;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f5f7fb;
  color: rgba(30, 36, 50, 0.78);
  border: 1px solid rgba(18, 27, 44, 0.08);
  font-size: 12px;
  font-weight: 800;
}

.soft {
  background: rgba(255, 122, 0, 0.08);
  color: var(--orange);
  border-color: rgba(255, 122, 0, 0.16);
}

.chip.accent {
  color: var(--orange);
  border-color: rgba(255, 122, 0, 0.16);
  background: rgba(255, 122, 0, 0.08);
}

.chip.danger {
  color: #8b2323;
  border-color: rgba(198, 40, 40, 0.18);
  background: rgba(198, 40, 40, 0.08);
}

.chip.warning {
  color: #8b5200;
  border-color: rgba(181, 106, 0, 0.22);
  background: rgba(255, 186, 82, 0.14);
}

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

.tc-box {
  padding: 14px;
  border-radius: 16px;
  background: #f5f7fb;
  border: 1px solid rgba(18, 27, 44, 0.06);
}

.tc-k {
  margin-bottom: 6px;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 700;
}

.tc-v {
  color: var(--text);
  font-weight: 800;
}

.post {
  padding: 14px;
  border-radius: 18px;
  background: #f7f8fc;
  border: 1px solid rgba(18, 27, 44, 0.06);
}

.tool-h {
  color: var(--text);
  font-weight: 800;
}

.kv-value {
  color: rgba(30, 36, 50, 0.88);
  font-size: 13px;
  line-height: 1.45;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.kv-cabys-columns {
  margin: 0;
  padding-left: 18px;
  columns: 3 180px;
  column-gap: 18px;
}

.kv-cabys-columns li {
  break-inside: avoid;
  margin-bottom: 6px;
  color: rgba(30, 36, 50, 0.9);
  font-size: 13px;
  font-weight: 700;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.cabys-list {
  display: grid;
  gap: 12px;
}

.cabys-item {
  padding: 14px;
  border-radius: 20px;
  background: #f9fbff;
  border: 1px solid rgba(18, 27, 44, 0.08);
}

.cabys-item.is-obsolete {
  border-color: rgba(198, 40, 40, 0.18);
  background: rgba(255, 245, 245, 0.96);
}

.cabys-item.is-error {
  border-color: rgba(181, 106, 0, 0.2);
  background: rgba(255, 249, 239, 0.96);
}

.cabys-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.cabys-main {
  flex: 1 1 220px;
  display: grid;
  gap: 6px;
  min-width: 0;
}

.cabys-desc {
  color: var(--text);
  font-weight: 800;
  line-height: 1.4;
}

.cabys-note {
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.5;
  font-weight: 600;
}

.cabys-more {
  margin-top: 12px;
  border: 1px solid rgba(18, 27, 44, 0.08);
  border-radius: 18px;
  background: #f7f9fd;
  overflow: hidden;
}

.cabys-more summary,
.raw-json summary {
  padding: 12px 14px;
  cursor: pointer;
  list-style: none;
  color: rgba(30, 36, 50, 0.84);
  font-weight: 800;
}

.cabys-more summary::-webkit-details-marker,
.raw-json summary::-webkit-details-marker {
  display: none;
}

.cabys-more[open] summary,
.raw-json[open] summary {
  border-bottom: 1px solid rgba(18, 27, 44, 0.08);
}

.cabys-more-body {
  padding: 12px 14px 14px;
}

.raw-json {
  margin-top: 12px;
  border: 1px solid rgba(18, 27, 44, 0.08);
  border-radius: 18px;
  background: #f8f9fc;
  overflow: hidden;
}

.raw-json pre {
  margin: 0;
  padding: 14px;
  overflow: auto;
  font-size: 12px;
  background: rgba(18, 27, 44, 0.03);
  border-top: 1px solid rgba(18, 27, 44, 0.08);
}

.tc-auto-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(18, 27, 44, 0.08);
  background: #f7f8fc;
  color: rgba(30, 36, 50, 0.76);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.tc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(34, 164, 71, 0.14);
}

.tc-auto-status.syncing .tc-dot {
  animation: pulse 0.9s ease-in-out infinite;
}

.tc-out.tc-refreshing .result-card {
  animation: card-breathe 0.9s ease-in-out infinite alternate;
}

.tc-out.tc-updated .result-card {
  animation: card-flash 0.8s ease-out;
}

#btnEUR.is-spinning i,
#btnRefreshHeroMini.is-spinning i {
  animation: spin 0.8s linear infinite;
}

.tc-skeleton-card {
  padding: 18px;
  border: 1px solid rgba(18, 27, 44, 0.07);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.tc-skeleton-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.tc-skeleton-line,
.tc-skeleton-pill,
.tc-skeleton-box {
  position: relative;
  overflow: hidden;
  background: #e9edf5;
}

.tc-skeleton-line::after,
.tc-skeleton-pill::after,
.tc-skeleton-box::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), transparent);
  animation: skeleton-sweep 1.2s ease-in-out infinite;
}

.tc-skeleton-line {
  height: 16px;
  width: 180px;
  border-radius: 999px;
}

.tc-skeleton-pill {
  width: 112px;
  height: 32px;
  border-radius: 999px;
}

.tc-skeleton-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.tc-skeleton-box {
  height: 104px;
  border-radius: 16px;
}

.toast {
  position: fixed;
  left: 50%;
  top: 18px;
  z-index: 90;
  width: min(92vw, 430px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 18px;
  background: rgba(24, 31, 45, 0.88);
  color: #f3f7ff;
  box-shadow: 0 18px 36px rgba(18, 27, 44, 0.24);
  backdrop-filter: blur(14px);
  transform: translateX(calc(-50% + var(--toast-swipe-x, 0px))) translateY(-14px) scale(0.98);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.toast.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(calc(-50% + var(--toast-swipe-x, 0px))) translateY(0) scale(1);
}

.toast.hide {
  opacity: 0;
  transform: translateX(calc(-50% + var(--toast-swipe-x, 0px))) translateY(-12px) scale(0.98);
}

.toast.dragging {
  transition: none;
}

.toast-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px 13px;
}

.toast-icon,
.toast-close {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
}

.toast-icon {
  background: rgba(255, 255, 255, 0.14);
}

.toast-text {
  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;
}

.toast-close {
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
  cursor: pointer;
}

.toast.toast-success {
  border-color: rgba(119, 221, 158, 0.44);
}

.toast.toast-success .toast-icon {
  color: #9ff0bc;
  background: rgba(92, 196, 128, 0.2);
}

.toast.toast-error {
  border-color: rgba(255, 125, 136, 0.44);
}

.toast.toast-error .toast-icon {
  color: #ffd1d6;
  background: rgba(255, 105, 121, 0.24);
}

.toast.toast-warning {
  border-color: rgba(255, 188, 92, 0.5);
}

.toast.toast-warning .toast-icon {
  color: #ffe1ae;
  background: rgba(255, 188, 92, 0.24);
}

.toast.toast-info {
  border-color: rgba(123, 179, 255, 0.5);
}

.toast.toast-info .toast-icon {
  color: #dcebff;
  background: rgba(123, 179, 255, 0.24);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.12);
    opacity: 1;
  }
  100% {
    transform: scale(0.95);
    opacity: 0.6;
  }
}

@keyframes card-breathe {
  from {
    box-shadow: 0 12px 28px rgba(19, 28, 45, 0.05);
  }
  to {
    box-shadow: 0 18px 38px rgba(255, 122, 0, 0.14);
  }
}

@keyframes card-flash {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 122, 0, 0.24), 0 12px 28px rgba(19, 28, 45, 0.05);
  }
  100% {
    box-shadow: 0 0 0 12px rgba(255, 122, 0, 0), 0 12px 28px rgba(19, 28, 45, 0.05);
  }
}

@keyframes skeleton-sweep {
  to {
    transform: translateX(100%);
  }
}

@media (max-width: 1140px) {
  .topbar-inner {
    gap: 14px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-visual {
    max-width: 720px;
    width: 100%;
  }

  .dashboard-preview {
    max-width: 100%;
  }

  .site-footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-footer-brand {
    grid-column: 1 / -1;
    max-width: 420px;
  }
}

@media (max-width: 980px) {
  .topbar {
    backdrop-filter: blur(14px);
  }

  .topbar-inner {
    min-height: 74px;
  }

  .nav,
  .nav-actions {
    display: none;
  }

  .hamburger {
    display: inline-flex;
  }

  .mobile-drawer {
    position: fixed;
    top: 78px;
    left: 12px;
    right: 12px;
    z-index: 60;
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid rgba(18, 27, 44, 0.08);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(12px);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    max-height: calc(100vh - 96px);
    overflow: auto;
  }

  .mobile-drawer a {
    padding: 12px 14px;
    border-radius: 14px;
    background: #f7f8fc;
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
  }

  body.nav-open .mobile-drawer {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  body.nav-open .hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.nav-open .hamburger span:nth-child(2) {
    opacity: 0;
  }

  body.nav-open .hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .card-head,
  .card-head-split {
    flex-direction: column;
    align-items: flex-start;
  }

  .card-head-split > * {
    width: 100%;
  }

  .tc-actions {
    width: 100%;
    justify-content: space-between;
  }

  .guide-modal-grid {
    grid-template-columns: 1fr;
  }

  .tc-panels {
    grid-template-columns: 1fr;
  }

  .tc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kv-cabys-columns {
    columns: 2 180px;
  }

  .metric-card-wide {
    grid-column: auto;
  }

  .site-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .support-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .hero {
    padding: 46px 0 28px;
  }

  .hero-grid {
    gap: 28px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-text {
    margin-inline: auto;
  }

  .eyebrow,
  .hero-actions {
    justify-content: center;
  }

  .dashboard-list {
    min-height: auto;
  }

  .support-modal-dialog {
    padding: 28px 22px 22px;
  }

  .site-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(var(--max), calc(100% - 24px));
  }

  .section {
    padding: 24px 0;
  }

  .section-last {
    padding-bottom: 56px;
  }

  .section-head {
    margin-bottom: 18px;
  }

  .topbar-inner {
    min-height: 70px;
    padding: 8px 0;
  }

  .brand-img {
    width: 50px;
    height: 50px;
  }

  .hero {
    padding: 32px 0 22px;
  }

  .hero h1 {
    font-size: clamp(36px, 11vw, 52px);
  }

  .hero-text {
    font-size: 15px;
  }

  .hero-actions,
  .form,
  .tc-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn,
  .btn-lg {
    width: 100%;
  }

  .btn-flip {
    min-width: 0;
  }

  .clear-concept-button {
    min-width: 0;
  }

  .field,
  .field-small {
    flex-basis: 100%;
  }

  .form .field:not(.field-full) {
    padding-bottom: 0;
  }

  .form .field:not(.field-full) .hint {
    position: static;
  }

  .form > .btn {
    align-self: stretch;
    margin-top: 0;
  }

  .dashboard-preview {
    padding: 0 12px 14px;
    border-radius: 22px;
  }

  .dashboard-topbar {
    margin-inline: -12px;
    margin-bottom: 12px;
  }

  .dashboard-metrics {
    grid-template-columns: 1fr;
  }

  .metric-card,
  .metric-kv {
    padding: 14px;
  }

  .metric-value,
  .metric-big {
    font-size: 24px;
  }

  .metric-split {
    grid-template-columns: 1fr;
  }

  .dashboard-list {
    min-height: auto;
  }

  .list-tag {
    min-width: 0;
    width: 100%;
  }

  .card {
    border-radius: 24px;
  }

  .card-head {
    padding: 22px 20px 16px;
  }

  .card-head h3 {
    font-size: 22px;
    line-height: 1.15;
  }

  .card-help-btn {
    width: 100%;
  }

  .card-body {
    padding: 20px 20px 24px;
  }

  .tc-grid {
    grid-template-columns: 1fr;
  }

  .kv-cabys-columns {
    columns: 1;
  }

  .filter-tools {
    align-items: stretch;
    gap: 10px;
  }

  .filter-field {
    min-width: 0;
    width: 100%;
  }

  .cabys-top {
    flex-direction: column;
  }

  .cabys-copy {
    width: 100%;
  }

  .tc-auto-status {
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
    padding: 10px 14px;
  }

  .site-footer-shell {
    padding-top: 34px;
  }

  .site-footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .site-footer-brand {
    max-width: none;
  }

  .site-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer-contact a,
  .site-footer-address {
    overflow-wrap: anywhere;
  }

  .toast {
    top: 10px;
    width: min(96vw, 420px);
  }

  .support-modal {
    padding: 14px;
  }

  .support-modal-dialog {
    width: min(100vw - 28px, 1340px);
    max-height: calc(100vh - 28px);
    padding: 24px 18px 20px;
    border-radius: 24px;
  }

  .support-modal-close {
    top: 12px;
    right: 12px;
  }

  .support-card {
    min-height: auto;
    padding: 24px 20px;
  }

  .support-card h3 {
    font-size: 20px;
  }

  .support-card p,
  .support-card a {
    font-size: 15px;
  }

  .guide-modal-card {
    padding: 16px 16px 18px;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 26px;
  }

  .eyebrow {
    width: 100%;
    justify-content: center;
    text-align: center;
    line-height: 1.35;
  }

  .hero h1 {
    margin-top: 16px;
    font-size: clamp(32px, 11vw, 42px);
  }

  .section-pill {
    width: 100%;
    justify-content: center;
  }

  .section-head h2 {
    font-size: 30px;
  }

  .section-head p {
    font-size: 14px;
    line-height: 1.65;
  }

  .mobile-drawer {
    top: 74px;
    left: 10px;
    right: 10px;
    border-radius: 18px;
  }

  .dashboard-topbar-dots {
    gap: 6px;
  }

  .dashboard-topbar span {
    width: 8px;
    height: 8px;
  }

  .list-row {
    gap: 10px;
    padding: 12px;
    flex-wrap: wrap;
  }

  .list-copy {
    min-width: 0;
  }

  .result-card,
  .result-loading,
  .result-empty,
  .result-error {
    padding: 14px;
    border-radius: 18px;
  }

  .card-head,
  .card-body {
    padding-inline: 16px;
  }

  .btn-flip {
    height: 48px;
  }

  .btn-flip {
    font-size: 13px;
    letter-spacing: 0.03em;
  }

  .btn-flip-face {
    gap: 7px;
    padding-inline: 16px;
  }

  .clear-concept-button {
    min-height: 48px;
  }

  .support-modal {
    padding: 10px;
  }

  .support-modal-dialog {
    width: min(100vw - 20px, 1340px);
    max-height: calc(100vh - 20px);
    padding: 22px 16px 18px;
    border-radius: 20px;
  }

  .support-modal-head h2 {
    font-size: 28px;
  }

  .toast-inner {
    grid-template-columns: auto 1fr;
  }

  .toast-close {
    grid-column: 1 / -1;
    width: 100%;
    height: 32px;
    border-radius: 12px;
  }
}

/* Sección actual en la navegación de escritorio y móvil. */
.nav a.is-active,
.mobile-drawer a.is-active {
  color: #a84600;
  background: linear-gradient(135deg, rgba(255, 122, 0, 0.18), rgba(255, 159, 47, 0.1));
  box-shadow: inset 0 0 0 1px rgba(255, 122, 0, 0.32), 0 0 18px rgba(255, 122, 0, 0.2);
}

.nav a,
.mobile-drawer a {
  transition: color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

main section[id] {
  scroll-margin-top: 96px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nav a, .mobile-drawer a { transition: none; }
}

.back-to-top {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 35;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 122, 0, 0.4);
  border-radius: 999px;
  background: linear-gradient(135deg, #ff7a00, #ff9f2f);
  color: #492100;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(255, 122, 0, 0.28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(16px) scale(0.94);
  transition: opacity 0.28s ease, transform 0.28s ease, box-shadow 0.18s ease, visibility 0s linear 0.28s;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  transition-delay: 0s;
}

.back-to-top.is-visible:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(255, 122, 0, 0.4);
}
.back-to-top:focus-visible {
  outline: 3px solid #a84600;
  outline-offset: 4px;
}
@media (prefers-reduced-motion: reduce) {
  .back-to-top { transition: none; }
}

.exchange-source {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(15, 62, 99, 0.12);
  border-radius: 16px;
  background: linear-gradient(120deg, #fff, #eef5fa);
  color: #0f3e63;
  text-decoration: none;
  min-width: 0;
}
.exchange-source-logo {
  display: flex;
  align-items: center;
  flex: 0 0 100px;
  padding-right: 14px;
  border-right: 1px solid rgba(15, 62, 99, 0.15);
}
.exchange-source-logo img {
  width: 100%;
  height: auto;
  display: block;
}
.exchange-source-copy { display: grid; gap: 3px; min-width: 0; }
.exchange-source-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #56758d;
}
.exchange-source-name { font-size: 12px; font-weight: 800; line-height: 1.4; }
.exchange-source-note { font-size: 11px; color: #56758d; line-height: 1.4; }
.exchange-source-link { font-size: 11px; margin-left: auto; color: #56758d; }
.exchange-source:hover { border-color: rgba(15, 62, 99, 0.35); }
.exchange-source:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.exchange-source-compact { margin-top: 14px; gap: 10px; padding: 12px; }
.exchange-source-compact .exchange-source-logo { flex-basis: 72px; padding-right: 10px; }
.exchange-source-compact .exchange-source-name { font-size: 11px; }
.tc-panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.tc-panel-heading .tc-panel-title { margin-bottom: 0; }
@media (max-width: 560px) {
  .tc-panel-heading .exchange-source { width: 100%; }
  .exchange-source-logo { flex-basis: 82px; }
}

.api-notice { margin-bottom: 40px; }
.api-notice-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 26px;
  border: 1px solid rgba(15, 62, 99, 0.12);
  border-radius: 24px;
  background: linear-gradient(120deg, #fff, #eef5fa);
}
.api-notice-icon {
  flex: 0 0 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(15, 62, 99, 0.07);
  color: #0f3e63;
  font-size: 22px;
}
.api-notice-copy { flex: 1; min-width: 0; }
.api-notice-copy h2 { margin: 6px 0 8px; font-size: 18px; color: #0f3e63; }
.api-notice-copy p { margin: 0; font-size: 13px; line-height: 1.75; color: #56758d; }
.api-notice-link { flex: 0 0 auto; background: rgba(255, 255, 255, 0.8); }
.api-notice-link-icon { font-size: 20px; }
@media (max-width: 760px) {
  .api-notice-card { flex-wrap: wrap; gap: 16px; padding: 20px; }
  .api-notice-copy { flex-basis: calc(100% - 64px); }
  .api-notice-link { flex-basis: 100%; }
}
