*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 14px;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #003057;
  background-color: #f4f6f8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ul {
  list-style: none;
}
a {
  color: #026386;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.section-title {
  font-size: 14px;
  font-weight: 600;
  color: #003057;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
code {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 12px;
  background-color: #edf0f3;
  color: #026386;
  padding: 2px 5px;
  border-radius: 4px;
}
.print-only {
  display: none;
}
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 24px;
  background-color: #003057;
  color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.header-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.header-logo .logo-img {
  height: 32px;
  width: auto;
}
.header-title {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.01em;
  opacity: 0.92;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: 900px) {
  .app-header {
    height: auto;
    padding: 8px 16px;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px;
  }
  .header-brand,
  .header-actions {
    width: 100%;
  }
  .header-actions {
    justify-content: space-between;
    flex-wrap: wrap;
  }
}
@media (max-width: 560px) {
  .header-title {
    font-size: 14px;
  }
  .header-user {
    width: 100%;
    color: rgba(255, 255, 255, 0.78);
  }
  .header-actions .btn {
    flex: 1 1 auto;
  }
}
.app-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.app-main {
  display: flex;
  flex: 1;
  overflow: hidden;
  height: calc(100vh - 56px);
}
.panel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.panel--left {
  width: 380px;
  min-width: 380px;
  flex-shrink: 0;
  border-right: 1px solid #dde2e8;
  background-color: #ffffff;
  overflow-y: auto;
}
.panel--right {
  flex: 1;
  background-color: #f4f6f8;
  overflow-y: auto;
}
.panel-section {
  border-bottom: 1px solid #dde2e8;
  padding: 16px;
}
.panel-section.panel-section--grow {
  flex: 1;
  overflow-y: auto;
  border-bottom: none;
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.attendee-count {
  font-weight: 400;
  color: #8895a7;
  font-size: 12px;
  margin-left: 4px;
  text-transform: none;
  letter-spacing: 0;
}
@media (max-width: 1180px) {
  .app-main {
    flex-direction: column;
    height: auto;
    overflow: visible;
  }
  .panel {
    overflow: visible;
  }
  .panel--left,
  .panel--right {
    width: 100%;
    min-width: 0;
    overflow: visible;
  }
  .panel--left {
    border-right: none;
    border-bottom: 1px solid #dde2e8;
  }
  .panel-section {
    padding: 16px;
  }
  .panel-section.panel-section--grow {
    overflow: visible;
  }
}
@media (max-width: 768px) {
  .panel-section {
    padding: 8px 16px;
  }
  .section-header {
    gap: 8px;
    align-items: flex-start;
  }
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  user-select: none;
}
.btn:focus-visible {
  outline: 2px solid #00ADBC;
  outline-offset: 2px;
}
.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}
.btn--primary {
  background-color: #F37121;
  border-color: #F37121;
  color: #ffffff;
}
.btn--primary:hover:not(:disabled) {
  background-color: #df5c0c;
  border-color: #df5c0c;
}
.btn--primary:active:not(:disabled) {
  background-color: #c2500a;
}
.btn--secondary {
  background-color: transparent;
  border-color: #003057;
  color: #003057;
}
.btn--secondary:hover:not(:disabled) {
  background-color: #003057;
  color: #ffffff;
}
.btn--ghost {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}
.btn--ghost:hover:not(:disabled) {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
}
.panel .btn--ghost,
.badge-preview-header .btn--ghost {
  border-color: #dde2e8;
  color: #4a5568;
}
.panel .btn--ghost:hover:not(:disabled),
.badge-preview-header .btn--ghost:hover:not(:disabled) {
  background-color: #f4f6f8;
  border-color: #00ADBC;
  color: #00ADBC;
}
.btn--sm {
  padding: 5px 8px;
  font-size: 12px;
}
.btn--lg {
  padding: 12px 32px;
  font-size: 16px;
}
@media (max-width: 768px) {
  .btn {
    white-space: normal;
    text-align: center;
  }
}
.form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.form-row.form-row--half {
  flex-direction: row;
  gap: 8px;
}
.form-row.form-row--half > * {
  flex: 1;
  min-width: 0;
}
.form-label {
  font-size: 12px;
  font-weight: 500;
  color: #4a5568;
  letter-spacing: 0.01em;
}
.required {
  color: #F37121;
}
.form-input {
  width: 100%;
  padding: 7px 8px;
  border: 1px solid #dde2e8;
  border-radius: 6px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  color: #003057;
  background-color: #ffffff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  appearance: none;
}
.form-input::placeholder {
  color: #8895a7;
}
.form-input:focus {
  outline: none;
  border-color: #00ADBC;
  box-shadow: 0 0 0 3px rgba(0, 173, 188, 0.15);
}
.form-input:disabled {
  background-color: #f4f6f8;
  color: #8895a7;
  cursor: not-allowed;
}
.form-input--search {
  padding-left: 28px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2714%27 height=%2714%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%238895a7%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Ccircle cx=%2711%27 cy=%2711%27 r=%278%27/%3E%3Cline x1=%2721%27 y1=%2721%27 x2=%2716.65%27 y2=%2716.65%27/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 9px center;
}
.form-hint {
  font-size: 12px;
  color: #8895a7;
}
.form-error {
  font-size: 12px;
  color: #c0392b;
  background-color: rgba(192, 57, 43, 0.08);
  border: 1px solid rgba(192, 57, 43, 0.25);
  border-radius: 4px;
  padding: 4px 8px;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 4px;
  margin-top: 4px;
}
.event-summary {
  background-color: rgba(0, 48, 87, 0.04);
  border: 1px solid #dde2e8;
  border-left: 3px solid #00ADBC;
  border-radius: 6px;
  padding: 8px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.event-branding-preview,
.event-summary__branding {
  display: flex;
  align-items: center;
  gap: 8px;
  --event-brand-color: #003057;
}
.event-branding-preview {
  padding: 4px 8px;
  background: var(--event-brand-color);
  border: 1px solid rgba(0, 48, 87, 0.08);
  border-radius: 4px;
}
.event-summary__branding {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px 8px;
  background: var(--event-brand-color);
  border-radius: 4px;
}
.event-branding-preview__image,
.event-summary__logo {
  max-height: 32px;
  max-width: 96px;
  width: auto;
}
.event-branding-preview__name {
  font-size: 12px;
  color: #4a5568;
}
.event-summary__name {
  font-size: 16px;
  font-weight: 600;
  color: #003057;
}
.event-summary__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: #4a5568;
}
.event-summary__id {
  font-size: 12px;
  color: #8895a7;
}
.event-summary__scanner-tools {
  margin-top: 8px;
}
.scanner-link-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #dde2e8;
  background: #ffffff;
}
.scanner-link-card__label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8895a7;
}
.scanner-link-card__value {
  display: block;
  white-space: normal;
  word-break: break-word;
  color: #003057;
  font-size: 12px;
}
.scanner-link-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.scanner-link-card__status {
  margin: 4px 0 0;
  font-size: 12px;
}
@media (max-width: 768px) {
  .form-row.form-row--half {
    flex-direction: column;
  }
  .form-actions {
    justify-content: stretch;
  }
  .form-actions .btn {
    width: 100%;
  }
  .event-summary {
    padding: 8px;
  }
  .event-summary__meta {
    flex-direction: column;
    gap: 2px;
  }
  .scanner-link-card {
    padding: 8px;
  }
  .scanner-link-card__actions .btn {
    flex: 1 1 calc(50% - 4px);
  }
}
.attendee-list-controls {
  margin-bottom: 8px;
}
.attendee-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.attendee-list__empty {
  padding: 16px 8px;
  text-align: center;
  font-size: 12px;
  color: #8895a7;
  font-style: italic;
  margin: 0;
}
.attendee-list__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.15s ease;
  position: relative;
}
.attendee-list__item:hover {
  background-color: rgba(0, 173, 188, 0.08);
}
.attendee-list__item:hover .attendee-list__remove {
  opacity: 1;
}
.attendee-list__item.attendee-list__item--active {
  background-color: rgba(0, 173, 188, 0.12);
  border: 1px solid rgba(0, 173, 188, 0.3);
}
.attendee-list__item.attendee-list__item--active .attendee-list__name {
  color: #003057;
}
.attendee-list__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: #003057;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  text-transform: uppercase;
}
.attendee-list__info {
  flex: 1;
  min-width: 0;
}
.attendee-list__name {
  font-size: 14px;
  font-weight: 500;
  color: #003057;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.attendee-list__meta {
  font-size: 12px;
  color: #8895a7;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.attendee-list__remove {
  opacity: 0;
  background: none;
  border: none;
  color: #8895a7;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  transition: opacity 0.15s ease, color 0.15s ease;
  flex-shrink: 0;
}
.attendee-list__remove:hover {
  color: #c0392b;
}
.badge-preview-panel {
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100%;
}
.badge-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 464px;
  margin-bottom: 24px;
  gap: 8px;
  flex-wrap: wrap;
}
.badge-preview-actions {
  display: flex;
  gap: 8px;
}
.badge-empty-state {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  color: #8895a7;
  font-size: 14px;
  font-style: italic;
  text-align: center;
}
.badge-render-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  overflow-x: auto;
}
.badge {
  --badge-brand-color: #003057;
  width: 384px;
  height: 288px;
  max-width: 100%;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 48, 87, 0.16);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  position: relative;
}
.badge__header {
  height: 64px;
  background-color: var(--badge-brand-color);
  color: #ffffff;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 16px;
  flex-shrink: 0;
}
.badge__event-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.badge__event-logo .badge__logo-img {
  max-height: 28px;
  max-width: 72px;
  width: auto;
}
.badge__event-info {
  flex: 1;
  min-width: 0;
}
.badge__event-name {
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}
.badge__event-date,
.badge__event-location {
  font-size: 12px;
  opacity: 0.8;
  line-height: 1.3;
}
.badge__body {
  flex: 1;
  display: flex;
  align-items: stretch;
  padding: 16px;
  gap: 16px;
}
.badge__attendee-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.badge__name {
  font-size: 22px;
  font-weight: 400;
  color: var(--badge-brand-color);
  line-height: 1.2;
  margin-bottom: 4px;
}
.badge__name strong {
  font-weight: 700;
}
.badge__title {
  font-size: 12px;
  color: var(--badge-brand-color);
  font-weight: 500;
  margin-bottom: 2px;
}
.badge__company {
  font-size: 14px;
  color: #4a5568;
}
.badge__qr-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-shrink: 0;
}
.badge__qr-container {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.badge__qr-image {
  width: 120px;
  height: 120px;
  display: block;
}
.badge__attendee-id {
  font-size: 9px;
  color: #8895a7;
  letter-spacing: 0.04em;
  text-align: center;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.badge::after {
  content: '';
  display: block;
  height: 4px;
  background: var(--badge-brand-color);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
.badge--split {
  background: linear-gradient(90deg, rgba(244, 246, 248, 0.7) 0%, rgba(244, 246, 248, 0.7) 54%, #ffffff 54%, #ffffff 100%);
}
.badge--split .badge__body {
  gap: 24px;
}
.badge--split .badge__qr-area {
  border-left: 2px solid rgba(0, 48, 87, 0.1);
  padding-left: 16px;
}
.badge--spotlight {
  background: radial-gradient(circle at top left, rgba(111, 204, 221, 0.28), transparent 32%), linear-gradient(180deg, #ffffff 0%, rgba(244, 246, 248, 0.6) 100%);
}
.badge--spotlight .badge__header {
  height: 76px;
}
.badge--spotlight .badge__name {
  font-size: 24px;
}
.badge--spotlight .badge__company {
  font-weight: 600;
  color: var(--badge-brand-color);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 12px;
}
@media (max-width: 768px) {
  .badge-preview-panel {
    padding: 16px;
  }
  .badge-preview-header {
    margin-bottom: 16px;
  }
  .badge-render-area .badge {
    width: min(100%, 384px);
    height: auto;
    aspect-ratio: 4 / 3;
  }
  .badge__header {
    height: auto;
    min-height: 64px;
  }
  .badge__body {
    min-height: 0;
  }
  .badge__name {
    font-size: 18px;
  }
  .badge__qr-container,
  .badge__qr-image {
    width: 96px;
    height: 96px;
  }
}
.qr-error {
  font-size: 12px;
  color: #c0392b;
}
.login-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #003057;
  background-image: linear-gradient(135deg, #003057 0%, #026386 100%);
  padding: 24px;
}
.login-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 48, 87, 0.16);
  padding: 48px 32px;
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.login-card__logo {
  margin-bottom: 8px;
}
.login-card__logo .login-logo {
  height: 52px;
  width: auto;
  filter: brightness(0) saturate(100%) invert(10%) sepia(61%) saturate(1200%) hue-rotate(185deg) brightness(85%) contrast(110%);
}
.login-card__title {
  font-size: 20px;
  font-weight: 700;
  color: #003057;
  text-align: center;
  margin: 0;
}
.login-card__subtitle {
  font-size: 12px;
  color: #8895a7;
  text-align: center;
  margin: 0 0 16px;
}
.login-card .form {
  width: 100%;
}
.btn--full {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
  padding: 10px;
  font-size: 16px;
}
.header-user {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  margin-right: 4px;
}
.view-tabs {
  display: flex;
  border-bottom: 2px solid #dde2e8;
  background-color: #ffffff;
  padding: 0 24px;
  overflow-x: auto;
  scrollbar-width: none;
}
.view-tabs::-webkit-scrollbar {
  display: none;
}
.view-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  padding: 16px 16px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #8895a7;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: color 0.15s ease, border-color 0.15s ease;
  flex-shrink: 0;
}
.view-tab:hover {
  color: #003057;
}
.view-tab.view-tab--active {
  color: #00ADBC;
  border-bottom-color: #00ADBC;
}
#dashboard-panel {
  padding: 24px;
  overflow-y: auto;
  height: calc(100vh - 56px - 49px);
}
.dashboard__event-name {
  font-size: 20px;
  font-weight: 700;
  color: #003057;
  margin: 0;
}
.dashboard__subhead {
  font-size: 16px;
  font-weight: 600;
  color: #003057;
  margin: 24px 0 8px;
}
.dashboard__header,
.dashboard__detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.dashboard__header {
  margin-bottom: 24px;
}
.dashboard__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.dashboard__insights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.insight-card {
  padding: 16px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0, 173, 188, 0.1), #ffffff);
  border: 1px solid rgba(0, 173, 188, 0.2);
}
.insight-card__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8895a7;
  margin-bottom: 4px;
}
.insight-card__value {
  font-size: 16px;
  font-weight: 700;
  color: #003057;
}
.insight-card__subtext {
  margin-top: 4px;
  color: #4a5568;
  font-size: 12px;
}
.dashboard__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}
.stat-card {
  background-color: #ffffff;
  border: 1px solid #dde2e8;
  border-radius: 10px;
  padding: 16px 24px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 48, 87, 0.08);
}
.stat-card__value {
  font-size: 32px;
  font-weight: 700;
  color: #003057;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-card__label {
  font-size: 12px;
  color: #8895a7;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.stat-card--checked-in {
  border-color: #00ADBC;
  background-color: rgba(0, 173, 188, 0.06);
}
.stat-card--checked-in .stat-card__value {
  color: #026386;
}
.stat-card--percent .stat-card__value {
  color: #F37121;
}
.dashboard__progress {
  margin-bottom: 24px;
}
.progress-bar {
  height: 8px;
  background-color: #dde2e8;
  border-radius: 4px;
  overflow: hidden;
}
.progress-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, #00ADBC 0%, #6FCCDD 100%);
  border-radius: 4px;
  transition: width 0.5s ease;
  min-width: 0;
}
.dashboard__table-wrapper {
  background-color: #ffffff;
  border: 1px solid #dde2e8;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 48, 87, 0.08);
  overflow-x: auto;
}
.attendee-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.attendee-table th {
  background-color: rgba(0, 48, 87, 0.04);
  color: #4a5568;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
  padding: 8px 16px;
  text-align: left;
  border-bottom: 1px solid #dde2e8;
}
.attendee-table td {
  padding: 8px 16px;
  border-bottom: 1px solid #edf0f3;
  color: #003057;
  vertical-align: middle;
}
.attendee-table tr:last-child td {
  border-bottom: none;
}
.attendee-table tr.row--checked-in td {
  background-color: rgba(0, 173, 188, 0.04);
}
.attendee-table tr:hover td {
  background-color: rgba(0, 173, 188, 0.06);
}
.td--name {
  font-weight: 500;
}
.td--muted {
  color: #8895a7;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.status-badge--checked-in {
  background-color: rgba(0, 173, 188, 0.15);
  color: #026386;
  border: 1px solid rgba(0, 173, 188, 0.4);
}
.status-badge--pending {
  background-color: #f4f6f8;
  color: #8895a7;
  border: 1px solid #dde2e8;
}
.status-badge--warning {
  background-color: rgba(243, 113, 33, 0.16);
  color: #d5580c;
  border: 1px solid rgba(243, 113, 33, 0.35);
}
.dashboard-loading,
.dashboard-error {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  color: #8895a7;
  font-style: italic;
}
.dashboard-error {
  color: #c0392b;
}
.dashboard-detail-empty {
  margin: 16px 0 0;
  color: #8895a7;
}
.dashboard__detail {
  margin-top: 16px;
}
.dashboard__activity {
  margin-top: 24px;
}
.dashboard__detail-title {
  margin: 0 0 8px;
  color: #003057;
  font-size: 16px;
  font-weight: 600;
}
.dashboard__detail-header {
  margin-bottom: 8px;
}
.dashboard__detail-header .dashboard__detail-title {
  margin-bottom: 0;
}
.session-row {
  cursor: pointer;
}
.session-row--active td {
  background-color: rgba(0, 173, 188, 0.1);
}
.dashboard-action-note {
  font-size: 12px;
  color: #8895a7;
}
.td--actions {
  white-space: nowrap;
}
.session-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}
.session-list__empty {
  margin: 16px 0 0;
  color: #8895a7;
}
.import-panel {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #dde2e8;
}
.import-panel__header {
  font-size: 12px;
  font-weight: 600;
  color: #003057;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.import-panel__controls {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  align-items: center;
}
.import-panel__status {
  margin: 8px 0 0;
  font-size: 12px;
  color: #8895a7;
}
.import-panel__status--error {
  color: #c0392b;
}
.import-panel__status--success {
  color: #026386;
}
.import-preview {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.import-preview__summary {
  font-size: 12px;
  color: #4a5568;
}
.import-preview__table-wrap {
  border: 1px solid #dde2e8;
  border-radius: 6px;
  overflow: hidden;
}
.import-preview__errors {
  border: 1px solid rgba(192, 57, 43, 0.18);
  border-radius: 6px;
  background: rgba(192, 57, 43, 0.06);
  padding: 8px;
}
.import-preview__errors-title {
  font-size: 12px;
  font-weight: 600;
  color: #c0392b;
  margin-bottom: 4px;
}
.import-preview__errors-list {
  margin: 0;
  padding-left: 16px;
  color: #4a5568;
  font-size: 12px;
}
.row--needs-attention td {
  background-color: rgba(243, 113, 33, 0.07);
}
@media (max-width: 1100px) {
  .dashboard__stats,
  .dashboard__insights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 768px) {
  .view-tabs {
    padding: 0 8px;
  }
  #dashboard-panel {
    height: auto;
    padding: 16px;
  }
  .dashboard__header,
  .dashboard__detail-header {
    align-items: flex-start;
    flex-direction: column;
  }
  .dashboard__actions {
    width: 100%;
  }
  .dashboard__actions .btn {
    flex: 1 1 calc(50% - 4px);
  }
  .dashboard__stats,
  .dashboard__insights {
    grid-template-columns: 1fr;
  }
  .stat-card {
    padding: 16px;
  }
}
.session-list__item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-top: 1px solid #edf0f3;
}
.session-list__info {
  min-width: 0;
}
.session-list__name {
  font-weight: 600;
  color: #003057;
}
.session-list__meta {
  margin-top: 2px;
  color: #8895a7;
  font-size: 12px;
}
.session-list__scanner-link {
  display: inline-block;
  margin-top: 4px;
  color: #00ADBC;
  font-size: 12px;
  text-decoration: none;
}
.session-list__scanner-link:hover {
  text-decoration: underline;
}
.session-list__scanner-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}
.session-list__remove {
  background: none;
  border: none;
  color: #8895a7;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  padding: 0;
}
@media print {
  .app-wrapper {
    display: none !important;
  }
  #print-container {
    display: block !important;
    margin: 0;
    padding: 0;
  }
  @page {
    size: 4in 3in landscape;
    margin: 0.125in;
  }
  body {
    background: none;
    margin: 0;
    padding: 0;
  }
  .print-page {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
  }
  .print-page-break {
    page-break-after: always;
    break-after: page;
  }
  .badge {
    width: 384px;
    height: 288px;
    box-shadow: none;
    border: 1px solid #cccccc;
    border-radius: 0;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .badge__header {
    background-color: #003057 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .badge::after {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .badge__qr-image {
    width: 120px !important;
    height: 120px !important;
  }
}
.pwa-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 24px;
  background: linear-gradient(90deg, rgba(111, 204, 221, 0.18), rgba(0, 173, 188, 0.1));
  border-bottom: 1px solid rgba(0, 173, 188, 0.18);
}
.pwa-banner__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.pwa-banner__title {
  color: #003057;
  font-size: 12px;
}
.pwa-banner__message {
  color: #4a5568;
  font-size: 12px;
}
.pwa-banner__actions {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .pwa-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px;
  }
  .pwa-banner__actions {
    width: 100%;
  }
  .pwa-banner__actions .btn {
    flex: 1;
  }
}

