/* A calmer editorial layer for the public learning journey. */
:root{--polish-line:#dbe5f1;--polish-text:#334963}
/* Shared public surface: the studio renders this exact component in its own viewport. */
.page[data-page="home"] .hero-wrap{background:radial-gradient(circle at 82% 12%,#e7f0ff 0,transparent 37%),linear-gradient(120deg,#fff 2%,#fff8f1 68%,#f4f8ff)}
.page[data-page="home"] .hero{min-height:540px;gap:clamp(30px,5vw,82px)}
.page[data-page="home"] .hero-copy h1{max-width:720px;font-size:clamp(2.65rem,4.3vw,4.55rem);line-height:1.1;letter-spacing:-.05em}
.page[data-page="home"] .hero-copy>p{max-width:570px;font-size:clamp(1rem,1.3vw,1.13rem);line-height:1.7}
.page[data-page="home"] .hero-stats{box-shadow:none;border-color:var(--polish-line);margin-top:32px}
.page[data-page="home"] .hero-stats b{font-size:1.65rem;line-height:1.1}
.page[data-page="home"] .hero-stats span{font-size:.82rem;color:var(--polish-text)}
.subject-home.section-space{padding-block:clamp(42px,6vw,72px)}
.subject-home>.section-heading{margin-bottom:24px}
.subject-home>.section-heading h2{font-size:clamp(1.7rem,3vw,2.45rem);line-height:1.2}
.subject-home>.section-heading p{max-width:680px;font-size:1rem;line-height:1.65}
.subject-panel{box-shadow:0 12px 36px rgba(26,66,112,.06)}
.subject-panel .subject-panel-intro{padding:clamp(20px,3vw,30px)}
.subject-panel-intro p{max-width:65ch;font-size:1rem;line-height:1.65}
.subject-panel-block .section-heading{gap:16px}
.subject-panel-block .topic-card,.subject-panel-block .announcement-card{box-shadow:none;border-color:var(--polish-line)}
.subject-panel-block .topic-card p,.subject-panel-block .announcement-card p{font-size:.92rem;line-height:1.6;color:var(--polish-text)}
.subject-panel-block .topic-foot button,.subject-panel-block .text-link{font-weight:700}
.student-workspace-card p{font-size:.94rem;line-height:1.6}
.student-workspace-card h3{font-size:1.1rem}
.student-card-kicker{font-size:.76rem;letter-spacing:.08em}
.overview-welcome p,.teacher-subject-summary p{font-size:.96rem;line-height:1.6}
.overview-shortcuts small,.teacher-subject-cards small{font-size:.85rem;line-height:1.5}
.announcement-band[hidden]{display:none!important}
.page-title p{font-size:1rem;line-height:1.6}
.search-box input{min-width:0}

/* Subject discovery: compact navigation, editorial update, learning cards. */
.subject-quick-nav{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 20px}
.subject-quick-nav .nav-subject{display:inline-flex;align-items:center;gap:10px;min-height:46px;padding:10px 16px;border-radius:999px;font:inherit;font-size:.9rem;font-weight:700;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease}
.subject-quick-nav .nav-subject:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(20,59,112,.1)}
.subject-quick-nav .nav-subject[aria-current="true"]{background:var(--subject-ink);border-color:var(--subject-ink);color:#fff;box-shadow:0 7px 18px rgba(20,59,112,.15)}
.subject-quick-nav .nav-subject[aria-current="true"]::before{background:#fff;box-shadow:none}
.subject-quick-nav .nav-subject:focus-visible{outline:3px solid #b94b00;outline-offset:3px}
.subject-surface{padding:clamp(18px,2.6vw,32px);border:1px solid var(--polish-line);border-radius:24px;background:#fff;box-shadow:0 20px 55px rgba(22,60,105,.07)}
.subject-surface .subject-panel-intro{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:24px;row-gap:6px;min-height:160px;padding:clamp(22px,3vw,34px);border:1px solid var(--subject-border);border-radius:18px;background:linear-gradient(110deg,var(--subject-bg),#fff 90%)}
.subject-surface .subject-panel-intro .eyebrow,.subject-surface .subject-panel-intro h3,.subject-surface .subject-panel-intro p{grid-column:1;max-width:68ch}
.subject-surface .subject-panel-intro .eyebrow{font-size:.78rem;letter-spacing:.1em}
.subject-surface .subject-panel-intro h3{margin:2px 0;color:var(--subject-ink);font-size:clamp(1.55rem,2.6vw,2.25rem);line-height:1.18;letter-spacing:-.035em}
.subject-surface .subject-panel-intro p{margin:0;color:var(--subject-ink);font-size:.98rem;line-height:1.6}
.subject-surface .subject-intro-action{grid-column:2;grid-row:1/4;min-height:46px;padding:11px 18px;border-radius:12px;background:var(--subject-ink);color:#fff;white-space:nowrap;font-size:.88rem;font-weight:700}
.subject-surface .subject-intro-action:hover{filter:brightness(.9)}
.subject-surface .subject-panel-block{margin-top:clamp(28px,3.5vw,44px)}
.subject-surface .subject-panel-block .section-heading{margin-bottom:16px}
.subject-surface .subject-panel-block h3{color:#153b73;font-size:clamp(1.3rem,2vw,1.65rem);letter-spacing:-.025em}
.subject-surface .announcement-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.subject-surface .announcement-card{position:relative;display:flex;flex-direction:column;min-height:180px;padding:24px;border:1px solid var(--subject-border);border-radius:16px;background:linear-gradient(125deg,#fff 45%,var(--subject-bg));box-shadow:none}
.subject-surface .announcement-card:only-child{grid-column:1/-1;min-height:170px;padding-right:min(28%,260px)}
.subject-surface .announcement-card:only-child::after{content:"";position:absolute;right:7%;top:50%;width:86px;height:86px;transform:translateY(-50%) rotate(-10deg);border:1px solid var(--subject-border);border-radius:22px;background:linear-gradient(135deg,#fff,var(--subject-bg));box-shadow:12px 12px 0 var(--subject-border);pointer-events:none}
.subject-surface .announcement-card .kind{align-self:flex-start;margin:0 0 18px;padding:6px 11px;border-radius:999px;background:var(--subject-bg);color:var(--subject-ink);font-size:.76rem;font-weight:800}
.subject-surface .announcement-card h4{margin:0 0 9px;color:#153b73;font-size:clamp(1.1rem,1.5vw,1.35rem);line-height:1.35}
.subject-surface .announcement-card p{max-width:70ch;margin:0;color:#415873;font-size:.94rem;line-height:1.65}
.subject-surface .announcement-card time{margin-top:auto;padding-top:12px;color:#596f86;font-size:.8rem}
.subject-surface .topic-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.subject-surface .topic-card{display:flex;flex-direction:column;min-width:0;min-height:250px;padding:22px;border:1px solid var(--polish-line);border-radius:16px;background:#fff;box-shadow:none;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.subject-surface .topic-card:hover{transform:translateY(-3px);border-color:var(--subject-border);box-shadow:0 14px 30px rgba(22,60,105,.1)}
.subject-surface .topic-icon{width:44px;height:44px;margin-bottom:15px;border-radius:12px;font-size:.82rem}
.subject-surface .topic-card .tag{align-self:flex-start;margin:0 0 4px;font-size:.72rem}
.subject-surface .topic-card h4{margin:8px 0;color:#153b73;font-size:1.08rem;line-height:1.4}
.subject-surface .topic-card p{margin:0 0 14px;color:#52677f;font-size:.88rem;line-height:1.6}
.subject-surface .topic-foot{margin-top:auto;padding-top:14px;border-top:1px solid #e6edf5;gap:10px}
.subject-surface .topic-foot span{font-size:.8rem;color:#52677f}
.subject-surface .topic-foot button{min-height:44px;padding:7px 0;color:var(--subject-ink);font-size:.85rem;font-weight:800;text-align:right}
.subject-surface .admin-empty{grid-column:1/-1;padding:25px;border:1px dashed var(--polish-line);border-radius:14px;background:#f8fbff;color:#52677f}
@media(max-width:850px){.subject-surface .topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.subject-surface .subject-panel-intro{grid-template-columns:1fr}.subject-surface .subject-intro-action{grid-column:1;grid-row:auto;justify-self:start;margin-top:12px}}
@media(max-width:620px){.subject-quick-nav{flex-wrap:nowrap;overflow-x:auto;margin-inline:-16px;padding:2px 16px 12px;scrollbar-width:thin}.subject-quick-nav .nav-subject{flex:0 0 auto;white-space:nowrap}.subject-surface{padding:16px;border-radius:18px}.subject-surface .subject-panel-intro{min-height:0;padding:22px 18px}.subject-surface .announcement-grid,.subject-surface .topic-grid{grid-template-columns:1fr}.subject-surface .announcement-card:only-child{padding-right:24px}.subject-surface .announcement-card:only-child::after{display:none}.subject-surface .topic-card{min-height:0}.subject-surface .subject-panel-block{margin-top:30px}}
@media(prefers-reduced-motion:reduce){.subject-quick-nav .nav-subject,.subject-surface .topic-card{transition:none}.subject-surface .topic-card:hover,.subject-quick-nav .nav-subject:hover{transform:none}}

/* Published design choices take precedence over the default subject palette. */
.subject-surface[class*="design-layout-"]{background:var(--design-bg);--subject-accent:var(--design-accent);--subject-ink:var(--design-accent);--subject-bg:color-mix(in srgb,var(--design-accent) 8%,white);--subject-border:color-mix(in srgb,var(--design-accent) 23%,#dce5ee)}
.subject-surface.design-layout-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;align-items:start}
.subject-surface.design-layout-grid .subject-panel-intro,.subject-surface.design-layout-grid .subject-custom-block{grid-column:1/-1}
.subject-surface.design-layout-grid .topic-grid{grid-template-columns:1fr}
.subject-surface.design-layout-compact .topic-grid,.subject-surface.design-layout-compact .announcement-grid{grid-template-columns:1fr}
.subject-surface.design-layout-compact .topic-card{min-height:0}
.subject-surface.design-density-compact{padding:18px}
.subject-surface.design-density-compact .subject-panel-block{margin-top:20px}
.subject-surface.design-density-compact .topic-card,.subject-surface.design-density-compact .announcement-card{padding:16px;min-height:0}
.subject-surface.design-card-soft .topic-card,.subject-surface.design-card-soft .announcement-card{box-shadow:0 8px 24px rgb(22 60 105 / .06)}
.subject-surface.design-card-outline .topic-card,.subject-surface.design-card-outline .announcement-card{border:2px solid var(--subject-border);box-shadow:none}
.subject-surface.design-card-flat .topic-card,.subject-surface.design-card-flat .announcement-card{border-color:transparent;box-shadow:none;background:color-mix(in srgb,var(--design-bg) 50%,white)}
@media(max-width:800px){.subject-surface.design-layout-grid{display:block}}

/* Design studio: focused controls beside a real, isolated public viewport. */
.design-studio{gap:24px;min-width:0;--studio-ease:cubic-bezier(.22,1,.36,1)}
.design-studio-head{padding:26px;border:1px solid #dbe5f1;border-radius:20px;background:radial-gradient(ellipse at 95% 0,#e6efff,transparent 55%),#fff;box-shadow:0 10px 28px rgb(20 59 112 / .04)}
.design-studio-head h2{font-size:clamp(1.45rem,2.5vw,2rem);letter-spacing:-.035em}
.design-studio-head p{font-size:.9rem;line-height:1.7;max-width:64ch}
.design-studio-head>label{display:grid;gap:8px;font-size:.8rem}
.design-studio-grid{grid-template-columns:minmax(260px,320px) minmax(0,1fr);gap:24px}
.design-controls fieldset{padding:20px;border-radius:16px;box-shadow:0 4px 18px rgb(20 59 112 / .025);transition:border-color .2s,box-shadow .2s}
.design-controls fieldset:focus-within{border-color:#99b8dc;box-shadow:0 0 0 3px #edf3fc}
.design-controls legend{color:#173b6b;font-size:.85rem;letter-spacing:-.015em}
.design-controls label{font-size:.8rem}
.design-controls input:not([type="checkbox"]),.design-controls select,.design-controls textarea{font-size:.85rem;transition:border-color .18s,box-shadow .18s}
.design-controls :is(input,select,textarea):focus-visible,.design-studio-head select:focus-visible{outline:3px solid #f6c6a4;outline-offset:2px}
.design-preview-wrap{min-width:0;position:sticky;top:20px;padding:0;overflow:hidden;border-radius:20px;background:#eef3fa;box-shadow:0 20px 55px rgb(20 59 112 / .08)}
.design-preview-head{margin:0;padding:20px;background:#fff;align-items:center}
.design-preview-head>div{gap:5px}
.design-preview-head strong{font-size:1rem;letter-spacing:-.02em}
.design-preview-head small{font-size:.75rem}
.design-live-label{display:flex;align-items:center;gap:7px;color:#356953;font-size:.64rem;font-weight:800;letter-spacing:.12em}
.design-live-label i{width:7px;height:7px;background:#29805b;border-radius:50%;box-shadow:0 0 0 4px #e9f5ee}
#designDirtyState{padding:7px 10px;border-radius:999px;background:#edf5f1;color:#27654c;font-size:.69rem;white-space:nowrap}
#designDirtyState[data-dirty="true"]{background:#fff1e5;color:#a24407}
.design-device-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 16px;border-block:1px solid #e1e9f3;background:#fff}
.design-device-toolbar>div{display:flex;gap:4px;padding:4px;border-radius:12px;background:#f0f4fa}
.design-device-toolbar button{min-height:44px;padding:9px 12px;border:0;border-radius:9px;background:transparent;color:#52677f;font-size:.75rem;font-weight:700;transition:background .18s,color .18s,box-shadow .18s}
.design-device-toolbar button[aria-pressed="true"]{background:#fff;color:#173b6b;box-shadow:0 2px 8px rgb(20 59 112 / .1)}
.design-device-toolbar button:hover{background:#e8eff9;color:#173b6b}
.design-device-toolbar button:focus-visible{outline:3px solid #b94b00;outline-offset:2px}
.design-browser-bar{display:flex;align-items:center;gap:12px;padding:13px 16px;color:#73859b;background:#edf2f9}
.design-browser-bar>span{font-size:9px;letter-spacing:3px;color:#8496ad;white-space:nowrap}
.design-browser-bar small{font-size:.65rem}
#designViewportSize{margin-left:auto;white-space:nowrap;font-variant-numeric:tabular-nums}
.design-preview-stage{position:relative;min-height:200px;width:100%;overflow:hidden;background:#f7f9fd}
.design-preview-stage iframe{position:absolute;left:0;top:0;display:block;width:1440px;border:0;transform-origin:top left;max-width:none;background:#f7f9fd}
.design-preview-caption{padding:14px 20px;margin:0;color:#52677f;font-size:.73rem;line-height:1.6;background:#fff;border-top:1px solid #e1e9f3}
.design-studio-actions{bottom:12px;padding:16px 20px;border-radius:16px;box-shadow:0 10px 32px rgb(20 59 112 / .1);backdrop-filter:blur(14px)}
.design-custom-card-head button{min-width:44px;min-height:44px}
.design-custom-card-head{flex-wrap:wrap}
.design-studio.preview-expanded .design-studio-grid{grid-template-columns:1fr}
.design-studio.preview-expanded .design-controls{display:none}
.design-studio.preview-expanded .design-preview-wrap{position:static}
@media(max-width:1100px){.design-studio-grid{grid-template-columns:1fr}.design-preview-wrap{position:static}.design-studio-head{align-items:start;flex-direction:column}.design-studio-head>label{width:100%}}
@media(max-width:620px){.design-studio-head{padding:20px}.design-preview-head{padding:16px;align-items:start;flex-direction:column}.design-device-toolbar{padding:10px;flex-wrap:wrap}.design-device-toolbar>div{flex:1}.design-device-toolbar>div button{flex:1}.design-browser-bar{gap:8px;padding:10px}.design-browser-bar small{font-size:.6rem}.design-browser-bar>span{display:none}.design-studio-actions{position:static;padding:16px}.design-studio-actions>div{grid-template-columns:1fr}.design-studio-actions [data-design-action="restore"]{grid-column:auto}}

/* Motion signals entry and interaction, with no perpetual movement. */
@keyframes learning-enter{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}
@keyframes studio-enter{from{opacity:0;transform:translateY(10px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(prefers-reduced-motion:no-preference){
  .page.active[data-page="home"] .hero-copy{animation:learning-enter .65s cubic-bezier(.22,1,.36,1) both}
  .page.active[data-page="home"] .hero-art{animation:learning-enter .8s .1s cubic-bezier(.22,1,.36,1) both}
  .design-studio-head,.design-preview-wrap{animation:studio-enter .48s cubic-bezier(.22,1,.36,1) both}
  .design-preview-wrap{animation-delay:.08s}
  .subject-surface{animation:learning-enter .42s cubic-bezier(.22,1,.36,1) both}
  .subject-surface :is(.topic-card,.announcement-card){transition:transform .25s cubic-bezier(.22,1,.36,1),box-shadow .25s,border-color .2s}
  .subject-surface .announcement-card:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgb(22 60 105 / .08)}
  .design-studio .pill{transition:transform .18s,box-shadow .2s,background .2s}
  .design-studio .pill:active{transform:scale(.98)}
}
@media(prefers-reduced-motion:reduce){.design-studio *,.subject-surface,.subject-surface *{animation:none!important;transition:none!important}.subject-surface :is(.topic-card,.announcement-card):hover{transform:none}}

/* Shared staff notebook and linked work files. */
.note-board{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr));gap:16px;align-items:start}
.note-board .note-card{display:flex;flex-direction:column;gap:16px;min-width:0;height:100%;padding:22px;border:1px solid #dce5ef;border-radius:17px;background:#fff;box-shadow:0 8px 26px rgba(20,55,95,.05)}
.note-card h4{margin:9px 0;color:#173b6b;font-size:1.1rem;line-height:1.35}
.note-card p{white-space:pre-wrap;overflow-wrap:anywhere;color:#40566f;line-height:1.65}
.note-card small{display:block;margin-top:12px;color:#677b90}
.note-file-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:9px;margin-top:18px}
.note-file-tile{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:68px;padding:10px;border:1px solid #d9e5f2;border-radius:12px;background:#f8fbff;color:#173b6b;text-decoration:none;transition:border-color .18s ease,background-color .18s ease}
.note-file-tile:hover{border-color:#97b9dd;background:#eef5ff}
.note-file-tile:focus-visible{outline:3px solid #b94b00;outline-offset:2px}
.note-file-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:9px;background:#e6f0ff;color:#19447d;font-size:1.1rem;font-weight:800}
.note-file-tile b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.82rem}
.note-file-tile small{margin:2px 0 0;font-size:.72rem}
.note-toolbar{display:flex;flex-wrap:wrap;align-items:end;gap:12px 18px;margin:20px 0}
.note-toolbar .staff-search{flex:1 1 280px;margin:0}
.note-filter-row{display:flex;flex-wrap:wrap;gap:6px}
.note-filter-row button{min-height:42px;padding:9px 14px;border:1px solid #d4e0ed;border-radius:999px;background:#fff;color:#344e6b;font:inherit;font-size:.82rem;font-weight:700;cursor:pointer}
.note-filter-row button[aria-pressed="true"]{border-color:#173b6b;background:#173b6b;color:#fff}
.note-filter-row button:focus-visible,.note-link-remove:focus-visible,.note-add-link:focus-visible{outline:3px solid #b94b00;outline-offset:2px}
.note-count{flex-basis:100%;color:#52677f;font-size:.8rem;font-weight:700}
.note-files-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-top:18px;color:#173b6b;font-size:.83rem}
.note-files-head span{color:#52677f;font-size:.75rem}
.note-files-head+.note-file-grid{margin-top:9px}
.note-file-tile{min-width:0}
.note-file-icon svg{width:21px;height:21px}
.note-file-icon.type-pdf{background:#fff0ee;color:#b84127}
.note-file-icon.type-doc{background:#e8f1ff;color:#2055a1}
.note-file-icon.type-xls{background:#e6f6ed;color:#207447}
.note-file-icon.type-ppt{background:#fff1e5;color:#bb570e}
.note-file-icon.type-drive{background:#fff6df;color:#8a6506}
.note-file-copy{min-width:0}
.note-file-tile .note-file-open{width:18px;height:18px;color:#6b8097}
.note-link-editor{grid-column:1/-1;display:grid;gap:14px;padding:20px;border:1px solid #dce6f0;border-radius:16px;background:#f8fbff}
.note-link-editor-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.note-link-editor-head h3{margin:0;color:#173b6b;font-size:1.05rem}
.note-link-editor-head p{max-width:65ch;margin:5px 0 0;color:#52677f;font-size:.82rem;line-height:1.6}
.note-link-editor-head>span{flex:none;color:#52677f;font-size:.78rem;font-weight:800}
.note-link-rows{display:grid;gap:10px}
.note-link-row{display:grid;grid-template-columns:30px minmax(0,1fr) minmax(0,1.45fr) 44px;align-items:end;gap:10px;padding:12px;border:1px solid #dce6f0;border-radius:12px;background:#fff}
.note-link-number{align-self:center;text-align:center;color:#a34b0b;font-size:.8rem;font-weight:800}
.note-link-row label{min-width:0;display:grid;gap:6px;color:#334b65;font-size:.77rem;font-weight:700}
.note-link-row input{width:100%;min-height:44px;padding:10px 12px;border:1px solid #cfdeed;border-radius:9px;background:#fff;color:#173b6b;font:inherit;font-size:.85rem}
.note-link-row input:focus-visible{outline:3px solid #edb17b;outline-offset:1px}
.note-link-remove{width:44px;height:44px;border:1px solid #e0e7ef;border-radius:9px;background:#fff;color:#a83f18;font:inherit;font-size:1.3rem;cursor:pointer}
.note-add-link{justify-self:start;min-height:44px}
.note-link-preview{padding:15px;border:1px dashed #cddbe9;border-radius:12px;background:#fff}
.note-link-preview>strong{color:#173b6b;font-size:.83rem}
.note-link-preview>p{margin:0;color:#60748b;font-size:.8rem}
.note-link-preview .note-file-grid{margin-top:10px}
@media(max-width:720px){.note-toolbar{align-items:stretch}.note-filter-row{overflow-x:auto;flex-wrap:nowrap}.note-filter-row button{flex:none}.note-link-editor{padding:16px}.note-link-row{grid-template-columns:24px minmax(0,1fr) 44px}.note-link-row label:first-of-type{grid-column:2}.note-link-row label:nth-of-type(2){grid-column:2;grid-row:2}.note-link-remove{grid-column:3;grid-row:1/3;align-self:center}.note-link-number{grid-row:1/3}}

/* Integrated staff information portal. Every tile opens an in-app workspace. */
.dashboard-page[data-section="portal"] .admin-workspace{padding:0;border:0;background:transparent;box-shadow:none;min-height:0}
.dashboard-page[data-section="portal"] .admin-workspace>.panel-head{display:none}
.staff-portal{display:grid;gap:30px}
.staff-portal-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:190px;padding:clamp(26px,4vw,44px);border-radius:22px;background:radial-gradient(circle at 94% 10%,#416bad 0,transparent 33%),linear-gradient(110deg,#153b73,#214f91);color:#fff;box-shadow:0 16px 38px rgba(20,59,112,.17)}
.staff-portal-hero .eyebrow{color:#ffcb9a;font-size:.78rem;letter-spacing:.1em}
.staff-portal-hero h2{max-width:720px;margin:10px 0 8px;color:#fff;font-size:clamp(1.7rem,3vw,2.55rem);line-height:1.18;letter-spacing:-.04em}
.staff-portal-hero p{max-width:65ch;margin:0;color:#e4eefb;font-size:.95rem;line-height:1.7}
.staff-portal-role{flex:none;align-self:flex-start;padding:10px 14px;border:1px solid #ffffff55;border-radius:999px;background:#ffffff1b;color:#fff;font-size:.79rem;font-weight:700}
.staff-portal-tools{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px 18px}
.staff-portal-tools>label{grid-column:1/-1;color:#173b6b;font-size:.86rem;font-weight:800}
.staff-portal-search{display:flex;align-items:center;gap:12px;width:min(100%,600px);min-height:52px;padding:0 16px;border:1px solid #cfddea;border-radius:13px;background:#fff;box-shadow:0 4px 16px rgba(20,59,112,.04)}
.staff-portal-search:focus-within{outline:3px solid #edb17b;outline-offset:2px}
.staff-portal-search svg{width:21px;height:21px;flex:none;color:#4e6783}
.staff-portal-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#173b6b;font:inherit;font-size:.94rem}
.staff-portal-tools [role="status"]{color:#52677e;font-size:.82rem;font-weight:700;white-space:nowrap}
.staff-portal-groups{display:grid;gap:32px}
.staff-portal-group{display:grid;gap:16px}
.staff-portal-group[hidden],.staff-portal-card[hidden],.staff-portal-empty[hidden]{display:none!important}
.staff-portal-group-head{display:flex;align-items:flex-start;gap:14px}
.staff-portal-index{display:grid;place-items:center;width:38px;height:38px;flex:none;border-radius:11px;background:#fff0e4;color:#ac4604;font-size:.8rem;font-weight:800}
.staff-portal-group-head h3{margin:0;color:#153b73;font-size:clamp(1.25rem,2vw,1.55rem);line-height:1.3}
.staff-portal-group-head p{margin:3px 0 0;color:#52677e;font-size:.89rem;line-height:1.5}
.staff-portal-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.staff-portal-card{display:grid;grid-template-columns:48px minmax(0,1fr) 22px;align-items:start;gap:15px;width:100%;min-height:132px;padding:23px;text-align:left;border:1px solid #dbe5f1;border-radius:17px;background:#fff;color:#173b6b;font:inherit;cursor:pointer;box-shadow:0 6px 20px rgba(20,59,112,.04);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.staff-portal-card:hover{transform:translateY(-3px);border-color:#a9c3df;box-shadow:0 15px 30px rgba(20,59,112,.11)}
.staff-portal-card:focus-visible{outline:3px solid #b94b00;outline-offset:3px}
.staff-portal-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:13px;background:#eaf2fd;color:#235391}
.staff-portal-icon svg{width:25px;height:25px}
.staff-portal-card-copy{display:grid;gap:6px;min-width:0}
.staff-portal-card-copy strong{font-size:.98rem;line-height:1.4}
.staff-portal-card-copy small{color:#506780;font-size:.82rem;line-height:1.5}
.staff-portal-arrow{color:#bd5007;font-size:1.18rem;font-weight:800}
.staff-portal-empty{padding:24px;border:1px dashed #cddbe9;border-radius:14px;background:#fff;color:#52677e}
@media(max-width:1150px){.staff-portal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.staff-portal{gap:24px}.staff-portal-hero{display:block;min-height:0;padding:26px 22px}.staff-portal-role{display:inline-block;margin-top:19px}.staff-portal-tools{grid-template-columns:1fr}.staff-portal-tools>label{grid-column:1}.staff-portal-grid{grid-template-columns:1fr;gap:10px}.staff-portal-card{min-height:105px;padding:17px;grid-template-columns:44px minmax(0,1fr) 18px}.staff-portal-icon{width:44px;height:44px}.staff-portal-group-head p{font-size:.85rem}}
@media(prefers-reduced-motion:reduce){.staff-portal-card{transition:none}.staff-portal-card:hover{transform:none}}
