/* Dorax Finance — the owner's Yearly expenses, a page of Goals (v427; the canvas "Gastos-del-ano-V6"; features/phone/r6-yearly.js): the figure in lime,
   the next twelve months as jars, what is coming as rows; the lime flat (v415). */
@media (max-width: 920px) {
  :root.r6.r6-pg #view .r6y { display: flex; flex-direction: column; }
  :root.r6.r6-pg #view .r6y-top { display: flex; flex-direction: column; padding-top: 10px; }
  :root.r6.r6-pg #view .r6y-top > small { color: rgba(239, 241, 246, .6); font-size: 15px; }
  :root.r6.r6-pg #view .r6y-top > b { margin-top: 4px; color: #9FD182; font-size: 52px; font-weight: 300; line-height: 1; letter-spacing: -.045em; }
  :root.r6.r6-pg #view .r6y-top > b .cents { font-size: 26px; letter-spacing: -.02em; }
  :root.r6.r6-pg #view .r6y-top > b .sums-rest { display: block; margin-top: 6px; color: rgba(239, 241, 246, .6); font-size: 14px; font-weight: 400; letter-spacing: 0; }
  :root.r6.r6-pg #view .r6y-top .r6y-of { margin-top: 8px; color: rgba(239, 241, 246, .6); font-size: 14px; }
  :root.r6.r6-pg #view .r6y-of b { color: #EFF1F6; font-weight: 500; }

  /* the next twelve months: one target, a jar a month, filled from below with what is set aside */
  :root.r6.r6-pg #view .r6y-year { display: flex; flex-direction: column; gap: 10px; margin-top: 26px; }
  :root.r6.r6-pg #view .r6y-jars { all: unset; box-sizing: border-box; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: pan-y; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; align-items: end; width: 100%; -webkit-user-select: none; user-select: none; }
  :root.r6.r6-pg #view .r6y-jars:focus-visible { outline: 2px solid #9FD182; outline-offset: 4px; border-radius: 10px; }
  :root.r6.r6-pg #view .r6y-m { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; height: 152px; transition: opacity .25s ease; }
  :root.r6.r6-pg #view .r6y-jar { position: relative; display: block; overflow: hidden; border-radius: 8px; background: rgba(239, 241, 246, .1); transform-origin: 50% 100%; animation: r6y-jar .7s cubic-bezier(.16, 1, .3, 1) backwards; transition: box-shadow .25s ease, background-color .25s ease; }
  :root.r6.r6-pg #view .r6y-m.due .r6y-jar { background: rgba(239, 241, 246, .05); box-shadow: inset 0 0 0 1.5px rgba(239, 241, 246, .22); }
  :root.r6.r6-pg #view .r6y-jar > i { position: absolute; left: 0; right: 0; bottom: 0; display: block; background: rgba(159, 209, 130, .75); }
  :root.r6.r6-pg #view .r6y-m.due.on .r6y-jar { background: rgba(239, 241, 246, .1); box-shadow: inset 0 0 0 2px #D9DCE1; }
  :root.r6.r6-pg #view .r6y-m.back { opacity: .4; }
  :root.r6.r6-pg #view .r6y-m small { color: rgba(239, 241, 246, .4); font-size: 11px; font-weight: 500; text-align: center; transition: color .25s ease; }
  :root.r6.r6-pg #view .r6y-m small.now { color: #EFF1F6; }
  :root.r6.r6-pg #view .r6y-m.on small { color: #D9DCE1; }
  @keyframes r6y-jar { from { transform: scaleY(0); } }
  :root.r6.r6-pg #view .r6y-say { min-height: 20px; margin: 0; color: rgba(239, 241, 246, .65); font-size: 13.5px; }

  /* what is coming: a row each */
  :root.r6.r6-pg #view .r6y-list { display: flex; flex-direction: column; margin-top: 22px; }
  :root.r6.r6-pg #view .r6y-list h2 { margin: 0 0 4px; color: #EFF1F6; font-size: 16px; font-weight: 500; }
  :root.r6.r6-pg #view .r6y-row { all: unset; box-sizing: border-box; cursor: pointer; -webkit-tap-highlight-color: transparent; display: flex; align-items: center; gap: 12px; min-height: 80px; margin: 0 -16px; padding: 10px 16px; color: #EFF1F6; transition: background-color .15s ease, opacity .25s ease, transform .34s cubic-bezier(.2, .9, .3, 1.25); }
  :root.r6.r6-pg #view .r6y-row:active { background: rgba(239, 241, 246, .05); }
  :root.r6.r6-pg #view .r6y-row:focus-visible { outline: 2px solid #9FD182; outline-offset: -2px; border-radius: 14px; }
  :root.r6.r6-pg #view .r6y-row.back { opacity: .35; }
  :root.r6.r6-pg #view .r6y-ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(239, 241, 246, .08); color: #EFF1F6; }
  :root.r6.r6-pg #view .r6y-t { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
  :root.r6.r6-pg #view .r6y-n { display: flex; align-items: center; gap: 8px; min-width: 0; }
  :root.r6.r6-pg #view .r6y-n b { overflow: hidden; font-size: 15.5px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
  :root.r6.r6-pg #view .r6y-when { flex: none; padding: 2px 8px; border-radius: 999px; background: rgba(239, 241, 246, .07); color: rgba(239, 241, 246, .7); font-size: 11.5px; font-weight: 600; }
  :root.r6.r6-pg #view .r6y-when.soon { background: rgba(247, 210, 122, .16); color: #F7D27A; }
  :root.r6.r6-pg #view .r6y-when.late { background: rgba(255, 138, 128, .16); color: #FF8A80; }
  :root.r6.r6-pg #view .r6y-when.ok { background: rgba(159, 209, 130, .14); color: #9FD182; }
  :root.r6.r6-pg #view .r6y-bar { display: block; height: 5px; border-radius: 3px; background: rgba(239, 241, 246, .08); overflow: hidden; }
  :root.r6.r6-pg #view .r6y-bar i { display: block; height: 100%; border-radius: 3px; background: #9FD182; transform-origin: 0 50%; animation: r6y-bar .8s cubic-bezier(.16, 1, .3, 1) .3s backwards; }
  @keyframes r6y-bar { from { transform: scaleX(0); } }
  :root.r6.r6-pg #view .r6y-t > small { color: rgba(239, 241, 246, .5); font-size: 12.5px; }
  :root.r6.r6-pg #view .r6y-v { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
  :root.r6.r6-pg #view .r6y-v b { font-size: 15px; font-weight: 500; }
  :root.r6.r6-pg #view .r6y-v small { color: rgba(239, 241, 246, .5); font-size: 12px; }
  @media (prefers-reduced-motion: reduce) { :root.r6.r6-pg #view :is(.r6y-jar, .r6y-bar i) { animation: none; } :root.r6.r6-pg #view :is(.r6y-m, .r6y-jar, .r6y-row, .r6y-m small) { transition: none; } }
  /* none yet, on its own page: the page's name is in the top row already, so the section's own title is for the reader only */
  :root.r6.r6-pg #view .r6y > .r6yr > .r6-h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
