:root{font-size:17px;--surface:#fff;--soft:#edf3e9;--accent-text:#305c3a;--popover:#fff;--on-primary:#fff}html{color-scheme:light}html[data-theme=dark]{color-scheme:dark;--ink:#eef5f3;--muted:#b9ccc6;--paper:#101b21;--white:#192a31;--surface:#192a31;--soft:#20352f;--line:#34484f;--green:#9bd5c3;--lime:#d7efa9;--accent-text:#c6e4c5;--popover:#21353e;--purple:#cab9ff;--shadow:0 12px 42px #0003}
body{font-size:17px}.topbar{gap:18px}.sidebar{width:304px;padding:25px 20px}.brand{flex-basis:265px}main,.footer{margin-left:304px}main{max-width:1800px}.nav-link{font-size:15px;line-height:1.5;padding:10px 12px}.nav-group summary{font-size:14px;letter-spacing:.4px}.role-switch{flex-wrap:wrap}.role-switch button{font-size:13px;min-height:40px}.home-link{font-size:15px}.reading-controls{display:flex;gap:7px;align-items:center}.reading-controls button{border:1px solid var(--line);background:var(--surface);border-radius:9px;padding:8px 11px;font-size:15px;min-height:42px;white-space:nowrap}.reading-controls button:hover{border-color:var(--green)}.system-link{white-space:nowrap}.profile-card.admin{background:var(--surface);color:var(--ink);border-color:var(--line)}.profile-card.admin p{color:var(--muted)}.profile-card.selected,.profile-card:hover{background:#203f3c;color:#fff;border-color:#6d9d87}.profile-card.selected p,.profile-card:hover p{color:#d1e2da}.profile-card.selected .tag{background:#d7efa9;color:#243e35}.profile-landing{padding:30px;border-radius:22px;background:var(--soft);margin-bottom:26px;display:flex;gap:24px;align-items:center}.profile-landing img{width:130px;flex:none}.profile-landing h1{font-size:40px;margin:12px 0}.profile-landing p{max-width:720px;margin-bottom:18px}.demo-banner{display:flex;align-items:center;gap:25px;padding:27px;border:1px solid var(--line);background:var(--soft);border-radius:20px;margin:32px 0}.demo-banner img{width:110px}.demo-banner h2{margin-bottom:8px}.demo-banner p{margin-bottom:16px}.demo-actions{display:flex;flex-wrap:wrap;gap:10px}.guide-companion{display:flex;align-items:center;gap:16px;padding:20px;border:1px solid var(--line);border-radius:14px;background:var(--soft);margin:25px 0}.guide-companion img{width:80px;flex:none}.guide-companion p{margin:4px 0 0}.screen-image{overflow:visible}.screen-card{overflow:visible}.hotspot{width:38px;height:38px;font-size:16px;z-index:2}.hotspot.active{background:#254b42}.screen-popover{position:absolute;z-index:6;width:min(360px,90%);background:var(--popover);color:var(--ink);border:2px solid var(--green);border-radius:17px;padding:20px;box-shadow:0 10px 45px #0005;max-height:65vh;overflow:auto}.screen-popover[hidden]{display:none}.screen-popover .guide-face{float:left;width:58px;margin:0 10px 7px 0}.screen-popover strong{display:block;font-size:17px;padding-right:24px;margin-bottom:8px}.screen-popover p{font-size:16px;line-height:1.7;margin:0}.bubble-close{position:absolute;right:7px;top:7px;border:0;background:var(--soft);color:var(--ink);border-radius:50%;width:29px;height:29px;font-size:22px}.screen-popover:before{content:'';position:absolute;top:-9px;left:var(--arrow-x,30px);width:14px;height:14px;background:var(--popover);border-left:2px solid var(--green);border-top:2px solid var(--green);transform:rotate(45deg)}.screen-image img{border-radius:0 0 8px 8px}.teaching{display:none}.screen-heading{border-radius:14px 14px 0 0}.mini-image img{aspect-ratio:auto;max-height:420px;object-fit:contain}.mini-image span{font-size:15px}.mini-gallery{grid-template-columns:1fr 1fr}.picture-step{margin:17px 0 0;background:var(--soft);border-radius:10px;padding:10px}.picture-step img{width:100%;max-height:360px;object-fit:contain;border-radius:6px}.picture-step figcaption{font-size:14px;padding:9px}.article-layout{grid-template-columns:minmax(0,1fr) 210px}.field-row{grid-template-columns:175px minmax(0,1fr)}.field-info p,.step-item p,.action-card p{font-size:17px;line-height:1.8}.step-item h3,.field-label,.action-card h3,.topic-card h3{font-size:18px}.article-head p,.hero p{font-size:18px}.article-nav{font-size:15px;gap:18px}.article-section>h2{font-size:27px}.primary,.secondary,.tool,.chip,.related-link{font-size:15px}.topic-card p,.profile-card p,.result-card p,.scenario p,.scenario-person p,.tip p,.example-card p{font-size:16px}.screen-heading,.screen-heading button{font-size:14px}.eyebrow{font-size:13px}.article-meta,.search-summary{font-size:14px}.required{font-size:11px}.field-info small,.field-info .example,.screen-caption{font-size:13px}.nav-group summary span{font-size:12px}.side-index a{font-size:14px}.side-index h3{font-size:12px}.side-index .small-example{font-size:14px}.search input{font-size:16px}.topic-card small,.profile-card>span:last-child{font-size:14px}.profile-card .tag{font-size:12px}.scenario-person a,.scenario-value,.journey-step{font-size:15px}.scenario-person small,.scenario-label{font-size:13px}.stats-row span{font-size:14px}.footer{font-size:12px}#imageDialog p{font-size:14px}#toast{font-size:16px}.field-group summary{font-size:17px}.field-group summary span{font-size:13px}
html[data-text=large] main{font-size:20px}html[data-text=large] main p,html[data-text=large] .field-info p,html[data-text=large] .step-item p,html[data-text=large] .action-card p{font-size:20px}html[data-text=large] .nav-link{font-size:17px}
html[data-theme=dark] .topbar{background:#101b21f5}html[data-theme=dark] :is(.sidebar,.topic-card,.profile-card,.journey,.step-item,.field-group,.action-card,.related-link,.result-card,.empty-state,.tool,.secondary,.screen-card,.screen-heading,.mini-image,.scenario-person,.noscript){background:var(--surface);border-color:var(--line);color:var(--ink)}html[data-theme=dark] :is(.search,.search:focus-within,.scenario,.route,.tip,.teaching,.search-help,.side-index .small-example,.field-info .example,.screen-caption,.scenario-value,.image-window,.scenario-tabs,.journey-progress,.dialog-head button){background:var(--soft);border-color:var(--line);color:var(--accent-text)}html[data-theme=dark] :is(.tip p,.route strong,.field-info p,.scenario-label,.scenario-person small,.breadcrumbs,.nav-link,.nav-group summary,.chip,.article-meta,.search-summary,.footer,.side-index a,.field-info small,.field-group summary span,.screen-heading span,.screen-caption,.topic-card small,.sidebar-note){color:var(--muted)}html[data-theme=dark] .article-nav{background:#101b21f5}html[data-theme=dark] .primary{background:#b9e4c1;color:#172c24;border-color:#b9e4c1}html[data-theme=dark] .chip.active,html[data-theme=dark] .nav-link.active{background:#304f43;color:#edfaef}html[data-theme=dark] .scenario-tabs button.active{background:#3c5547;color:white}html[data-theme=dark] .role-switch{background:#22353a}html[data-theme=dark] .role-switch button.active{background:#486052;color:white}html[data-theme=dark] .profile-card.selected,html[data-theme=dark] .profile-card:hover{background:#315344;color:#fff;border-color:#a1d9b6}html[data-theme=dark] .hero-badge{color:#213b2a}html[data-theme=dark] .example-card{background:#203c38}html[data-theme=dark] .brand-symbol{background:#d7efa9;color:#193c30}html[data-theme=dark] .brand-symbol span{color:#193c30}html[data-theme=dark] #imageDialog,html[data-theme=dark] #imageDialog .dialog-head{background:var(--surface);color:var(--ink)}html[data-theme=dark] .field-row{border-color:var(--line)}html[data-theme=dark] ::selection{background:#427157;color:#fff}html[data-theme=dark] #toast{background:#d7efa9;color:#183626}
@media(max-width:1150px){.brand{flex-basis:auto}.system-link{display:none}.sidebar{width:280px}main,.footer{margin-left:280px}.article-layout{grid-template-columns:1fr}.side-index{display:none}.field-row{grid-template-columns:150px 1fr}}
@media(max-width:850px){main,.footer{margin-left:0}.brand{font-size:15px}.reading-controls button{font-size:14px;padding:7px}.topbar{gap:10px}.article-layout{grid-template-columns:1fr}.profile-landing{padding:22px}.profile-landing img{width:90px}.profile-landing h1{font-size:32px}.sidebar{width:300px}.search{max-width:none}.mini-gallery{grid-template-columns:1fr}}
@media(max-width:580px){.reading-controls{order:2;margin-left:auto}.reading-controls button{min-height:34px;padding:5px 8px}.brand{font-size:13px}.brand-symbol{display:none}.menu-toggle{order:2;margin-left:0}.search{order:3}.profile-landing,.demo-banner{align-items:flex-start;gap:12px;padding:20px}.profile-landing img,.demo-banner img{width:58px}.profile-landing h1{font-size:29px}.demo-banner h2{font-size:23px}.screen-image{overflow:visible}.hotspot{width:30px;height:30px;font-size:13px}.screen-popover{width:92%;padding:15px}.screen-popover p{font-size:15px}.screen-popover .guide-face{width:45px}.field-row{grid-template-columns:1fr}.article-head p,.hero p{font-size:17px}.article-nav{font-size:14px;gap:13px}.topic-card p,.step-item p,.action-card p,.field-info p{font-size:16px}.guide-companion{gap:12px;padding:15px}.guide-companion img{width:55px}.demo-actions{margin-left:-70px;padding-top:8px}.screen-caption{font-size:12px}}
@media print{.reading-controls,.guide-companion,.demo-banner,.screen-popover{display:none!important}html[data-theme=dark]{--ink:#152f35;--muted:#607278;--paper:#fff;--surface:#fff;--soft:#edf3e9;--line:#ccc}main,.footer{margin-left:0}}
html[data-theme=dark] .search input::placeholder{color:#b9ccc6;opacity:1}html[data-theme=dark] :is(.role-tag,.tool.selected,.topic-card .icon,.step-number){background:#30493b;color:#d7efd5}html[data-theme=dark] .role-tag.morador{background:#403553;color:#dfd2ff}
.inline-picture{border:0;background:transparent;padding:0;width:100%;cursor:zoom-in}.screen-popover{overflow:visible;max-height:none}.screen-popover p{max-height:45vh;overflow:auto}.screen-popover.point-above:before{top:auto;bottom:-9px;border-left:0;border-top:0;border-right:2px solid var(--green);border-bottom:2px solid var(--green)}
@media(max-width:360px){.reading-controls #themeToggle{font-size:0;width:34px}.reading-controls #themeToggle:after{content:"☾";font-size:16px}.reading-controls #themeToggle[aria-pressed=true]:after{content:"☀"}.reading-controls button{padding:5px}.brand small{font-size:9px}.topbar{gap:8px}}
