/* help-videos.css - additions for the Help videos library and tutorial pages (W1, 2026-10-24).
   Loaded only by the generated /help/videos/ pages. styles.css is never modified; every selector here starts with .vh- or .vh-page. */
.vh-page{--vh-dark:#0f2a1c;--vh-cap:calc(100vh - 120px)}
@supports (height:100svh){.vh-page{--vh-cap:calc(100svh - 120px)}}
.vh-page .badge,.vh-page .breadcrumb,.vh-page .eyebrow{font-size:1rem}
.vh-page p,.vh-page li,.vh-page label,.vh-page input{font-size:1rem}
.vh-page .article-header h1{font-size:clamp(1.65rem,3.4vw,2.6rem);line-height:1.15;letter-spacing:-.02em}

.vh-page .hero{padding-bottom:12px}
.vh-page .hero+.section{padding-top:24px}

/* library: count line, topic chips, hide-toggle */
.vh-count{display:inline-block;margin:6px 0 0;padding:8px 16px;border-radius:999px;background:#fff;border:1px solid var(--line);font-weight:800;color:#26345f}
.vh-chips{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0 12px;padding:0}
.vh-chip{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:8px 14px;border:1px solid var(--line);border-radius:999px;background:#fff;color:#2b3040;font-weight:700;font-size:1rem}
.vh-chip:hover{background:var(--soft);color:var(--brand);text-decoration:none}
.vh-chip .vh-n{color:var(--muted);font-weight:700}
.vh-toggle{position:absolute;opacity:0;width:1px;height:1px;overflow:hidden}
.vh-toggle-label{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:8px 16px;margin:4px 0 14px;border:1px dashed #b8c3e6;border-radius:999px;background:#fff;font-weight:700;cursor:pointer}
.vh-toggle-label:before{content:"";flex:none;width:18px;height:18px;border:2px solid var(--brand);border-radius:5px;background:#fff}
.vh-toggle:checked+.vh-toggle-label:before{background:var(--brand);box-shadow:inset 0 0 0 3px #fff}
.vh-toggle:focus-visible+.vh-toggle-label{outline:3px solid #8ea5ff;outline-offset:2px}
.vh-toggle:checked~.vh-groups .vh-soon{display:none}
.vh-toggle:checked~.vh-groups .vh-group:not(:has(.vh-card)){display:none}
.vh-group{scroll-margin-top:92px}
.vh-module{margin:0 0 8px}
.vh-module-title{display:flex;flex-wrap:wrap;align-items:baseline;gap:10px;margin:18px 0 10px;font-size:1.3rem}
.vh-module-title .vh-n{color:var(--muted);font-size:1rem;font-weight:650}
.vh-soon-grid{margin-top:14px}

/* cards (published and "being prepared") */
.vh-card{display:flex;flex-direction:column;padding:0;overflow:hidden;color:inherit;transition:box-shadow .15s ease,transform .15s ease}
a.vh-card:hover{text-decoration:none;box-shadow:0 12px 28px rgba(20,26,48,.14);transform:translateY(-2px)}
a.vh-card:focus-visible{outline:3px solid #8ea5ff;outline-offset:2px}
.vh-thumb{position:relative;aspect-ratio:16/9;background:var(--vh-dark)}
.vh-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.vh-dur{position:absolute;right:10px;bottom:10px;padding:2px 9px;border-radius:8px;background:rgba(0,0,0,.8);color:#fff;font-weight:800;font-size:1rem;line-height:1.5;font-variant-numeric:tabular-nums}
.vh-card-body{display:flex;flex:1;flex-direction:column;gap:6px;padding:16px 20px 20px}
.vh-card h3{margin:0;font-size:1.15rem;line-height:1.3;color:var(--ink)}
.vh-card .vh-sum{margin:0;color:var(--muted);display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.vh-card .badge{align-self:flex-start;margin-top:auto}
.vh-soon{padding:22px;border-style:dashed;background:#fbfcff;box-shadow:none}
.vh-soon h3{margin:0 0 6px;font-size:1.15rem;line-height:1.3}
.vh-soon p{margin:.25rem 0 .75rem;color:var(--muted)}

/* tutorial page */
.vh-wrap{max-width:1160px;margin:0 auto;padding:28px 6vw 56px}
.vh-layout{display:grid;grid-template-columns:minmax(240px,420px) minmax(0,1fr);column-gap:28px;align-items:start}
.vh-layout>.article-header{grid-column:2;grid-row:1;margin-bottom:18px}
.vh-layout>.vh-player{grid-column:1;grid-row:1 / span 2}
.vh-layout>.vh-main{grid-column:2;grid-row:2}
.vh-player{margin:0;position:sticky;top:92px}
.vh-video{display:block;width:min(100%,420px,calc(var(--vh-cap) * 9 / 20));height:auto;aspect-ratio:9/20;margin:0 auto;background:var(--vh-dark);border-radius:20px;object-fit:contain;box-shadow:var(--shadow)}
.vh-dl{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 18px;margin:14px 0 0;font-weight:700}
.vh-dl a{display:inline-flex;align-items:center;min-height:44px}
.vh-main .article-section:first-child{margin-top:0}
.vh-steps{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.vh-steps li{display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:start;padding:12px 14px;border:1px solid #e6e9f2;border-radius:16px;background:#fbfcff}
.vh-ts{display:inline-flex;align-items:center;justify-content:center;min-width:64px;min-height:36px;padding:4px 10px;border:1px solid #c8d4ff;border-radius:999px;background:var(--soft);color:var(--brand);font-weight:800;font-size:1rem;font-variant-numeric:tabular-nums}
a.vh-ts:hover{background:#dfe8ff;text-decoration:none}
.vh-steps h4{margin:0;font-size:1.06rem;line-height:1.35}
.vh-details{margin:0;padding-left:1.4rem;display:grid;gap:8px}
.vh-steps p{margin:3px 0 0;color:var(--muted)}
.vh-context{color:var(--muted)}
.vh-dur-inline{margin-left:6px;color:var(--muted);font-weight:600}
.vh-actions{display:flex;flex-wrap:wrap;gap:12px}

@media (max-width:900px){
  .vh-layout{grid-template-columns:1fr}
  .vh-layout>.article-header,.vh-layout>.vh-player,.vh-layout>.vh-main{grid-column:1;grid-row:auto}
  .vh-player{position:static}
  .vh-layout>.vh-player{order:-1;margin-bottom:18px}
}
@media (max-width:720px){
  .vh-wrap{padding:18px 16px 40px}
  .vh-steps li{padding:10px 12px;gap:10px}
}
@media (prefers-reduced-motion:reduce){
  .vh-card{transition:none}
  a.vh-card:hover{transform:none}
}
