/* ExifX shared design tokens and accessible controls. No remote font dependency. */
:root {
  color-scheme:light;
  --canvas:#f7f8fc;
  --surface:#fff;
  --ink:#18213a;
  --muted:#5d667b;
  --line:#e1e5ee;
  --accent:#5145cd;
  --accent-hover:#4035b1;
  --accent-soft:#eeecfc;
  --success:#177259;
  --success-soft:#edf8f2;
  --danger:#b52e3c;
  --radius:16px;
  --shadow:0 8px 32px rgba(24,33,58,.05)
}

* {
  box-sizing:border-box
}

html {
  scroll-padding-top:100px
}

body {
  margin:0;
  min-width:320px;
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:16px;
  line-height:1.6;
  color:var(--ink);
  background:var(--canvas);
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased
}

body::before {
  display:none
}

h1,h2,h3,h4 {
  font-family:inherit;
  color:var(--ink);
  line-height:1.2;
  letter-spacing:-.035em;
  font-weight:650
}

h1,h2,h3,p {
  margin-top:0
}

a {
  color:inherit;
  text-decoration:none
}

button,input,textarea,select {
  font:inherit
}

button {
  cursor:pointer
}

button:disabled {
  cursor:not-allowed;
  opacity:.55
}

img,svg {
  max-width:100%
}

img {
  height:auto
}

button,a,input,select,textarea,summary {
  touch-action:manipulation
}

button,summary {
  min-height:44px
}

a,button {
  transition:background-color .18s,color .18s,border-color .18s
}

a:hover {
  color:var(--accent)
}

:focus-visible {
  outline:3px solid var(--accent);
  outline-offset:4px
}

input:focus-visible,textarea:focus-visible,select:focus-visible {
  outline-offset:1px
}

::selection {
  background:#dcd8ff;
  color:#231b71
}

[hidden],.hidden {
  display:none!important
}

.container {
  width:min(1160px,calc(100% - 48px));
  margin-inline:auto
}

.small {
  font-size:14px
}

.muted,.panel-muted {
  color:var(--muted)
}

.eyebrow,.section-label,.page-section-title {
  display:block;
  color:var(--accent);
  font-size:13px;
  font-weight:650;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:16px
}

.skip-link {
  position:fixed;
  top:8px;
  left:16px;
  z-index:200;
  background:var(--ink);
  color:white;
  padding:12px 20px;
  border-radius:8px;
  transform:translateY(-150%)
}

.skip-link:focus {
  transform:translateY(0);
  color:white
}

.brand {
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:23px;
  font-weight:750;
  letter-spacing:-.045em;
  flex-shrink:0;
  color:var(--ink)
}

.brand-mark {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:36px;
  border-radius:10px;
  background:var(--accent);
  color:white;
  font-size:22px;
  font-weight:800;
  box-shadow:none
}

.button,.btn-primary,.primary-btn,.premium-nav-cta,.btn-ghost,.secondary-btn,.quiet-btn,.danger-btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:46px;
  padding:11px 20px;
  border:1px solid transparent;
  border-radius:9px;
  font-size:14px;
  font-weight:650;
  line-height:1.4;
  text-decoration:none;
  box-shadow:none;
  transform:none
}

.button-primary,.btn-primary,.primary-btn,.premium-nav-cta {
  background:var(--accent);
  color:#fff!important;
  border-color:var(--accent)
}

.button-primary:hover,.btn-primary:hover,.primary-btn:hover,.premium-nav-cta:hover {
  background:var(--accent-hover);
  border-color:var(--accent-hover);
  color:#fff
}

.button-secondary,.btn-ghost,.secondary-btn,.quiet-btn {
  background:#fff;
  color:var(--ink);
  border-color:var(--line)
}

.button-secondary:hover,.btn-ghost:hover,.secondary-btn:hover,.quiet-btn:hover {
  border-color:var(--accent);
  background:var(--accent-soft);
  color:var(--accent)
}

.danger-btn {
  background:#fff;
  color:var(--danger);
  border-color:#e7bcc1
}

.danger-btn:hover {
  background:#fff1f2
}

.text-button {
  padding:6px 0;
  color:var(--accent);
  font-size:14px;
  font-weight:600;
  background:none;
  border:0;
  text-decoration:underline;
  text-underline-offset:4px
}

.tag,.metric-chip,.queue-pill,.proof-chip,.section-badge {
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:5px 10px;
  border-radius:6px;
  background:var(--accent-soft);
  color:var(--accent);
  font-size:13px;
  font-weight:550;
  line-height:1.5;
  border:0;
  letter-spacing:0;
  text-transform:none;
  box-shadow:none
}

.form-input,.form-textarea,.form-select-dark {
  width:100%;
  min-height:48px;
  border-radius:8px;
  border:1px solid #c9cfdb;
  background:#fff;
  color:var(--ink);
  padding:11px 13px;
  box-shadow:none;
  font-size:16px;
  line-height:1.5
}

.form-input::placeholder,.form-textarea::placeholder {
  color:#737e90
}

.form-input:focus,.form-textarea:focus,.form-select-dark:focus {
  border-color:var(--accent);
  box-shadow:0 0 0 3px var(--accent-soft)
}

textarea {
  resize:vertical;
  min-height:120px
}

label {
  font-size:14px!important;
  line-height:1.5;
  text-transform:none!important;
  letter-spacing:0!important;
  font-weight:600!important;
  color:var(--ink)!important
}

input[type=checkbox] {
  accent-color:var(--accent);
  width:18px;
  height:18px
}

input:disabled {
  background:#f2f4f8;
  color:var(--muted);
  opacity:1!important
}

.inline-feedback {
  padding:12px 16px;
  border:1px solid #e9b9be;
  background:#fff2f3;
  color:#962735;
  border-radius:9px;
  margin:16px 0;
  font-size:14px
}

.glass-card,.glass-panel,.glass-soft,.surface-card,.content-panel,.aside-panel,.auth-card {
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  backdrop-filter:none
}

.noise-overlay,.orbital {
  display:none
}

.text-white,.text-gray-50,.text-gray-100,.text-gray-200 {
  color:var(--ink)
}

.text-gray-300,.text-gray-400,.text-gray-500,.text-gray-600,.text-gray-700 {
  color:var(--muted)
}

[class*="text-indigo-"],[class*="text-purple-"],[class*="text-teal-"] {
  color:var(--accent)
}

[class*="text-emerald-"],[class*="text-green-"] {
  color:var(--success)
}

[class*="text-red-"] {
  color:var(--danger)
}

[class*="text-yellow-"],[class*="text-amber-"] {
  color:#876012
}

[class*="border-gray-"],[class*="border-white/"] {
  border-color:var(--line)
}

[class*="bg-gray-"],[class*="bg-black/"],[class*="bg-[#"] {
  background-color:#f3f5fa;
  background-image:none
}

[class*="bg-indigo-"] {
  background-color:var(--accent-soft)
}

[class*="bg-emerald-"],[class*="bg-green-"] {
  background-color:var(--success-soft)
}

[class*="bg-red-"] {
  background-color:#fff0f2
}

.bg-indigo-600,.bg-indigo-500 {
  background:var(--accent);
  color:#fff
}

.bg-clip-text,.text-transparent,.brand-gradient,.hero-title-accent {
  color:var(--accent);
  background:none;
  -webkit-text-fill-color:currentColor
}

.text-xs,[class*="text-[8px]"],[class*="text-[9px]"],[class*="text-[10px]"],[class*="text-[11px]"] {
  font-size:13px;
  line-height:1.6
}

.text-sm {
  font-size:16px;
  line-height:1.65
}

.text-base {
  font-size:16px
}

.text-lg {
  font-size:18px
}

.text-xl {
  font-size:22px
}

.text-2xl {
  font-size:26px
}

.text-3xl {
  font-size:32px
}

.text-4xl {
  font-size:38px
}

.shadow-xl,.shadow-2xl {
  box-shadow:var(--shadow)
}

.rounded-3xl,.rounded-2xl {
  border-radius:var(--radius)
}

.animate-pulse {
  animation:none
}

table {
  width:100%;
  border-collapse:collapse;
  text-align:left
}

th {
  color:var(--muted);
  font-size:13px;
  font-weight:600
}

th,td {
  padding:16px;
  border-bottom:1px solid var(--line)
}

td {
  font-size:14px;
  vertical-align:middle
}

summary {
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  list-style:none;
  padding:12px 0;
  font-size:15px;
  font-weight:600;
  color:var(--ink)
}

summary::-webkit-details-marker {
  display:none
}

summary::after {
  content:'+';
  font-size:22px;
  font-weight:400;
  color:var(--muted);
  flex-shrink:0
}

details[open]>summary::after {
  content:'−'
}

details p {
  color:var(--muted);
  font-size:14px;
  line-height:1.75
}

details {
  border-top:1px solid var(--line)
}

.office-notice {
  margin:16px 0 0;
  text-align:left
}

.office-notice summary {
  font-size:13px
}

.office-notice p {
  font-size:13px
}

.menu-toggle {
  display:none;
  align-items:center;
  gap:10px;
  border:1px solid var(--line);
  background:white;
  color:var(--ink);
  border-radius:8px;
  padding:8px 12px;
  font-size:14px
}

.site-header {
  height:80px;
  background:rgba(255,255,255,.97);
  border-bottom:1px solid var(--line);
  position:sticky;
  top:0;
  z-index:40
}

.site-nav {
  height:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:32px
}

.site-navigation {
  display:flex;
  align-items:center;
  gap:28px;
  font-size:14px;
  font-weight:550
}

.nav-signin {
  margin-left:24px
}

.site-footer {
  border-top:1px solid var(--line);
  background:white;
  padding:60px 0 24px
}

.footer-grid {
  display:grid;
  grid-template-columns:1.5fr 1fr 1fr 1fr;
  gap:40px
}

.footer-grid p {
  color:var(--muted);
  font-size:15px;
  margin-top:18px
}

.footer-grid h2 {
  font-size:14px;
  margin:8px 0 16px;
  letter-spacing:0
}

.footer-grid>div>a:not(.brand) {
  display:block;
  color:var(--muted);
  font-size:14px;
  margin-bottom:10px
}

.footer-grid a:hover {
  color:var(--accent)
}

.footer-bottom {
  border-top:1px solid var(--line);
  padding-top:24px;
  margin-top:40px;
  font-size:13px;
  color:var(--muted);
  display:flex;
  justify-content:space-between;
  gap:20px
}

.footer-bottom>div {
  display:flex;
  gap:24px
}

.modal-surface {
  background:rgba(24,33,58,.48)!important;
  padding:24px;
  overflow-y:auto
}

.modal-surface>div {
  max-height:calc(100dvh - 48px);
  overflow-y:auto
}

.password-wrap {
  position:relative
}

.password-wrap input {
  padding-right:72px
}

.password-toggle {
  position:absolute;
  right:5px;
  top:4px;
  bottom:4px;
  background:transparent;
  border:0;
  color:var(--accent);
  padding:0 12px;
  min-height:40px;
  font-size:13px;
  font-weight:600
}

@media(max-width:900px) {
  .site-navigation {
    gap:18px
  }
  .nav-signin {
    margin-left:0
  }
  .footer-grid {
    gap:24px;
    grid-template-columns:1fr 1fr
  }
  .site-nav {
    gap:16px
  }
}

@media(max-width:767px) {
  .container {
    width:calc(100% - 32px)
  }
  .site-header {
    height:68px
  }
  .menu-toggle {
    display:inline-flex
  }
  .site-navigation {
    display:none;
    position:absolute;
    left:0;
    right:0;
    top:67px;
    background:white;
    box-shadow:0 16px 24px #18213a0a;
    padding:16px;
    max-height:calc(100dvh - 68px);
    overflow-y:auto;
    border-bottom:1px solid var(--line)
  }
  .site-navigation.is-open {
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:4px
  }
  .site-navigation>a {
    padding:12px 16px
  }
  .nav-action {
    margin-top:8px
  }
  .site-footer {
    padding-top:36px
  }
  .footer-grid {
    gap:28px 16px
  }
  .footer-grid>div:first-child {
    grid-column:1/-1
  }
  .footer-bottom {
    flex-direction:column
  }
  .text-4xl {
    font-size:32px
  }
  .modal-surface {
    padding:16px
  }
}

@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important
  }
}

/* Keep form feedback readable without requiring the admin Bootstrap bundle. */
.alert {
  position:relative;
  padding:16px 48px 16px 18px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#eef3fc;
  color:#244a7e;
  margin-bottom:24px;
  font-size:14px
}

.alert-success {
  background:var(--success-soft);
  border-color:#cce3d6;
  color:var(--success)
}

.alert-danger,.alert-error {
  background:#fff1f2;
  border-color:#edc7cc;
  color:var(--danger)
}

.alert .btn-close {
  position:absolute;
  right:8px;
  top:6px;
  border:0;
  background:none;
  width:36px;
  color:inherit
}

.alert .btn-close::after {
  content:'×';
  font-size:22px
}

.status-pill {
  display:inline-flex;
  padding:4px 8px;
  border-radius:5px;
  background:#eef0f5;
  color:var(--muted);
  font-size:12px
}

.status-active {
  background:var(--success-soft);
  color:var(--success)
}

.session-row+ .session-row {
  border-top:1px solid var(--line)
}

.form-input.pl-10 {
  padding-left:40px
}

.auth-page .relative>i.absolute {
  z-index:2;
  top:17px;
  left:14px;
  pointer-events:none
}

.auth-page [class*="tracking-"] {
  letter-spacing:normal
}

.download-label {
  white-space:nowrap
}

.ticket-bubble .opacity-70 {
  opacity:1;
  color:var(--muted)
}

.account-shell .glass-card p {
  overflow-wrap:anywhere
}

.account-shell .flex-1 {
  min-width:0
}

/* Align retained utility hover states with the light palette. */
[class*="hover:text-"]:hover,.group:hover [class*="group-hover:text-"] {
  color:var(--accent)
}

[class*="hover:bg-gray-"]:hover {
  background:var(--accent-soft)
}

.container {
  max-width:1160px
}
