/* Shared design tokens and component finish for public pages and account desks. */
:root{
  --purple:#4c0abb;--pink:#4c0abb;--orange:#4c0abb;--ink:#27183f;--muted:#786e87;--line:#eae3f3;
  --head:'Manrope',sans-serif;--body:'DM Sans',sans-serif;
  --bs-primary:#4c0abb;--bs-primary-rgb:76,10,187;--bs-link-color:#4c0abb;--bs-link-hover-color:#39058f;
  --mmd-button-gradient:#4c0abb;--mmd-button-radius:10px;
}
body{font-family:var(--body);color:var(--ink)}
.site-theme{background:#fff}
.brand-accent{background:none;color:var(--purple)}
.h2-nav form{margin:0}
.h2-nav-signout{border:0;background:transparent;padding:0;color:inherit;font:inherit;font-weight:700}
.h2-nav-signout:hover{color:var(--purple)}
.btn-brand,.btn-primary{
  --bs-btn-bg:#4c0abb;--bs-btn-border-color:#4c0abb;
  --bs-btn-hover-bg:#39058f;--bs-btn-hover-border-color:#39058f;
  --bs-btn-active-bg:#39058f;--bs-btn-active-border-color:#39058f;
  --bs-btn-focus-shadow-rgb:76,10,187;
  background:#4c0abb;border-color:#4c0abb;border-radius:10px;box-shadow:none;
}
.btn-brand:hover,.btn-primary:hover,.btn-brand:active,.btn-primary:active{background:#39058f;border-color:#39058f;filter:none}
.btn-outline-brand,.btn-outline-primary{color:#4c0abb;border-color:#4c0abb;background:transparent;box-shadow:none;border-radius:10px}
.btn-outline-brand:hover,.btn-outline-primary:hover{color:#4c0abb;background:#f1e7ff;border-color:#4c0abb}
.form-control,.form-select{border-color:#dfd4ec;border-radius:10px;color:var(--ink)}
.form-control:focus,.form-select:focus{border-color:#9c77d1;box-shadow:0 0 0 .2rem #4c0abb18}
/* Shared upload controls, including Bootstrap's file-input hover state. */
:root input[type="file"]{max-width:100%;min-width:0;padding:8px;border:1px solid #dfd4ec;border-radius:10px;background:#faf7ff;color:var(--ink);font:inherit;line-height:1.5}
:root input[type="file"]::file-selector-button{margin:0 12px 0 0;padding:9px 14px;border:1px solid transparent;border-radius:7px;background:#4c0abb;color:#fff;font:inherit;font-weight:500;cursor:pointer;transition:background-color .15s ease}
:root input[type="file"]:not(:disabled):not([readonly]):hover::file-selector-button{background:#39058f;color:#fff}
:root input[type="file"]:not(:disabled):not([readonly]):active::file-selector-button{background:#2f0476;color:#fff}
:root input[type="file"]:focus-visible{outline:3px solid #b99aff;outline-offset:2px}
:root input[type="file"]:disabled,:root input[type="file"][readonly]{background:#f1edf6;color:#786e87;cursor:not-allowed}
:root input[type="file"]:disabled::file-selector-button,:root input[type="file"][readonly]::file-selector-button{background:#e3dbea;color:#65556f;cursor:not-allowed}
.form-check-input:checked{background-color:#4c0abb;border-color:#4c0abb}
.site-theme .page-hero,.site-theme .standard-banner,.site-theme .tour-banner{
  background:#faf7ff;border-bottom:1px solid #eae3f3;
}
.site-theme .page-hero .eyebrow,.site-theme .standard-banner .eyebrow{color:#4c0abb}
.site-theme .page-hero h1,.site-theme .standard-banner h1{letter-spacing:-.045em}
.site-theme .page-hero p,.site-theme .standard-banner p{color:#786e87}
.site-theme .auth-card{background:#fff;border:1px solid #eae3f3;border-top:4px solid #4c0abb;border-radius:16px;box-shadow:0 10px 35px #4c0abb08}
.site-theme .auth-stage{padding-top:38px;padding-bottom:48px}
.site-theme .skill-card,.site-theme .page-sidebar,.site-theme .skill-next-step{border-color:#eae3f3;border-radius:14px;box-shadow:none}
.site-theme .skill-card:hover{border-color:#c9b2e6;box-shadow:0 10px 26px #4c0abb0b}
.site-theme .page-sidebar,.site-theme .skill-next-step{background:#faf7ff}
.site-theme .skill-icon{background:#f1e8fb;color:#4c0abb}
.site-theme .text-link,.site-theme .skill-link{color:#4c0abb}
.site-theme .faq-accordion .accordion-item,.site-theme .standard-faq .accordion-item{border:1px solid #eae3f3;border-radius:12px;box-shadow:none}
.site-theme .accordion-button:not(.collapsed){background:#f6f1fc;color:#4c0abb;box-shadow:none}
.site-theme .accordion-button:focus{box-shadow:0 0 0 .2rem #4c0abb18}
.site-theme .faq-page{padding:76px 0 100px;background:#fcfaf7}
.site-theme .faq-page-layout{display:grid;grid-template-columns:minmax(0,1fr) 295px;align-items:start;gap:48px}
.site-theme .faq-page-main{min-width:0}
.site-theme .faq-page-intro{max-width:690px;margin-bottom:32px}
.site-theme .faq-page-intro .eyebrow,.site-theme .faq-page-help .eyebrow{color:#6122a8;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.site-theme .faq-page-intro h2{margin:12px 0;font-family:Manrope,sans-serif;font-size:clamp(28px,3vw,39px);line-height:1.2;letter-spacing:-.045em;color:#27183f}
.site-theme .faq-page-intro p{margin:0;color:#70667c;font-size:16px;line-height:1.7}
.site-theme .faq-page-list{display:grid;gap:12px}
.site-theme .faq-page-item{min-width:0;background:#fff;border:1px solid #e8dfec;border-radius:16px;box-shadow:0 4px 16px #30144706;overflow:hidden;transition:border-color .2s,box-shadow .2s}
.site-theme .faq-page-item:hover,.site-theme .faq-page-item[open]{border-color:#d6c0e8;box-shadow:0 10px 28px #3014470c}
.site-theme .faq-page-item[open]{background:#f6effb}
.site-theme .faq-page-item[open] summary,.site-theme .faq-page-item[open] .faq-page-answer{background:#f6effb}
.site-theme .faq-page-item summary{display:grid;grid-template-columns:32px minmax(0,1fr) 34px;align-items:center;gap:17px;padding:22px 24px;list-style:none;cursor:pointer;user-select:none;-webkit-user-select:none;caret-color:transparent}
.site-theme .faq-page-item summary::-webkit-details-marker{display:none}
.site-theme .faq-page-item summary:focus-visible{outline:3px solid #8751c8;outline-offset:-4px;border-radius:14px}
.site-theme .faq-page-number{align-self:start;padding-top:3px;color:#987cb2;font:800 13px Manrope,sans-serif;letter-spacing:.04em}
.site-theme .faq-page-question{color:#281b3a;font:700 17px/1.5 Manrope,sans-serif}
.site-theme .faq-page-icon{width:34px;height:34px;position:relative;border-radius:50%;background:#f3eafb;color:#5b16ad;transition:transform .2s,background .2s}
.site-theme .faq-page-icon::before,.site-theme .faq-page-icon::after{content:"";position:absolute;top:50%;left:50%;background:currentColor;border-radius:2px;transform:translate(-50%,-50%)}
.site-theme .faq-page-icon::before{width:12px;height:2px}
.site-theme .faq-page-icon::after{width:2px;height:12px;transition:transform .2s}
.site-theme .faq-page-item[open] .faq-page-icon{background:#5b16ad;color:#fff}
.site-theme .faq-page-item[open] .faq-page-icon::after{transform:translate(-50%,-50%) rotate(90deg)}
.site-theme .faq-page-answer{padding:0 75px 23px}
.site-theme .faq-page-answer p{margin:0;color:#675d73;font-size:15px;line-height:1.8;overflow-wrap:anywhere}
.site-theme .faq-page-help{position:sticky;top:28px;padding:30px;border:1px solid #e6d8f1;border-radius:20px;background:#f6effb}
.site-theme .faq-page-help h2{margin:13px 0;color:#28173e;font:800 24px/1.25 Manrope,sans-serif;letter-spacing:-.035em}
.site-theme .faq-page-help p{margin:0 0 24px;color:#675d73;font-size:15px;line-height:1.7}
.site-theme .faq-page-help .btn{width:100%;display:inline-flex;justify-content:center;align-items:center;gap:10px}
.site-theme .faq-page-help-note{display:block;margin-top:20px;color:#70667c;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.site-theme .faq-page-help-note a{color:#4c0abb;font-weight:700;text-decoration:underline;text-underline-offset:3px}
@media(max-width:900px){.site-theme .faq-page-layout{grid-template-columns:minmax(0,1fr) 240px;gap:26px}.site-theme .faq-page-help{padding:24px}}
@media(max-width:700px){.site-theme .faq-page{padding:55px 0 72px}.site-theme .faq-page-layout{grid-template-columns:1fr;gap:32px}.site-theme .faq-page-help{position:static}.site-theme .faq-page-intro{margin-bottom:26px}.site-theme .faq-page-item summary{gap:12px;padding:18px 17px;grid-template-columns:25px minmax(0,1fr) 32px}.site-theme .faq-page-question{font-size:15px}.site-theme .faq-page-answer{padding:0 61px 20px}.site-theme .faq-page-answer p{font-size:14px}.site-theme .faq-page-icon{width:32px;height:32px}}
@media(prefers-reduced-motion:reduce){.site-theme .faq-page-item,.site-theme .faq-page-icon,.site-theme .faq-page-icon::after{transition:none}}
.workspace-body{background:#faf8fd}
.workspace-header{border-bottom:2px solid #4c0abb;box-shadow:none}
.workspace-body .account-workspace,.workspace-body .account-main{background:#faf8fd}
.workspace-body .account-sidebar,.workspace-footer{border-color:#eae3f3}
.workspace-body .page-hero,.workspace-body .tour-banner{background:#f6f1fc}
.workspace-body .account-menu>a:hover,.workspace-body .account-menu>a.active{background:#f1e8fb;color:#4c0abb}
.workspace-body .admin-menu>.menu-heading{display:block;margin:18px 0 8px;padding:10px 12px;border-left:3px solid #6b2bb5;border-radius:0 8px 8px 0;background:#f4edf9;color:#4c0abb;font-size:11px;font-weight:800;letter-spacing:.1em}
.workspace-body .admin-menu>.menu-heading:first-child{margin-top:4px}
.workspace-body .admin-menu>.developer-menu{margin-top:14px;padding-top:12px;border-top:1px solid #e4d7ee}
.workspace-body .user-avatar,.workspace-avatar,.workspace-help>span,.role-badge{background:#f1e8fb;color:#4c0abb}
.workspace-body .student-panel,.workspace-body .student-metric,.workspace-body .admin-card,.workspace-body .desk-panel{border-color:#eae3f3;border-radius:14px;box-shadow:none}
.workspace-body .student-next-step{background:#f6f1fc;border-color:#eae3f3;border-radius:14px}
.workspace-body .nav-pills .nav-link.active{background:#4c0abb}
@media(max-width:900px){.h2-nav-signout{padding-block:8px}.site-theme .h2-nav{max-height:calc(100dvh - 110px);overflow-y:auto}}
@media(max-width:600px){.site-theme .auth-stage{padding-top:24px;padding-bottom:32px}}

/* Keep Bootstrap rows inside section containers at tablet and mobile widths. */
.site-theme .container.section-pad{padding-inline:12px}
.site-theme .skill-card{min-width:0;overflow-wrap:anywhere}

/* Homepage hero content editor. */
.hero-editor-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:24px}
.hero-editor-heading p{margin:12px 0 0}
.hero-editor-section{border-bottom:1px solid #eae3f3;padding-bottom:28px;margin-bottom:28px}
.hero-editor-section>h2{font-size:22px;margin:0 0 16px}
.hero-editor .form-label{font-size:14px;font-weight:600}
.hero-editor .form-hint{font-size:13px;line-height:1.7;color:#786e87}
.hero-editor-image-preview{overflow:hidden;border:8px solid #fff;border-radius:25px 25px 70px 25px;background:#f1e8f6;box-shadow:0 8px 30px #4c0abb0a}
.hero-editor-image-preview img{display:block;width:100%;height:350px;object-fit:cover}
.hero-editor-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px}
.hero-editor-actions p{width:100%;margin:0}
.custom-home-menu{margin:4px 0 4px 8px}
@media(max-width:767px){.hero-editor-heading{flex-direction:column}.hero-editor .admin-card{padding:20px 16px}.hero-editor-image-preview img{height:300px}}

/* Shared, non-destructive image crop used by the homepage and editor preview. */
.hero-crop-photo{position:absolute;max-width:none!important;object-fit:cover;user-select:none;-webkit-user-drag:none;pointer-events:none}
.hero-preview-modes{display:flex;gap:10px;margin-bottom:16px}
.hero-preview-modes button[aria-pressed=true]{background:#4c0abb;color:#fff}
.hero-photo-preview-host{position:relative;width:100%;max-width:530px;overflow:hidden}
.hero-photo-preview-frame{position:absolute;top:0;left:0;transform-origin:top left;cursor:grab;touch-action:none}
.hero-photo-preview-frame.is-dragging{cursor:grabbing}
.hero-photo-preview-frame:focus-visible{outline:3px solid #a984db;outline-offset:-3px}
.hero-photo-preview-frame .h2-photo-caption{pointer-events:none}
[data-student-zoom]{min-width:48px;font-size:14px}
.hero-highlight-editors{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}
.hero-highlight-editor{padding:clamp(18px,2vw,26px);border:1px solid #e6ddef;border-radius:16px;background:#fcfaff;min-width:0}
.hero-highlight-editor>h3{display:flex;align-items:center;gap:12px;font-size:18px;margin:0 0 20px;color:#29183e}
.hero-highlight-editor>h3::before{content:attr(data-number);display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:10px;background:#ede2fb;color:#4c0abb;font-size:14px;font-weight:800}
.hero-highlight-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:clamp(18px,2.5vw,32px)}
.hero-highlight-copy,.hero-highlight-media{min-width:0}
.hero-highlight-copy .form-control{width:100%}
.hero-highlight-editor .skill-image-editor{margin:0;padding:18px;border:1px solid #e8def0;border-radius:12px;background:#fff;min-width:0}
.hero-highlight-editor .skill-image-editor h2{font-size:16px;margin-bottom:6px}
.hero-highlight-editor .skill-image-editor .btn{white-space:normal;text-align:center}
.hero-highlight-editor .skill-image-editor canvas{max-width:100%;height:auto}
.hero-highlight-editor .selected-image-preview img{width:64px;height:64px;object-fit:contain}
.skill-image-editor[data-transparent-background=true] [data-crop-canvas]{max-width:256px;background:repeating-conic-gradient(#eee 0% 25%,#fff 0% 50%) 0 0/16px 16px}
.skill-image-editor .image-crop-stage{position:relative;width:max-content;max-width:100%;margin:14px 0}
.skill-image-editor .image-crop-stage canvas{display:block;max-width:min(100%,600px);height:auto;border:2px solid #4c0abb;border-radius:8px;box-shadow:0 0 0 5px #4c0abb1c;cursor:grab;touch-action:none}
.skill-image-editor .image-crop-stage canvas.is-dragging{cursor:grabbing}
.skill-image-editor .image-crop-stage canvas:focus-visible{outline:3px solid #9c77d1;outline-offset:5px}
.skill-image-editor .image-crop-guide{display:inline-block;margin-top:10px;padding:5px 8px;border-radius:6px;background:#27183f;color:#fff;font-size:11px;line-height:1.2}
.skill-image-editor[data-width="64"] .image-crop-stage canvas{width:256px;max-width:100%}
.skill-image-editor .image-zoom-controls{display:flex;align-items:center;gap:10px;max-width:460px}
.skill-image-editor .image-zoom-controls label{flex:1;min-width:0}
.skill-image-editor .image-zoom-controls button{flex:none;width:38px;height:38px;padding:0;font-size:20px;line-height:1}
.skill-image-editor .image-zoom-controls output{min-width:44px;text-align:right;font-size:13px;font-weight:700}
.skill-image-editor .crop-controls details{max-width:460px;border-top:1px solid #e6d9f0;padding-top:10px}
.skill-image-editor .crop-controls summary{cursor:pointer;color:#4c0abb;font-weight:700}
.skill-image-editor .crop-controls details label{display:block;margin-top:10px}
.skill-image-editor .image-url-details{margin-top:16px;border-top:1px solid #e6d9f0;padding-top:12px}
.skill-image-editor .image-url-details summary{cursor:pointer;color:#6e37a0;font-size:13px;font-weight:700}
.skill-image-editor .image-url-details .form-label{display:block;margin-top:12px}
.skill-image-editor .statistics-selected-preview .home-stat-icon{display:grid;place-items:center;width:43px;height:43px;margin-top:10px;border:1px solid #59436c;border-radius:13px;background:#342043}
.skill-image-editor .statistics-selected-preview .home-stat-icon img{display:block;width:26px;height:26px;margin:0;object-fit:contain;filter:none}
.skill-image-editor .crop-live-preview{display:flex;align-items:center;gap:12px;margin:12px 0 18px}
.skill-image-editor .crop-live-preview .home-stat-icon{display:grid;place-items:center;width:43px;height:43px;margin:0;border:1px solid #59436c;border-radius:13px;background:#342043}
.skill-image-editor .crop-live-preview .home-stat-icon img{display:block;width:26px;height:26px;object-fit:contain;filter:none}
.hero-editor .image-zoom-controls{display:flex;align-items:center;gap:10px}
.hero-editor .image-zoom-controls .form-range{flex:1;min-width:0;margin:0}
.hero-editor .image-zoom-controls button{flex:none;width:38px;height:38px;padding:0;font-size:20px;line-height:1}
.hero-editor .image-zoom-controls output{min-width:44px;text-align:right;font-size:13px;font-weight:700}
@media(max-width:1100px){.hero-highlight-fields{grid-template-columns:minmax(0,1fr)}}
@media(max-width:767px){.hero-highlight-editor{padding:16px}.hero-highlight-editor .skill-image-editor{padding:15px}}


/* Consistent breadcrumbs and neutral illustrated inner-page banners. */
.site-breadcrumb-wrap{background:#fff;border-bottom:1px solid #eee8f4;padding:19px 0}
.site-breadcrumb.about-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:0 auto;font-size:12px;line-height:1.6;color:#786e87}
.site-breadcrumb a{color:#786e87;text-decoration:none}.site-breadcrumb a:hover{color:#4c0abb;text-decoration:underline}.site-breadcrumb [aria-current=page]{color:#4c0abb;font-weight:700;overflow-wrap:anywhere}
.site-theme .page-hero,.site-theme .standard-banner,.site-theme .tour-banner,.site-theme .about-banner{position:relative;isolation:isolate;background:#fff url('/images/banners/learning.svg') no-repeat right center;background-size:cover;border-bottom:1px solid #eee8f4;overflow:hidden}
.site-theme .standard-banner.has-banner-image{background:#fff}.site-theme .standard-banner.has-banner-image:after{background:linear-gradient(90deg,#fff 20%,#fffffff2 55%,#ffffff80)}
@media(max-width:767px){.site-breadcrumb-wrap{padding:15px 0}.site-theme .page-hero,.site-theme .standard-banner,.site-theme .tour-banner,.site-theme .about-banner{background-position:65% center}.site-theme .standard-banner.has-banner-image:after{background:#fffffff2}}

/* Soft brand colour supports the neutral banner artwork. */
.site-theme .page-hero,.site-theme .standard-banner,.site-theme .tour-banner{background-color:#faf7ff}
.site-theme .standard-banner.has-banner-image{background-color:#faf7ff}
.site-theme .standard-banner.has-banner-image:after{background:linear-gradient(90deg,#faf7fff7 15%,#faf7ffeb 50%,#faf7ff55)}
@media(max-width:767px){.site-theme .standard-banner.has-banner-image:after{background:#faf7ffdf}}

/* Each public page has its own subject-specific artwork; other pages stay plain. */
.site-theme{--page-banner-art:none}
.site-theme[data-page="/about-us"]{--page-banner-art:url('/images/banners/about.svg')}
.site-theme[data-page="/contact-us"]{--page-banner-art:url('/images/banners/contact.svg')}
.site-theme[data-page="/faq"]{--page-banner-art:url('/images/banners/faq.svg')}
.site-theme[data-page="/skills"]{--page-banner-art:url('/images/banners/skills.svg')}
.site-theme[data-page="/privacy-policy"]{--page-banner-art:url('/images/banners/privacy.svg')}
.site-theme[data-page="/terms-of-use"]{--page-banner-art:url('/images/banners/terms.svg')}
.site-theme[data-page="/eula"]{--page-banner-art:url('/images/banners/license.svg')}
.site-theme .page-hero,.site-theme .standard-banner,.site-theme .tour-banner,.site-theme .about-page .about-banner{background-image:var(--page-banner-art)}
.site-theme .standard-banner.has-banner-image{background-image:none}

/* Colourful illustrations remain clear beside the banner copy. */
.site-theme .page-hero,.site-theme .standard-banner,.site-theme .tour-banner{background-color:#f2e9fc;background-size:cover;background-position:center;min-height:285px;display:flex;align-items:center}
.site-theme .page-hero>.container,.site-theme .standard-banner>.container,.site-theme .tour-banner>.container{position:relative;z-index:1}
.site-theme .page-hero h1,.site-theme .page-hero p{max-width:65%}
.site-theme .standard-banner.has-banner-image:after{background:linear-gradient(90deg,#f7f0ff 0%,#f7f0fff0 48%,transparent 72%)}
.site-theme .standard-banner .page-banner-image{object-position:center}
@media(max-width:767px){.site-theme .page-hero,.site-theme .standard-banner,.site-theme .tour-banner{min-height:330px;padding-top:30px;padding-bottom:140px;background-size:auto 330px;background-position:75% bottom}.site-theme .page-hero h1,.site-theme .page-hero p{max-width:100%}.site-theme .page-hero:after{content:'';position:absolute;inset:0;background:linear-gradient(#f7f0ff 0%,#f7f0fff0 52%,#f7f0ff55);z-index:0;pointer-events:none}.site-theme .standard-banner.has-banner-image:after{background:linear-gradient(#f7f0ff 0%,#f7f0fff0 52%,#f7f0ff55)}}

.skill-category-nav{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:42px}.skill-category-nav a{display:flex;align-items:center;gap:12px;border:1px solid #e3d4f2;border-radius:30px;padding:12px 20px;color:#4c0abb;font-weight:700;font-size:14px;background:#faf7ff}.skill-category-nav a:hover{background:#eee2fc}.skill-category-nav span{display:inline-grid;place-items:center;min-width:24px;height:24px;border-radius:50%;background:white;font-size:11px}.skill-category-section{scroll-margin-top:115px;margin-bottom:48px}.skill-category-section>header{display:flex;align-items:center;gap:16px;margin-bottom:22px}.skill-category-section h2{font-size:28px;margin:0}.skill-category-section>header>span{font-size:12px;color:#786e87}.skill-category-empty{padding:22px;background:#faf7ff;border:1px dashed #dfd1ef;border-radius:12px;font-size:14px}.skill-categories{padding-top:45px;padding-bottom:30px}@media(max-width:600px){.skill-category-nav{gap:8px}.skill-category-nav a{padding:9px 13px;font-size:12px}.skill-category-section h2{font-size:24px}}

/* Image-led skill catalogue and accessible search. */
.skills-catalog-search{display:flex;align-items:stretch;gap:8px;width:min(100%,560px);padding:7px;background:white;border:1px solid #d9c6ed;border-radius:14px;box-shadow:0 6px 20px #4c0abb08}
.skills-catalog-search:focus-within{outline:3px solid #4c0abb22;border-color:#976cca}.skills-catalog-search input{min-width:0;flex:1;border:0;background:transparent;border-radius:8px;padding:11px 13px;outline:none;font:inherit;font-size:14px;color:#27183f}.skills-catalog-search button{display:flex;align-items:center;justify-content:center;gap:9px;flex-shrink:0;border:0;border-radius:9px;background:#4c0abb;color:white;padding:12px 20px;font:inherit;font-weight:700;font-size:14px}.skills-catalog-search button:hover{background:#39058f}.skills-catalog-search button:focus-visible{outline:3px solid #a982dc;outline-offset:3px}
.skill-categories .skill-image-card{padding:0;overflow:hidden;display:flex;flex-direction:column}.skill-card-photo{aspect-ratio:5/3;background:#f0e6fc;overflow:hidden;flex-shrink:0}.skill-card-photo img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .2s ease}.skill-image-card:hover .skill-card-photo img{transform:scale(1.03)}.skill-card-copy{padding:20px;display:flex;flex-direction:column;flex:1}.skill-card-copy h3{font-size:19px;line-height:1.4;margin:0 0 10px}.skill-card-copy p{font-size:13px;line-height:1.75;flex:1;margin-bottom:18px}.skill-card-copy .skill-link{margin-top:auto}.admin-skill-thumbnail{display:block;width:80px;height:48px;object-fit:cover;border-radius:8px;border:1px solid #e8ddf2}
@media(max-width:600px){.skills-catalog-search{gap:4px;padding:5px}.skills-catalog-search input{padding:10px 8px;font-size:13px}.skills-catalog-search button{padding:10px 13px;font-size:13px;gap:6px}.skill-card-copy{padding:14px}.skill-card-copy h3{font-size:16px}}
@media(prefers-reduced-motion:reduce){.skill-card-photo img{transition:none}}

.skills-catalog-search button{min-height:44px}


/* Breadcrumbs belong to the banner, above its title. */
.site-breadcrumb-wrap.breadcrumb-in-banner{background:transparent;border:0;padding:0;margin:0 0 25px;position:relative;z-index:2}
.breadcrumb-in-banner .site-breadcrumb.about-breadcrumb{max-width:none;width:100%;padding:0;margin:0;font-size:12px}
.site-theme .page-hero:has(.breadcrumb-in-banner),.site-theme .standard-banner:has(.breadcrumb-in-banner),.site-theme .tour-banner:has(.breadcrumb-in-banner){padding-top:28px;padding-bottom:38px}
@media(max-width:767px){.site-breadcrumb-wrap.breadcrumb-in-banner{margin-bottom:20px}.site-theme .page-hero:has(.breadcrumb-in-banner),.site-theme .standard-banner:has(.breadcrumb-in-banner),.site-theme .tour-banner:has(.breadcrumb-in-banner){padding-top:22px;padding-bottom:140px}}

.skill-category-nav a.is-active,.skill-category-nav a[aria-selected=true]{background:#4c0abb;border-color:#4c0abb;color:#fff;box-shadow:0 8px 20px #4c0abb24}
.skill-category-nav a.is-active span,.skill-category-nav a[aria-selected=true] span{background:#fff;color:#4c0abb}
.skill-category-nav a:focus-visible{outline:3px solid #a978eb;outline-offset:3px}
.skill-category-section[hidden]{display:none}

/* Student navigation uses the same section and disclosure styles as admin. */
.workspace-body .student-menu>.menu-heading,.workspace-body .mentor-menu>.menu-heading{display:block;margin:18px 0 8px;padding:10px 12px;border-left:3px solid #6b2bb5;border-radius:0 8px 8px 0;background:#f4edf9;color:#4c0abb;font-size:11px;font-weight:800;letter-spacing:.1em}
.workspace-body .student-menu>.menu-heading:first-child,.workspace-body .mentor-menu>.menu-heading:first-child{margin-top:4px}

.student-menu-separator{border:0;border-top:1px solid #e4d7ee;margin:0 12px 8px;opacity:1;grid-column:1/-1}

/* Keep dashboard tutor suggestions readable within the workspace column. */
.student-desk .student-tutors{padding:24px;border:1px solid #eae3f3;border-radius:18px;background:#fff;min-width:0}
.student-tutors>.student-section-heading{align-items:flex-start;gap:20px;padding-bottom:20px;margin-bottom:22px;border-bottom:1px solid #eee7f3}
.student-tutors .student-section-heading>div{min-width:0}
.student-tutors .student-section-heading h2{margin-top:8px;line-height:1.3}
.student-tutors .student-section-heading p{line-height:1.6;max-width:560px}
.student-tutors .student-section-heading>.text-link{flex-shrink:0;align-self:center}
.student-desk .student-tutors .tutor-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:18px;align-items:stretch}
.student-desk .student-tutors .tutor-card{padding:22px;gap:12px;border:1px solid #eae3f3;border-radius:14px;box-shadow:none;min-width:0}
.student-tutors .tutor-avatar{width:64px;height:64px;flex-shrink:0;border-radius:50%;object-fit:cover}
.student-tutors .tutor-card>.eyebrow{font-size:10px;line-height:1.6;letter-spacing:.06em}
.student-tutors .tutor-card h3{font-size:20px;line-height:1.35}
.student-tutors .tutor-card>p{color:#72617f;font-size:14px;line-height:1.65}
.student-tutors .tutor-card>p:not(.tutor-meta){display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.student-tutors .tutor-card .tutor-meta{font-size:13px}
.student-tutors .tutor-prices{gap:8px;margin:2px 0 6px}
.student-tutors .tutor-prices:empty{display:none}
.student-tutors .tutor-prices span{padding:7px 10px;font-size:13px;line-height:1.5;border-radius:8px}
.student-tutors .tutor-card>.action-bar{display:flex;flex-wrap:wrap;gap:10px;margin-top:auto;padding-top:12px;border-top:1px solid #eee7f3}
.student-tutors .tutor-card>.action-bar>.btn{flex:1 1 110px;margin:0;min-height:42px;display:flex;align-items:center;justify-content:center;padding:10px 12px;font-size:13px;white-space:normal;text-align:center}
.student-desk .student-tutors>.student-empty{padding:24px;background:#faf8fd;border:1px dashed #dcccE9;border-radius:12px}
@media(max-width:600px){.student-desk .student-tutors{padding:18px}.student-tutors>.student-section-heading{flex-direction:column;gap:12px}.student-tutors .student-section-heading>.text-link{align-self:flex-start}.student-desk .student-tutors .tutor-card{padding:18px}}
/* Use a centered shape so the account arrow is independent of font baselines. */
.workspace-account-toggle .account-chevron{display:inline-flex;align-items:center;justify-content:center;align-self:center;flex:0 0 16px;width:16px;height:16px;line-height:1;margin:0;color:#766085}
.workspace-account-toggle .account-chevron::before{content:"";display:block;width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-2px) rotate(45deg)}

/* Shared attention indicator for every signed-in workspace role. */
.workspace-attention-toggle{position:relative;display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;padding:9px;border:1px solid #e9e1f1;border-radius:11px;background:#fff;color:#6a567a;flex-shrink:0}
.workspace-attention-toggle svg{width:22px;height:22px;flex-shrink:0}
.workspace-attention-toggle:hover,.workspace-attention-toggle[aria-expanded=true]{background:#f6f0fc;border-color:#cfb5e6}
.workspace-attention-toggle:focus-visible{outline:3px solid #b07dde;outline-offset:3px}
.workspace-attention-count{position:absolute;top:-7px;right:-8px;min-width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center;padding:0 5px;border:2px solid #fff;border-radius:20px;background:#bc2546;color:#fff;font-size:10px;font-weight:800;line-height:1}
.workspace-attention-count[hidden]{display:none}
.has-attention .workspace-attention-toggle{color:#a11d3a}
.has-attention .workspace-attention-toggle svg{animation:workspace-attention-pulse 1.8s ease-in-out infinite}
@keyframes workspace-attention-pulse{0%,100%{opacity:1}50%{opacity:.35}}
.workspace-attention-menu{width:330px;max-width:calc(100vw - 24px);max-height:70vh;overflow-y:auto;padding:12px;border:1px solid #e8ddef;border-radius:14px;box-shadow:0 14px 40px #3215461c}
.workspace-attention-menu h2{font-size:15px;letter-spacing:0;margin:4px 8px 12px}
.workspace-attention-item{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 10px;border-radius:9px;color:#554564;font-size:14px;line-height:1.5;white-space:normal}
.workspace-attention-item:hover,.workspace-attention-item:focus-visible{background:#f1e8fb;color:#4c0abb}
.workspace-attention-item>strong{flex-shrink:0;min-width:24px;text-align:center;padding:2px 6px;background:#fbe8ed;color:#a11d3a;border-radius:20px;font-size:12px}
.workspace-attention-empty{font-size:14px;margin:10px;color:#786487}
@media(max-width:767px){.workspace-attention-toggle{width:36px;height:36px;padding:7px}.workspace-attention-toggle svg{width:20px;height:20px}.workspace-attention-count{right:-5px;top:-6px}}
@media(prefers-reduced-motion:reduce){.has-attention .workspace-attention-toggle svg{animation:none}}
/* Compact, consistent content spacing inside all signed-in workspaces. */
.workspace-body :is(.section-pad,.admin-shell,.profile-settings,.student-desk,.profile-first-dashboard){padding-top:24px;padding-bottom:32px}
.workspace-body .account-main>.site-breadcrumb-wrap{padding-block:12px}
@media(max-width:767px){
  .workspace-body :is(.section-pad,.admin-shell,.profile-settings,.student-desk,.profile-first-dashboard){padding-top:18px;padding-bottom:24px}
  .workspace-body .account-main>.site-breadcrumb-wrap{padding-block:10px}
}
/* Skill detail banners lead into the selected learning interest. */
.site-theme .standard-banner .skill-banner-action{display:inline-flex;align-items:center;justify-content:center;gap:12px;max-width:100%;min-height:48px;margin-top:8px;padding:14px 22px;border-radius:10px;font-size:14px;line-height:1.5;text-align:left;white-space:normal}
.site-theme .skill-banner-action>span{flex-shrink:0;margin:0;font-size:18px;line-height:1}
@media(max-width:600px){.site-theme .standard-banner .skill-banner-action{padding:12px 18px;font-size:13px;min-height:46px}}
/* Balance the skill banner copy and its primary action. */
.site-theme .standard-banner.has-banner-action:has(.breadcrumb-in-banner){padding-block:28px 42px;min-height:260px}
.site-theme .standard-banner.has-banner-action>.container{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:40px;row-gap:12px;align-items:center}
.site-theme .standard-banner.has-banner-action .breadcrumb-in-banner{grid-column:1/-1;margin-bottom:6px}
.site-theme .standard-banner.has-banner-action h1{grid-column:1;margin:0;line-height:1.2}
.site-theme .standard-banner.has-banner-action p{grid-column:1;max-width:680px;margin:0;line-height:1.7}
.site-theme .standard-banner.has-banner-action .skill-banner-action{grid-column:2;grid-row:2/4;align-self:center;justify-self:end;margin:0;max-width:340px}
@media(max-width:900px){
  .site-theme .standard-banner.has-banner-action>.container{grid-template-columns:minmax(0,1fr);row-gap:16px}
  .site-theme .standard-banner.has-banner-action .skill-banner-action{grid-column:1;grid-row:auto;justify-self:start;margin-top:4px;max-width:100%}
  .site-theme .standard-banner.has-banner-action:has(.breadcrumb-in-banner){min-height:0;padding-block:24px 32px}
}
/* Separate booking and detail links without nesting interactive elements. */
.skill-categories .skill-card-photo{display:block}
.skill-categories .skill-card-copy h3>a{color:inherit}
.skill-categories .skill-card-copy h3>a:hover{color:var(--h2-purple,#4c0abb)}
.skill-tile-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding-top:2px}
.skill-categories .skill-tile-actions .skill-book-button{flex-shrink:0;min-height:40px;padding:9px 12px;border-radius:8px;font-size:12px;line-height:1.5;white-space:nowrap;box-shadow:none}
.skill-categories .skill-tile-actions .skill-link{display:inline-flex;align-items:center;justify-content:flex-end;gap:5px;min-height:40px;margin:0;text-align:right;font-size:12px;line-height:1.4;white-space:nowrap}
.skill-tile-actions .skill-link b{float:none}
@media(max-width:480px){.skill-categories .skill-card-copy{padding:12px}.skill-categories .skill-tile-actions{gap:5px}.skill-categories .skill-tile-actions .skill-book-button{font-size:11px;padding:8px}.skill-categories .skill-tile-actions .skill-link{font-size:11px;gap:3px}}
.skill-categories .skill-tile-actions .skill-learn-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:40px;padding:9px 12px;border:1px solid #e4d6f4;border-radius:8px;background:#f5effc;color:#4c0abb;font-size:12px;font-weight:700;line-height:1.5;white-space:nowrap}
.skill-categories .skill-tile-actions .skill-learn-button:hover{background:#eadef8;border-color:#ccb3e7;color:#39058f}
.skill-tile-actions .skill-learn-button b{float:none}
@media(max-width:480px){.skill-categories .skill-tile-actions .skill-learn-button{font-size:11px;padding:8px;gap:3px}}
@media(max-width:480px){.skill-categories .skill-tile-actions .skill-learn-button,.skill-categories .skill-tile-actions .skill-book-button{padding-inline:5px}.skill-tile-actions .skill-learn-button b{display:none}}
/* Give both skill tile actions an equal share of the row. */
.skill-categories .skill-tile-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:8px}
.skill-categories .skill-tile-actions .skill-learn-button,.skill-categories .skill-tile-actions .skill-book-button{display:inline-flex;align-items:center;justify-content:center;width:100%;min-width:0;min-height:42px;margin:0;padding:10px 6px;border:1px solid transparent;border-radius:8px;font-size:12px;line-height:1.5;text-align:center;white-space:normal}
.skill-categories .skill-tile-actions .skill-learn-button{border-color:#e4d6f4}
.skill-categories .skill-tile-actions .skill-learn-button:hover{border-color:#ccb3e7}
@media(max-width:480px){.skill-categories .skill-tile-actions{gap:6px}.skill-categories .skill-tile-actions .skill-learn-button,.skill-categories .skill-tile-actions .skill-book-button{font-size:11px;padding:9px 4px}}
.skill-categories .skill-tile-actions .skill-learn-button,.skill-categories .skill-tile-actions .skill-book-button{font-size:13px}
@media(max-width:480px){.skill-categories .skill-tile-actions .skill-learn-button,.skill-categories .skill-tile-actions .skill-book-button{font-size:12px}}
/* Skill article formatting and its admin editor use the same typography. */
.skill-formatted-content{overflow-wrap:anywhere;line-height:1.8}
.skill-formatted-content .skill-text-bold{font-weight:700}
.skill-formatted-content .skill-text-italic{font-style:italic}
.skill-formatted-content .skill-text-underline{text-decoration:underline}
.skill-formatted-content .skill-text-size-small{font-size:14px}
.skill-formatted-content .skill-text-size-normal{font-size:inherit}
.skill-formatted-content .skill-text-size-large{font-size:22px}
.skill-formatted-content .skill-text-size-xlarge{font-size:28px}
.skill-formatted-content .skill-align-left{text-align:left}
.skill-formatted-content .skill-align-center{text-align:center}
.skill-formatted-content .skill-align-right{text-align:right}
.skill-formatted-content>p{margin:0 0 18px;line-height:1.8}
.skill-formatted-content>h2{font-size:28px;line-height:1.35;margin:30px 0 14px}
.skill-formatted-content>h3{font-size:22px;line-height:1.4;margin:24px 0 12px}
.skill-formatted-content ul,.skill-formatted-content ol{margin-bottom:18px;padding-left:26px}
.skill-formatted-content li{margin-bottom:6px}
.skill-rich-editor{border:1px solid #ded6e7;border-radius:12px;background:#fff;overflow:hidden}
.skill-editor-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding:12px;background:#f8f4fc;border-bottom:1px solid #e5d9ef}
.skill-editor-toolbar>label{display:flex;align-items:center;gap:6px;margin:0 6px 0 0;font-size:12px;font-weight:600;color:#655276}
.skill-editor-toolbar .form-select{width:auto;min-height:36px;padding:6px 28px 6px 9px;font-size:12px;border-radius:7px}
.skill-editor-toolbar button{min-width:36px;min-height:36px;padding:6px 10px;border:1px solid #dfd3eb;border-radius:7px;background:#fff;color:#4c0abb;font-size:13px}
.skill-editor-toolbar button:hover,.skill-editor-toolbar button[aria-pressed=true]{background:#ece0fb;border-color:#b68edb}
.skill-editor-toolbar button:focus-visible,.skill-editor-toolbar select:focus-visible{outline:3px solid #bd94f3;outline-offset:2px}
.skill-editor-surface{min-height:360px;max-height:700px;overflow-y:auto;padding:24px;font-size:17px;color:#392747;outline:none}
.skill-editor-surface:focus{box-shadow:inset 0 0 0 2px #8c55c3}
.skill-editor-surface[aria-invalid=true]{box-shadow:inset 0 0 0 2px #b42318}
.skill-editor-surface[hidden],.skill-rich-editor textarea[hidden]{display:none}
.skill-rich-editor>.form-hint{display:block;margin:0;padding:8px 16px;font-size:12px;line-height:1.5}
.skill-rich-editor>[role=status]:empty{display:none}
@media(max-width:600px){.skill-editor-surface{padding:16px;min-height:280px}.skill-editor-toolbar{padding:9px}.skill-editor-toolbar>label{flex:1 1 140px}.skill-editor-toolbar .form-select{flex:1}.skill-formatted-content .skill-text-size-xlarge{font-size:26px}}
.skill-formatted-content{font-size:17px}
.skill-editor-surface font[size="1"],.skill-editor-surface font[size="2"]{font-size:14px}
.skill-editor-surface font[size="3"]{font-size:17px}
.skill-editor-surface font[size="4"],.skill-editor-surface font[size="5"]{font-size:22px}
.skill-editor-surface font[size="6"],.skill-editor-surface font[size="7"]{font-size:28px}
@media(max-width:600px){.skill-editor-surface font[size="6"],.skill-editor-surface font[size="7"]{font-size:26px}}
/* Explicit heading hierarchy also overrides generic admin-card heading styles. */
.skill-formatted-content h1{--skill-heading-size:36px}
.skill-formatted-content h2{--skill-heading-size:30px}
.skill-formatted-content h3{--skill-heading-size:26px}
.skill-formatted-content h4{--skill-heading-size:23px}
.skill-formatted-content h5{--skill-heading-size:20px}
.skill-formatted-content h6{--skill-heading-size:18px}
.skill-formatted-content> :is(h1,h2,h3,h4,h5,h6),.home-admin-page .skill-rich-editor .skill-editor-surface :is(h1,h2,h3,h4,h5,h6){font-size:var(--skill-heading-size);font-weight:750;line-height:1.35;margin:24px 0 12px;letter-spacing:-.025em}
.skill-editor-surface> :is(h1,h2,h3,h4,h5,h6):first-child{margin-top:0}
@media(max-width:600px){.skill-formatted-content h1{--skill-heading-size:32px}.skill-formatted-content h2{--skill-heading-size:28px}.skill-formatted-content h3{--skill-heading-size:24px}.skill-formatted-content h4{--skill-heading-size:22px}.skill-formatted-content h5{--skill-heading-size:20px}.skill-formatted-content h6{--skill-heading-size:18px}}
.skill-editor-link-panel{padding:16px;background:#fcf9ff;border-bottom:1px solid #e5d9ef}
.skill-editor-link-panel[hidden]{display:none}
.skill-link-fields{display:grid;grid-template-columns:1fr 1.4fr 1fr;gap:12px}
.skill-link-fields label{display:block;font-size:13px;font-weight:600}
.skill-link-fields input,.skill-link-fields select{margin-top:5px}
.skill-editor-link-panel .skill-link-new-tab{display:flex;align-items:center;gap:8px;font-size:13px;margin:12px 0}
.skill-editor-link-panel>.form-hint{display:block;margin-top:10px}
.skill-formatted-content a:not(.skill-content-button){color:#4c0abb;text-decoration:underline;text-underline-offset:3px}
.skill-formatted-content .skill-content-button{display:inline-flex;align-items:center;justify-content:center;max-width:100%;min-height:44px;margin:6px 8px 6px 0;padding:10px 18px;border-radius:9px;font-size:15px;font-weight:700;line-height:1.5;white-space:normal;text-decoration:none;vertical-align:middle}
@media(max-width:767px){.skill-link-fields{grid-template-columns:1fr}}

/* Keep profile submission feedback consistent with portal cards. */
.workspace-body .profile-first-dashboard{padding-top:20px;padding-bottom:28px}
.profile-first-dashboard .profile-priority{padding:24px;border:1px solid #e4d8f1;border-top:3px solid #7828c4;border-radius:16px;box-shadow:0 4px 18px #6327a008}
.profile-first-dashboard .profile-priority .eyebrow{display:block;margin:0 0 12px;font-size:12px;line-height:1.5;letter-spacing:.06em}
.profile-first-dashboard .profile-priority-welcome{margin:0 0 8px;font-size:14px;line-height:1.5}
.profile-first-dashboard .profile-priority h1{font-size:28px;line-height:1.25;margin:0 0 12px}
.profile-first-dashboard .profile-priority>p{font-size:15px;line-height:1.6;margin-bottom:16px}
.profile-first-dashboard .profile-priority-progress{align-items:center;margin:20px 0 8px;font-size:14px}
.profile-first-dashboard .profile-priority-progress>strong{font-weight:600}
.profile-first-dashboard .profile-priority-progress>span{font-size:18px;font-weight:600}
.profile-first-dashboard .profile-priority .profile-progress{height:6px}
.profile-first-dashboard .profile-priority>p.profile-priority-lock-note{padding:12px 14px;margin:16px 0;font-size:14px;font-weight:500;line-height:1.6;border-radius:10px}
.profile-first-dashboard .profile-priority>.btn{margin:0 0 8px;min-height:44px;font-size:14px}
.profile-first-dashboard .profile-priority>small{font-size:13px;line-height:1.5}
.profile-first-dashboard .profile-locked-features{gap:12px;margin-top:16px}
.profile-first-dashboard .profile-locked-feature{padding:16px;border-radius:12px;background:#f8f6fb}
.profile-first-dashboard .profile-locked-feature>span{font-size:16px;margin-bottom:8px}
.profile-first-dashboard .profile-locked-feature>strong{font-size:14px;font-weight:500;line-height:1.5;margin-bottom:4px}
.profile-first-dashboard .profile-locked-feature>small{font-size:12px}
.profile-first-dashboard .profile-priority-support{margin:16px 0 0;font-size:13px;line-height:1.6}
@media(max-width:767px){.workspace-body .profile-first-dashboard{padding-top:16px;padding-bottom:24px}.profile-first-dashboard .profile-priority{padding:20px 16px}.profile-first-dashboard .profile-priority h1{font-size:24px}.profile-first-dashboard .profile-locked-features{gap:10px}.profile-first-dashboard .profile-locked-feature{padding:12px 14px}}
.workspace-body:has(.student-menu,.mentor-menu){--portal-header-height:58px}
.workspace-body:has(.student-menu,.mentor-menu) .workspace-header{height:var(--portal-header-height);gap:10px;padding-inline:16px}
.workspace-body:has(.student-menu,.mentor-menu) .workspace-brand{flex:0 1 auto;font-size:18px}
.workspace-body:has(.student-menu,.mentor-menu) .workspace-brand img{width:32px;height:32px}
.workspace-body:has(.student-menu,.mentor-menu) .workspace-header-actions{gap:8px;min-width:0}
.workspace-body:has(.student-menu,.mentor-menu) :is(.workspace-menu-toggle,.workspace-attention-toggle,.workspace-account-toggle){min-height:36px;height:36px;border-radius:9px}
.workspace-body:has(.student-menu,.mentor-menu) .workspace-attention-toggle{width:36px;padding:6px}
.workspace-body:has(.student-menu,.mentor-menu) .workspace-attention-toggle svg{width:18px;height:18px}
.workspace-body:has(.student-menu,.mentor-menu) .workspace-account-toggle{gap:6px;padding:3px 6px}
.workspace-body:has(.student-menu,.mentor-menu) .workspace-account-toggle .workspace-avatar{width:26px;height:26px;border-radius:7px;font-size:13px}
.workspace-body:has(.student-menu,.mentor-menu) .account-sidebar{top:var(--portal-header-height);height:calc(100dvh - var(--portal-header-height));max-height:calc(100dvh - var(--portal-header-height))}
.workspace-body:has(.student-menu,.mentor-menu) :is(.account-workspace,.workspace-main-column){min-height:calc(100dvh - var(--portal-header-height))}
@media(max-width:767px){
    .workspace-body:has(.student-menu,.mentor-menu) .workspace-header{padding-inline:8px;gap:6px}
    .workspace-body:has(.student-menu,.mentor-menu) .workspace-header-actions{gap:6px;flex-shrink:1}
    .workspace-body:has(.student-menu,.mentor-menu) .workspace-menu-toggle{width:36px}
    .workspace-body:has(.student-menu,.mentor-menu).workspace-menu-open::before{top:var(--portal-header-height)}
}
@media(max-width:480px){
    .workspace-body:has(.student-menu,.mentor-menu) .workspace-brand>span,
    .workspace-body:has(.student-menu,.mentor-menu) .workspace-account-toggle :is(strong,.account-chevron){display:none}
    .workspace-body:has(.student-menu,.mentor-menu) .workspace-class-clock{font-size:.7rem;padding-inline:.35rem}
}

/* Use the available workspace width for top-level portal pages. */
.workspace-body .account-main > .container,
.workspace-body .account-main > section > .container,
.workspace-body .account-main > .site-breadcrumb-wrap > .container {
    max-width: none;
    padding-inline: 28px;
}
@media (max-width: 767px) {
    .workspace-body .account-main > .container,
    .workspace-body .account-main > section > .container,
.workspace-body .account-main > .site-breadcrumb-wrap > .container {
        padding-inline: 18px;
    }
}
dialog.image-crop-dialog,dialog#photo-crop.image-crop-dialog{
    position:fixed;inset:0;margin:auto;box-sizing:border-box;width:min(680px,calc(100% - 24px));
    height:fit-content;min-height:0;max-height:calc(100dvh - 24px);overflow:auto;
    padding:clamp(14px,3vw,24px);border:1px solid #e8e1ef;border-radius:16px;background:#fff;
    color:#272034;box-shadow:0 20px 64px #27134244;
}
dialog#photo-crop.image-crop-dialog{width:min(480px,calc(100% - 24px))}
.image-crop-dialog::backdrop{background:#21133588}
.image-crop-dialog canvas{max-width:100%;max-height:48dvh;width:auto;height:auto;object-fit:contain}
.image-crop-dialog [role=status]:empty{display:none}
dialog.image-crop-dialog,dialog#photo-crop.image-crop-dialog{
    inset:16px 0;
    max-height:calc(100dvh - 32px);
    overscroll-behavior:contain;
}
.image-crop-dialog canvas{max-height:min(40dvh,320px)}
.image-crop-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px;margin-top:14px}
.image-crop-actions>.btn{display:inline-flex;justify-content:center;align-items:center;margin:0;min-height:40px}
@media(max-width:480px){.image-crop-actions>.btn{flex:1 1 auto}}
.student-menu .student-sidebar-divider{display:block;margin:10px 0 2px;padding:10px 12px 3px;border-top:1px solid #e9e1f1;color:#62576e;font-size:.75rem;font-weight:750;grid-column:1/-1}
.workspace-body .student-menu{display:flex;flex-direction:column;gap:3px}
.workspace-body .student-menu .student-sidebar-divider{
    margin:14px 0 4px;padding:8px 10px;border:0;border-radius:7px;
    background:#f1e9fa;color:#492178;font-size:.75rem;font-weight:800;letter-spacing:.025em;
}
.workspace-body .student-menu>a,.workspace-body .student-menu>.menu-disabled{
    min-height:36px;padding:7px 10px;gap:6px;border-radius:7px;
    color:#392e46;font-size:.84rem;line-height:1.35;overflow-wrap:anywhere;
}
.workspace-body .student-menu>a:is(.active,[aria-current="page"]){
    background:#eadefb;color:#421080;box-shadow:inset 3px 0 #6429a8;font-weight:750;
}
.workspace-body .student-menu>.menu-disabled{color:#665a73}
.workspace-body .student-menu>a,.workspace-body .student-menu>.menu-disabled{
    display:flex;justify-content:flex-start;align-items:center;gap:9px;font-size:.9rem;min-height:38px;
}
.student-sidebar-icon{width:17px;height:17px;flex:0 0 17px;color:#735794}
.student-sidebar-label{flex:1;min-width:0}
.workspace-body .student-menu>a:is(.active,[aria-current="page"]){background:#e8dafb;color:#421080}
.student-menu>a:is(.active,[aria-current="page"]) .student-sidebar-icon{color:currentColor}
.student-menu-toggle{align-self:flex-end;display:grid;place-items:center;width:36px;height:36px;padding:7px;border:1px solid #e6dced;border-radius:8px;background:#faf7ff;color:#5425a6}
.student-menu-toggle svg{width:20px;height:20px}
.account-sidebar:has(.student-menu) .sidebar-signout button{display:flex;align-items:center;gap:9px}
@media(min-width:768px){
    .workspace-body:has(.student-menu) .workspace-header .workspace-menu-toggle{display:none}
    .workspace-body.workspace-menu-collapsed:has(.student-menu) .account-workspace{grid-template-columns:64px minmax(0,1fr)}
    .workspace-menu-collapsed .account-sidebar:has(.student-menu){padding-inline:8px}
    .workspace-menu-collapsed :is(.student-sidebar-label,.student-sidebar-divider,.account-sidebar:has(.student-menu) .sidebar-profile-note){display:none}
    .workspace-menu-collapsed .student-menu :is(a,.menu-disabled),.workspace-menu-collapsed .account-sidebar:has(.student-menu) .sidebar-signout button{position:relative;justify-content:center;width:100%;padding-inline:0}
    .workspace-menu-collapsed .student-menu .menu-disabled>span[aria-hidden]{display:none}
    .workspace-menu-collapsed .student-menu-toggle{align-self:center}
    .workspace-menu-collapsed .student-menu-toggle svg{transform:scaleX(-1)}
    .workspace-menu-collapsed .student-menu a>.badge{position:absolute;inset-block-start:0;inset-inline-end:0;font-size:.6rem}
}
.workspace-body:not(.workspace-menu-collapsed) .student-menu{position:relative}
.workspace-body:not(.workspace-menu-collapsed) .student-menu>.student-menu-toggle{
    position:absolute;inset-block-start:3px;inset-inline-end:0;width:32px;height:32px;padding:5px;
}
.workspace-body:not(.workspace-menu-collapsed) .student-menu>.student-menu-toggle+a{margin-inline-end:39px}
.student-menu-toggle{
    border:1px solid #e8def3;border-radius:8px;background:#f5effc;color:#5425a6;
    transition:background-color .15s,border-color .15s;
}
.student-menu-toggle:hover{background:#eadefb;border-color:#d3bcea}
.student-menu-toggle:focus-visible{outline:2px solid #6429a8;outline-offset:2px}
.student-menu-toggle svg{display:none}
.student-menu-toggle::before{
    content:"";width:9px;height:9px;border:solid currentColor;border-width:0 0 2px 2px;
    transform:translateX(2px) rotate(45deg);
}
.student-menu-toggle[aria-expanded="false"]::before{transform:translateX(-2px) rotate(225deg)}


.workspace-body .admin-menu :is(summary,.homepage-menu a) { display:flex;align-items:center;gap:9px;min-height:38px;border-radius:8px; }
.workspace-body .admin-menu summary { cursor:pointer; }
.workspace-body .admin-menu summary::-webkit-details-marker { display:none; }
.workspace-body .admin-menu .admin-menu-chevron { margin-inline-start:auto; }
.workspace-body .admin-menu .homepage-menu a.active { background:#e8dafb;color:#421080; }
.workspace-body .admin-menu summary:focus-visible { outline:2px solid #6429a8;outline-offset:-2px; }
@media (min-width:768px) {
    .workspace-menu-collapsed .admin-menu :is(.homepage-menu,.homepage-menu > div) { margin-inline:0;padding-inline:0; }
    .workspace-menu-collapsed .admin-menu .homepage-menu summary { justify-content:center;padding-inline:0; }
    .workspace-menu-collapsed .admin-menu .admin-menu-chevron { display:none; }
}
