/* AKASHA Hub 6.0 — nova identidade editorial e navegação hierárquica.
 * Não modifica componentes médicos, quizzes, notas ou estado de autenticação.
 */
/* Identidade AKASHA: vermelho rubi profundo, marfim, dourado pontual e superfícies quentes. */
:root{--bg:#100d0e;--panel:#1b1416;--panel2:#281b1e;--text:#f7efe5;--muted:#c1afb0;--line:#423034;--accent:#a71926;--accent-soft:rgba(167,25,38,.14);--ok:#9ac5ab;--warn:#e4be83;--hub-wine:#a71926;--hub-red:#a71926;--hub-red-hover:#c62832;--hub-gold:#eed5b2;--hub-cream:#f7efe5;--hub-soft:#c1afb0;--hub-ink:#100d0e;--hub-line:#423034}
:root[data-theme="light"]{--bg:#f8f3ed;--panel:#fffdfa;--panel2:#f3eae6;--text:#2b1e25;--muted:#6c5b65;--line:#dfd0d5;--accent:#921722;--accent-soft:rgba(146,23,34,.10);--hub-wine:#921722;--hub-gold:#936b50;--hub-cream:#2b1e25;--hub-soft:#6c5b65;--hub-ink:#f8f3ed;--hub-line:#dfd0d5}
/* Evita conflito com regras históricas de largura da barra lateral. */
.layout,.layout.pinned{--sidebar:270px}
.layout:not(.pinned){--sidebar:76px}
.layout .sidebar,.layout.pinned .sidebar{width:var(--sidebar)!important;min-width:0}
.layout:not(.pinned) .sidebar:hover,.layout:not(.pinned) .sidebar:focus-within{width:var(--sidebar)!important}
.hub-sidebar{background:linear-gradient(155deg,#1a1213 0%,#171113 65%,#1b1215 100%)!important;border-right:1px solid var(--line)!important;color:var(--text);overflow:hidden;display:flex;flex-direction:column}
.hub-sidebar .hub-brand{height:94px;min-height:94px;padding:17px 17px 12px!important;justify-content:flex-start!important;flex:0 0 auto}
.hub-brand-link{display:flex;gap:13px;align-items:center;text-decoration:none;color:var(--text);min-width:0;width:100%}
.hub-brand-link:hover{color:var(--text)}
.hub-brand-link img{width:51px;height:51px;flex:0 0 51px;object-fit:contain;filter:drop-shadow(0 5px 15px rgba(167,25,38,.20))}
.hub-brand-copy{min-width:0;display:flex;align-items:center;line-height:1.15}
.hub-brand-copy strong{font:700 21px/1.2 Georgia,'Playfair Display',serif;letter-spacing:.13em;color:#f7efe5}
.hub-sidebar .hub-nav{padding:7px 12px 16px;gap:3px;align-content:start;min-height:0;overflow-y:auto;overflow-x:hidden;flex:1;scrollbar-width:thin;scrollbar-color:#654046 transparent}
.hub-sidebar .hub-navbtn{display:flex;align-items:center;min-width:0;gap:12px;font-weight:630;font-size:13px;white-space:nowrap;padding:11px 12px;min-height:44px;border:1px solid transparent;border-radius:10px;color:#c5b1b2;text-decoration:none}
.hub-sidebar .hub-navbtn .label{font-weight:630;overflow:hidden;text-overflow:ellipsis}
.hub-sidebar .hub-navbtn.active,.hub-sidebar .hub-navbtn:hover{background:#371b21;color:#f7efe5;border-color:#67333b}
.hub-sidebar .hub-navbtn.active .hub-icon{color:#e6a5a7}
.hub-icon{width:20px;height:20px;flex:0 0 20px;vertical-align:middle}
.hub-nav-label{font-size:9px;font-weight:800;letter-spacing:.18em;color:#b99094;padding:15px 12px 6px;white-space:nowrap}
.hub-side-divider{height:1px;background:#4a2a31;margin:15px 8px 3px;flex:0 0 auto}
.hub-case-tag{font:700 10px Inter,Arial,sans-serif;color:#e5c0bf;letter-spacing:.06em;margin:2px 11px 9px;white-space:nowrap}
.hub-sidebar .side-foot{flex:0 0 auto;padding:8px 12px 18px}
.hub-sidebar .side-note{justify-content:space-between;font-size:9px;letter-spacing:.04em;padding:10px;color:#b89da0}
.hub-sidebar .side-note>span:first-child{color:#e5b8ba}
.hub-sidebar .nav-separator{margin:3px 0 8px}
/* Modo recolhido: logotipo central e ícones íntegros. Sem palavras cortadas. */
.layout:not(.pinned) .hub-sidebar .hub-brand{padding:18px 10px 12px!important;justify-content:center!important}
.layout:not(.pinned) .hub-brand-link{justify-content:center}
.layout:not(.pinned) .hub-brand-copy{display:none}
.layout:not(.pinned) .hub-brand-link img{width:48px;height:48px;flex-basis:48px}
.layout:not(.pinned) .hub-sidebar .hub-nav{padding:6px 8px 12px}
.layout:not(.pinned) .hub-sidebar .hub-navbtn{padding:10px 0;justify-content:center;gap:0}
.layout:not(.pinned) .hub-sidebar .hub-navbtn .label,.layout:not(.pinned) .hub-nav-label,.layout:not(.pinned) .hub-case-tag,.layout:not(.pinned) .hub-side-divider,.layout:not(.pinned) .hub-sidebar .side-note{display:none!important}
.layout:not(.pinned) .hub-sidebar .side-foot{padding:7px 8px 16px}
/* Caminho no topo: os ancestrais são clicáveis; a tela atual é texto. */
.hub-topbar{background:color-mix(in srgb,var(--bg) 94%,transparent);border-color:var(--line)}
.hub-topbar .topbtn:has(.hub-icon){display:inline-flex;align-items:center;gap:6px}
.hub-topbar .topbtn .hub-icon{width:16px;height:16px;flex-basis:16px}
.hub-breadcrumb{display:flex;align-items:center;gap:8px;min-width:0;max-width:100%;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;white-space:nowrap;font-size:12px;flex:1}
.hub-breadcrumb::-webkit-scrollbar{display:none}
.hub-breadcrumb .hub-crumb-link{display:inline-flex;align-items:center;flex:0 0 auto;border:0;border-radius:6px;background:transparent;color:var(--muted);text-decoration:none;font:600 12px/1.4 Inter,Arial,sans-serif;padding:5px 6px;cursor:pointer;white-space:nowrap}
.hub-breadcrumb .hub-crumb-link:hover{color:var(--text);background:var(--panel2);text-decoration:none}
.hub-breadcrumb .hub-crumb-link:focus-visible{outline:2px solid var(--hub-gold);outline-offset:1px}
.hub-breadcrumb .hub-crumb-brand{font:700 15px/1.3 Georgia,'Playfair Display',serif;letter-spacing:.09em;color:var(--text);padding-left:0}
.hub-breadcrumb .hub-crumb-current{display:inline-block;color:var(--text);font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.hub-crumb-sep{color:var(--muted);opacity:.52;flex:0 0 auto}
/* Hero and editorial layout */
.hub-page{--hub-border:var(--hub-line);max-width:1470px;padding:clamp(24px,3.7vw,54px) clamp(18px,3.8vw,60px) 90px}
.hub-page h1,.hub-page h2,.hub-page h3{color:var(--text)}
.hub-page h1,.hub-page h2,.hub-page h3{font-family:Georgia,'Playfair Display',serif}
.hub-page h1{line-height:1.1;letter-spacing:-.04em}
.hub-page h2{font-size:clamp(26px,3vw,36px);line-height:1.2;letter-spacing:-.025em;margin:7px 0}
.hub-overline,.hub-eyebrow{font-family:Inter,Arial,sans-serif;font-size:10px;font-weight:800;letter-spacing:.19em;text-transform:uppercase;color:#d18e92}
.hub-hero{position:relative;overflow:hidden;min-height:390px;border:1px solid #613139;border-radius:23px;display:grid;grid-template-columns:minmax(0,1.18fr) minmax(270px,.82fr);align-items:stretch;background:radial-gradient(ellipse at 73% 29%,#45171d 0%,#25171a 47%,#171115 100%);box-shadow:0 22px 60px rgba(0,0,0,.17)}
.hub-hero:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,transparent 47%,rgba(17,6,14,.1)),radial-gradient(circle at 73% 25%,rgba(210,65,76,.12),transparent 38%)}
.hub-hero-content{position:relative;z-index:2;padding:clamp(31px,4.2vw,74px);align-self:center;color:#f7efe5}
.hub-hero-content .hub-overline{color:#edbfc1}
.hub-hero-content h1{max-width:680px;font-size:clamp(39px,5.8vw,78px);color:#f7efe5;margin:17px 0 21px}
.hub-hero-content h1 em{font-weight:500;color:#e6a5a7}
.hub-hero-content p{font-size:clamp(14px,1.5vw,17px);line-height:1.85;color:#e1cacc;max-width:570px;margin:0}
.hub-hero-cta{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:29px}
.hub-btn{display:inline-flex;justify-content:center;align-items:center;gap:14px;min-height:46px;padding:12px 19px;border:1px solid transparent;border-radius:10px;text-decoration:none;font-size:13px;font-weight:800;letter-spacing:.012em;white-space:normal;text-align:center}
.hub-btn:hover{transform:translateY(-1px);text-decoration:none}
.hub-btn-primary{color:#fff!important;background:#a71926;border-color:#c32b36;box-shadow:0 7px 21px rgba(112,24,59,.2)}
.hub-btn-primary:hover{background:#c62832}
.hub-btn-quiet{color:#f5dcdd!important;background:#ffffff0b;border-color:#ad728c73}
.hub-btn-quiet:hover{background:#ffffff17}
.hub-btn .hub-icon{width:17px;height:17px;flex-basis:17px}
.hub-hero-art{position:relative;min-height:360px;overflow:hidden;display:grid;place-items:center}
.hub-orbit{position:absolute;width:min(23vw,390px);aspect-ratio:1;border:1px solid rgba(242,192,210,.25);border-radius:50%;transform:rotate(-30deg) scaleX(.7)}
.hub-orbit-two{transform:rotate(44deg) scaleX(.7);width:min(28vw,460px);border-color:#e5b3b63b}
.hub-orbit-three{transform:rotate(85deg) scaleX(.62);width:min(19vw,310px);border-color:#dfb7ad48}
.hub-hero-glyph{font-size:clamp(95px,13vw,200px);font-family:Georgia,serif;color:#eed5b2;text-shadow:0 0 60px #d95a68a0,0 0 110px #b62d3b75;animation:hubGlow 6s ease-in-out infinite}
.hub-art-note{position:absolute;bottom:31px;right:28px;color:#d9a7ac;font:700 9px Inter,Arial,sans-serif;letter-spacing:.24em}
@keyframes hubGlow{0%,100%{transform:scale(.94);opacity:.75}50%{transform:scale(1.03);opacity:1}}
.hub-section{margin-top:55px}
.hub-section-title{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:21px}
.hub-section-title h2{margin:5px 0 0}
.hub-secondary-label{color:var(--muted);font-size:12px}
.hub-continuation{display:grid;grid-template-columns:minmax(200px,.42fr) minmax(0,.58fr);border:1px solid var(--line);border-radius:19px;overflow:hidden;background:var(--panel);max-width:1200px}
.hub-continuation-art{position:relative;overflow:hidden;min-height:285px;background:linear-gradient(140deg,#681f2a,#33191d 57%,#1b1416);display:grid;align-items:center;padding:29px;color:#fff}
.hub-continuation-art>span{position:absolute;top:25px;left:29px;font:700 11px Inter,sans-serif;letter-spacing:.18em;color:#ecd0ce}
.hub-pulse-wave{width:100%;margin:20px auto}
.hub-pulse-wave svg{display:block;width:100%;height:auto;max-height:150px}
.hub-pulse-wave path{fill:none;stroke:#e8a6a8;stroke-width:2.8;filter:drop-shadow(0 0 12px #f7afbb8f)}
.hub-continuation-copy{padding:clamp(27px,3.5vw,45px);display:flex;align-items:flex-start;flex-direction:column;justify-content:center;gap:10px}
.hub-continuation-copy h3{font-size:clamp(24px,3.2vw,37px);line-height:1.22;margin:4px 0 5px;max-width:670px}
.hub-continuation-copy p{color:var(--muted);font-size:14px;max-width:690px;line-height:1.8;margin:0 0 6px}
.hub-continuation-copy .hub-btn{margin-top:9px}
.hub-progress{width:100%;max-width:450px;display:grid;gap:5px}
.hub-progress span{color:var(--muted);font-size:11px}
.hub-progress-track{width:100%;height:5px;background:var(--line);border-radius:20px;overflow:hidden}
.hub-progress-track i{height:100%;background:#a71926;display:block}
.hub-action-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.hub-action-card{position:relative;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;gap:26px;min-height:250px;border:1px solid var(--line);background:var(--panel);border-radius:18px;padding:27px;text-decoration:none;color:var(--text);text-align:left;transition:transform .2s,border-color .2s,background .2s}
.hub-action-card:hover,.hub-shelf-card:hover,.hub-library-case:hover,.hub-path:hover{color:var(--text);border-color:#bc6570;transform:translateY(-3px);box-shadow:0 12px 36px rgba(0,0,0,.14)}
.hub-action-recall{background:linear-gradient(135deg,#321a20,#1c151c 75%)}
.hub-action-simulado{background:linear-gradient(135deg,#301c20,#1b1416 75%)}
.hub-action-library{background:linear-gradient(135deg,#2a1b1d,#1b1416 75%)}
.hub-card-symbol{width:45px;height:45px;border-radius:13px;border:1px solid #95627764;display:grid;place-items:center;background:#d58aa715;color:#dfa5a7}
.hub-card-symbol svg{width:24px;height:24px}
.hub-action-card h3{font-size:26px;margin:8px 0 8px}
.hub-action-card p{font-size:13px;line-height:1.65;color:#c8b3b7;margin:0;max-width:300px}
.hub-card-arrow{position:absolute;right:24px;top:28px;color:#ce8993}
.hub-card-arrow svg{width:18px;height:18px}
.hub-simple-link{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:700;color:var(--muted);border:0;background:none}
.hub-simple-link .hub-icon{width:15px;height:15px}
.hub-shelf{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.hub-shelf-card{display:grid;grid-template-columns:170px minmax(0,1fr);gap:18px;background:var(--panel);border:1px solid var(--line);border-radius:15px;overflow:hidden;text-decoration:none;text-align:left;color:var(--text);min-width:0;transition:transform .2s,border-color .2s}
.hub-shelf-image{min-height:160px;overflow:hidden;background:#e8dfd9}
.hub-shelf-image img{width:100%;height:100%;object-fit:cover}
.hub-shelf-info{padding:19px 18px 19px 0;align-self:center;min-width:0}
.hub-shelf-info span{font-size:10px;font-weight:800;color:#c47b86;letter-spacing:.1em}
.hub-shelf-info h3{font-size:24px;line-height:1.2;margin:6px 0}
.hub-shelf-info small{color:var(--muted);font-size:11px}
.hub-last{margin-bottom:50px}
/* Library */
.hub-heading{padding:22px 0 28px;border-bottom:1px solid var(--line)}
.hub-heading h1{font-size:clamp(49px,7vw,82px);margin:10px 0 16px}
.hub-heading p{color:var(--muted);max-width:750px;font-size:16px;line-height:1.85}
.hub-space-top{margin-top:46px}
.hub-semester-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.hub-semester{display:flex;flex-direction:column;align-items:flex-start;min-height:129px;text-align:left;gap:8px;padding:16px;border:1px solid var(--line);background:var(--panel);border-radius:13px;color:var(--text)}
.hub-semester:hover{border-color:#aa4759}
.hub-semester.selected{border-color:#a74352;background:color-mix(in srgb,#661f2c 22%,var(--panel))}
.hub-semester>span{font:600 28px Georgia,serif;color:#d69b9d;line-height:1}
.hub-semester b{font-size:12px}
.hub-semester small{font-size:10px;color:var(--muted);line-height:1.35}
.hub-library-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.hub-library-case{padding:0;display:flex;flex-direction:column;min-width:0;background:var(--panel);border:1px solid var(--line);border-radius:19px;overflow:hidden;color:var(--text);text-align:left;text-decoration:none;transition:transform .2s,border-color .2s}
.hub-library-visual{height:235px;overflow:hidden;background:#e3d9d4}
.hub-library-visual img{width:100%;height:100%;object-fit:cover}
.hub-library-info{padding:25px;display:flex;flex-direction:column;flex:1;gap:8px}
.hub-library-info h3{font-size:clamp(24px,3vw,34px);line-height:1.2;margin:1px 0 5px}
.hub-library-info p{font-size:13px;color:var(--muted);line-height:1.75;flex:1}
.hub-library-info>strong{display:flex;align-items:center;gap:9px;font-size:13px;color:var(--text);margin-top:6px}
.hub-library-info>strong svg{width:15px;height:15px}
.hub-case-meta{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:5px}
.hub-case-meta span{font-size:10px;border:1px solid var(--line);border-radius:30px;padding:5px 10px;color:var(--muted)}
.hub-empty{padding:60px 25px;display:flex;flex-direction:column;align-items:center;text-align:center;border:1px dashed var(--line);border-radius:19px;background:var(--panel);gap:15px}
.hub-empty>div:first-child .hub-icon{width:42px;height:42px;color:#b45767}
.hub-empty h3{font-size:25px;margin:0;max-width:600px}
.hub-empty p{color:var(--muted);max-width:610px;line-height:1.7;margin:0}
/* Case overview */
.hub-case-hero{background:linear-gradient(125deg,#28191c 0%,#1c151c 72%,#25171a 100%);border:1px solid #59242d;border-radius:23px;overflow:hidden;padding:clamp(25px,4vw,55px);color:#f3e5e4}
.hub-case-hero .hub-overline{color:#c58188}
.hub-case-hero-inner{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(250px,.75fr);gap:35px;align-items:center;padding-top:35px}
.hub-case-counter{font:700 11px Inter,Arial,sans-serif;color:#dab0b1;letter-spacing:.12em}
.hub-case-counter span{margin:0 8px;opacity:.5}
.hub-case-hero h1{font-size:clamp(39px,4.8vw,65px);color:#f7efe5;margin:16px 0 22px;max-width:820px}
.hub-case-hero p{font-size:15px;color:#d7bdc0;line-height:1.8;max-width:620px}
.hub-case-hero-art{border:1px solid #6c343f;border-radius:15px;overflow:hidden;background:#e6dfda;box-shadow:0 17px 60px #0005;transform:rotate(1.3deg)}
.hub-case-hero-art img{display:block;width:100%;height:280px;object-fit:cover}
.hub-metadata{display:flex;flex-wrap:wrap;gap:25px;border-bottom:1px solid var(--line);padding:24px 4px}
.hub-metadata>div{display:flex;flex-direction:column;gap:0;min-width:120px}
.hub-metadata strong{font:650 25px Georgia,serif}
.hub-metadata span{font-size:11px;color:var(--muted)}
.hub-path-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.hub-path{min-height:240px;display:flex;align-items:flex-start;flex-direction:column;gap:9px;background:var(--panel);border:1px solid var(--line);color:var(--text);padding:23px;border-radius:15px;text-align:left;position:relative;transition:transform .2s,border-color .2s}
.hub-path>.hub-icon{width:27px;height:27px;color:#c6838a}
.hub-path-n{position:absolute;right:22px;top:20px;color:#af747f;font:700 11px Inter,sans-serif;letter-spacing:.12em}
.hub-path h3{font-size:25px;margin:6px 0 0}
.hub-path p{color:var(--muted);font-size:12px;line-height:1.7;margin:0;flex:1}
.hub-path>span:last-child{display:flex;gap:8px;align-items:center;font-size:12px;font-weight:700}
.hub-path>span:last-child svg{width:15px;height:15px}
.hub-case-foot{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-top:35px;flex-wrap:wrap}
.hub-case-foot a{display:flex;align-items:center;gap:9px;text-decoration:none;color:var(--muted);font-size:12px;font-weight:700}
.hub-case-foot a svg{width:15px;height:15px}
.hub-osce{margin-top:24px;min-height:290px}
/* Recall global links */
.rc-global-links{display:grid;gap:6px;border-bottom:1px solid #473544;padding-bottom:15px;margin-bottom:14px}
.rc-global-links a{display:flex;align-items:center;gap:13px;border-radius:9px;color:#bcacb7;font-size:13px;font-weight:700;text-decoration:none;padding:11px 14px}
.rc-global-links a:hover{background:#431a22;color:#fff}
/* responsive */
@media(max-width:1160px){.hub-semester-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.hub-shelf-card{grid-template-columns:140px minmax(0,1fr)}.hub-hero{grid-template-columns:1fr .65fr}.hub-hero-art{min-height:320px}}
@media(max-width:900px){.hub-hero{grid-template-columns:1fr}.hub-hero-content{padding:37px}.hub-hero-art{min-height:130px;max-height:130px;opacity:.45}.hub-orbit{width:260px}.hub-orbit-two{width:290px}.hub-orbit-three{width:190px}.hub-hero-glyph{font-size:100px}.hub-continuation{grid-template-columns:1fr}.hub-continuation-art{min-height:160px}.hub-pulse-wave svg{max-height:115px}.hub-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hub-shelf{grid-template-columns:1fr}.hub-case-hero-inner{grid-template-columns:1fr}.hub-case-hero-art{max-height:220px}.hub-case-hero-art img{height:220px}.hub-path-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:750px){.layout,.layout.pinned,.layout:not(.pinned){--sidebar:268px}.hub-sidebar{width:268px;left:-285px}.layout.mobile-open .hub-sidebar{left:0}.hub-sidebar .hub-nav-label,.hub-sidebar .hub-case-tag{visibility:visible!important}.hub-page{padding:20px 16px 62px}.hub-hero{min-height:auto;border-radius:17px}.hub-hero-content{padding:31px 24px}.hub-hero-content h1{font-size:clamp(39px,9vw,54px)}.hub-hero-art{min-height:95px;max-height:95px}.hub-hero-cta .hub-btn{width:100%}.hub-art-note{display:none}.hub-section{margin-top:40px}.hub-section-title{align-items:flex-start}.hub-secondary-label{display:none}.hub-action-grid{grid-template-columns:1fr}.hub-action-card{min-height:205px}.hub-continuation-art{min-height:135px}.hub-continuation-copy{padding:24px}.hub-semester-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.hub-semester{min-height:115px;padding:12px}.hub-semester b{font-size:11px}.hub-semester small{font-size:9px}.hub-library-grid{grid-template-columns:1fr}.hub-library-visual{height:215px}.hub-heading h1{font-size:53px}.hub-case-hero{padding:25px 21px}.hub-case-hero-inner{gap:18px}.hub-case-hero h1{font-size:clamp(34px,8vw,49px)}.hub-case-hero-art{display:none}.hub-path-grid{grid-template-columns:1fr}.hub-path{min-height:175px}.hub-metadata{gap:17px}.hub-metadata>div{min-width:105px}.hub-breadcrumb{gap:5px}.hub-breadcrumb a,.hub-breadcrumb span:not(.crumb-brand):not(.hub-crumb-sep){display:none}.hub-breadcrumb .hub-crumb-sep:not(:first-of-type){display:none}.hub-shelf-card{grid-template-columns:125px minmax(0,1fr)}.hub-shelf-image{min-height:145px}.hub-shelf-info{padding:14px 11px 14px 0}.hub-shelf-info h3{font-size:20px}}
@media(max-width:420px){.hub-semester-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hub-shelf-card{grid-template-columns:106px minmax(0,1fr)}.hub-shelf-info span{font-size:9px}.hub-shelf-info h3{font-size:19px}.hub-hero-content h1{font-size:40px}}
@media(prefers-reduced-motion:reduce){.hub-hero-glyph{animation:none}.hub-action-card,.hub-shelf-card,.hub-library-case,.hub-path{transition:none}}
/* Light theme retains familiar surface variables and legibility. */
:root[data-theme="light"] .hub-action-card{background:#fff;color:#251923}
:root[data-theme="light"] .hub-action-card p{color:#645560}
:root[data-theme="light"] .hub-card-symbol{background:#eadce5;color:#872b39}
:root[data-theme="light"] .hub-action-card .hub-eyebrow{color:#a72c3a}
:root[data-theme="light"] .hub-sidebar{color:#fff}

/* AKASHA Hub 6.1: new clinical maps retained in case navigation */
.hub-map-entry{margin-top:16px}.hub-map-shortcut{width:100%;max-width:100%;text-align:left;display:grid;grid-template-columns:auto 1fr;column-gap:16px;align-items:center}.hub-map-shortcut .hub-path-n{grid-column:1/-1}.hub-map-shortcut .hub-icon{grid-row:2/5}.hub-map-shortcut h3,.hub-map-shortcut p{margin:0}.hub-map-shortcut>span:last-child{grid-column:2}@media(max-width:550px){.hub-map-shortcut{display:block}}

/* AKASHA 6.2 — correções de layout responsivo e identidade consistente. */
@media (max-width:750px){
 .layout,.layout.pinned,.layout:not(.pinned){display:block;--sidebar:270px}
 .layout .hub-sidebar,.layout.pinned .hub-sidebar,.layout:not(.pinned) .hub-sidebar{width:270px!important;min-width:270px;left:-286px;top:0;position:fixed;z-index:60;height:100dvh;box-shadow:none}
 .layout.mobile-open .hub-sidebar,.layout.mobile-open.pinned .hub-sidebar,.layout.mobile-open:not(.pinned) .hub-sidebar{left:0;box-shadow:0 0 0 100vmax rgba(0,0,0,.68)}
 .layout:not(.pinned) .hub-sidebar .hub-brand{padding:17px!important;justify-content:flex-start!important}
 .layout:not(.pinned) .hub-brand-link{justify-content:flex-start}
 .layout:not(.pinned) .hub-brand-copy,.layout:not(.pinned) .hub-nav-label,.layout:not(.pinned) .hub-case-tag,.layout:not(.pinned) .hub-side-divider,.layout:not(.pinned) .hub-sidebar .side-note{display:flex!important}
 .layout:not(.pinned) .hub-sidebar .hub-navbtn .label{display:inline!important}
 .layout:not(.pinned) .hub-sidebar .hub-nav{padding:7px 12px 16px}
 .layout:not(.pinned) .hub-sidebar .hub-navbtn{justify-content:flex-start;gap:12px;padding:11px 12px}
 .hub-breadcrumb{gap:4px;font-size:11px}
 .hub-breadcrumb .hub-crumb-link{font-size:11px;padding:5px 3px}
 .hub-breadcrumb .hub-crumb-brand{font-size:12px}
 .hub-topbar{gap:6px}
 .hub-topbar .topbtn{flex:0 0 auto}
}
/* Paleta compartilhada de botões e foco dos ambientes médicos. */
:root:not([data-theme="light"]) .hub-page .hub-action-card{color:var(--text)}
:root:not([data-theme="light"]) .hub-page .hub-overline{color:#dca0a5}
:root:not([data-theme="light"]) .hub-page .hub-eyebrow{color:#d9a0a1}
.hub-page button:focus-visible,.hub-page a:focus-visible{outline:2px solid var(--hub-gold);outline-offset:3px}
/* Cabeçalhos curtos continuam legíveis no celular; títulos longos usam rolagem horizontal. */
.hub-breadcrumb .hub-crumb-current{flex:0 0 auto;max-width:min(52vw,380px)}
@media(max-width:750px){.hub-breadcrumb .hub-crumb-current{max-width:44vw}}

/* O CSS legado escondia o título atual do caminho em telas pequenas. */
@media(max-width:750px){
 .hub-breadcrumb>.hub-crumb-link,.hub-breadcrumb>.hub-crumb-current{display:inline-flex!important}
 .hub-breadcrumb>.hub-crumb-sep{display:none!important}
 .hub-breadcrumb>a[href*="hub=library"]{display:none!important}
 .hub-breadcrumb.hub-at-overview>a[href*="semester=4"]{display:inline-flex!important}
 .hub-breadcrumb .hub-crumb-brand::after{content:'›';font:500 15px Inter,Arial,sans-serif;color:var(--muted);padding-left:8px}
 .hub-breadcrumb>.hub-crumb-current{min-width:min-content;max-width:38vw;line-height:1.2}
 .hub-breadcrumb>.hub-crumb-button{max-width:100px}
}
