:root {
  color-scheme: light;
  --ink: #132f3a;
  --muted: #506770;
  --navy: #102d3b;
  --deep: #09232f;
  --teal: #00667a;
  --teal-dark: #004d5d;
  --aqua: #74e4e0;
  --pale: #e6f5f5;
  --paper: #f5f7f6;
  --line: #d1dcde;
  --red: #9a3431;
  --content: 76rem;
  --gutter: clamp(1rem, 5vw, 4.5rem);
  --sans: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --display: "Barlow Condensed", "Aptos Narrow", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font: 100%/1.5 var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}
*, *::before, *::after { box-sizing: border-box; }
body { display: flex; flex-direction: column; min-width: 17.5rem; min-height: 100vh; min-height: 100dvh; margin: 0; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, a, input, textarea, select, summary { touch-action: manipulation; }
button, summary { cursor: pointer; }
button { color: inherit; }
button:disabled, input:disabled, select:disabled { cursor: not-allowed; opacity: .62; }
[hidden] { display: none !important; }
a { color: var(--teal); text-underline-offset: .18em; }
:focus-visible { outline: 3px solid #008597; outline-offset: 3px; }
::selection { color: var(--deep); background: #9cece7; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { color: var(--ink); line-height: 1.1; overflow-wrap: anywhere; }
h1, h2 { letter-spacing: -.048em; font-weight: 775; }
h1 { font-size: clamp(2.45rem, 5vw, 4.45rem); }
h2 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
h3 { font-size: 1.13rem; letter-spacing: -.02em; }
p { overflow-wrap: anywhere; }
.ui-icon { flex: 0 0 auto; vertical-align: middle; }

.header-inner, .footer-inner, .login-layout, .dashboard, .flash-inner, .loading, noscript p, main > .notice {
  width: calc(100% - 2 * var(--gutter)); max-width: var(--content); margin-inline: auto;
}
.site-header { background: var(--navy); color: white; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .8rem 1rem; }
.header-inner { min-height: 5rem; padding-block: .6rem; }
.brand { display: inline-flex; align-items: center; gap: .85rem; max-width: 100%; color: white; text-decoration: none; }
.brand-logo { display: block; flex: none; width: 3.625rem; height: 3.625rem; object-fit: contain; background: white; border-radius: .4rem; padding: .125rem; }
.brand-info { display: grid; line-height: 1.22; }
.brand-info strong { font-size: 1.08rem; letter-spacing: -.03em; }
.brand-info small { margin-top: .09rem; font-size: .75rem; color: #c1d1d5; letter-spacing: .015em; }
.header-actions, .header-label { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; }
.header-actions { max-width: 100%; font-size: .9rem; }
.header-label { font-weight: 550; color: #e2efef; }
.header-label .ui-icon { color: var(--aqua); }
.user-label { overflow-wrap: anywhere; font-weight: 600; }
.account-link {
  min-height: 2.5rem; max-width: 100%; padding: .35rem .25rem; border: 0; border-radius: .25rem;
  color: #deeeee; background: transparent; text-decoration: underline; text-underline-offset: .22em;
}
.account-link:hover { color: var(--aqua); }
.header-actions .btn-quiet { color: #deeeee; border-color: #66818b; min-height: 2.5rem; padding: .45rem .8rem; }
.header-actions .btn-quiet:hover { background: #204556; color: white; }
.site-header :focus-visible { outline-color: var(--aqua); }
.skip-link { position: fixed; z-index: 5; left: var(--gutter); top: -6rem; padding: .65rem 1rem; border-radius: .4rem; background: white; color: var(--deep); }
.skip-link:focus { top: .75rem; }
#main:focus { outline: 0; }
.sr-only, .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); margin: -1px; padding: 0; border: 0; white-space: nowrap; }
.flash-inner, .loading, noscript p { margin-top: 1.35rem; }
.site-footer { margin-top: auto; padding-top: clamp(2.6rem, 8vh, 5rem); }
.footer-inner { min-height: 4.3rem; border-top: 1px solid var(--line); padding-block: 1rem; color: var(--muted); font-size: .78rem; }
.footer-club { display: inline-flex; align-items: center; gap: .55rem; font-weight: 650; }
.footer-release { margin-inline-start: auto; display: grid; justify-items: end; gap: .15rem; }
.developer-credit { display: inline-flex; align-items: center; gap: 4px; font-size: .69rem; line-height: 1.4; white-space: nowrap; }
.developer-mark { display: block; width: 26px; height: 13px; color: var(--teal); }
.footer-club::before { content: ""; width: 1rem; height: .58rem; background: repeating-linear-gradient(112deg, transparent 0 3px, var(--teal) 3px 6px); }

.login-layout {
  display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr);
  min-height: clamp(32rem, 68vh, 40rem); margin-top: clamp(2rem, 6.5vh, 4.5rem);
  overflow: hidden; border-radius: 1.15rem;
  box-shadow: 0 .65rem 2.6rem -.85rem rgb(13 45 55 / 13%), 0 0 0 1px rgb(20 54 64 / 9%);
}
.login-intro {
  position: relative; isolation: isolate; min-width: 0; display: flex; align-items: flex-end;
  padding: clamp(2rem, 3.4vw, 3.65rem); background: var(--deep) url("handballhalle.webp") 56% 46% / cover no-repeat; color: white;
}
.login-intro::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: linear-gradient(90deg, rgb(6 27 39 / 57%), transparent 95%),
              linear-gradient(0deg, rgb(4 25 36 / 94%) 1%, rgb(7 30 41 / 69%) 24%, rgb(7 30 41 / 13%) 66%, transparent 90%);
}
.intro-copy { max-width: 100%; }
.eyebrow { color: var(--teal); font-size: .75rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.login-intro .eyebrow { display: flex; align-items: center; gap: .65rem; color: #fff; font-size: .72rem; }
.login-intro .eyebrow::before { content: ""; width: 1.8rem; height: .22rem; background: var(--aqua); transform: skewX(-23deg); }
.login-intro h1 {
  color: white; margin: .95rem 0 1.1rem; font: 825 clamp(3.3rem, 5.65vw, 5.8rem)/.88 var(--display);
  letter-spacing: -.053em; text-transform: uppercase;
}
.login-intro h1 span { display: block; }
.login-intro h1 span:last-child { color: var(--aqua); }
.hero-first::after { content: "-"; }
.hero-text { color: #f3f8f8; font-size: clamp(.98rem, 1.25vw, 1.12rem); line-height: 1.58; max-width: 36ch; }
.login-card.card {
  min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 1.5rem;
  padding: clamp(2rem, 3.6vw, 4rem); border: 0; border-radius: 0; background: #fff;
}
.login-card h2 { font-size: clamp(2rem, 3vw, 2.9rem); letter-spacing: -.055em; }
.login-card form { display: grid; gap: 1.1rem; }
.login-card form .btn-primary { width: 100%; margin-top: .25rem; }
.login-card > p { color: var(--muted); }
.access-help { display: grid; justify-items: start; gap: .2rem; margin-top: .04rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .87rem; line-height: 1.52; }
.access-link { min-height: 1.5rem; padding: 0; border: 0; background: transparent; color: var(--teal); text-decoration: underline; text-underline-offset: .18em; }
.access-link:hover { color: var(--teal-dark); }

.tabs { display: flex; align-items: stretch; gap: .35rem; }
.tab {
  display: inline-flex; justify-content: center; align-items: center; gap: .5rem; border: 1px solid transparent;
  border-radius: .4rem; min-height: 2.65rem; padding: .55rem .92rem; background: transparent;
  font-size: .91rem; font-weight: 650; line-height: 1.25; color: var(--muted);
}
.tab:hover { color: var(--ink); background: #e1eaea; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.85rem;
  padding: .65rem 1.1rem; border: 1px solid var(--line); border-radius: .48rem; background: white;
  color: var(--ink); font-size: .94rem; font-weight: 670; line-height: 1.3; text-decoration: none;
  transition: background-color 150ms, color 150ms, border-color 150ms;
}
.btn-primary { background: var(--teal); color: white; border-color: var(--teal); }
.btn-primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.btn-secondary { background: white; border-color: #a6bcbf; color: var(--teal-dark); }
.btn-secondary:hover { background: #eef7f6; border-color: var(--teal); }
.btn-danger { color: var(--red); border-color: #d9bbb9; background: white; }
.btn-danger:hover { color: #782320; background: #fff2f1; border-color: #bd827e; }
.btn-quiet { background: transparent; border-color: transparent; color: var(--teal); }
.btn-quiet:hover { background: var(--pale); color: var(--teal-dark); }
.actions, .button-row, .session-actions, .coach-heading { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem; }

.dashboard { margin-top: clamp(1.8rem, 4.2vw, 3.6rem); }
.dashboard > * + * { margin-top: 1.5rem; }
.topnav { border-bottom: 1px solid var(--line); gap: .2rem; flex-wrap: wrap; }
.topnav .tab { border-radius: .4rem .4rem 0 0; }
.topnav .tab[aria-pressed=true] { border-bottom: .18rem solid var(--teal); background: #e9f2f2; color: var(--teal-dark); }
.page-head { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 1.1rem; padding-block: .35rem .6rem; }
.page-head .eyebrow { display: flex; align-items: center; gap: .55rem; }
.page-head .eyebrow::before { content: ""; width: 1.4rem; height: .18rem; background: #2b9ca7; }
.page-head h1 { margin: .25rem 0 .37rem; font-family: var(--display); }
.page-head h1 + p, .session-audience, .admin-card > p, .empty-state p { color: var(--muted); }
.card, .empty-state { padding: clamp(1.15rem, 2.15vw, 1.85rem); border: 1px solid var(--line); border-radius: .8rem; background: white; }
.session-list { display: grid; gap: .85rem; }
.view-switch {
  display: inline-flex; align-items: center; gap: .2rem; max-width: 100%; padding: .23rem;
  background: #e9efef; border: 1px solid var(--line); border-radius: .62rem;
}
.view-option {
  display: inline-flex; align-items: center; justify-content: center; gap: .46rem; min-height: 2.5rem;
  padding: .46rem .92rem; border: 1px solid transparent; border-radius: .42rem;
  background: transparent; color: var(--muted); font-size: .9rem; font-weight: 650;
}
.view-option:hover { color: var(--teal-dark); }
.view-option[aria-pressed=true] { background: var(--navy); border-color: var(--navy); color: white; }
.view-option .ui-icon { width: 1rem; height: 1rem; }
.month-calendar {
  min-width: 0; padding: 0; overflow: hidden;
  border: 1px solid var(--line); border-radius: .8rem; background: white;
}
.calendar-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .55rem 1rem;
  padding: .8rem clamp(.9rem, 2vw, 1.45rem);
}
.calendar-toolbar h2 { font-family: var(--display); font-size: clamp(1.35rem, 2.3vw, 1.75rem); }
.calendar-nav { display: inline-flex; align-items: center; gap: .32rem; }
.calendar-arrow, .calendar-today {
  display: inline-flex; align-items: center; justify-content: center; min-height: 2.55rem;
  padding: .4rem .75rem; border: 1px solid #b6c8cb; border-radius: .42rem; background: white;
  color: var(--teal-dark); font-size: .88rem; font-weight: 650;
}
.calendar-arrow { width: 2.55rem; padding-inline: 0; }
.calendar-arrow:hover, .calendar-today:hover { background: var(--pale); border-color: var(--teal); }
.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.calendar-weekday {
  padding: .43rem .63rem; background: #ecf2f2; color: var(--muted);
  font-size: .72rem; font-weight: 700; letter-spacing: .055em; text-transform: uppercase;
}
.calendar-blank { background: #f2f5f5; }
.calendar-day {
  position: relative; display: flex; flex-direction: column; align-items: stretch; gap: .25rem;
  min-width: 0; min-height: 5.2rem; padding: .36rem .38rem; border: 0; border-radius: 0;
  background: white; text-align: start; font-variant-numeric: tabular-nums;
}
.calendar-day:nth-child(7n), .calendar-day:nth-child(7n - 1) { background: #f7f9f9; }
.calendar-day:hover { background: #edf6f6; }
.calendar-day[aria-pressed=true] { background: #e7f5f5; box-shadow: inset 0 0 0 2px var(--teal); }
.calendar-day:focus-visible { outline-offset: -4px; z-index: 1; }
.day-number {
  display: inline-grid; align-self: flex-start; place-items: center; min-width: 1.7rem; height: 1.7rem;
  border: 1px solid transparent; border-radius: 50%; font-size: .87rem; font-weight: 650; line-height: 1;
}
.calendar-day[aria-current=date] .day-number { border-color: var(--teal); color: var(--teal-dark); }
.calendar-day[aria-pressed=true] .day-number { background: var(--teal); color: white; }
.calendar-day[aria-current=date][aria-pressed=true] .day-number { text-decoration: underline; text-underline-offset: .15em; }
.day-count { display: none; }
.day-events { display: grid; gap: .2rem; min-width: 0; }
.day-event {
  display: flex; align-items: baseline; gap: .26rem; min-width: 0; padding: .18rem .32rem;
  border-inline-start: 2px solid var(--teal); border-radius: .14rem; background: #dceff0;
  color: var(--teal-dark); font-size: .75rem; line-height: 1.3;
}
.day-event time { flex: none; font-weight: 720; }
.event-title { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.day-more { padding-inline: .32rem; color: var(--muted); font-size: .75rem; font-weight: 650; }
.calendar-agenda > h2 { font-size: clamp(1.25rem, 2vw, 1.6rem); margin-bottom: .8rem; }
.calendar-empty { padding: 1.05rem 1.2rem; border: 1px solid var(--line); border-radius: .65rem; color: var(--muted); background: white; }

.session-card { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: clamp(.8rem, 2vw, 1.5rem); }
.date-tile {
  width: 4.4rem; min-height: 5.2rem; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .12rem; padding: .55rem .3rem; background: var(--navy); border-radius: .45rem; color: white;
  font-size: .69rem; line-height: 1.15; letter-spacing: .045em; font-weight: 650; text-transform: uppercase; font-variant-numeric: tabular-nums;
}
.date-tile strong { color: var(--aqua); font-family: var(--display); font-size: 2.13rem; letter-spacing: -.05em; line-height: .96; }
.session-main { min-width: 0; }
.session-main h2, .session-main h3 { font-size: clamp(1.23rem, 2vw, 1.6rem); letter-spacing: -.034em; }
.session-meta, .tag-list { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem 1.1rem; }
.session-meta { color: #294853; margin-top: .45rem; font-size: .94rem; font-weight: 590; }
.session-meta > *, .session-audience { display: inline-flex; align-items: center; gap: .43rem; }
.session-meta .ui-icon, .session-audience .ui-icon { color: var(--teal); }
.session-audience { display: flex; margin-top: .4rem; font-size: .87rem; }
.tag-list { margin-top: .65rem; gap: .45rem; }
.pill { display: inline-flex; align-items: center; gap: .35rem; padding: .22rem .63rem; border-radius: 100vw; background: var(--pale); color: #185e69; font-size: .8rem; line-height: 1.45; font-weight: 650; overflow-wrap: anywhere; }
.pill.mine { color: #304f76; background: #edf2fa; }
.pill.account-inactive { background: #f3eeea; color: #6a5144; }
.past-sessions { padding-top: .45rem; }
.past-sessions summary { color: var(--teal); font-weight: 650; }
.past-sessions[open] summary { margin-bottom: .85rem; }
.empty-state { text-align: center; padding-block: clamp(2.5rem, 5.5vw, 4.75rem); }
.empty-state p { max-width: 48ch; margin: .6rem auto 0; }
.admin-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); align-items: start; gap: 1.15rem; }
.card-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; }
.admin-card .card-top h2 { font-size: 1.53rem; }
.admin-card > p { margin-top: .75rem; }
.data-list { list-style: none; margin: 1.15rem 0 0; padding: 0; }
.data-list > * { padding-block: .85rem; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.data-list > :last-child { padding-bottom: 0; }
.data-list p { color: var(--muted); margin-top: .22rem; font-size: .92rem; }
.data-list .button-row { margin-top: .65rem; }
.coach-list .btn { min-height: 2.55rem; padding: .4rem .75rem; font-size: .87rem; }

dialog {
  width: min(calc(100% - 2rem), 36rem); max-width: none; max-height: calc(100vh - 2rem); max-height: calc(100dvh - 2rem);
  margin: auto; padding: 0; overflow: auto; overscroll-behavior: contain; border: 1px solid var(--line);
  border-radius: .9rem; background: white; color: var(--ink); box-shadow: 0 1.4rem 5rem rgb(4 27 40 / 25%);
}
dialog::backdrop { background: rgb(7 28 39 / 62%); }
dialog:focus { outline: 0; }
body:has(dialog[open]) { overflow: hidden; }
.dialog-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: .7rem; padding: 1.5rem 1.55rem 1rem; }
.dialog-heading h2 { font-size: 1.65rem; flex: 1; }
.dialog-close { display: grid; place-items: center; width: 2.65rem; height: 2.65rem; margin: -.4rem -.28rem 0 0; border: 0; border-radius: .4rem; color: var(--muted); font-size: 1.65rem; line-height: 1; }
.dialog-body { padding: .2rem 1.55rem 1.55rem; }
.dialog-body > * + *, .dialog-body form > * + fieldset { margin-top: 1.05rem; }
.dialog-body h3 + p, .dialog-body fieldset .form-hint + .check-list { margin-top: .55rem; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.form-grid .full { grid-column: 1/-1; }
.field { display: grid; align-content: start; min-width: 0; gap: .42rem; }
label, legend { color: var(--ink); font-size: .92rem; font-weight: 650; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { padding: 0; margin: 0 0 .45rem; }
.field small, .form-hint { font-size: .86rem; color: var(--muted); font-weight: 400; line-height: 1.47; }
.account-fields { display: grid; gap: .95rem; }
.profile-password { border-top: 1px solid var(--line); padding-top: 1rem; }
.dialog-body:has(> .report-footer) { padding-bottom: 0; }
dialog:has(.report-footer) { scroll-padding-bottom: 4.5rem; }
.report-footer {
  position: sticky; bottom: 0; z-index: 1; display: flex; justify-content: flex-end;
  padding: .65rem 0; border-top: 1px solid var(--line); background: white;
}
.username-hint { margin-top: -.5rem; }
input:not([type=checkbox]):not([type=radio]), select, textarea {
  width: 100%; min-width: 0; min-height: 2.95rem; padding: .65rem .82rem; border: 1px solid #a8babd;
  border-radius: .45rem; background-color: #fff; color: var(--ink); font-size: 1rem; font-weight: 450; line-height: 1.4;
}
input::placeholder, textarea::placeholder { opacity: 1; color: #637a80; }
input:not([type=checkbox]):not([type=radio]):focus, select:focus, textarea:focus { border-color: var(--teal); }
textarea { resize: vertical; min-height: 5.2rem; }
select { padding-right: 2rem; }
input[type=checkbox], input[type=radio] { flex: none; width: 1.12rem; height: 1.12rem; margin: 0; accent-color: var(--teal); }
.check-list { display: flex; flex-wrap: wrap; gap: .4rem .5rem; }
.check-row { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.65rem; padding: .43rem .65rem; border: 1px solid #c9d6d8; border-radius: .42rem; background: #f7f9f9; cursor: pointer; }
.check-row:has(input:checked) { background: var(--pale); border-color: #78acb1; }
.password-entry { position: relative; }
.password-entry input:not([type=checkbox]):not([type=radio]) { padding-inline-end: 6.15rem; }
.password-toggle {
  position: absolute; inset-block: .2rem; inset-inline-end: .2rem; min-width: 5.35rem; padding-inline: .6rem;
  border: 0; border-radius: .32rem; background: transparent; color: var(--teal); font-size: .86rem; font-weight: 660;
}
.password-toggle:hover { background: var(--pale); }
dialog .actions, form > .actions { margin-top: 1.2rem; }
.notice { padding: .76rem .95rem; border: 1px solid #aaccd2; border-radius: .5rem; background: #edf6f8; color: #114855; font-size: .93rem; line-height: 1.48; overflow-wrap: anywhere; }
.notice.error { color: #792925; border-color: #dfb5b3; background: #fff2f1; }
.notice.success { color: #205a42; border-color: #b1d6c0; background: #eff8f2; }
.notice:empty { display: none; }
dl.session-details { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem 1rem; margin: .1rem 0 1.25rem; padding: 1rem; background: var(--paper); border-radius: .5rem; }
.session-details dt { color: var(--muted); font-size: .83rem; }
.session-details dd { margin: .14rem 0 0; font-weight: 600; overflow-wrap: anywhere; }
.session-details div:last-child { grid-column: 1/-1; }
.multiline { white-space: pre-line; }
.report-panel { padding: 1rem; background: #eff8f8; border: 1px solid #c0dcdd; border-radius: .55rem; }
.report-panel form, .report-panel .form-hint, .report-panel button { margin-top: .65rem; }
.report-panel .check-row { max-width: 100%; overflow-wrap: anywhere; }
.registration-summary .data-list { margin-top: .55rem; }
.registration-summary li { display: flex; justify-content: space-between; gap: .65rem; padding-block: .5rem; }
.registration-summary strong { font-variant-numeric: tabular-nums; }

@media (max-width: 59rem) {
  .login-layout { grid-template-columns: minmax(0,1.04fr) minmax(0,1fr); }
  .login-intro, .login-card.card { padding: clamp(1.55rem, 3.6vw, 2.5rem); }
  .login-intro h1 { font-size: clamp(3.15rem, 6.2vw, 4.3rem); }
  .login-card.card { gap: 1.25rem; }
}
@media (max-width: 45rem) {
  .calendar-toolbar { padding: .7rem .85rem; }
  .calendar-weekday { text-align: center; padding-inline: 0; }
  .calendar-day { align-items: center; gap: .1rem; min-height: 3.4rem; padding: .27rem .08rem; }
  .day-number { align-self: center; min-width: 1.5rem; height: 1.5rem; }
  .day-events { display: none; }
  .has-training .day-count {
    display: inline-flex; align-items: center; justify-content: center; min-width: 1.22rem;
    min-height: 1.05rem; padding: 0 .28rem; border-radius: 3rem;
    color: white; background: var(--teal-dark); font-size: .68rem; font-weight: 700; line-height: 1;
  }
  .header-inner { min-height: 4rem; padding-block: .6rem; }
  .brand { gap: .62rem; }
  .brand-logo { width: 3rem; height: 3rem; }
  .brand-info strong { font-size: 1rem; }
  .brand-info small { font-size: .7rem; }
  .header-label { font-size: .82rem; }
  .login-layout { grid-template-columns: minmax(0,1fr); margin-top: 1.2rem; min-height: 0; border-radius: .85rem; }
  .login-intro { min-height: clamp(12.2rem, 42vw, 17.5rem); padding: clamp(1.25rem, 4vw, 1.8rem); background-position: 56% 52%; }
  .login-intro::before { background: linear-gradient(90deg, rgb(6 27 39 / 78%), rgb(6 27 39 / 37%) 56%, transparent 100%), linear-gradient(0deg, rgb(4 25 36 / 63%), transparent 75%); }
  .login-intro .eyebrow { font-size: .63rem; }
  .login-intro h1 { font-size: clamp(2.25rem, 8.4vw, 3.6rem); margin: .6rem 0 .7rem; line-height: .9; }
  .hero-text { max-width: 34ch; font-size: .86rem; line-height: 1.45; }
  .login-card.card { padding: 1.45rem clamp(1.2rem, 4vw, 2rem) 1.55rem; gap: 1.08rem; }
  .login-card h2 { font-size: 1.95rem; }
  .login-card form { gap: .87rem; }
  .access-help { padding-top: .8rem; }
  .admin-grid { grid-template-columns: 1fr; }
  .session-card { grid-template-columns: auto minmax(0,1fr); gap: .8rem; align-items: start; }
  .session-actions { grid-column: 2; }
  .date-tile { width: 3.55rem; min-height: 4.55rem; }
  .date-tile strong { font-size: 1.8rem; }
  .session-meta { align-items: flex-start; flex-direction: column; gap: .2rem; }
  .footer-inner { min-height: 3.75rem; }
}
@media (max-width: 30rem) {
  .calendar-toolbar { gap: .45rem; padding: .55rem .5rem; }
  .calendar-toolbar h2 { font-size: 1.18rem; }
  .calendar-nav { gap: .18rem; }
  .calendar-arrow { min-width: 2rem; width: 2rem; }
  .calendar-today { padding-inline: .46rem; }
  .footer-inner { gap: .25rem .75rem; font-size: .7rem; }
  .header-actions { gap: .35rem; }
  .dashboard .page-head { align-items: flex-start; }
  .session-actions { grid-column: 1/-1; }
  .session-actions .btn { width: 100%; }
  .form-grid { grid-template-columns: minmax(0,1fr); }
  .dialog-heading { padding: 1.2rem 1.05rem .8rem; }
  .dialog-heading h2 { font-size: 1.45rem; }
  .dialog-body { padding: .2rem 1.05rem 1.1rem; }
  .report-panel { padding: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; }
}
