/* portal_teacher_hub.html — extracted page CSS (Session 18, Phase A) */

/* --- block 1 of 1 --- */
:root{--bg:#f3f4f6;--card:#fff;--text:#1f2937;--muted:#6b7280;--border:#e5e7eb;
--blue:#1e40af;--bluebg:#eff6ff;--good:#15803d;--warn:#b45309;--red:#b91c1c}
*{box-sizing:border-box}html,body{margin:0;padding:0}
body{font-family:-apple-system,"Segoe UI",Roboto,sans-serif;background:var(--bg);
color:var(--text);font-size:15px;line-height:1.55;padding:1rem 1rem 4rem}
.skip{position:absolute;left:-9999px;top:0;background:#fff;padding:.5rem 1rem;z-index:100}
.skip:focus{left:0}

.hero{background:#fff;border-left:6px solid var(--blue);padding:1.1rem 1.3rem;
border-radius:6px;margin-bottom:1.2rem;box-shadow:0 1px 3px rgba(0,0,0,.05)}
.hero h1{margin:0 0 .3rem;font-size:1.3rem;color:var(--blue)}
.hero p{margin:.2rem 0;font-size:.92rem;color:var(--muted)}
.hub{background:#fff;border:1px solid var(--border);border-radius:8px;
margin-bottom:1rem;overflow:hidden}
.hub-h{display:flex;align-items:center;gap:.7rem;padding:1rem 1.2rem;
background:linear-gradient(180deg,#fafbfc 0%,#fff 100%);border-bottom:1px solid var(--border)}
.hub-h .icon{font-size:1.6rem;line-height:1}
.hub-h .meta{flex:1}
.hub-h .title{margin:0;font-size:1.05rem;color:var(--blue);font-weight:600}
.hub-h .summary{margin:.15rem 0 0;font-size:.85rem;color:var(--muted)}
.hub-body{padding:.4rem 0}
.item{display:flex;align-items:center;gap:.8rem;padding:.85rem 1.2rem;
text-decoration:none;color:var(--text);border-bottom:1px solid var(--border);
transition:background .1s ease}
.item:last-child{border-bottom:none}
.item:hover{background:var(--bluebg)}
.item:focus{outline:3px solid var(--blue);outline-offset:-3px;background:var(--bluebg)}
.item .num{display:inline-flex;align-items:center;justify-content:center;
min-width:1.6rem;height:1.6rem;border-radius:50%;background:var(--bluebg);
color:var(--blue);font-size:.8rem;font-weight:600;flex-shrink:0}
.item .body{flex:1}
.item .label{font-weight:600;color:var(--blue);font-size:.98rem}
.item .desc{font-size:.83rem;color:var(--muted);margin-top:.1rem}
.item .arrow{color:var(--muted);font-size:1.1rem}
details.more{border-top:1px solid var(--border);background:#fafbfc}
details.more summary{padding:.75rem 1.2rem;cursor:pointer;font-size:.85rem;
color:var(--blue);font-weight:600;list-style:none;display:flex;
align-items:center;justify-content:space-between}
details.more summary::-webkit-details-marker{display:none}
details.more summary::after{content:"\25BE";color:var(--muted);transition:transform .15s ease}
details.more[open] summary::after{transform:rotate(180deg)}
details.more summary:hover{background:var(--bluebg)}
details.more .item{background:#fff;border-bottom:1px solid var(--border)}
details.more .item:last-child{border-bottom:none}
.foot{margin-top:2rem;padding-top:1rem;border-top:1px solid var(--border);
font-size:.85rem;color:var(--muted);text-align:center}
@media(max-width:600px){.hub-h{padding:.85rem 1rem}.item{padding:.8rem 1rem}}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
