/* Final layout layer, loaded after all module styles. */
.shell,.shell *,.gp-auth,.gp-auth *{box-sizing:border-box}
.shell>main,.shell>main>*{min-width:0;max-width:100%}
.shell :is(.dash-card,.panel,.app-section,.team-panel,.record-details,.resume-card,.gp-smart,.profile){min-width:0}
.shell :is(h1,h2,h3,p,dd,dt,label,td,th,a,small){overflow-wrap:anywhere}
.shell :is(input:not([type=checkbox]):not([type=radio]),select,textarea){min-width:0;max-width:100%}
.shell :is(img,video,iframe){max-width:100%}
.shell .scroll,.shell .gp-table-scroll{max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}
.shell .gp-table-scroll:focus-visible{outline:2px solid #007f89;outline-offset:-2px}
.shell :is(.dash-head,.review-toolbar,.pagination,.panel-heading,.resume-card,.gp-delete-tools){flex-wrap:wrap;min-width:0}
.shell .profile .gp-account-link{min-width:0;max-width:100%}
.shell .profile .gp-account-link>span:last-child{min-width:0;overflow-wrap:anywhere}
.shell .gp-smart-popup [role=listbox]{max-height:min(390px,45dvh)}
@media screen and (max-width:1280px){.shell .dash-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.shell .dash-middle{grid-template-columns:minmax(0,1fr)}.shell .dash-bottom{grid-template-columns:repeat(2,minmax(0,1fr))}.shell .gp-report-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media screen and (max-width:1024px){.shell>main>header{height:auto;min-height:56px;padding:8px!important;max-width:100%;border-radius:12px}.shell>main>header .gp-smart{min-width:0;flex:1 1 100%!important}.shell>main>header .profile{flex:0 1 auto;max-width:100%;gap:8px}.shell>aside nav .subnav{display:flex;flex-direction:column;gap:4px}.shell>aside nav a{white-space:normal}.shell>aside .brand img{max-width:200px}.shell .app-sheet{grid-template-columns:repeat(2,minmax(0,1fr))}.shell .gp-menu-close{position:sticky;top:0;z-index:2}.shell .gp-smart-input input{font-size:16px}.shell .team-wrap{padding:0!important}}
@media screen and (max-width:760px){.shell>main{padding:10px!important}.shell :is(.dash-middle,.dash-bottom,.app-sheet,.gp-account-grid,.gp-settings-grid,.backup-grid,.ref-form,.audit-metrics,.team-dashboard-kpis){grid-template-columns:minmax(0,1fr)!important}.shell :is(.grid,.module-tabs,.appt-cards){grid-template-columns:repeat(2,minmax(0,1fr))}.shell :is(.filters,.gp-report-filters){grid-template-columns:minmax(0,1fr)!important}.shell :is(.audit-filters,.gp-notify-filters,.team-form)>label{flex:1 1 100%;min-width:0!important}.shell .dash-welcome{padding:16px;gap:12px;flex-wrap:wrap}.shell .dash-welcome h2{font-size:clamp(20px,5vw,25px)}.shell .dash-welcome p{font-size:14px}.shell .hero-symbol{width:56px;height:56px}.shell .hero-symbol svg{width:30px;height:30px}.shell .app-hero{grid-template-columns:56px minmax(0,1fr);padding:12px;gap:10px}.shell .app-hero>*{min-width:0}.shell .app-hero .app-pill{grid-column:1/-1;justify-self:start}.shell .app-section dl>div,.shell .record-details dl>div{grid-template-columns:minmax(0,1fr);gap:4px}.shell .team-page .team-person,.team-page .shell .team-person{grid-template-columns:minmax(0,1fr)}.shell .team-panel{padding:12px!important}.shell .team-form{display:grid;grid-template-columns:minmax(0,1fr)}.shell :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px;min-height:44px}.shell :is(button,.review-link,.resume-download,.module-tabs a){min-height:44px}.shell .gp-notify-row{flex-wrap:wrap}.shell .gp-notify-copy{flex:1 1 150px;min-width:0}.shell .gp-account-hero{flex-wrap:wrap}.shell .gp-account-hero>div{min-width:0}.shell .gp-account-hero h2{font-size:18px}.shell .bar-chart{gap:5px;padding-inline:8px}.shell .bar-col{font-size:10px}.shell .gp-smart-popup{left:0;right:0;max-width:100%}.gp-confirm{width:min(400px,calc(100% - 24px));max-height:85dvh;overflow:auto}.gp-confirm div{flex-wrap:wrap}}
@media screen and (max-width:480px){.shell .dash-kpis{grid-template-columns:minmax(0,1fr)}.shell .dash-kpi{padding:12px}.shell .profile .gp-account-link>span:last-child{display:none}.shell .profile{gap:4px!important}.shell .profile button{padding:8px!important}.shell .gp-smart-input kbd{display:none}.shell .panel-heading h2,.shell .review-toolbar h2{font-size:20px}.shell .appt-card{padding:10px}.shell .appt-card strong{font-size:23px}.shell .module-tabs a{padding:8px;font-size:12px}.shell .gp-trend-row{grid-template-columns:54px minmax(0,1fr) 35px;gap:5px}.shell .resume-card>*{min-width:0}.shell .gp-delete-tools{justify-content:stretch}.shell .gp-delete-tools button{width:100%}.gp-auth .login-side{padding:60px 12px!important}.gp-auth .login{padding:24px 18px!important}.gp-auth .auth-input input{font-size:16px}.gp-auth .auth-top,.gp-auth .auth-footer{position:static!important;margin:12px 0;text-align:center}.gp-auth .auth-footer{justify-content:center}}
@media screen and (max-height:550px) and (orientation:landscape){.gp-auth .login-side{padding:16px!important}.gp-auth .auth-top,.gp-auth .auth-footer{position:static!important;margin:10px 0}.shell .gp-smart-popup [role=listbox]{max-height:35dvh}}
@media print{.gp-menu-toggle,.gp-menu-close,.gp-nav-shade{display:none!important}.shell .gp-table-scroll,.shell .scroll{overflow:visible}.shell table{min-width:0!important}}
