/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer properties;
:root {
  --system-ui: system-ui, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif,
        'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
}
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font: clamp(1rem, 0.95rem + 0.25vw, 1.1875rem) / 1.6 var(--system-ui);
  color: #111111;
  background: #faf9f6;
  height: 100%;
}
body {
  height: 100%;
}
h1, h2, h3, h4, h5, h6 {
  line-height: 1.15;
  margin: 2rem 0 0.5rem;
  text-wrap: balance;
}
h1 {
  font-size: 2.4rem;
}
h2 {
  font-size: 1.9rem;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.25rem;
}
h5 {
  font-size: 1.1rem;
}
h6 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06rem;
}
p, ul, ol, dl, blockquote, pre, table, figure {
  margin: 0 0 1rem;
}
ul, ol {
  padding-left: 1.4rem;
}
li + li {
  margin-top: 0.25rem;
}
a {
  color: inherit;
  text-decoration-thickness: 0.08rem;
  text-underline-offset: 0.14rem;
}
strong, b {
  font-weight: 700;
}
em, i {
  font-style: italic;
}
small, figcaption {
  font-size: 0.875rem;
  color: #555555;
}
code, kbd, samp, pre {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.92rem;
}
code, kbd {
  background: #eeeeee;
  padding: 0.1rem 0.3rem;
  border-radius: 0.25rem;
}
pre {
  overflow: auto;
  padding: 1rem;
  background: #222222;
  color: #ffffff;
}
blockquote {
  border-left: 0.25rem solid #dddddd;
  padding-left: 1rem;
}
img, svg, video {
  max-width: 100%;
  height: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
}
th, td {
  padding: 0.4rem;
  border-bottom: 1px solid #dddddd;
  text-align: left;
  word-break: break-word;
}
input, select, textarea {
  font: inherit;
  padding: 0.4rem 0.6rem;
  border: 1px solid #cccccc;
  border-radius: 0.3rem;
  background: #ffffff;
}
button {
  font: inherit;
  padding: 0.4rem 0.8rem;
  border: 1px solid #0066cc;
  border-radius: 0.3rem;
  background: #0066cc;
  color: #ffffff;
  cursor: pointer;
}
button:hover {
  background: #005bb5;
  border-color: #005bb5;
}
button:focus, input:focus, select:focus, textarea:focus {
  outline: 2px solid #0066cc;
  outline-offset: 2px;
}
label {
  display: block;
  margin: 0.5rem 0 0.2rem;
}
fieldset {
  border: 1px solid #dddddd;
  padding: 0.5rem 1rem;
}
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  min-width: 0;
}
.table-wrap table {
  min-width: 700px;
}
.table-wrap th, .table-wrap td {
  white-space: nowrap;
  padding: 0.6rem 0.8rem;
}
:root {
  --sidebar-w: 220px;
  --aside-w: 260px;
  --header-h: 64px;
  --footer-h: 72px;
  --gap-xs: 4px;
  --gap-sm: 8px;
  --gap-md: 16px;
  --gap-lg: 24px;
  --gap-xl: 32px;
  --main-pad: var(--gap-lg);
}
.l-admin-shell {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  grid-template-areas: 'sidebar right-col';
  min-height: 100vh;
}
.l-admin-shell--no-sidebar {
  grid-template-columns: 1fr;
  grid-template-areas: 'right-col';
}
.l-sidebar {
  grid-area: sidebar;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  width: var(--sidebar-w);
  height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr;
  grid-template-areas: 'sb-logo' 'sb-nav';
  overflow-y: auto;
  overflow-x: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  background-image: url("../assets/cb02457baf2153f5aef6.ee0fe913f378.svg");
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  background-color: #57c1eb;
}
.l-sb-logo {
  grid-area: sb-logo;
  padding: 1rem;
}
.l-sb-logo img {
  width: 100%;
  height: auto;
  display: block;
}
.l-sb-nav {
  grid-area: sb-nav;
  padding: var(--gap-md) 1rem;
}
.nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--gap-sm);
}
.nav-item {
  display: block;
  padding: 0.55rem 1rem;
  background: #006dc0;
  color: #ffffff;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  transition: background 0.15s, opacity 0.15s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-item:hover {
  background: #005aa3;
  color: #ffffff;
}
.nav-item--active, .nav-item[aria-current='page'] {
  background: #004a8a;
  color: #ffffff;
}
.l-right-col {
  grid-area: right-col;
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-areas: 'site-header' 'body-band' 'site-footer';
  min-height: 100vh;
  min-width: 0;
}
.l-site-header {
  grid-area: site-header;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: 'hd-logo hd-title hd-toolbar';
  align-items: center;
  padding: 0 var(--main-pad);
  background: var(--brand);
  color: #ffffff;
  min-height: auto;
  height: auto;
}
.l-site-header .hamburger {
  color: #ffffff;
}
.l-hd-logo {
  grid-area: hd-logo;
  display: flex;
  align-items: center;
  padding-right: var(--gap-md);
  gap: var(--gap-sm);
}
.l-hd-logo .site-logo {
  display: flex;
  align-items: center;
  gap: var(--gap-xs);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}
.l-hd-logo .site-logo span {
  display: none !important;
}
.l-sb-logo .site-logo span {
  display: none !important;
}
.l-hd-logo .site-logo img {
  width: 40px;
  height: 40px;
}
.l-hd-title {
  grid-area: hd-title;
}
.l-hd-toolbar {
  grid-area: hd-toolbar;
  display: flex;
  align-items: center;
  gap: var(--gap-sm);
  margin-top: 20px;
  margin-bottom: 20px;
}
.l-hd-toolbar .user-name {
  color: #ffffff;
  font-size: 0.95rem;
}
.l-hd-toolbar .btn {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}
.l-hd-toolbar .btn:hover {
  background: rgba(255, 255, 255, 0.3);
}
.page-title {
  color: #ffffff;
  margin: 0;
  font-size: 1.5rem;
}
.l-body-band {
  grid-area: body-band;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: 'main';
  min-height: 0;
  background: #f5f5f3;
}
.l-body-band--wide {
  grid-template-columns: 1fr;
  grid-template-areas: 'main';
}
.l-main {
  grid-area: main;
  display: flex;
  flex-direction: column;
  gap: var(--gap-md);
  overflow-y: auto;
  padding: var(--main-pad);
  min-height: 0;
}
.l-aside {
  grid-area: aside;
  display: flex;
  flex-direction: column;
  gap: var(--gap-md);
  padding: var(--main-pad);
  overflow-y: auto;
  min-height: 0;
}
.l-site-footer {
  grid-area: site-footer;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: 'ft-brand ft-legal ft-social';
  align-items: start;
  gap: var(--gap-lg);
  padding: var(--gap-lg) var(--main-pad);
  background: #288b35;
  color: #f0f0f0;
}
.l-site-footer a {
  color: #ffffff;
  text-decoration-color: transparent;
  transition: color 0.15s, text-decoration-color 0.15s;
  font-weight: 600;
}
.l-site-footer a:hover {
  color: #e8e8e8;
  text-decoration-color: currentColor;
}
.l-ft-brand {
  grid-area: ft-brand;
  display: flex;
  flex-direction: column;
  gap: var(--gap-md);
}
.ft-brand-top {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: var(--gap-lg);
  align-items: flex-start;
}
.ft-logo {
  display: block;
  flex-shrink: 0;
}
.ft-logo svg {
  display: block;
  filter: brightness(0) invert(1);
}
.ft-logo img {
  display: block;
  max-width: 100%;
  height: auto;
}
.ft-offices {
  display: contents;
}
.ft-office {
  font-style: normal;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: #ffffff;
}
.l-ft-brand .l-ft-legal {
  grid-area: auto;
  align-self: auto;
  padding-bottom: 0;
}
.l-ft-brand .l-ft-legal small {
  line-height: 2;
  font-size: 0.8125rem;
  color: #f0f0f0;
}
.l-ft-social {
  grid-area: ft-social;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gap-sm);
  align-self: start;
  padding-top: 0.25rem;
}
.ft-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
  font-weight: 600;
}
.ft-social-link:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  opacity: 1;
}
.l-kiosk-shell {
  display: grid;
  grid-template-rows: auto 1fr;
  grid-template-areas: 'kiosk-header' 'kiosk-body';
  min-height: 100vh;
  width: 100%;
  background-image: url("../assets/cb02457baf2153f5aef6.ee0fe913f378.svg");
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  background-color: #288b35;
}
.l-kiosk-header {
  grid-area: kiosk-header;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: 'kh-identity kh-class kh-help';
  align-items: center;
  padding: var(--gap-md);
  background: linear-gradient(135deg, #0066cc 0%, #004a8a 100%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.l-kh-identity {
  grid-area: kh-identity;
}
.site-logo--kiosk {
  display: flex;
  align-items: center;
  gap: var(--gap-sm);
  text-decoration: none;
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
}
.site-logo--kiosk img {
  width: 120px;
  height: auto;
}
.site-logo--kiosk span {
  display: none;
}
.l-kh-class {
  grid-area: kh-class;
  text-align: center;
  color: #ffffff;
}
.kh-class-info {
  margin: 0;
}
.kh-meta {
  margin: 0 0 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  opacity: 0.9;
}
.kh-date, .kh-school {
  white-space: nowrap;
}
.kh-class-name {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
}
.kh-help {
  grid-area: kh-help;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--gap-sm);
  width: auto;
}
.kh-help .btn {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}
.kh-help .btn:hover {
  background: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}
.btn.btn--icon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: none !important;
  background: #ffd700 !important;
  color: #111111 !important;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}
.btn.btn--icon:hover {
  background: #ffed4e !important;
  transform: translateY(-2px);
}
.btn--icon svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.l-kiosk-body {
  grid-area: kiosk-body;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--gap-md) var(--gap-xl);
  min-height: 0;
  overflow: hidden;
}
.l-pupil-grid-wrap {
  width: 100%;
  max-width: 1200px;
  max-height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.l-pupil-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--gap-md);
  width: 100%;
  padding: 0 var(--gap-md);
}
.l-lb-body {
  display: grid;
  grid-template-columns: 1fr var(--aside-w);
  gap: var(--gap-lg);
  width: 100%;
  max-width: 1200px;
  align-items: start;
}
.l-lb-main {
  display: flex;
  flex-direction: column;
  gap: var(--gap-md);
}
.l-lb-aside {
  display: flex;
  flex-direction: column;
  gap: var(--gap-md);
}
.l-auth-shell {
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-areas: 'auth-header' 'auth-body' 'auth-footer';
  min-height: 100vh;
  width: 100%;
}
.l-auth-header {
  grid-area: auth-header;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--gap-lg) var(--main-pad);
}
.l-auth-body {
  grid-area: auth-body;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--gap-xl) var(--main-pad);
}
.l-auth-footer {
  grid-area: auth-footer;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: 'auth-legal auth-social';
  align-items: center;
  padding: var(--gap-md) var(--main-pad);
}
.l-auth-legal {
  grid-area: auth-legal;
}
.l-auth-social {
  grid-area: auth-social;
  display: flex;
  align-items: center;
  gap: var(--gap-sm);
}
.auth-body {
  background: linear-gradient(to bottom, #57c1eb 0%, #246fa8 100%);
  background-image: url("../assets/cb02457baf2153f5aef6.ee0fe913f378.svg");
  background-size: cover;
  background-position: center bottom;
  background-attachment: fixed;
}
.auth-logo {
  display: block;
  text-decoration: none;
}
.auth-logo img {
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.25));
}
.auth-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111111;
  margin: 0 0 0.25rem;
  text-align: center;
}
.auth-subtext {
  font-size: 0.9375rem;
  color: #555555;
  text-align: center;
  margin: 0 0 1rem;
}
.l-auth-card {
  background: #ffffff;
  border-radius: 1.5rem;
  border-top-right-radius: 0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  padding: 2rem 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  width: 100%;
  max-width: 420px;
}
.auth-actions {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.auth-link {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.875rem;
}
.auth-link a {
  color: #006dc0;
  font-weight: 600;
}
.auth-link a:hover {
  color: #005aa3;
}
.btn--full {
  width: 100%;
  justify-content: center;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}
.field label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #333333;
  margin: 0;
}
.field input, .field select, .field textarea {
  padding: 0.55rem 0.75rem;
  border: 1.5px solid #cccccc;
  border-radius: 0.4rem;
  font: inherit;
  font-size: 0.9375rem;
  background: #ffffff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: #006dc0;
  box-shadow: 0 0 0 3px rgba(0, 109, 192, 0.15);
}
.field-error {
  font-size: 0.8125rem;
  color: #cc0000;
  font-weight: 500;
}
.field-hint {
  font-size: 0.8125rem;
  color: #777777;
}
.l-auth-footer {
  background: rgba(0, 0, 0, 0.25);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}
.l-auth-legal small, .l-auth-legal a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8125rem;
}
.l-auth-legal a:hover {
  color: #ffffff;
}
.l-auth-social .ft-social-link {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
}
.l-auth-social .ft-social-link:hover {
  background: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}
.l-stat-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap-md);
}
.l-charts-dash {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--gap-md);
}
.l-reports-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--gap-sm);
}
.l-charts-reports {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-md);
}
.l-tables-reports {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-md);
}
.l-content-page {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--gap-lg);
}
.l-avatar-themes {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--gap-md);
}
.l-import-actions {
  display: flex;
  justify-content: flex-end;
  gap: var(--gap-sm);
}
.l-modal-overlay {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 900;
  padding: var(--gap-lg);
}
.l-modal {
  display: grid;
  grid-template-rows: auto auto auto;
  width: 100%;
  max-width: 760px;
  max-height: 92vh;
  overflow-y: auto;
}
.l-modal__title {
  text-align: center;
}
.l-modal__transport {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--gap-sm);
  padding: var(--gap-md);
}
dialog.kiosk-modal {
  padding: 0;
  border: none;
  background: transparent;
  max-width: 80vw;
  max-height: 80vh;
  width: 80vw;
  height: 80vh;
  margin: auto;
}
dialog.kiosk-modal::backdrop {
  background: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
}
.kiosk-modal__inner {
  background: #ffffff;
  border-radius: 1.5rem;
  border-top-right-radius: 0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.kiosk-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--gap-lg);
  border-bottom: 1px solid #e2e8f0;
  flex-shrink: 0;
}
.kiosk-modal__header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #111111;
  flex: 1;
  text-align: center;
}
.kiosk-modal__banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-md);
  padding: var(--gap-md) var(--gap-lg);
  border-bottom: 1px solid #e2e8f0;
  flex-shrink: 0;
}
.kiosk-modal__banner h2 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
  color: #111111;
  flex: 1;
  text-align: left;
}
.kiosk-modal__body {
  flex: 1;
  overflow-y: auto;
  padding: var(--gap-lg);
  display: flex;
  flex-direction: column;
  gap: var(--gap-md);
  min-height: 0;
}
.kiosk-modal__footer {
  padding: var(--gap-sm) 0 0;
  text-align: center;
}
.kiosk-modal__body h2 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
  color: #111111;
  text-align: center;
}
.modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 2px solid var(--brand);
  border-radius: 0.5rem;
  background: transparent;
  color: var(--brand);
  font-size: 1.5rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.modal-close:hover {
  background: var(--brand);
  color: #ffffff;
}
.transport-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap-md);
  width: 100%;
  height: 100%;
  grid-auto-rows: 1fr;
}
.transport-btn, .mode-choice-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--gap-sm);
  padding: var(--gap-md) var(--gap-sm);
  border: 2px solid var(--brand);
  border-radius: 1rem;
  border-top-right-radius: 0;
  background: transparent;
  color: var(--brand);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  white-space: normal;
  min-height: auto;
}
.transport-btn img, .mode-choice-btn img {
  width: 60%;
  height: 60%;
  object-fit: contain;
  flex-shrink: 0;
}
.transport-btn span, .mode-choice-btn span {
  display: block;
  word-break: break-word;
  overflow-wrap: break-word;
}
.transport-btn:hover, .mode-choice-btn:hover {
  background: var(--brand);
  color: #ffffff;
  transform: translateY(-2px);
}
.transport-btn:active, .mode-choice-btn:active {
  transform: translateY(0);
}
.transport-btn--active {
  background: #22c55e;
  color: #ffffff;
  border-color: #16a34a;
}
.transport-btn--active:hover {
  background: #16a34a;
  border-color: #10b981;
}
.avatar-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(0.25rem, 1.5%, 0.75rem);
  width: 100%;
  height: 100%;
  grid-auto-rows: 1fr;
}
.avatar-choice {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  padding: clamp(0.125rem, 1%, 0.5rem);
  border: 2px solid #e2e8f0;
  border-radius: 1rem;
  border-top-right-radius: 0;
  background: #ffffff;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
  min-width: 0;
}
.avatar-choice:hover {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0, 109, 192, 0.1);
  transform: scale(1.05);
}
.avatar-choice img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  border-radius: 0.25rem;
}
.avatar-placeholder {
  width: 100%;
  height: 100%;
  background: #f0f0f0;
  border-radius: 0.25rem;
}
.kiosk-modal__body--qr {
  align-items: center;
  justify-content: center;
  text-align: center;
}
.qr-container {
  margin: var(--gap-lg) 0;
  padding: var(--gap-lg);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qr-container img {
  max-width: 100%;
  height: auto;
}
.qr-url {
  font-size: 0.875rem;
  color: #666666;
  word-break: break-all;
  margin: var(--gap-md) 0 0;
  font-family: monospace;
}
.kiosk-modal__body--help {
  text-align: left;
}
dialog.kiosk-modal.kiosk-modal--reward {
  width: auto;
  height: auto;
  max-width: 320px;
  max-height: none;
  margin-top: 30vh;
}
.kiosk-modal--reward .kiosk-modal__inner {
  height: auto;
}
.kiosk-modal__body--reward {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
}
.kiosk-modal__body--reward img {
  border-radius: 0.5rem;
}
.reward-unlock-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0.5rem 0 0;
}
.help-content {
  display: flex;
  flex-direction: column;
  gap: var(--gap-lg);
}
.help-section {
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: var(--gap-md);
}
.help-section:last-child {
  border-bottom: none;
}
.help-section h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #111111;
}
.help-section p {
  margin: 0;
  color: #555555;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.reward-claim {
  align-items: center;
  justify-content: center;
  text-align: center;
}
.reward-image {
  max-width: 160px;
  max-height: 160px;
  object-fit: contain;
}
.reward-tier {
  font-size: 1rem;
  color: #666666;
  margin: 0;
}
.reward-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111111;
  margin: 0;
}
.reward-claim-btn {
  margin-top: var(--gap-md);
}
.reward-confirmed {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--brand);
  margin: 0;
}
.reward-error {
  font-size: 0.875rem;
  color: #dc2626;
  margin: var(--gap-sm) 0 0;
}
.reward-alerts {
  display: flex;
  flex-direction: column;
  gap: var(--gap-sm);
  padding: 0;
  margin: 0;
  grid-column: 1 / -1;
}
.lb-section-heading {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.reward-alerts__heading {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
}
.reward-alert {
  display: flex;
  align-items: center;
  gap: var(--gap-md);
  padding: var(--gap-md);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
}
.reward-alert__info {
  flex: 1;
}
.reward-alert__pupil {
  font-weight: 600;
  margin: 0;
}
.reward-alert__reward {
  font-size: 0.875rem;
  color: #666666;
  margin: 0;
}
.reward-alert__img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.reward-alert--claimed {
  background: #f0fdf4;
  border-color: #86efac;
  justify-content: center;
}
.leaderboard-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--gap-sm);
  padding: 0;
  margin: 0;
  grid-column: 1 / -1;
}
.leaderboard-row {
  display: flex;
  align-items: center;
  gap: var(--gap-md);
  padding: var(--gap-md);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  transition: box-shadow 0.15s ease;
}
.leaderboard-row:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.rank-1, .rank-2, .rank-3 {
  border-left: 4px solid;
}
.rank-1 {
  border-left-color: #f59e0b;
  background: #fffbeb;
}
.rank-2 {
  border-left-color: #94a3b8;
  background: #f8fafc;
}
.rank-3 {
  border-left-color: #d97706;
  background: #fffbeb;
}
.lb-rank {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  font-weight: 700;
  font-size: 1rem;
  color: #475569;
  flex-shrink: 0;
}
.rank-1 .lb-rank {
  color: #f59e0b;
  font-size: 1.25rem;
}
.rank-2 .lb-rank {
  color: #64748b;
}
.rank-3 .lb-rank {
  color: #d97706;
}
.lb-avatar {
  flex-shrink: 0;
}
.lb-avatar img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e2e8f0;
}
.lb-avatar-placeholder {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #e2e8f0;
}
.lb-info {
  flex: 1;
  min-width: 0;
}
.lb-name {
  margin: 0;
  font-weight: 600;
  font-size: 1.1rem;
  color: #1e293b;
}
.lb-count {
  margin: 0.125rem 0 0;
  font-size: 0.875rem;
  color: #64748b;
}
.lb-score {
  flex-shrink: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0066cc;
  width: 5.5rem;
  text-align: center;
}
.leaderboard-header {
  border-left: 0 !important;
  background: #f1f5f9 !important;
  padding-block: var(--gap-sm);
  grid-column: 1 / -1;
}
.leaderboard-header .lb-avatar {
  width: 56px;
}
.leaderboard-header p {
  margin: 0;
}
.lb-score--label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
}
@media (max-width: 1024px) {
  .l-site-footer {
    grid-template-columns: 1fr auto;
    grid-template-areas: 'ft-brand ft-social' 'ft-legal ft-legal';
  }
  .l-body-band {
    grid-template-columns: 1fr;
    grid-template-areas: 'main';
  }
  .l-aside {
    display: none;
  }
  .l-stat-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .l-charts-dash, .l-charts-reports {
    grid-template-columns: 1fr;
  }
  .l-tables-reports {
    grid-template-columns: repeat(2, 1fr);
  }
  .l-avatar-themes {
    grid-template-columns: repeat(3, 1fr);
  }
  .l-modal__transport {
    grid-template-columns: repeat(4, 1fr);
  }
  .l-pupil-grid {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  }
  .l-lb-body {
    grid-template-columns: 1fr;
  }
  .transport-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .avatar-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 768px) {
  dialog.kiosk-modal {
    width: 90vw;
    height: 85vh;
    max-width: 90vw;
    max-height: 85vh;
  }
  .kiosk-modal__header, .kiosk-modal__banner, .kiosk-modal__body {
    padding: var(--gap-md);
  }
  .kiosk-modal__header h2 {
    font-size: 1.25rem;
  }
  .kiosk-modal__body h2 {
    font-size: 1.1rem;
  }
  .transport-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap-md);
    grid-auto-rows: 1fr;
  }
  .transport-btn, .mode-choice-btn {
    padding: var(--gap-md) var(--gap-sm);
    font-size: 0.9rem;
  }
  .avatar-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  .modal-close {
    width: 36px;
    height: 36px;
    font-size: 1.25rem;
  }
}
@media (max-width: 480px) {
  dialog.kiosk-modal {
    width: 95vw;
    height: 90vh;
    max-width: 95vw;
    max-height: 90vh;
  }
  .kiosk-modal__header, .kiosk-modal__banner, .kiosk-modal__body {
    padding: var(--gap-sm);
  }
  .kiosk-modal__header h2, .kiosk-modal__body h2 {
    font-size: 1rem;
  }
  .transport-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gap-sm);
    grid-auto-rows: 1fr;
  }
  .transport-btn, .mode-choice-btn {
    padding: var(--gap-md) var(--gap-xs);
    font-size: 0.85rem;
  }
  .avatar-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .modal-close {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
}
.skip-nav {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 200;
  padding: 0.5rem 1rem;
  background: #000000;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 0.25rem 0;
  transition: top 0.1s;
}
.skip-nav:focus {
  top: 0;
}
.hamburger-wrapper {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: transparent;
  border: none;
  padding: 6px 8px;
  margin-left: -16px;
  cursor: pointer;
  color: currentColor;
}
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: transparent;
  border: none;
  border-radius: 0.25rem;
  cursor: pointer;
  flex-shrink: 0;
}
.hamburger-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: currentColor;
  margin-top: -0.75em;
}
.hamburger:focus-visible {
  outline: 2px solid #0066cc;
  outline-offset: 2px;
}
.hamburger__bar {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.hamburger[aria-expanded='true'] .hamburger__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger[aria-expanded='true'] .hamburger__bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger[aria-expanded='true'] .hamburger__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 49;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}
.sidebar-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}
@media (max-width: 640px) {
  .l-admin-shell {
    grid-template-columns: 1fr;
    grid-template-areas: 'right-col';
  }
  .l-right-col {
    margin-left: 0;
  }
  .l-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 50;
    height: 100dvh;
    width: var(--sidebar-w);
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    box-shadow: 4px 0 16px rgba(0, 0, 0, 0.25);
    pointer-events: none;
  }
  .l-sidebar.is-open {
    transform: translateX(0);
    pointer-events: auto;
  }
  .sidebar-backdrop {
    display: block;
  }
  .hamburger-wrapper {
    display: flex;
  }
  .l-site-footer {
    grid-template-columns: 1fr;
    grid-template-areas: 'ft-brand' 'ft-social' 'ft-legal';
    padding: var(--gap-md);
    gap: var(--gap-md);
  }
  .l-ft-social {
    flex-direction: row;
    justify-content: flex-start;
  }
  .ft-offices {
    flex-direction: column;
    gap: var(--gap-sm);
  }
  .l-auth-footer {
    grid-template-columns: 1fr;
    grid-template-areas: 'auth-legal' 'auth-social';
    gap: var(--gap-sm);
  }
  .l-stat-cards {
    grid-template-columns: 1fr;
  }
  .l-tables-reports {
    grid-template-columns: 1fr;
  }
  .l-avatar-themes {
    grid-template-columns: repeat(2, 1fr);
  }
  .l-modal__transport {
    grid-template-columns: repeat(3, 1fr);
  }
  .l-pupil-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    max-width: 100%;
    padding: 0 var(--gap-sm);
  }
  .l-kiosk-header {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    grid-template-areas: 'kh-identity kh-mascot' 'kh-class kh-class';
  }
  .l-kh-help {
    display: none;
  }
  .l-import-actions {
    justify-content: stretch;
  }
  .l-import-actions > * {
    flex: 1;
  }
}
:root {
  --brand: #006dc0;
  --brand-dark: #005aa3;
  --brand-darker: #004a8a;
  --brand-light: #e8f2fb;
}
.user-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #444444;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.9rem;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: 999px;
  border: 2px solid var(--brand);
  background: transparent;
  color: var(--brand);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.btn:hover {
  background: var(--brand);
  color: #ffffff;
  border-color: var(--brand);
}
.btn--primary {
  background: var(--brand);
  color: #ffffff;
  border-color: var(--brand);
}
.btn--primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #ffffff;
}
.btn--sm {
  padding: 0.3rem 0.75rem;
  font-size: 0.8125rem;
}
.btn--outline {
  background: transparent;
  border: 1px solid #94a3b8;
  color: #475569;
}
.btn--outline:hover {
  border-color: var(--brand, #0066cc);
  color: var(--brand, #0066cc);
  background: rgba(0, 102, 204, 0.05);
}
.btn--outline-primary {
  background: transparent;
  border: 2px solid var(--brand, #0066cc);
  color: var(--brand, #0066cc);
}
.btn--outline-primary:hover {
  background: var(--brand, #0066cc);
  color: #ffffff;
}
.btn--danger {
  border-color: #cc2200;
  color: #cc2200;
}
.btn--danger:hover {
  background: #cc2200;
  color: #ffffff;
  border-color: #cc2200;
}
.btn--green {
  border-color: #22c55e;
  color: #ffffff;
  background: #22c55e;
  border-radius: 0.5rem;
}
.btn--green:hover {
  background: #16a34a;
  border-color: #16a34a;
}
.btn--green:disabled {
  background: #d1d5db;
  border-color: #d1d5db;
  color: #9ca3af;
  cursor: not-allowed;
}
.btn--logged {
  background: #22c55e;
  border-color: #22c55e;
  color: #ffffff;
  cursor: default;
}
.btn--yellow {
  border-color: #f59e0b;
  background: #f59e0b;
  color: #333333;
  border-radius: 999px;
}
.btn--yellow:hover {
  background: #d97706;
  border-color: #d97706;
  color: #ffffff;
}
.btn--purple {
  border-color: #3a2d6e;
  background: #3a2d6e;
  color: #ffffff;
}
.btn--purple:hover {
  background: #2d2254;
  border-color: #2d2254;
}
.btn--logged:hover {
  background: #22c55e;
  border-color: #22c55e;
}
.pupil-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-sm);
  padding: var(--gap-md);
  text-align: center;
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  border-radius: 1rem;
  border-top-right-radius: 0;
  min-height: 0;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
  font: inherit;
}
.pupil-card:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--brand);
  transform: translateY(-2px);
}
.pupil-card:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.pupil-card--logged {
  background: #22c55e;
  color: #ffffff;
  border-color: #16a34a;
}
.pupil-card--logged .pupil-name {
  color: #ffffff;
}
.pupil-card--logged .pupil-avatar-placeholder {
  color: #ffffff;
}
.pupil-card--logged:hover:not(:disabled) {
  background: #16a34a;
  border-color: #10b981;
}
.pupil-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  overflow: hidden;
}
.pupil-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pupil-name {
  font-size: 1rem;
  font-weight: 600;
  color: #111111;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}
.pupil-avatar-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 1rem;
  font-weight: 600;
  color: var(--brand);
}
.pupil-no-avatar {
  font-size: 0.875rem;
  color: #888888;
}
.l-main a:not([class]), .l-main .link-action {
  color: var(--brand);
  font-weight: 600;
  text-decoration-color: transparent;
  transition: color 0.15s, text-decoration-color 0.15s;
}
.l-main a:not([class]):hover, .l-main .link-action:hover {
  color: var(--brand-dark);
  text-decoration-color: currentColor;
}
.card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  border-top-right-radius: 0;
  padding: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}
.card > h2, .card > h3 {
  margin: 0;
  padding: var(--gap-md) var(--gap-lg);
  font-size: 1.1rem;
  color: #ffffff;
  background: var(--brand);
}
.card > *:not(h2):not(h3) {
  padding: var(--gap-lg);
}
.card > *:not(h2):not(h3):first-child {
  padding-top: var(--gap-lg);
}
.card > h2 + *, .card > h3 + * {
  padding-top: var(--gap-lg);
}
.card--purple > h2, .card--purple > h3 {
  background: #3a2d6e;
}
.card--yellow > h2, .card--yellow > h3 {
  background: #f59e0b;
  color: #333333;
}
.card + .card {
  margin-top: 0;
}
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-md);
}
.cards--2 {
  grid-template-columns: repeat(2, 1fr);
}
.cards--3 {
  grid-template-columns: repeat(3, 1fr);
}
.cards--4 {
  grid-template-columns: repeat(4, 1fr);
}
.stat-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  border-top-right-radius: 0;
  padding: var(--gap-lg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.stat-card--green {
  border-top: 4px solid #22c55e;
}
.stat-card--yellow {
  border-top: 4px solid #f59e0b;
}
.stat-card--red {
  border-top: 4px solid #ef4444;
}
.stat-card--blue {
  border-top: 4px solid var(--brand);
}
.stat-card--color1 {
  border-top: 4px solid #006dc0;
}
.stat-card--color2 {
  border-top: 4px solid #44973d;
}
.stat-card--color3 {
  border-top: 4px solid #81b62f;
}
.stat-card--color4 {
  border-top: 4px solid #63c3ef;
}
.stat-label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #666666;
  margin: 0;
}
.stat-value {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
  color: #111111;
  margin: 0;
}
.stat-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: var(--gap-md);
}
.content-section > h2, .content-section > h3 {
  margin-top: 0;
  margin-bottom: var(--gap-md);
  font-size: 1.1rem;
  color: #222222;
}
.section-subtitle {
  margin-top: -0.5rem;
  margin-bottom: var(--gap-md);
  font-size: 0.875rem;
  color: #666666;
}
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-sm);
  align-items: center;
}
.la-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--gap-md);
}
.la-item {
  display: flex;
  flex-direction: column;
  gap: var(--gap-sm);
  padding: var(--gap-md);
  background: #f8fafc;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}
.la-item:last-child {
  border-bottom: 1px solid #e2e8f0;
}
.la-name {
  font-weight: 500;
  color: #222222;
}
.toggle-switch {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-sm);
  cursor: pointer;
  margin: var(--gap-sm) 0;
}
.toggle-switch input[type='checkbox'] {
  -webkit-appearance: none;
          appearance: none;
  width: 40px;
  height: 22px;
  background: #cbd5e1;
  border-radius: 11px;
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}
.toggle-switch input[type='checkbox']::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: #ffffff;
  border-radius: 50%;
  transition: transform 0.2s;
}
.toggle-switch input[type='checkbox']:checked {
  background: var(--brand, #0066cc);
}
.toggle-switch input[type='checkbox']:checked::after {
  transform: translateX(18px);
}
.toggle-switch__label {
  font-size: 0.875rem;
  color: #475569;
  -webkit-user-select: none;
          user-select: none;
}
.alert {
  padding: var(--gap-md) var(--gap-lg);
  border-radius: 0.5rem;
  border-left: 4px solid currentColor;
  font-size: 0.9375rem;
}
.alert--warning {
  background: #fffbeb;
  color: #92400e;
  border-color: #f59e0b;
}
.alert--error {
  background: #fef2f2;
  color: #991b1b;
  border-color: #ef4444;
}
.alert--success {
  background: #f0fdf4;
  color: #166534;
  border-color: #22c55e;
}
.alert--info {
  background: var(--brand-light);
  color: var(--brand-darker);
  border-color: var(--brand);
}
.flatpage-content {
  line-height: 1.8;
}
.flatpage-content h1 {
  font-size: 2.4rem;
  margin-top: 0;
  margin-bottom: 1rem;
  color: #111111;
}
.flatpage-content h2 {
  font-size: 1.9rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #222222;
}
.flatpage-content p {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #333333;
}
.flatpage-content p.lead {
  font-size: 1.25rem;
  color: var(--brand);
  font-weight: 600;
  margin-bottom: 2rem;
}
.flatpage-content ul {
  margin: 1rem 0;
  padding-left: 2rem;
}
.flatpage-content li {
  margin-bottom: 0.75rem;
  color: #333333;
}
.flatpage-content a {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.15s;
}
.flatpage-content a:hover {
  text-decoration-color: currentColor;
}
.feature-section, .resource-section, .contact-section {
  margin: 2rem 0;
  padding: 2rem;
  background: #f9fafb;
  border-left: 4px solid var(--brand);
  border-radius: 0.5rem;
}
.resource-list {
  list-style: none;
  padding: 0;
}
.resource-list li {
  margin-bottom: 1rem;
}
.resource-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.resource-list a::before {
  content: '📄';
}
.empty-state {
  color: #888888;
  font-style: italic;
  padding: var(--gap-md) 0;
  margin: 0;
}
@media (max-width: 1024px) {
  .cards--3, .cards--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .cards, .cards--2, .cards--3, .cards--4 {
    grid-template-columns: 1fr;
  }
  .stat-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
.reports-filters {
  display: flex;
  flex-direction: column;
  gap: var(--gap-md);
  margin-bottom: var(--gap-md);
}
.reports-filters--horizontal {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-end;
}
.filter-group {
  display: flex;
  flex-direction: column;
  gap: var(--gap-xs);
  flex: 0 1 auto;
  min-width: 150px;
}
.reports-filters--horizontal .filter-group {
  flex: 0 1 auto;
}
.filter-group label {
  font-weight: 700;
  font-size: 0.875rem;
  color: #222222;
}
.filter-group input[type='date'], .filter-group select {
  padding: 0.5rem;
  font-size: 0.875rem;
}
.filter-group select[multiple] {
  min-height: 100px;
}
.filter-group .ts-wrapper .ts-control {
  padding: 0.5rem;
  font-size: 0.875rem;
  border: 1px solid #cccccc;
  min-height: 0;
  line-height: inherit;
}
.filter-group .ts-wrapper .ts-control > input {
  font-size: 0.875rem;
}
.filter-row {
  display: flex;
  flex-direction: column;
  gap: var(--gap-sm);
  padding: var(--gap-md) 0;
  border-top: 1px solid #e2e8f0;
}
.travel-modes-row {
  display: flex;
  align-items: flex-start;
  gap: var(--gap-md);
}
.travel-modes-label {
  font-weight: 600;
  color: #222222;
  white-space: nowrap;
  padding-top: 0;
}
.filter-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-md);
}
.filter-checkboxes > div {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-md);
}
.filter-checkboxes > div > div {
  display: flex;
  align-items: center;
  gap: var(--gap-sm);
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: var(--gap-sm);
  cursor: pointer;
  font-weight: normal;
}
.checkbox-label input[type='checkbox'] {
  cursor: pointer;
}
.charts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--gap-md);
  margin-top: var(--gap-lg);
}
.chart-container {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  padding: var(--gap-md);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.chart-container h3 {
  margin: 0 0 var(--gap-md) 0;
  font-size: 1rem;
  color: #222222;
}
.stacked-charts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--gap-lg);
  margin-top: var(--gap-lg);
}
.stacked-chart-container {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  padding: var(--gap-md);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  position: relative;
  height: 400px;
}
.stacked-chart-container h3 {
  margin: 0 0 var(--gap-md) 0;
  font-size: 1rem;
  color: #222222;
}
.stacked-chart-container canvas {
  max-height: calc(100% - 40px);
}
.leaderboard-tabs {
  display: flex;
  gap: var(--gap-xs);
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: var(--gap-md);
}
.tab-btn {
  padding: var(--gap-sm) var(--gap-md);
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: #64748b;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}
.tab-btn:hover {
  color: var(--brand);
  background: rgba(0, 102, 204, 0.05);
}
.tab-btn--active {
  color: var(--brand);
  border-bottom-color: var(--brand);
}
.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.5rem;
  background: #e2e8f0;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.9rem;
}
.rank-badge--top {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #333333;
}
.progress-cell {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.percentage-text {
  font-weight: 600;
  color: var(--brand);
}
.progress-bar {
  width: 100%;
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #0066cc, #51cf66);
  border-radius: 4px;
  transition: width 0.3s ease;
}
.flatpage-form {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}
.flatpage-form h2 {
  margin-top: 0;
  margin-bottom: 1rem;
}
.radio-group {
  display: flex;
  gap: var(--gap-lg);
  margin: 0.25rem 0;
}
.radio-label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  font-weight: 500;
  margin: 0;
}
.radio-label input[type='radio'] {
  cursor: pointer;
}
.autocomplete-wrapper {
  position: relative;
}
.autocomplete-wrapper input.autocomplete-input {
  width: 100%;
}
.autocomplete-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 10;
  background: #ffffff;
  border: 1px solid #cccccc;
  border-top: none;
  border-radius: 0 0 0.3rem 0.3rem;
  max-height: 240px;
  overflow-y: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.autocomplete-results:empty {
  display: none;
}
.autocomplete-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.autocomplete-item {
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  font-size: 0.9375rem;
  transition: background 0.1s;
}
.autocomplete-item:hover {
  background: var(--brand-light);
}
.autocomplete-item--empty {
  color: #888888;
  cursor: default;
}
.autocomplete-item--empty:hover {
  background: transparent;
}
.autocomplete-selection {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.75rem;
  background: var(--brand-light);
  border: 1.5px solid var(--brand);
  border-radius: 0.4rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--brand-darker);
}
.autocomplete-clear {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  padding: 0;
  width: 1.5rem;
  height: 1.5rem;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--brand);
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
}
.autocomplete-clear:hover {
  background: rgba(0, 0, 0, 0.08);
}
.logout-form {
  display: inline;
}
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --color-blue-600: oklch(54.6% 0.245 262.881);
    --color-gray-100: oklch(96.7% 0.003 264.542);
    --color-gray-200: oklch(92.8% 0.006 264.531);
    --color-gray-700: oklch(37.3% 0.034 259.733);
    --color-white: #fff;
    --spacing: 0.25rem;
    --container-7xl: 80rem;
    --text-xl: 1.25rem;
    --text-xl--line-height: calc(1.75 / 1.25);
    --font-weight-bold: 700;
    --radius-md: 0.375rem;
    --default-transition-duration: 150ms;
    --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}
@layer base {
  *,::after,::before,::backdrop,::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html,:host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    -moz-tab-size: 4;
         tab-size: 4;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1,h2,h3,h4,h5,h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b,strong {
    font-weight: bolder;
  }
  code,kbd,samp,pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub,sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol,ul,menu {
    list-style: none;
  }
  img,svg,video,canvas,audio,iframe,embed,object {
    display: block;
    vertical-align: middle;
  }
  img,video {
    max-width: 100%;
    height: auto;
  }
  button,input,select,optgroup,textarea,::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple],[size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple],[size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button,input:where([type=button],[type=reset],[type=submit]),::file-selector-button {
    -webkit-appearance: button;
            appearance: button;
  }
  ::-webkit-inner-spin-button,::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden=until-found])) {
    display: none !important;
  }
}
@layer utilities {
  .visible {
    visibility: visible;
  }
  .fixed {
    position: fixed;
  }
  .static {
    position: static;
  }
  .static\! {
    position: static !important;
  }
  .start {
    inset-inline-start: var(--spacing);
  }
  .end {
    inset-inline-end: var(--spacing);
  }
  .mx-auto {
    margin-inline: auto;
  }
  .block {
    display: block;
  }
  .contents {
    display: contents;
  }
  .flex {
    display: flex;
  }
  .grid {
    display: grid;
  }
  .hidden {
    display: none;
  }
  .inline {
    display: inline;
  }
  .inline-flex {
    display: inline-flex;
  }
  .table {
    display: table;
  }
  .h-6 {
    height: calc(var(--spacing) * 6);
  }
  .h-16 {
    height: calc(var(--spacing) * 16);
  }
  .w-6 {
    width: calc(var(--spacing) * 6);
  }
  .max-w-7xl {
    max-width: var(--container-7xl);
  }
  .flex-shrink-0 {
    flex-shrink: 0;
  }
  .transform {
    transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
  }
  .resize {
    resize: both;
  }
  .items-center {
    align-items: center;
  }
  .justify-between {
    justify-content: space-between;
  }
  .justify-center {
    justify-content: center;
  }
  .space-y-1 {
    :where(& > :not(:last-child)) {
      --tw-space-y-reverse: 0;
      margin-block-start: calc(calc(var(--spacing) * 1) * var(--tw-space-y-reverse));
      margin-block-end: calc(calc(var(--spacing) * 1) * calc(1 - var(--tw-space-y-reverse)));
    }
  }
  .space-x-8 {
    :where(& > :not(:last-child)) {
      --tw-space-x-reverse: 0;
      margin-inline-start: calc(calc(var(--spacing) * 8) * var(--tw-space-x-reverse));
      margin-inline-end: calc(calc(var(--spacing) * 8) * calc(1 - var(--tw-space-x-reverse)));
    }
  }
  .rounded-md {
    border-radius: var(--radius-md);
  }
  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }
  .border-b {
    border-bottom-style: var(--tw-border-style);
    border-bottom-width: 1px;
  }
  .border-gray-200 {
    border-color: var(--color-gray-200);
  }
  .bg-white {
    background-color: var(--color-white);
  }
  .p-2 {
    padding: calc(var(--spacing) * 2);
  }
  .px-2 {
    padding-inline: calc(var(--spacing) * 2);
  }
  .px-3 {
    padding-inline: calc(var(--spacing) * 3);
  }
  .px-4 {
    padding-inline: calc(var(--spacing) * 4);
  }
  .py-2 {
    padding-block: calc(var(--spacing) * 2);
  }
  .pt-2 {
    padding-top: calc(var(--spacing) * 2);
  }
  .pb-3 {
    padding-bottom: calc(var(--spacing) * 3);
  }
  .text-right {
    text-align: right;
  }
  .text-xl {
    font-size: var(--text-xl);
    line-height: var(--tw-leading, var(--text-xl--line-height));
  }
  .font-bold {
    --tw-font-weight: var(--font-weight-bold);
    font-weight: var(--font-weight-bold);
  }
  .text-blue-600 {
    color: var(--color-blue-600);
  }
  .text-gray-700 {
    color: var(--color-gray-700);
  }
  .italic {
    font-style: italic;
  }
  .underline {
    text-decoration-line: underline;
  }
  .filter {
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
  .transition {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .hover\:bg-gray-100 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-gray-100);
      }
    }
  }
  .hover\:text-blue-600 {
    &:hover {
      @media (hover: hover) {
        color: var(--color-blue-600);
      }
    }
  }
  .focus\:outline-none {
    &:focus {
      --tw-outline-style: none;
      outline-style: none;
    }
  }
  .sm\:px-6 {
    @media (width >= 40rem) {
      padding-inline: calc(var(--spacing) * 6);
    }
  }
  .md\:flex {
    @media (width >= 48rem) {
      display: flex;
    }
  }
  .md\:hidden {
    @media (width >= 48rem) {
      display: none;
    }
  }
  .lg\:px-8 {
    @media (width >= 64rem) {
      padding-inline: calc(var(--spacing) * 8);
    }
  }
}
@property --tw-rotate-x {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-y {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-z {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-x {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-y {
  syntax: "*";
  inherits: false;
}
@property --tw-space-y-reverse {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-space-x-reverse {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-font-weight {
  syntax: "*";
  inherits: false;
}
@property --tw-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-sepia {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false;
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-space-y-reverse: 0;
      --tw-space-x-reverse: 0;
      --tw-border-style: solid;
      --tw-font-weight: initial;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
    }
  }
}

/*# sourceMappingURL=styles.css.0b01b0a0555e.map */