/* Dorax Finance — Goals on a phone in the summary's look, and the actions at the foot of a screen (v306; owner, 2026-10-27, on the canvas
   "Barra de abajo: antes y después": "los botones de pago no están en el rango del dedo pulgar y la info debajo de las barras de metas y otras se
   apiñan mucho"; the markup: features/phone/goals-land.js and features/phone/act-bar.js).
     - the forest top: the figure, the month's bar and two figures under it, apart, a hairline between them;
     - each goal a row, no box: a ring for how far it is, its name, its amount of its target and one line; a hairline between rows;
     - the year's expenses not added yet as a row of tiles to slide, with their dashed edge;
     - the actions in a glass bar right over the bar at the foot, as wide, where a thumb is; it follows that bar when it gets shorter. */
@media (max-width: 920px) {
  /* ---------- the forest top ---------- */
  :root.land-page #view > .bq-hero .gq-month { display: flex; flex-direction: column; gap: 14px; }
  :root.land-page #view > .bq-hero .gq-bar { display: block; height: 8px; overflow: hidden; border-radius: 999px; background: rgba(255, 255, 255, .14); }
  :root.land-page #view > .bq-hero .gq-bar i { display: block; height: 100%; border-radius: inherit; background: var(--lk-lime); }
  :root.land-page #view > .bq-hero .gq-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  :root.land-page #view > .bq-hero .gq-stat { position: relative; display: flex; flex-direction: column; gap: 4px; min-width: 0; border-radius: 12px; }
  :root.land-page #view > .bq-hero .gq-stat + .gq-stat { padding-left: 16px; border-left: 1px solid rgba(255, 255, 255, .12); border-radius: 0 12px 12px 0; }
  :root.land-page #view > .bq-hero .gq-stat small { color: var(--lk-soft); font-size: 13px; line-height: 1.3; }
  :root.land-page #view > .bq-hero .gq-stat b { color: #FFFFFF; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
  :root.land-page #view > .bq-hero .gq-stat b.neg { color: #FF8A80; }
  :root.land-page #view > .bq-hero .gq-stat .gq-sub { color: var(--lk-soft-2); font-size: 12.5px; }

  /* ---------- the goals and the funds: rows, no box ---------- */
  :root.land-page #view .gq-sec { display: flex; flex-direction: column; gap: 4px; }
  :root.land-page #view .gq-h { display: flex; flex-direction: column; gap: 3px; margin-bottom: 2px; }
  :root.land-page #view .gq-h h2 { margin: 0; color: var(--bq-ink); font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
  :root.land-page #view .gq-h small { color: var(--bq-ink-2); font-size: 13px; }
  :root.land-page #view .gq-list { display: flex; flex-direction: column; }
  :root.land-page #view .gq-row { all: unset; box-sizing: border-box; cursor: pointer; -webkit-tap-highlight-color: transparent; display: flex; align-items: center; gap: 14px; min-height: 84px; margin: 0 -8px; padding: 8px;
    border-radius: 16px; color: var(--bq-ink); transition: background 160ms ease-out; }
  :root.land-page #view .gq-row + .gq-row { position: relative; }
  :root.land-page #view .gq-row + .gq-row::before { content: ""; position: absolute; top: 0; left: 78px; right: 8px; height: 1px; background: var(--bq-line); }      /* the hairline from the words on, as a list's */
  :root.land-page #view .gq-row:active { background: var(--bq-area); }
  @media (hover: hover) and (pointer: fine) { :root.land-page #view .gq-row:hover { background: var(--bq-area); } }
  :root.land-page #view .gq-row:focus-visible { outline: 2px solid var(--bq-accent); outline-offset: 0; }
  :root.land-page #view .gq-row.off { opacity: .72; }
  :root.land-page #view .gq-ring { position: relative; flex: none; display: grid; place-items: center; width: 56px; height: 56px; }      /* v309: the goal's icon inside the ring of how far it is */
  :root.land-page #view .gq-ring .gq-arc { position: absolute; inset: 0; width: 56px; height: 56px; fill: none; stroke-width: 3.5; }
  :root.land-page #view .gq-arc circle { stroke: var(--bq-bar-track); }
  :root.land-page #view .gq-arc circle + circle { stroke: var(--bq-accent); stroke-linecap: round; }
  :root.land.land-dark.land-page #view .gq-arc circle + circle { stroke: var(--lk-lime); }
  :root.land-page #view .gq-ring .dxi { position: relative; width: 36px; height: 36px; }
  :root.land-page #view .gq-amt > b:first-child { margin-right: 1px; }
  :root.land-page #view .gq-ico { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--bq-circle); color: var(--bq-accent); }
  :root.land-page #view .gq-ico svg { width: 20px; height: 20px; }
  :root.land-page #view .gq-ico.dx { width: 56px; height: 56px; background: none; }
  :root.land-page #view .gq-ico.dx svg { width: 50px; height: 50px; }
  :root.land-page #view .gq-t { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
  :root.land-page #view .gq-t > b { overflow: hidden; font-size: 15.5px; font-weight: 600; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
  :root.land-page #view .gq-amt { color: var(--bq-ink-3); font-size: 14px; }
  :root.land-page #view .gq-amt b { color: var(--bq-ink); font-weight: 600; }
  :root.land-page #view .gq-s { color: var(--bq-ink-2); font-size: 12.5px; line-height: 1.3; }
  :root.land-page #view .gq-s.good { color: var(--bq-in); }
  :root.land-page #view .gq-s.warn { color: var(--bq-warn); }
  :root.land-page #view .gq-fv { flex: none; font-size: 15px; font-weight: 600; }
  :root.land-page #view .gq-go { flex: none; display: grid; color: var(--bq-ink-3); }
  :root.land-page #view .gq-go svg { width: 16px; height: 16px; }

  /* ---------- the 52 weeks, not started: one row ---------- */
  :root.land-page #view .gq-s52 { all: unset; box-sizing: border-box; cursor: pointer; -webkit-tap-highlight-color: transparent; display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 22px;
    background: var(--bq-card); box-shadow: inset 0 0 0 1px var(--bq-line); color: var(--bq-ink); }
  :root.land-page #view .gq-s52:active { background: var(--bq-card-2); }
  :root.land-page #view .gq-s52:focus-visible { outline: 2px solid var(--bq-accent); outline-offset: 2px; }
  :root.land-page #view .gq-s52-art { flex: none; display: block; width: 48px; height: 48px; }
  :root.land-page #view .gq-s52-art .obj { width: 100%; height: 100%; }
  :root.land-page #view .gq-s52 .gq-t small { color: var(--bq-ink-2); font-size: 12.5px; line-height: 1.35; }
  :root.land-page #view .gq-s52-go { flex: none; display: grid; place-items: center; height: 36px; padding: 0 14px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--bq-accent); color: var(--bq-accent); font-size: 13.5px; font-weight: 600; }

  /* ---------- the year's expenses: the ones not added, a row of tiles to slide ---------- */
  :root.land-page #view .yr-lead { margin: -6px 0 2px; color: var(--bq-ink-2); font-size: 13px; }
  :root.land-page #view .yr-ideas { flex-wrap: nowrap; gap: 10px; margin: 0 -16px; padding: 0 16px 2px; overflow-x: auto; scroll-padding: 0 16px; scrollbar-width: none; }
  :root.land-page #view .yr-ideas::-webkit-scrollbar { display: none; }
  :root.land-page #view .yr-idea { flex: none; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 10px; width: 112px; min-height: 112px; padding: 14px; border: 1px dashed var(--bq-line-2); border-radius: 20px;
    background: transparent; color: var(--bq-ink); font-size: 14px; font-weight: 600; line-height: 1.25; }
  :root.land-page #view .yr-idea svg { box-sizing: border-box; width: 32px; height: 32px; padding: 8px; border-radius: 50%; background: var(--bq-circle); color: var(--bq-accent); stroke-width: 2.4; }
  :root.land-page #view .yr-idea span { display: flex; flex-direction: column; gap: 2px; }
  :root.land-page #view .yr-idea small { margin: 0; color: var(--bq-ink-3); font-size: 12px; font-weight: 400; }
  :root.land-page #view .yr-idea:active { background: var(--bq-area); }

  /* ---------- what is left to the computer: one quiet line, no box ---------- */
  :root.land-page #view .card.desk-note:not(.page) { gap: 12px; align-items: center; padding: 4px 0; border-radius: 0; background: none; box-shadow: none; }
  :root.land-page #view .card.desk-note:not(.page) > svg { width: 20px; height: 20px; margin: 0; color: var(--bq-ink-3); }
  :root.land-page #view .card.desk-note:not(.page) h2 { color: var(--bq-ink-2); font-size: 13.5px; font-weight: 600; }
  :root.land-page #view .card.desk-note:not(.page) p { margin-top: 2px; color: var(--bq-ink-3); font-size: 13px; line-height: 1.4; }

  /* ---------- the actions at the foot: over the bar there, as wide ---------- */
  :root.land .bq-actbar-gap { height: 66px; }
  :root.land .bq-actbar { position: fixed; z-index: 39; left: 16px; right: 16px; bottom: calc(max(12px, calc(var(--safe-b) - 14px)) + 66px); display: flex; gap: 8px; padding: 5px;
    border: 1px solid var(--bq-glass-line); border-radius: 32px; background: var(--bq-glass); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
    box-shadow: 0 12px 32px -14px rgba(14, 15, 12, .28), inset 0 1px 0 var(--bq-glass-hi); transition: bottom 280ms var(--ease); }
  :root.land.bar-small .bq-actbar { bottom: calc(max(12px, calc(var(--safe-b) - 14px)) + 62px); }
  :root.land .bq-actbar .btn { flex: 1 1 0; min-width: 0; min-height: 48px; gap: 7px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--bq-glass-pick); box-shadow: none; color: var(--bq-ink); font-size: 15px; font-weight: 600; }
  :root.land .bq-actbar .btn svg { width: 18px; height: 18px; }
  :root.land .bq-actbar .btn:not(.round) { flex: 1 1 auto; padding: 0 12px; white-space: nowrap; }      /* each as wide as its words, the rest shared ("Pagar cuentas" on one line) */
  :root.land .bq-actbar .btn:not(.primary), :root.land-page #view .bq-actbar .btn:not(.primary):not(.danger):not(.ghost):not(.linkbtn) { border: 0; background: var(--bq-glass-pick); box-shadow: inset 0 0 0 1px var(--bq-glass-line); color: var(--bq-ink); }
  :root.land .bq-actbar .btn.primary, :root.land-page #view .bq-actbar .btn.primary { border: 0; background: var(--lk-lime); color: var(--lk-deep); }
  :root.land .bq-actbar .btn.round, :root.land-page #view .bq-actbar .btn.round { flex: none; width: 48px; padding: 0; color: var(--bq-accent); }
  :root.land .bq-actbar .btn.round svg { width: 20px; height: 20px; stroke-width: 2.4; }
  :root.land .bq-actbar .btn:active { transform: scale(.97); }
  :root.land .bq-actbar .btn:focus-visible { outline: 2px solid var(--bq-accent); outline-offset: 2px; }
  :root.land:is(.ov-scrim, #pm-0) .bq-actbar { visibility: hidden; }      /* under a panel or a sheet: theirs are the buttons then */
  @media (max-width: 374px) {      /* a narrow phone: the words without their icon, on two lines when they need them ("Registrar pagamento") */
    :root.land .bq-actbar { left: 12px; right: 12px; }
    :root.land .bq-actbar .btn:not(.round) { padding: 0 10px; font-size: 13.5px; line-height: 1.15; text-align: center; white-space: normal; }
    :root.land .bq-actbar .btn:not(.round) svg { display: none; }
  }
  @media (max-width: 319px) { :root.land .bq-actbar { left: 8px; right: 8px; } }
  @media (prefers-reduced-motion: reduce) { :root.land .bq-actbar { transition: none; } }
}
@media (min-width: 921px) { .bq-actbar, .bq-actbar-gap { display: none; } }
