/* 90/180 window explainer (11 November 2026) — a dark panel under the calculator, same family as the result card.
   Two views share one stage: the written example (five steps) and, after a calculation, the visitor's own dates.
   Without JavaScript only the five written steps are shown; the stage and its controls are revealed by the script. */
.li-x180 { --x-red:#ee3844; --x-soft:#b9c4d8; --x-muted:#8f9db8; --x-line:rgba(255,255,255,.12); margin-top:24px; padding:30px; border:1px solid #26344d; border-radius:12px; background:#17243c; color:#fff; box-shadow:0 12px 28px #15223c0d; scroll-margin-top:103px; }
.li-x180 [hidden] { display:none !important; }
/* paragraph typography carries !important: some article templates force theirs on every <p> the same way */
.li-x180 .li-x180-kicker { display:flex; align-items:center; gap:9px; margin:0 0 12px !important; color:#ff8d96 !important; font-size:11px !important; line-height:1.4 !important; font-weight:700; letter-spacing:.15em; text-transform:uppercase; }
.li-x180-dot { position:relative; flex:none; width:8px; height:8px; border-radius:50%; background:var(--x-red); }
.li-x180-dot::after { content:''; position:absolute; inset:-5px; border-radius:50%; border:1.5px solid var(--x-red); opacity:0; animation:li-x180-pulse 2.2s ease-out infinite; }
@keyframes li-x180-pulse { 0% { transform:scale(.5); opacity:.9; } 70%,100% { transform:scale(1.25); opacity:0; } }
.li-x180 .li-x180-title { margin:0 0 8px !important; color:#fff !important; font-size:clamp(21px,2.1vw,26px) !important; line-height:1.25 !important; font-weight:600; letter-spacing:-.02em; }
.li-x180 .li-x180-lead { max-width:720px; margin:0 !important; color:var(--x-soft) !important; font-size:14.5px !important; line-height:1.65 !important; }
.li-x180-head { display:flex; flex-wrap:wrap; align-items:flex-end; justify-content:space-between; gap:16px 28px; }
.li-x180-head > div:first-child { flex:1 1 420px; min-width:0; }
.li-x180-modes { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:8px; }
.li-x180-modes button { min-height:44px; padding:0 17px; border:1px solid rgba(255,255,255,.3); border-radius:999px; background:transparent; color:#fff; font:inherit; font-size:13px; font-weight:600; cursor:pointer; transition:background-color .15s, border-color .15s, color .15s; }
.li-x180-modes button:hover { border-color:#fff; }
.li-x180-modes button[aria-pressed="true"] { border-color:#fff; background:#fff; color:#15223c; }
.li-x180-modes button.is-off { border-style:dashed; color:var(--x-soft); }
.li-x180-locked { flex-basis:100%; color:var(--x-muted); font-size:12px; line-height:1.4; text-align:end; }
.li-x180-modes button:focus-visible, .li-x180-mine button:focus-visible, .li-x180-go a:focus-visible, .li-x180-over a:focus-visible { outline:2px solid #fff; outline-offset:3px; }
.li-x180-body { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(0,1fr); grid-template-areas:'stage steps' 'nav steps'; gap:14px 30px; align-items:start; margin-top:20px; }
.li-x180-stage { grid-area:stage; min-width:0; padding:18px 20px 16px; border:1px solid var(--x-line); border-radius:10px; background:rgba(255,255,255,.035); }
.li-x180-nav { grid-area:nav; display:flex; align-items:center; justify-content:space-between; gap:14px; }
.li-x180-steps { grid-area:steps; min-width:0; margin:0; padding:0; list-style:none; display:flex; flex-direction:column; gap:2px; }

/* readouts */
.li-x180-read { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) minmax(0,.85fr); gap:14px; margin:0; }
.li-x180-read > div { display:flex; flex-direction:column; justify-content:flex-end; min-width:0; }
.li-x180-read dt { margin:0 0 5px; color:var(--x-muted); font-size:10.5px; font-weight:600; letter-spacing:.1em; text-transform:uppercase; line-height:1.35; }
.li-x180-read dd { margin:0; display:flex; align-items:baseline; gap:6px; color:#fff; font-size:27px; line-height:1.1; font-weight:600; letter-spacing:-.02em; font-variant-numeric:tabular-nums; white-space:nowrap; }
.li-x180-read dd b { font-weight:600; transition:color .2s; }
.li-x180-read dd small { color:var(--x-muted); font-size:13px; font-weight:500; letter-spacing:0; }
.li-x180-stage.is-full [data-x180-used] { color:#ff6470; }
.li-x180-bar { height:6px; margin-top:13px; border-radius:3px; background:rgba(255,255,255,.12); overflow:hidden; }
.li-x180-bar i { display:block; width:0; height:100%; border-radius:3px; background:var(--x-red); transition:width .12s linear; }

/* calendar: label column + 31 day columns; wrappers touch so the window band reads as one outline per row */
.li-x180-cal { display:grid; grid-template-columns:max-content repeat(31,minmax(0,1fr)); row-gap:5px; align-items:center; margin-top:16px; }
.li-x180-mon { padding-inline-end:10px; color:var(--x-muted); font-size:11px; font-weight:600; letter-spacing:.05em; text-transform:uppercase; line-height:1; white-space:nowrap; }
.li-x180-tick { position:relative; height:13px; color:var(--x-muted); font-size:10px; line-height:13px; text-align:center; overflow:visible; white-space:nowrap; font-variant-numeric:tabular-nums; }
.li-x180-d { display:block; height:22px; padding:2.5px 1.5px; border-block:1.5px solid transparent; }
.li-x180-d b { display:block; height:100%; border-radius:3px; background:rgba(255,255,255,.09); transition:background-color .16s ease, box-shadow .16s ease, opacity .16s ease; }
.li-x180-x { display:block; height:22px; }
.li-x180-year { grid-column:1 / -1; display:flex; align-items:center; gap:10px; margin-top:2px; color:var(--x-muted); font-size:10.5px; font-weight:600; letter-spacing:.08em; line-height:1; font-variant-numeric:tabular-nums; }
.li-x180-year::after { content:''; flex:1; height:1px; background:var(--x-line); }
.li-x180-d.is-win { border-block-color:rgba(255,255,255,.36); background:rgba(255,255,255,.05); }
.li-x180-d.is-win b { background:rgba(255,255,255,.27); }
.li-x180-d.is-ws { border-inline-start:1.5px solid rgba(255,255,255,.36); border-start-start-radius:7px; border-end-start-radius:7px; }
.li-x180-d.is-we { border-inline-end:1.5px solid rgba(255,255,255,.36); border-start-end-radius:7px; border-end-end-radius:7px; }
.li-x180-d.is-stay b { background:var(--x-red); }
.li-x180-d.is-wait b { opacity:.45; }
.li-x180-d.is-out b { background:rgba(238,56,68,.1); box-shadow:inset 0 0 0 1.5px rgba(238,56,68,.78); }
.li-x180-d.is-new b { background:#fff; }
.li-x180-d.is-we b { box-shadow:0 0 0 2px #17243c, 0 0 0 3.5px #fff, 0 0 12px rgba(255,255,255,.55); }

/* legend, slider, transport */
.li-x180-legend { display:flex; flex-wrap:wrap; gap:8px 18px; margin:14px 0 0; padding:0; list-style:none; color:var(--x-soft); font-size:12px; line-height:1.4; }
.li-x180 .li-x180-legend li { display:flex; align-items:center; gap:7px; margin:0; padding:0; color:inherit; font-size:inherit; line-height:inherit; }
.li-x180-legend li::before { content:''; flex:none; width:8px; height:16px; border-radius:3px; }
.li-x180-legend .is-stay::before { background:var(--x-red); }
.li-x180-legend .is-win::before { background:rgba(255,255,255,.3); box-shadow:0 0 0 1.5px rgba(255,255,255,.4); }
.li-x180-legend .is-out::before { background:rgba(238,56,68,.1); box-shadow:inset 0 0 0 1.5px rgba(238,56,68,.78); }
.li-x180-legend .is-new::before { background:#fff; }
.li-x180-slider { margin-top:15px; padding-top:14px; border-top:1px solid var(--x-line); }
.li-x180-slider > div { display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:4px 14px; min-height:20px; margin-bottom:8px; }
.li-x180-slider label { color:var(--x-muted); font-size:10.5px; font-weight:600; letter-spacing:.1em; text-transform:uppercase; }
.li-x180-slider output { color:#fff; font-size:13.5px; font-weight:500; line-height:1.4; }
.li-x180-slider input { display:block; width:100%; height:26px; margin:0; accent-color:var(--x-red); cursor:pointer; }
.li-x180-slider input:focus-visible { outline:2px solid #fff; outline-offset:3px; border-radius:4px; }
.li-x180-play { display:inline-flex; align-items:center; gap:9px; min-height:44px; padding:0 20px; border:0; border-radius:999px; background:#fff; color:#15223c; font:inherit; font-size:13.5px; font-weight:600; cursor:pointer; transition:background-color .15s, transform .15s; }
.li-x180-play:hover { background:#eef1f6; transform:translateY(-1px); }
.li-x180-play svg { width:14px; height:14px; flex:none; fill:currentColor; }
.li-x180-play .li-x180-ipause, .li-x180-play.is-playing .li-x180-iplay { display:none; }
.li-x180-play.is-playing .li-x180-ipause { display:block; }
.li-x180-pager { display:flex; align-items:center; gap:10px; color:var(--x-soft); font-size:13px; font-weight:500; font-variant-numeric:tabular-nums; }
.li-x180-pager button { display:grid; place-items:center; width:44px; height:44px; padding:0; border:1px solid rgba(255,255,255,.26); border-radius:50%; background:transparent; color:#fff; cursor:pointer; transition:background-color .15s, border-color .15s, opacity .15s; }
.li-x180-pager button:hover:not(:disabled) { background:rgba(255,255,255,.1); border-color:#fff; }
.li-x180-pager button:disabled { opacity:.35; cursor:default; }
.li-x180-pager svg { width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
[dir="rtl"] .li-x180-pager svg { transform:scaleX(-1); }
.li-x180-play:focus-visible, .li-x180-pager button:focus-visible, .li-x180-steps button:focus-visible, .li-x180-cta a:focus-visible { outline:2px solid #fff; outline-offset:3px; }

.visa-form { scroll-margin-top:103px; }

/* steps */
.li-x180 .li-x180-steps li { margin:0; padding:3px 14px 11px; border-inline-start:3px solid transparent; border-radius:8px; transition:background-color .2s, border-color .2s; }
.li-x180-st { margin:0; color:#fff; font-size:15.5px; line-height:1.35; font-weight:600; letter-spacing:-.005em; }
.li-x180-st, .li-x180-st button { display:flex; align-items:center; gap:11px; }
.li-x180-st button { width:100%; padding:0; border:0; background:none; color:inherit; font:inherit; letter-spacing:inherit; text-align:start; cursor:pointer; }
.li-x180-n { display:grid; place-items:center; flex:none; width:24px; height:24px; border:1.5px solid rgba(255,255,255,.34); border-radius:50%; color:var(--x-soft); font-size:12px; font-weight:600; font-variant-numeric:tabular-nums; transition:background-color .2s, border-color .2s, color .2s; }
.li-x180 .li-x180-steps p { margin:-3px 0 0 !important; padding-inline-start:35px; color:var(--x-soft) !important; font-size:13.5px !important; line-height:1.6 !important; }
.li-x180.is-live .li-x180-steps li:not(.is-active) p { color:var(--x-muted) !important; }
.li-x180.is-live .li-x180-steps li.is-active { background:rgba(255,255,255,.07); border-inline-start-color:var(--x-red); }
.li-x180.is-live .li-x180-steps li.is-active .li-x180-n { background:var(--x-red); border-color:var(--x-red); color:#fff; }
.li-x180.is-live .li-x180-steps li.is-done .li-x180-n { border-color:rgba(238,56,68,.7); color:#ff8d96; }
.li-x180.is-live .li-x180-steps li.is-active p { color:#e8edf6 !important; }
.li-x180 .li-x180-note { margin:18px 0 0 !important; padding-top:14px; border-top:1px solid var(--x-line); color:var(--x-muted) !important; font-size:12.5px !important; line-height:1.65 !important; }
.li-x180 .li-x180-cta { margin:12px 0 0 !important; font-size:14px !important; line-height:1.5 !important; }
.li-x180-cta a { display:inline-flex; align-items:center; gap:8px; color:#fff; font-size:14px; font-weight:600; text-decoration:underline; text-decoration-color:rgba(255,255,255,.45); text-underline-offset:5px; }
.li-x180-cta a:hover { text-decoration-color:#fff; }
.li-x180-cta svg { width:14px; height:14px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }

/* "Your dates": the panel that replaces the steps, and the link added to the calculator's result card */
.li-x180-mine { grid-area:steps; min-width:0; padding:20px 20px 16px; border:1px solid var(--x-line); border-radius:10px; background:rgba(255,255,255,.035); }
.li-x180-mine h3 { margin:0 0 7px; color:#fff; font-size:17px; line-height:1.35; font-weight:600; letter-spacing:-.005em; }
.li-x180 .li-x180-assume { margin:0; color:var(--x-soft); font-size:13.5px; line-height:1.6; }
.li-x180-mine dl { margin:14px 0 0; }
.li-x180-mine dl > div { padding:12px 0 10px; border-top:1px solid var(--x-line); }
.li-x180-mine dt { margin:0 0 3px; color:var(--x-muted); font-size:10.5px; font-weight:600; letter-spacing:.1em; text-transform:uppercase; line-height:1.4; }
.li-x180-mine dd { margin:0; color:#fff; font-size:17px; line-height:1.4; font-weight:600; letter-spacing:-.005em; font-variant-numeric:tabular-nums; }
.li-x180-mine dd.is-over { color:#ff6470; }
.li-x180-mine dd button { min-height:44px; padding:0; border:0; background:none; color:inherit; font:inherit; letter-spacing:inherit; text-align:start; cursor:pointer; text-decoration:underline; text-decoration-style:dotted; text-decoration-color:rgba(255,255,255,.45); text-underline-offset:5px; }
.li-x180-mine dd button:hover { text-decoration-color:#fff; }
.li-x180 .li-x180-over { margin:6px 0 0; padding:14px 16px; border:1px solid rgba(238,56,68,.6); border-radius:8px; background:rgba(238,56,68,.13); color:#fff; font-size:13.5px; line-height:1.6; }
.li-x180-over a { color:#fff; font-weight:600; text-underline-offset:4px; }
.li-x180 .li-x180-hint { margin:0; padding-top:12px; border-top:1px solid var(--x-line); color:var(--x-muted); font-size:12.5px; line-height:1.6; }
.li-x180-go { margin:14px 0 0; }
.li-x180-go a { display:inline-flex; align-items:center; gap:8px; min-height:44px; color:#fff; font-size:13px; font-weight:600; text-decoration:underline; text-decoration-color:rgba(255,255,255,.45); text-underline-offset:5px; }
.li-x180-go a::after { content:'\2193'; }
.li-x180-go a:hover { text-decoration-color:#fff; }

/* inside a blog article: one column at every width (same arrangement as the narrow layout below) */
.li-x180--article { margin:36px 0; }
.li-x180--article .li-x180-body { grid-template-columns:minmax(0,1fr); grid-template-areas:'steps' 'nav' 'stage'; gap:14px; }
.li-x180--article.is-live .li-x180-steps { display:grid; }
.li-x180--article.is-live .li-x180-steps li { grid-area:1 / 1; visibility:hidden; opacity:0; transition:opacity .25s ease; }
.li-x180--article.is-live .li-x180-steps li.is-active { visibility:visible; opacity:1; padding:8px 16px 16px; }
.li-x180--article .li-x180-lead { font-size:15.5px !important; }
.li-x180--article .li-x180-st { font-size:16.5px; }
.li-x180--article .li-x180-steps p { font-size:15px !important; line-height:1.6 !important; }
[dir="rtl"] .li-x180-cta svg { transform:scaleX(-1); }
[dir="rtl"] .li-x180 .li-x180-title { line-height:1.6 !important; letter-spacing:0; }
[dir="rtl"] .li-x180 .li-x180-lead, [dir="rtl"] .li-x180 .li-x180-steps p, [dir="rtl"] .li-x180 .li-x180-note { line-height:1.85 !important; }
[dir="rtl"] .li-x180 .li-x180-kicker { letter-spacing:0; }

/* without the script: the five steps as plain text in one column */
.li-x180:not(.is-live) .li-x180-body { display:block; max-width:760px; }
.li-x180:not(.is-live) .li-x180-steps { gap:16px; }
.li-x180:not(.is-live) .li-x180-steps li { padding:0; }
.li-x180:not(.is-live) .li-x180-steps p { margin-top:5px !important; }

@media (max-width:980px) {
  .li-x180 { padding:26px; }
  .li-x180-body { grid-template-columns:minmax(0,1fr); grid-template-areas:'steps' 'nav' 'stage'; gap:14px; margin-top:20px; }
  /* one step at a time; all five share one grid cell so the tallest sets the height and nothing below jumps */
  .li-x180.is-live .li-x180-steps { display:grid; }
  .li-x180.is-live .li-x180-steps li { grid-area:1 / 1; visibility:hidden; opacity:0; transition:opacity .25s ease; }
  .li-x180.is-live .li-x180-steps li.is-active { visibility:visible; opacity:1; }
  .li-x180.is-live .li-x180-steps li.is-active { padding:8px 16px 16px; }
}
@media (max-width:760px) {
  .li-x180 { margin-top:18px; padding:22px 16px 20px; }
  .li-x180 .li-x180-lead { font-size:14px !important; }
  .li-x180--article .li-x180-lead { font-size:14.5px !important; }
  .li-x180-stage { padding:16px 12px 14px; }
  .li-x180-read { gap:10px; }
  .li-x180-read dt { font-size:9.5px; letter-spacing:.07em; }
  .li-x180-read dd { font-size:22px; gap:4px; }
  .li-x180-read dd small { font-size:11.5px; }
  .li-x180-cal { row-gap:4px; margin-top:14px; }
  .li-x180-mon { padding-inline-end:7px; font-size:9.5px; letter-spacing:.03em; }
  .li-x180-d, .li-x180-x { height:19px; }
  .li-x180-d { padding:2.5px .75px; }
  .li-x180-d b { border-radius:2px; }
  .li-x180-d.is-we b { box-shadow:0 0 0 1.5px #17243c, 0 0 0 3px #fff, 0 0 9px rgba(255,255,255,.55); }
  .li-x180-tick { font-size:9px; }
  .li-x180-legend { gap:7px 14px; font-size:11.5px; }
  .li-x180-modes { justify-content:flex-start; }
  .li-x180-locked { text-align:start; }
  .li-x180-mine { padding:16px 16px 14px; }
  .li-x180-slider > div { min-height:46px; align-items:flex-start; flex-direction:column; gap:5px; }
}
@media (prefers-reduced-motion: reduce) {
  .li-x180-dot::after { animation:none; }
  .li-x180-d b, .li-x180-bar i, .li-x180-play, .li-x180-steps li, .li-x180-n { transition:none !important; }
}
@media print { .li-x180-stage, .li-x180-nav, .li-x180-cta, .li-x180-modes, .li-x180-mine, .li-x180-go { display:none !important; } .li-x180 { background:#fff; color:#15223c; border-color:#dfe4eb; } .li-x180 .li-x180-title, .li-x180 .li-x180-st { color:#15223c !important; } .li-x180-steps p, .li-x180-lead, .li-x180 .li-x180-note { color:#44506a !important; } }
