/* Dorax Finance — the summary "Resumen v6", the owner's only (v341): its parts. The frame and the colours: css/look/look-r6.css. */

/* ---------- the wallet: the banks peeking out of the leather ---------- */
:root.r6 .r6-wallet { display: block; margin-top: 8px; padding: 10px; border-radius: 44px; color: inherit; text-decoration: none; }
:root.r6 .r6-wl-in { position: relative; display: block; height: 292px; overflow: hidden; border-radius: 34px; background: #0B0C0C; }
:root.r6 .r6-wc { position: absolute; box-sizing: border-box; height: 120px; display: flex; align-items: flex-start; gap: 9px; padding: 9px 14px; border-radius: 22px;
  background-image: linear-gradient(135deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 55%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 -6px 16px -8px rgba(0, 0, 0, .7); animation: r6-in .8s cubic-bezier(.2, .9, .25, 1) backwards; }
:root.r6 .r6-wc .inst { flex: none; width: 22px; height: 22px; min-width: 22px; overflow: hidden; border-radius: 50%; font-size: 8.5px; font-weight: 600; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .55); }
:root.r6 .r6-wc .inst img { display: block; width: 22px; height: 22px; border-radius: 50%; }
:root.r6 .r6-wc .inst svg { width: 14px; height: 14px; }
:root.r6 .r6-wc-n { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13.5px; font-weight: 500; line-height: 22px; }
:root.r6 .r6-wc b { flex: none; font-size: 14px; font-weight: 500; line-height: 22px; }
:root.r6 .r6-pocket { position: absolute; z-index: 10; left: 0; right: 0; bottom: 0; height: 188px; display: block; }
:root.r6 .r6-pocket svg { position: absolute; inset: 0; width: 100%; height: 100%; }
:root.r6 .r6-pk-t { position: absolute; left: 26px; right: 26px; bottom: 30px; display: flex; flex-direction: column; gap: 8px; }
:root.r6 .r6-pk-t > b { color: #EFF1F6; font-size: clamp(30px, 9.6vw, 38px); font-weight: 400; letter-spacing: -.035em; line-height: 1; white-space: nowrap; }
:root.r6 .r6-pk-t > b.neg { color: #FF8A80; }
:root.r6 .r6-pk-t > span { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
:root.r6 .r6-pk-t small { color: var(--r6-ink-3); font-size: 14.5px; white-space: nowrap; }
:root.r6 .r6-pk-n { display: inline-flex; align-items: center; gap: 2px; }
:root.r6 .r6-pk-n svg { width: 14px; height: 14px; }

/* ---------- this week, and in it what moved ---------- */
:root.r6 .r6-week { display: flex; flex-direction: column; }
:root.r6 .r6-wk-top { display: flex; flex-direction: column; padding: 12px 20px; }
:root.r6 .r6-wk-go { display: flex; align-items: center; gap: 12px; min-height: 44px; margin-top: 6px; color: inherit; text-decoration: none; }
:root.r6 .r6-ico { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: #EFF1F6; }
:root.r6 .r6-wk-go > span:not(.r6-ico) { flex: 1 1 auto; color: rgba(239, 241, 246, .75); font-size: 16px; }
:root.r6 .r6-wk-go > svg { flex: none; width: 16px; height: 16px; color: rgba(239, 241, 246, .55); }
:root.r6 .r6-wk-sum { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; }
:root.r6 .r6-wk-sum b { color: #EFF1F6; font-size: 44px; font-weight: 400; letter-spacing: -.035em; line-height: 1; }
:root.r6 .r6-wk-sum small { color: var(--r6-ink-3); font-size: 13.5px; }
:root.r6 .r6-bars { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); margin: 14px -8px 0; }
:root.r6 .r6-d { display: flex; flex-direction: column; align-items: center; gap: 8px; min-height: 44px; padding: 8px 0 7px; border-radius: 18px; box-shadow: inset 0 0 0 1px rgba(239, 241, 246, 0); transition: background-color .3s ease, box-shadow .3s ease; }
:root.r6 .r6-d[aria-pressed="true"] { background: rgba(239, 241, 246, .07); box-shadow: inset 0 0 0 1px rgba(239, 241, 246, .1); }
:root.r6 .r6-d:disabled { cursor: default; }
:root.r6 .r6-cap { position: relative; display: block; width: 22px; height: 84px; overflow: hidden; border-radius: 11px; background: #222525; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
:root.r6 .r6-cap i { position: absolute; left: 0; right: 0; bottom: 0; border-radius: 11px; background: #3A403D; transform-origin: 50% 100%; animation: r6-fill .9s cubic-bezier(.2, .9, .25, 1) both; }
:root.r6 .r6-d.some .r6-cap i { background: linear-gradient(180deg, #7FA88A, #4E6E59); }
:root.r6 .r6-d.over .r6-cap i { background: linear-gradient(180deg, #F7D27A, #E0A43C); box-shadow: 0 0 12px rgba(224, 164, 60, .45); }
:root.r6 .r6-d.today .r6-cap i { background: linear-gradient(180deg, #D6F2B0, #9FD182); box-shadow: 0 0 14px rgba(159, 209, 130, .75); }
:root.r6 .r6-dl { color: var(--r6-ink-3); font-size: 12px; font-weight: 500; transition: color .3s ease; }
:root.r6 .r6-d[aria-pressed="true"] .r6-dl { color: #EFF1F6; font-weight: 500; }
:root.r6 .r6-d:disabled .r6-dl { color: rgba(239, 241, 246, .3); }
:root.r6 .r6-day { display: flex; flex-direction: column; padding: 14px 20px 6px; border-top: 1px solid rgba(239, 241, 246, .07); background: rgba(255, 255, 255, .025); }
:root.r6 .r6-day-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 4px; color: #EFF1F6; font-size: 15px; }
:root.r6 .r6-day-h b { font-weight: 500; }
:root.r6 .r6-day-h b.num { font-weight: 500; }
:root.r6 .r6-day-h b.over { color: #F7D27A; }
:root.r6 .r6-op { display: flex; align-items: center; gap: 14px; width: 100%; color: #EFF1F6; animation: r6-rise .5s cubic-bezier(.2, .9, .25, 1) backwards; }
:root.r6 .r6-op-i { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(239, 241, 246, .07); box-shadow: inset 0 0 0 1px rgba(239, 241, 246, .1); color: rgba(239, 241, 246, .9); }
:root.r6 .r6-op-i svg { width: 18px; height: 18px; }
:root.r6 .r6-op-i .r6-l { font-size: 15px; font-weight: 500; }
:root.r6 .r6-op-t { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 12px; min-height: 64px; }
:root.r6 .r6-op + .r6-op .r6-op-t { border-top: 1px solid rgba(239, 241, 246, .07); }      /* the line between two starts after the icon */
:root.r6 .r6-op-t > span { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
:root.r6 .r6-op-t > span b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; font-weight: 500; }
:root.r6 .r6-op-t > span small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--r6-ink-3); font-size: 13.5px; }
:root.r6 .r6-op-t > .num { flex: none; font-size: 16px; font-weight: 500; }
:root.r6 .r6-op.in .r6-op-t > .num { color: #9FD182; }
:root.r6 .r6-none { display: flex; align-items: center; min-height: 56px; margin: 0; color: var(--r6-ink-3); font-size: 14px; }
:root.r6 .r6-day-more { display: inline-flex; align-items: center; gap: 2px; min-height: 44px; color: #9FD182; font-size: 14px; font-weight: 500; text-decoration: none; }
:root.r6 .r6-day-more svg { width: 14px; height: 14px; }

/* ---------- the days of freedom: a live line, in our lime flat (v345; owner, 2026-10-28: "¿el color es el nuestro? se ve brillante", "quítale el brillo"): no lighter limes, no gradients, no glow ---------- */
:root.r6 .r6-run { display: flex; flex-direction: column; gap: 18px; width: 100%; padding: 20px 22px 18px; color: #EFF1F6; }
:root.r6 .r6-run-h { display: flex; align-items: center; gap: 10px; color: #9FD182; }
:root.r6 .r6-run-h b { flex: 1 1 auto; min-width: 0; font-size: 15px; font-weight: 500; text-align: left; }
:root.r6 .r6-pill { flex: none; padding: 6px 12px; border-radius: 999px; background: #9FD182; color: #101212; font-size: 13px; font-weight: 600; white-space: nowrap; }
:root.r6 .r6-trk { position: relative; display: block; height: 22px; border-radius: 11px; background: rgba(159, 209, 130, .18); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .4); }
:root.r6 .r6-trk > i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 11px; background: #9FD182; transform-origin: 0 50%; animation: r6-trk 1.1s cubic-bezier(.2, .9, .25, 1) .3s both; }
:root.r6 .r6-trk-end { position: absolute; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: #0B0C0C; }
:root.r6 .r6-trk-end.s { left: 6px; }
:root.r6 .r6-trk-end.e { right: 6px; }
:root.r6 .r6-knob { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #EFF1F6; box-shadow: 0 0 0 3px #121414; animation: r6-knob 1.1s cubic-bezier(.2, .9, .25, 1) .3s both; }
:root.r6 .r6-trk-l { position: relative; display: block; height: 20px; font-size: 15px; font-weight: 500; white-space: nowrap; }
:root.r6 .r6-trk-l > span { position: absolute; left: 0; color: rgba(239, 241, 246, .62); }
:root.r6 .r6-trk-l > .at { transform: translateX(-50%); }
:root.r6 .r6-trk-l > .goal { left: auto; right: 0; color: rgba(239, 241, 246, .55); }

/* ---------- what there is to pay: each its own card, its day on a tab cut into the corner, the amount on a band ---------- */
:root.r6 .bq-bills { gap: 12px; padding-top: 14px; align-items: stretch; }
:root.r6 .bq-bill { position: relative; overflow: visible; width: 158px; gap: 12px; padding: 16px 16px 0; border: 1px solid transparent; border-radius: 30px; background: var(--r6-face), linear-gradient(#121414, #121414) padding-box, var(--r6-rim); box-shadow: none; color: #EFF1F6; }
:root.r6 .bq-bill .bq-ico, :root.r6 .bq-bill.first .bq-ico { width: 42px; height: 42px; background: rgba(239, 241, 246, .08); box-shadow: inset 0 0 0 1px rgba(239, 241, 246, .14); color: #EFF1F6; }
:root.r6 .bq-bill .bq-due { position: absolute; top: -8px; right: -4px; max-width: calc(100% - 4px); padding: 6px 11px; border-radius: 999px; background: #232626; color: rgba(239, 241, 246, .85); font-size: 12.5px; font-weight: 500; box-shadow: 0 0 0 6px #101212, inset 0 0 0 1px rgba(239, 241, 246, .14); }
:root.r6 .bq-bill.first .bq-due { background: #9FD182; color: #101212; box-shadow: 0 0 0 6px #101212; }
:root.r6 .bq-bill .bq-due.late, :root.r6 .bq-bill.first .bq-due.late { background: #3A2422; color: #FF8A80; box-shadow: 0 0 0 6px #101212, inset 0 0 0 1px rgba(255, 138, 128, .3); }
:root.r6 .bq-bill-n { color: rgba(239, 241, 246, .8); font-size: 15px; font-weight: 500; }
:root.r6 .bq-bill-v { margin: auto -16px 0; padding: 12px 16px 16px; border-top: 1px solid rgba(239, 241, 246, .07); border-radius: 0 0 29px 29px; background: rgba(255, 255, 255, .025); color: #EFF1F6; font-size: 25px; font-weight: 400; letter-spacing: -.03em; line-height: 1.05; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
:root.r6 .bq-bill[data-a="remind-month"] .bq-bill-v { font-size: 14px; letter-spacing: 0; line-height: 1.35; white-space: normal; }      /* a card that waits with words, not an amount */
:root.r6 .bq-bill-v .cents { opacity: 1; color: rgba(239, 241, 246, .42); font-size: .64em; letter-spacing: 0; }
:root.r6 .bq-calm, :root.r6 .bq-empty { color: var(--r6-ink-2); }

/* ---------- the goals: the stack, each card with its edge of light and its band ---------- */
:root.r6 .gst { height: 204px; }
:root.r6 .gst[data-n="1"] { height: 184px; }
:root.r6 .gst-c { height: 180px; border: 1px solid transparent; border-radius: 36px; background: linear-gradient(#121414, #121414) padding-box, var(--r6-rim); box-shadow: none; }
:root.r6 .gst-c[data-pos="0"], :root.r6 .gst-c.gst-fly, :root.r6 .gst-c.gst-above { background: var(--r6-face), linear-gradient(#121414, #121414) padding-box, var(--r6-rim); }
:root.r6 .gst-c[data-pos="1"] { transform: translateY(11px) scale(.94); background: linear-gradient(#181A1A, #181A1A) padding-box, var(--r6-rim); }
:root.r6 .gst-c[data-pos="2"], :root.r6 .gst-c[data-pos="h"] { transform: translateY(22px) scale(.88); background: linear-gradient(#161818, #161818) padding-box, var(--r6-rim); }
:root.r6 .gst-c:not(.gst-add) .gst-card { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) 46px; column-gap: 12px; padding: 18px 20px 0; border-radius: 35px; }
:root.r6 .gst-c:not(.gst-add) .gst-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 46px; border-top: 1px solid rgba(239, 241, 246, .07); background: rgba(255, 255, 255, .025); pointer-events: none; }
:root.r6 .gst-c:not(.gst-add) .gst-top { grid-column: 1 / -1; padding-right: 40px; }
:root.r6 .gst-c:not(.gst-add) .gst-v { display: contents; }
:root.r6 .gst-c:not(.gst-add) .gst-v b { grid-column: 1 / -1; align-self: center; font-size: 44px; font-weight: 400; letter-spacing: -.04em; }
:root.r6 .gst-c:not(.gst-add) .gst-v small { position: relative; z-index: 1; grid-column: 1; align-self: center; color: rgba(239, 241, 246, .66); font-size: 13.5px; }
:root.r6 .gst-c:not(.gst-add) .bq-bar { position: relative; z-index: 1; grid-column: 2; align-self: center; height: 8px; background: rgba(239, 241, 246, .08); }
:root.r6 .gst-c .bq-bar > i { background: linear-gradient(90deg, #6FB27C, #C4E89A); }
:root.r6 .gst-add .gst-card { padding: 20px 60px 20px 20px; border-radius: 35px; }
:root.r6 .gst-new { background: #9FD182; box-shadow: 0 6px 20px -6px rgba(159, 209, 130, .6); color: #101212; }
:root.r6 .gst-dots { height: 130px; }
:root.r6 .gst-dots i.on { background: #9FD182; box-shadow: 0 0 8px rgba(159, 209, 130, .7); }

/* ---------- for you: the day's fact on a dark card, a run of months saving peeking under it in lime ---------- */
:root.r6 .r6-you { position: relative; display: flex; flex-direction: column; margin-top: 12px; }
:root.r6 .r6-you.with { padding-bottom: 46px; }
:root.r6 .r6-you-c { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 34px; color: #EFF1F6; }
:root.r6 .r6-you-c > svg { flex: none; width: 16px; height: 16px; color: rgba(239, 241, 246, .55); }
:root.r6 .r6-you-fig { flex: none; width: 56px; height: 56px; overflow: hidden; border-radius: 50%; background: #EFF1F6; }
:root.r6 .r6-you-fig img { display: block; width: 56px; height: 58px; object-fit: cover; object-position: 50% 0; }
:root.r6 .r6-you-t { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
:root.r6 .r6-you-t small { color: var(--r6-ink-3); font-size: 13.5px; }
:root.r6 .r6-you-t b { font-size: 16px; font-weight: 500; line-height: 1.35; }
:root.r6 .r6-you-t .ins-m { color: #9FD182; }
:root.r6 .r6-you-lime { position: absolute; left: 0; right: 0; bottom: 0; height: 90px; display: flex; align-items: flex-end; justify-content: center; gap: 8px; padding: 0 18px 13px; border-radius: 0 0 34px 34px; background: #9FD182; color: #101212; font-size: 14.5px; font-weight: 500; text-align: center; }
:root.r6 .r6-you-lime > svg { flex: none; width: 16px; height: 16px; margin-bottom: 1px; }
:root.r6 .r6-you-lime .ins-m { color: inherit; }

/* ---------- the days of freedom and the saving, two square widgets side by side (v346, features/phone/r6-runway.js: r6Free) ---------- */
:root.r6 .r6-free { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
:root.r6 .r6-sq { aspect-ratio: 1 / 1; display: flex; flex-direction: column; justify-content: space-between; gap: 8px; min-width: 0; padding: 18px 18px 20px; color: #EFF1F6; text-align: left; }
:root.r6 .r6-sq-h { display: flex; align-items: center; gap: 6px; color: #9FD182; }
:root.r6 .r6-sq-h svg { flex: none; width: 17px; height: 17px; }
:root.r6 .r6-sq-h b { min-width: 0; overflow: hidden; color: #EFF1F6; font-size: 13px; font-weight: 500; letter-spacing: -.01em; text-overflow: ellipsis; white-space: nowrap; }
:root.r6 .r6-sq-v { display: flex; flex-direction: column; gap: 6px; }
:root.r6 .r6-sq-v b { font-size: 25px; font-weight: 500; letter-spacing: -.03em; line-height: 1.08; }
:root.r6 .r6-sq-v small, :root.r6 .r6-sq > small { color: rgba(239, 241, 246, .62); font-size: 13px; line-height: 1.35; }
:root.r6 .r6-trk.sm { height: 8px; border-radius: 4px; box-shadow: none; }
:root.r6 .r6-trk.sm > i { border-radius: 4px; }
:root.r6 .r6-trk.sm .r6-knob { width: 12px; height: 12px; margin: -6px 0 0 -6px; }
:root.r6 .r6-ring { position: relative; flex: none; width: 58px; height: 58px; }
:root.r6 .r6-ring svg { display: block; }
:root.r6 .r6-ring circle { fill: none; stroke: rgba(159, 209, 130, .18); stroke-width: 9; }
:root.r6 .r6-ring circle.on { stroke: #9FD182; stroke-linecap: round; animation: r6-arc 1.1s cubic-bezier(.2, .9, .25, 1) .3s both; }
:root.r6 .r6-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 15px; font-weight: 500; }
@keyframes r6-arc { from { stroke-dasharray: 0 999; } }
@media (prefers-reduced-motion: reduce) { :root.r6 .r6-ring circle.on { animation: none; } }
@media (max-width: 359px) { :root.r6 .r6-sq { aspect-ratio: auto; min-height: 150px; padding: 16px; } :root.r6 .r6-sq-v b { font-size: 21px; } }
