@font-face{font-family:'DM Sans';src:url('fonts/dm-sans.woff2') format('woff2');font-weight:100 1000;font-style:normal;font-display:swap}
@font-face{font-family:'Barlow Condensed';src:url('fonts/barlow-condensed-600.woff2') format('woff2');font-weight:600;font-display:swap}
@font-face{font-family:'Barlow Condensed';src:url('fonts/barlow-condensed-700.woff2') format('woff2');font-weight:700;font-display:swap}
:root{
    color-scheme:dark;
    --bg:#191a18; --sidebar:#111310; --surface:#20221f; --line:#353732; --text:#f3f2ea;
    --muted:#aaa9a3; --accent:#e8b565; --accent-high:#f7cb82; --control:#292b26;
    --font:'DM Sans',Arial,sans-serif; --display:'Barlow Condensed','Arial Narrow',sans-serif;
    --rail:237px; --gutter:clamp(24px,3.35vw,60px);
}
*,*::before,*::after{box-sizing:border-box}
html,body{margin:0;min-height:100%;background:var(--bg);color:var(--text);font-family:var(--font);font-size:16px}
body{line-height:1.5;scrollbar-color:#55574d var(--bg);caret-color:var(--accent)}
::selection{background:#e8b565;color:#17170f}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit}
button{cursor:pointer}
button:disabled{cursor:not-allowed;opacity:.55}
:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.icon{display:inline-block;flex:none;vertical-align:middle}
.skip{position:fixed;top:8px;left:8px;z-index:50;background:var(--accent);color:#151512;padding:10px 15px;border-radius:5px;transform:translateY(-140%)}
.skip:focus{transform:none}
.sidebar{position:fixed;inset:0 auto 0 0;width:var(--rail);background:var(--sidebar);border-right:1px solid #2c2e28;display:flex;flex-direction:column;z-index:20}
.sidebar-head{height:105px;display:flex;align-items:center;padding:0 27px}
.brand-link{display:block}
.brand-link img{width:175px;height:auto}
.sidebar-nav{padding:14px 14px 20px;display:flex;flex:1;flex-direction:column;gap:5px;overflow-y:auto}
.nav-item{position:relative;display:flex;align-items:center;gap:13px;min-height:45px;padding:10px 16px;color:#bebfb6;font-size:.94rem;font-weight:500;border-radius:7px;transition:background .17s,color .17s}
.nav-item .icon{color:#999e91;width:19px;height:19px}
.nav-item:hover,.account-link:hover{color:var(--text);background:#20231d}
.nav-item.is-current{color:#f2c47f;background:#302a1f}
.nav-item.is-current .icon{color:var(--accent)}
.nav-divider{height:1px;background:#2e3029;margin:14px 13px}
.account{margin:0 14px;padding:15px 0 18px;border-top:1px solid #30322b;display:flex;align-items:center;gap:11px}
.account-link{width:100%;border-radius:7px;display:flex;align-items:center;gap:11px;padding:8px 6px}
.account-link>.icon,.account>form{margin-left:auto;color:#adafa4}
.account-avatar{width:37px;height:37px;border:1px solid #47483d;background:#25271f;border-radius:50%;display:grid;place-items:center;flex:none;font-size:1rem;font-weight:650;color:#d3cdb6}
.account-copy{min-width:0;display:flex;flex-direction:column;line-height:1.45}
.account-copy>span{font-size:.9rem;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.account-copy small{font-size:.8rem;color:var(--muted)}
.workspace{margin-left:var(--rail);min-width:0}
.topbar{height:72px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 var(--gutter);border-bottom:1px solid var(--line)}
.topbar-leading,.breadcrumbs{display:flex;gap:12px;align-items:center;min-width:0}
.breadcrumbs{font-size:.875rem;gap:10px;color:#b2b3a9}
.breadcrumbs a{white-space:nowrap}
.breadcrumbs .desktop-crumb{font-weight:400;color:inherit}
.mobile-brand{display:none}
.breadcrumbs a:hover{color:var(--accent)}
.breadcrumbs .icon{color:#74786e}
.breadcrumbs span{font-weight:550;color:#e7e8de;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.search-trigger{display:flex;align-items:center;gap:10px;height:35px;border:1px solid #3b3d35;background:#21231e;color:#c0c2b6;font-family:inherit;border-radius:7px;padding:0 8px 0 11px;font-size:.825rem;white-space:nowrap}
.search-trigger:hover,.icon-button:hover{background:#30322b;color:var(--text)}
.search-trigger kbd{background:#292b25;color:#b2b3a7;border:1px solid #42443a;border-radius:4px;padding:1px 5px;font:500 .7rem var(--font);margin-left:9px}
.icon-button{background:transparent;border:0;color:var(--muted);width:36px;height:36px;display:inline-grid;place-items:center;border-radius:6px}
.menu-toggle,.drawer-close,#drawer-scrim{display:none}
.main{max-width:1590px;padding:30px var(--gutter) 48px;margin:0 auto;outline:none}
.button,.button-quiet{min-height:42px;display:inline-flex;justify-content:center;align-items:center;gap:9px;border-radius:6px;padding:9px 15px;font-size:.9rem;font-weight:650;line-height:1.35;text-align:center;transition:background .16s,border-color .16s;color:var(--text);text-decoration:none}
.button{color:#211b12;background:var(--accent);border:1px solid var(--accent)}
.button:hover{background:var(--accent-high);border-color:var(--accent-high)}
.button-quiet{border:1px solid #494b42;background:var(--control);color:var(--text)}
.button-quiet:hover{background:#35382f;border-color:#646658}
.page-heading{font-family:var(--display);font-weight:600;font-size:3rem;line-height:1.07;letter-spacing:-.016em;margin:0 0 8px}
.page-description{color:var(--muted);margin:0;line-height:1.6;max-width:68ch}
.panel{background:var(--surface);border:1px solid var(--line);border-radius:12px}
.status-message{display:flex;align-items:center;gap:10px;color:#e4e5cf;background:#2b3127;border:1px solid #515841;border-radius:8px;padding:12px 16px;margin:0 0 20px}
.hero{isolation:isolate;position:relative;overflow:hidden;border-radius:12px;background:#101310;min-height:318px;border:1px solid #3d3d31;display:flex;align-items:center}
.hero-photo{position:absolute;inset:0 0 0 31%;z-index:-2;background-image:url('brand/vitor-estudio.webp');background-size:cover;background-position:50% 34%;filter:saturate(.62) contrast(1.02)}
.hero:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#101310 4%,#111410 26%,rgba(17,20,16,.92) 35%,rgba(17,20,16,.53) 46%,rgba(17,20,16,.04) 63%,transparent 79%),linear-gradient(0deg,rgba(10,12,9,.62),transparent 28%)}
.hero-content{padding:31px 38px 33px;width:54%;min-width:340px}
.hero h1{font:600 4.15rem/.92 var(--display);letter-spacing:-.026em;margin:0;color:var(--text)}
.hero h1 em{font-style:normal;color:var(--accent)}
.hero-content p{max-width:35ch;color:#d0d1c7;font-size:.96rem;line-height:1.5;margin:16px 0 20px;overflow-wrap:anywhere}
.hero-focus{position:absolute;inset:13% 15% 29% 56%;pointer-events:none;--mark:rgba(238,209,153,.52)}
.hero-focus i{width:12px;height:12px;position:absolute;border-style:solid;border-color:var(--mark);border-width:0}
.hero-focus i:nth-child(1){top:0;left:0;border-top-width:1px;border-left-width:1px}
.hero-focus i:nth-child(2){top:0;right:0;border-top-width:1px;border-right-width:1px}
.hero-focus i:nth-child(3){bottom:0;left:0;border-bottom-width:1px;border-left-width:1px}
.hero-focus i:nth-child(4){bottom:0;right:0;border-bottom-width:1px;border-right-width:1px}
.hero-credit{position:absolute;right:22px;bottom:15px;font-weight:500;font-size:.75rem;color:#e1e0d4;display:flex;gap:8px;align-items:center;text-shadow:0 1px 5px #000}
.hero-credit span{width:22px;height:1px;background:var(--accent)}
.home-section{margin-top:29px}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}
.section-heading h2,.search-dialog h2{font:600 2rem/1.16 var(--display);letter-spacing:-.014em;margin:0}
.study-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.study-link{border:1px solid #3b3d36;border-radius:9px;overflow:hidden;background:var(--surface);display:flex;flex-direction:column;transition:border-color .2s,background .2s}
.study-link:hover{border-color:#807050;background:#272923}
.study-art{height:clamp(94px,8.35vw,139px);position:relative;overflow:hidden;background:#33332d}
.study-art img{width:100%;height:100%;object-fit:cover;transition:transform .25s ease-out}
.study-link:hover img{transform:scale(1.035)}
.study-art:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,rgba(24,26,22,.23),transparent 48%);pointer-events:none}
.art-0 img{filter:grayscale(.75) sepia(.15) brightness(.87);object-position:center 48%}
.art-1 img{object-position:center 55%}
.art-2 img{object-position:center 50%}
.tile-content{padding:14px 18px 13px}
.tile-title,.tile-detail{display:flex;align-items:center}
.tile-title{gap:10px}
.tile-title .icon{color:var(--accent)}
.tile-title h3{margin:0;font:600 1.48rem/1.13 var(--display);letter-spacing:.002em}
.tile-detail{justify-content:space-between;gap:10px;color:#b7b9ae;font-size:.825rem;line-height:1.45;margin-top:5px}
.tile-detail .icon{color:#a3a697}
.section-link{display:inline-flex;align-items:center;gap:4px;color:var(--accent);font-size:.85rem;font-weight:550}
.section-link:hover{text-decoration:underline;text-underline-offset:3px}
.progress-summary{display:grid;grid-template-columns:minmax(235px,.85fr) minmax(0,1.5fr);align-items:center;gap:28px;padding:19px 23px;border:1px solid var(--line);border-radius:9px;background:var(--surface)}
.progress-figure{display:flex;align-items:center;gap:13px}
.progress-symbol{display:grid;place-items:center;width:42px;height:42px;background:#322e23;color:var(--accent);border-radius:9px}
.progress-figure strong,.progress-figure small{display:block;line-height:1.35}
.progress-figure strong{font-size:1.1rem;font-weight:650}
.progress-figure strong span{color:#b4b5ab;font-size:.85rem;font-weight:400}
.progress-figure small,.home-meter span{color:#b4b5ab;font-size:.8125rem}
.home-meter div{display:flex;justify-content:space-between;align-items:center;margin-bottom:7px}
.home-meter strong{font-weight:600;font-size:.85rem}
.home-meter progress{display:block;width:100%;height:5px;appearance:none;overflow:hidden;border:none;border-radius:3px;background:#414438;color:var(--accent)}
.home-meter progress::-webkit-progress-bar{background:#414438}
.home-meter progress::-webkit-progress-value{background:var(--accent)}
.home-meter progress::-moz-progress-bar{background:var(--accent)}
.search-dialog{color:var(--text);background:#20221e;border:1px solid #4c4e42;padding:22px;border-radius:12px;width:min(480px,calc(100vw - 32px));max-height:75vh;margin:15vh auto auto}
.search-dialog::backdrop{background:rgb(0 0 0/.66)}
.search-dialog-head,.search-input,.search-results a{display:flex;align-items:center;justify-content:space-between;gap:10px}
.search-dialog h2{font-size:1.7rem}
.search-input{justify-content:flex-start;margin:12px 0;background:var(--sidebar);border:1px solid #55574b;color:var(--muted);border-radius:7px;padding:0 12px}
.search-input:focus-within{outline:2px solid var(--accent);outline-offset:1px}
.search-input input{padding:12px 0;border:0;outline:0;background:transparent;color:var(--text);font-size:.92rem;width:100%;min-width:0}
.search-count{font-size:.8rem;color:var(--muted);margin:14px 0 6px}
.search-results{max-height:42vh;overflow:auto}
.search-results a{padding:9px;border-radius:5px}
.search-results a:focus-visible{outline-offset:-2px}
.search-results a:hover{background:#30332a}
.search-results small{color:var(--muted)}
@media(min-width:1600px){.hero{min-height:370px}.hero-content{padding-left:48px}.hero h1{font-size:4.75rem}}
@media(max-width:1080px){:root{--rail:206px;--gutter:24px}.sidebar-head{padding:0 22px}.brand-link img{width:160px}.hero-content{padding:29px}.hero{min-height:303px}.study-links{gap:12px}.tile-content{padding:12px}.progress-summary{grid-template-columns:1fr 1.2fr}}
@media(max-width:800px){
    :root{--gutter:22px;--rail:min(274px,86vw)}
    .sidebar{transform:translateX(-105%);transition:transform .2s ease-out}
    .sidebar.drawer-open{transform:translateX(0)}
    .sidebar-head{height:82px;justify-content:space-between;padding:0 17px}
    .menu-toggle,.drawer-close{display:inline-grid}
    #drawer-scrim:not([hidden]){display:block;position:fixed;inset:0;z-index:18;background:rgb(0 0 0/.59);border:0}
    .drawer-visible{overflow:hidden}
    .workspace{margin-left:0}
    .topbar{height:62px;padding-left:calc(var(--gutter) - 6px)}
    .topbar-leading{gap:4px}
    .mobile-brand{display:block;width:112px;height:auto}
    .desktop-crumb{display:none}
    .main{padding-top:22px}
    .hero{min-height:290px}
    .study-art{height:104px}
}
@media(max-width:580px){
    :root{--gutter:16px}
    .main{padding-top:15px}
    .breadcrumbs{gap:5px;font-size:.8rem}
    .search-trigger{width:38px;height:38px;justify-content:center;padding:0;border-color:transparent;background:transparent}
    .search-trigger .icon{width:20px;height:20px}
    .search-trigger span,.search-trigger kbd{display:none}
    .topbar{gap:5px}
    .hero{min-height:310px;align-items:flex-end}
    .hero-photo{inset:0 0 0 11%;background-size:auto 100%;background-repeat:no-repeat;background-position:16% top}
    .hero:before{background:linear-gradient(90deg,rgba(15,18,14,.96) 0%,rgba(15,18,14,.82) 32%,rgba(15,18,14,.25) 68%,rgba(15,18,14,.08)),linear-gradient(0deg,rgba(12,14,11,.94),rgba(12,14,11,.5) 28%,transparent 56%)}
    .hero-content{min-width:0;width:85%;padding:25px 19px 21px}
    .hero h1{font-size:3.3rem}
    .hero-content p{font-size:.875rem;max-width:27ch;margin:13px 0 16px}
    .hero-focus{inset:15% 3% 45% 69%}
    .hero-credit{bottom:10px;right:12px;font-size:.67rem}
    .hero-credit span{width:11px}
    .home-section{margin-top:22px}
    .section-heading{margin-bottom:11px}
    .section-heading h2{font-size:1.75rem}
    .study-links{grid-template-columns:1fr;gap:9px}
    .study-link{display:grid;grid-template-columns:92px 1fr;align-items:stretch}
    .study-art{height:auto;min-height:70px}
    .study-art img{position:absolute;inset:0}
    .tile-content{align-self:center;padding:12px 14px}
    .tile-title{gap:8px}
    .tile-title .icon{width:16px;height:16px}
    .tile-title h3{font-size:1.34rem}
    .tile-detail{margin-top:2px}
    .progress-summary{grid-template-columns:1fr;gap:18px;padding:16px}
    .page-heading{font-size:2.5rem}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

@media(max-width:800px){
    .menu-toggle,.drawer-close,.search-trigger,.account .icon-button{min-width:44px;min-height:44px}
    .sidebar{overscroll-behavior:contain}
}
[data-cover]{position:relative}
[data-cover] img{z-index:1}
[data-cover].cover-pending:after{content:'';position:absolute;inset:0;background:var(--control);z-index:2}
[data-cover] img[hidden]{display:none}
.cover-retry {min-height:44px;background:var(--sidebar);color:var(--text);border:1px solid var(--line);border-radius:5px;padding:6px 10px;font-size:.8rem}
.cover-retry:hover {border-color:var(--accent)}
