.membership-gate{min-height:65vh;display:grid;place-items:center;padding:35px 20px}.membership-gate>.card{width:min(680px,100%);text-align:center;padding:38px}.membership-gate-card>svg{width:54px;height:54px;color:var(--wine)}.membership-gate-card h1{margin:8px 0}.membership-gate-card>p:not(.eyebrow){color:var(--muted);line-height:1.6}.membership-gate-card>div{display:flex;justify-content:center;gap:10px;margin-top:22px;flex-wrap:wrap}.announcements-bell{position:relative}.announcements-bell>.icon-button{position:relative}.announcements-bell__count{position:absolute;top:2px;right:0;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--red);color:#fff;font-size:.66rem;font-weight:850;display:grid;place-items:center;line-height:1}.announcements-bell__panel{position:absolute;right:0;top:calc(100% + 10px);width:min(380px,calc(100vw - 32px));background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 20px 50px #1c281f2e;z-index:40;overflow:hidden}.announcements-bell__panel header{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border-bottom:1px solid var(--line)}.announcements-bell__panel header span{color:var(--wine);font-size:.78rem;font-weight:800}.announcements-bell__panel ul{list-style:none;margin:0;padding:0;max-height:min(420px,60vh);overflow:auto}.announcements-bell__panel li a{display:grid;grid-template-columns:48px 1fr;gap:12px;padding:12px 16px;border-bottom:1px solid #f0f1ed}.announcements-bell__panel li a:hover{background:#faf7f2}.announcements-bell__panel li.is-unread a{background:#fbf3f3;box-shadow:inset 3px 0 var(--red)}.announcements-bell__panel li img,.announcements-bell__icon{width:48px;height:48px;border-radius:9px;object-fit:cover;background:#f5e9e9;display:grid;place-items:center;color:var(--wine)}.announcements-bell__icon svg{width:20px}.announcements-bell__panel li span{display:grid;gap:3px;min-width:0}.announcements-bell__panel li strong{display:flex;align-items:center;gap:5px;font-size:.88rem;line-height:1.3}.announcements-bell__panel li strong svg{width:13px;flex:none;color:var(--wine)}.announcements-bell__panel li small{color:var(--muted);font-size:.78rem;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.announcements-bell__panel li time{color:#9a9f99;font-size:.72rem}.announcements-bell__empty{margin:0;padding:22px 16px;color:var(--muted);font-size:.86rem;text-align:center}.announcements-bell__all{display:block;text-align:center;padding:12px;color:var(--wine);font-weight:800;font-size:.86rem}.announcements-list{display:grid;gap:14px;max-width:900px}.announcements-list a{display:grid;grid-template-columns:150px 1fr;gap:18px;background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;transition:.2s}.announcements-list a:hover{box-shadow:0 12px 30px #28332d14;transform:translateY(-2px)}.announcements-list a.is-unread{border-color:#e7b9bb;box-shadow:inset 4px 0 var(--red)}.announcements-list img,.announcements-list__icon{width:150px;height:100%;min-height:120px;object-fit:cover;background:#f5e9e9;display:grid;place-items:center;color:var(--wine)}.announcements-list a>div{padding:16px 18px 16px 0;display:grid;gap:6px;align-content:center}.announcements-list h2{font-size:1.1rem;margin:0;display:flex;align-items:center;gap:7px}.announcements-list h2 svg{width:16px;color:var(--wine)}.announcements-list p{margin:0;font-size:.9rem}.announcements-list time{color:#8f958f;font-size:.78rem}@media(max-width:600px){.announcements-list a{grid-template-columns:1fr}.announcements-list img,.announcements-list__icon{width:100%;height:160px}.announcements-list a>div{padding:0 16px 16px}}.announcements-bell__panel li>div{display:grid;grid-template-columns:48px 1fr;gap:12px;padding:12px 16px;border-bottom:1px solid #f0f1ed}.announcements-bell__panel li.is-unread>div{background:#fbf3f3;box-shadow:inset 3px 0 var(--red)}.announcements-bell__icon--personal{background:#fff2cc;color:#835e00}.announcements-bell__tag{font-style:normal;font-size:.66rem;font-weight:850;letter-spacing:.05em;text-transform:uppercase;color:#835e00}.announcements-personal{display:grid;gap:10px;margin:0 0 26px}.announcements-personal>h2{font-size:1.05rem;margin:0}.announcements-personal>:not(h2){display:grid;gap:4px;padding:14px 16px;background:#fffaf0;border:1px solid #eadbb7;border-radius:12px}.announcements-personal .is-unread{box-shadow:inset 4px 0 var(--red)}.announcements-personal p{margin:0;white-space:pre-wrap;font-size:.9rem}.announcements-personal small{color:#8a6d1f;font-size:.76rem}.site-header,.site-footer{--red: #921a1d;--red-bright: #bf1422;--gold: #dba52b;--ink: #313031;--rose: #f6f2f3;--border: #e5dcdd}.site-header-loading{min-height:78px;background:var(--surface, #fff)}.site-footer-loading{min-height:260px;background:var(--surface, #fff)}.site-header{position:sticky;top:0;z-index:20;background:#fffffffa;border-bottom:3px solid var(--gold);box-shadow:0 8px 24px #31303114}.header-inner{max-width:1180px;min-height:82px;margin:auto;padding:10px 20px;display:flex;align-items:center;gap:24px}.brand img{width:170px;display:block}.header-inner nav{margin-left:auto;display:flex;align-items:center;gap:3px}.header-inner nav>a,.header-inner summary{padding:10px 11px;border-radius:8px;text-decoration:none;font-size:14px;font-weight:800;white-space:nowrap;cursor:pointer;list-style:none}.header-inner nav>a:hover,.header-inner nav>a.active,.header-inner summary:hover,.header-inner summary.active{background:#dba52b29;color:var(--red)}.site-header details{position:relative}.site-header details summary::-webkit-details-marker{display:none}.dropdown{position:absolute;top:100%;left:0;min-width:235px;padding:9px;background:#fff;border:1px solid var(--border);border-top:3px solid var(--gold);border-radius:0 0 10px 10px;box-shadow:0 12px 25px #31303122}.dropdown a,.dropdown strong{display:block;padding:7px 9px;font-size:13px;text-decoration:none}.dropdown strong{padding-top:9px;color:var(--red);font-size:11px;text-transform:uppercase}.dropdown a:hover{background:var(--rose);color:var(--red)}.forums-dropdown{min-width:270px}details.nested-menu{position:relative}details.nested-menu>summary{display:block;padding:9px;color:var(--red);font-size:11px;font-weight:900;text-transform:uppercase;cursor:pointer;list-style:none}details.nested-menu>summary::-webkit-details-marker{display:none}details.nested-menu>summary:after{content:"›";float:right;font-size:16px;line-height:12px}.nested-dropdown{display:none;position:absolute;top:-4px;left:calc(100% + 7px);min-width:210px;padding:8px;background:#fff;border:1px solid var(--border);border-top:3px solid var(--gold);border-radius:8px;box-shadow:0 12px 25px #31303122}details.nested-menu[open]>.nested-dropdown,details.nested-menu:hover>.nested-dropdown{display:block}.profile{display:flex;align-items:center;gap:8px;text-decoration:none;font-size:13px;font-weight:800;cursor:pointer;list-style:none}.profile::-webkit-details-marker{display:none}.profile-menu{position:relative}.site-header--guest .profile-menu{margin-left:auto}.profile-dropdown{position:absolute;top:calc(100% + 10px);right:0;min-width:180px;padding:8px;border:1px solid var(--border);border-top:3px solid var(--gold);border-radius:10px;background:#fff;box-shadow:0 12px 25px #31303122}.profile-dropdown a,.profile-logout-form button{display:block;width:100%;padding:9px 10px;border:0;border-radius:7px;background:transparent;color:var(--ink);font:inherit;font-size:13px;font-weight:700;text-align:left;text-decoration:none;cursor:pointer}.profile-dropdown a:hover,.profile-logout-form button:hover{background:var(--rose);color:var(--red)}.profile-logout-form{margin:5px 0 0;padding-top:5px;border-top:1px solid var(--border)}.profile span{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--red);color:#fff;box-shadow:inset 0 0 0 2px var(--gold)}.site-footer{margin-top:0;background:#fff;color:var(--ink);border-top:3px solid var(--gold);padding:28px 22px}.footer-grid{width:100%;max-width:1180px;margin:0 auto;display:grid;grid-template-columns:1fr auto 1fr;gap:24px;align-items:start}.footer-column{min-width:0}.footer-side{min-width:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:24px}.footer-side--left{justify-self:stretch;text-align:left}.footer-side--right{justify-self:stretch;justify-items:end;text-align:left}.footer-side--right .footer-column{width:max-content;max-width:100%}.footer-legal{justify-self:start;text-align:left}.footer-support{justify-self:end;text-align:right}.footer-grid h3{margin:0 0 18px;color:var(--red);font-size:17px;text-transform:uppercase;letter-spacing:.04em}.footer-grid ul{display:grid;gap:12px;list-style:none;margin:0;padding:0}.footer-grid a{color:var(--ink);text-decoration:none;font-size:14px;font-weight:700;line-height:1.55}.footer-grid a:hover{color:var(--red-bright)}.footer-logo{display:flex;align-items:center;justify-content:center;grid-column:2;justify-self:center}.footer-logo figure{margin:0}.footer-logo img{display:block;width:170px;max-width:100%;height:auto}@media(max-width:980px){.header-inner{align-items:flex-start;flex-wrap:wrap}.header-inner nav{order:3;width:100%;margin:0;overflow-x:auto}.profile{margin-left:auto}}@media(max-width:900px){.footer-grid{grid-template-columns:1fr}.footer-side{width:100%;text-align:center}.footer-side--right{justify-items:center}.footer-side--right .footer-column{width:auto}.footer-logo{grid-column:1}.footer-legal,.footer-support{justify-self:stretch;text-align:center}.footer-logo{order:-1}}@media(max-width:620px){.header-inner{gap:10px}.brand img{width:145px}.header-inner nav>a,.header-inner summary{font-size:12px;padding:8px 7px}.profile b{display:none}.dropdown{position:fixed;top:82px;left:10px;right:10px}.profile-dropdown{position:fixed;top:82px;right:10px}.nested-dropdown{position:static;min-width:0;margin:4px 0 4px 10px;border:0;border-left:3px solid var(--gold);border-radius:0;box-shadow:none}}.profile-cabsa-public{--profile-red: #921a1d;--profile-red-bright: #bf1422;--profile-gold: #dba52b;--profile-ink: #313031;--profile-muted: #635d5d;--profile-border: #e5dcdd;min-height:100vh;background:#fff;color:var(--profile-ink)}.profile-cabsa-public>main{min-height:62vh;padding:0}.profile-cabsa-page{width:min(1080px,calc(100% - 40px));margin:0 auto;padding:55px 0 80px}.profile-cabsa-state{display:grid;min-height:62vh;place-items:center}.profile-cabsa-hero{margin-bottom:26px;padding:38px;border-radius:20px;background:linear-gradient(135deg,var(--profile-red),var(--profile-gold));color:#fff;box-shadow:0 16px 36px #5a121524}.profile-cabsa-hero .eyebrow,.profile-cabsa-card .eyebrow{margin:0 0 8px;color:inherit;font-size:.75rem;font-weight:850;letter-spacing:.1em;text-transform:uppercase}.profile-cabsa-hero h1{margin:0 0 10px;color:#fff;font-size:clamp(2.2rem,5vw,3.6rem);line-height:1.05}.profile-cabsa-hero p:last-child{max-width:710px;margin:0;color:#fff;font-size:1rem;line-height:1.65}.profile-cabsa-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:24px}.profile-cabsa-stats>div,.profile-cabsa-card{padding:24px;border:1px solid var(--profile-border);border-radius:16px;background:#fff;box-shadow:0 8px 20px #3130310d}.profile-cabsa-stats span{display:block;margin-bottom:8px;color:var(--profile-muted);font-size:.85rem}.profile-cabsa-stats strong{color:var(--profile-red);overflow-wrap:anywhere}.profile-cabsa-card{margin-bottom:20px}.profile-cabsa-card h1,.profile-cabsa-card h2{margin:0 0 10px;color:var(--profile-red)}.profile-cabsa-card>p{color:var(--profile-muted);line-height:1.6}.profile-cabsa-account{display:grid;grid-template-columns:104px minmax(0,1fr);align-items:start;gap:24px}.profile-cabsa-avatar{display:grid;width:96px;height:96px;border:4px solid #f5dfad;border-radius:50%;background:var(--profile-red);color:#fff;font-size:2rem;font-weight:900;place-items:center}.profile-cabsa-account .eyebrow{color:var(--profile-red-bright)}.profile-cabsa-account dl{display:grid;gap:9px;margin:16px 0 0}.profile-cabsa-account dl div{display:grid;grid-template-columns:145px minmax(0,1fr);gap:12px}.profile-cabsa-account dt{color:var(--profile-muted);font-size:.88rem}.profile-cabsa-account dd{margin:0;font-weight:750;overflow-wrap:anywhere}.profile-cabsa-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px;padding-top:22px;border-top:1px solid var(--profile-border)}.profile-cabsa-button{display:inline-flex;width:fit-content;align-items:center;justify-content:center;padding:11px 18px;border:1px solid var(--profile-red);border-radius:8px;background:var(--profile-red);color:#fff;font:inherit;font-weight:800;text-decoration:none;cursor:pointer}.profile-cabsa-button:hover,.profile-cabsa-button:focus-visible{border-color:var(--profile-red-bright);background:var(--profile-red-bright)}.profile-cabsa-button--secondary{border-color:#d7c4c5;background:#fff;color:var(--profile-red)}.profile-cabsa-button--secondary:hover,.profile-cabsa-button--secondary:focus-visible{border-color:var(--profile-gold);background:#fff9eb;color:var(--profile-red)}.profile-cabsa-button:disabled{cursor:wait;opacity:.65}.profile-cabsa-message,.profile-cabsa-alert{margin-bottom:18px;padding:14px 16px;border-radius:10px;font-weight:700}.profile-cabsa-message{border:1px solid #b8dfc5;background:#e8f7ed;color:#1f7a3a}.profile-cabsa-alert{border:1px solid #edb6b8;background:#fff0f0;color:#8e1b20}.profile-cabsa-back{display:inline-block;margin-bottom:18px;color:var(--profile-red);font-weight:800;text-decoration:none}.profile-cabsa-back:hover{text-decoration:underline}.profile-cabsa-form{display:grid;max-width:680px;gap:14px;margin-top:20px}.profile-cabsa-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.profile-cabsa-form label{display:grid;gap:7px;color:var(--profile-muted);font-size:.9rem;font-weight:750}.profile-cabsa-form input{width:100%;padding:11px 12px;border:1px solid #cec3c4;border-radius:8px;background:#fff;color:var(--profile-ink);font:inherit}.profile-cabsa-form input:focus{border-color:var(--profile-red);outline:3px solid rgba(146,26,29,.12)}.profile-cabsa-readonly{display:grid;gap:4px;padding:12px 14px;border-radius:8px;background:#f8f5f5}.profile-cabsa-readonly span{color:var(--profile-muted);font-size:.78rem}.profile-cabsa-readonly strong{overflow-wrap:anywhere}#cambiar-contrasena,#mi-avance{scroll-margin-top:110px}.profile-scholarship-card{border-color:#e6cf92;background:#fffaf0}.scholarship-page{max-width:980px}.scholarship-custom-html{line-height:1.7}.scholarship-custom-html>:first-child{margin-top:0}.scholarship-custom-html>:last-child{margin-bottom:0}.scholarship-custom-html img,.scholarship-custom-html video{max-width:100%;height:auto}.scholarship-custom-html table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse}.scholarship-custom-html th,.scholarship-custom-html td{padding:.65rem;border:1px solid var(--profile-border, #d9e1e8)}.scholarship-activation-hero{background:linear-gradient(135deg,#921a1d,#c78e18)}.scholarship-activation-card{padding:clamp(24px,5vw,42px)}.scholarship-welcome-hero{padding:clamp(34px,7vw,62px);background:radial-gradient(circle at 88% 18%,rgba(255,255,255,.18) 0 90px,transparent 91px),linear-gradient(135deg,#7d1518,#b9252b 55%,#c58d19)}.scholarship-welcome-hero p:last-child{max-width:820px}.scholarship-benefits{padding:clamp(24px,5vw,40px)}.scholarship-benefits ul{display:grid;gap:11px;margin:22px 0;padding:0;list-style:none}.scholarship-benefits li{position:relative;padding:13px 16px 13px 46px;border:1px solid #eee2c8;border-radius:10px;background:#fffcf5;color:#514b4b;line-height:1.5}.scholarship-benefits li:before{position:absolute;top:12px;left:15px;display:grid;width:22px;height:22px;border-radius:50%;background:#e8f6ec;color:#247047;content:"✓";font-size:.8rem;font-weight:900;place-items:center}.scholarship-sofia-link{display:inline-flex;padding:11px 15px;border-radius:8px;background:#f3e3b7;color:#731619;font-weight:850}.scholarship-next-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.scholarship-next-actions:has(a:nth-child(4)){grid-template-columns:repeat(4,minmax(0,1fr))}.scholarship-next-actions a{display:grid;min-height:118px;align-content:center;gap:7px;padding:20px;border:1px solid var(--profile-border);border-radius:14px;background:#fff;box-shadow:0 8px 20px #3130310d;transition:transform .2s,border-color .2s}.scholarship-next-actions a:hover{border-color:var(--profile-gold);transform:translateY(-2px)}.scholarship-next-actions strong{color:var(--profile-red)}.scholarship-next-actions span{color:var(--profile-muted);font-size:.8rem}.scholarship-cancel-card{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:22px;border-color:#efd4d4;background:snow}.scholarship-cancel-card h2,.scholarship-cancel-card p{margin:0}.scholarship-cancel-card p:last-child{max-width:700px;margin-top:7px;color:#6d6565;font-size:.88rem}.scholarship-cancel-button{flex:0 0 auto;border:1px solid #b3262e;border-radius:8px;background:#fff;color:#9c2027;padding:11px 16px;font-weight:800;cursor:pointer}.scholarship-cancel-button:hover{background:#fff0f0}.scholarship-cancel-confirm{display:grid;min-width:310px;gap:5px;padding:14px;border-radius:9px;background:#f8e7e8;color:#812027}.scholarship-cancel-confirm span{font-size:.78rem}.scholarship-cancel-confirm>div{display:flex;justify-content:flex-end;gap:7px;margin-top:7px}.scholarship-cancel-confirm button{border:1px solid #c8b7b8;border-radius:7px;background:#fff;padding:9px 11px;font-weight:800;cursor:pointer}.scholarship-cancel-confirm button.danger{border-color:#9d242b;background:#9d242b;color:#fff}.scholarship-cancel-confirm button:disabled{cursor:wait;opacity:.65}.profile-inline-form{display:flex;max-width:680px;align-items:end;gap:12px;margin-top:20px}.profile-inline-form label,.profile-student-form label,.profile-student-edit-form label,.profile-group-selector{display:grid;gap:7px;color:var(--profile-muted);font-size:.86rem;font-weight:750}.profile-inline-form label{flex:1}.profile-inline-form input,.profile-student-form input,.profile-student-edit-form input,.profile-group-selector select{width:100%;padding:11px 12px;border:1px solid #cec3c4;border-radius:8px;background:#fff;color:var(--profile-ink)}.profile-inline-form input:focus,.profile-student-form input:focus,.profile-student-edit-form input:focus,.profile-group-selector select:focus{border-color:var(--profile-red);outline:3px solid rgba(146,26,29,.12)}.profile-group-card{background:linear-gradient(145deg,#fff,#fffaf3)}.profile-group-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:22px}.profile-group-heading p:last-child,.profile-student-form>p,.profile-empty-group p,.profile-student-list>p{margin:0;color:var(--profile-muted)}.profile-seat-counter{display:grid;min-width:160px;min-height:90px;place-content:center;border:1px solid #e5cc8b;border-radius:14px;background:#fff7df;text-align:center}.profile-seat-counter strong{color:var(--profile-red);font-size:2rem;line-height:1}.profile-seat-counter span{margin-top:6px;color:var(--profile-muted);font-size:.72rem}.profile-group-selector{max-width:620px;margin-bottom:20px}.profile-group-layout{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(0,1.4fr);align-items:start;gap:20px}.profile-student-form,.profile-student-list{padding:20px;border:1px solid var(--profile-border);border-radius:13px;background:#fff}.profile-student-form{display:grid;gap:13px}.profile-student-form h3,.profile-student-list h3,.profile-empty-group h3{margin:0;color:var(--profile-red)}.profile-password-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.profile-student-list{display:grid;gap:12px}.profile-student-card{padding:15px;border:1px solid var(--profile-border);border-radius:11px;background:#fff}.profile-student-card>header,.profile-student-card>footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.profile-student-card>header>div{display:grid;gap:3px;min-width:0}.profile-student-card>header span,.profile-student-card small{color:var(--profile-muted);font-size:.76rem;overflow-wrap:anywhere}.profile-status{padding:4px 7px;border-radius:999px;font-size:.68rem!important;font-weight:850}.profile-status--active{background:#e5f6eb;color:#22643b!important}.profile-status--suspended{background:#fff0d5;color:#845a00!important}.profile-student-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:13px 0}.profile-student-metrics>span{display:grid;padding:8px;border-radius:8px;background:#f8f5f5;color:var(--profile-muted);font-size:.7rem;text-align:center}.profile-student-metrics strong{color:var(--profile-red);font-size:.95rem}.profile-semaphore-summary{grid-template-columns:repeat(3,1fr)!important;align-items:center;gap:3px}.profile-semaphore-summary i{padding:3px;border-radius:999px;color:#fff;font-style:normal;font-weight:850}.profile-semaphore-summary .green{background:#288253}.profile-semaphore-summary .yellow{background:#d69b16}.profile-semaphore-summary .red{background:#b9232c}.profile-student-card footer button{border:0;background:transparent;color:var(--profile-red);font-size:.76rem;font-weight:800}.profile-student-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}.profile-student-card footer button.scholarship{border-radius:7px;background:#f4e7bd;color:#6f4c00;padding:7px 9px}.profile-student-card footer button.edit{border-radius:7px;background:#e7eef7;color:#27547b;padding:7px 9px}.profile-student-card footer button.remove{border-radius:7px;background:#fde8e9;color:#981c25;padding:7px 9px}.profile-student-card footer button:disabled{cursor:wait;opacity:.65}.profile-group-history{margin-top:20px;border:1px solid var(--profile-border);border-radius:13px;background:#fff;overflow:hidden}.profile-group-history>summary{display:flex;justify-content:space-between;gap:12px;padding:17px 20px;cursor:pointer;color:var(--profile-red);font-weight:850}.profile-group-history>summary strong{color:var(--profile-muted);font-size:.76rem}.profile-history-tools{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:0 20px 14px}.profile-history-tools p{margin:0;color:var(--profile-muted);font-size:.8rem}.profile-history-tools button{border:1px solid #d7c088;border-radius:7px;background:#fff7df;color:#6f4c00;padding:8px 10px;font-size:.72rem;font-weight:850;white-space:nowrap}.profile-history-tools button:disabled{cursor:not-allowed;opacity:.55}.profile-history-list{display:grid;border-top:1px solid var(--profile-border)}.profile-history-entry{display:grid;grid-template-columns:minmax(170px,1fr) minmax(190px,1fr) auto;align-items:center;gap:14px;padding:13px 20px;border-bottom:1px solid var(--profile-border)}.profile-history-entry:last-child{border-bottom:0}.profile-history-entry>div{display:grid;gap:2px;min-width:0}.profile-history-entry span,.profile-history-entry small{color:var(--profile-muted);font-size:.72rem;overflow-wrap:anywhere}.profile-history-entry b{color:#515652;font-size:.78rem}.profile-history-entry--removed{border-left:4px solid #b9232c}.profile-history-entry--restored{border-left:4px solid #288253}.profile-history-entry button{border:0;border-radius:7px;background:#e7f3eb;color:#22643b;padding:8px 10px;font-size:.73rem;font-weight:850}.profile-history-entry button:disabled{cursor:not-allowed;opacity:.6}.profile-student-edit-form{display:grid;gap:13px;margin-top:16px}.profile-student-edit-form>p{margin:0;color:var(--profile-muted);font-size:.82rem}.profile-security-note{display:grid;gap:3px;padding:12px;border:1px solid #c9dfd1;border-radius:9px;background:#eff8f2}.profile-security-note strong{color:#22643b;font-size:.8rem}.profile-security-note span{color:#55705f;font-size:.72rem;line-height:1.45}.profile-learning-card{background:linear-gradient(145deg,#fff,#fffaf0)}.profile-learning-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:20px}.profile-learning-heading .eyebrow{color:var(--profile-red-bright)}.profile-learning-heading>div>p:last-child{margin:0;color:var(--profile-muted)}.profile-learning-score{display:grid;min-width:130px;min-height:92px;place-content:center;border:1px solid #e5cc8b;border-radius:14px;background:#fff7df;text-align:center}.profile-learning-score strong{color:var(--profile-red);font-size:2rem;line-height:1}.profile-learning-score span{margin-top:5px;color:var(--profile-muted);font-size:.72rem}.profile-learning-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.profile-learning-grid article{min-height:165px;padding:18px;border:1px solid var(--profile-border);border-radius:13px;background:#fff}.profile-learning-grid article>span{color:var(--profile-muted);font-size:.8rem;font-weight:750}.profile-learning-grid article>strong{display:block;margin:9px 0 5px;color:var(--profile-red);font-size:1.8rem}.profile-learning-grid article p,.profile-learning-grid article small{display:block;margin:0 0 10px;color:var(--profile-muted);font-size:.82rem}.profile-learning-grid article a{color:var(--profile-red);font-size:.86rem;font-weight:850}.profile-learning-streak{border-color:#ead397!important;background:#fff9e9!important}.profile-learning-state{display:grid;min-height:150px;place-items:center}@media(max-width:700px){.profile-cabsa-page{width:min(100% - 28px,1080px);padding:35px 0 60px}.profile-cabsa-stats{grid-template-columns:1fr}.profile-cabsa-hero,.profile-cabsa-card{padding:22px 18px}.profile-cabsa-account{grid-template-columns:1fr}.profile-cabsa-account dl div{grid-template-columns:1fr;gap:2px}.profile-cabsa-form-grid{grid-template-columns:1fr}.profile-learning-heading{align-items:flex-start;flex-direction:column}.profile-group-heading,.profile-inline-form{align-items:stretch;flex-direction:column}.profile-group-layout{grid-template-columns:1fr}.scholarship-next-actions,.scholarship-next-actions:has(a:nth-child(4)){grid-template-columns:1fr}.scholarship-cancel-card{align-items:stretch;flex-direction:column}.scholarship-cancel-confirm{min-width:0}.scholarship-cancel-confirm>div{align-items:stretch;flex-direction:column}.profile-password-grid{grid-template-columns:1fr}.profile-student-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-student-card>footer,.profile-student-actions{align-items:stretch;flex-direction:column}.profile-history-entry{grid-template-columns:1fr}.profile-history-tools{align-items:stretch;flex-direction:column}.profile-learning-grid{grid-template-columns:1fr}.profile-cabsa-actions{align-items:stretch;flex-direction:column}.profile-cabsa-actions .profile-cabsa-button{width:100%}}.profile-cabsa-fieldset{border:0;margin:0;padding:0}.profile-cabsa-fieldset legend{font-weight:600;margin-bottom:.5rem}.profile-cabsa-radio-row{display:flex;flex-wrap:wrap;gap:1.5rem}.profile-cabsa-radio-row label{align-items:center;display:inline-flex;flex-direction:row;gap:.5rem}.profile-cabsa-note{font-size:.9rem;margin:0;opacity:.8}.profile-cabsa-registration{display:grid;gap:.75rem 1.5rem;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));margin:1rem 0 0}.profile-cabsa-registration dt{font-size:.85rem;opacity:.75}.profile-cabsa-registration dd{font-weight:600;margin:.15rem 0 0}.profile-cabsa-form input[readonly],.profile-cabsa-form select:disabled,.profile-cabsa-form input:disabled{background:#f3f4f1;color:#5b615c;cursor:not-allowed}.promotion-welcome{display:grid;gap:14px;text-align:center;justify-items:center}.promotion-welcome-icon{display:grid;place-items:center;width:56px;height:56px;border-radius:14px;background:#fff4d5;color:#a27200}.promotion-welcome-icon svg{width:28px;height:28px}.promotion-welcome-message{margin:0;white-space:pre-line;line-height:1.6;color:var(--ink,#252825)}.promotion-welcome-code{margin:0;padding:10px 16px;border:2px dashed var(--wine,#921a1d);border-radius:10px;font-family:ui-monospace,monospace;font-size:1.15rem;font-weight:800;letter-spacing:.06em;color:var(--wine,#921a1d);-webkit-user-select:all;user-select:all}.promotion-welcome .modal-actions{width:100%;justify-content:center;flex-wrap:wrap}:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;color:#252825;background:#f5f6f1;font-synthesis:none;--wine:#921a1d;--red:#bf1422;--gold:#dba52b;--ink:#252825;--muted:#6f766f;--line:#dde0d9;--paper:#fff;--cream:#fbf5e8;--green:#27704d}*{box-sizing:border-box}body{margin:0;min-width:320px}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}img{display:block;max-width:100%}.skip-link{position:fixed;top:-60px;left:16px;z-index:1000;background:#fff;padding:12px}.skip-link:focus{top:16px}.eyebrow{margin:0 0 8px;color:var(--wine);font-weight:800;font-size:.76rem;letter-spacing:.1em;text-transform:uppercase}.app-shell{display:grid;grid-template-columns:270px 1fr;min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;background:#fff;border-right:1px solid var(--line);padding:28px 20px;display:flex;flex-direction:column;z-index:20}.sidebar-brand{display:flex;align-items:center;justify-content:space-between}.sidebar-brand img{width:174px;height:48px;object-fit:contain}.sidebar-label{margin:34px 12px 10px;color:#979b96;font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.12em}.sidebar nav{display:grid;gap:5px}.sidebar nav a{display:flex;align-items:center;gap:12px;padding:11px 13px;border-radius:9px;color:#555c56;font-weight:650}.sidebar nav a svg{width:19px}.sidebar nav a:hover,.sidebar nav a.active{background:#f8eded;color:var(--wine)}.sidebar nav a.active{box-shadow:inset 3px 0 var(--red)}.sidebar-foot{margin-top:auto;background:var(--cream);border:1px solid #eadbb7;border-radius:12px;padding:16px}.sidebar-foot p{font-size:.84rem;color:var(--muted)}.sidebar-foot a{color:var(--wine);font-weight:800;font-size:.85rem}.app-area{min-width:0}.navbar{height:76px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 34px;position:sticky;top:0;z-index:10}.search{display:flex;align-items:center;gap:9px;background:#f3f4f0;border:1px solid transparent;border-radius:9px;padding:0 13px;min-width:330px}.search:focus-within{background:#fff;border-color:var(--wine);box-shadow:0 0 0 3px #921a1d18}.search svg{width:18px;color:#858b85}.search input{border:0;outline:0;background:transparent;padding:11px 0;width:100%}.navbar-actions,.user-chip{display:flex;align-items:center;gap:12px}.user-chip>span{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--wine);color:#fff;font-weight:800}.user-chip div{display:grid}.user-chip small{color:var(--muted)}.icon-button{border:0;background:transparent;padding:8px;border-radius:8px;color:#545a55}.icon-button:hover{background:#f0f1ed}.icon-button svg{width:20px;height:20px}.mobile-only{display:none}main{padding:0 34px 50px}.breadcrumbs{height:54px;display:flex;align-items:center;gap:9px;color:#90958f;font-size:.82rem}.breadcrumbs strong{color:#4b514c}.page{max-width:1440px;margin:auto}.page h1{font-size:clamp(1.9rem,3vw,2.8rem);line-height:1.06;margin:5px 0 10px}.page h2{font-size:1.35rem;margin:0}.page p{color:var(--muted);line-height:1.55}.welcome{background:var(--wine);color:#fff;border-radius:18px;padding:38px 42px;display:flex;justify-content:space-between;align-items:center;min-height:250px;overflow:hidden;position:relative}.welcome:after{content:"";position:absolute;width:260px;height:260px;border:55px solid #ffffff0d;border-radius:50%;right:-70px;top:-90px}.welcome>div:first-child{max-width:730px;z-index:1}.welcome .eyebrow,.welcome p{color:#f5dfe0}.welcome h1{font-size:clamp(2rem,4vw,3.35rem);max-width:750px}.welcome-mark{z-index:1;display:grid;place-items:center;min-width:190px;gap:5px}.welcome-mark svg{width:54px;height:54px;color:#f5ca58}.welcome-mark span{font-size:.8rem;color:#edcfd0}.button,.text-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:9px;padding:11px 17px;font-weight:800}.button svg{width:18px}.button--primary{background:var(--wine);color:#fff}.button--primary:hover{background:#751417}.button--secondary{background:#fff;color:var(--wine);border-color:#d8c3c4}.button--danger{background:#b4232b;color:#fff}.button--light{background:#fff;color:var(--wine)}.button--ghost-light{border-color:#ffffff70;color:#fff}.button-row{display:flex;gap:11px;flex-wrap:wrap;margin-top:20px}.metric-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:20px 0 34px}.card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:22px;box-shadow:0 8px 25px #26332208}.metric-grid .card{display:flex;gap:14px;align-items:center}.metric-icon{display:grid;place-items:center;width:45px;height:45px;border-radius:11px}.metric-icon.red{background:#f9e7e7;color:var(--wine)}.metric-icon.gold{background:#fff4d5;color:#a27200}.metric-icon.green{background:#e3f4ea;color:var(--green)}.metric-icon svg{width:23px}.metric-grid small,.metric-grid p{display:block;margin:0}.metric-grid strong{display:block;font-size:1.55rem;margin:3px 0}.metric-grid p{font-size:.78rem}.section-heading,.page-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:30px 0 15px}.section-heading a{color:var(--wine);font-weight:800;display:flex;align-items:center;gap:6px}.section-heading svg{width:17px}.page-heading{align-items:center;margin:5px 0 24px}.page-heading p{margin:0}.search--page{background:#fff}.course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.course-card,.library-grid article{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;transition:.2s}.course-card:hover,.library-grid article:hover{transform:translateY(-3px);box-shadow:0 14px 35px #28332d14}.course-card>img{width:100%;height:175px;object-fit:cover;background:#eee}.course-card>div{padding:18px}.course-card h3,.library-grid h3{font-size:1.04rem;margin:10px 0 6px}.course-card p,.library-grid p{font-size:.86rem;margin:0 0 14px}.course-card a{color:var(--wine);font-weight:800;display:flex;align-items:center;gap:6px;margin-top:14px}.course-card a svg{width:16px}.badge{display:inline-flex;align-items:center;width:max-content;padding:4px 8px;border-radius:5px;font-size:.67rem;font-weight:850;text-transform:uppercase;letter-spacing:.05em}.badge--gold{background:#fff2cc;color:#835e00}.badge--neutral{background:#edf0ec;color:#555c56}.badge--green{background:#e2f4e8;color:#236947}.progress-row{display:flex;justify-content:space-between;gap:10px;color:#777e78;font-size:.76rem}.progress-row span{display:flex;gap:5px;align-items:center}.progress-row svg{width:15px}.progress{height:7px;background:#ebede9;border-radius:6px;overflow:hidden;margin:9px 0}.progress i{display:block;height:100%;background:var(--gold);border-radius:6px}.capsule-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.capsule-strip article{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}.capsule-strip img{height:120px;width:100%;object-fit:cover}.capsule-strip article>div{padding:14px}.capsule-strip small{color:var(--wine);font-weight:800}.capsule-strip h3{font-size:.94rem;margin:6px 0}.capsule-strip p{font-size:.78rem;margin:0}.alert,.source-note{padding:12px 15px;border-radius:9px;margin:0 0 16px;font-size:.86rem}.alert{background:#fff5df;border:1px solid #e9cc84;color:#725313}.alert--error{background:#ffeded;border-color:#e7a3a6;color:#8c171d}.source-note{background:#edf5f0;border:1px solid #bfd9c9;color:#295b40}.state{min-height:220px;display:grid;place-items:center;align-content:center;text-align:center;color:var(--muted)}.state svg{width:34px}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.back-link{display:inline-flex;align-items:center;gap:6px;color:var(--wine);font-weight:800;margin-bottom:14px}.back-link svg{width:18px}.course-hero{display:grid;grid-template-columns:minmax(300px,43%) 1fr;gap:34px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px}.course-hero>img{width:100%;height:310px;object-fit:cover;border-radius:11px}.course-hero>div{align-self:center}.meta-line{display:flex;gap:20px;margin:18px 0;color:#6d746e}.meta-line span{display:flex;align-items:center;gap:6px}.meta-line svg{width:18px}.detail-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:20px;margin-top:20px}.lesson-list{display:grid;margin-top:16px}.lesson-list a{display:grid;grid-template-columns:24px 1fr 24px;align-items:center;gap:12px;padding:13px 4px;border-bottom:1px solid var(--line)}.lesson-list a>svg:first-child{color:#aaa}.lesson-list a.done>svg:first-child{color:var(--green)}.lesson-list span{display:grid}.lesson-list small{color:var(--muted)}.large-number{font-size:2.5rem;color:var(--wine)}.video-placeholder{min-height:360px;background:#232725;color:#fff;border-radius:15px;display:grid;place-items:center;align-content:center;gap:10px;margin:15px 0 20px}.video-placeholder svg{width:64px;height:64px;color:var(--gold)}.video-placeholder span{color:#bfc4c0}.clean-list{padding-left:20px;color:var(--muted);line-height:2}.filter-tabs{display:flex;gap:8px;margin-bottom:18px}.filter-tabs span{display:flex;align-items:center;gap:6px;background:#fff;border:1px solid var(--line);border-radius:7px;padding:8px 12px;font-size:.82rem;font-weight:750}.filter-tabs svg{width:16px}.library-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.library-image{height:145px;background:#f0f1ed;display:grid;place-items:center}.library-image img{width:100%;height:100%;object-fit:cover}.library-image svg{width:42px;color:var(--wine)}.library-grid article>div:last-child{padding:16px}.text-button{padding:0;background:transparent;color:var(--wine)}.assistant-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.assistant-card{text-align:left;background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px;color:inherit}.assistant-card:hover,.assistant-card.selected{border-color:var(--wine);box-shadow:0 0 0 2px #921a1d18}.assistant-card>span{display:grid;place-items:center;width:48px;height:48px;border-radius:12px;background:#f8e9e9;color:var(--wine);margin-bottom:12px}.assistant-card h3{margin:10px 0 5px}.assistant-card strong{color:var(--wine);font-size:.82rem}.service-chip{display:flex;align-items:center;gap:7px;background:#e6f3ea;color:#286047;border-radius:7px;padding:8px 11px;font-size:.78rem;font-weight:800}.service-chip svg{width:16px}.chat-dock{position:fixed;right:25px;bottom:20px;width:min(390px,calc(100vw - 30px));background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 20px 55px #1c281f33;z-index:30;overflow:hidden}.chat-dock header{display:flex;align-items:center;gap:10px;background:var(--wine);color:#fff;padding:14px}.chat-dock header>span{display:grid;place-items:center;background:#ffffff20;border-radius:8px;width:38px;height:38px}.chat-dock header div{display:grid}.chat-dock header small{color:#f0cfd0}.chat-welcome{padding:28px;text-align:center;color:var(--muted)}.chat-welcome svg{color:var(--gold)}.chat-dock form{display:flex;gap:8px;border-top:1px solid var(--line);padding:10px}.chat-dock input{border:0;outline:0;flex:1}.progress-list{display:grid;gap:20px;margin-top:20px}.progress-list span{display:flex;justify-content:space-between}.progress-list small{color:var(--muted)}.timeline-list{list-style:none;padding:0;display:grid;gap:18px}.timeline-list li{display:grid;grid-template-columns:65px 1fr;gap:12px;border-left:2px solid var(--gold);padding-left:12px}.timeline-list span{color:var(--muted)}.certificate-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.certificate{display:flex;gap:20px;align-items:flex-start}.certificate>svg{width:55px;height:55px;color:#aaa}.certificate.ready{border-top:4px solid var(--gold)}.certificate.ready>svg{color:var(--gold)}.certificate small{color:var(--wine);font-weight:800}.field{display:grid;gap:6px;margin-bottom:14px}.field>span{font-size:.82rem;font-weight:750}.field input,.field select,.field textarea{width:100%;border:1px solid #ccd1ca;background:#fff;border-radius:8px;padding:11px 12px;outline:0}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--wine);box-shadow:0 0 0 3px #921a1d16}.field small{color:#ad1e24}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.upload-box{border:1px dashed #bfc5be;border-radius:10px;padding:18px;margin-bottom:15px;display:grid;place-items:center;text-align:center;color:var(--muted)}.upload-box svg{color:var(--wine)}.upload-box small{display:block}.success-box{text-align:center;padding:30px}.success-box>svg{width:50px;height:50px;color:var(--green)}.profile-card{display:grid;grid-template-columns:170px 1fr;gap:25px}.profile-avatar{width:130px;height:130px;border-radius:50%;display:grid;place-items:center;background:var(--wine);color:#fff;font-size:3rem;font-weight:900}.auth-layout{min-height:100vh;display:grid;grid-template-columns:minmax(360px,1.1fr) minmax(420px,.9fr);padding:0}.auth-brand{background:var(--wine);color:#fff;padding:9vw 7vw;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}.auth-brand:after{content:"";position:absolute;width:400px;height:400px;border:85px solid #ffffff0b;border-radius:50%;right:-170px;bottom:-180px}.auth-brand img{width:230px;filter:brightness(0) invert(1);margin-bottom:65px}.auth-brand .eyebrow{color:#f0c5c7}.auth-brand h1{font-size:clamp(2.4rem,4.5vw,4.2rem);line-height:1.02;margin:5px 0 22px;max-width:760px}.auth-brand p{color:#efd7d8;max-width:630px;line-height:1.7}.auth-panel{display:grid;place-items:center;padding:45px;background:#fafaf7}.auth-card{width:min(440px,100%);background:#fff;border:1px solid var(--line);border-radius:16px;padding:34px;box-shadow:0 18px 55px #1f2b2312}.auth-card h2{font-size:2rem;margin:5px 0}.auth-card>p{color:var(--muted);line-height:1.5}.auth-card form{margin:24px 0}.auth-card form>.button{width:100%}.auth-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:12px;background:#f6e7e8;color:var(--wine)}.auth-links{display:flex;justify-content:space-between;font-size:.83rem;color:var(--wine);font-weight:750}.auth-note{color:var(--muted)}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#20272180;display:grid;place-items:center;z-index:100;padding:20px}.modal{background:#fff;border-radius:14px;padding:24px;width:min(600px,100%);max-height:90vh;overflow:auto}.modal>header{display:flex;justify-content:space-between;align-items:center}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse}th,td{text-align:left;border-bottom:1px solid var(--line);padding:12px;font-size:.84rem}th{color:#737a74;font-size:.72rem;text-transform:uppercase}.empty-inline{grid-column:1/-1;background:#fff;border:1px dashed var(--line);padding:50px;text-align:center;color:var(--muted)}hr{border:0;border-top:1px solid var(--line)}@media(max-width:1100px){.course-grid,.assistant-grid,.library-grid,.capsule-strip{grid-template-columns:repeat(2,1fr)}.welcome-mark{display:none}}@media(max-width:800px){.app-shell{display:block}.sidebar{position:fixed;left:-290px;width:270px;transition:.2s}.sidebar.is-open{left:0;box-shadow:10px 0 40px #0003}.mobile-only{display:inline-grid}.navbar{padding:0 16px}.navbar>.search{display:none}main{padding:0 16px 35px}.user-chip div{display:none}.metric-grid,.detail-grid,.certificate-grid,.course-hero,.profile-card{grid-template-columns:1fr}.welcome{padding:28px 24px}.course-hero>img{height:220px}.auth-layout{grid-template-columns:1fr}.auth-brand{display:none}.auth-panel{padding:20px}.page-heading{align-items:flex-start;flex-direction:column}.search--page{width:100%;min-width:0}}@media(max-width:540px){.course-grid,.assistant-grid,.library-grid,.capsule-strip,.metric-grid,.form-grid{grid-template-columns:1fr}.auth-card{padding:25px}.filter-tabs{overflow:auto}.profile-card{justify-items:center}.profile-card form{width:100%}}
