.portal-app{min-height:100dvh;display:flex;flex-direction:column;background:linear-gradient(125deg,#f9fcff,#f4faf8);color:#0d1d38}.portal-icon{width:24px;height:24px;flex-shrink:0}.portal-bar-inner{width:calc(100% - 64px);max-width:1600px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:20px;min-width:0}.portal-brandbar{margin:0;background:linear-gradient(115deg,#12223d,#1a3450);color:white;padding:10px 0}.portal-wordmark{display:flex;align-items:center;gap:12px;color:white;text-decoration:none;white-space:nowrap}.portal-wordmark img{width:45px;height:45px;object-fit:contain}.portal-wordmark strong{font-size:27px;letter-spacing:-.7px}.portal-wordmark strong span{color:#36d484}.portal-top-actions{display:flex;align-items:center;gap:32px}.portal-port{border:1px solid #64dc91;box-shadow:inset 0 0 12px #22936a30;border-radius:9px;padding:8px 14px;font-weight:600;font-size:14px}.portal-signout{display:flex;align-items:center;gap:9px;background:#fff;color:#12223d;border:1px solid #d9e5ef;box-shadow:0 3px 8px #07122020;padding:10px 17px;font-size:14px;font-weight:600}.portal-signout .portal-icon{width:20px;height:20px}.portal-schoolbar{background:#ffffffb3;padding:20px 0}.portal-school-identity{display:flex;align-items:center;gap:20px;min-width:0}.portal-school-identity img{width:76px;height:82px;object-fit:contain;flex-shrink:0}.portal-school-identity>div{border-left:1px solid #d5e0ea;padding-left:20px;min-width:0}.portal-school-identity strong{display:block;font-size:21px;line-height:1.3}.portal-school-identity span{display:block;margin-top:5px;font-size:14px;color:#52647b}.portal-tabs{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.portal-tabs a{display:flex;align-items:center;gap:9px;padding:10px 15px;font-size:14px;color:#334155;text-decoration:none;border-radius:10px;white-space:nowrap}.portal-tabs a.active{background:linear-gradient(#edfbee,#d8f3db);color:#075d22;font-weight:600}.portal-tabs a:hover{background:#eef5f5}.portal-content-wrap{width:calc(100% - 64px);max-width:1600px;margin:0 auto;padding:10px 0 30px;flex:1;min-width:0}.portal-student-hero{display:flex;align-items:center;gap:20px;flex-wrap:wrap;position:relative;isolation:isolate;overflow:hidden;padding:24px 30px;border:1px solid #355e70;border-radius:15px;background:linear-gradient(110deg,#214d70 0,#13243e 42%,#15344c 79%,#075347 100%);color:white;box-shadow:0 5px 15px #16355118}.portal-student-hero:after{content:'';position:absolute;z-index:-1;right:-75px;top:-85px;width:230px;height:270px;transform:rotate(32deg);border:30px solid #42b78a1a;border-radius:60%}.portal-avatar{position:relative;display:flex;align-items:center;justify-content:center;background:linear-gradient(#e7fff7,#a8cbbd);color:#074634;border-radius:50%;width:80px;height:80px;flex-shrink:0;overflow:hidden;border:1px solid #d5fff2}.portal-avatar>span{font-size:27px;font-weight:700}.student-portrait{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.student-portrait[hidden]{display:none}.portal-student-name{border-left:1px solid #8eb2c3;padding-left:24px;min-width:0}.portal-student-name h1{color:white;font-size:clamp(22px,2.2vw,31px);line-height:1.2;margin:0 0 5px;overflow-wrap:anywhere}.portal-student-name>span{font-size:18px;color:#c8d8ed}.portal-chips{display:flex;flex-wrap:wrap;gap:8px;flex:1;min-width:150px}.portal-chips>span{background:#ffffff18;border:1px solid #ffffff16;box-shadow:inset 0 1px 5px #ffffff12;border-radius:22px;padding:7px 12px;font-size:12px;white-space:nowrap;color:#f3f8ff}.portal-chips>span.active-enrollment{background:#00623199;border-color:#36b76c88}.portal-hero-actions{display:flex;flex-wrap:wrap;gap:12px;border-left:1px solid #8eb2c366;padding-left:20px}.portal-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #d3dfeb;border-radius:9px;padding:11px 16px;background:white;color:#15233e;text-decoration:none;font-size:13px;font-weight:600;white-space:nowrap;box-shadow:0 2px 6px #061b3020}.portal-action .portal-icon{width:19px;height:19px}.portal-action.primary{background:linear-gradient(#00a23f,#008731);color:white;border-color:#4cd277}.portal-action:hover{filter:brightness(.97)}.portal-access-notice{display:flex;align-items:center;gap:10px;border:1px solid #efba4a;border-radius:10px;background:linear-gradient(110deg,#fff9e9,#fff0c8);color:#6d2b02;padding:12px 20px;margin:20px 0;font-size:13px;line-height:1.5}.portal-access-notice .portal-icon{width:21px;height:21px}.portal-main{padding:0;min-width:0}.portal-page-title{font-size:30px;letter-spacing:-.6px;line-height:1.25;margin:0 0 22px;font-weight:700}.overview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.overview-card{--card-tone:#16689b;display:flex;align-items:flex-start;gap:20px;padding:20px;border:1px solid color-mix(in srgb,var(--card-tone) 35%,#dde8f4);border-radius:15px;background:linear-gradient(130deg,#fff,#f8fbff);box-shadow:0 6px 12px #1e487410;text-decoration:none;color:#10213d;min-width:0;transition:box-shadow .15s,border-color .15s}.overview-card:hover{border-color:var(--card-tone);box-shadow:0 8px 20px #1e487420}.overview-card>div{min-width:0;flex:1}.overview-icon{display:flex;align-items:center;justify-content:center;width:62px;height:62px;flex-shrink:0;background:color-mix(in srgb,var(--card-tone) 9%,white);color:var(--card-tone);border-radius:16px}.overview-icon .portal-icon{width:34px;height:34px}.overview-card h3{font-size:14px;margin:0 0 7px;font-weight:600}.overview-card strong{display:block;font-size:clamp(21px,1.8vw,28px);line-height:1.15;letter-spacing:-.4px;overflow-wrap:anywhere}.overview-card p{font-size:13px;color:#425674;line-height:1.5;margin:8px 0 12px}.quick-detail{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:600;color:var(--card-tone)}.quick-detail .portal-icon{width:15px;height:15px}.tone-administration,.tone-timetable,.tone-staff{--card-tone:#137334}.tone-academics,.tone-photos{--card-tone:#62509e}.tone-finance{--card-tone:#cf1818;background:linear-gradient(130deg,#fff,#fff4f4)}.tone-finance strong{color:#c51212}.portal-footer{background:linear-gradient(110deg,#173a58,#13213b);color:#e2edf9;padding:14px 0;font-size:13px}.portal-footer b{color:white}.detail-page-heading{margin:2px 0 22px}.detail-page-heading .portal-page-title{margin:8px 0 0}.back-overview{font-size:13px;color:#286179;text-decoration:none}.detail-panel,.report-panel,.student-photo-panel{border:1px solid #dbe5ee;border-radius:14px;background:white;box-shadow:0 5px 15px #1834510a;padding:22px;margin-bottom:22px;min-width:0}.detail-panel h3,.report-panel h2{font-size:20px;margin:0 0 10px}.detail-note{font-size:13px;line-height:1.6;color:#536780}.detail-empty{background:#f5f8fc;border:1px solid #dce6f1;border-radius:8px;padding:16px;font-size:13px;line-height:1.6;color:#52647b}.detail-table-scroll{overflow:auto;max-width:100%;margin-top:15px}.detail-table{width:100%;border-collapse:collapse;font-size:13px}.detail-table th{font-weight:600;white-space:nowrap;background:#edf4f9;color:#34516e}.detail-table td,.detail-table th{padding:12px;border-bottom:1px solid #e1e9f1;text-align:left}.detail-table td{white-space:nowrap}.detail-table tbody tr:nth-child(even){background:#fafcff}.report-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:15px}.report-panel-heading p{font-size:13px;color:#536780;margin:0}.report-actions{display:flex;flex-wrap:wrap;gap:10px}.report-viewer{width:100%;height:70vh;min-height:360px;border:1px solid #dbe5ee;border-radius:8px}.student-photo-panel{display:flex;align-items:center;flex-direction:column;gap:20px}.student-photo-panel>img{max-width:100%;max-height:65vh;object-fit:contain;border-radius:12px}.portal-app a:focus-visible,.portal-app button:focus-visible{outline:3px solid #24895b;outline-offset:3px}
@media(max-width:1250px){.portal-schoolbar .portal-bar-inner{flex-wrap:wrap;gap:14px}.portal-tabs{margin-left:auto}.portal-student-hero{gap:16px;padding:22px}.portal-hero-actions{border:0;margin-left:auto;padding-left:0}.overview-card{padding:18px;gap:14px}.overview-icon{width:50px;height:50px}.overview-icon .portal-icon{width:29px;height:29px}.portal-chips{flex-basis:270px}.portal-top-actions{gap:20px}}
@media(max-width:1000px){.overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-school-identity strong{font-size:19px}.portal-school-identity img{width:62px;height:70px}.portal-tabs{margin-left:0;gap:3px}.portal-tabs a{padding:9px 12px}.portal-student-name{flex:1}.portal-chips{flex-basis:100%}.portal-hero-actions{margin-left:0}.portal-page-title{font-size:28px}}
@media(max-width:680px){.portal-bar-inner,.portal-content-wrap{width:calc(100% - 28px)}.portal-brandbar{padding:10px 0}.portal-brandbar .portal-bar-inner{gap:12px}.portal-wordmark{gap:7px}.portal-wordmark img{width:36px;height:36px}.portal-wordmark strong{font-size:20px}.portal-top-actions{gap:9px}.portal-port{display:none}.portal-signout{padding:9px 11px;font-size:12px}.portal-signout .portal-icon{width:17px;height:17px}.portal-schoolbar{padding:15px 0}.portal-school-identity{gap:12px}.portal-school-identity>div{padding-left:12px}.portal-school-identity strong{font-size:16px}.portal-school-identity span{font-size:12px}.portal-school-identity img{width:52px;height:62px}.portal-tabs{width:100%;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px}.portal-tabs a{flex-direction:column;gap:4px;padding:8px 2px;font-size:10px}.portal-tabs .portal-icon{width:20px;height:20px}.portal-student-hero{padding:18px 16px;gap:12px}.portal-avatar{width:60px;height:60px}.portal-avatar>span{font-size:22px}.portal-student-name{padding-left:14px}.portal-student-name h1{font-size:23px}.portal-student-name>span{font-size:14px}.portal-chips{gap:6px}.portal-chips>span{font-size:10px;padding:6px 9px}.portal-hero-actions{width:100%;gap:8px}.portal-hero-actions .portal-action{flex:1;padding:10px 7px;font-size:11px}.portal-access-notice{font-size:11px;align-items:flex-start;padding:11px 12px;margin:16px 0}.portal-access-notice .portal-icon{width:19px;height:19px}.overview-grid{grid-template-columns:1fr;gap:12px}.overview-card{padding:16px;gap:16px}.overview-card strong{font-size:25px}.overview-card p{font-size:12px}.portal-page-title{font-size:26px;margin-bottom:16px}.portal-footer .portal-bar-inner{flex-direction:column;align-items:flex-start;gap:6px;font-size:11px}.report-panel,.detail-panel,.student-photo-panel{padding:16px}.report-panel-heading{gap:12px}.report-actions{width:100%}.report-actions .portal-action{flex:1;padding:11px;font-size:12px}.report-viewer{min-height:300px;height:65vh}.detail-table td,.detail-table th{padding:10px}.portal-content-wrap{padding-bottom:20px}}
@media(prefers-reduced-motion:reduce){.overview-card{transition:none}}
