:root {
  --atm-guide-bg: linear-gradient(180deg, #f6fbf7 0%, #eef6f1 100%);
  --atm-guide-card: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 252, 249, 0.94));
  --atm-guide-border: rgba(18, 71, 52, 0.11);
  --atm-guide-shadow:
    0 1rem 2rem rgba(13, 51, 38, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  --atm-guide-heading: #10392b;
  --atm-guide-text: #244337;
  --atm-guide-muted: #5a7066;
  --atm-guide-accent: #005f35;
  --atm-guide-accent-soft: rgba(0, 95, 53, 0.08);
  --atm-guide-gold: #a16a0a;
  --atm-guide-gold-soft: rgba(255, 247, 230, 0.92);
}

.atm-withdraw-guide-shell {
  padding: 1.8rem 0 4rem;
  background:
    radial-gradient(circle at top left, rgba(0, 95, 53, 0.06), transparent 34%),
    radial-gradient(circle at top right, rgba(212, 163, 61, 0.08), transparent 30%),
    var(--atm-guide-bg);
}

.atm-withdraw-guide-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(280px, 0.9fr);
  gap: 1.3rem;
  align-items: start;
}

.atm-withdraw-guide-article {
  border: 1px solid var(--atm-guide-border);
  border-radius: 1.75rem;
  background: var(--atm-guide-card);
  box-shadow: var(--atm-guide-shadow);
}

.atm-withdraw-guide-body {
  padding: 1.6rem;
  color: var(--atm-guide-text);
}

.atm-withdraw-guide-heading {
  margin-bottom: 1rem;
}

.atm-withdraw-guide-heading h1 {
  margin: 0;
  color: var(--atm-guide-heading);
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 4.1vw, 3.25rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.atm-withdraw-guide-summary {
  margin: 0 0 1.2rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(0, 95, 53, 0.12);
  border-radius: 1.25rem;
  background:
    linear-gradient(135deg, rgba(0, 95, 53, 0.09), rgba(212, 163, 61, 0.08));
}

.atm-withdraw-calc {
  position: relative;
  margin: 1.35rem 0 1.9rem;
  padding: 0;
  border-radius: 1.9rem;
  background: transparent;
  box-shadow:
    0 1.8rem 3.4rem rgba(10, 41, 24, 0.12),
    0 0.7rem 1.5rem rgba(10, 41, 24, 0.06);
  overflow: hidden;
}

.atm-withdraw-calc::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(9, 82, 52, 0.08), rgba(185, 124, 34, 0.08));
  pointer-events: none;
}

.atm-withdraw-calc__header,
.atm-withdraw-calc__board,
.atm-withdraw-calc__results {
  position: relative;
  z-index: 1;
}

.atm-withdraw-calc__header {
  padding: 2.4rem 2.6rem 1.05rem;
  border: 1px solid rgba(205, 221, 210, 0.92);
  border-bottom: 0;
  border-radius: 1.9rem 1.9rem 0 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(248, 251, 249, 0.99) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 1rem 2rem rgba(10, 41, 24, 0.05);
}

.atm-withdraw-calc__header h2 {
  margin: 0 0 0.55rem;
  text-align: center;
  color: #0b5c34;
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
  line-height: 1.15;
  text-decoration-line: underline;
  text-decoration-style: wavy;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 7px;
}

.atm-withdraw-calc__header p {
  margin: 0;
  text-align: center;
  color: var(--atm-guide-muted);
  font-size: 0.98rem;
  max-width: 42rem;
  margin-inline: auto;
}

.atm-withdraw-calc__board {
  display: block;
  padding: 0 2.6rem 1.35rem;
  border-left: 1px solid rgba(205, 221, 210, 0.92);
  border-right: 1px solid rgba(205, 221, 210, 0.92);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(248, 251, 249, 0.99) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.atm-withdraw-calc__field {
  display: grid;
  gap: 0.75rem;
  max-width: 46rem;
  margin: 0 auto;
}

.atm-withdraw-calc__field label {
  display: inline-block;
  width: 100%;
  text-align: center;
  color: #082315;
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  font-size: 1.02rem;
  font-weight: 800;
}

.atm-withdraw-calc__input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.95rem;
  align-items: center;
}

.atm-withdraw-calc__input-row input {
  width: 100%;
  min-height: 56px;
  padding: 14px 18px;
  border: 1px solid #b8d2c2;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdfc 100%);
  color: #173120;
  font: inherit;
  font-size: 1rem;
  box-shadow:
    inset 0 1px 2px rgba(8, 47, 27, 0.04),
    0 4px 10px rgba(10, 36, 21, 0.04);
}

.atm-withdraw-calc__input-row input:focus {
  outline: none;
  border-color: #8eb9a0;
  box-shadow:
    inset 0 1px 2px rgba(8, 47, 27, 0.04),
    0 0 0 4px rgba(16, 104, 62, 0.12);
}

.atm-withdraw-calc__input-row.is-error input {
  border-color: #c85a5a;
  box-shadow:
    inset 0 1px 2px rgba(95, 21, 21, 0.05),
    0 0 0 4px rgba(200, 90, 90, 0.12);
}

.atm-withdraw-calc__input-row input.is-error {
  border-color: #c85a5a;
}

.atm-withdraw-calc__hint {
  display: block;
  margin-top: 0.7rem;
  text-align: center;
  color: var(--atm-guide-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.atm-withdraw-calc__error {
  margin: 0.2rem 0 0;
  text-align: center;
  color: #ab2f2f;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.5;
}

.atm-withdraw-calc__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  min-width: 220px;
  padding: 14px 24px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #005f35 0%, #004b2a 100%);
  color: #fff;
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 14px 26px rgba(0, 69, 38, 0.18),
    0 4px 10px rgba(0, 69, 38, 0.12);
  cursor: pointer;
  white-space: nowrap;
}

.atm-withdraw-calc__results {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.9rem;
  padding: 1.2rem 2.6rem 2rem;
  border: 1px solid rgba(205, 221, 210, 0.92);
  border-top: 0;
  border-radius: 0 0 1.9rem 1.9rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(248, 251, 249, 0.99) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 1.1rem 2rem rgba(10, 41, 24, 0.06);
}

.atm-withdraw-calc__results.is-error .atm-withdraw-calc__result-card {
  border-color: rgba(200, 90, 90, 0.24);
}

.atm-withdraw-calc__result-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 180px;
  max-width: 22rem;
  width: 100%;
  margin: 0 auto;
  padding: 1.4rem 1.35rem;
  border: 1px solid #dde6df;
  border-radius: 1.55rem;
  background:
    linear-gradient(180deg, #ffffff 0%, #fcfefd 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 10px 18px rgba(8, 41, 23, 0.05);
  text-align: center;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.atm-withdraw-calc__results[data-state="ready"] .atm-withdraw-calc__result-card {
  border-color: rgba(13, 112, 66, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 18px 30px rgba(8, 41, 23, 0.09);
  transform: translateY(-1px);
}

.atm-withdraw-calc__label {
  display: block;
  color: #385142;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.atm-withdraw-calc__value {
  display: block;
  margin-top: 0.55rem;
  color: #005d34;
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  font-size: clamp(1.45rem, 2.35vw, 2.05rem);
  line-height: 1.15;
  font-weight: 900;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
}

.atm-withdraw-calc__results[data-state="idle"] .atm-withdraw-calc__value {
  color: #6e8379;
}

.atm-withdraw-calc__result-note {
  margin: 0.8rem 0 0;
  color: #5c7469;
  font-size: 0.93rem;
  line-height: 1.55;
  max-width: 16rem;
}

.atm-withdraw-calc__results[data-state="ready"] .atm-withdraw-calc__result-note {
  color: #315445;
}

.atm-withdraw-guide-summary p,
.atm-withdraw-guide-body p,
.atm-withdraw-guide-note p,
.atm-withdraw-guide-faq-card__content p {
  margin: 0;
  color: var(--atm-guide-text);
  font-size: 1rem;
  line-height: 1.75;
}

.atm-withdraw-guide-body p + p,
.atm-withdraw-guide-body p + h2,
.atm-withdraw-guide-body p + h3,
.atm-withdraw-guide-body h2 + p,
.atm-withdraw-guide-body h3 + p,
.atm-withdraw-guide-body h2 + .atm-withdraw-guide-table-wrap,
.atm-withdraw-guide-body h3 + .atm-withdraw-guide-table-wrap,
.atm-withdraw-guide-table-wrap + p,
.atm-withdraw-guide-steps + p,
.atm-withdraw-guide-faqs,
.atm-withdraw-guide-note {
  margin-top: 1rem;
}

.atm-withdraw-guide-body h2,
.atm-withdraw-guide-body h3 {
  margin: 1.65rem 0 0;
  color: var(--atm-guide-heading);
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.atm-withdraw-guide-body h2 {
  font-size: clamp(1.38rem, 2.4vw, 1.85rem);
}

.atm-withdraw-guide-body h3 {
  font-size: clamp(1.12rem, 2vw, 1.38rem);
}

.atm-withdraw-guide-body strong,
.atm-withdraw-guide-note strong,
.atm-withdraw-guide-faq-card__content strong {
  color: #123a2d;
}

.atm-withdraw-guide-body a,
.atm-withdraw-guide-note a,
.atm-withdraw-guide-faq-card__content a {
  color: var(--atm-guide-accent);
  font-weight: 700;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
}

.atm-withdraw-guide-body a:hover,
.atm-withdraw-guide-note a:hover,
.atm-withdraw-guide-faq-card__content a:hover {
  color: #004929;
}

.atm-withdraw-guide-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--atm-guide-border);
  border-radius: 1.55rem;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--atm-guide-shadow);
}

.atm-withdraw-guide-table-wrap table {
  width: 100%;
  border-collapse: collapse;
}

.atm-withdraw-guide-table-wrap thead th {
  padding: 1rem 1rem 0.95rem;
  background: linear-gradient(180deg, rgba(234, 244, 238, 0.96), rgba(224, 238, 230, 0.94));
  color: #154333;
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: left;
}

.atm-withdraw-guide-table-wrap tbody td {
  padding: 0.98rem 1rem;
  border-top: 1px solid rgba(18, 71, 52, 0.1);
  color: var(--atm-guide-text);
  font-size: 0.97rem;
  vertical-align: top;
}

.atm-withdraw-guide-table-wrap tbody tr:nth-child(even) td {
  background: rgba(247, 251, 248, 0.82);
}

.atm-withdraw-guide-steps {
  margin: 1rem 0 0;
  padding-left: 1.3rem;
  color: var(--atm-guide-text);
}

.atm-withdraw-guide-steps li {
  margin: 0.5rem 0;
  padding-left: 0.25rem;
  line-height: 1.7;
}

.atm-withdraw-guide-note {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(212, 163, 61, 0.2);
  border-radius: 1.25rem;
  background: linear-gradient(180deg, rgba(255, 250, 239, 0.96), rgba(255, 247, 234, 0.92));
}

.atm-withdraw-guide-faqs {
  counter-reset: atm-withdraw-faq-counter;
}

.atm-withdraw-guide-faqs__header {
  margin-bottom: 1rem;
}

.atm-withdraw-guide-faqs__header h2 {
  margin: 0;
}

.atm-withdraw-guide-faq-card {
  counter-increment: atm-withdraw-faq-counter;
  overflow: hidden;
  border: 1px solid var(--atm-guide-border);
  border-radius: 1.5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(247, 251, 247, 0.93));
  box-shadow: var(--atm-guide-shadow);
}

.atm-withdraw-guide-faq-card + .atm-withdraw-guide-faq-card {
  margin-top: 0.95rem;
}

.atm-withdraw-guide-faq-card summary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding: 1.2rem 3.6rem 1.2rem 4.4rem;
  color: #123a2d;
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

.atm-withdraw-guide-faq-card summary::-webkit-details-marker {
  display: none;
}

.atm-withdraw-guide-faq-card summary::before {
  content: counter(atm-withdraw-faq-counter, decimal-leading-zero);
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(214, 169, 63, 0.48);
  background: var(--atm-guide-gold-soft);
  color: var(--atm-guide-gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.atm-withdraw-guide-faq-card summary::after {
  content: "-";
  position: absolute;
  right: 1.3rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--atm-guide-accent);
  font-size: 1.45rem;
  font-weight: 400;
}

.atm-withdraw-guide-faq-card[open] summary::after {
  content: "−";
}

.atm-withdraw-guide-faq-card__content {
  padding: 0 1.2rem 1.25rem 4.4rem;
}

@media (max-width: 1100px) {
  .atm-withdraw-guide-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .atm-withdraw-guide-shell {
    padding: 1.4rem 0 3rem;
  }

  .atm-withdraw-guide-article {
    border-radius: 1.4rem;
  }

  .atm-withdraw-calc,
  .atm-withdraw-guide-article {
    border-radius: 1.4rem;
  }

  .atm-withdraw-guide-body {
    padding: 1.25rem;
  }

  .atm-withdraw-guide-heading h1 {
    font-size: clamp(1.8rem, 7vw, 2.45rem);
  }

  .atm-withdraw-calc__header {
    padding: 1.7rem 1.1rem 0.9rem;
    border-radius: 1.4rem 1.4rem 0 0;
  }

  .atm-withdraw-calc__board {
    padding: 0 1.1rem 1rem;
  }

  .atm-withdraw-calc__input-row {
    grid-template-columns: 1fr;
  }

  .atm-withdraw-calc__button {
    width: 100%;
    min-width: 0;
  }

  .atm-withdraw-calc__results {
    grid-template-columns: minmax(0, 1fr);
    padding: 1rem 1.1rem 1.2rem;
    border-radius: 0 0 1.4rem 1.4rem;
  }

  .atm-withdraw-guide-table-wrap thead th,
  .atm-withdraw-guide-table-wrap tbody td {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .atm-withdraw-guide-faq-card summary {
    padding: 1.05rem 3rem 1.05rem 3.7rem;
    font-size: 0.99rem;
  }

  .atm-withdraw-guide-faq-card__content {
    padding: 0 1rem 1.15rem 3.7rem;
  }
}
