/* Dorax Finance — a phone's summary: the days of freedom as a stretch, and the goals stacked (v301; owner, 2026-10-27, the canvas "Días de libertad:
   el panel": L4 and the stack "como en el iPhone", on the screen M4). Markup: features/phone/bosque-runway.js, features/phone/goal-stack.js. Each
   the whole width, the goals under the days of freedom (before: a ring beside the goals on mint, look-land.css). */
:root.land { --gst-2: #F3F6F5; --gst-3: #E9EEEC; --gst-dot: rgba(14, 15, 12, .22); --gst-shadow: 0 10px 22px -16px rgba(14, 15, 12, .35); }
:root.land.land-dark { --gst-2: #151813; --gst-3: #12140F; --gst-dot: rgba(255, 255, 255, .3); --gst-shadow: 0 10px 22px -14px rgba(0, 0, 0, .8); }
@media (max-width: 920px) {
  /* ---------- the days of freedom: the figure, until when, the stretch from today to the next goal, what is missing ---------- */
  :root.land .bq-run { min-width: 0; }
  :root.land .bq-run .bq-rt { gap: 14px; padding: 18px 16px; border-radius: 24px; background: var(--bq-card); box-shadow: inset 0 0 0 1px var(--bq-line); color: var(--bq-ink); }
  :root.land .bq-rt-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  :root.land .bq-rt-h .bq-tile-h { font-size: 14.5px; }
  :root.land .bq-rt-d { flex: none; padding: 3px 9px; border-radius: 999px; background: rgba(var(--lk-lime-rgb), .16); color: var(--bq-accent); font-size: 12px; font-weight: 600; line-height: 1.3; }
  :root.land .bq-rt-d.down { background: var(--bq-card-3); color: var(--bq-ink-2); }      /* fewer days than at the start of the month: said, without alarm */
  :root.land .bq-rt-fig { display: flex; flex-direction: column; gap: 4px; }
  :root.land .bq-rt-fig > b { color: var(--bq-ink); font-size: 30px; font-weight: 600; letter-spacing: -.03em; line-height: 1.05; }
  :root.land .bq-rt-fig > small { color: var(--bq-ink-2); font-size: 13.5px; line-height: 1.35; }
  :root.land .bq-rt-fig > small b { color: var(--bq-ink); font-weight: 600; }
  :root.land .bq-rt-track { display: flex; flex-direction: column; gap: 7px; padding-top: 4px; }
  :root.land .bq-rt-bar { position: relative; display: block; height: 8px; border-radius: 999px; background: var(--bq-track); }
  :root.land .bq-rt-bar > i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: var(--bq-accent); }
  :root.land .bq-rt-bar > .knob { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--bq-accent); box-shadow: 0 0 0 3px var(--bq-card); }
  :root.land .bq-rt-bar > .end { position: absolute; right: 0; top: -4px; width: 2px; height: 16px; border-radius: 2px; background: var(--bq-line-2); }      /* the goal at the end of the stretch */
  :root.land .bq-rt-ends { display: flex; justify-content: space-between; gap: 8px; color: var(--bq-ink-3); font-size: 11.5px; font-weight: 600; }
  :root.land .bq-rt-ends span + span { color: var(--bq-ink-2); }
  :root.land .bq-rt-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--bq-line); color: var(--bq-ink-2); font-size: 13px; line-height: 1.35; }
  :root.land .bq-rt-foot b { flex: none; color: var(--bq-ink); font-weight: 600; }

  /* ---------- the goals: one in front, the next two peeking under it ---------- */
  :root.land .bq-gst-sec { gap: 12px; }
  :root.land .gst { position: relative; height: 176px; overflow: hidden; touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
  :root.land .gst-c, :root.land .gst-card { touch-action: none; }      /* v302: none, not pan-x: on an iPhone pan-x still let the page scroll and take the finger; a drag sideways is still the screens' swipe, which is worked out in script (app/tab-swipe.js) */
  :root.land .gst[data-n="1"] { height: 156px; }
  :root.land .gst-cards { margin: 0; padding: 0; list-style: none; }
  :root.land .gst-c { position: absolute; left: 0; right: 0; top: 0; height: 156px; border-radius: 22px; background: var(--bq-card); box-shadow: inset 0 0 0 1px var(--bq-line), var(--gst-shadow);
    transform-origin: 50% 100%; transition: transform .42s cubic-bezier(.2, .8, .2, 1), opacity .32s ease, background-color .3s ease; }
  :root.land .gst-c[data-pos="0"] { z-index: 4; transform: none; }
  :root.land .gst-c[data-pos="1"] { z-index: 3; transform: translateY(10px) scale(.94); background: var(--gst-2); }
  :root.land .gst-c[data-pos="2"] { z-index: 2; transform: translateY(20px) scale(.88); background: var(--gst-3); }
  :root.land .gst-c[data-pos="h"] { z-index: 1; transform: translateY(20px) scale(.88); opacity: 0; background: var(--gst-3); }
  :root.land .gst-c[data-pos]:not([data-pos="0"]) .gst-card > * { opacity: 0; transition: opacity .2s ease; }      /* behind, only the card's edge shows */
  :root.land .gst-c .gst-card > * { transition: opacity .3s ease .08s; }
  :root.land .gst-c.gst-drag { transition: none; }
  :root.land .gst-c.gst-fly, :root.land .gst-c.gst-above { z-index: 6; transform: translateY(-118%) scale(.96); opacity: 0; background: var(--bq-card); }      /* leaving at the top, or coming back from it */
  :root.land .gst-c.gst-snap, :root.land .gst-c.gst-snap .gst-card > * { transition: none; opacity: 0; }
  :root.land .gst-card { all: unset; box-sizing: border-box; display: flex; flex-direction: column; justify-content: space-between; width: 100%; height: 100%; padding: 16px 56px 16px 16px; border-radius: 22px; color: var(--bq-ink); cursor: pointer; -webkit-tap-highlight-color: transparent; }
  :root.land button.gst-card:focus-visible { outline: 2px solid var(--bq-accent); outline-offset: 2px; }
  :root.land .gst-top { display: flex; align-items: center; gap: 12px; min-width: 0; }
  :root.land .gst-top .bq-ico { width: 40px; height: 40px; }
  :root.land .gst-top .bq-ico svg { width: 19px; height: 19px; }
  :root.land .gst-top .bq-ico.dx { background: none; box-shadow: none; }      /* v309: the goal's own icon, standing free */
  :root.land .gst-top .bq-ico.dx svg { width: 40px; height: 40px; }
  :root.land .gst-n { flex: 1 1 auto; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
  :root.land .gst-n b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15.5px; font-weight: 600; line-height: 1.25; }
  :root.land .gst-n small { color: var(--bq-ink-2); font-size: 12.5px; line-height: 1.3; }
  :root.land .gst-n small::first-letter { text-transform: uppercase; }
  :root.land .gst-v { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
  :root.land .gst-v b { flex: none; font-size: 28px; font-weight: 600; letter-spacing: -.02em; line-height: 1; }
  :root.land .gst-v small { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--bq-ink-3); font-size: 13px; }
  :root.land .gst-c .bq-bar { height: 6px; }
  /* the last card: another goal, and its button */
  :root.land .gst-add .gst-card { cursor: default; }
  :root.land .gst-add .gst-n small { font-size: 13px; line-height: 1.4; }
  :root.land .gst-new { all: unset; box-sizing: border-box; align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px 0 6px; border-radius: 999px; background: var(--lk-pop); color: var(--lk-pop-ink); font-size: 14px; font-weight: 600; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: transform var(--t1) ease-out; }
  :root.land .gst-new:active { transform: scale(.96); }
  :root.land .gst-new:focus-visible { outline: 2px solid var(--bq-accent); outline-offset: 2px; }
  :root.land .gst-new > span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(var(--lk-deep-rgb), .12); }
  :root.land .gst-new svg { width: 17px; height: 17px; }
  /* the dots at the side: which card is in front; each brings its card up */
  :root.land .gst-dots { all: unset; box-sizing: border-box; position: absolute; right: 0; top: 0; z-index: 10; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; width: 44px; height: 156px; cursor: pointer; -webkit-tap-highlight-color: transparent; }      /* one button: the next card (v306) */
  :root.land .gst-dots i { display: block; width: 6px; height: 6px; border-radius: 3px; background: var(--gst-dot); transition: height .3s ease, background-color .3s ease; }
  :root.land .gst-dots i.on { height: 16px; background: var(--bq-accent); }
  :root.land .gst-dots:focus-visible { outline: 2px solid var(--bq-accent); outline-offset: -4px; border-radius: 999px; }
}
@media (max-width: 920px) and (prefers-reduced-motion: reduce) {
  :root.land .gst-c, :root.land .gst-c .gst-card > *, :root.land .gst-dots i { transition: none; }
}
