/* Home (2026-11, quiet): one surface system, one point colour (--sh-accent from app-shell.css).
   Order of attention: continue learning → the three study areas → free tools → courses → report.
   No suit marks, no gradients, no illustrated icons: line icons on the same neutral cards as every
   other page. New class names (h26-*) keep older home layers out. */
html body.ac-home{background:var(--sh-bg)!important;color:var(--sh-text)}
.h26{box-sizing:border-box;max-width:var(--sh-page-max,1120px);margin:0 auto;padding:34px 40px 72px;font-family:var(--sh-font);color:var(--sh-text)}
.h26 *,.h26 *::before,.h26 *::after{box-sizing:border-box}
.h26 a{color:inherit;text-decoration:none}
.h26 svg{display:block}
.h26 :focus-visible{outline:2px solid var(--sh-accent);outline-offset:3px;border-radius:12px}
.h26 :is(strong,h1,h2,p,small,span){word-break:keep-all;overflow-wrap:anywhere}
.h26-arrow{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
.h26-kicker{display:block;font:700 12px/1.2 var(--sh-font);letter-spacing:-.1px;color:var(--sh-accent)!important;margin:0 0 8px}

/* ---------- page title ---------- */
.h26-page{margin:0 0 20px}
.h26-date{margin:0 0 4px!important;font-size:13px!important;font-weight:600;color:var(--sh-muted)!important}
html body .h26 .h26-page h1{margin:0;font-size:26px;line-height:1.25;font-weight:800;letter-spacing:-.6px;color:var(--sh-text)!important}

/* ---------- shared card surface ---------- */
.h26-classroom,.h26-reco,.h26-tile,.h26-row,.h26-course,.h26-report>summary{background:var(--sh-surface);border:1px solid var(--sh-line);box-shadow:var(--sh-shadow-card)}

/* ---------- board: focus card + three study areas ---------- */
.h26-board{display:flex;flex-direction:column;gap:12px}
.h26-focus{min-width:0}
.h26-classroom,.h26-reco{display:grid;padding:20px;border-radius:var(--sh-radius-xl)}
.h26-classroom:not([hidden])~.h26-reco{display:none}
.h26-classroom[hidden]{display:none}

/* member: continue card */
.h26-classroom-body{display:flex;align-items:center;gap:14px;min-width:0}
.h26-classroom-thumb{flex:none;width:112px;aspect-ratio:16/9;border-radius:12px;overflow:hidden;background:var(--sh-hover)}
.h26-classroom-thumb:has(img[hidden]){display:none}
.h26-classroom-cover{display:block;width:100%;height:100%;object-fit:cover}
.h26-classroom-copy{min-width:0}
html body .h26 .h26-classroom h2{margin:0 0 4px;font-size:18px;line-height:1.3;font-weight:800;letter-spacing:-.4px;color:var(--sh-text)!important}
html body .h26 .h26-classroom-lesson{margin:0;font-size:13.5px;line-height:1.5;color:var(--sh-muted)!important}
.h26-classroom-lesson[hidden]{display:none}
.h26-progress{display:flex;align-items:center;gap:12px;margin-top:16px}
.h26-progress[hidden]{display:none}
.h26-progress-track{position:relative;flex:1;height:6px;border-radius:99px;background:var(--sh-hover);overflow:hidden}
.h26-progress-track>i{position:absolute;inset:0 auto 0 0;width:0;border-radius:inherit;background:var(--sh-accent);transition:width .4s ease}
.h26-progress-text{flex:none;font:700 12.5px/1 var(--sh-font);font-variant-numeric:tabular-nums;color:var(--sh-muted)}
html body .h26 .h26-classroom-status{margin:8px 0 0;font-size:13.5px;line-height:1.5;color:var(--sh-muted)!important}
.h26-classroom-status:empty{display:none}
/* loading: a calm skeleton instead of a sentence that never resolves */
.h26-classroom[data-state="loading"] .h26-classroom-body,.h26-classroom[data-state="loading"] .h26-classroom-status{display:none}
.h26-classroom[data-state="loading"]::after{content:'';display:block;height:56px;margin:2px 0 0;border-radius:12px;background:var(--sh-hover);animation:h26-pulse 1.4s ease-in-out infinite}
.h26-classroom[data-state="loading"] :is(.h26-classroom-actions,.h26-progress){display:none}
@keyframes h26-pulse{50%{opacity:.55}}
.h26-classroom-actions,.h26-reco-actions{display:flex;gap:8px;margin-top:16px}
.h26-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:1;min-height:46px;padding:0 18px;border-radius:var(--sh-radius-md);border:0;font:750 15px/1 var(--sh-font);letter-spacing:-.2px;cursor:pointer;transition:opacity .2s,background .2s}
.h26-btn.primary{background:var(--sh-text);color:var(--sh-bg)!important}
.h26-btn.primary:hover{opacity:.88}
.h26-btn.ghost{background:var(--sh-hover);color:var(--sh-text)!important}
.h26-btn.ghost:hover{background:color-mix(in srgb,var(--sh-text) 10%,var(--sh-hover))}
.h26-btn[hidden]{display:none}

/* guest / no course: free lessons and the catalog */
.h26-reco{grid-template-columns:112px minmax(0,1fr);column-gap:14px;align-items:center}
.h26-reco-img{display:block;aspect-ratio:16/9;border-radius:12px;overflow:hidden;background:var(--sh-hover)}
.h26-reco-img img{display:block;width:100%;height:100%;object-fit:cover}
.h26-reco-copy{min-width:0}
html body .h26 .h26-reco h2{margin:0 0 4px;font-size:18px;line-height:1.3;font-weight:800;letter-spacing:-.4px;color:var(--sh-text)!important}
html body .h26 .h26-reco-sub{margin:0;font-size:13.5px;line-height:1.5;color:var(--sh-muted)!important}
.h26-reco-actions{grid-column:1/-1}

/* three study areas: same card, line icon, title, one line */
.h26-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.h26-tile{position:relative;display:flex;flex-direction:column;gap:14px;min-width:0;padding:18px;border-radius:var(--sh-radius-lg);color:var(--sh-text)!important;transition:border-color .2s,transform .2s}
a.h26-tile:hover{border-color:color-mix(in srgb,var(--sh-text) 22%,var(--sh-line))}
.h26-tile-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:var(--sh-accent-soft);color:var(--sh-accent)}
.h26-tile-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.h26-tile-copy{display:flex;flex-direction:column;gap:4px;min-width:0}
html body .h26 .h26-tile-copy strong{font-size:16px;line-height:1.25;font-weight:800;letter-spacing:-.3px;color:var(--sh-text)!important}
html body .h26 .h26-tile-copy small{font-size:12.5px;line-height:1.45;color:var(--sh-muted)!important}
.h26-tile-meta{position:absolute;top:18px;right:16px;font:700 11.5px/1 var(--sh-font);font-style:normal;color:var(--sh-accent)}
.h26-tile-meta[hidden]{display:none}

/* ---------- quiet sections ---------- */
.h26-section{margin-top:40px}
.h26-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px}
html body .h26 .h26-head h2{margin:0;font-size:18px;line-height:1.2;font-weight:800;letter-spacing:-.4px;color:var(--sh-text)!important}
.h26-more{display:inline-flex;align-items:center;gap:4px;font-size:13.5px;font-weight:700;color:var(--sh-muted)!important}
.h26-more .h26-arrow{width:16px;height:16px}
.h26-more:hover{color:var(--sh-text)!important}

/* training tools: neutral list rows with a small tinted icon */
.h26-rows{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.h26-row,.h26-report>summary{display:flex;align-items:center;gap:14px;min-width:0;padding:14px 16px;border-radius:var(--sh-radius-lg);color:var(--sh-text);transition:border-color .2s,background .2s}
.h26-row:hover{border-color:color-mix(in srgb,var(--sh-text) 22%,var(--sh-line))}
.h26-row:hover .h26-arrow{transform:translateX(3px);color:var(--sh-text)}
.h26-row .h26-arrow{color:var(--sh-muted)}
.h26-row-icon{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--sh-hover);color:var(--sh-text)}
.h26-row-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.h26-row.is-soon{box-shadow:none;background:transparent;border-style:dashed}
.h26-row.is-soon :is(.h26-row-icon,.h26-row-copy){opacity:.6}
.h26-soon{flex:none;padding:5px 9px;border-radius:99px;background:var(--sh-hover);font:700 11.5px/1 var(--sh-font);font-style:normal;color:var(--sh-muted)}
.h26-row-copy{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
html body .h26 .h26-row-copy strong{font-size:15px;font-weight:800;letter-spacing:-.3px;color:var(--sh-text)!important}
html body .h26 .h26-row-copy small{font-size:12.5px;color:var(--sh-muted)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* courses: compact thumbnail rows */
.h26-courses{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.h26-course{display:flex;align-items:center;gap:14px;min-width:0;padding:10px;border-radius:var(--sh-radius-lg);transition:border-color .2s}
.h26-course:hover{border-color:color-mix(in srgb,var(--sh-text) 22%,var(--sh-line))}
.h26-course-img{flex:none;width:112px;aspect-ratio:16/9;border-radius:12px;overflow:hidden;background:var(--sh-hover)}
.h26-course-img img{width:100%;height:100%;object-fit:cover}
.h26-course-copy{display:flex;flex-direction:column;gap:2px;min-width:0}
html body .h26 .h26-course-copy small{font-size:11.5px;font-weight:700;color:var(--sh-muted)!important}
html body .h26 .h26-course-copy strong{font-size:15px;font-weight:800;letter-spacing:-.3px;color:var(--sh-text)!important}
html body .h26 .h26-course-copy>span{font-size:12.5px;color:var(--sh-muted)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* report: collapsed behind one row */
.h26-report{margin-top:40px}
.h26-report>summary{list-style:none;cursor:pointer}
.h26-report>summary::-webkit-details-marker{display:none}
.h26-report>summary .h26-row-icon{background:var(--sh-accent-soft);color:var(--sh-accent)}
.h26-chev{width:20px;height:20px;flex:none;fill:none;stroke:var(--sh-muted);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
.h26-report[open]>summary .h26-chev{transform:rotate(180deg)}
.h26-report[open]>summary{border-radius:18px 18px 18px 18px;margin-bottom:16px}
html body.ac-home .h26 .home-learning{margin:0!important;padding:0!important;max-width:none!important;width:auto!important}
html body.ac-home .h26 .learning-head{display:none!important}
html body.ac-home .h26 :is(.learning-dashboard,.report-domains,.learning-next){border-radius:20px!important;border-color:var(--sh-line)!important}
html body.ac-home .ac-footer{max-width:1120px!important;margin:0 auto!important;padding-left:40px!important;padding-right:40px!important}

/* ---------- responsive ---------- */
@media (min-width:781px){
 /* wide: continue card reads left-to-right with a larger cover */
 .h26-classroom{grid-template-columns:minmax(0,1fr) auto;column-gap:24px;align-items:center;padding:22px 24px}
 .h26-classroom>.h26-kicker,.h26-classroom-body,.h26-progress,.h26-classroom-status{grid-column:1}
 .h26-classroom-actions{grid-column:2;grid-row:1/span 4;margin:0;min-width:180px;flex-direction:column}
 .h26-classroom-thumb{width:160px}
 .h26-reco{grid-template-columns:200px minmax(0,1fr) auto;column-gap:22px;padding:18px 22px 18px 18px}
 .h26-reco-actions{grid-column:3;margin:0;min-width:180px;flex-direction:column}
 .h26-tile{padding:20px;min-height:148px;justify-content:space-between}
}
@media (max-width:1079.98px){
 .h26{padding:24px 24px 72px}
 .h26-courses{grid-template-columns:1fr}
}
@media (max-width:780px){
 .h26{padding:16px 16px calc(112px + env(safe-area-inset-bottom,0px))}
 .h26-page{margin-bottom:16px}
 html body .h26 .h26-page h1{font-size:22px}
 .h26-date{font-size:12.5px!important}
 .h26-board{gap:10px}
 .h26-classroom,.h26-reco{padding:16px;border-radius:20px}
 .h26-reco{grid-template-columns:96px minmax(0,1fr)}
 .h26-classroom-thumb{width:96px;border-radius:10px}
 .h26-reco-img{border-radius:10px}
 html body .h26 :is(.h26-classroom h2,.h26-reco h2){font-size:16px}
 html body .h26 :is(.h26-classroom-lesson,.h26-reco-sub){font-size:13px}
 .h26-classroom-actions,.h26-reco-actions{margin-top:14px}
 .h26-btn{min-height:44px;font-size:14.5px}
 .h26-tiles{gap:8px}
 .h26-tile{gap:12px;padding:14px 12px;border-radius:16px}
 .h26-tile-icon{width:32px;height:32px;border-radius:10px}
 .h26-tile-icon svg{width:18px;height:18px}
 html body .h26 .h26-tile-copy strong{font-size:15px}
 html body .h26 .h26-tile-copy small{font-size:11.5px}
 .h26-tile-meta{position:static;order:3;margin-top:-4px;font-size:11.5px}
 .h26-section,.h26-report{margin-top:28px}
 .h26-rows,.h26-courses{grid-template-columns:1fr;gap:8px}
 .h26-row,.h26-report>summary{padding:12px 14px;border-radius:16px}
 .h26-course{padding:8px;border-radius:16px}
 .h26-course-img{width:96px}
 html body.ac-home .ac-footer{padding-left:16px!important;padding-right:16px!important;padding-bottom:110px!important}
}
@media (prefers-reduced-motion:reduce){.h26 *,.h26 *::after{transition:none!important;animation:none!important}}
