/* Profile-only presentation. Authorization and application workflows stay native. */
.profile-page{--ink:#202b43;--muted:#59677f;--line:#e1e7f0;--bg:#f6f8fc;font:15px/1.65 'Noto Sans',system-ui,sans-serif;background:radial-gradient(ellipse at 92% 10%,#fff0ef 0,transparent 32%),var(--bg)}
.profile-page .top{height:100px;padding:12px max(24px,calc((100vw - 1360px)/2));border-bottom:1px solid #e6e9f1;background:#fff;box-shadow:0 3px 18px #26385704}
.profile-brands{display:flex;align-items:center;gap:24px;flex-shrink:0}.profile-genius{display:flex;width:170px}.profile-genius svg{width:100%;height:70px}.profile-brand-divider{width:1px;height:44px;background:#e1e5ed}.profile-page .top .brand svg{width:64px!important;height:58px!important}.profile-page .top-actions{gap:10px}
.profile-page button,.profile-page .button-link{border-radius:12px;transition:background .15s,border-color .15s,box-shadow .15s}.profile-page button{min-height:44px}.profile-page button:disabled{cursor:not-allowed}.profile-page .top-actions button{font-size:13px;padding:10px 16px}
.profile-page :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #426fe1;outline-offset:4px}.profile-skip{position:fixed;left:16px;top:-100px;z-index:100001;padding:12px 20px;background:#fff;color:#182c57;box-shadow:0 2px 15px #233a6b33;border-radius:10px}.profile-skip:focus{top:12px}
.profile-page main{max-width:1360px;padding:32px 28px 64px;outline:none}.profile-page #status:empty{display:none}.profile-page #status:not(:empty){padding:12px 16px;background:#edf3ff;border-radius:12px;margin:0 0 20px;font-size:14px}.profile-page #status.error{background:#fff0f1;color:#a41f34}
.profile-page .account-card,.profile-page #weekly{border-radius:20px;border:1px solid var(--line);box-shadow:0 5px 20px #28395904;padding:28px;margin:0}.profile-page #identity{position:relative;overflow:hidden;min-height:214px;padding:30px 34px;border:1px solid #f1dce0;background:linear-gradient(110deg,#fff 36%,#fff7f2 100%);box-shadow:0 6px 26px #b74f3607;gap:28px;border-top:0}.profile-page #identity:before{content:'';position:absolute;inset:0 auto 0 0;width:5px;background:linear-gradient(#d80625,#fa955d)}
.profile-person{display:flex;gap:24px;align-items:center;min-width:0}.profile-person-copy{min-width:0}.profile-avatar{display:grid;place-items:center;flex:none;width:84px;height:84px;border-radius:26px;background:linear-gradient(145deg,#c81130,#ee4e50);color:#fff;font-size:28px;font-weight:700;box-shadow:0 8px 22px #ca263b24;border:5px solid #fff}.profile-page #identity .profile-welcome{font-size:14px;color:#9d3543;margin:0 0 3px;font-weight:700}.profile-page #identity .eyebrow{display:none}.profile-page #personName{font-size:clamp(25px,2.5vw,34px);line-height:1.3;letter-spacing:-1px;overflow-wrap:anywhere}.profile-page #identity #personEmail{font-size:14px;margin-top:8px}.profile-page #identity #accessScope{font-size:13px;max-width:670px}.profile-role{display:inline-flex;align-items:center;gap:7px;border-radius:30px;background:#fff;color:#755261;border:1px solid #ebdce0;padding:3px 10px;font-size:11px;font-weight:700}.profile-role:before{content:'';width:6px;height:6px;border-radius:50%;background:#cc3550}.profile-page #showPassword{margin-top:9px;font-size:12px;min-height:36px;padding:6px 12px}.profile-page #schoolControl{min-width:215px;max-width:285px;width:26%;align-self:center}.profile-page #schoolControl>span{font-size:12px;font-weight:700;color:#71515a}.profile-page #school{font-size:14px;padding:12px 14px;border-radius:12px;border-color:#e7dadd;min-height:46px}.profile-page #school:disabled{opacity:1;color:#605665;background:#ffffffad}
.profile-page .profile-shortcuts{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin:24px 0 34px;align-items:stretch}.profile-shortcuts>a,.profile-shortcuts #bulletinAccountNav>button{--tile:#eff4ff;--accent:#3559ab;position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:8px;min-height:151px;width:100%;height:100%;text-align:left;padding:20px;border:1px solid color-mix(in srgb,var(--accent) 16%,white);background:var(--tile);color:var(--ink);font:700 14px/1.4 'Noto Sans',system-ui,sans-serif;box-shadow:0 3px 14px #24375303;border-radius:17px;text-decoration:none}.profile-shortcuts>a:before,.profile-shortcuts #bulletinAccountNav>button:before{content:'';display:block;width:27px;height:27px;margin-bottom:2px;background:var(--accent);mask:var(--tile-icon) center/contain no-repeat}.profile-shortcuts>a:after,.profile-shortcuts #bulletinAccountNav>button:after{content:attr(data-detail);display:block;color:var(--muted);font-size:11px;line-height:1.5;font-weight:400;max-width:210px}.profile-shortcuts>a:hover,.profile-shortcuts #bulletinAccountNav>button:hover{border-color:var(--accent);box-shadow:0 5px 18px #24375313;background:var(--tile)}
.profile-shortcuts #calendarShortcut{order:0;--tile-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'%3E%3Crect x='3' y='5' width='18' height='16' rx='3'/%3E%3Cpath d='M7 3v5m10-5v5M3 10h18M7 14h3m4 0h3m-10 3h3'/%3E%3C/svg%3E")}
.profile-shortcuts #bulletinAccountNav{order:1;display:block;margin:0}.profile-shortcuts #bulletinAccountNav>button{--tile:#fff0f2;--accent:#b3294a;--tile-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'%3E%3Crect x='3' y='3' width='18' height='18' rx='3'/%3E%3Cpath d='M7 7h10M7 11h4m-4 4h4m-4 3h10M14 11h3v4h-3z'/%3E%3C/svg%3E")}
.profile-shortcuts #reportsLink{order:2;--tile:#eaf6fc;--accent:#197291;--tile-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'%3E%3Cpath d='M5 3h10l4 4v14H5zM14 3v5h5M8 17v-4m4 4V9m4 8v-6'/%3E%3C/svg%3E")}
.profile-shortcuts #myLeaveRequestsLink{order:3;--tile:#ecf7f2;--accent:#24775d;--tile-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'%3E%3Crect x='5' y='4' width='14' height='17' rx='2'/%3E%3Crect x='9' y='2' width='6' height='4' rx='1'/%3E%3Cpath d='m8 13 3 3 5-6'/%3E%3C/svg%3E")}
.profile-shortcuts #myTokenBudgetLink{order:5;--tile:#fff6e7;--accent:#a36b13;--tile-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'%3E%3Cpath d='M4 20V11m5 9V5m6 15v-7m5 7V3M2 21h20'/%3E%3C/svg%3E")}
.profile-shortcuts #aiStudioLink{order:4;--tile:#f2edfc;--accent:#7650ad;--tile-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'%3E%3Cpath d='m12 3 2.8 6.2L21 12l-6.2 2.8L12 21l-2.8-6.2L3 12l6.2-2.8ZM20 2v4m-2-2h4'/%3E%3C/svg%3E")}
.profile-shortcuts #mainPortalLink{order:6;--tile:#f0f1f8;--accent:#59658b;--tile-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'%3E%3Cpath d='M3 3h7v7H3zm11 0h7v7h-7zM3 14h7v7H3zm11 0h7v7h-7z'/%3E%3C/svg%3E")}
.profile-page #calendarPanel{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:22px;align-items:start}.profile-page #calendarPanel>.account-actions{grid-column:1/-1;margin:0}.profile-page #calendarPanel>.account-actions h2{font-size:23px;letter-spacing:-.5px}.profile-page #schedulePanels{grid-column:1/-1;grid-row:2;min-width:0}.profile-page #schedulePanels>.account-actions{margin:0 0 16px;align-items:end}.profile-page .account-actions h3{font-size:17px}.profile-page .preplan-note{font-size:13px;line-height:1.65;margin:5px 0 0}.profile-page #teacherSelection{font-size:14px;border-radius:10px;min-height:44px}.profile-page #weekly{padding:22px}.profile-page .published-panel{margin-top:20px;padding:24px}.profile-page .published-panel>label{max-width:240px}.profile-page .account-card h3{font-size:17px;line-height:1.5;color:#273750}.profile-page .account-card p{font-size:14px;line-height:1.75}.profile-page .account-card label>span{font-size:12px}.profile-page .calendar-share{border-top:4px solid #779ed6}.profile-page .meeting-panel{border-top:4px solid #bb97d6}.profile-page .calendar-share .private-note{font-size:12px;color:#735b48;background:#fff8ec;padding:10px 12px;border-radius:9px}.profile-page .share-actions{margin-bottom:0}.profile-page .share-actions button{font-size:12px}.profile-page .meeting-panel summary{padding:12px 16px;background:#f5f0fb;border-radius:11px;color:#6c428e;font-size:13px;margin-top:18px}.profile-page .meeting-list{max-height:470px}.profile-page .meeting-row{grid-template-columns:minmax(115px,1fr) 2fr;gap:14px;padding:18px 0;border-color:#e7e6ef}.profile-page .meeting-row p,.profile-page .meeting-row small{font-size:12px}.profile-page .meeting-row strong{font-size:13px}.profile-page .meeting-row>div:first-child{font-size:13px;color:#765287}
.profile-page #weekly h3{font-size:18px}.profile-page #weekly .timetable th{font-size:12px;padding:13px 6px}.profile-page #weekly .lesson strong{font-size:12px}.profile-page #weekly .lesson .who,.profile-page #weekly .lesson time{font-size:11px}.profile-page #weekly .grid-scroll{border-radius:10px}.profile-page #weekly .timetable{min-width:740px}.profile-page #weekly .timetable th{background:#536482}.profile-page .published-row{font-size:14px;padding:14px 8px}.profile-page #publishedStatus:empty{display:none}
.profile-page .workflow-panel,.profile-page #passwordPanel,.profile-page #memberNotice{margin-top:24px}.profile-page .workflow-panel h2,.profile-page #passwordPanel h2{font-size:22px;margin-bottom:16px}.profile-page #myTokenBudget{border-top:4px solid #e0b367}.profile-page #myLeaveRequests{border-top:4px solid #75af97}.profile-page .workflow-budget article{background:#fcf8f0;border-color:#eee4d2;padding:20px;border-radius:14px}.profile-page .workflow-budget article h3{font-size:14px;color:#816022}.profile-page .workflow-budget strong{font-size:24px;letter-spacing:-.5px}.profile-page .workflow-budget progress{accent-color:#b98730;height:9px}.profile-page .workflow-form input,.profile-page .workflow-form select,.profile-page .workflow-form textarea{font-size:15px;border:1px solid var(--line);border-radius:10px;min-height:44px}.profile-page .workflow-panel details summary{padding:12px;background:#edf7f2;border-radius:10px;color:#256b53}
.profile-page #adminPreviewBanner{font-size:12px;padding:10px 24px;position:relative}.profile-page #adminPreviewBanner .preview-title{font-size:13px}.profile-page #adminPreviewBanner button{font-size:12px;min-height:40px}.profile-page .db-account-module{margin:22px 0}.profile-page.first-login main{max-width:850px}.profile-page.first-login .profile-avatar{display:none}.profile-page.first-login .profile-shortcuts{display:none}
@media(min-width:1200px){.profile-shortcuts:has(>#mainPortalLink:not([hidden])){grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:900px){.profile-page .top{padding:12px 24px}.profile-page main{padding:24px 22px 50px}.profile-page #identity{padding:26px;gap:22px;align-items:flex-start;flex-direction:column}.profile-page #schoolControl{width:100%;max-width:none;min-width:0}.profile-page #calendarPanel{grid-template-columns:minmax(0,1fr)}.profile-page #calendarPanel>.account-card{grid-column:1}.profile-page .profile-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-page .profile-shortcuts>a,.profile-page .profile-shortcuts #bulletinAccountNav>button{padding:18px;min-height:145px}}
@media(max-width:560px){.profile-page .top{height:auto;min-height:87px;padding:12px 16px;gap:12px;flex-wrap:wrap}.profile-brands{gap:12px}.profile-genius{width:116px}.profile-genius svg{height:48px}.profile-brand-divider{height:35px}.profile-page .top .brand svg{width:43px!important;height:43px!important}.profile-page .top-actions{gap:6px}.profile-page .top-actions button{font-size:11px;padding:8px 10px;min-height:40px}.profile-page main{padding:20px 16px 40px}.profile-page #identity{padding:22px 18px;min-height:0;border-radius:17px;gap:20px}.profile-person{gap:13px;align-items:flex-start}.profile-avatar{width:52px;height:52px;border-radius:17px;font-size:19px;border-width:3px}.profile-page #personName{font-size:25px;letter-spacing:-.7px}.profile-page #identity #personEmail{font-size:12px}.profile-page #identity #accessScope{font-size:12px}.profile-page #identity .profile-welcome{font-size:12px}.profile-page .profile-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0 28px}.profile-page .profile-shortcuts>a,.profile-page .profile-shortcuts #bulletinAccountNav>button{min-height:145px;padding:16px;font-size:13px}.profile-page .profile-shortcuts>a:after,.profile-page .profile-shortcuts #bulletinAccountNav>button:after{font-size:11px}.profile-page .account-card,.profile-page #weekly{padding:20px 16px;border-radius:16px}.profile-page #schedulePanels>.account-actions{gap:16px}.profile-page #schedulePanels>.account-actions>label{width:100%}.profile-page #teacherSelection{min-width:0;width:100%}.profile-page #weekly{padding:12px}.profile-page .meeting-row{grid-template-columns:1fr;gap:6px}.profile-page #adminPreviewBanner{padding:10px 16px}.profile-page .workflow-budget strong{font-size:22px}}
@media(prefers-reduced-motion:reduce){.profile-page *{scroll-behavior:auto!important;transition:none!important}}
@media print{.profile-page{background:white}.profile-page .profile-shortcuts,.profile-page .top-actions,.profile-page #adminPreviewBanner{display:none!important}.profile-page main{max-width:none;padding:0}.profile-page #identity{break-inside:avoid;box-shadow:none}}
.profile-page .profile-shortcuts #bulletinAccountNav{margin:0!important}
.profile-page .profile-shortcuts #bulletinAccountNav>button{padding:20px!important;background:var(--tile)!important;color:var(--ink)!important;border:1px solid #efcfda!important;border-radius:17px!important;font-size:14px!important;box-shadow:0 3px 14px #24375303!important;align-items:flex-start!important}
.profile-page .profile-shortcuts #bulletinAccountNav>button:hover{border-color:var(--accent)!important;box-shadow:0 5px 18px #24375313!important}
@media(max-width:900px){.profile-page .profile-shortcuts #bulletinAccountNav>button{padding:18px!important}}
@media(max-width:560px){.profile-page .profile-shortcuts #bulletinAccountNav>button{padding:16px!important;font-size:13px!important}}
@media(min-width:1200px){.profile-shortcuts:has(>#mainPortalLink:not([hidden])){grid-template-columns:repeat(3,minmax(0,1fr))}}
