/* Dorax Finance — Plan on a phone in the summary's look (v307; owner, 2026-10-27, on the canvas "Barra de abajo: antes y después"; the markup:
   features/phone/plan-land.js). Its top on the forest as Goals' (look-land-goals.css: .gq-month, .gq-stats), its actions in the same bar at the
   foot (.bq-actbar), its sections headed as Goals' (.gq-sec, .gq-h).
     - the bills as rows with no box, a hairline between them from the words on, a circle at the right to mark each one paid (lime once paid);
     - a group's name small and in capitals, a button that folds it; folded, one row with its names;
     - what comes in, split in one bar of four greens and a grey, its legend in two columns;
     - each limit a row with its bar under it, today across the bar; chips with a dashed edge to give a category one;
     - the income as rows, the money at the right. */
:root.land { --bp-s1: var(--lk-deep); --bp-s2: #4E7A3A; --bp-s3: var(--lk-lime); --bp-s4: #C9D2CF; }
:root.land.land-dark { --bp-s1: var(--lk-lime); --bp-s2: #7FA046; --bp-s3: #3F5A2C; --bp-s4: rgba(255, 255, 255, .18); }
@media (max-width: 920px) {
  :root.land-page #view > .bq-hero .gq-stat b.pos { color: var(--lk-lime); }

  /* ---------- the parts of the sheet ---------- */
  :root.land-page #view .bp-hrow { flex-direction: row; align-items: flex-start; justify-content: space-between; gap: 12px; }
  :root.land-page #view .bp-hrow > span { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
  :root.land-page #view .bp-link { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; min-height: 44px; margin-top: -10px; color: var(--bq-accent); font-size: 14px; font-weight: 600; }
  :root.land-page #view .gq-sec > .bp-link { align-self: flex-start; margin-top: 0; font-size: 13.5px; }
  :root.land-page #view .bp-link:focus-visible, :root.land-page #view :is(.bp-note, .bp-tog, .bp-bulk, .bp-open, .bp-fold, .bp-check, .bp-lim, .bp-in, .bp-new, .bp-chip):focus-visible { outline: 2px solid var(--bq-accent); outline-offset: 2px; border-radius: 14px; }
  :root.land-page #view .bp-quiet { margin: 0; color: var(--bq-ink-3); font-size: 13.5px; line-height: 1.45; }
  :root.land-page #view .bp-quiet.neg { color: var(--bq-crit); }
  /* one row's words: its name, and its line under it */
  :root.land-page #view .bp-t { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
  :root.land-page #view .bp-t > b { overflow: hidden; color: var(--bq-ink); font-size: 15px; font-weight: 600; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
  :root.land-page #view .bp-w { align-self: flex-start; color: var(--bq-ink-2); font-size: 12.5px; line-height: 1.3; }
  :root.land-page #view .bp-w.quiet { color: var(--bq-ink-3); }
  :root.land-page #view .bp-w.warn { color: var(--bq-warn); font-weight: 600; }
  :root.land-page #view .bp-w.crit { color: var(--bq-crit); font-weight: 600; }
  :root.land-page #view .bp-w.good { color: var(--bq-in); }
  :root.land-page #view .bp-w.soon { padding: 2px 8px; border-radius: 999px; background: var(--bq-mint); color: var(--bq-mint-ink-2); font-weight: 600; }
  :root.land.land-dark.land-page #view .bp-w.soon { background: rgba(var(--lk-lime-rgb), .14); color: var(--lk-lime); }
  :root.land-page #view .bp-amt { flex: none; color: var(--bq-ink); font-size: 15px; font-weight: 600; }
  :root.land-page #view .bp-amt.zero { color: var(--bq-ink-3); }
  /* the round icon of a row: on its circle, the screen's accent */
  :root.land-page #view :is(.bp-open, .bp-fold, .bp-lim-h) > .cg { width: 40px; height: 40px; background: var(--bq-circle); color: var(--bq-accent); }
  :root.land-page #view :is(.bp-open, .bp-fold, .bp-lim-h) > .cg svg { width: 18px; height: 18px; }
  :root.land-page #view :is(.bp-open, .bp-fold) > .cg.dx { background: none; }      /* v311: Dorax's own 3D icon, standing free */
  :root.land-page #view :is(.bp-open, .bp-fold) > .cg.dx .dxi { width: 40px; height: 40px; }
  :root.land-page #view .bp-in .gq-ico { width: 40px; height: 40px; }
  :root.land-page #view .bp-in .gq-ico svg { width: 18px; height: 18px; }

  /* ---------- the bills ---------- */
  :root.land-page #view .bp-note { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 6px; color: var(--bq-ink); font-size: 14px; line-height: 1.35; }
  :root.land-page #view .bp-note > i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--bq-warn); box-shadow: 0 0 0 3px color-mix(in srgb, var(--bq-warn) 22%, transparent); }
  :root.land-page #view .bp-note > span { flex: 1 1 auto; min-width: 0; }
  :root.land-page #view .bp-note > b { flex: none; display: inline-flex; align-items: center; gap: 2px; color: var(--bq-accent); font-weight: 600; }
  :root.land-page #view .bp-note > b svg { width: 14px; height: 14px; }
  :root.land-page #view .bp-gh { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
  :root.land-page #view .bp-tog { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; min-width: 0; min-height: 44px; color: var(--bq-ink-3); font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
  :root.land-page #view .bp-tog > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  :root.land-page #view .bp-tog svg { flex: none; width: 14px; height: 14px; transition: transform 200ms var(--ease); }
  :root.land-page #view .bp-tog[aria-expanded="true"] svg { transform: rotate(180deg); }
  :root.land-page #view .bp-bulk { all: unset; box-sizing: border-box; cursor: pointer; flex: none; display: inline-grid; place-items: center; min-height: 44px; padding: 0 4px; color: var(--bq-accent); font-size: 13.5px; font-weight: 600; }
  :root.land-page #view .bp-rows { display: flex; flex-direction: column; }
  :root.land-page #view .bp-row { position: relative; display: flex; align-items: center; gap: 10px; min-height: 64px; }
  :root.land-page #view .bp-row + .bp-row::before, :root.land-page #view :is(.bp-lim, .bp-in) + :is(.bp-lim, .bp-in)::before { content: ""; position: absolute; top: 0; left: 52px; right: 0; height: 1px; background: var(--bq-line); }
  :root.land-page #view :is(.bp-open, .bp-fold, .bp-in) { all: unset; box-sizing: border-box; cursor: pointer; -webkit-tap-highlight-color: transparent; flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 6px 0; }
  :root.land-page #view :is(.bp-fold, .bp-in) { width: 100%; }      /* a button is only as wide as its words otherwise */
  :root.land-page #view :is(.bp-open, .bp-fold, .bp-in):active { opacity: .7; }
  :root.land-page #view .bp-row.done .bp-t > b, :root.land-page #view .bp-row.done .bp-amt { color: var(--bq-ink-3); }
  :root.land-page #view .bp-check { all: unset; box-sizing: border-box; cursor: pointer; -webkit-tap-highlight-color: transparent; flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
    box-shadow: inset 0 0 0 1.5px var(--bq-line-2); color: var(--bq-ink-3); transition: background 160ms ease-out, color 160ms ease-out, transform 120ms ease-out; }
  :root.land-page #view .bp-check svg { width: 18px; height: 18px; stroke-width: 2.4; }
  :root.land-page #view button.bp-check:active { transform: scale(.92); background: var(--bq-area); color: var(--bq-accent); }
  @media (hover: hover) and (pointer: fine) { :root.land-page #view button.bp-check:hover { box-shadow: inset 0 0 0 1.5px var(--bq-accent); color: var(--bq-accent); } }
  :root.land-page #view .bp-check.on { cursor: default; background: var(--lk-lime); box-shadow: none; color: var(--lk-deep); }
  :root.land-page #view .bp-fold .gq-go svg { width: 18px; height: 18px; }
  :root.land-page #view :is(.bp-new, .bp-chip) { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px dashed var(--bq-line-2); color: var(--bq-ink); font-weight: 600; }
  :root.land-page #view .bp-new { height: 52px; margin-top: 10px; border-radius: 18px; font-size: 14.5px; }
  :root.land-page #view :is(.bp-new, .bp-chip) svg { width: 16px; height: 16px; color: var(--bq-accent); stroke-width: 2.4; }
  :root.land-page #view :is(.bp-new, .bp-chip):active { background: var(--bq-area); }

  /* ---------- what comes in, split ---------- */
  :root.land-page #view #plan-split { gap: 14px; }
  :root.land-page #view #plan-split .gq-h { margin-bottom: 0; }
  :root.land-page #view .bp-split { display: flex; gap: 3px; height: 12px; }
  :root.land-page #view .bp-split i { min-width: 6px; border-radius: 3px; }
  :root.land-page #view .bp-split i:first-child { border-radius: 999px 3px 3px 999px; }
  :root.land-page #view .bp-split i:last-child { border-radius: 3px 999px 999px 3px; }
  :root.land-page #view .bp-split i:only-child { border-radius: 999px; }
  :root.land-page #view :is(.bp-split, .bp-legend) .s1 { background: var(--bp-s1); }
  :root.land-page #view :is(.bp-split, .bp-legend) .s2 { background: var(--bp-s2); }
  :root.land-page #view :is(.bp-split, .bp-legend) .s3 { background: var(--bp-s3); }
  :root.land-page #view :is(.bp-split, .bp-legend) .s4 { background: var(--bp-s4); }
  :root.land-page #view .bp-legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
  :root.land-page #view .bp-legend > span { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
  :root.land-page #view .bp-legend > span > small { display: flex; align-items: center; gap: 7px; color: var(--bq-ink-2); font-size: 13px; }
  :root.land-page #view .bp-legend > span > small i { flex: none; width: 10px; height: 10px; border-radius: 3px; }
  :root.land-page #view .bp-legend b { color: var(--bq-ink); font-size: 15px; font-weight: 600; }
  :root.land-page #view .bp-legend b small { color: var(--bq-ink-3); font-size: 12.5px; font-weight: 500; }

  /* ---------- the limits ---------- */
  :root.land-page #view .bp-lims { display: flex; flex-direction: column; }
  :root.land-page #view .bp-lim { all: unset; position: relative; box-sizing: border-box; cursor: pointer; -webkit-tap-highlight-color: transparent; display: flex; flex-direction: column; gap: 12px; padding: 16px 0; }
  :root.land-page #view .bp-lim:active { opacity: .7; }
  :root.land-page #view .bp-lim-h { display: flex; align-items: center; gap: 12px; }
  :root.land-page #view .bp-lim-n { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
  :root.land-page #view .bp-lim-n b { overflow: hidden; color: var(--bq-ink); font-size: 15px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
  :root.land-page #view .bp-lim-n b.num { flex: none; }
  :root.land-page #view .bp-lbar { position: relative; display: block; height: 6px; margin-left: 52px; border-radius: 999px; background: var(--bq-bar-track); }
  :root.land-page #view .bp-lbar i { display: block; height: 100%; border-radius: inherit; background: var(--bq-accent); }
  :root.land.land-dark.land-page #view .bp-lbar i { background: var(--lk-lime); }
  :root.land-page #view .bp-lim.warn .bp-lbar i { background: var(--bq-warn); }
  :root.land-page #view .bp-lim.crit .bp-lbar i { background: var(--bq-crit); }
  :root.land-page #view .bp-lbar em { position: absolute; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; border-radius: 1px; background: var(--bq-ink-3); }      /* today */
  :root.land-page #view .bp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
  :root.land-page #view .bp-chip { display: inline-flex; min-height: 44px; padding: 0 16px; border-radius: 999px; font-size: 14px; }
  :root.land-page #view #limits-card .lim-invite { padding: 4px 0 8px; border: 0; }

  /* ---------- the income ---------- */
  :root.land-page #view .bp-ins { display: flex; flex-direction: column; }
  :root.land-page #view .bp-in { position: relative; }
  :root.land-page #view #income-list .pl-lm { padding: 12px 0 0; border-top: 1px solid var(--bq-line); }
  :root.land-page #view #income-list .pl-lm .lm-head b { font-size: 15px; }
  :root.land-page #view #income-list .pl-lm .lm-head p { color: var(--bq-ink-2); font-size: 12.5px; }
}
