/* Índice expansível inspirado nas bibliotecas de componentes da referência. */
.senai-portal .study-index-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:14px}.study-index-head p{margin:0;color:var(--muted);font-size:14px}.study-index-head button{min-height:44px;border:1px solid var(--line);background:var(--panel);color:inherit;border-radius:6px;padding:8px 14px;font-size:12px;cursor:pointer}
.senai-portal .study-tree{display:block;border:1px solid var(--line);border-radius:8px;background:var(--panel);overflow:hidden}.study-tree details{margin:0}.study-tree summary{list-style:none;display:flex;align-items:center;gap:14px;min-height:64px;padding:16px 22px;cursor:pointer;user-select:none;border-bottom:1px solid var(--line);background:#e8edf2;color:#19364d}.study-tree summary::-webkit-details-marker{display:none}.study-tree summary::marker{content:''}.study-tree>.study-area:last-child:not([open])>summary,.study-tree>.study-group:last-child:not([open])>summary{border-bottom:0}.study-tree .tree-name{font-weight:700;font-size:16px;min-width:0}.study-tree .tree-count{margin-left:auto;font-size:12px;white-space:nowrap;color:#536b7f;font-weight:500}.tree-chevron{width:0;height:0;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:6px solid #718798;flex:none;transform-origin:3px 5px;transition:transform .15s}.study-tree details[open]>summary>.tree-chevron{transform:rotate(90deg)}.study-tree details[open]>summary{box-shadow:inset 4px 0 #e30613}.study-tree .tree-children{padding:0 0 0 24px;background:#f8fafc}.study-tree .tree-description{padding:14px 20px;margin:0;font-size:13px;color:#526c80;border-bottom:1px solid var(--line)}.study-tree .study-group>summary{min-height:52px;padding:12px 20px;background:#f0f4f7}.study-tree .study-group .tree-name{font-size:14px;font-weight:600}.study-tree .study-group[open]>summary{box-shadow:inset 3px 0 #7299b2}.senai-portal .study-leaf{min-height:52px;display:flex;align-items:center;gap:13px;padding:12px 22px;color:#244761;text-decoration:none;border-bottom:1px solid var(--line);background:#fff}.study-leaf .leaf-title{font-size:14px;line-height:1.4;min-width:0}.study-leaf .leaf-mark{font-size:17px;color:#ac1423;flex:none}.study-leaf .leaf-action{font-size:11px;color:#667e91;margin-left:auto;white-space:nowrap}.study-tree a:hover{background:#e6f0f7}.study-tree summary:hover{filter:brightness(.98)}.study-tree summary:focus-visible,.study-tree a:focus-visible{outline:3px solid #3996bd;outline-offset:-3px}.study-tree>.study-leaf:last-child{border-bottom:0}.senai-portal #cards.study-tree:empty{display:none}
html[data-theme=dark] .study-tree summary{background:#233646;color:#e6f0f7}html[data-theme=dark] .study-tree .tree-count{color:#afc4d4}html[data-theme=dark] .study-tree .tree-children{background:#122333}html[data-theme=dark] .study-tree .study-group>summary{background:#1b3041}html[data-theme=dark] .study-tree .tree-description{color:#adc4d4}html[data-theme=dark] .senai-portal .study-leaf{background:#152838;color:#d7e7f2}html[data-theme=dark] .study-leaf .leaf-mark{color:#ff8994}html[data-theme=dark] .study-leaf .leaf-action{color:#9fb9cc}html[data-theme=dark] .study-tree a:hover{background:#25485e}html[data-theme=dark] .tree-chevron{border-left-color:#a3bacb}
@media(max-width:600px){.senai-portal .study-index-head{align-items:flex-start;gap:12px}.study-index-head p{font-size:12px}.study-index-head button{font-size:11px;flex-shrink:0}.study-tree summary{min-height:60px;padding:14px;gap:10px}.study-tree .tree-name{font-size:14px}.study-tree .tree-count{font-size:10px}.study-tree .tree-children{padding-left:12px}.study-tree .tree-description{padding:12px;font-size:12px}.study-tree .study-group>summary{padding:12px;gap:9px}.study-tree .study-group .tree-name{font-size:13px}.senai-portal .study-leaf{padding:13px 12px;gap:8px;min-height:50px}.study-leaf .leaf-title{font-size:13px}.study-leaf .leaf-action{display:none}.senai-portal .section-head #areaTotals{font-size:9px;text-align:right}.tree-chevron{border-top-width:4px;border-bottom-width:4px;border-left-width:5px;transform-origin:2.5px 4px}}
@media(prefers-reduced-motion:reduce){.tree-chevron{transition:none}}
