/* Ombrelune — one coherent responsive system, shared Beauxbatons typography. */
@font-face {
  font-family:Cormorant;
  src:url('/assets/fonts/Cormorant_Garamond-0.ttf') format('truetype');
  font-weight:400;
  font-display:swap
}
@font-face {
  font-family:Cormorant;
  src:url('/assets/fonts/Cormorant_Garamond-2.ttf') format('truetype');
  font-weight:600 800;
  font-display:swap
}
@font-face {
  font-family:Cormorant;
  src:url('/assets/fonts/Cormorant_Garamond-Italic.ttf') format('truetype');
  font-style:italic;
  font-weight:100 900;
  font-display:swap
}
@font-face {
  font-family:Manrope;
  src:url('/assets/fonts/Manrope-0.ttf') format('truetype');
  font-weight:400;
  font-display:swap
}
@font-face {
  font-family:Manrope;
  src:url('/assets/fonts/Manrope-2.ttf') format('truetype');
  font-weight:600 800;
  font-display:swap
}
:root {
  color-scheme:light;
  --ink:#142a45;
  --amethyst:#345f91;
  --muted:#5d6e82;
  --line:#b7c8dc8c;
  --glass:linear-gradient(140deg,#ffffffdb,#ffffff82 70%,#edf4ff70);
  --surface:var(--glass);
  --serif:Cormorant,Georgia,serif;
  --sans:Manrope,Arial,sans-serif;
  --header-height:80px;
  --flow:24px
}
* {
  box-sizing:border-box
}
html {
  scroll-padding-top:100px
}
body {
  margin:0;
  color:var(--ink);
  background:#f7faff;
  font:15px/1.85 var(--sans)
}
#app {
  position:relative;
  isolation:isolate;
  min-height:100svh;
  display:flex;
  flex-direction:column
}
main {
  flex:1;
  min-width:0
}
.house-page,.management-page {
  padding-top:104px
}
img {
  max-width:100%;
  display:block
}
figure {
  margin:0
}
h1,h2,h3,h4,p {
  margin:0
}
h1,h2,h3,h4 {
  font-family:var(--serif);
  font-weight:400;
  line-height:1.08;
  overflow-wrap:anywhere
}
h1 {
  font-size:clamp(44px,5vw,70px)
}
h2 {
  font-size:clamp(32px,3.4vw,48px)
}
h3 {
  font-size:clamp(25px,2.5vw,34px)
}
h4 {
  font-size:24px
}
p {
  overflow-wrap:anywhere
}
p+p {
  margin-top:1.25rem
}
a {
  color:inherit;
  text-decoration:none
}
button,input,select,textarea {
  font:inherit;
  color:inherit
}
button {
  cursor:pointer;
  touch-action:manipulation
}
button,a {
  -webkit-tap-highlight-color:transparent
}
button {
  border:0;
  background:none
}
button:disabled {
  cursor:not-allowed;
  opacity:.5
}
input,select,textarea {
  width:100%;
  min-width:0;
  border:1px solid var(--line);
  border-radius:11px;
  background:#ffffffac;
  padding:13px 15px;
  min-height:48px;
  line-height:1.5
}
textarea {
  resize:vertical;
  min-height:128px
}
input[type=checkbox] {
  width:18px;
  min-height:18px;
  vertical-align:middle;
  margin-right:8px
}
input[type=file] {
  font-size:13px
}
input[type=range] {
  padding:0;
  background:transparent
}
input[readonly] {
  background:#f9fbffb3
}
input:focus,select:focus,textarea:focus {
  outline:2px solid #779cc0;
  outline-offset:2px
}
button:focus-visible,a:focus-visible {
  outline:2px solid #7194bb;
  outline-offset:4px
}
[hidden] {
  display:none!important
}
.shell {
  width:min(1180px,calc(100% - 64px));
  margin-inline:auto
}
.page-body {
  padding-block:0 48px
}
.page-heading {
  padding:34px 0 44px;
  text-align:center
}
.page-heading p {
  max-width:670px;
  margin:20px auto 0;
  color:var(--muted)
}
.ambient-art {
  position:fixed;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:.16
}
.directoire-scene>img {
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:.4
}
.lunar-ambient {
  position:absolute;
  inset:0;
  z-index:-2;
  background:radial-gradient(ellipse at 2% 20%,#d4e5f380,transparent 46%),radial-gradient(ellipse at 95% 60%,#e0eafa80,transparent 42%),linear-gradient(#fcfdff,#f4f8fe 65%,#fff);
  pointer-events:none
}
.site-header {
  position:absolute;
  z-index:30;
  top:0;
  left:0;
  right:0;
  background:transparent
}
.header-inner {
  width:min(1180px,calc(100% - 64px));
  margin:auto;
  min-height:88px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px
}
.brand {
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0
}
.brand>svg,.brand-logo {
  width:37px;
  height:43px;
  object-fit:contain;
  flex:none
}
.brand strong {
  font:600 34px/1 var(--serif);
  letter-spacing:-.025em
}
.menu-toggle {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:15px;
  padding:11px 21px;
  min-height:46px;
  border:1px solid #8ba1b766;
  border-radius:40px;
  background:#ffffffaf;
  backdrop-filter:blur(12px);
  font-size:14px
}
.menu-toggle svg,.menu-row svg {
  width:15px;
  height:15px
}
.site-menu {
  position:fixed;
  right:max(32px,calc((100vw - 1180px)/2));
  top:79px;
  width:min(320px,calc(100vw - 32px));
  max-height:calc(100svh - 100px);
  overflow:auto;
  z-index:50;
  padding:12px;
  background:#fdfdfff2;
  border:1px solid #fff;
  border-radius:17px;
  box-shadow:0 18px 70px #10284325;
  backdrop-filter:blur(22px)
}
.menu-row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  min-height:48px;
  text-align:left;
  padding:10px 13px;
  border-radius:9px
}
.menu-row:hover,.explore-nav a:hover {
  background:#d7e5f270
}
.explore-nav {
  border-left:1px solid var(--line);
  margin:4px 12px 14px;
  padding-left:13px
}
.explore-nav a {
  display:block;
  padding:8px 10px;
  border-radius:8px;
  font-size:13px
}
.explore-nav a[aria-current=page] {
  color:#2a6098;
  background:#e4eef7
}
.site-footer {
  width:min(1180px,calc(100% - 64px));
  margin:40px auto 0;
  padding:24px 0 28px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  font-size:12px;
  color:var(--muted);
  background:transparent
}
.site-footer a {
  font-weight:600
}
.scene-footer {
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  color:#f7fbff;
  z-index:3;
  text-shadow:0 1px 7px #0c2849
}
.skip-link {
  position:fixed;
  top:-100px;
  left:12px;
  z-index:100;
  background:white;
  padding:10px
}
.skip-link:focus {
  top:10px
}
.formatted-text {
  white-space:pre-line
}
.text-link {
  color:var(--amethyst);
  text-decoration:underline;
  text-underline-offset:5px
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:46px;
  padding:10px 22px;
  border:1px solid #7192b67a;
  border-radius:30px;
  background:#ffffff87;
  color:var(--ink);
  font:400 14px/1.5 var(--sans);
  text-align:center;
  max-width:100%;
  white-space:normal
}
.button:hover {
  background:#e9f2fc
}
.button.primary {
  background:#234c7c;
  color:white;
  border-color:#234c7c;
  box-shadow:0 5px 18px #294b7920
}
.button.primary:hover {
  background:#1a3b62
}
.button.small {
  font-size:13px;
  min-height:42px;
  padding:9px 18px
}
.button.danger {
  color:#a53c49;
  border-color:#bc798275
}
.actions {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:12px
}
.actions>.field {
  margin:0;
  min-width:200px
}
.status {
  font-size:13px;
  color:#345d80;
  overflow-wrap:anywhere;
  line-height:1.7
}
.status:empty {
  display:none
}
.status.error,.error {
  color:#94414f;
  background:#fff0f2c9;
  border:1px solid #d49ba780;
  border-radius:9px;
  padding:14px 17px
}
.status:not(:empty) {
  margin-top:16px
}
.notice {
  padding:16px 22px;
  border-radius:12px;
  background:#f0f6ff;
  color:#385c80
}
.hero {
  position:relative;
  isolation:isolate;
  min-height:760px;
  height:100svh;
  display:grid;
  place-items:center;
  overflow:hidden;
  color:#fff
}
.hero-scene {
  position:absolute;
  inset:0;
  z-index:-2
}
.hero-art {
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center
}
.hero:after {
  content:'';
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(#06172c08,#0b2e5c05 35%,#15376022 68%,#08224025)
}
.hero-inner {
  width:100%;
  padding:120px 24px 130px;
  align-self:center
}
.hero-copy {
  text-align:center;
  max-width:900px;
  margin:auto;
  text-shadow:0 2px 14px #0c2b5152
}
.hero h1 {
  font-size:clamp(54px,8vw,114px);
  line-height:1;
  letter-spacing:.045em;
  white-space:nowrap;
  overflow-wrap:normal
}
.hero-motto {
  font:italic 400 clamp(21px,2.6vw,30px)/1.5 var(--serif);
  margin-top:18px
}
.hero-description {
  max-width:540px;
  margin:22px auto 0;
  font-size:15px;
  line-height:1.85
}
.palace-action {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:13px;
  margin-top:34px;
  padding:11px 30px;
  background:linear-gradient(120deg,#f8fcffed,#d5e1f3e8,#fff);
  border:1px solid #f6fbff;
  border-radius:60px;
  box-shadow:0 5px 22px #061c3850,inset 0 0 0 4px #ffffff48;
  color:#23476e;
  font:500 21px/1.4 var(--serif);
  text-shadow:none;
  min-height:57px
}
.action-moon {
  font-size:29px;
  line-height:1
}
.welcome-dialog {
  padding:0;
  width:min(1030px,calc(100% - 36px));
  max-height:calc(100svh - 40px);
  border:1px solid #fff;
  border-radius:19px;
  background:#f9fcfff2;
  color:var(--ink);
  box-shadow:0 30px 120px #06193166;
  overflow:auto
}
.welcome-dialog::backdrop {
  background:#0a234d80;
  backdrop-filter:blur(12px)
}
.welcome-close {
  position:absolute;
  right:15px;
  top:14px;
  z-index:2;
  width:42px;
  height:42px;
  border:1px solid var(--line);
  border-radius:50%;
  background:#ffffffc9;
  font-size:25px;
  line-height:1
}
.welcome-section {
  padding:52px;
  display:grid;
  grid-template-columns:35% 1fr;
  align-items:center;
  gap:45px
}
.welcome-art img {
  aspect-ratio:3/4;
  width:100%;
  height:auto;
  object-fit:cover;
  border-radius:50% 50% 8px 8px;
  border:5px solid #edf3fa;
  outline:1px solid #bacddd
}
.welcome-copy h2 {
  font-size:clamp(32px,3vw,47px);
  font-style:italic;
  margin-bottom:27px
}
.welcome-copy p {
  font-size:14px;
  line-height:1.95;
  color:var(--muted)
}
.founder-feature {
  display:grid;
  grid-template-columns:minmax(240px,340px) minmax(0,1fr);
  align-items:center;
  gap:52px;
  padding:40px;
  border:1px solid #fff;
  background:var(--glass);
  border-radius:18px;
  box-shadow:0 15px 60px #1f49740c
}
.founder-photo {
  width:100%;
  height:auto;
  aspect-ratio:4/5;
  object-fit:cover;
  border:5px solid #f2f7fc;
  outline:1px solid #bfd0df;
  border-radius:48% 48% 7px 7px
}
.founder-caption {
  text-align:center;
  padding-top:20px;
  line-height:1.6
}
.founder-caption>span {
  display:block;
  font-size:14px;
  font-weight:600
}
.founder-caption small {
  display:block;
  font-size:11px;
  color:var(--muted);
  margin-top:3px
}
.founder-copy h2 {
  margin-bottom:28px
}
.founder-copy p {
  font-size:14px;
  color:var(--muted);
  line-height:1.95
}
.identity-section {
  margin-top:62px
}
.identity-section>h2 {
  text-align:center;
  margin-bottom:30px;
  font-size:clamp(28px,3.5vw,46px)
}
.identity-table-wrap {
  border:1px solid #ffffff;
  border-radius:16px;
  background:var(--glass);
  overflow:hidden;
  box-shadow:0 16px 50px #0a2c5509
}
.identity-table {
  width:100%;
  border-collapse:collapse;
  table-layout:fixed
}
.identity-table thead th {
  font:500 12px/1.5 var(--sans);
  color:#71869c;
  background:#d8e6f545;
  text-align:left
}
.identity-table th,.identity-table td {
  padding:23px 27px;
  border-bottom:1px solid var(--line);
  vertical-align:middle;
  overflow-wrap:anywhere
}
.identity-table tr:last-child>* {
  border-bottom:0
}
.identity-table th:first-child {
  width:20%;
  font:500 13px/1.7 var(--sans)
}
.identity-table th:nth-child(2) {
  width:27%
}
.identity-value {
  font:400 27px/1.35 var(--serif);
  color:#315b87;
  white-space:pre-line
}
.identity-table td:last-child {
  font-size:13px;
  line-height:1.85;
  color:var(--muted)
}
.directoire-stage {
  position:relative;
  padding:30px 20px 15px;
  width:100%;
  min-height:700px;
  max-width:1180px;
  margin:auto;
  display:flex;
  flex-direction:column;
  align-items:center
}
.directoire-scene {
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:radial-gradient(ellipse at 50% 30%,#fff 0,#e2edfa4d 45%,transparent 75%)
}
.directoire-stage>h1 {
  font-size:clamp(31px,3.7vw,51px);
  text-align:center;
  letter-spacing:.01em;
  margin-bottom:30px
}
.leadership-gallery {
  width:100%;
  max-width:780px;
  display:grid;
  gap:22px
}
.staff-row {
  display:flex;
  justify-content:center;
  gap:28px
}
.person-card {
  width:168px;
  max-width:29%;
  min-width:0
}
.portrait {
  position:relative;
  aspect-ratio:4/5;
  width:100%
}
.portrait-photo {
  position:absolute;
  inset:9% 11% 8%;
  border-radius:48% 48% 10% 10%;
  overflow:hidden;
  background:linear-gradient(150deg,#c6d9ef,#dbe6f5)
}
.portrait-photo img {
  width:100%;
  height:100%;
  object-fit:cover
}
.portrait-placeholder {
  width:100%;
  height:100%;
  display:grid;
  place-items:center;
  padding:12px;
  color:#fff
}
.portrait-placeholder svg {
  width:88%;
  height:90%;
  opacity:.95
}
.portrait-frame {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  pointer-events:none
}
.person-caption {
  position:relative;
  aspect-ratio:3/1;
  width:116%;
  margin-left:-8%;
  margin-top:-4px
}
.caption-art {
  width:100%;
  height:100%;
  object-fit:contain
}
.caption-copy {
  position:absolute;
  inset:14% 12% 13%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:3px;
  text-align:center;
  overflow:hidden
}
.caption-copy h3 {
  font:400 16px/1.13 var(--serif);
  width:100%;
  white-space:nowrap;
  overflow-wrap:normal
}
.caption-copy p {
  font:italic 400 12px/1.1 var(--serif);
  width:100%;
  white-space:nowrap
}
.directory {
  width:100%
}
.student-controls {
  display:flex;
  gap:14px;
  margin-bottom:28px
}
.student-controls>* {
  min-width:0
}
.student-controls input {
  flex:1
}
.student-controls select {
  width:190px
}
.student-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:30px 23px
}
.student-card {
  min-width:0;
  text-align:center
}
.yearbook-portrait {
  aspect-ratio:3/4;
  background:#e1eaf4;
  overflow:hidden;
  border:7px solid #fff;
  outline:1px solid #cbd7e5;
  border-radius:46% 46% 5px 5px
}
.yearbook-portrait img {
  width:100%;
  height:100%;
  object-fit:cover
}
.student-placeholder {
  height:100%;
  display:grid;
  place-items:center;
  padding:30px;
  color:#8daac9
}
.student-placeholder svg {
  width:100%
}
.student-card h3 {
  font-size:27px;
  margin-top:18px
}
.student-year {
  font-size:12px;
  color:var(--muted);
  margin-top:5px
}
.reading-page {
  max-width:900px
}
.article-section {
  margin-bottom:46px
}
.article-section h2 {
  margin-bottom:22px
}
.article-section h3 {
  margin:30px 0 17px
}
.article-section>p {
  color:var(--muted)
}
.activity {
  padding:25px 0;
  border-bottom:1px solid var(--line)
}
.activity h2 {
  font-size:32px;
  margin-bottom:13px
}
.activity p {
  font-size:14px;
  color:var(--muted)
}
.rule-points {
  padding-left:25px;
  margin:22px 0 0
}
.rule-points li {
  padding-left:8px;
  color:var(--muted);
  margin-bottom:16px
}
.rule-points li::marker {
  color:#5a7c9e;
  font-weight:600
}
.charter-intro {
  padding-bottom:26px;
  margin-bottom:40px;
  border-bottom:1px solid var(--line)
}
.chapter-number {
  color:#6587ac
}
.charter-category {
  padding:28px 32px;
  border:1px solid white;
  background:var(--glass);
  border-radius:16px;
  margin-bottom:28px
}
.charter-category>h2 {
  font-size:34px
}
.charter-subsection {
  margin-top:26px
}
.charter-subsection h3 {
  font-size:27px
}
.charter-compliance {
  padding:28px 32px;
  background:#e3edf7b0;
  border-radius:15px
}
.table-scroll {
  margin:26px 0;
  max-width:100%;
  border:1px solid var(--line);
  border-radius:13px;
  overflow:hidden;
  background:#ffffffab
}
.responsive-table {
  width:100%;
  border-collapse:collapse;
  font-size:13px;
  table-layout:fixed
}
.responsive-table caption {
  padding:20px;
  text-align:left;
  color:#6483a4;
  background:#f6faff;
  font-size:14px
}
.responsive-table th,.responsive-table td {
  text-align:left;
  padding:16px;
  border-bottom:1px solid #d1deeb80;
  vertical-align:top;
  overflow-wrap:anywhere
}
.responsive-table th {
  font-weight:600;
  background:#e4eef8aa
}
.responsive-table tr:last-child>* {
  border-bottom:0
}
.compensation .responsive-table th:first-child {
  width:32%
}
.compensation .responsive-table td {
  font-variant-numeric:tabular-nums
}
.reputation-feature {
  display:grid;
  grid-template-columns:230px 1fr;
  gap:50px;
  align-items:start;
  max-width:1060px
}
.house-seal {
  color:#6e91b9;
  background:radial-gradient(#fff,#cfdef36b 55%,transparent 70%);
  border-radius:50%;
  padding:20px
}
.house-seal svg {
  width:100%
}
.reputation-copy p {
  color:var(--muted)
}
.records-section {
  margin-top:55px
}
.records-section>h2 {
  margin-bottom:26px
}
.notice-card,.record-row,.empty {
  min-width:0;
  border:1px solid #fff;
  border-radius:15px;
  background:var(--glass);
  box-shadow:0 12px 44px #1537560c;
  backdrop-filter:blur(8px);
  padding:28px
}
.empty {
  text-align:center;
  color:var(--muted);
  padding:30px
}
.empty:empty {
  display:none
}
.notice-card>small,.record-row>small {
  display:block;
  color:#6d88a7;
  font-size:11px;
  margin-bottom:12px
}
.notice-card>h3,.record-row>h3 {
  margin-bottom:16px
}
.notice-card>p,.record-row>p {
  color:var(--muted)
}
.notice-card>p+.button,.notice-card>p+.actions,.record-row>p+.actions,.notice-card>p+form,.notice-card>.button {
  margin-top:20px
}
.notice-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px
}
.portal-page {
  width:100%;
  padding:42px 24px 35px
}
.portal-card {
  width:min(530px,100%);
  margin:auto;
  padding:38px 40px 40px;
  border:1px solid white;
  border-radius:18px;
  background:var(--glass);
  box-shadow:0 22px 70px #1234580c
}
.portal-card>svg {
  width:45px;
  height:45px;
  color:#6a8caf;
  margin-bottom:25px
}
.portal-card h1 {
  font-size:53px;
  margin-bottom:23px
}
.portal-card>p {
  color:var(--muted);
  margin-bottom:27px
}
.portal-card form {
  margin-top:30px
}
.portal-card form>.button.primary {
  width:100%;
  margin-top:8px
}
.portal-card .portal-recovery-link {
  display:block;
  width:fit-content;
  margin:20px auto 0;
  text-align:center;
  font-size:14px
}
.field {
  margin:0 0 23px;
  min-width:0
}
.field label {
  display:block;
  font-size:13px;
  font-weight:500;
  margin-bottom:9px
}
.field:has(input[type=checkbox]) label {
  font-weight:400
}
.field:last-child {
  margin-bottom:0
}
.field-help,.file-help,.editor-help {
  font-size:12px;
  color:var(--muted);
  line-height:1.8
}
.form-pair {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px
}
.activation-identity {
  display:grid;
  gap:17px;
  margin:25px 0 32px
}
.activation-identity dt {
  color:var(--muted);
  font-size:12px;
  margin-bottom:4px
}
.activation-identity dd {
  margin:0;
  overflow-wrap:anywhere
}
.recovery-links {
  justify-content:center;
  margin-top:24px;
  font-size:13px
}
#invitation-link:empty {
  display:none
}
#invitation-link:not(:empty) {
  margin-top:24px
}
.recovery-request-card input[readonly] {
  font-family:var(--sans);
  letter-spacing:.1em;
  font-weight:600
}
.portal-masthead {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  margin:30px 0
}
.portal-identity {
  display:flex;
  gap:20px;
  align-items:center;
  min-width:0
}
.portal-identity>div:last-child {
  min-width:0
}
.portal-identity h1 {
  font-size:43px;
  margin:9px 0 13px
}
.portal-identity p {
  font-size:13px;
  color:var(--muted)
}
.account-avatar {
  width:70px;
  height:70px;
  flex:none;
  border-radius:50%;
  border:3px solid #fff;
  background:#dce7f5;
  object-fit:cover
}
.account-avatar-placeholder {
  display:grid;
  place-items:center;
  padding:8px
}
.account-avatar-placeholder svg {
  width:100%;
  height:100%
}
.dashboard-tabs {
  display:flex;
  gap:9px;
  flex-wrap:wrap;
  margin:0 0 30px
}
.dashboard-tabs .button[aria-selected=true] {
  background:#d9e8f6;
  color:#214d7a;
  border-color:#89a6c5
}
.dashboard-tabs .button {
  font-size:12px;
  padding-inline:16px;
  min-height:40px
}
#member-panel>*+*,#academic-panel>*+* {
  margin-top:24px
}
#member-panel>h2,#member-panel>h3,#academic-panel>h3 {
  margin-top:34px;
  margin-bottom:17px
}
#member-panel>h2:first-child,#member-panel>h3:first-child,#academic-panel>h3:first-child {
  margin-top:0
}
#member-panel>h2+p,#member-panel>h3+*,#academic-panel>h3+* {
  margin-top:0
}
#member-panel>.management-heading {
  margin-bottom:30px
}
#member-panel>.management-heading+* {
  margin-top:0
}
.management-heading h2 {
  margin-bottom:18px
}
.management-heading p {
  color:var(--muted);
  font-size:14px
}
.management-stats {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:22px
}
.management-stats .notice-card {
  display:grid;
  grid-template-rows:var(--stat-label-height,4em) auto 42px;
  gap:16px;
  padding:26px 24px
}
.stat-label {
  font-size:13px;
  line-height:1.8
}
.stat-value {
  font:600 46px/1 var(--serif);
  padding-block:8px
}
.management-stats .button {
  justify-self:start;
  margin:0
}
.stat-action-space {
  height:42px
}
.dashboard-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px
}
.dashboard-grid h2 {
  font-size:34px;
  margin-bottom:19px
}
.dashboard-grid .notice-card {
  display:flex;
  flex-direction:column
}
.dashboard-grid .button {
  align-self:start
}
.review-list,.calendar-list,.managed-member-grid {
  display:grid;
  gap:22px
}
.managed-member-grid {
  grid-template-columns:repeat(2,minmax(0,1fr))
}
.member-card-identity {
  display:flex;
  gap:17px;
  align-items:center;
  min-width:0
}
.member-card-identity>div {
  min-width:0
}
.member-card-identity h3 {
  font-size:29px;
  margin:10px 0
}
.member-card-identity p {
  font-size:12px
}
.managed-member-grid .actions {
  margin-top:24px
}
.status-badge {
  display:inline-block;
  padding:4px 10px;
  border:1px solid #c3d3e5;
  border-radius:20px;
  background:#e6eef8b0;
  font:400 10px/1.6 var(--sans);
  color:#4a6b91;
  max-width:100%;
  overflow-wrap:anywhere
}
.review-card>.status-badge {
  margin-bottom:16px
}
.profile-comparison {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  margin:24px 0
}
.profile-comparison h4 {
  margin-bottom:13px
}
.review-profile-image {
  width:72px;
  height:90px;
  object-fit:cover;
  border-radius:10px
}
.profile-photo-preview {
  width:150px;
  aspect-ratio:4/5;
  background:#dce7f4;
  border-radius:45% 45% 10px 10px;
  overflow:hidden;
  display:grid;
  place-items:center;
  margin:16px 0
}
.profile-photo-preview img {
  width:100%;
  height:100%;
  object-fit:cover
}
.profile-photo-preview svg {
  width:75%;
  color:#89a6c5
}
.profile-photo-field .file-help {
  margin:11px 0 13px
}
.management-dialog {
  width:min(650px,calc(100% - 32px));
  max-height:calc(100svh - 40px);
  overflow:auto;
  border:1px solid white;
  border-radius:17px;
  padding:28px;
  background:#f7fbfff5;
  color:var(--ink);
  box-shadow:0 25px 90px #09244545
}
.management-dialog::backdrop {
  background:#09244070;
  backdrop-filter:blur(8px)
}
.management-dialog-head {
  display:flex;
  align-items:start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:28px
}
.management-dialog-head h2 {
  font-size:36px
}
.management-dialog form {
  margin-top:24px
}
.management-dialog p+form {
  margin-top:25px
}
.audit-detail {
  max-width:100%;
  overflow:auto;
  font-size:11px;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  margin-top:18px
}
.atelier-head {
  display:flex;
  justify-content:space-between;
  align-items:start;
  gap:30px;
  padding-top:35px;
  margin-bottom:30px
}
.atelier-head h1 {
  margin-bottom:14px
}
.atelier-head p {
  font-size:13px;
  color:var(--muted)
}
.editor-layout {
  display:grid;
  grid-template-columns:235px minmax(0,1fr);
  gap:35px
}
.editor-nav {
  display:flex;
  flex-direction:column;
  gap:4px;
  position:sticky;
  top:25px;
  max-height:calc(100svh - 50px);
  overflow:auto;
  align-self:start;
  padding-bottom:20px
}
.editor-nav-group+ .editor-nav-group {
  margin-top:19px
}
.editor-nav-group h2 {
  font:500 11px/1.7 var(--sans);
  letter-spacing:.03em;
  color:#7890ab;
  padding:8px 11px
}
.editor-nav button {
  display:block;
  width:100%;
  text-align:left;
  padding:9px 11px;
  border-radius:9px;
  font-size:12px;
  line-height:1.6;
  min-height:38px
}
.editor-nav button[aria-current=page],.editor-nav button.active {
  background:#dce9f6;
  color:#234e7f
}
.editor-nav button:hover {
  background:#e5eff9
}
.editor-section-picker {
  display:none
}
.editor-panel {
  min-width:0
}
#editor-panel>h2 {
  margin-bottom:18px
}
#editor-panel>.editor-help {
  margin-bottom:25px
}
.editor-fields {
  display:grid;
  gap:22px
}
.editor-fields>.field {
  margin:0
}
.editor-group {
  border:1px solid #fff;
  border-radius:13px;
  background:#ffffff9c;
  overflow:hidden;
  margin-bottom:18px
}
.editor-group summary {
  padding:17px 21px;
  cursor:pointer;
  font-size:14px;
  line-height:1.7;
  overflow-wrap:anywhere
}
.editor-group>div {
  padding:5px 21px 24px
}
.editor-group .editor-group {
  background:#ffffff60;
  border-color:#c9d8e87d
}
.editor-group .field:last-child {
  margin-bottom:0
}
.editor-array {
  display:grid;
  gap:18px
}
.editor-list-item {
  padding:16px;
  border:1px solid var(--line);
  border-radius:10px
}
.editor-list-item .button {
  margin-top:12px
}
.image-editor {
  display:flex;
  gap:20px;
  align-items:start
}
.image-editor>img {
  width:150px;
  max-height:200px;
  object-fit:contain;
  border-radius:7px
}
.image-editor>.field {
  flex:1;
  min-width:0
}
.image-editor input+input {
  margin-top:12px
}
.format-toolbar {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:5px;
  padding:9px 10px;
  border:1px solid var(--line);
  border-radius:10px 10px 0 0;
  background:#eaf1fa70
}
.format-toolbar select {
  width:auto;
  min-height:30px;
  padding:5px 8px;
  border-radius:6px;
  font-size:10px;
  flex:1;
  min-width:110px
}
.format-toolbar button {
  font-size:12px;
  min-width:29px;
  min-height:29px;
  padding:3px 7px;
  border-radius:5px;
  background:#ffffff7a
}
.format-toolbar button[aria-pressed=true] {
  background:#c3d8ee;
  color:#1c487c
}
.format-toolbar button[data-format-mark=bold] {
  font-weight:700
}
.format-toolbar button[data-format-mark=italic] {
  font-style:italic
}
.format-toolbar button[data-format-mark=underline] {
  text-decoration:underline
}
.format-toolbar button[data-format-clear] {
  font-size:9px;
  margin-left:auto
}
.rich-field>input,.rich-field>textarea {
  border-radius:0 0 9px 9px;
  margin-top:-1px;
  background:#fff9
}
.format-preview {
  font-size:11px;
  margin-top:8px;
  color:#627e9c
}
.format-preview summary {
  padding:4px 0;
  font-size:11px
}
.rich-preview {
  font-size:14px;
  line-height:1.85;
  background:#fff9;
  padding:14px;
  margin-top:7px;
  border-radius:7px;
  white-space:pre-wrap;
  overflow-wrap:anywhere
}
.save-bar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  position:sticky;
  bottom:12px;
  z-index:10;
  margin-top:28px;
  padding:14px 18px;
  background:#f8fbfff0;
  backdrop-filter:blur(15px);
  border:1px solid white;
  border-radius:13px;
  box-shadow:0 10px 35px #1f426d17
}
.editor-status {
  font-size:11px;
  color:#64809e
}
.tone-global {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px
}
.tone-preview {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px
}
.tone-preview-frame {
  aspect-ratio:4/5;
  background:#e3edf7;
  border:1px solid var(--line);
  display:grid;
  place-items:center;
  overflow:hidden;
  border-radius:12px
}
.tone-preview-frame>img {
  width:100%;
  height:100%;
  object-fit:contain
}
.tone-preview-frame>svg {
  width:70%;
  color:#8ba7c3
}
.tone-preview figcaption {
  font-size:12px;
  margin-top:12px;
  text-align:center
}
.tone-diagnostics {
  border-top:1px solid var(--line);
  padding-top:20px
}
.tone-diagnostics summary {
  cursor:pointer;
  font-size:13px;
  margin-bottom:15px
}
.tone-check-row {
  display:flex;
  justify-content:space-between;
  gap:15px;
  font-size:12px;
  padding:10px 0;
  border-bottom:1px solid var(--line)
}
fieldset {
  border:1px solid var(--line);
  border-radius:12px;
  padding:24px;
  margin:0 0 24px
}
legend {
  font-size:13px;
  padding-inline:8px
}
#content-editor>div+div {
  margin-top:25px
}
details.notice-card>summary {
  cursor:pointer;
  font-size:15px
}
details.notice-card>form {
  margin-top:25px
}
.editor-fields+form {
  margin-top:25px
}
.file-help+.button {
  margin-top:15px
}
.atelier {
  padding-block:30px 40px
}
.atelier-head {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:30px;
  margin:25px 0 40px
}
.atelier-head h1 {
  font-size:52px
}
.atelier-head p {
  font-size:13px;
  color:var(--muted);
  margin-top:16px
}
.editor-panel-head {
  margin-bottom:26px
}
.editor-panel-head>p {
  margin-top:14px
}
.weekly-timetable {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px
}
.timetable-entry {
  display:grid;
  grid-template-columns:60px 1fr;
  gap:14px;
  padding:12px 0;
  border-bottom:1px solid var(--line);
  font-size:12px
}
.timetable-entry:last-child {
  border-bottom:0
}
.timetable-entry small {
  grid-column:2
}
.tone-control>label {
  display:block;
  margin-bottom:8px;
  font-size:12px
}
.boot-screen {
  display:grid;
  place-content:center;
  min-height:100svh;
  text-align:center;
  gap:12px;
  font:50px var(--serif)
}
.boot-screen small {
  font:italic 22px var(--serif)
}
.scene-page .brand {
  color:#f5faff;
  text-shadow:0 2px 10px #0c2849
}
.scene-page .brand-logo {
  filter:brightness(1.15)
}
@media(min-width:1500px) {
  .hero-copy {
    transform:translateY(-25px)
  }
  .hero h1 {
    font-size:126px
  }
  .person-card {
    width:180px
  }
  .leadership-gallery {
    gap:26px
  }
}
@media(max-width:1000px) {
  .shell,.header-inner,.site-footer {
    width:calc(100% - 44px)
  }
  .founder-feature {
    grid-template-columns:280px 1fr;
    gap:30px;
    padding:30px
  }
  .management-stats {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .editor-layout {
    grid-template-columns:195px 1fr;
    gap:24px
  }
  .student-grid {
    grid-template-columns:repeat(3,minmax(0,1fr))
  }
  .reputation-feature {
    grid-template-columns:160px 1fr;
    gap:30px
  }
  .site-menu {
    right:22px
  }
  .directoire-scene {
    inset:0
  }
}
@media(max-width:800px) {
  :root {
    --flow:22px
  }
  .founder-feature {
    grid-template-columns:1fr;
    padding:28px
  }
  .founder-feature>figure {
    width:min(330px,100%);
    margin:auto
  }
  .founder-copy h2 {
    text-align:center;
    font-size:38px
  }
  .welcome-section {
    padding:45px 30px 35px;
    grid-template-columns:1fr;
    gap:28px
  }
  .welcome-art {
    width:200px;
    margin:auto
  }
  .welcome-copy h2 {
    text-align:center
  }
  .welcome-copy p {
    font-size:14px
  }
  .portal-masthead {
    align-items:start;
    flex-direction:column
  }
  .portal-masthead>.actions {
    align-self:flex-end;
    margin-top:-3px
  }
  .portal-identity h1 {
    font-size:38px
  }
  .editor-layout {
    display:block
  }
  .editor-nav {
    display:none
  }
  .editor-section-picker {
    display:block;
    margin:0 0 30px
  }
  .editor-section-picker label {
    display:block;
    font-size:12px;
    margin-bottom:8px
  }
  .atelier-head {
    display:block
  }
  .atelier-head>.actions {
    margin-top:23px
  }
  .atelier-head h1 {
    font-size:44px
  }
  .dashboard-grid,.managed-member-grid,.notice-grid {
    grid-template-columns:1fr
  }
  .student-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .reputation-feature {
    grid-template-columns:1fr
  }
  .house-seal {
    width:150px;
    margin:auto
  }
  .table-scroll {
    border-radius:12px
  }
  .responsive-table,.responsive-table tbody {
    display:block
  }
  .responsive-table thead {
    position:absolute;
    width:1px;
    height:1px;
    overflow:hidden;
    clip-path:inset(50%)
  }
  .responsive-table tr {
    display:block;
    padding:18px 20px;
    border-bottom:1px solid var(--line)
  }
  .responsive-table tr:last-child {
    border-bottom:0
  }
  .responsive-table td {
    display:grid;
    grid-template-columns:minmax(85px,32%) 1fr;
    gap:12px;
    padding:9px 0;
    border:0;
    font-size:13px
  }
  .responsive-table td:before {
    content:attr(data-label);
    color:#6b86a3;
    font-size:11px;
    line-height:1.7
  }
  .responsive-table th {
    background:none;
    padding:0;
    border:0
  }
  .responsive-table caption {
    display:block;
    font-size:13px;
    padding:20px
  }
  .compensation .responsive-table tr {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:15px;
    padding:21px
  }
  .compensation .responsive-table tr>th {
    grid-column:1/-1;
    width:auto!important;
    font:600 14px/1.65 var(--sans);
    margin-bottom:2px
  }
  .compensation .responsive-table td {
    display:block;
    padding:0;
    font-size:15px
  }
  .compensation .responsive-table td:before {
    display:block;
    margin-bottom:5px;
    font-size:11px
  }
  .compensation .responsive-table td:last-child {
    grid-column:1/-1;
    font-size:12px;
    line-height:1.8;
    color:var(--muted)
  }
  .identity-table thead {
    position:absolute;
    width:1px;
    height:1px;
    overflow:hidden;
    clip-path:inset(50%)
  }
  .identity-table,.identity-table tbody {
    display:block
  }
  .identity-table tr {
    display:grid;
    grid-template-columns:29% 1fr;
    gap:9px 18px;
    padding:23px 21px;
    border-bottom:1px solid var(--line)
  }
  .identity-table tr:last-child {
    border-bottom:0
  }
  .identity-table th:first-child {
    width:auto;
    grid-row:1/3;
    padding:1px 0;
    font-size:12px
  }
  .identity-table td {
    padding:0;
    border:0
  }
  .identity-table td.identity-value {
    font-size:25px;
    line-height:1.25
  }
  .identity-table td:last-child {
    font-size:12px
  }
  .identity-section {
    margin-top:44px
  }
  .identity-section>h2 {
    font-size:30px
  }
  .identity-table th {
    border:0
  }
  .person-card {
    width:138px
  }
  .staff-row {
    gap:25px
  }
  .leadership-gallery {
    gap:22px
  }
  .directoire-stage>h1 {
    font-size:39px
  }
  .directoire-stage {
    padding-top:22px
  }
  .tone-global,.weekly-timetable {
    grid-template-columns:1fr
  }
}
@media(max-width:520px) {
  .shell,.header-inner,.site-footer {
    width:calc(100% - 36px)
  }
  .header-inner {
    min-height:78px;
    gap:10px
  }
  .brand {
    gap:8px
  }
  .brand strong {
    font-size:29px
  }
  .brand>svg,.brand-logo {
    width:29px;
    height:33px
  }
  .menu-toggle {
    min-height:42px;
    padding:9px 16px;
    font-size:12px;
    gap:12px
  }
  .site-menu {
    top:70px;
    right:18px
  }
  .house-page,.management-page {
    padding-top:81px
  }
  .hero {
    min-height:720px
  }
  .hero-inner {
    padding:120px 20px 150px
  }
  .hero-copy {
    transform:translateY(-10px)
  }
  .hero h1 {
    font-size:clamp(43px,12.2vw,65px);
    letter-spacing:.02em
  }
  .hero-motto {
    font-size:23px;
    margin-top:15px
  }
  .hero-description {
    font-size:13px;
    max-width:295px;
    line-height:1.85;
    margin-top:20px
  }
  .palace-action {
    margin-top:28px;
    padding:10px 25px;
    font-size:20px;
    min-height:53px
  }
  .scene-footer {
    font-size:10px;
    gap:15px;
    padding-bottom:22px
  }
  .site-footer {
    font-size:10px;
    gap:18px;
    margin-top:25px;
    padding-top:22px
  }
  .page-heading {
    padding:30px 0 31px
  }
  .page-heading h1 {
    font-size:43px
  }
  .page-body {
    padding-bottom:26px
  }
  .welcome-dialog {
    width:calc(100% - 28px);
    max-height:calc(100svh - 28px)
  }
  .welcome-section {
    padding:45px 25px 32px
  }
  .welcome-art {
    width:160px
  }
  .welcome-copy h2 {
    font-size:33px;
    margin-bottom:22px
  }
  .welcome-copy p {
    font-size:13px;
    line-height:1.9
  }
  .founder-feature {
    padding:22px;
    gap:25px
  }
  .founder-copy h2 {
    font-size:34px;
    margin-bottom:22px
  }
  .founder-copy p {
    font-size:13px;
    line-height:1.95
  }
  .founder-feature>figure {
    width:100%
  }
  .founder-caption {
    padding-top:17px
  }
  .identity-table tr {
    grid-template-columns:30% 1fr;
    gap:8px 15px;
    padding:21px 17px
  }
  .identity-table td.identity-value {
    font-size:22px
  }
  .identity-table td:last-child {
    font-size:11px
  }
  .identity-table th:first-child {
    font-size:11px
  }
  .directoire-stage {
    padding:30px 16px 8px;
    min-height:625px
  }
  .directoire-stage>h1 {
    font-size:30px;
    margin-bottom:23px
  }
  .leadership-gallery {
    gap:21px;
    max-width:365px
  }
  .staff-row {
    gap:20px
  }
  .person-card {
    width:98px;
    max-width:28.5%
  }
  .caption-copy {
    gap:2px
  }
  .caption-copy h3 {
    font-size:12px
  }
  .caption-copy p {
    font-size:9.7px
  }
  .student-grid {
    gap:25px 16px
  }
  .student-card h3 {
    font-size:23px
  }
  .student-controls {
    gap:10px;
    flex-wrap:wrap
  }
  .student-controls input {
    flex-basis:100%
  }
  .student-controls select {
    width:100%
  }
  .yearbook-portrait {
    border-width:5px
  }
  .student-placeholder {
    padding:15px
  }
  .reading-page {
    font-size:13px
  }
  .charter-category {
    padding:24px 22px
  }
  .charter-category>h2 {
    font-size:30px
  }
  .charter-subsection h3 {
    font-size:26px
  }
  .rule-points {
    padding-left:20px
  }
  .rule-points li {
    padding-left:5px
  }
  .charter-compliance {
    padding:22px
  }
  .activity h2 {
    font-size:29px
  }
  .activity p {
    font-size:13px
  }
  .reputation-copy {
    font-size:13px
  }
  .records-section {
    margin-top:38px
  }
  .records-section>h2 {
    font-size:33px
  }
  .portal-page {
    padding:38px 18px 20px
  }
  .portal-card {
    padding:28px 25px 30px
  }
  .portal-card h1 {
    font-size:43px
  }
  .portal-card>svg {
    margin-bottom:23px
  }
  .portal-card>p {
    font-size:13px
  }
  .portal-card form {
    margin-top:26px
  }
  .portal-card input {
    font-size:14px
  }
  .field label {
    font-size:12px
  }
  .form-pair {
    grid-template-columns:1fr;
    gap:0
  }
  .portal-identity {
    gap:14px
  }
  .account-avatar {
    width:54px;
    height:54px
  }
  .portal-identity h1 {
    font-size:34px;
    margin:8px 0 12px
  }
  .portal-identity p {
    font-size:11px
  }
  .portal-masthead {
    margin:25px 0
  }
  .dashboard-tabs {
    gap:8px;
    margin-bottom:27px
  }
  .dashboard-tabs .button {
    font-size:10px;
    min-height:37px;
    padding:7px 12px
  }
  .notice-card,.record-row,.empty {
    padding:23px 22px
  }
  .notice-card h2 {
    font-size:32px
  }
  .notice-card h3,.record-row h3 {
    font-size:27px
  }
  .notice-card p,.record-row p,.empty {
    font-size:13px
  }
  .management-stats {
    gap:16px
  }
  .management-stats .notice-card {
    padding:20px 17px;
    gap:12px
  }
  .stat-label {
    font-size:11px;
    line-height:1.85
  }
  .stat-value {
    font-size:39px
  }
  .management-stats .button {
    font-size:11px;
    min-height:38px;
    padding:8px 16px
  }
  .management-heading h2 {
    font-size:35px
  }
  .management-heading p {
    font-size:12px
  }
  #member-panel>*+*,#academic-panel>*+* {
    margin-top:22px
  }
  .profile-photo-preview {
    width:135px
  }
  .management-dialog {
    padding:24px 22px
  }
  .management-dialog-head h2 {
    font-size:31px
  }
  .image-editor {
    display:block
  }
  .image-editor>img {
    width:150px;
    max-height:190px;
    margin-bottom:16px
  }
  .editor-group summary {
    font-size:12px;
    padding:15px 17px
  }
  .editor-group>div {
    padding:3px 17px 21px
  }
  .editor-help {
    font-size:11px
  }
  .save-bar {
    display:block;
    padding:12px 13px;
    bottom:8px
  }
  .save-bar>.editor-status {
    display:block;
    margin-bottom:10px
  }
  .save-bar .actions {
    gap:8px;
    justify-content:flex-end
  }
  .save-bar .button {
    font-size:11px;
    padding:8px 14px;
    min-height:38px
  }
  .tone-preview {
    gap:12px
  }
  .tone-preview figcaption {
    font-size:11px
  }
  .tone-check-row {
    display:block
  }
  .identity-section>h2 {
    font-size:28px
  }
  .recovery-request-card input[readonly] {
    font-size:14px;
    letter-spacing:.08em
  }
  .status {
    font-size:12px
  }
}
@media(prefers-reduced-motion:no-preference) {
  .button,.menu-toggle,.menu-row,.palace-action {
    transition:background .18s,box-shadow .18s,color .18s
  }
  .palace-action:hover {
    box-shadow:0 8px 30px #061c3860,inset 0 0 0 4px #ffffff70
  }
}
