/* =========================================================
   Área do aluno — "janela" do app, sidebar, topbar e telas
   ========================================================= */
body.app { background: var(--outer); }
.frame {
  display: grid; grid-template-columns: 264px 1fr; min-height: calc(100vh - 32px);
  margin: 16px; background: var(--bg); border-radius: 28px; overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}

/* Sidebar (referências 1 e 2) */
.side { background: var(--side); border-right: 1px solid var(--line); padding: 1.4rem 1rem 1rem; display: flex; flex-direction: column; gap: 1.4rem; position: sticky; top: 0; height: calc(100vh - 32px); overflow-y: auto; scrollbar-width: thin; }
.side-top { display: flex; align-items: center; justify-content: space-between; padding: 0 .4rem; }
.side-close { display: none; }
.side-nav { display: flex; flex-direction: column; gap: .3rem; }
.side-nav a { display: flex; align-items: center; gap: .8rem; height: 44px; padding: 0 .9rem; border-radius: 12px; font-weight: 600; color: var(--text-2); transition: background .15s, color .15s; }
.side-nav a:hover { background: var(--card); color: var(--text); }
.side-nav a.active { background: var(--pill); color: var(--on-pill); box-shadow: 0 6px 14px rgba(0,0,0,.12); }
.side-group { display: flex; flex-direction: column; gap: .15rem; }
.side-label { display: flex; justify-content: space-between; align-items: center; font-size: .78rem; font-weight: 700; color: var(--muted); padding: 0 .9rem .4rem; text-transform: uppercase; letter-spacing: .06em; }
.side-label .count { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 0 .4rem; font-size: .7rem; }
.side-item { display: flex; align-items: center; gap: .7rem; padding: .5rem .9rem; border-radius: 10px; font-size: .88rem; font-weight: 600; color: var(--text-2); }
.side-item:hover { background: var(--card); }
.side-item .sq { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.side-item span:nth-child(2) { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-item .pct { font-size: .72rem; color: var(--muted); }
.promo { margin-top: auto; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 1.1rem; text-align: center; }
.promo-ic { width: 46px; height: 46px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin: 0 auto .7rem; }
.promo h3 { margin-bottom: .25rem; }
.promo p { font-size: .8rem; color: var(--muted); margin-bottom: .9rem; }
.side-user { display: flex; align-items: center; gap: .7rem; padding: .8rem .4rem 0; border-top: 1px solid var(--line); }
.side-user .who { flex: 1; min-width: 0; line-height: 1.25; }
.side-user .who b { display: block; font-size: .88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-user .who span { font-size: .75rem; color: var(--muted); }
.side-user .icon-btn { width: 36px; height: 36px; }

.scrim { display: none; }
.tabbar { display: none; }

/* Topbar */
.content { min-width: 0; display: flex; flex-direction: column; }
.topbar { display: flex; align-items: center; gap: 1rem; padding: 1.4rem 2rem 1.1rem; position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); }
.menu-btn { display: none; }
.top-title { flex: 1; min-width: 0; }
.top-title h1 { margin: 0; font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
.top-sub { color: var(--muted); font-size: .85rem; margin-top: .3rem; display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
.top-sub span { display: inline-flex; align-items: center; gap: .35rem; }
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem; font-size: .82rem; color: var(--muted); margin-bottom: .45rem; font-weight: 600; }
.crumbs a:hover { color: var(--text); }
.crumb-pill { background: var(--card); border: 1px solid var(--line); padding: .15rem .6rem; border-radius: 8px; color: var(--text-2); }
.top-actions { display: flex; align-items: center; gap: .6rem; }
.search { width: 260px; }
.search .input { height: 42px; background: var(--card); }
.main { padding: .4rem 2rem 3rem; flex: 1; }

/* Seções */
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 2rem 0 1rem; }
.section-head:first-child { margin-top: 0; }
.section-head h2 { margin: 0; }
.link-accent { color: var(--accent); font-weight: 700; display: inline-flex; align-items: center; gap: .3rem; }

/* Card de curso (referência 2) */
.course { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: .65rem; box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s, border-color .18s; }
.course:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(28,26,23,.1); border-color: var(--line-2); }
.course-body { padding: .9rem .45rem .2rem; flex: 1; }
.course-body h3 { margin-bottom: .3rem; }
.course-body p { margin-bottom: .8rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.course-meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .78rem; color: var(--text-2); font-weight: 600; }
.course-meta span { display: inline-flex; align-items: center; gap: .3rem; }
.course-meta .ic { color: var(--accent); }
.course-foot { display: flex; align-items: center; justify-content: space-between; gap: .8rem; border-top: 1px solid var(--line); margin: .9rem .45rem .35rem; padding-top: .8rem; }
.course-foot .bar { flex: 1; }
.course.is-locked .course-body h3 { color: var(--text-2); }

/* Dashboard */
.dash { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 1.5rem; align-items: start; }
.hero-card { display: grid; grid-template-columns: 300px 1fr; gap: 1.4rem; align-items: center; padding: .8rem; }
.hero-card .cover { aspect-ratio: 16/10; }
.hero-card .play { position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.92); color: #1c1a17; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0,0,0,.25); }
.hero-card .play .ic { fill: currentColor; stroke: none; margin-left: 3px; }
.hero-card .body { padding: .4rem .8rem .4rem 0; }
.kicker { font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: .5rem; display: block; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.5rem; }
.stat { display: flex; align-items: center; gap: .9rem; }
.stat-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; }
.stat-ic.ok { background: var(--ok-soft); color: var(--ok); }
.stat-ic.warn { background: var(--warn-soft); color: var(--warn); }
.stat b { display: block; font-size: 1.35rem; letter-spacing: -.02em; line-height: 1.1; }
.stat span { color: var(--muted); font-size: .8rem; font-weight: 600; }

.progress-card { display: flex; align-items: center; gap: 1rem; }
.progress-card .ring { --size: 72px; }
.progress-card h3 { margin-bottom: .2rem; }

/* Linha do tempo "Seu caminho" */
.path { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.path li { display: grid; grid-template-columns: 30px 1fr; gap: .8rem; position: relative; padding-bottom: 1.1rem; }
.path li:last-child { padding-bottom: 0; }
.path li::before { content: ''; position: absolute; left: 14px; top: 30px; bottom: 2px; width: 2px; background: var(--line); }
.path li:last-child::before { display: none; }
.path li.done::before { background: var(--ok); }
.path .node { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--line-2); background: var(--card); font-size: .78rem; font-weight: 800; color: var(--muted); }
.path li.done .node { background: var(--ok); border-color: var(--ok); color: #fff; }
.path li.now .node { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.path b { display: block; font-size: .9rem; }
.path span { font-size: .8rem; color: var(--muted); }

.radar-item { display: flex; gap: .8rem; align-items: flex-start; padding: .8rem 0; border-top: 1px solid var(--line); }
.radar-item:first-of-type { border-top: 0; padding-top: 0; }
.radar-item .dotc { width: 8px; height: 8px; border-radius: 50%; margin-top: .45rem; flex: none; }

/* Trilha (página de detalhe) */
.trail-hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.5rem; align-items: stretch; }
.trail-hero .cover { aspect-ratio: auto; min-height: 240px; height: 100%; }
.trail-hero .cover .flag { left: 1.4rem; bottom: 1.3rem; }
.trail-hero .cover .flag-img { width: 84px; height: 58px; border-radius: 12px; }
.mod { border: 1px solid var(--line); border-radius: 16px; background: var(--card); margin-bottom: .8rem; overflow: hidden; }
.mod summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 1rem; padding: 1rem 1.1rem; }
.mod summary::-webkit-details-marker { display: none; }
.mod summary .num { width: 38px; height: 38px; border-radius: 12px; background: var(--card-2); border: 1px solid var(--line); display: grid; place-items: center; font-weight: 800; font-size: .82rem; flex: none; }
.mod summary .t { flex: 1; min-width: 0; }
.mod summary .t b { display: block; }
.mod summary .t span { font-size: .8rem; color: var(--muted); }
.mod summary > .ic { transition: transform .2s; color: var(--muted); }
.mod[open] summary > .ic { transform: rotate(90deg); }
.mod ul { list-style: none; margin: 0; padding: 0 .6rem .6rem; }

/* Linha de aula (referência 1 e 3) */
.lesson { display: flex; align-items: center; gap: .9rem; padding: .75rem .8rem; border-radius: 12px; border: 1px solid transparent; transition: background .15s, border-color .15s; }
a.lesson:hover { background: var(--card-2); }
.lesson .n { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; font-size: .74rem; font-weight: 800; color: var(--muted); flex: none; }
.lesson.done .n { background: var(--ok); border-color: var(--ok); color: #fff; }
.lesson .t { flex: 1; min-width: 0; }
.lesson .t b { display: block; font-size: .9rem; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lesson .t span { font-size: .76rem; color: var(--muted); }
.lesson.done .t b { color: var(--muted); }
.lesson.current { border-color: var(--accent); background: var(--accent-soft); }
.lesson.current .n { border-color: var(--accent); color: var(--accent); }
.lesson.locked { opacity: .55; }

/* Tela da aula (referência 1) */
.lesson-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 1.5rem; align-items: start; }
.player { position: relative; aspect-ratio: 16/9; border-radius: 20px; overflow: hidden; background: #191a1f; color: #fff; isolation: isolate; }
.player::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 90% at 80% 10%, var(--c2, #d9534f) 0%, transparent 55%), radial-gradient(70% 80% at 0% 100%, var(--c3, #f3b562) 0%, transparent 60%), var(--c1, #23324f); opacity: .9; }
.player .center { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.player .big-play { width: 78px; height: 78px; border-radius: 50%; background: rgba(255,255,255,.95); color: #1c1a17; display: grid; place-items: center; margin: 0 auto .9rem; box-shadow: 0 16px 40px rgba(0,0,0,.35); border: 0; cursor: pointer; }
.player .big-play .ic { width: 28px; height: 28px; fill: currentColor; stroke: none; margin-left: 4px; }
.player .ph { font-weight: 700; opacity: .9; }
.player .controls { position: absolute; left: 1rem; right: 1rem; bottom: .9rem; display: flex; align-items: center; gap: .8rem; font-size: .78rem; font-weight: 700; }
.player .controls .track { flex: 1; height: 4px; background: rgba(255,255,255,.3); border-radius: 9px; position: relative; }
.player .controls .track i { position: absolute; left: 0; top: 0; bottom: 0; width: 0%; background: #fff; border-radius: 9px; }
.player .controls .pill { background: rgba(0,0,0,.35); padding: .2rem .5rem; border-radius: 6px; }
.concepts { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .8rem; }
.concept { display: flex; gap: .8rem; align-items: flex-start; background: var(--card-2); border: 1px solid var(--line); border-radius: 14px; padding: .9rem 1rem; font-size: .86rem; color: var(--text-2); }
.concept .ic { color: var(--ok); margin-top: .1rem; }
.lesson-side { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 1rem; }
.lesson-list { max-height: 60vh; overflow-y: auto; margin: 0 -.4rem; padding: 0 .4rem; display: flex; flex-direction: column; gap: .4rem; scrollbar-width: thin; }
.lesson-list .lesson { border-color: var(--line); background: var(--card); }
.lesson-list .lesson.current { border-color: var(--accent); background: var(--accent-soft); }
.lesson-list .mod-label { font-size: .72rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin: .6rem .2rem .1rem; }
.pager { display: flex; justify-content: space-between; gap: .8rem; margin-top: 1.5rem; }

/* Materiais */
.file { display: flex; flex-direction: column; gap: .9rem; }
.file-top { display: flex; align-items: center; gap: .9rem; }
.file-ic { width: 50px; height: 56px; border-radius: 12px; display: grid; place-items: center; font-size: .7rem; font-weight: 800; color: #fff; position: relative; flex: none; }
.file-ic.pdf { background: #d9534f; }
.file-ic.xlsx { background: #22a06b; }
.file-ic .ic { position: absolute; top: 8px; width: 18px; height: 18px; opacity: .9; }
.file-ic small { position: absolute; bottom: 8px; }

/* Plano de 1 página */
.plan-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.plan-grid .full { grid-column: 1 / -1; }
.plan-field { background: var(--card); border: 1px dashed var(--line-2); border-radius: 16px; padding: 1rem 1.1rem; }
.plan-field .label { display: flex; align-items: center; gap: .5rem; }
.plan-field .label .ic { color: var(--accent); }
.locked-banner { display: flex; gap: 1rem; align-items: center; background: var(--warn-soft); border: 1px solid transparent; color: var(--text); border-radius: 16px; padding: 1rem 1.2rem; margin-bottom: 1.4rem; }
.locked-banner .ic { color: var(--warn); }

/* Responsivo */
@media (max-width: 1180px) {
  .dash, .lesson-grid { grid-template-columns: 1fr; }
  .lesson-side { position: static; }
  .search { display: none; }
}
@media (max-width: 900px) {
  .frame { grid-template-columns: 1fr; margin: 0; border-radius: 0; border: 0; min-height: 100vh; }
  .side { position: fixed; inset: 0 auto 0 0; width: 280px; height: 100vh; z-index: 60; transform: translateX(-100%); transition: transform .25s; box-shadow: var(--shadow-lg); }
  .side-close { display: grid; }
  body.menu-open .side { transform: none; }
  .scrim { display: none; }
  body.menu-open .scrim { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 55; }
  .menu-btn { display: grid; }
  .topbar { padding: .8rem 16px 1rem; flex-wrap: wrap; gap: .6rem; position: static; }
  .top-actions { margin-left: auto; }
  .top-title { order: 3; flex-basis: 100%; }
  .top-actions .btn span { display: none; }
  .top-actions .btn { width: 42px; padding: 0; }
  .main { padding: .4rem 16px calc(88px + env(safe-area-inset-bottom)); }
  .tabbar {
    display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 50;
    background: color-mix(in srgb, var(--card) 92%, transparent); backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 20px; padding: 6px; box-shadow: var(--shadow-lg);
  }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: .45rem 0; border-radius: 14px; font-size: .7rem; font-weight: 700; color: var(--muted); }
  .tabbar a.active { background: var(--pill); color: var(--on-pill); }
  .hero-card, .trail-hero { grid-template-columns: 1fr; }
  .hero-card .body { padding: .2rem .4rem .6rem; }
  .stats { grid-template-columns: 1fr; }
  .plan-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .top-actions .btn span { display: none; }
  .top-actions { gap: .4rem; }
}

/* Player com vídeo real + overlay inicial */
.player.has-video::before { opacity: .45; }
.player video { width: 100%; height: 100%; display: block; object-fit: contain; background: #0f1116; }
.video-poster {
  position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; text-align: center; padding: 1.5rem;
  background: linear-gradient(180deg, rgba(16,18,24,.35) 0%, rgba(16,18,24,.78) 100%);
  transition: opacity .25s, visibility .25s;
}
.video-poster.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.video-poster small { display: block; margin-top: .35rem; font-size: .78rem; opacity: .8; }

.lesson-quickbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1rem;
  margin-top: .9rem; padding: .8rem 1rem; border-radius: 14px; background: var(--card); border: 1px solid var(--line);
}
.stack-sm { display: flex; flex-direction: column; gap: .6rem; }
.row.wrap { flex-wrap: wrap; }

/* Aula escrita estruturada */
.lesson-section { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.lesson-section h3 { margin: 0 0 .5rem; font-size: 1.05rem; }
.lesson-section h4 { margin: 0 0 .5rem; font-size: .95rem; }
.lesson-section p { margin: 0 0 .7rem; color: var(--text-2); line-height: 1.65; }
.lesson-section p:last-child { margin-bottom: 0; }

.lesson-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--card-2); margin-top: .4rem; }
.lesson-table { width: 100%; border-collapse: collapse; font-size: .86rem; text-align: left; }
.lesson-table th, .lesson-table td { padding: .7rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.lesson-table th { font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: var(--card); font-weight: 800; }
.lesson-table tr:last-child td { border-bottom: 0; }

.lesson-steps { margin: .4rem 0 0; padding-left: 1.25rem; display: flex; flex-direction: column; gap: .55rem; color: var(--text-2); line-height: 1.6; }
.lesson-bullets { margin: .4rem 0 0; padding-left: 1.2rem; display: flex; flex-direction: column; gap: .45rem; color: var(--text-2); line-height: 1.6; }

.lesson-checklist { display: flex; flex-direction: column; gap: .5rem; margin-top: .5rem; }
.chk-row {
  display: flex; align-items: flex-start; gap: .7rem; padding: .7rem .9rem; border-radius: 12px;
  background: var(--card-2); border: 1px solid var(--line); cursor: pointer; font-size: .88rem; color: var(--text-2);
}
.chk-row input { margin-top: .22rem; width: 16px; height: 16px; accent-color: var(--accent); flex: none; cursor: pointer; }
.chk-row:has(input:checked) span { text-decoration: line-through; color: var(--muted); }

.lesson-formula {
  padding: .9rem 1.1rem; border-radius: 14px; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  font-weight: 700; color: var(--text); line-height: 1.55; margin-top: .4rem;
}
.lesson-model {
  margin-top: .6rem; padding: 1rem 1.1rem; border-radius: 14px; background: var(--card-2); border: 1px dashed var(--line-2);
}
.lesson-model pre {
  margin: .6rem 0 0; white-space: pre-wrap; font-family: inherit; font-size: .86rem; color: var(--text-2); line-height: 1.6;
}
.lesson-callout {
  display: flex; gap: .75rem; align-items: flex-start; margin-top: 1.2rem; padding: .95rem 1.1rem;
  border-radius: 14px; background: var(--warn-soft); color: var(--text); font-size: .88rem; line-height: 1.55;
}
.lesson-callout .ic { color: var(--warn); flex: none; margin-top: .15rem; }
.lesson-task {
  display: flex; gap: .9rem; align-items: flex-start; margin-top: 1.4rem; padding: 1rem 1.15rem;
  border-radius: 16px; background: var(--ok-soft); border: 1px solid color-mix(in srgb, var(--ok) 25%, transparent);
}
.lesson-task-ic {
  width: 34px; height: 34px; border-radius: 10px; background: var(--ok); color: #fff;
  display: grid; place-items: center; flex: none;
}

/* Downloads & Fontes oficiais */
.dl-card { display: flex; align-items: center; gap: .9rem; padding: .9rem 1rem; border-radius: 14px; background: var(--card-2); border: 1px solid var(--line); }
.dl-card > div:nth-child(2) { flex: 1; min-width: 0; }
.dl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }

.source-card {
  display: flex; align-items: center; gap: .9rem; padding: .9rem 1rem; border-radius: 14px;
  background: var(--card-2); border: 1px solid var(--line); transition: border-color .15s, transform .15s;
}
.source-card:hover { border-color: var(--accent); transform: translateY(-1px); }
.source-card > div { flex: 1; min-width: 0; }
.source-ic { width: 38px; height: 38px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.source-url { display: block; font-size: .74rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Badges, filtro e lista de PDFs em Materiais */
.badge-tag {
  display: inline-block; font-size: .68rem; font-weight: 700; padding: .08rem .42rem; border-radius: 6px;
  background: var(--card-2); border: 1px solid var(--line); color: var(--text-2); margin-left: .25rem;
}
.badge-tag.accent { background: var(--accent-soft); border-color: transparent; color: var(--accent); }

.filter-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.filter-bar .search {
  display: flex; align-items: center; gap: .6rem; width: 100%; background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 0 .85rem; height: 42px; color: var(--muted);
}
.filter-bar .search input { border: 0; background: transparent; color: var(--text); width: 100%; font: inherit; font-size: .88rem; outline: none; }

.pdf-row {
  display: flex; align-items: center; justify-content: space-between; gap: .9rem; padding: .7rem .85rem;
  border-radius: 12px; border-top: 1px solid var(--line);
}
.pdf-row:first-child { border-top: 0; }
.pdf-row-info { display: flex; align-items: center; gap: .8rem; flex: 1; min-width: 0; }
.pdf-row-info .n {
  padding: .2rem .55rem; border-radius: 8px; background: var(--card-2); border: 1px solid var(--line);
  font-size: .74rem; font-weight: 800; color: var(--text-2); flex: none;
}
.pdf-row-info .t { min-width: 0; }
.pdf-row-info .t b { display: block; font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pdf-row-info .t span { font-size: .76rem; color: var(--muted); }

@media (max-width: 720px) {
  .dl-card, .pdf-row { flex-direction: column; align-items: stretch; }
  .dl-actions { justify-content: flex-start; }
}
