@font-face {
  font-family: Inter;
  src: url('/assets/fonts/inter-variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #0e1c33;
  --blue: #123c7c;
  --blue-dark: #0b2a5b;
  --blue-light: #2f6bff;
  --muted: #4d6076;
  --rose: #ae3f5e;
  --rose-deep: #96304e;
  --rose-decor: #eb668b;
  --bg: #e8eef7;
  --white: #fff;
  --line: rgb(18 60 124 / 15%);
  --glass-line: rgb(255 255 255 / 78%);
  --radius: 28px;
  --pill: 999px;
  --glass: linear-gradient(
    135deg,
    rgb(255 255 255 / 66%),
    rgb(255 255 255 / 36%) 44%,
    rgb(214 228 244 / 48%)
  );
  --blur: blur(34px) saturate(1.8) brightness(1.04);
  --shadow:
    0 2px 6px rgb(7 26 58 / 3%), 0 16px 36px -14px rgb(7 26 58 / 16%),
    0 38px 70px -34px rgb(7 26 58 / 24%),
    inset 0 2px 1px rgb(255 255 255 / 95%),
    inset 0 0 0 1px rgb(255 255 255 / 44%),
    inset 0 -18px 38px rgb(18 60 124 / 4%);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}
html {
  min-height: 100%;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--bg);
  font:
    16px/1.6 Inter,
    system-ui,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
.ambience {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 5% 8%, rgb(18 60 124 / 17%), transparent 48%),
    radial-gradient(ellipse at 95% 2%, rgb(235 102 139 / 20%), transparent 46%),
    radial-gradient(ellipse at 55% 78%, rgb(47 107 255 / 13%), transparent 58%),
    linear-gradient(160deg, #f2f6fc, #e8eef7 55%, #dce6f2);
}
.aurora {
  position: absolute;
  inset: -15%;
  opacity: 0.5;
  filter: blur(70px);
  background: conic-gradient(
    from 195deg at 35% 30%,
    rgb(47 107 255 / 14%),
    transparent 25%,
    rgb(235 102 139 / 13%) 55%,
    transparent 75%,
    rgb(18 60 124 / 12%)
  );
}
.fine-grid {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(#000, transparent 70%);
}
a {
  color: var(--blue);
  text-underline-offset: 4px;
}
a:hover {
  text-decoration: underline;
}
button,
input,
textarea {
  font: inherit;
}
.icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  vertical-align: middle;
}
button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 23px;
  border-radius: var(--pill);
  border: 1px solid rgb(255 255 255 / 55%);
  cursor: pointer;
  color: var(--white);
  background: linear-gradient(135deg, var(--rose), var(--rose-deep));
  box-shadow:
    0 7px 18px -10px rgb(150 48 78 / 65%),
    inset 0 1px 1px rgb(255 255 255 / 45%);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.22s var(--ease),
    box-shadow 0.22s var(--ease),
    background 0.22s var(--ease);
}
button:hover,
.button:hover {
  box-shadow:
    0 10px 22px -10px rgb(150 48 78 / 65%),
    inset 0 1px 1px rgb(255 255 255 / 60%);
  transform: translateY(-1px);
  text-decoration: none;
}
button:active,
.button:active {
  transform: translateY(1px);
}
button:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}
.secondary,
.quiet {
  color: var(--blue);
  background: linear-gradient(
    145deg,
    rgb(255 255 255 / 75%),
    rgb(255 255 255 / 35%)
  );
  border-color: var(--glass-line);
  box-shadow:
    0 4px 12px -8px rgb(7 26 58 / 24%),
    inset 0 1px 0 var(--white),
    inset 0 0 0 1px var(--line);
}
.secondary:hover,
.quiet:hover {
  background: rgb(255 255 255 / 85%);
  box-shadow:
    0 7px 18px -12px rgb(7 26 58 / 28%),
    inset 0 0 0 1px var(--line);
}
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}
.skip {
  position: fixed;
  left: 24px;
  top: -100px;
  z-index: 100;
}
.skip:focus {
  top: 12px;
  background: var(--white);
  border-radius: 14px;
  padding: 12px;
}

.glass,
.card {
  position: relative;
  isolation: isolate;
  background: var(--glass);
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
}
.glass::before,
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    125deg,
    rgb(255 255 255 / 46%),
    transparent 22%,
    transparent 75%,
    rgb(255 255 255 / 24%)
  );
}
.shell-header {
  max-width: 1220px;
  margin: 24px auto 0;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-radius: var(--pill);
  z-index: 3;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
  color: var(--blue-dark);
  font-size: 21px;
  font-weight: 800;
  text-decoration: none;
  line-height: 1.25;
  letter-spacing: -0.6px;
}
.brand:hover {
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: linear-gradient(
    145deg,
    rgb(255 255 255 / 84%),
    rgb(143 181 236 / 34%)
  );
  box-shadow:
    inset 0 2px 1px var(--white),
    inset 0 -6px 12px rgb(18 60 124 / 9%),
    0 6px 15px -10px rgb(18 60 124 / 44%);
  border: 1px solid var(--glass-line);
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
}
.brand-copy small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1px;
  color: var(--muted);
  margin-top: 4px;
}
nav {
  display: flex;
  justify-content: center;
  gap: 4px;
  padding: 4px;
  border-radius: var(--pill);
  background: rgb(18 60 124 / 4%);
  box-shadow: inset 0 1px 4px rgb(18 60 124 / 4%);
}
nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  text-decoration: none;
  padding: 11px 13px;
  min-height: 44px;
  border-radius: var(--pill);
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
  transition: background 0.2s var(--ease);
}
nav .icon {
  width: 18px;
  height: 18px;
}
.nav-short {
  display: none;
}
nav a:hover {
  background: rgb(255 255 255 / 40%);
  text-decoration: none;
}
nav a[aria-current] {
  background: linear-gradient(
    145deg,
    rgb(255 255 255 / 95%),
    rgb(255 255 255 / 50%)
  );
  box-shadow:
    0 3px 8px rgb(18 60 124 / 7%),
    inset 0 1px 0 var(--white);
  color: var(--blue-dark);
}
.shell-header form {
  display: block;
}
.logout {
  padding: 10px 14px;
  font-size: 12px;
}
.logout .icon {
  width: 17px;
  height: 17px;
}
main {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  max-width: 1132px;
  margin: 0 auto;
  padding: 24px 0 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.footer-brand {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-weight: 650;
  color: var(--blue);
}
.footer-brand .icon {
  width: 17px;
  height: 17px;
}
h1,
h2,
h3 {
  line-height: 1.2;
  color: var(--blue-dark);
  overflow-wrap: anywhere;
}
h1 {
  margin: 8px 0 16px;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -1.9px;
}
h2 {
  font-size: 22px;
  letter-spacing: -0.6px;
  margin: 0 0 16px;
  font-weight: 750;
}
h3 {
  font-size: 18px;
  letter-spacing: -0.35px;
  margin: 0 0 8px;
  font-weight: 700;
}
p {
  margin: 8px 0 16px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 750;
  color: var(--blue);
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--rose-decor));
}
.accent {
  color: var(--rose);
}
.lead {
  color: var(--muted);
  font-size: 17px;
  max-width: 670px;
  line-height: 1.7;
  margin-bottom: 0;
}
.heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}
.welcome {
  margin: 6px 0 42px;
}
.page-heading {
  display: flex;
  gap: 22px;
  align-items: center;
  margin: 6px 0 36px;
}
.page-heading h1 {
  margin: 0 0 12px;
}
.page-heading .eyebrow {
  margin-bottom: 9px;
}
.section-symbol,
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  color: var(--blue);
  border-radius: 18px;
  border: 1px solid var(--glass-line);
  background: linear-gradient(
    145deg,
    rgb(255 255 255 / 87%),
    rgb(154 189 241 / 25%)
  );
  box-shadow:
    inset 0 2px 1px var(--white),
    inset 0 -5px 12px rgb(18 60 124 / 5%),
    0 6px 16px -12px rgb(18 60 124 / 35%);
}
.section-symbol .icon {
  width: 28px;
  height: 28px;
}
.page-heading > .section-symbol {
  width: 72px;
  height: 72px;
  border-radius: 24px;
}
.page-heading > .section-symbol .icon {
  width: 34px;
  height: 34px;
}
.rose-symbol {
  color: var(--rose);
  background: linear-gradient(
    145deg,
    rgb(255 255 255 / 90%),
    rgb(241 148 174 / 27%)
  );
}
.card {
  border-radius: var(--radius);
  padding: 30px;
  margin-bottom: 24px;
}
.tiles,
.columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 30px;
}
.tile {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  padding: 30px;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}
.columns {
  margin-bottom: 24px;
}
.tile:hover {
  transform: translateY(-3px);
  text-decoration: none;
  box-shadow:
    var(--shadow),
    0 12px 30px -18px rgb(18 60 124 / 25%);
}
.tile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 25px;
}
.tile p {
  color: var(--muted);
  margin-bottom: 26px;
}
.tile h2 {
  max-width: 330px;
  font-size: 26px;
  line-height: 1.3;
}
.rights-tile {
  background: linear-gradient(
    145deg,
    rgb(255 255 255 / 72%),
    rgb(255 245 248 / 37%) 58%,
    rgb(242 192 209 / 22%)
  );
}
.calendar-tile {
  background: linear-gradient(
    145deg,
    rgb(255 255 255 / 70%),
    rgb(255 255 255 / 36%) 58%,
    rgb(147 187 247 / 20%)
  );
}
.arrow,
.text-link {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
}
.arrow {
  margin-top: auto;
}
.arrow .icon,
.text-link .icon {
  width: 18px;
  height: 18px;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: var(--pill);
  border: 1px solid rgb(255 255 255 / 65%);
  color: var(--blue);
  background: rgb(255 255 255 / 43%);
  box-shadow: inset 0 1px 0 var(--white);
  font-size: 10px;
  letter-spacing: 0.8px;
  font-weight: 700;
}
.tag .icon {
  width: 15px;
  height: 15px;
}
.account-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  padding: 12px 18px 12px 12px;
  border-radius: var(--pill);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}
.account-chip small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  margin-top: 2px;
}
.account-chip:hover {
  text-decoration: none;
}
.account-chip > .icon {
  width: 17px;
  height: 17px;
  margin-left: 5px;
}
.avatar {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--blue);
  background: linear-gradient(140deg, #fff, #d8e6fb 75%, #f1dbe4);
  border: 1px solid var(--white);
  box-shadow:
    inset 0 2px 1px var(--white),
    0 3px 8px rgb(18 60 124 / 7%);
  font-size: 13px;
  font-weight: 750;
}
.profile-avatar {
  width: 66px;
  height: 66px;
  font-size: 20px;
  margin-bottom: 24px;
}

.login {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 76px;
  align-items: center;
  max-width: 1070px;
  margin: 15px auto 0;
}
.login h1 {
  font-size: clamp(40px, 4.5vw, 58px);
  line-height: 1.12;
  letter-spacing: -2.6px;
}
.login .lead {
  max-width: 440px;
  font-size: 16px;
}
.login-card {
  padding: 36px;
  margin: 0;
}
.card-heading {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 27px;
}
.card-heading h2 {
  font-size: 25px;
  margin: 0 0 4px;
}
.card-heading p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.feature {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 15px;
}
.feature b {
  font-size: 14px;
  color: var(--blue-dark);
}
.feature p {
  margin: 3px 0 0;
  font-size: 12px;
  color: var(--muted);
}
.glass-art {
  position: relative;
  height: 178px;
  max-width: 370px;
  margin: 18px auto 12px;
}
.orb {
  position: absolute;
  width: 132px;
  height: 132px;
  left: 110px;
  top: 22px;
  display: grid;
  place-items: center;
  border-radius: 36px;
  transform: rotate(-12deg);
  border: 1px solid rgb(255 255 255 / 85%);
  background: linear-gradient(
    135deg,
    rgb(255 255 255 / 90%),
    rgb(219 236 255 / 38%) 45%,
    rgb(148 185 239 / 42%) 75%,
    rgb(255 255 255 / 80%)
  );
  box-shadow:
    inset 0 3px 2px var(--white),
    inset 0 -10px 18px rgb(18 60 124 / 8%),
    0 24px 42px -26px rgb(18 60 124 / 60%);
}
.orb-core {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 28px;
  transform: rotate(12deg);
  color: var(--blue);
  background: linear-gradient(
    150deg,
    rgb(255 255 255 / 76%),
    rgb(255 255 255 / 24%)
  );
  box-shadow:
    inset 0 2px 1px var(--white),
    0 7px 18px rgb(18 60 124 / 6%);
}
.orb-core img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: 20px;
}
.floating-symbol {
  position: absolute;
  width: 65px;
  height: 65px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  border: 1px solid var(--glass-line);
  background: var(--glass);
  color: var(--blue);
  box-shadow: var(--shadow);
}
.floating-symbol .icon {
  width: 30px;
  height: 30px;
}
.calendar-symbol {
  left: 28px;
  top: 78px;
  transform: rotate(10deg);
}
.sparkle-symbol {
  right: 23px;
  top: 12px;
  width: 55px;
  height: 55px;
  transform: rotate(13deg);
  color: var(--rose);
  background: linear-gradient(
    145deg,
    rgb(255 255 255 / 85%),
    rgb(241 148 174 / 23%)
  );
}
.orbit-line {
  position: absolute;
  width: 240px;
  height: 70px;
  left: 55px;
  top: 101px;
  border: 1px solid rgb(255 255 255 / 75%);
  border-radius: 50%;
  transform: rotate(-18deg);
  z-index: -1;
}

form {
  display: grid;
  gap: 16px;
}
label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 650;
  color: var(--blue-dark);
}
input,
textarea {
  width: 100%;
  min-height: 49px;
  padding: 12px 15px;
  color: var(--ink);
  border-radius: 16px;
  border: 1px solid rgb(255 255 255 / 85%);
  background: linear-gradient(
    135deg,
    rgb(255 255 255 / 75%),
    rgb(255 255 255 / 49%)
  );
  box-shadow:
    inset 0 0 0 1px rgb(18 60 124 / 12%),
    inset 0 2px 5px rgb(18 60 124 / 4%),
    0 1px 0 rgb(255 255 255 / 70%);
  font-size: 14px;
}
input::placeholder,
textarea::placeholder {
  color: #566880;
  opacity: 1;
}
input:focus,
textarea:focus {
  background: rgb(255 255 255 / 90%);
}
.password-field {
  position: relative;
  min-width: 0;
}
.password-field input {
  padding-right: 56px;
}
.password-field .password-toggle {
  position: absolute;
  right: 4px;
  bottom: 2.5px;
  width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  color: var(--blue);
  background: transparent;
  box-shadow: none;
  transform: none;
}
.password-field .password-toggle:hover {
  background: rgb(18 60 124 / 8%);
}
input[type='file'] {
  padding: 8px;
}
input::file-selector-button {
  border: 1px solid var(--glass-line);
  border-radius: var(--pill);
  padding: 9px 15px;
  color: var(--blue);
  background: rgb(255 255 255 / 82%);
  box-shadow: inset 0 0 0 1px var(--line);
  margin-right: 12px;
  cursor: pointer;
  font: inherit;
  font-weight: 650;
}
textarea {
  resize: vertical;
  line-height: 1.7;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 500;
}
.check input {
  width: 19px;
  height: 19px;
  min-height: 19px;
  margin: 3px 0 0;
  flex-shrink: 0;
  accent-color: var(--blue);
}
.help {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}
.divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 25px 0;
  color: var(--muted);
  font-size: 12px;
}
.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}
.login .secondary {
  width: 100%;
}
.login-card > .help {
  margin-bottom: 0;
  margin-top: 20px;
}
.biometric-symbol {
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  width: 80px;
  height: 80px;
  border: 1px solid var(--glass-line);
  border-radius: 26px;
  background: var(--glass);
  box-shadow: var(--shadow);
  color: var(--blue);
}
.biometric-symbol .icon {
  width: 46px;
  height: 46px;
}
.biometric-button {
  width: 100%;
  min-height: 56px;
}
#passkey-entry .help {
  text-align: center;
}
.password-login {
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding-top: 18px;
}
.password-login summary,
.access-options summary {
  color: var(--blue);
  font-weight: 650;
  cursor: pointer;
  min-height: 44px;
  padding: 12px 0;
}
.password-login form {
  margin-top: 12px;
}
.quick-access-invitation {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.quick-access-invitation > div {
  flex: 1 1 220px;
}
.quick-access-invitation h2 {
  margin: 0 0 5px;
  font-size: 19px;
}
.quick-access-invitation p {
  margin: 0;
  color: var(--muted);
}
.passkey-dialog {
  width: min(460px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: 28px;
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  color: var(--ink);
  background: #edf2fa;
  box-shadow: var(--shadow);
}
.passkey-dialog::backdrop {
  background: rgb(7 26 58 / 45%);
  backdrop-filter: blur(8px);
}
.dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.dialog-heading h2 {
  font-size: 22px;
  margin: 0;
}
.dialog-heading button {
  width: 44px;
  min-height: 44px;
  flex-shrink: 0;
  padding: 0;
  font-size: 24px;
}
#passkey-register {
  margin: 16px 0 0;
}
.section-heading {
  margin-bottom: 18px;
}
.section-heading h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 20px;
}
.section-heading h2 .icon {
  width: 21px;
  height: 21px;
}
.event {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 25px 28px;
}
.event-content {
  min-width: 0;
  flex: 1;
}
.date-badge {
  flex-shrink: 0;
  min-width: 70px;
  padding: 12px 16px;
  border: 1px solid var(--glass-line);
  border-radius: 21px;
  text-align: center;
  color: var(--blue);
  background: linear-gradient(
    140deg,
    rgb(255 255 255 / 90%),
    rgb(173 204 248 / 28%)
  );
  box-shadow:
    inset 0 2px 1px var(--white),
    0 5px 14px -11px rgb(18 60 124 / 30%);
}
.date-badge b {
  display: block;
  font-size: 28px;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -1px;
}
.date-badge span {
  display: block;
  font-size: 11px;
  margin-top: 3px;
}
.date {
  font-size: 12px;
  color: var(--muted);
  font-weight: 550;
}
.date .icon,
.event-location .icon {
  width: 15px;
  height: 15px;
  margin-right: 7px;
}
.event-location {
  font-size: 13px;
  color: var(--blue);
  margin: 10px 0;
}
.description {
  margin-bottom: 0;
  font-size: 14px;
}
.description,
.answer {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.event-symbol {
  display: grid;
  place-items: center;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  background: rgb(255 255 255 / 40%);
  border: 1px solid var(--glass-line);
  color: var(--blue);
}
.event-symbol .icon {
  width: 17px;
  height: 17px;
}
.empty {
  text-align: center;
  padding: 40px;
}
.empty .section-symbol {
  margin-bottom: 18px;
}
.empty p {
  color: var(--muted);
  margin-bottom: 0;
}
.tabs {
  display: inline-flex;
  gap: 4px;
  max-width: 100%;
  margin: 0 0 28px;
  padding: 5px;
  border: 1px solid var(--glass-line);
  border-radius: var(--pill);
  background: rgb(255 255 255 / 35%);
  box-shadow: inset 0 2px 5px rgb(18 60 124 / 4%);
}
.tabs a {
  padding: 10px 19px;
  min-height: 44px;
  border-radius: var(--pill);
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
}
.tabs a[aria-current] {
  color: var(--blue-dark);
  background: linear-gradient(
    145deg,
    rgb(255 255 255 / 98%),
    rgb(255 255 255 / 60%)
  );
  box-shadow:
    0 3px 9px rgb(18 60 124 / 8%),
    inset 0 1px 0 var(--white);
}
dl {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  font-size: 14px;
}
dt {
  color: var(--muted);
}
dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.table-wrap {
  overflow: auto;
  max-width: 100%;
  padding-bottom: 6px;
  border-radius: 16px;
}
.table-wrap:focus-visible {
  outline-offset: -3px;
}
.table-hint {
  display: none;
}
table {
  width: 100%;
  min-width: 840px;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
  font-size: 13px;
}
caption {
  text-align: left;
  font-weight: 700;
  color: var(--blue);
  margin: 14px 0 12px;
}
th,
td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  overflow-wrap: anywhere;
}
th {
  min-width: 110px;
  overflow-wrap: normal;
  color: var(--blue-dark);
  background: rgb(255 255 255 / 50%);
  font-weight: 650;
}
th:first-child {
  border-top-left-radius: 14px;
}
th:last-child {
  border-top-right-radius: 14px;
}
tbody tr:nth-child(even) {
  background: rgb(255 255 255 / 15%);
}
td form {
  min-width: 205px;
  margin-bottom: 12px;
}
td form:last-child {
  margin-bottom: 0;
}
td button {
  font-size: 12px;
  padding: 10px 16px;
}
#message {
  background: rgb(255 255 255 / 90%);
  border: 1px solid var(--glass-line);
  border-left: 4px solid var(--rose);
  box-shadow: var(--shadow);
  padding: 20px;
  border-radius: 18px;
  margin-bottom: 24px;
}
.assistant-card {
  max-width: 930px;
  margin: 0 auto 24px;
  padding: 34px;
}
.assistant-card > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 23px;
}
.assistant-card textarea {
  min-height: 150px;
}
#chat-result {
  margin-top: 28px;
}

@supports not (
  (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))
) {
  .glass,
  .card,
  .floating-symbol {
    background: rgb(250 252 255 / 97%);
  }
}
@media (prefers-reduced-transparency: reduce) {
  .glass,
  .card,
  .floating-symbol {
    background: #f8fbff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
@media (max-width: 1260px) {
  .shell-header {
    margin-left: 24px;
    margin-right: 24px;
  }
  footer {
    margin-left: 24px;
    margin-right: 24px;
  }
}
@media (max-width: 1050px) {
  .shell-header {
    flex-wrap: wrap;
    border-radius: 28px;
    gap: 12px;
  }
  nav {
    order: 3;
    flex: 1 0 100%;
  }
  .shell-header nav a {
    flex: 1;
  }
  .login {
    gap: 35px;
  }
}
@media (max-width: 700px) {
  :root {
    --blur: blur(20px) saturate(1.5);
    --radius: 24px;
  }
  .shell-header {
    margin: 14px 16px 0;
    padding: 12px;
    gap: 12px;
  }
  .brand {
    font-size: 19px;
    gap: 9px;
  }
  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }
  .brand-copy small {
    font-size: 10px;
  }
  .shell-header > .tag {
    max-width: 110px;
    font-size: 9px;
    line-height: 1.5;
    padding: 7px 10px;
    letter-spacing: 0.3px;
  }
  .shell-header > .tag .icon {
    display: none;
  }
  nav {
    padding: 4px;
    gap: 2px;
    border-radius: 20px;
  }
  nav a {
    flex-direction: column;
    min-width: 0;
    white-space: normal;
    gap: 5px;
    padding: 8px 4px;
    border-radius: 16px;
    font-size: 10px;
  }
  nav a span {
    overflow-wrap: anywhere;
    text-align: center;
  }
  nav .nav-long {
    display: none;
  }
  nav .nav-short {
    display: inline;
  }
  .table-hint {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin: 20px 0 4px;
  }
  nav .icon {
    width: 20px;
    height: 20px;
  }
  .logout {
    padding: 10px 12px;
    font-size: 11px;
  }
  .logout .icon {
    display: none;
  }
  main {
    padding: 32px 20px 40px;
  }
  h1 {
    font-size: 34px;
    letter-spacing: -1.4px;
  }
  .lead {
    font-size: 15px;
  }
  .heading {
    gap: 16px;
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .welcome {
    margin: 0 0 30px;
  }
  .account-chip {
    padding: 9px 13px 9px 9px;
  }
  .account-chip .avatar {
    width: 34px;
    height: 34px;
    font-size: 11px;
  }
  .page-heading {
    align-items: flex-start;
    gap: 14px;
    margin: 0 0 30px;
  }
  .page-heading > .section-symbol {
    width: 48px;
    height: 48px;
    border-radius: 17px;
  }
  .page-heading > .section-symbol .icon {
    width: 24px;
    height: 24px;
  }
  .page-heading h1 {
    font-size: 29px;
    letter-spacing: -1px;
  }
  .page-heading .eyebrow {
    font-size: 9px;
    letter-spacing: 1.5px;
  }
  .page-heading .lead {
    font-size: 14px;
  }
  .login,
  .columns,
  .tiles {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .login {
    margin: 0;
  }
  .login-intro h1 {
    font-size: 42px;
    letter-spacing: -1.8px;
  }
  .glass-art {
    height: 136px;
    margin: 10px auto 15px;
    transform: scale(0.8);
    transform-origin: center;
  }
  .login-intro .feature {
    display: none;
  }
  .login-card,
  .card,
  .tile,
  .assistant-card {
    padding: 25px;
  }
  .login-card {
    margin-top: 5px;
  }
  .columns {
    margin-top: 0;
  }
  .columns .card,
  .tiles .card {
    margin-bottom: 0;
  }
  .section-heading {
    align-items: center;
    flex-wrap: nowrap;
  }
  .section-heading h2 {
    font-size: 17px;
    line-height: 1.4;
  }
  .section-heading h2 .icon {
    display: none;
  }
  .text-link {
    font-size: 11px;
    white-space: nowrap;
  }
  .event {
    gap: 15px;
    padding: 22px;
  }
  .date-badge {
    min-width: 56px;
    padding: 11px;
    border-radius: 18px;
  }
  .date-badge b {
    font-size: 25px;
  }
  .event h3 {
    font-size: 16px;
  }
  .event-symbol {
    display: none;
  }
  .date {
    font-size: 11px;
  }
  .description {
    font-size: 13px;
  }
  .tile h2 {
    font-size: 24px;
  }
  .tabs a {
    padding: 10px 15px;
    font-size: 12px;
  }
  dl {
    grid-template-columns: 90px 1fr;
    font-size: 13px;
  }
  footer {
    align-items: flex-start;
    flex-direction: column;
    margin: 0 20px;
    padding: 20px 0 28px;
    font-size: 11px;
    gap: 8px;
  }
}
@media (max-width: 360px) {
  main {
    padding-left: 16px;
    padding-right: 16px;
  }
  .brand {
    font-size: 17px;
  }
  .logout {
    padding: 9px;
  }
  nav a {
    font-size: 9px;
  }
  .card,
  .login-card {
    padding: 20px;
  }
}

.install-help {
  max-width: 380px;
}
.install-help summary {
  cursor: pointer;
  color: #123c7c;
  font-weight: 600;
}
.install-help p {
  line-height: 1.6;
}
.install-help button {
  margin-top: 8px;
}
.offline-card {
  max-width: 640px;
  margin: 12vh auto;
  text-align: center;
}
.offline-card img {
  border-radius: 24px;
  margin-bottom: 24px;
}
.offline-card .button {
  display: inline-flex;
  margin-top: 20px;
  padding: 14px 24px;
  border-radius: 20px;
  background: #123c7c;
  color: white;
  text-decoration: none;
}

/* Entrée volontairement réduite au logo, au titre et aux deux actions. */
.entry-page main {
  min-height: 100dvh;
  padding: 40px 20px;
  display: grid;
  place-items: center;
  margin: 0 auto;
}
.entry-shell {
  width: min(100%, 440px);
  text-align: center;
}
.entry-logo {
  display: block;
  width: min(100%, 330px);
  height: auto;
  margin: 0 auto 40px;
}
.entry-welcome h1 {
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.15;
  letter-spacing: -1.4px;
  margin: 0 0 40px;
}
.entry-welcome > .button {
  width: 100%;
  justify-content: center;
  min-height: 54px;
}
.entry-create,
.entry-back {
  display: inline-block;
  padding: 16px;
  min-height: 44px;
  margin-top: 8px;
}
.entry-shell .card {
  text-align: left;
}
.entry-shell .card h1 {
  font-size: 28px;
}
.entry-shell .card form > button {
  width: 100%;
  justify-content: center;
}
.rights-page > main {
  max-width: none;
  width: 100%;
  padding: 0;
}
.rights-page .mes-droits-page {
  height: auto;
  min-height: calc(100dvh - 120px);
  background: transparent;
}
.rights-page .mes-droits-page .themis-backdrop {
  display: none;
}
.rights-page .mes-droits-page .page {
  margin: 0 auto;
}
@media (max-width: 640px) {
  .entry-page main {
    padding: 28px 20px;
  }
  .entry-logo {
    margin-bottom: 32px;
  }
}

.quick-access-settings {
  margin-top: 18px;
}
.quick-access-settings > summary {
  cursor: pointer;
  font-weight: 650;
  min-height: 44px;
  padding: 10px 0;
}
.quick-access-settings > .quick-access {
  background: transparent;
  box-shadow: none;
  border: 0;
  padding: 16px 0 0;
  margin: 0;
}

/* Accueil compact et commandes communes, à portée du pouce. */
.hub-header {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 1132px;
  margin: 0 auto;
  padding: 24px 0 0;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.header-actions form {
  margin: 0;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  min-height: 48px;
  padding: 0;
  border-radius: 50%;
  color: var(--blue);
  text-decoration: none;
  flex-shrink: 0;
}
.icon-button:hover,
.icon-button[aria-current='page'] {
  background: rgba(255, 255, 255, 0.9);
  color: var(--rose);
}
.icon-button .icon {
  width: 23px;
  height: 23px;
}
.home-page {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}
.home-page .hub-header {
  width: min(100% - 48px, 720px);
}
.home-page main {
  width: min(100% - 48px, 720px);
  padding: 24px 0 40px;
  flex: 1;
}
.home-greeting {
  margin: 0;
  font-size: clamp(28px, 4vw, 38px);
  letter-spacing: -1.3px;
}
.home-shortcuts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 124px));
  gap: 16px;
  margin: 24px 0 36px;
}
.home-shortcut {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  border-radius: 24px;
  color: var(--blue);
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}
.home-shortcut .icon {
  width: 30px;
  height: 30px;
}
.home-shortcut:hover {
  background: rgba(255, 255, 255, 0.9);
}
.home-shortcut.rights-shortcut {
  color: var(--rose);
}
.upcoming > h2 {
  color: var(--rose);
  font-size: 21px;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.upcoming .events {
  display: grid;
  gap: 10px;
}
.upcoming .event {
  padding: 14px 18px;
  gap: 16px;
  border-radius: 22px;
  margin: 0;
  align-items: center;
}
.upcoming .date-badge {
  min-width: 52px;
  padding: 9px 10px;
  border-radius: 16px;
}
.upcoming .date-badge b {
  font-size: 22px;
}
.upcoming h3 {
  font-size: 16px;
  margin-bottom: 5px;
}
.upcoming .date {
  font-size: 12px;
  margin: 0;
}
.empty-events {
  color: var(--muted);
}
.site-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc(100% - 48px);
  margin: 0 auto;
  padding: 1px 0 2px;
}
.site-footer a {
  color: var(--muted);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.profile-options {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 28px;
}
@media (max-width: 1180px) {
  .hub-header {
    margin-inline: 24px;
  }
  .home-page .hub-header {
    margin-inline: auto;
  }
}
@media (max-width: 640px) {
  .hub-header {
    margin-inline: 20px;
    padding-top: 20px;
  }
  .home-page .hub-header,
  .home-page main,
  .site-footer {
    width: calc(100% - 40px);
  }
  .home-page main {
    padding-top: 26px;
  }
  .home-shortcuts {
    grid-template-columns: repeat(2, minmax(0, 112px));
    gap: 14px;
    margin: 24px 0 30px;
  }
  .upcoming .event {
    padding: 14px;
    gap: 12px;
  }
}

.home-page .hub-header {
  gap: 12px;
}
.home-greeting {
  min-width: 0;
  font-size: clamp(18px, 4.6vw, 30px);
  line-height: 1.3;
  letter-spacing: -0.7px;
  overflow-wrap: anywhere;
}
.home-page .header-actions {
  flex-shrink: 0;
}
.home-page main {
  padding-top: 0;
}
.home-shortcuts {
  margin-top: 26px;
}
.agenda-page main {
  max-width: 768px;
  padding-top: 24px;
}
.agenda-title {
  font-size: 30px;
  margin: 0 0 24px;
}
.slim-events {
  display: grid;
  gap: 8px;
}
.slim-events .event {
  display: block;
  margin: 0;
  padding: 12px 16px;
  border-radius: 16px;
  box-shadow: 0 5px 16px -10px rgb(18 60 124 / 25%);
}
.slim-events h3 {
  margin: 0 0 4px;
  font-size: 16px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.slim-events .date {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}
.event-details {
  margin-top: 6px;
  font-size: 13px;
}
.event-details summary {
  cursor: pointer;
  color: var(--blue);
  width: fit-content;
  padding: 4px 0;
}
.entry-welcome .help:empty {
  display: none;
}
#password-fallback[hidden] {
  display: none;
}
.login-card #passkey-entry {
  border: 0;
  padding: 12px 0 0;
  margin: 0;
}
.login-card .password-login > summary {
  display: none;
}

/* Le choix du mot de passe masque la commande biométrique secondaire. */
.login-card #password-login[open] ~ #passkey-entry {
  display: none;
}
.agenda-page .agenda-date {
  margin-bottom: 2px;
  font-size: 14px;
}
.agenda-page .agenda-period {
  margin-bottom: 2px;
  font-weight: 400;
}
