/* Dorax Finance — Investments on a phone, v331 (features/phone/investments-land.js): the forest only in the menu; on the page what it is worth,
   what it is made of and what it pays, then with room between them this month's income, the funds, what came in by month, a purchase tried out
   and the movements. The page's own colours (--bq-*). */
@media (max-width: 920px) {
  :root.land .invl { display: flex; flex-direction: column; gap: 46px; padding: 30px 0 28px; }
  :root.land .invl-top { display: flex; flex-direction: column; gap: 26px; }
  :root.land .invl-sum { display: flex; flex-direction: column; gap: 8px; }
  :root.land .invl-sum > small { color: var(--bq-ink-2); font-size: 14px; }
  :root.land .invl-sum > b { color: var(--bq-ink); font-size: 34px; font-weight: 600; letter-spacing: -.03em; line-height: 1.05; }
  :root.land .invl-sum > b .cents { color: var(--bq-ink-3); font-size: 18px; letter-spacing: 0; }
  :root.land .invl-gain { color: var(--bq-ink-2); font-size: 14px; }
  :root.land .invl-gain b { color: var(--bq-accent); font-weight: 600; }
  :root.land .invl-gain.neg b { color: var(--bq-crit); }
  :root.land .invl-made { display: flex; flex-direction: column; gap: 14px; margin: 0; }
  :root.land .invl-bar { display: flex; gap: 3px; height: 10px; }
  :root.land .invl-bar i { display: block; min-width: 6px; border-radius: 3px; transform-origin: left; animation: catv-grow 640ms var(--ease) both; }
  :root.land .invl-bar i:first-child { border-radius: 999px 3px 3px 999px; }
  :root.land .invl-bar i:last-child { border-radius: 3px 999px 999px 3px; }
  :root.land .invl-bar i:only-child { border-radius: 999px; }
  :root.land .invl-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--bq-ink-2); font-size: 13px; }
  :root.land .invl-legend > span { display: inline-flex; align-items: center; gap: 6px; }
  :root.land .invl-legend i { width: 8px; height: 8px; border-radius: 50%; }
  :root.land .invl-legend b { color: var(--bq-ink); font-weight: 600; }
  :root.land .invl-stats { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; padding-top: 22px; border-top: 1px solid var(--bq-line); }
  :root.land .invl-stats > span { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
  :root.land .invl-stats > span + span { padding-left: 16px; border-left: 1px solid var(--bq-line); }
  :root.land .invl-stats small { color: var(--bq-ink-2); font-size: 13px; line-height: 1.3; }
  :root.land .invl-stats b { color: var(--bq-ink); font-size: 18px; font-weight: 600; }
  :root.land .invl-stats b small { color: var(--bq-ink-2); font-size: 13px; font-weight: 500; }

  :root.land .invl-sec { display: flex; flex-direction: column; }
  :root.land .invl-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
  :root.land .invl-h h2 { margin: 0; color: var(--bq-ink); font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
  :root.land .invl-h > span { color: var(--bq-ink-3); font-size: 13px; text-align: right; }
  :root.land .invl-rows { display: flex; flex-direction: column; }
  :root.land .invl-row, :root.land .invl-mv { all: unset; position: relative; box-sizing: border-box; display: flex; align-items: center; gap: 14px; width: 100%; min-height: 70px; padding: 10px 0; color: var(--bq-ink); -webkit-tap-highlight-color: transparent; }
  :root.land button.invl-row { cursor: pointer; }
  :root.land .invl-rows > * + *::before { content: ""; position: absolute; top: 0; left: 54px; right: 0; height: 1px; background: var(--bq-line); }
  :root.land button.invl-row:active { opacity: .7; }
  :root.land .invl-row:focus-visible, :root.land .invl-soft:focus-visible { outline: 2px solid var(--bq-accent); outline-offset: 2px; border-radius: 14px; }
  :root.land .invl-ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--bq-circle); color: var(--bq-accent); transition: background-color 300ms ease-out, color 300ms ease-out; }
  :root.land .invl-ic svg { width: 18px; height: 18px; }
  :root.land .invl-ic.done { background: var(--lk-lime); color: var(--lk-deep); }
  :root.land .invl-t { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
  :root.land .invl-t b { display: inline-flex; align-items: center; gap: 8px; overflow: hidden; color: var(--bq-ink); font-size: 15px; font-weight: 600; white-space: nowrap; }
  :root.land .invl-t b i { flex: none; width: 8px; height: 8px; border-radius: 50%; }
  :root.land .invl-t small { color: var(--bq-ink-2); font-size: 12.5px; line-height: 1.35; }
  :root.land .invl-am { flex: none; color: var(--bq-ink); font-size: 15px; font-weight: 600; white-space: nowrap; }
  :root.land .invl-am.in { color: var(--bq-in); }
  :root.land .invl-v { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
  :root.land .invl-v b { color: var(--bq-ink); font-size: 15px; font-weight: 600; white-space: nowrap; }
  :root.land .invl-v small { color: var(--bq-ink-3); font-size: 12px; white-space: nowrap; }
  :root.land .invl-in input { box-sizing: border-box; width: 112px; min-height: 44px; padding: 0 12px; border: 0; border-radius: 12px; background: var(--bq-card); box-shadow: inset 0 0 0 2px var(--bq-accent); color: var(--bq-ink); font-size: 16px; font-weight: 600; text-align: right; animation: cll-fade 200ms ease-out both; }
  :root.land .invl-in input:focus { outline: none; }
  :root.land .invl-q { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; color: var(--bq-ink-3); font-size: 13px; line-height: 1.5; }
  :root.land .invl-q.ok { color: var(--bq-accent); font-weight: 600; }
  :root.land .invl-q svg { flex: none; width: 16px; height: 16px; }
  :root.land .invl-q .linkbtn { min-height: 44px; color: var(--bq-accent); }
  :root.land .invl-rec { display: flex; gap: 8px; margin-top: 16px; }
  :root.land .invl-day { position: relative; flex: none; display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 18px; border-radius: 999px; background: var(--bq-card); box-shadow: inset 0 0 0 1px var(--bq-line); color: var(--bq-ink); font-size: 15px; font-weight: 600; cursor: pointer; }
  :root.land .invl-day svg { width: 17px; height: 17px; }
  :root.land .invl-day input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
  :root.land .invl-day:focus-within { outline: 2px solid var(--bq-accent); outline-offset: 2px; }
  :root.land .invl-go { all: unset; box-sizing: border-box; cursor: pointer; flex: 1 1 auto; display: flex; align-items: center; justify-content: center; gap: 8px; height: 52px; border-radius: 999px; background: var(--lk-lime); color: var(--lk-deep); font-size: 15px; font-weight: 600; -webkit-tap-highlight-color: transparent; transition: transform 120ms ease-out, opacity 200ms ease-out; }
  :root.land .invl-go svg { width: 17px; height: 17px; stroke-width: 2.4; }
  :root.land .invl-go:disabled { cursor: default; opacity: .45; }
  :root.land .invl-go:active:not(:disabled) { transform: scale(.98); }
  :root.land .invl-go:focus-visible { outline: 2px solid var(--bq-accent); outline-offset: 2px; }

  /* what came in, by month */
  :root.land .invl-bars { display: flex; align-items: flex-end; gap: 6px; height: 140px; margin: 14px 0 0; }
  :root.land .invl-bars > span { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; height: 100%; }
  :root.land .invl-bars i { display: block; width: 100%; max-width: 22px; min-height: 0; border-radius: 6px 6px 3px 3px; background: color-mix(in srgb, var(--lk-lime) 45%, transparent); transform-origin: bottom; animation: invl-up 560ms var(--ease) both; animation-delay: calc(120ms + var(--i, 0) * 30ms); }
  :root.land .invl-bars i.hi { background: var(--lk-lime); }
  :root.land .invl-bars i.todo { box-sizing: border-box; background: none; border: 1.5px dashed color-mix(in srgb, var(--lk-lime) 60%, transparent); }
  :root.land .invl-bars small { color: var(--bq-ink-3); font-size: 12px; font-weight: 600; }
  :root.land .invl-bars small.now { color: var(--bq-ink); }
  @keyframes invl-up { from { transform: scaleY(0); } to { transform: none; } }

  /* a purchase tried out, the movements */
  :root.land .invl-more { display: flex; flex-direction: column; gap: 16px; }
  :root.land .invl-soft { all: unset; box-sizing: border-box; cursor: pointer; -webkit-tap-highlight-color: transparent; display: flex; align-items: center; gap: 14px; padding: 18px 16px; border-radius: 20px; background: var(--bq-card); box-shadow: inset 0 0 0 1px var(--bq-line); }
  :root.land .invl-go2 { flex: none; display: grid; color: var(--bq-ink-3); }
  :root.land .invl-go2 svg { width: 18px; height: 18px; }
  :root.land .invl-fine { margin: -14px 0 0; color: var(--bq-ink-3); font-size: 12.5px; line-height: 1.5; }
  /* with no movements yet (owner, 2026-10-27: "el estado de no tener movimientos está raro"): the wallet at a size, one line, one button, in the middle */
  :root.land .invl.none { padding-top: 56px; }
  :root.land .invl-none { display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 320px; margin: 0 auto; text-align: center; animation: invl-rise 360ms var(--ease) both; }
  @keyframes invl-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
  :root.land .invl-none > .obj.empty-art { display: block; flex: none; width: 96px; height: 96px; margin: 0 0 10px; }
  :root.land .invl-none b { color: var(--bq-ink); font-size: 20px; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
  :root.land .invl-none span { color: var(--bq-ink-2); font-size: 14px; line-height: 1.5; }
  :root.land .invl-none .btn.primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; margin-top: 14px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--lk-lime); color: var(--lk-deep); font-size: 15px; font-weight: 600; transition: transform 120ms ease-out; }
  :root.land .invl-none .btn.primary svg { width: 17px; height: 17px; stroke-width: 2.4; }
  :root.land .invl-none .btn.primary:active { transform: scale(.98); }
  :root.land #overlay .invl-sheet { padding: 4px 16px 24px; }
  :root.land #overlay .invl-sheet #fii-sim .card-h { display: none; }
  :root.land #overlay .invl-dd { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--bq-card); box-shadow: inset 0 0 0 1px var(--bq-line); }
  :root.land #overlay .invl-dd b { color: var(--bq-ink); font-size: 14px; font-weight: 700; line-height: 1; }
  :root.land #overlay .invl-dd small { color: var(--bq-ink-3); font-size: 10px; font-weight: 600; text-transform: uppercase; }
  :root.land #overlay .invl-x { all: unset; box-sizing: border-box; cursor: pointer; flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--bq-ink-3); }
  :root.land #overlay .invl-x svg { width: 16px; height: 16px; }
  :root.land #overlay .invl-x:focus-visible { outline: 2px solid var(--bq-accent); outline-offset: -2px; }

  @media (prefers-reduced-motion: reduce) { :root.land :is(.invl-bar i, .invl-bars i, .invl-in input, .invl-none) { animation: none; } :root.land :is(.invl-ic, .invl-go, .invl-none .btn.primary) { transition: none; } }
}
