/* Natija, Miya xaritasi, bo'limlar, hisobot (chop etish).
   Egasi: result agenti. Dizayn: REDESIGN.md (chiziqsiz, yumshoq, lavanda). Rang va o'lchamlar faqat style.css :root dan.
   Holat rangi (yaxshi / takrorlash / zaif / tekshirilmagan) bitta joyda: JS faqat data-tone yozadi, rang --tone orqali olinadi. */

:is(#screen-results, #screen-brain, #screen-plan, #screen-report) [data-tone] { --tone: var(--brand-tint); }
:is(#screen-results, #screen-brain, #screen-plan, #screen-report) [data-tone="good"] { --tone: var(--ok); }
:is(#screen-results, #screen-brain, #screen-plan, #screen-report) [data-tone="mid"] { --tone: var(--sun); }
:is(#screen-results, #screen-brain, #screen-plan, #screen-report) [data-tone="bad"] { --tone: var(--bad-seg); }
:is(#screen-results, #screen-brain, #screen-plan, #screen-report) [data-tone="none"] { --tone: var(--brand-tint); }

/* Holat belgisi: rangga yolg'iz tayanmaslik uchun (✓ yaxshi, ~ takrorlash, ! zaif; belgi yo'q = tekshirilmagan).
   Xarita bargida bir xil belgi JS da chiziladi (app.js TONE_GLYPH), bob doirasida va izohda shu yerdan. Oq chiziq, shaffof fon: nishon ichida ham, niqob sifatida ham ishlaydi. */
:is(#screen-results, #screen-brain, #screen-plan) [data-tone="good"] { --gl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 16 16' fill='none' stroke='%23fff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M-3.6 .3L-1 2.9L3.8 -2.7'/%3E%3C/svg%3E"); }
:is(#screen-results, #screen-brain, #screen-plan) [data-tone="mid"] { --gl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 16 16' fill='none' stroke='%23fff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M-4 .4C-2.6 -2.2 -1.1 -2.2 0 0S2.6 2.4 4 -.2'/%3E%3C/svg%3E"); }
:is(#screen-results, #screen-brain, #screen-plan) [data-tone="bad"] { --gl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 16 16' fill='none' stroke='%23fff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M0 -3.8V.6M0 3.5H.01'/%3E%3C/svg%3E"); }

/* ---------- ma'lumot kartochkalari (.card.tint ichida) ---------- */
.detail { gap: 16px; }
.det-head { display: flex; align-items: center; gap: 14px; }
.det-meta { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.det-meta .chip { margin-top: 6px; padding: 4px 12px; font-size: 14px; }
.donut { position: relative; width: 72px; height: 72px; flex: none; }
.donut svg { display: block; width: 100%; height: 100%; transform: rotate(-90deg); fill: none; stroke-width: 11; }
.dn-track { stroke: var(--card); }
.dn-arc { stroke: var(--tone); stroke-linecap: round; }
.donut-n { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 17px; }
.det-t { margin: 2px 0 0; font-weight: 800; font-size: 24px; line-height: 1.15; letter-spacing: -.015em; }
.muted-t { color: var(--muted); }
.dash-note { border-radius: var(--r-md); background: var(--card); padding: 14px 16px; font-weight: 700; font-size: 16px; color: var(--muted); line-height: 1.45; }
.lessons { display: flex; flex-direction: column; gap: 14px; }
.lessons-t { font-weight: 800; font-size: 18px; }
.ls-row { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; font-size: 16px; line-height: 1.3; }
.ls-pct { font-weight: 800; white-space: nowrap; }
.ls-n { font-weight: 700; font-size: 14px; color: var(--muted); }
.ls-bar { height: 12px; margin-top: 7px; border-radius: 999px; background: var(--card); overflow: hidden; }
.ls-fill { height: 100%; min-width: 8px; border-radius: 999px; background: var(--tone); }
.tip { display: flex; gap: 12px; background: var(--card); border-radius: var(--r-md); padding: 14px 16px; font-weight: 700; font-size: 16px; line-height: 1.45; }
.tip.warm { background: var(--warn-bg); }
.tip-ic { margin-top: 1px; color: var(--brand-deep); }
.tip.warm .tip-ic { color: var(--ink-2); }
.tip-list { margin: 6px 0 0; padding-left: 20px; }
.tip-list li { margin: 3px 0; }
.tip p { margin: 0 0 6px; }
.tip p:last-child { margin: 0; }
.conf { font-weight: 700; font-size: 15px; color: var(--muted); line-height: 1.45; }
:is(#screen-results, #screen-brain, #screen-plan) .muted-p { font-size: 16px; }

/* "Uyda mashq": binafsha gradient ta'kidli kartochka (matn oq) */
.next-card { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(135deg, var(--brand-light) 0%, var(--brand-deep) 100%); color: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-cta); padding: 22px 20px 18px; display: flex; flex-direction: column; gap: 10px; }
.next-card::before { content: ""; position: absolute; z-index: -1; right: -60px; top: -70px; width: 190px; height: 190px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.next-card .eyebrow { color: rgba(255, 255, 255, .9); font-size: 15px; }
.next-t { font-weight: 800; font-size: 26px; line-height: 1.15; letter-spacing: -.015em; }
.next-p { margin: 0; font-weight: 700; font-size: 16px; line-height: 1.45; }
.next-card .btn { margin-top: 6px; }
.next-card .link { min-height: 44px; color: #fff; }
.next-card :focus-visible { outline-color: #fff; }

/* to'q tugma: matn chapda, oxirida yumaloq o'q (asosiy tugma bilan bir til) */
:is(#screen-results, #screen-brain, #screen-plan) .btn.dark { height: auto; min-height: 58px; padding-block: 8px; line-height: 1.15; text-align: left; }
:is(#screen-results, #screen-brain, #screen-plan) .btn.dark:has(> .ico:last-child) { justify-content: space-between; padding: 8px 8px 8px 26px; }
:is(#screen-results, #screen-brain, #screen-plan) .btn.dark > .ico:last-child { width: 42px; height: 42px; padding: 10px; border-radius: 50%; background: rgba(255, 255, 255, .22); stroke: #fff; stroke-width: 2.4; }

/* ---------- natija bo'limlari ---------- */
.tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 5px; background: var(--card); border-radius: 999px; box-shadow: var(--sh-1); }
.tab { min-height: 46px; padding: 0 6px; font: 800 16px/1.1 var(--font); color: var(--ink-2); background: transparent; border: 0; border-radius: 999px; cursor: pointer; }
.tab.on { background: var(--cta); color: #fff; box-shadow: var(--sh-cta); }
.col { display: flex; flex-direction: column; gap: 18px; }
.h2.nm { margin: 0; }

.growth { gap: 14px; }
.growth .h2 { margin: 0; }
.growth-chart { display: flex; justify-content: center; }
/* viewBox 260 birlik (app.js growthSvg): yozuvlar 14 birlik, 320px ekranda ~13px, 390px da ~16px */
.gr { display: block; width: 100%; max-width: 340px; }
.gr-grid { stroke: var(--brand-tint); stroke-width: 2; }
.gr-lbl { fill: var(--muted); font-family: var(--font); font-weight: 800; font-size: 14px; }
.gr-area { fill: var(--brand); fill-opacity: .16; }
.gr-line { fill: none; stroke: var(--brand); stroke-width: 4; stroke-linejoin: round; stroke-linecap: round; }
.gr-dot { fill: var(--tone); stroke: var(--card); stroke-width: 3.5; }
.gr-val { fill: var(--ink); font-family: var(--font); font-weight: 800; font-size: 14px; text-anchor: middle; }
.trend { padding: 12px 14px; border-radius: var(--r-md); background: var(--card); font-weight: 700; font-size: 16px; line-height: 1.4; }
.trend.up { background: var(--ok-bg); color: var(--ok-ink); }
.trend.down { background: var(--bad-bg); color: var(--bad-ink); }
.deltas { display: flex; flex-direction: column; gap: 8px; }
.delta { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: var(--r-sm); background: var(--card); font-weight: 800; font-size: 16px; line-height: 1.3; }
.delta.up .dv { color: var(--ok-ink); white-space: nowrap; }
.delta.down .dv { color: var(--bad-ink); white-space: nowrap; }

/* "Uyda reja": har mashq kartochkasida sarlavha, foiz va tugma ko'rinadi; qolgani <details> da yig'ilgan (birinchisi ochiq) */
.plan-item { gap: 14px; }
.pi-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.pi-title { font-weight: 800; font-size: 22px; line-height: 1.2; letter-spacing: -.01em; }
.pi-root { background: var(--warn-bg); color: var(--warn-ink); border-radius: var(--r-sm); padding: 10px 14px; font-weight: 800; font-size: 15px; line-height: 1.4; }
.pi-sec { background: rgba(255, 255, 255, .6); border-radius: var(--r-md); padding: 14px 16px; }
.pi-sec p, .pi-act p { margin: 6px 0 0; font-weight: 600; font-size: 17px; line-height: 1.5; }
.pi-label { font-weight: 800; font-size: 15px; line-height: 1.3; color: var(--brand-deep); }
.pi-list { margin: 8px 0 0; padding-left: 22px; font-weight: 600; font-size: 17px; line-height: 1.45; }
.pi-list li { margin: 6px 0; }
.pi-home { background: var(--card); border-radius: var(--r-md); padding: 14px 16px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--sh-1); }
.pi-act strong { font-size: 17px; }
.pi-book { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; color: var(--muted); }
.pi-ic { width: 20px; height: 20px; }
:is(#screen-results, #screen-brain, #screen-plan) .pi-btn { height: auto; min-height: 58px; padding-block: 8px; background: var(--cta); color: #fff; box-shadow: var(--sh-cta); font-size: 18px; line-height: 1.15; text-align: left; }
.pi-btn:has(> .ico:last-child) { justify-content: space-between; padding: 8px 8px 8px 24px; }
.pi-btn > .ico:last-child { width: 42px; height: 42px; padding: 10px; border-radius: 50%; background: rgba(255, 255, 255, .22); color: #fff; stroke-width: 2.4; }

.pi-fold { display: flex; flex-direction: column; }
.pi-sum { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 6px 8px 6px 20px; border-radius: 999px; background: rgba(255, 255, 255, .75); font-weight: 800; font-size: 17px; line-height: 1.2; cursor: pointer; list-style: none; -webkit-user-select: none; user-select: none; }
.pi-sum::-webkit-details-marker { display: none; }
.pi-chev { width: 38px; height: 38px; padding: 7px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-deep); stroke-width: 2.8; transition: transform .2s; }
.pi-fold[open] > .pi-sum .pi-chev { transform: rotate(180deg); }
.pi-more { display: flex; flex-direction: column; gap: 12px; padding-top: 14px; }

.week { gap: 12px; }
.week .h2 { margin: 0; }
.week-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ws { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; background: var(--card); border-radius: var(--r-md); }
.ws-home { background: var(--warn-bg); }
.ws-app { background: var(--ok-bg); }
.ws-test { background: var(--brand-soft); }
.ws-day { min-width: 38px; height: 38px; flex: none; padding: 0 9px; border-radius: 999px; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font: 800 16px/1 var(--font); }
.ws-t { font-weight: 800; font-size: 17px; line-height: 1.3; }
.ws-s { font-weight: 700; font-size: 15px; color: var(--ink-2); margin-top: 2px; line-height: 1.35; }

.foot-links { display: flex; justify-content: space-between; align-items: center; gap: 4px 12px; flex-wrap: wrap; }
.foot-links .link { min-height: 44px; display: inline-flex; align-items: center; padding: 0 4px; font-size: 16px; }
.link.danger { color: var(--bad-ink); }

.save-status { align-self: center; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 4px 8px; text-align: center; font-weight: 800; font-size: 15px; color: var(--muted); }
.save-status.saved { padding: 8px 16px; border-radius: 999px; background: var(--ok-bg); color: var(--ok-ink); }
.save-status.saved .ico { color: var(--ok-ink); }
.save-status.failed { align-self: stretch; padding: 12px 16px; border-radius: var(--r-md); background: var(--bad-bg); color: var(--bad-ink); }
.save-status .ico { width: 20px; height: 20px; }
.save-status .link { min-height: 44px; padding: 0 4px; color: var(--bad-ink); }


/* ---------- hisobot (ekranda va chop etishda) ---------- */
.report { display: flex; flex-direction: column; gap: 14px; }
.rp-toolbar { display: flex; flex-wrap: wrap; gap: 10px; }
.rp-toolbar .btn { width: auto; font-size: 18px; }
.rp-toolbar .btn.ghost { flex: 0 0 auto; padding: 0 24px; }
.rp-toolbar .btn.cta { flex: 1 1 250px; min-width: 0; height: auto; min-height: 56px; line-height: 1.15; text-align: left; }
/* sahifa tepasidagi to'q lavanda gradient ustida --muted 4.5:1 dan past (4.2-4.4); shu yerda --ink-2 (7.5:1) */
.rp-hint { margin: 0; font-weight: 700; font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.rp-doc { background: var(--card); color: var(--ink); border-radius: var(--r-lg); box-shadow: var(--sh-1); padding: 22px 18px; display: flex; flex-direction: column; gap: 24px; }
.rp-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 10px 14px; padding-bottom: 14px; border-bottom: 2px solid var(--brand-soft); }
.rp-brand { font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-deep); }
.rp-head h1 { margin: 2px 0 0; font-weight: 800; font-size: 26px; line-height: 1.1; }
.rp-meta { margin-left: auto; text-align: right; font-weight: 700; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.rp-sec h2 { margin: 0 0 10px; font-weight: 800; font-size: 20px; line-height: 1.2; }
.rp-sec > p, .rp-growth > p { margin: 10px 0 0; font-weight: 700; font-size: 16px; }
.rp-sum { margin: 0; padding-left: 20px; font-weight: 600; font-size: 16px; line-height: 1.55; }
.rp-sum li { margin: 3px 0; }
.rp-two { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.rp-map { display: flex; justify-content: center; }
.rp-map svg { width: 100%; max-width: 300px; }
.rp-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.rp-table th { text-align: left; padding: 6px 8px; font-weight: 800; font-size: 13px; color: var(--muted); border-bottom: 2px solid var(--brand-tint); }
.rp-table td { padding: 8px; border-bottom: 1px solid var(--brand-soft); vertical-align: middle; font-weight: 600; }
.rp-bar { position: relative; height: 20px; min-width: 72px; border-radius: 999px; background: var(--soft); overflow: hidden; }
.rp-bar i { position: absolute; left: 0; top: 0; bottom: 0; min-width: 6px; border-radius: 999px; background: var(--tone); }
.rp-bar span { position: relative; padding-left: 9px; font-weight: 800; font-size: 12px; line-height: 20px; }
.rp-doc .card, .rp-doc .card.tint { background: var(--soft); box-shadow: none; border-radius: var(--r-md); padding: 16px; break-inside: avoid; }
.rp-doc .rp-sec > .card { margin-top: 12px; }
.rp-foot { padding-top: 12px; border-top: 2px solid var(--brand-soft); font-size: 13px; line-height: 1.45; color: var(--muted); font-weight: 600; }
.rp-foot p { margin: 0 0 4px; }

@media screen and (max-width: 560px) {
  /* tor ekranda jadval qatori ikki qatorli kartochkaga aylanadi (gorizontal aylantirish bo'lmasin) */
  .rp-table, .rp-table tbody { display: block; }
  .rp-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .rp-table tr { display: grid; grid-template-columns: 30px minmax(0, 1fr) 112px; align-items: center; gap: 4px 10px; padding: 10px 0; border-bottom: 1px solid var(--brand-soft); }
  .rp-table td { padding: 0; border: 0; }
  .rp-table td:nth-child(1) { grid-area: 1 / 1; font-weight: 800; color: var(--muted); text-align: center; }
  .rp-table td:nth-child(2) { grid-area: 1 / 2; font-weight: 700; }
  .rp-table td:nth-child(5) { grid-area: 1 / 3; font-size: 13px; color: var(--muted); font-weight: 700; white-space: nowrap; text-align: right; }
  .rp-table td:nth-child(3) { grid-area: 2 / 2; }
  .rp-table td:nth-child(4) { grid-area: 2 / 3; font-size: 13px; font-weight: 800; white-space: nowrap; text-align: right; }
}

@media (min-width: 720px) {
  .hero { flex-direction: row; justify-content: center; gap: 44px; padding: 30px 44px; text-align: left; }
  .hero-main { align-items: flex-start; }
  .hero-top { flex: none; gap: 24px; }
  .hero .owl-wrap { width: 128px; height: 128px; }
  .rp-doc { padding: 32px 36px; }
}

@media (min-width: 980px) {
  .res-grid { gap: 24px; }
  .res-row { display: grid; grid-template-columns: minmax(380px, 440px) minmax(0, 1fr); gap: 24px; align-items: start; }
  /* "Qayerdan boshlaymiz": ikki ustun ostida butun kenglikda; matn chapda, tugmalar o'ngda */
  .res-grid > .next-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 380px); column-gap: 40px; row-gap: 8px; align-items: center; padding: 28px 32px; }
  .res-grid > .next-card > .eyebrow, .res-grid > .next-card > .next-t, .res-grid > .next-card > .next-p { grid-column: 1; }
  .res-grid > .next-card > .btn { grid-column: 2; grid-row: 1 / span 4; align-self: center; margin-top: 0; }
  .res-grid > .next-card > .link { grid-column: 1; grid-row: 4; justify-self: start; padding-left: 0; }
}
/* chap ustun (xarita + izoh, ~700px) faqat to'liq sig'sagina yopishqoq: past oynada pastki qismi ekrandan tashqarida qolmasin */
@media (min-width: 980px) and (min-height: 800px) {
  .res-left { position: sticky; top: 84px; }
}

@media (max-width: 400px) {
  .tabs { grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, 1.05fr); }
  .tab { font-size: 15px; padding: 0 2px; }
}

@media (max-width: 380px) {
  .hero .owl-wrap { width: 88px; height: 88px; }
  .hero .ring { width: 120px; height: 120px; }
  .ring-c { inset: 15px; }
  .ring-n { font-size: 28px; }
  .picks { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media print {
  @page { size: A4; margin: 12mm; }
  body { background: #fff; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .app { max-width: none; padding: 0; min-height: 0; overflow: visible; background: #fff; }
  .decor, .no-print, .topbar, .tabbar, .toasts, .pwa-bar, .screen:not(#screen-report) { display: none !important; }
  #screen-report:not([hidden]) { display: flex !important; padding: 0; max-width: none; }
  .rp-doc { box-shadow: none; padding: 0; border-radius: 0; gap: 14px; font-size: 14px; line-height: 1.4; orphans: 3; widows: 3; }
  /* xarita va o'sish grafigi chapda, jadval o'ngda: birinchi sahifa to'ladi, qog'oz tejaladi */
  .rp-two { grid-template-columns: 250px 1fr; grid-template-rows: auto 1fr; grid-template-areas: "map tbl" "grow tbl"; align-items: start; gap: 12px 18px; }
  .rp-two > .rp-map { grid-area: map; }
  .rp-two > .rp-tbl { grid-area: tbl; }
  .rp-two > .rp-growth { grid-area: grow; }
  .rp-growth .growth-chart .gr { max-width: 250px; }
  .rp-table td { padding: 6px 8px; }
  .rp-doc .card, .rp-doc .card.tint { background: #fff; border: 1px solid var(--brand-tint); padding: 10px 14px; gap: 8px; }
  .rp-doc .tip { border: 1px solid var(--brand-soft); font-size: 13.5px; padding: 10px 14px; }
  .rp-doc .pi-home { background: var(--soft); box-shadow: none; padding: 10px 14px; gap: 8px; }
  .rp-doc .pi-sec { background: none; padding: 0; }
  .rp-doc .pi-sec p, .rp-doc .pi-list, .rp-doc .pi-act p, .rp-doc .pi-act strong { font-size: 13.5px; }
  .rp-doc .pi-sec p, .rp-doc .pi-act p { margin-top: 3px; }
  .rp-doc .pi-list { margin-top: 3px; }
  .rp-doc .pi-list li { margin: 3px 0; }
  .rp-doc .pi-label { font-size: 13px; }
  .rp-doc .pi-title { font-size: 18px; }
  .rp-doc .ws-t { font-size: 14px; }
  .rp-doc .ws-s { font-size: 13px; }
  .rp-doc .rp-sec > p, .rp-doc .rp-growth > p, .rp-doc .rp-sum { font-size: 14px; }
  .rp-sec h2 { break-after: avoid; }
  /* uzun kartochkalar sahifaga bo'linadi (sahifa bo'sh qolmasin), ichki bloklar esa butun qoladi */
  .rp-doc .card.tint.plan-item, .rp-doc .card.tint.week { break-inside: auto; }
  /* bo'linadigan kartochkada ramka yo'q: sahifa oxirida bo'sh ramka qolib ketmasin; kartochkani tepadagi chiziq ajratadi */
  .rp-doc .card.tint.plan-item, .rp-doc .card.tint.week { border: 0; padding: 0; }
  .rp-doc .plan-item > .pi-head { padding-top: 10px; border-top: 2px solid var(--brand-soft); }
  .rp-doc .pi-head, .rp-doc .pi-sec, .rp-doc .pi-home, .rp-doc .pi-root, .rp-doc .tip, .rp-doc .pi-book, .rp-doc .ws, .rp-head, .rp-table tr, .rp-growth { break-inside: avoid; }
  .rp-doc .pi-head, .rp-doc .week .h2 { break-after: avoid; }
}

/* ---------- 3D rasmlar: bob rasmi (bob nomi yonida), "Uyda mashq" rasmi (keyingi qadam kartochkasi) ---------- */
.eb-art { display: flex; align-items: center; gap: 8px; }
.bob-art.mini { width: 36px; height: 36px; object-fit: contain; }
.next-card .next-art { position: absolute; z-index: 1; right: 8px; top: 8px; width: 96px; height: 96px; object-fit: contain; }
.next-card.has-art .eyebrow, .next-card.has-art .next-t { padding-right: 88px; }
.next-card.has-art .next-t { min-height: 56px; }
@media (min-width: 980px) {
  .res-grid > .next-card.has-art .eyebrow, .res-grid > .next-card.has-art .next-t { padding-right: 0; }
  .res-grid > .next-card.has-art .next-t { min-height: 0; }
  .res-grid > .next-card > .next-art { position: static; grid-column: 2; grid-row: 1 / span 2; justify-self: end; align-self: start; width: 96px; height: 96px; }
  .res-grid > .next-card.has-art > .btn { grid-row: 3 / span 2; }
}
