/* Scoped eSIM Jungle calculator; no global form or legacy calculator overrides. */
.esj-data-usage {
    --du-green: #0a8754;
    --du-ink: #173a2c;
    --du-muted: #53665b;
    --du-line: #dce8df;
    color: var(--du-ink);
    font-family: inherit;
    font-size: 16px;
    line-height: 1.55;
    max-width: 1120px;
    margin: 0 auto;
    text-align: left;
}
.esj-data-usage[v-cloak] { display: none; }
.esj-data-usage *, .esj-data-usage *::before, .esj-data-usage *::after { box-sizing: border-box; }
.esj-data-usage :is(h2, h3, h4, p, ul, fieldset) { margin: 0; padding: 0; }
.esj-data-usage :is(button, input, select) { font: inherit; }
.esj-data-usage :is(button, input, select, summary, a):focus-visible { outline: 3px solid var(--du-green); outline-offset: 4px; }
.esj-data-usage button { cursor: pointer; }
.esj-du-heading { margin-bottom: 28px; max-width: 760px; }
.esj-du-eyebrow { color: #086d45; font-size: 11px; font-weight: 750; letter-spacing: .12em; }
.esj-data-usage .esj-du-heading h2 { color: var(--du-ink); font-size: clamp(24px, 3vw, 34px); font-weight: 750; line-height: 1.2; margin: 10px 0 12px; letter-spacing: -.025em; }
.esj-du-heading p, .esj-data-usage .esj-du-hint { color: var(--du-muted); }
.esj-du-trip { padding: 24px 28px 20px; background: #f1faf5; border: 1px solid var(--du-line); border-radius: 16px; margin-bottom: 28px; }
.esj-du-trip-heading { display: flex; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.esj-du-trip-heading label { font-size: 18px; font-weight: 700; }
.esj-du-days { white-space: nowrap; color: #086d45; }
.esj-du-days strong { font-size: 30px; font-weight: 750; }
.esj-data-usage .esj-du-range {
    display: block; appearance: none; -webkit-appearance: none; width: 100%; height: 28px;
    padding: 0; margin: 0; border: 0; box-shadow: none; cursor: pointer;
    background: linear-gradient(to right, var(--du-green) var(--range-progress, 0%), var(--du-line) var(--range-progress, 0%)) center / 100% 5px no-repeat;
    border-radius: 0;
}
.esj-data-usage input.esj-du-range::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; background: #fff; border: 3px solid var(--du-green); border-radius: 50%; box-shadow: 0 2px 5px #173a2c20; }
.esj-data-usage input.esj-du-range::-moz-range-thumb { width: 16px; height: 16px; background: #fff; border: 3px solid var(--du-green); border-radius: 50%; box-shadow: 0 2px 5px #173a2c20; }
.esj-du-range-ends, .esj-du-activity-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--du-muted); font-size: 12px; }
.esj-du-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(270px, 340px); gap: 32px; align-items: start; }
.esj-du-inputs { min-width: 0; }
.esj-data-usage .esj-du-profiles { border: 0; min-width: 0; }
.esj-du-profiles legend { font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.esj-du-profile-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.esj-data-usage .esj-du-profile { display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--du-line); border-radius: 10px; padding: 14px 12px; color: var(--du-ink); background: #fff; text-align: left; line-height: 1.4; }
.esj-du-profile strong { font-size: 13px; font-weight: 700; }
.esj-du-profile span { font-size: 11px; color: var(--du-muted); }
.esj-data-usage .esj-du-profile[aria-pressed="true"] { border-color: var(--du-green); background: #effbf4; box-shadow: inset 0 0 0 1px var(--du-green); }
.esj-data-usage .esj-du-profile:hover { border-color: var(--du-green); }
.esj-data-usage .esj-du-profile-note { font-size: 12px; margin: 10px 0 24px; color: var(--du-muted); }
.esj-du-activities-heading { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 8px; }
.esj-data-usage .esj-du-activities-heading h3 { font-size: 20px; font-weight: 700; color: var(--du-ink); }
.esj-data-usage .esj-du-text-button { background: transparent; border: 0; padding: 10px 0 10px 10px; font-size: 12px; color: #086d45; text-decoration: underline; white-space: nowrap; }
.esj-data-usage .esj-du-hint { font-size: 12px; margin-bottom: 4px; }
.esj-du-activity { padding: 20px 0 16px; border-bottom: 1px solid var(--du-line); }
.esj-du-activity-heading { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 12px; }
.esj-du-activity-heading label { font-weight: 650; font-size: 15px; }
.esj-data-usage .esj-du-activity-heading p { font-size: 11px; color: var(--du-muted); margin-top: 3px; }
.esj-du-hours { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; gap: 3px; }
.esj-data-usage .esj-du-hours input { width: 82px; min-height: 40px; padding: 6px 8px; border: 1px solid #a7bdaf; border-radius: 8px; background: #fff; color: var(--du-ink); font-size: 16px; text-align: center; box-shadow: none; }
.esj-du-hours span { font-size: 10px; color: var(--du-muted); }
.esj-du-quality { display: flex; align-items: center; gap: 12px; margin-top: 12px; font-size: 12px; }
.esj-data-usage .esj-du-quality select { width: auto; max-width: 100%; min-height: 40px; padding: 6px 30px 6px 10px; border: 1px solid #a7bdaf; border-radius: 6px; color: var(--du-ink); background-color: #fff; }
.esj-du-result { position: sticky; top: 24px; border: 1px solid var(--du-line); border-radius: 16px; background: #fff; overflow: hidden; }
.esj-du-result-total { background: #065133; color: #fff; padding: 26px 24px; }
.esj-data-usage .esj-du-result-total h3 { font-size: 14px; font-weight: 600; color: #e2f9ec; }
.esj-du-total { font-size: clamp(34px, 4vw, 48px); font-weight: 750; letter-spacing: -.035em; line-height: 1.3; margin: 6px 0; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.esj-data-usage .esj-du-result-total p { font-size: 12px; color: #e2f9ec; }
.esj-du-planning { padding: 22px 24px; border-bottom: 1px solid var(--du-line); }
.esj-du-buffer { display: flex; gap: 10px; align-items: center; font-size: 13px; cursor: pointer; }
.esj-data-usage .esj-du-buffer input { appearance: auto; width: 18px; height: 18px; padding: 0; margin: 0; accent-color: var(--du-green); flex-shrink: 0; }
.esj-du-recommendation { margin-top: 16px; display: flex; flex-direction: column; gap: 3px; }
.esj-data-usage .esj-du-recommendation p { font-size: 12px; }
.esj-du-recommendation strong { font-size: 25px; font-weight: 750; color: #086d45; }
.esj-du-recommendation span, .esj-data-usage .esj-du-plan-note { font-size: 11px; color: var(--du-muted); }
.esj-data-usage .esj-du-plan-note { margin-top: 14px; }
.esj-data-usage .esj-du-empty { margin-top: 16px; font-size: 14px; }
.esj-data-usage .esj-du-search { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 48px; margin-top: 18px; padding: 12px; border: 1px solid var(--du-green); border-radius: 8px; background: var(--du-green); color: #fff; font-size: 13px; font-weight: 700; line-height: 1.45; text-align: center; text-decoration: none; }
.esj-data-usage .esj-du-search:hover { background: #086d45; border-color: #086d45; color: #fff; }
.esj-data-usage .esj-du-search:disabled { background: #eff5f1; border-color: var(--du-line); color: var(--du-muted); cursor: not-allowed; }
.esj-data-usage .esj-du-search-hint { margin-top: 7px; font-size: 11px; color: var(--du-muted); text-align: center; }
.esj-du-breakdown { padding: 20px 24px 8px; }
.esj-data-usage .esj-du-breakdown h4 { font-size: 12px; font-weight: 700; margin-bottom: 16px; }
.esj-data-usage .esj-du-breakdown ul { list-style: none; }
.esj-du-breakdown li { margin-bottom: 14px; }
.esj-du-breakdown li > div:first-child { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; margin-bottom: 5px; }
.esj-du-breakdown strong { font-weight: 600; white-space: nowrap; }
.esj-du-bar { height: 4px; background: #eff5f1; border-radius: 2px; overflow: hidden; }
.esj-du-bar span { display: block; height: 100%; background: #0a8754; border-radius: inherit; }
.esj-data-usage .esj-du-reset { display: block; width: calc(100% - 48px); margin: 16px 24px 24px; background: #fff; color: #086d45; padding: 10px 14px; min-height: 44px; border: 1px solid var(--du-line); border-radius: 8px; font-size: 12px; }
.esj-data-usage .esj-du-reset:hover { background: #effbf4; border-color: var(--du-green); }
.esj-du-method { margin-top: 28px; padding: 20px 24px; border: 1px solid var(--du-line); border-radius: 12px; background: #f8fbf9; }
.esj-du-method summary { cursor: pointer; font-weight: 650; font-size: 14px; }
.esj-data-usage .esj-du-method p { font-size: 13px; margin-top: 14px; color: var(--du-muted); }
.esj-du-sources a { color: #086d45; text-decoration: underline; }
.esj-data-usage .esj-du-footnote { font-size: 11px; color: var(--du-muted); margin-top: 16px; }
.esj-data-usage .esj-du-warning { font-size: 13px; color: #774608; background: #fff8e9; padding: 12px 16px; border-radius: 8px; margin-top: 16px; }
.esj-du-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 820px) {
    .esj-du-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .esj-du-result { position: static; order: -1; }
    .esj-du-breakdown { display: none; }
    .esj-du-result-total { padding: 20px; }
    .esj-du-planning { padding: 18px 20px; }
    .esj-data-usage .esj-du-reset { margin: 14px 20px; width: calc(100% - 40px); }
    .esj-du-trip { padding: 18px 20px; }
}
@media (max-width: 440px) {
    .esj-du-profile-grid { grid-template-columns: minmax(0, 1fr); gap: 6px; }
    .esj-data-usage .esj-du-profile { padding: 10px 12px; gap: 2px; }
    .esj-du-trip-heading label { font-size: 15px; }
    .esj-du-days strong { font-size: 26px; }
    .esj-du-quality { flex-wrap: wrap; }
    .esj-du-method { padding: 18px; }
}
