.pm-active #view:has(.pm-welcome){display:grid;gap:14px}.pm-welcome{display:flex;align-items:center;gap:9px;color:#e3fff2;font-size:1.05rem}.pm-welcome svg,.pm-section-title svg,.pm-profile svg{width:22px;height:22px;color:#85f7bf}.pm-debt{display:flex;align-items:center;gap:14px;padding:16px;background:#651f28;border:1px solid #ef7777;border-radius:17px;color:#fff}.pm-debt>svg{width:30px;height:30px;flex-shrink:0}.pm-debt p{margin:5px 0}.pm-debt small{color:#ffe1e1}.pm-debt button{margin-left:auto;background:#fff0f0;color:#701b25;border:0;border-radius:10px;padding:12px;font-weight:800;cursor:pointer}.pm-highlight{box-shadow:0 0 0 3px #ff96966b}.pm-active .dh-resume{background:linear-gradient(120deg,#082f27,#064b33);border:1px solid #72e5b4;border-radius:18px;padding:18px;margin:0}.pm-active .dh-resume .dh-disc-icon svg{width:28px;height:28px}.pm-progress{height:6px;background:#ffffff30;border-radius:10px;overflow:hidden;margin-top:8px;max-width:320px}.pm-progress span{display:block;height:100%;background:#8bf6c1}.pm-shortcuts{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.pm-shortcuts button,#pm-bottom button{font:inherit;cursor:pointer;color:#f1fff8;background:#103c32;border:1px solid #39675a;border-radius:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:14px 5px;font-weight:700;min-width:0;overflow-wrap:anywhere}.pm-shortcuts svg,#pm-bottom svg{width:27px;height:27px;color:#9af7c8}.pm-section-title{display:flex;align-items:center;gap:8px;margin:0 0 12px}.pm-summary .cards4 .white-card{position:relative;padding:14px 12px 14px 56px;background:#e9f7f0;color:#102e24;min-width:0}.pm-stat-icon{position:absolute;left:14px;top:18px;color:#08734a}.pm-stat-icon svg{width:30px;height:30px}.pm-summary .cards4 .num{font-size:1.45rem}.pm-summary .layout2{display:grid;grid-template-columns:1fr;gap:12px}.pm-profile{border:1px solid #46766a;border-radius:14px;padding:12px}.pm-profile summary{display:flex;align-items:center;gap:7px;cursor:pointer}.pm-profile .glass{margin-top:12px}.pm-active .dh-portal-preferencias{margin:0}#pm-bottom{display:none}@media(max-width:900px){.pm-active>.main{padding-bottom:100px!important}.pm-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.pm-shortcuts button{font-size:.82rem;min-height:78px}.pm-summary .cards4{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px}.pm-summary .cards4 .white-card{padding:12px 8px;min-height:105px}.pm-stat-icon{position:static;display:block}.pm-stat-icon svg{width:23px;height:23px}.pm-summary .cards4 .num{font-size:1.25rem}.pm-debt{flex-wrap:wrap;gap:8px}.pm-debt>div{flex:1;min-width:0}.pm-debt button{width:100%}.pm-active .dh-resume{padding:12px}#pm-bottom{position:fixed;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;bottom:0;left:0;right:0;padding:7px 5px calc(7px + env(safe-area-inset-bottom));background:#072b24;border-top:1px solid #47766b;z-index:50}#pm-bottom button{border:0;background:transparent;font-size:.67rem;padding:7px 2px;gap:4px}#pm-bottom svg{width:21px;height:21px}#pm-bottom button[aria-current=page]{background:#a6f5cc;color:#093428}#pm-bottom button[aria-current=page] svg{color:#093428}#app.hidden #pm-bottom{display:none}}
.pm-mobile-logo{display:none}
@media(max-width:900px){
#app.pm-active:not(.hidden){background:#062c24;grid-template-rows:auto auto 1fr;min-height:100dvh}
#app.pm-active .dh-mobile-nav{padding:8px 12px;min-height:50px;gap:8px;background:#062c24}
#app.pm-active .pm-mobile-logo{display:block;width:42px;height:32px;object-fit:contain}
#app.pm-active #dhMenuToggle{order:3;margin-left:auto;min-height:36px;padding:4px 10px;font-size:13px;flex-shrink:0}
#app.pm-active #dhMobilePage{font-size:15px}
#app.pm-active>.main{padding:12px 12px 90px!important;min-width:0;background:#062c24}
#app.pm-active .topbar{margin-bottom:8px;padding:0;min-height:0}
#app.pm-active #viewTitle{font-size:23px!important;line-height:1.2;margin:0}
#app.pm-active #view:has(.pm-welcome){gap:10px}
#app.pm-active .pm-welcome{font-size:13px}
#app.pm-active #view .dh-resume{grid-template-columns:34px minmax(0,1fr);gap:8px;padding:11px!important;margin:0!important;border-radius:14px}
#app.pm-active .dh-resume .dh-disc-icon{width:34px;height:34px;min-width:34px}
#app.pm-active .dh-resume-copy{min-width:0;font-size:12px;line-height:1.35}
#app.pm-active .dh-resume-copy strong{font-size:16px!important;margin:2px 0}
#app.pm-active .dh-resume h3,#app.pm-active .dh-resume small{font-size:11px!important}
#app.pm-active #view .dh-resume .btn{grid-column:2;justify-self:end;min-height:38px!important;padding:7px 12px!important;font-size:12px!important;width:auto!important}
#app.pm-active .pm-shortcuts{gap:7px;grid-template-columns:repeat(3,minmax(0,1fr))}
#app.pm-active .pm-shortcuts button{min-height:65px;padding:8px 2px;font-size:11px;border-radius:12px;gap:5px}
#app.pm-active .pm-shortcuts svg{width:23px;height:23px}
#app.pm-active .pm-summary .cards4{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px;margin-bottom:10px}
#app.pm-active .pm-summary .cards4 .white-card{padding:9px 8px!important;min-height:0!important;border-radius:12px}
#app.pm-active .pm-summary .cards4 .white-card h4{font-size:11px!important;margin:4px 0}
#app.pm-active .pm-summary .cards4 .white-card .num{font-size:17px!important;margin:3px 0}
#app.pm-active .pm-summary .cards4 .white-card p{font-size:10px!important;margin:3px 0;line-height:1.3}
#app.pm-active .pm-section-title{font-size:15px;margin:8px 0}
#app.pm-active .pm-debt{padding:10px;font-size:13px;line-height:1.3}
#app.pm-active .pm-debt button{padding:8px;min-height:40px;font-size:12px}
#app.pm-active #pm-bottom{z-index:1000;display:grid;position:fixed;bottom:0;left:0;right:0;grid-template-columns:repeat(5,minmax(0,1fr));padding:6px 4px calc(6px + env(safe-area-inset-bottom));}
#app.pm-active #pm-bottom button{min-height:48px;font-size:10px;gap:3px}
#app.hidden #pm-bottom{display:none!important}
}
/* Mobile width containment: the home grid must not inherit table min-content width. */
@media(max-width:900px){
 #app.pm-active:not(.hidden){width:100%;max-width:100%;min-width:0;grid-template-columns:minmax(0,1fr)!important;overflow-x:clip}
 #app.pm-active>.main,#app.pm-active #view{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
 #app.pm-active #view:has(.pm-welcome){grid-template-columns:minmax(0,1fr)!important}
 #app.pm-active #view:has(.pm-welcome)>*,#app.pm-active .pm-summary,#app.pm-active .pm-summary .layout2>*,#app.pm-active .pm-summary .cards4>*,#app.pm-active .pm-summary .glass{min-width:0;max-width:100%;box-sizing:border-box;overflow-wrap:anywhere}
 #app.pm-active .pm-summary .layout2{grid-template-columns:minmax(0,1fr)!important}
 #app.pm-active .pm-summary .table-wrap,#app.pm-active .pm-summary .scroll-panel{width:100%;max-width:100%;min-width:0;overflow-x:auto}
 #app.pm-active .pm-summary .cards4{width:100%;grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #app.pm-active .pm-summary .layout2 .glass{overflow:hidden}
 #app.pm-active .pm-shortcuts{width:100%;min-width:0;grid-template-columns:repeat(3,minmax(0,1fr))!important}
 #app.pm-active .pm-shortcuts button{width:100%;min-width:0;white-space:normal}
 #app.pm-active .pm-summary .white-card .num{overflow-wrap:anywhere}
 #app.pm-active #pm-bottom{box-sizing:border-box;width:100%;max-width:100%;min-width:0}
}

#app.pm-active .pm-due-soon{background:#493714;border-color:#c99a36;color:#fff3cf} #app.pm-active .pm-due-soon button{background:#75551c;color:#fff3cf}
/* 2027: layout inicial aprovado, somente para aluno ativo. */
#app.pm-home:not(.hidden){background:#031e2a}
#app.pm-home>.main{background:radial-gradient(ellipse at top right,#064638 0,transparent 40%),#031e2a;padding:24px!important}
#app.pm-home #dhSidebar{background:#03232d;border-color:#12424a}
#app.pm-home #dhSidebar .nav-btn{background:transparent;color:#fff}
#app.pm-home #dhSidebar .nav-btn.active{background:linear-gradient(110deg,#009837,#20a252);color:white;border-color:transparent}
#app.pm-home #dhSidebar .nav-ico{color:#fff}
#app.pm-home .topbar{display:none}
#app.pm-home #view{display:grid;gap:14px;grid-template-columns:minmax(0,1fr);max-width:100%;min-width:0}
#app.pm-home .pm-welcome{display:block;position:relative;border-left:7px solid #a5e800;border-radius:5px;padding:3px 0 6px 17px;color:#fff}
#app.pm-home .pm-welcome h2{font-size:clamp(26px,3.2vw,44px);font-weight:900;line-height:1.1;margin:0 0 6px;color:white;overflow-wrap:anywhere}
#app.pm-home .pm-welcome p{font-size:clamp(14px,1.8vw,21px);margin:0;color:#e4f0f3}
#app.pm-home .pm-debt{background:linear-gradient(110deg,#ffe3dc,#ffbba9);border:3px solid #ff2525;border-radius:18px;color:#760700;box-shadow:0 0 9px #ff18185c;padding:16px}
#app.pm-home .pm-debt>svg{width:46px;height:46px;color:#d90000}
#app.pm-home .pm-debt strong{font-size:clamp(17px,2vw,25px);font-weight:900}
#app.pm-home .pm-debt p,#app.pm-home .pm-debt small{color:#72120a}
#app.pm-home .pm-debt button{background:linear-gradient(#ff351c,#c81000);color:white;min-height:44px;box-shadow:0 4px 10px #a9232250}
#app.pm-home .pm-primary,#app.pm-home .pm-home-tiles{display:grid;gap:12px;min-width:0}
#app.pm-home .pm-primary{grid-template-columns:repeat(3,minmax(0,1fr))}
#app.pm-home .pm-home-tiles{grid-template-columns:repeat(5,minmax(0,1fr))}
#app.pm-home .pm-tile,#app.pm-home .pm-finance{position:relative;isolation:isolate;overflow:hidden;min-width:0;border:1px solid #ffffff43;border-radius:16px;padding:16px;display:flex;align-items:center;gap:12px;color:#fff;font:inherit;font-weight:850;font-size:clamp(14px,1.55vw,21px);cursor:pointer;text-align:left;box-shadow:0 6px 15px #0004}
#app.pm-home .pm-tile:after,#app.pm-home .pm-finance:after{content:"";position:absolute;z-index:-1;bottom:-30%;left:-15%;width:130%;height:65%;border-radius:50%;background:#ffffff12;transform:rotate(-10deg)}
#app.pm-home .pm-tile span,#app.pm-home .pm-fin-title span{flex:1;min-width:0;overflow-wrap:anywhere}
#app.pm-home .pm-tile svg,#app.pm-home .pm-fin-title svg{width:36px;height:36px;flex-shrink:0}
#app.pm-home .pm-tile svg:last-child,#app.pm-home .pm-fin-title svg:last-child{width:20px;height:20px}
#app.pm-home .pm-green{background:linear-gradient(135deg,#08bd40,#006625)}
#app.pm-home .pm-yellow{background:linear-gradient(135deg,#ffdb00,#ffb300);color:#131700}
#app.pm-home .pm-purple{background:linear-gradient(135deg,#9849e9,#5922b3)}
#app.pm-home .pm-blue{background:linear-gradient(135deg,#0089db,#00467e)}
#app.pm-home .pm-teal{background:linear-gradient(135deg,#00a0a0,#00515b)}
#app.pm-home .pm-primary .pm-tile{min-height:99px}
#app.pm-home .pm-home-tiles>.pm-tile{flex-direction:column;justify-content:center;text-align:center;min-height:148px}
#app.pm-home .pm-home-tiles>.pm-tile span{flex:0}
#app.pm-home .pm-home-tiles>.pm-tile svg:first-child{width:43px;height:43px}
#app.pm-home .pm-home-tiles>.pm-tile svg:last-child{align-self:flex-end}
#app.pm-home .pm-finance{flex-direction:column;align-items:stretch;justify-content:center;padding:10px;gap:7px;cursor:default}
#app.pm-home .pm-fin-title{display:flex;align-items:center;gap:6px;background:transparent;border:0;color:#fff;font:inherit;cursor:pointer;padding:3px;text-align:left}
#app.pm-home .pm-fin-title svg:first-child{width:25px;height:25px}
#app.pm-home .pm-fin-actions{display:grid;gap:5px}
#app.pm-home .pm-fin-actions button{border:1px solid #a0f4a7;background:#00572f88;color:white;border-radius:8px;font:inherit;font-size:12px;padding:7px 4px;cursor:pointer;min-height:33px}
#app.pm-home #view .dh-resume{display:grid;grid-template-columns:85px minmax(0,1fr) auto;align-items:center;gap:14px;background:linear-gradient(125deg,#0c3548,#062734);border:1px solid #54859b;border-radius:17px;padding:18px!important;color:white}
#app.pm-home .dh-resume .dh-disc-icon{width:80px;height:80px;min-width:0}
#app.pm-home .dh-resume .dh-disc-icon img{width:100%;height:100%;object-fit:contain}
#app.pm-home .dh-resume-copy h3{font-size:21px;color:white;margin:0 0 7px}
#app.pm-home .dh-resume .btn{background:linear-gradient(#49ca25,#078e13);color:white;border:0;border-radius:10px;font-weight:800;padding:13px;white-space:nowrap}
#app.pm-home .pm-more{border:1px solid #427084;border-radius:12px;padding:12px;min-width:0;color:#d5edf3}
#app.pm-home .pm-more summary{cursor:pointer;font-weight:700}
#app.pm-home .pm-extra-links{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
#app.pm-home .pm-extra-links button{display:flex;align-items:center;gap:6px;border:1px solid #427084;border-radius:8px;background:#103746;color:white;padding:10px;cursor:pointer}
#app.pm-home .pm-extra-links svg{width:20px;height:20px}
#app.pm-home .pm-tile:focus-visible,#app.pm-home button:focus-visible{outline:3px solid #fff;outline-offset:2px}
@media(max-width:1100px) and (min-width:901px){#app.pm-home .pm-home-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){
#app.pm-home>.main{padding:12px 12px 20px!important;background:#031e2a}
#app.pm-home #pm-bottom{display:none}
#app.pm-home .dh-mobile-nav{background:#03232d;justify-content:center}
#app.pm-home .pm-mobile-logo{width:135px;height:42px;object-fit:contain}
#app.pm-home #dhMobilePage{display:none}
#app.pm-home #dhMenuToggle{order:-1;margin:0 auto 0 0;background:transparent;color:#fff}
#app.pm-home .pm-primary,#app.pm-home .pm-home-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#app.pm-home .pm-primary>.pm-tile:last-child,#app.pm-home .pm-home-tiles>.pm-tile:last-child{grid-column:1/-1}
#app.pm-home .pm-primary .pm-tile,#app.pm-home .pm-home-tiles>.pm-tile{min-height:65px;flex-direction:row;text-align:left;padding:11px;gap:8px;font-size:14px}
#app.pm-home .pm-home-tiles>.pm-tile span{flex:1}
#app.pm-home .pm-tile svg:first-child{width:27px!important;height:27px!important}
#app.pm-home .pm-tile svg:last-child{width:16px;height:16px;align-self:center}
#app.pm-home .pm-finance{padding:7px;min-height:65px}
#app.pm-home .pm-fin-title{font-size:14px}
#app.pm-home .pm-fin-actions{display:none}
#app.pm-home #view .dh-resume{grid-template-columns:42px minmax(0,1fr);padding:12px!important;gap:7px}
#app.pm-home .dh-resume .dh-disc-icon{width:42px;height:42px}
#app.pm-home .dh-resume-copy h3{font-size:17px!important}
#app.pm-home .dh-resume .btn{grid-column:2;justify-self:end;font-size:12px;padding:8px;min-height:40px}
#app.pm-home .pm-debt{padding:10px;gap:8px}
#app.pm-home .pm-debt>svg{width:32px;height:32px}
#app.pm-home .pm-debt button{width:100%}
}
#app.pm-home .pm-debt.pm-due-soon{background:linear-gradient(110deg,#fff1bc,#ffe29a);border-color:#e6a51b;color:#523600;box-shadow:none}
#app.pm-home .pm-debt.pm-due-soon>svg,#app.pm-home .pm-debt.pm-due-soon p,#app.pm-home .pm-debt.pm-due-soon small{color:#664400}
#app.pm-home .pm-debt.pm-due-soon button{background:#825400;color:#fff}
