:root {
  /* Neo Events logo palette: blue field + cool surface (krem yok) */
  --tp-navy: #0B3A8C;
  --tp-navy-deep: #072A66;
  --tp-ink: #12233F;
  --tp-orange: #0A60D9;
  --tp-orange-hot: #176BE0;
  --tp-teal: #3D6BB3;
  --tp-cream: #F0F4FA;
  --tp-paper: #FFFFFF;
  --tp-muted: #5A6B82;
  --tp-vip: #B54A32;
  --tp-pin: #E23B3B;
}

html:not([data-bs-theme="dark"]) {
  --bs-body-bg: #F0F4FA;
  --bs-body-color: #12233F;
  --bs-border-color: #D5E0EF;
}

body {
  --tp-orange: var(--bs-theme);
  --tp-orange-hot: color-mix(in srgb, var(--bs-theme) 72%, #fff);
  --bs-link-color: var(--bs-theme);
  --bs-link-hover-color: color-mix(in srgb, var(--bs-theme) 78%, #000);
}

body.theme-platform {
  --bs-theme: #0A60D9;
  --bs-theme-rgb: 10, 96, 217;
  --bs-theme-color: #ffffff;
  --bs-theme-color-rgb: 255, 255, 255;
}

.bg-platform {
  background-color: #0A60D9 !important;
}

[data-bs-theme="dark"] {
  --tp-navy: #E8F0FC;
  --tp-navy-deep: #071428;
  --tp-ink: #E8F0FC;
  --tp-cream: #0B1A33;
  --tp-paper: #12233F;
  --tp-muted: #9AAFC8;
}

[data-bs-theme="dark"] .tp-brand-title {
  color: #e8eef2;
}

html { scroll-behavior: smooth; }

.brand img,
.navbar-brand img {
  height: 40px;
  width: auto;
}

.tp-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
  color: inherit;
  min-width: 0;
}

.tp-brand-mark,
.app-header .brand img.tp-brand-mark,
.navbar-brand img.tp-brand-mark {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 22%;
  object-fit: contain;
  background: transparent !important;
  box-shadow: none !important;
  filter: drop-shadow(0 3px 6px rgba(5, 24, 64, 0.45));
}

.app-header .tp-brand-mark,
.app-header .brand img.tp-brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 22%;
  object-fit: contain;
  background: transparent !important;
  box-shadow: none !important;
  filter: drop-shadow(0 2px 5px rgba(5, 24, 64, 0.4));
}

.tp-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  min-width: 0;
}

.tp-brand-title {
  font-family: Syne, Inter, sans-serif;
  font-weight: 800;
  font-size: 0.86rem;
  letter-spacing: -0.04em;
  color: var(--tp-navy);
}

.tp-brand-sub {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #0A60D9;
}

.tp-nav .tp-brand-title,
.tp-auth-aside .tp-brand-title,
.tp-footer .tp-brand-title {
  color: #eef6f4;
}

.app-header .brand .tp-brand {
  padding: 0;
}

.tp-nav .tp-brand-sub,
.tp-auth-aside .tp-brand-sub,
.tp-footer .tp-brand-sub {
  color: #7EB6FF;
}

.app-header .brand a {
  display: flex;
  align-items: center;
}

.app-header .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.app-header .header-scope {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-width: 0;
  max-width: 320px;
  height: 32px;
  padding: 0 4px 0 12px;
  border-radius: 999px;
  background: #e8f0fc;
  color: #0B3A8C;
  line-height: 1;
}

.app-header .header-scope-kind {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #0A60D9;
  flex-shrink: 0;
  line-height: 1;
  padding-right: 10px;
  margin-right: 2px;
  border-right: 1px solid #c5d7f5;
}

.app-header .header-scope-name {
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-left: 8px;
  line-height: 1;
}

.app-header .header-scope-form {
  margin: 0;
}

.app-header .header-scope-select {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  box-shadow: none;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%230B3A8C' d='M1.2 1.4 6 6.2 10.8 1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 10px 7px;
  color: #0B3A8C;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 32px;
  height: 32px;
  max-width: 200px;
  min-width: 9rem;
  margin: 0;
  padding: 0 26px 0 10px;
  outline: none;
  cursor: pointer;
}

.app-header .header-user-scope {
  font-size: 0.68rem;
  font-weight: 700;
  color: #0A60D9;
  line-height: 1.1;
  max-width: 160px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-header .menu .header-scope {
  flex-shrink: 0;
}

@media (max-width: 991.98px) {
  .app-header .header-scope {
    display: none;
  }
}

.page-header {
  letter-spacing: -0.02em;
  font-size: 1.45rem;
}

.breadcrumb {
  margin-bottom: 0.15rem;
  font-size: 0.8rem;
}

#content.app-content {
  padding: 1rem 1.25rem 1.5rem !important;
}

.app-content .card > .tab-content.p-4,
.app-content .card > .tab-content {
  padding: 12px 14px !important;
}

.app-content .card > .card-body {
  padding: 14px 16px;
}

.app-content #dataTable.table > :not(caption) > * > *,
.app-content .table.table-sm > :not(caption) > * > * {
  padding: 0.45rem 0.7rem;
}

.app-content .table thead th {
  font-size: 0.72rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--tp-muted);
  font-weight: 600;
  border-bottom-width: 1px;
}

.list-search {
  margin-bottom: 0.65rem;
}

.list-filters {
  display: grid;
  grid-template-columns: minmax(12rem, 1.5fr) minmax(9rem, 0.85fr) minmax(9rem, 0.85fr);
  gap: 0.75rem 1rem;
  align-items: end;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--bs-border-color);
}
.list-filters.is-pills {
  grid-template-columns: minmax(16rem, 1.2fr) minmax(18rem, 1.6fr) minmax(12rem, 0.9fr) auto;
  align-items: start;
}
.list-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.list-pill {
  border: 1px solid var(--bs-border-color);
  background: #fff;
  color: #3d474f;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
}
.list-pill:hover {
  border-color: color-mix(in srgb, var(--bs-theme) 40%, var(--bs-border-color));
  color: var(--tp-ink);
}
.list-pill.is-on {
  background: var(--bs-theme);
  border-color: var(--bs-theme);
  color: #fff;
}
.list-filter-clear {
  margin-top: 1.45rem;
  border: 0;
  background: none;
  color: var(--bs-theme);
  font-size: 0.8rem;
  font-weight: 650;
  padding: 0;
}
.list-filter-clear[hidden] { display: none; }

.list-filters label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--tp-muted);
  margin-bottom: 0.35rem;
}

.list-filters .list-search {
  margin-bottom: 0;
}

@media (max-width: 991.98px) {
  .list-filters.is-pills {
    grid-template-columns: 1fr;
  }
  .list-filter-clear { margin-top: 0; }
}
@media (max-width: 767.98px) {
  .list-filters {
    grid-template-columns: 1fr;
  }
}

#dataTable tbody tr.is-page-hidden,
.js-infinite > .is-page-hidden,
tr.is-page-hidden {
  display: none !important;
}

.js-infinite-sentinel {
  height: 8px;
}

.js-infinite-sentinel.is-done {
  display: none;
}

.js-list-more {
  text-align: center;
  color: var(--tp-muted);
  font-size: 0.86rem;
  font-weight: 600;
  padding: 1rem 0 0.25rem;
}

.list-avatar {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #12181f, #0A60D9);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.app-content .list-avatar + .ms-3 {
  margin-left: 0.65rem !important;
}

.stat-tile {
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  min-height: 148px;
  color: #fff;
}

.stat-tile .card-body,
.stat-tile .display-6,
.stat-tile .fw-bold {
  color: #fff !important;
}

.stat-tile .small,
.stat-tile .text-white,
.stat-tile .text-opacity-75 {
  color: rgba(255, 255, 255, .82) !important;
}

.stat-tile .card-body {
  position: relative;
  z-index: 1;
}

.stat-tile .stat-icon {
  position: absolute;
  right: 16px;
  bottom: 8px;
  font-size: 64px;
  opacity: .18;
  color: #fff;
}

.stat-tile.stat-navy { background: linear-gradient(135deg, #243038 0%, #12181f 100%); }
.stat-tile.stat-orange { background: linear-gradient(135deg, #176BE0 0%, #187a6c 100%); }
.stat-tile.stat-teal { background: linear-gradient(135deg, #6a8a98 0%, #3d5560 100%); }
.stat-tile.stat-ink { background: linear-gradient(135deg, #2a333c 0%, #1a2229 100%); }

.quick-action {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--bs-body-bg);
  border: 1px solid rgba(18, 24, 31, .08);
  text-decoration: none;
  color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.quick-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(18, 24, 31, .08);
  border-color: rgba(31, 155, 138, .55);
  color: inherit;
}

.quick-action .qa-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--bs-theme) 14%, transparent);
  color: var(--bs-theme);
  flex-shrink: 0;
}

.empty-state {
  text-align: center;
  padding: 28px 16px;
  color: var(--tp-muted);
}

.empty-state i {
  font-size: 42px;
  color: var(--tp-orange);
  opacity: .7;
  margin-bottom: 12px;
}

.btn-theme {
  --bs-btn-color: var(--bs-theme-color);
  --bs-btn-bg: var(--bs-theme);
  --bs-btn-border-color: var(--bs-theme);
  --bs-btn-hover-color: var(--bs-theme-color);
  --bs-btn-hover-bg: color-mix(in srgb, var(--bs-theme) 82%, #fff);
  --bs-btn-hover-border-color: color-mix(in srgb, var(--bs-theme) 82%, #fff);
  --bs-btn-active-color: var(--bs-theme-color);
  --bs-btn-active-bg: color-mix(in srgb, var(--bs-theme) 82%, #000);
  --bs-btn-active-border-color: color-mix(in srgb, var(--bs-theme) 82%, #000);
}

.tp-landing {
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  color: var(--tp-ink);
  background: var(--tp-cream);
}

.public-browse {
  background: #F0F4FA;
}

.public-main {
  min-height: calc(100vh - 76px);
}

.tp-nav .navbar-brand {
  padding: 0;
  margin: 0;
}

.tp-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(11, 16, 20, .88);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.tp-nav .nav-link {
  color: rgba(238, 246, 244, .78) !important;
  font-weight: 500;
  padding: .55rem .85rem !important;
}

.tp-nav .nav-link:hover { color: #fff !important; }

.tp-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(31,155,138,.38), transparent 50%),
    radial-gradient(900px 400px at 0% 80%, rgba(79,109,122,.28), transparent 45%),
    linear-gradient(160deg, #0b1014 0%, #12181f 48%, #1e2c33 100%);
  color: #fff;
  min-height: 88vh;
  display: flex;
  align-items: center;
}

.tp-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 35%, transparent 80%);
  pointer-events: none;
}

.tp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--tp-orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tp-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4.1rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 700;
  margin: 18px 0 16px;
  color: #eef6f4;
}

.tp-hero h1 span {
  background: linear-gradient(90deg, var(--tp-orange-hot), #B8D4FF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tp-hero p.lead {
  color: rgba(238, 246, 244, .74);
  font-size: 1.15rem;
  max-width: 36rem;
}

.tp-hero .text-white { color: #eef6f4 !important; }
.tp-hero .fs-3 { color: #eef6f4 !important; }

.tp-orb {
  width: min(420px, 100%);
  aspect-ratio: 1;
  border-radius: 32px;
  background:
    linear-gradient(160deg, rgba(238,246,244,.08), rgba(255,255,255,.02)),
    url("/img/landing/hero.jpg") center/cover;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.12);
  position: relative;
}

.tp-orb .orb-chip {
  position: absolute;
  background: rgba(11,16,20,.78);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
}

.tp-section { padding: 88px 0; }

.tp-section h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.03em;
  font-weight: 700;
}

.tp-feature {
  height: 100%;
  padding: 28px;
  border-radius: 20px;
  background: var(--tp-paper);
  border: 1px solid rgba(18,24,31,.07);
  box-shadow: 0 10px 30px rgba(18,24,31,.04);
  transition: transform .2s ease;
}

.tp-feature:hover { transform: translateY(-4px); }

.tp-feature .icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
  background: rgba(31,155,138,.14);
  color: #187a6c;
}

.tp-module {
  padding: 22px;
  border-radius: 18px;
  background: #1a2a30;
  color: #fff;
  height: 100%;
  border: 1px solid rgba(255,255,255,.06);
}

.tp-module i { color: var(--tp-orange); font-size: 22px; }

.tp-cta h2,
.tp-module h5,
[style*="background: var(--tp-navy)"] h2 {
  color: #eef6f4 !important;
}

.tp-cta {
  background: linear-gradient(135deg, #12181f, #1e3d3a);
  color: #fff;
  border-radius: 28px;
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.tp-footer {
  background: var(--tp-navy-deep);
  color: rgba(238,246,244,.7);
  padding: 48px 0 24px;
}

.tp-footer .tp-brand {
  margin-bottom: 16px;
}

.tp-footer a { color: rgba(238,246,244,.7); text-decoration: none; }
.tp-footer a:hover { color: var(--tp-orange); }

.tp-auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  background: var(--tp-cream);
}

.tp-auth-aside {
  background:
    radial-gradient(800px 400px at 20% 10%, rgba(31,155,138,.32), transparent 50%),
    linear-gradient(165deg, #0b1014, #12181f 60%, #1e3d3a);
  color: #fff;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tp-auth-aside h1,
.tp-auth-aside .display-6,
.tp-auth-aside p {
  color: #eef6f4 !important;
}

.tp-auth-aside p {
  opacity: .78;
}

.tp-auth-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.tp-auth-card {
  width: min(440px, 100%);
  background: var(--tp-paper);
  border-radius: 24px;
  padding: 36px 32px;
  box-shadow: 0 20px 50px rgba(18,24,31,.08);
}

@media (max-width: 991.98px) {
  .tp-auth { grid-template-columns: 1fr; }
  .tp-auth-aside { display: none; }
  .tp-hero { min-height: auto; padding: 72px 0 64px; }
  .tp-cta { padding: 32px 24px; }
}

.theme-panel {
  z-index: 1080;
}

[data-bs-theme="dark"] .quick-action {
  background: var(--bs-body-bg);
  border-color: rgba(255,255,255,.08);
}

[data-bs-theme="dark"] .empty-state {
  color: var(--tp-muted);
}

[data-bs-theme="dark"] .tp-auth {
  background: var(--bs-body-bg);
}

[data-bs-theme="dark"] .tp-auth-card {
  background: var(--bs-body-bg);
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}

.neo-social-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.neo-apple {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 44px;
  margin: 0;
  padding: 0 18px;
  border: 1px solid rgba(18, 24, 31, .16);
  border-radius: 999px;
  background: #fff;
  color: #1c1c1e;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1;
  cursor: pointer;
}

.neo-apple svg {
  width: 15px;
  height: 18px;
  flex: none;
}

.neo-apple:hover {
  background: #f6f7f8;
  border-color: rgba(18, 24, 31, .28);
}

[data-bs-theme="dark"] .neo-apple {
  background: transparent;
  color: #f2f2f2;
  border-color: rgba(255, 255, 255, .22);
}

.speaker-typeahead {
  position: relative;
}

.speaker-results {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  background: var(--tp-paper);
  border: 1px solid rgba(18,24,31,.12);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(18,24,31,.12);
  max-height: 240px;
  overflow: auto;
}

.speaker-option {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 10px 14px;
}

.speaker-option:hover,
.speaker-option:focus {
  background: rgba(31,155,138,.08);
}

.speaker-empty {
  padding: 10px 14px;
  color: var(--tp-muted);
}

[data-bs-theme="dark"] .speaker-results {
  background: var(--bs-body-bg);
  border-color: rgba(255,255,255,.08);
}

.scope-path {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.scope-path[hidden] {
  display: none !important;
}

.scope-path-compact {
  margin-top: 8px;
}

.scope-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(31, 155, 138, .12);
  color: #187a6c;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.scope-chip i {
  opacity: .85;
}

.scope-chip span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 28ch;
}

a.scope-chip {
  text-decoration: none;
  cursor: pointer;
}

a.scope-chip:hover {
  background: rgba(31, 155, 138, .22);
  color: #0f5f54;
}

[data-bs-theme="dark"] a.scope-chip:hover {
  background: rgba(31, 155, 138, .28);
  color: #9ee8dc;
}

.lookup-banner {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.45;
}

.lookup-banner[hidden] {
  display: none !important;
}

.lookup-banner i {
  margin-top: 2px;
}

.lookup-banner-found {
  background: rgba(31, 155, 138, .12);
  color: #187a6c;
}

.lookup-banner-new {
  background: rgba(18, 24, 31, .05);
  color: var(--tp-muted);
}

.lookup-banner-warn {
  background: rgba(196, 129, 38, .12);
  color: #8a5a12;
}

[data-bs-theme="dark"] .lookup-banner-found {
  background: rgba(31, 155, 138, .22);
  color: #9ee6db;
}

[data-bs-theme="dark"] .lookup-banner-new {
  background: rgba(255, 255, 255, .06);
}

[data-bs-theme="dark"] .lookup-banner-warn {
  background: rgba(196, 129, 38, .22);
  color: #f0c48a;
}

.scope-sep {
  color: var(--tp-muted);
  font-size: 12px;
}

.modal-header .scope-chip {
  background: rgba(31, 155, 138, .14);
}

[data-bs-theme="dark"] .scope-chip {
  background: rgba(31, 155, 138, .22);
  color: #9ee6db;
}

.phone-field {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 100%;
}

.phone-flag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  border: 1px solid var(--bs-border-color);
  border-right: 0;
  border-radius: var(--bs-border-radius) 0 0 var(--bs-border-radius);
  background: var(--bs-body-bg);
  padding: 0 10px;
  min-width: 96px;
  font-weight: 600;
  font-size: 13px;
  color: inherit;
  line-height: 1;
}

.phone-flag:hover,
.phone-field.open .phone-flag {
  background: rgba(31, 155, 138, .08);
}

.phone-flag-emoji {
  font-size: 18px;
  line-height: 1;
}

.phone-national {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

.phone-menu {
  display: none;
  position: absolute;
  left: 0;
  top: calc(100% + 4px);
  z-index: 1080;
  width: min(340px, 100%);
  max-height: 320px;
  overflow: auto;
  background: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(18, 24, 31, .16);
  padding: 8px;
}

.phone-field.open .phone-menu {
  display: block;
}

.phone-search {
  margin-bottom: 6px;
}

.phone-option {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  padding: 8px 10px;
  border-radius: 8px;
  text-align: left;
  color: inherit;
}

.phone-option:hover,
.phone-option:focus {
  background: rgba(31, 155, 138, .12);
}

.phone-option-name {
  flex: 1;
  font-size: 13px;
}

[data-bs-theme="dark"] .phone-menu {
  box-shadow: 0 16px 40px rgba(0, 0, 0, .4);
}

body.pres-kiosk-open {
  overflow: hidden;
}

body.pres-kiosk-open .theme-panel,
body.pres-kiosk-open .app-header,
body.pres-kiosk-open .app-sidebar {
  visibility: hidden;
}

.pres-kiosk {
  position: fixed;
  inset: 0;
  z-index: 20000;
  background: #05070a;
  color: #fff;
  display: flex;
  flex-direction: column;
}

.pres-kiosk-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, .55);
  transition: opacity .3s ease, transform .3s ease;
}

.pres-kiosk-idle .pres-kiosk-bar,
.pres-kiosk-idle .pres-kiosk-hint {
  opacity: 0;
  pointer-events: none;
}

.pres-kiosk-meta {
  flex: 1;
  min-width: 0;
}

.pres-kiosk-title {
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pres-kiosk-sub {
  font-size: 12px;
  opacity: .7;
}

.pres-kiosk-count {
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  opacity: .8;
}

.pres-kiosk-btn {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

.pres-kiosk-btn:hover {
  background: rgba(31, 155, 138, .8);
}

.pres-kiosk-stage {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px 28px;
}

.pres-kiosk-frame,
.pres-kiosk-image,
.pres-kiosk-video {
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
  object-fit: contain;
}

.pres-kiosk-audio {
  width: min(720px, 100%);
}

.pres-kiosk-card {
  position: relative;
  width: min(1200px, 100%);
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: #111820;
  display: flex;
  align-items: stretch;
}

.pres-kiosk-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.pres-kiosk-card-copy {
  position: relative;
  z-index: 1;
  margin-top: auto;
  width: 100%;
  padding: 28px 36px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .82));
}

.pres-kiosk-card-copy h1 {
  font-size: clamp(28px, 4vw, 52px);
  margin: 0 0 12px;
}

.pres-kiosk-card-copy p {
  margin: 0 0 6px;
  font-size: clamp(16px, 2vw, 24px);
  opacity: .92;
}

.pres-kiosk-fallback,
.pres-kiosk-loading {
  color: #fff;
  text-align: center;
}

.pres-kiosk-hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  text-align: center;
  font-size: 12px;
  opacity: .45;
  transition: opacity .3s ease;
}

.pres-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.pres-col {
  width: 320px;
  min-width: 260px;
  max-width: 360px;
}

.pres-deck {
  width: 100%;
  max-width: 340px;
  border: 1px solid rgba(18, 24, 31, .1);
  border-radius: 12px;
  overflow: hidden;
  background: var(--tp-paper);
}

.pres-deck-empty {
  background: rgba(18, 24, 31, .02);
}

.pres-deck-rail {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 8px;
  background: #12181f;
  scrollbar-width: thin;
}

.pres-deck-tile {
  flex: 0 0 92px;
  width: 92px;
  height: 62px;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  color: #eef6f4;
  background: #1c262e;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 0;
}

.pres-deck-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pres-deck-tile i {
  font-size: 18px;
  position: relative;
  z-index: 1;
}

.pres-deck-tile span {
  position: relative;
  z-index: 1;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .02em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .65);
}

.pres-deck-tile:hover {
  outline: 2px solid #0A60D9;
  outline-offset: -2px;
}

.pres-deck-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  padding: 6px 8px;
}

.pres-deck-empty-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 10px 12px;
  color: var(--tp-muted);
  font-size: 13px;
}

.pres-deck-count {
  font-size: 11px;
  color: var(--tp-muted);
}

.pres-deck-empty-copy strong {
  color: var(--bs-body-color);
}

.pres-file-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px dashed rgba(31, 155, 138, .45);
  font-size: 12px;
  font-weight: 600;
  color: #187a6c;
  cursor: pointer;
  background: #fff;
}

.pres-file-btn input[type=file] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.pres-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}

.pres-gallery-item {
  border: 1px solid rgba(18, 24, 31, .1);
  border-radius: 12px;
  overflow: hidden;
  background: var(--tp-paper);
}

.pres-gallery-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 110px;
  border: 0;
  padding: 0;
  background: #12181f;
  color: #eef6f4;
  position: relative;
  overflow: hidden;
}

.pres-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pres-gallery-thumb i {
  font-size: 28px;
}

.pres-gallery-meta {
  padding: 8px 10px 0;
}

.pres-gallery-item .pres-actions {
  padding: 8px 10px 10px;
}

[data-bs-theme="dark"] .pres-deck,
[data-bs-theme="dark"] .pres-gallery-item {
  border-color: rgba(255, 255, 255, .08);
}

[data-bs-theme="dark"] .pres-file-btn {
  background: #1a2229;
  color: #7ad4c7;
}

body.pres-kiosk-page #app {
  background: #05070a;
}

.is-ended {
  opacity: .55;
  filter: grayscale(.18);
}

.is-ended td {
  color: #6b7680;
}

.ended-pill {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(18, 24, 31, .08);
  color: #6b7680;
  vertical-align: middle;
}

.ended-banner {
  border-radius: 12px;
  padding: 12px 16px;
  background: linear-gradient(90deg, rgba(18, 24, 31, .06), rgba(31, 155, 138, .08));
  color: #4d5a63;
  font-size: 14px;
  margin-bottom: 1rem;
}

.action-callout {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(90deg, rgba(201, 92, 46, .12), rgba(31, 155, 138, .1));
  border: 1px solid rgba(201, 92, 46, .25);
}

.action-callout:hover {
  color: inherit;
  border-color: rgba(201, 92, 46, .45);
}

.action-callout-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #c95c2e;
  color: #fff;
  flex-shrink: 0;
}

.action-hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, #1a2229 0%, #0A60D9 140%);
  color: #fff;
}

.action-hero-kicker {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .7;
}

.action-hero-count {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
}

.action-hero-sub {
  opacity: .78;
  font-size: 14px;
  margin-top: 4px;
}

.action-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.action-hero-pills span {
  background: rgba(255, 255, 255, .12);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
}

.action-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 62vh;
  overflow: auto;
}

.action-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(201, 92, 46, .18);
  background: rgba(201, 92, 46, .05);
  text-decoration: none;
  color: inherit;
}

.action-row:hover {
  color: inherit;
  border-color: rgba(201, 92, 46, .4);
  background: rgba(201, 92, 46, .09);
}

.action-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c95c2e;
  flex-shrink: 0;
}

.action-copy {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.action-copy small {
  color: var(--tp-muted);
}

.action-badge {
  min-width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #c95c2e;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
}

[data-bs-theme="dark"] .ended-pill,
[data-bs-theme="dark"] .ended-banner {
  background: rgba(255, 255, 255, .08);
  color: #9aa8b3;
}

.app-content.calendar-page {
  padding: 0 !important;
  height: calc(100vh - 60px);
  min-height: calc(100vh - 60px);
  overflow: hidden;
}

.calendar-page .calendar {
  height: 100%;
  min-height: 100%;
}

.calendar-page .calendar-body,
.calendar-page #calendar,
.calendar-page .fc,
.calendar-page .fc-view-harness {
  height: 100%;
}

.calendar-page .calendar-sidebar {
  width: 280px;
  padding: 1rem 1.1rem 1.25rem;
}

.cal-side-copy {
  font-size: 0.78rem;
  color: var(--tp-muted);
  margin: 0 0 0.85rem;
}

.cal-legend {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
  font-size: 0.78rem;
  color: var(--tp-muted);
}

.cal-legend span {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.cal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.cal-dot.is-live { background: #0A60D9; }
.cal-dot.is-upcoming { background: #3b82f6; }
.cal-dot.is-ended { background: #94a3b8; }

.cal-side-kicker {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--tp-muted);
  margin-bottom: 0.55rem;
}

.cal-congress-item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.55rem 0.15rem;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid rgba(148, 163, 184, .18);
}

.cal-congress-item:hover {
  color: inherit;
}

.cal-congress-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.cal-congress-copy strong {
  font-size: 0.8rem;
  font-weight: 650;
  line-height: 1.25;
}

.cal-congress-copy small {
  color: var(--tp-muted);
  font-size: 0.72rem;
}

.cal-congress-item.is-ended {
  opacity: 0.62;
}

.calendar-page .fc .fc-toolbar-title {
  font-size: 1.15rem;
  font-weight: 700;
}

.calendar-page .fc .cal-congress {
  border: 0;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 1px 4px;
}

.calendar-page .fc .cal-congress.is-ended {
  opacity: 0.55;
}

.calendar-page .fc .fc-daygrid-event-dot {
  display: none;
}

.calendar-page .fc .fc-daygrid-day.fc-day-today {
  background: rgba(31, 155, 138, .08);
}

.profile-card {
  overflow: hidden;
}

.profile-cover {
  height: 96px;
  background: linear-gradient(135deg, #12181f 0%, var(--bs-theme) 100%);
}

.profile-photo {
  position: relative;
  display: block;
  width: 112px;
  height: 112px;
  min-width: 112px;
  min-height: 112px;
  max-width: 112px;
  max-height: 112px;
  border-radius: 24px;
  margin: -56px auto 12px;
  background: linear-gradient(135deg, #12181f, var(--bs-theme));
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  overflow: hidden;
  border: 4px solid var(--bs-body-bg, #fff);
  cursor: pointer;
  line-height: 104px;
  text-align: center;
}

.profile-photo img {
  position: absolute;
  inset: 0;
  width: 112px !important;
  height: 112px !important;
  max-width: 112px !important;
  max-height: 112px !important;
  object-fit: cover;
  object-position: center;
  display: block;
}

.profile-meta {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.9rem;
}

.profile-meta i {
  width: 18px;
}

.list-avatar {
  overflow: hidden;
  position: relative;
}

.list-avatar img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  object-position: center;
  display: block;
}

.company-logo-preview {
  width: 72px;
  height: 72px;
  min-width: 72px;
  min-height: 72px;
  border-radius: 16px;
  object-fit: cover;
  object-position: center;
  display: block;
  background: #12181f;
}

.portal-app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(1200px 400px at 10% -10%, color-mix(in srgb, var(--bs-theme) 16%, transparent), transparent 60%),
    var(--tp-cream);
}

.portal-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  background: #fff;
  border-bottom: 1px solid var(--bs-border-color);
  position: sticky;
  top: 0;
  z-index: 20;
}

.portal-top-tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.portal-top-user {
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
}

.portal-rail-toggle {
  margin-left: 0;
  border: 0;
  background: var(--tp-cream);
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.notice-bell { position: relative; }
.notice-bell-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: #334155;
  text-decoration: none !important;
}
.app-header .notice-bell-btn {
  width: 36px;
  height: 36px;
  color: inherit;
}
.notice-bell-btn:hover { background: rgba(20, 120, 107, .08); color: #14786b; }
.notice-count {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #c2410c;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.notice-drop {
  width: min(360px, 92vw);
  padding: 0;
  overflow: hidden;
}
.notice-drop-head,
.notice-drop-all,
.notice-empty {
  padding: 0.75rem 0.95rem;
}
.notice-drop-head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  border-bottom: 1px solid var(--bs-border-color);
}
.notice-drop-head span { color: #c47d10; font-size: 0.78rem; font-weight: 700; }
.notice-empty { color: #64748b; font-size: 0.88rem; }
.notice-row {
  display: block;
  padding: 0.7rem 0.95rem;
  border-bottom: 1px solid #f1f5f4;
  text-decoration: none !important;
  color: inherit;
}
.notice-row:hover { background: #f6fbfa; }
.notice-row-top {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.2rem;
}
.notice-when { color: #94a3b8; font-size: 0.72rem; }
.notice-title { font-weight: 700; }
.notice-hint { color: #64748b; font-size: 0.8rem; }
.notice-drop-all {
  display: block;
  text-align: center;
  font-weight: 700;
  color: #14786b;
  text-decoration: none !important;
}
.notice-chip {
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 700;
}
.notice-chip.is-warn { color: #c47d10; }
.notice-chip.is-blue { color: #2563eb; }
.notice-chip.is-teal { color: #14786b; }
.notice-chip.is-rose { color: #b45309; }
.notice-chip.is-mute { color: #64748b; }
.notice-group { margin-bottom: 1.5rem; }
.notice-group h2 {
  font-size: 1.05rem;
  display: flex;
  gap: 0.45rem;
  align-items: baseline;
}
.notice-group h2 span { color: #64748b; font-size: 0.85rem; }
.notice-list {
  display: grid;
  gap: 0.65rem;
}
.notice-card {
  display: grid;
  gap: 0.15rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 14px;
  background: #fff;
  text-decoration: none !important;
  color: inherit;
}
.notice-card:hover { border-color: #14786b; }
.notice-card em { color: #94a3b8; font-style: normal; font-size: 0.78rem; }
.notice-page-empty {
  text-align: center;
  padding: 2.5rem 1rem;
  color: #64748b;
}
.notice-page-empty i { font-size: 1.6rem; display: block; margin-bottom: 0.6rem; color: #14786b; }

.portal-shell {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  min-height: 0;
}

.portal-main {
  padding: 1.75rem 1.5rem 3rem;
  max-width: 1180px;
  width: 100%;
  min-width: 0;
  overflow-x: clip;
}

.portal-rail {
  background: #fff;
  border-left: 1px solid var(--bs-border-color);
  padding: 1.25rem 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: 64px;
  height: calc(100vh - 64px);
}

.portal-rail-person {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.25rem 0.4rem 1rem;
  border-bottom: 1px solid var(--bs-border-color);
}

.portal-rail-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.portal-rail-nav a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  color: var(--tp-ink);
  text-decoration: none;
  font-weight: 600;
}

.portal-rail-nav a i {
  width: 1.1rem;
  color: var(--bs-theme);
}

.portal-rail-nav a.is-on,
.portal-rail-nav a:hover {
  background: color-mix(in srgb, var(--bs-theme) 12%, #fff);
}

.portal-rail-nav a.ozel-nav {
  background: #E8F0FC;
}

.portal-rail-nav a.ozel-nav.is-on,
.portal-rail-nav a.ozel-nav:hover {
  background: color-mix(in srgb, var(--bs-theme) 18%, #fff);
}

.ozel-seal {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--bs-theme);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 3px #fff;
  flex-shrink: 0;
}

.ozel-count {
  margin-left: auto;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--bs-theme);
  color: #fff;
  font-size: 0.72rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ozel-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 28px;
  padding: 0 0.7rem 0 0.2rem;
  border-radius: 999px;
  background: #E8F0FC;
  color: var(--bs-theme);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.ozel-badge .ozel-seal {
  width: 22px;
  height: 22px;
  box-shadow: none;
}

.ozel-card {
  border: 1px solid color-mix(in srgb, var(--bs-theme) 22%, var(--bs-border-color));
  border-radius: 18px;
  background: #fff;
}

.portal-rail-out {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.85rem;
  color: var(--tp-muted);
  text-decoration: none;
  font-weight: 600;
}

.portal-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #12181f;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.portal-avatar.lg { width: 44px; height: 44px; }
.portal-avatar.xl { width: 84px; height: 84px; font-size: 1.8rem; margin-bottom: 0.75rem; }

.portal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.portal-head h1 {
  font-family: Syne, Inter, sans-serif;
  font-size: 1.85rem;
  letter-spacing: -0.04em;
  margin: 0 0 0.25rem;
}

.portal-head p { color: var(--tp-muted); margin: 0; }
.portal-head-meta { color: var(--tp-muted); font-weight: 600; }
a.portal-head-meta { text-decoration: none; }
.portal-back { display: inline-block; color: var(--tp-muted); text-decoration: none; margin-bottom: 0.35rem; font-weight: 600; }

.portal-filter {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr auto;
  gap: 0.75rem;
  align-items: end;
  background: #fff;
  border: 1px solid var(--bs-border-color);
  border-radius: 16px;
  padding: 1rem;
  margin-bottom: 1.25rem;
}

.portal-filter label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--tp-muted);
  margin-bottom: 0.3rem;
}

.portal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  overflow: visible;
  padding-top: 8px;
}
@media (min-width: 720px) {
  .portal-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1080px) {
  .portal-grid { grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
}

.portal-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--bs-border-color);
  border-radius: 20px;
  padding: 1.15rem 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 100%;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.portal-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--bs-theme) 32%, var(--bs-border-color));
  box-shadow: 0 18px 40px rgba(18, 24, 31, 0.07);
}

.portal-card.is-ended { opacity: 0.7; }
.portal-card-hit {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}
.portal-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}
.portal-card-kind {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--tp-muted);
}
.portal-card-kind.is-paid { color: var(--bs-theme); }
.portal-card-kind.is-free { color: #0A60D9; }
.portal-card-kind.is-ended { color: #94a3b8; }
.portal-card-city {
  font-size: 0.78rem;
  color: var(--tp-muted);
  font-weight: 600;
}
.portal-card h2 {
  font-family: Syne, Inter, sans-serif;
  font-size: 1.18rem;
  letter-spacing: -0.03em;
  line-height: 1.28;
  margin: 0;
  overflow-wrap: anywhere;
}
.portal-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.85rem;
  color: var(--tp-muted);
  font-size: 0.86rem;
}
.portal-card-meta span:last-child { font-weight: 650; color: var(--tp-ink); }
.portal-card-actions {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.35rem;
}
.portal-status { font-size: 0.8rem; font-weight: 600; color: var(--bs-theme); }
.portal-load {
  text-align: center;
  color: var(--tp-muted);
  font-size: 0.86rem;
  font-weight: 600;
  padding: 1.25rem 0 0.5rem;
}

.portal-empty {
  background: #fff;
  border-radius: 18px;
  padding: 3rem 1rem;
  text-align: center;
  color: var(--tp-muted);
}

.portal-empty i { font-size: 1.6rem; display: block; margin-bottom: 0.6rem; color: var(--bs-theme); }
.portal-empty strong { display: block; color: var(--tp-ink); }

.portal-section { margin-bottom: 1.5rem; }
.portal-section h2 {
  font-size: 1rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.75rem;
}
.portal-section h2 span {
  background: var(--tp-cream);
  border-radius: 999px;
  padding: 0.1rem 0.55rem;
  font-size: 0.78rem;
}

.portal-list { display: flex; flex-direction: column; gap: 0.6rem; }
.portal-row {
  background: #fff;
  border: 1px solid var(--bs-border-color);
  border-radius: 14px;
  padding: 0.7rem 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0.75rem;
  align-items: center;
  min-width: 0;
}
.portal-row-banner {
  width: 112px;
  height: 68px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  flex: 0 0 112px;
}

.portal-row-copy {
  flex: 1 1 12rem;
  min-width: 0;
}
.portal-row a { overflow-wrap: break-word; }
.portal-row.is-current {
  background: #12181f;
  border-color: #12181f;
  color: #fff;
}
.portal-row.is-current .text-muted { color: #9aa8b3 !important; }
.portal-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-left: auto;
}

.portal-chip {
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  background: var(--tp-cream);
  white-space: nowrap;
}

.portal-chip.status-0 { background: #fff4d6; color: #8a6d00; }
.portal-chip.status-1 { background: color-mix(in srgb, var(--bs-theme) 18%, #fff); color: var(--bs-theme); }
.portal-chip.status-2 { background: #fde8e8; color: #b42318; }
.portal-chip.status-3 { background: #e7f8ef; color: #087443; }

.portal-profile {
  display: grid;
  grid-template-columns: minmax(0, 20rem) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.portal-profile > * { min-width: 0; }

.portal-profile-card {
  text-align: center;
  min-width: 0;
  overflow: hidden;
}

.portal-profile-card h2 {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.portal-panel {
  background: #fff;
  border: 1px solid var(--bs-border-color);
  border-radius: 18px;
  padding: 1.15rem 1.2rem 1.3rem;
  min-width: 0;
}

.portal-panel h2 { font-size: 1.05rem; margin-bottom: 0.85rem; }
.portal-dl { margin: 0; text-align: left; }
.portal-dl > div {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 0.35rem 0.6rem;
  padding: 0.4rem 0;
  min-width: 0;
  border-bottom: 1px solid var(--bs-border-color);
}
.portal-dl > div:last-child { border-bottom: 0; }
.portal-dl dt { color: var(--tp-muted); font-weight: 600; }
.portal-dl dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.portal-profile-card .portal-dl > div {
  grid-template-columns: minmax(0, 1fr);
  gap: 0.12rem;
}

.portal-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.portal-stat {
  background: #fff;
  border: 1px solid var(--bs-border-color);
  border-radius: 16px;
  padding: 1rem;
  text-decoration: none;
  color: inherit;
}

.portal-stat strong { display: block; font-size: 1.4rem; letter-spacing: -0.04em; }
.portal-stat span { color: var(--tp-muted); font-size: 0.82rem; }

.portal-detail-grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 1rem;
}

.portal-hall { font-size: 0.9rem; margin: 1rem 0 0.5rem; color: var(--tp-muted); }
.portal-program { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.portal-program li {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 12px;
}
.portal-program li i { color: var(--bs-theme); margin-top: 0.2rem; }
.portal-program li.is-mine { border-color: var(--bs-theme); background: color-mix(in srgb, var(--bs-theme) 8%, #fff); }
.portal-program li.is-break { opacity: 0.8; }
.portal-assets { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.35rem; }
.portal-assets a { font-size: 0.78rem; }
.portal-upload { display: grid; gap: 0.4rem; margin-top: 0.6rem; }
.portal-pay { max-width: 720px; }
.portal-calendar { height: min(72vh, 760px); min-height: 520px; background: #fff; border: 1px solid var(--bs-border-color); border-radius: 18px; overflow: hidden; }
.portal-calendar.calendar-page { height: min(72vh, 760px); }
.portal-calendar .calendar { display: flex; height: 100%; }
.portal-scrim { display: none; }

@media (max-width: 991px) {
  .portal-shell { grid-template-columns: 1fr; }
  .portal-rail {
    position: fixed;
    right: 0;
    top: 0;
    height: 100vh;
    width: min(300px, 88vw);
    z-index: 40;
    transform: translateX(110%);
    transition: transform .2s ease;
    box-shadow: -16px 0 40px rgba(0,0,0,.12);
  }
  .portal-rail.is-open { transform: none; }
  .portal-scrim {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(18,24,31,.35);
    z-index: 30;
  }
  .portal-filter, .portal-profile, .portal-detail-grid, .portal-stats {
    grid-template-columns: 1fr;
  }
  .portal-top-user { display: none !important; }
}

@media (min-width: 992px) {
  .portal-rail-toggle { display: none; }
}

.pay-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.85rem;
  color: var(--tp-muted);
}

.pay-trust i {
  margin-right: 0.35rem;
  color: var(--bs-theme);
}

.pay-breakdown {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pay-breakdown li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0;
}

.pay-breakdown li.total {
  font-weight: 700;
  border-top: 1px solid var(--bs-border-color);
  margin-top: 0.25rem;
  padding-top: 0.7rem;
}

.pay-receipt-mark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--bs-theme) 16%, #fff);
  color: var(--bs-theme);
  font-size: 1.4rem;
}

.portal-head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.pass-card {
  max-width: 420px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--bs-border-color);
  border-radius: 22px;
  overflow: hidden;
}

.pass-card-top {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  padding: 1.1rem 1.2rem;
  background: #12181f;
  color: #fff;
}

.pass-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
}

.pass-card-top h2 {
  font-size: 1.15rem;
  margin: 0.1rem 0;
  overflow-wrap: anywhere;
  color: #fff;
}

.pass-role { font-size: 0.82rem; color: rgba(255,255,255,.82); }

.pass-card-body {
  padding: 1.25rem 1.2rem 1.5rem;
  text-align: center;
}

.pass-qr {
  width: min(240px, 70vw);
  height: auto;
  background: #fff;
  border-radius: 12px;
}

.pass-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 1.35rem;
  letter-spacing: 0.14em;
  font-weight: 700;
  margin: 0.85rem 0 0.2rem;
}

.pass-hint { color: var(--tp-muted); font-size: 0.82rem; margin-bottom: 1rem; }

.gate-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.gate-doors {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 280px;
  overflow: auto;
}

.gate-door {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  text-align: left;
  border: 1px solid #dce3e8;
  background: #fff;
  border-radius: 14px;
  padding: 12px 14px;
  color: #12181f;
}

.gate-door strong { font-size: 0.98rem; }
.gate-door span { color: #5b6770; font-size: 0.82rem; }
.gate-door-life {
  font-size: 0.7rem !important;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0A60D9 !important;
}

.gate-door.is-on {
  border-color: #0A60D9;
  background: #E8F0FC;
  box-shadow: 0 0 0 1px #0A60D9;
}

.gate-video-wrap {
  position: relative;
  background: #12181f;
  border-radius: 16px;
  min-height: 240px;
  overflow: hidden;
}

.gate-video-wrap video {
  width: 100%;
  display: block;
  min-height: 240px;
  object-fit: cover;
}

.gate-video-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  padding: 1rem;
}

.gate-result {
  background: #fff;
  border: 1px solid var(--bs-border-color);
  border-radius: 18px;
  padding: 1.25rem;
}

.gate-result-mark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 0.75rem;
  background: #fde8e8;
  color: #b42318;
}

.gate-result.is-ok .gate-result-mark {
  background: #e7f8ef;
  color: #087443;
}

.gate-result.is-bad .gate-result-mark {
  background: #fde8e8;
  color: #b42318;
}

@media (max-width: 991px) {
  .gate-layout { grid-template-columns: 1fr; }
}

@media print {
  .portal-top, .portal-rail, .portal-head .portal-back { display: none !important; }
  .pass-card { border: 0; }
  .tp-toasts { display: none !important; }
}

.tp-toasts {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 20050;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  width: min(380px, calc(100vw - 1.6rem));
  pointer-events: none;
}

.tp-toast {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  background: #12181f;
  color: #fff;
  box-shadow: 0 18px 40px rgba(12, 18, 24, 0.28);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease;
}

.tp-toast.is-in {
  opacity: 1;
  transform: none;
}

.tp-toast.is-out {
  opacity: 0;
  transform: translateY(8px);
}

.tp-toast i {
  width: 1.35rem;
  margin-top: 0.12rem;
  flex-shrink: 0;
  color: #7ee0d3;
}

.tp-toast.is-error i {
  color: #ffb4b4;
}

.tp-toast.is-ok {
  background: #16352f;
}

.tp-toast.is-error {
  background: #3a1c1c;
}

.tp-toast span {
  flex: 1;
  font-size: 0.92rem;
  line-height: 1.4;
}

.tp-toast-close {
  border: 0;
  background: transparent;
  color: inherit;
  opacity: 0.7;
  font-size: 1.2rem;
  line-height: 1;
  padding: 0;
  margin-top: -2px;
}

.tp-toast-close:hover {
  opacity: 1;
}

.session-timer-mins {
  width: 3.6rem;
  text-align: center;
  padding-left: .35rem;
  padding-right: .35rem;
}

body.timer-kiosk-page,
body.timer-kiosk-page .app {
  background: #0b1014;
  min-height: 100vh;
}

body.timer-kiosk-page .app-header,
body.timer-kiosk-page .app-sidebar,
body.timer-kiosk-page .theme-panel,
body.timer-kiosk-page .btn-scroll-top {
  display: none !important;
}

.timer-kiosk {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 36px 40px 28px;
  color: #e8eef2;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(10, 96, 217, .32), transparent 46%),
    radial-gradient(ellipse at 90% 110%, rgba(11, 58, 140, .18), transparent 38%),
    #0b1014;
}

.timer-kiosk-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(232, 238, 242, .62);
}

.timer-kiosk-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: Syne, Inter, sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-transform: none;
  color: #fff;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
}

.timer-kiosk-brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(10, 96, 217, .35);
}

.timer-kiosk-main {
  text-align: center;
}

.timer-kiosk-session {
  font-family: Syne, sans-serif;
  font-weight: 800;
  font-size: clamp(1.4rem, 4vw, 2.6rem);
  line-height: 1.15;
}

.timer-kiosk-speaker {
  margin-top: 8px;
  font-size: clamp(1rem, 2.2vw, 1.4rem);
  color: #7EB6FF;
}

.timer-kiosk-clock {
  margin: 28px 0 18px;
  font-family: Syne, sans-serif;
  font-weight: 800;
  font-size: clamp(4.4rem, 18vw, 11rem);
  letter-spacing: .06em;
  line-height: .92;
  font-variant-numeric: tabular-nums;
}

.timer-kiosk-bar {
  width: min(720px, 80vw);
  height: 6px;
  margin: 0 auto 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  overflow: hidden;
}

.timer-kiosk-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: #0A60D9;
  transition: width .2s linear;
}

.timer-kiosk-status {
  font-size: 15px;
  color: rgba(232, 238, 242, .7);
}

.timer-kiosk-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.timer-kiosk-btn {
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, .08);
  color: #e8eef2;
  text-decoration: none;
  font-weight: 600;
}

.timer-kiosk-btn:hover {
  background: rgba(255, 255, 255, .16);
  color: #fff;
}

.timer-kiosk.is-warn .timer-kiosk-clock {
  color: #f0c48a;
  animation: timer-blink 1s ease-in-out infinite;
}

.timer-kiosk.is-warn .timer-kiosk-bar span {
  background: #f0c48a;
}

.timer-kiosk.is-over .timer-kiosk-clock {
  color: #f07167;
  animation: none;
}

.timer-kiosk.is-over .timer-kiosk-bar span {
  width: 100% !important;
  background: #f07167;
}

@keyframes timer-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .32; }
}

body.speaker-card-page,
body.speaker-card-page .app {
  background: #0b1014;
  min-height: 100vh;
}
body.speaker-card-page .app-header,
body.speaker-card-page .app-sidebar,
body.speaker-card-page .theme-panel,
body.speaker-card-page .btn-scroll-top {
  display: none !important;
}
.speaker-kiosk {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px 40px 24px;
  color: #e8eef2;
  background:
    radial-gradient(ellipse at 18% 0%, rgba(10, 96, 217, .38), transparent 42%),
    radial-gradient(ellipse at 92% 100%, rgba(11, 58, 140, .16), transparent 40%),
    #0b1014;
}
.speaker-kiosk-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(232, 238, 242, .58);
}
.speaker-kiosk-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: Syne, Inter, sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-transform: none;
  color: #fff;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
}
.speaker-kiosk-brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(10, 96, 217, .35);
}
.speaker-kiosk-card {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  width: min(1080px, 92vw);
  margin: 0 auto;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  border-radius: 28px;
  background: rgba(10, 96, 217, .08);
  border: 1px solid rgba(126, 182, 255, .18);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .28);
}
.speaker-kiosk-photo {
  position: relative;
  width: min(320px, 100%);
  aspect-ratio: 1;
  border-radius: 24px;
  overflow: hidden;
  background: #101816;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08);
}
.speaker-kiosk-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.speaker-kiosk-monogram {
  display: none;
  position: relative;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 36%, rgba(10, 96, 217, .42), transparent 46%),
    linear-gradient(180deg, #0B3A8C 0%, #0b1014 100%);
}
.speaker-kiosk-photo.is-fallback .speaker-kiosk-monogram,
.speaker-kiosk-photo:not(:has(img)) .speaker-kiosk-monogram {
  display: flex;
}
.speaker-kiosk-monogram::after {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  border: 1px solid rgba(126, 182, 255, .32);
}
.speaker-kiosk-monogram span {
  position: relative;
  font-family: Syne, sans-serif;
  font-weight: 800;
  letter-spacing: -0.06em;
  font-size: clamp(3.4rem, 9vw, 5.2rem);
  color: #E8F1FF;
  line-height: 1;
}
.speaker-kiosk-role {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #7EB6FF;
  font-weight: 700;
  margin-bottom: 0.45rem;
}
.speaker-kiosk-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #f07167;
  color: #fff;
  letter-spacing: .08em;
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
}
.speaker-kiosk-live::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255,255,255,.25);
}
.speaker-kiosk-copy h1 {
  font-family: Syne, sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: clamp(2.1rem, 5.4vw, 4.2rem);
  line-height: 1.05;
  margin: 0 0 0.35rem;
  color: #fff;
}
.speaker-kiosk-city {
  color: rgba(232, 238, 242, .62);
  margin-bottom: 0.85rem;
}
.speaker-kiosk-session {
  font-size: clamp(1.15rem, 2.4vw, 1.7rem);
  font-weight: 600;
  color: #e8eef2;
  line-height: 1.3;
}
.speaker-kiosk-when {
  margin-top: 0.45rem;
  color: #7EB6FF;
  font-size: 1.02rem;
}
.speaker-kiosk-bio {
  margin: 1.1rem 0 0;
  max-width: 38rem;
  color: rgba(232, 238, 242, .74);
  font-size: 1.05rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.speaker-kiosk-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.speaker-kiosk-btn {
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, .08);
  color: #e8eef2;
  text-decoration: none;
  font-weight: 600;
}
.speaker-kiosk-btn:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.btn-speaker-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-left: 0.35rem;
  border-radius: 999px;
  border: 1px solid #14786b;
  color: #14786b;
  text-decoration: none !important;
  vertical-align: middle;
}
.btn-speaker-card:hover { background: #E8F0FC; color: #0B3A8C; }
@media (max-width: 820px) {
  .speaker-kiosk { padding: 22px 18px 18px; }
  .speaker-kiosk-card { grid-template-columns: 1fr; text-align: center; }
  .speaker-kiosk-photo { margin: 0 auto; width: min(220px, 70vw); }
  .speaker-kiosk-bio { margin-left: auto; margin-right: auto; }
  .speaker-kiosk-role { justify-content: center; }
}

.congress-card-host .table { --bs-table-bg: transparent; }
.congress-card-table thead { display: none; }
.congress-card-table,
.congress-card-table tbody,
.congress-card-table tr,
.congress-card-table td {
  display: block;
  width: 100%;
  border: 0 !important;
  background: transparent !important;
}
.congress-card-table tbody {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  overflow: visible;
  padding-top: 8px;
}
@media (min-width: 720px) {
  .congress-card-table tbody { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1080px) {
  .congress-card-table tbody { grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
}
.congress-card-table td { padding: 0 !important; }
.congress-card-table tr.is-ended,
.congress-card-table tr.is-ended td,
.congress-card-table .congress-hero.is-ended {
  opacity: 1;
  filter: none;
  color: inherit;
}
.congress-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--bs-border-color);
  border-radius: 16px;
  overflow: hidden;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.congress-hero:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--bs-theme) 28%, var(--bs-border-color));
  box-shadow: 0 12px 28px rgba(18, 24, 31, 0.07);
}
.congress-hero-hit {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}
.congress-hero-cover {
  position: relative;
  height: 78px;
  flex: 0 0 78px;
  background-size: cover;
  background-position: center;
}
.congress-hero-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,24,31,0.04) 0%, rgba(18,24,31,0.2) 100%);
  pointer-events: none;
}
.congress-hero-chip {
  position: absolute;
  top: 7px;
  right: 7px;
  background: rgba(18, 24, 31, 0.72);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.16rem 0.42rem;
  border-radius: 999px;
}
.congress-hero-body {
  position: relative;
  z-index: 2;
  padding: 0.65rem 0.75rem 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  flex: 1 1 auto;
}
.congress-hero-body h3,
.congress-hero-body h2 {
  font-size: 0.88rem;
  font-weight: 750;
  margin: 0;
  line-height: 1.28;
  color: var(--tp-ink, #12181f);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.25em;
}
.congress-hero-meta { color: #5b6770; font-size: 0.72rem; line-height: 1.3; }
.congress-hero-blurb {
  margin: 0.1rem 0 0;
  color: #64748b;
  font-size: 0.75rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 4.2em;
}
.congress-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
  margin-top: auto;
  padding-top: 0.45rem;
}
.congress-hero-actions .btn {
  font-size: 0.72rem;
  padding: 0.18rem 0.42rem;
}
.congress-hero-actions a,
.congress-hero-actions button,
.congress-hero-actions form { position: relative; z-index: 2; }
.congress-hero.is-past .congress-hero-cover {
  filter: saturate(0.78);
}
.congress-hero.is-past .congress-hero-actions {
  opacity: 1;
  filter: none;
}
.congress-detail-hero {
  position: relative;
  min-height: 148px;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.congress-detail-hero.is-fallback,
.congress-detail-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.congress-detail-hero-copy {
  min-height: 148px;
  padding: 1.1rem 1.25rem 1.15rem;
  background: linear-gradient(180deg, rgba(18,24,31,0.08) 0%, rgba(18,24,31,0.72) 100%);
}
.congress-detail-hero .breadcrumb { --bs-breadcrumb-divider-color: rgba(255,255,255,.45); }
.congress-detail-hero .breadcrumb a { color: rgba(255,255,255,.82); }
.congress-detail-hero .breadcrumb-item.active { color: #fff; }
.portal-card.congress-hero { padding: 0; gap: 0; border-radius: 16px; }
.portal-card.congress-hero .congress-hero-body { padding: 0.65rem 0.75rem 0.7rem; }
.portal-card.congress-hero h2 { font-size: 0.88rem; margin: 0; }
.portal-card-actions { position: relative; z-index: 2; }

.event-card {
  position: relative;
  z-index: 0;
  height: 100%;
  border: 0 !important;
  border-radius: 22px !important;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 1px rgba(27, 27, 27, .04), 0 10px 24px rgba(27, 27, 27, .07);
  transition: transform .18s ease, box-shadow .18s ease;
}
.portal-card.event-card:hover,
.congress-hero.event-card:hover,
.event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(27, 27, 27, .14);
  z-index: 3;
}
.event-card .congress-hero-cover {
  height: 172px;
  flex: 0 0 172px;
  margin: 10px 10px 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 18px rgba(27, 27, 27, .12);
}
.event-card .congress-hero-cover::after {
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .14), transparent 28%),
    linear-gradient(180deg, transparent 52%, rgba(18, 24, 31, .28));
}
.event-card .congress-hero-cover.is-stage {
  background-color: #1b2430;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.event-card .congress-hero-chip { z-index: 1; top: 10px; right: 10px; }
.event-card .congress-hero-body {
  padding: 0.85rem 1rem 1rem;
  gap: 0.35rem;
}
.event-when {
  font-size: 0.86rem;
  color: #191919;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.event-card h2,
.event-card h3 {
  font-family: Inter, system-ui, sans-serif !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
  min-height: 2.5em;
  -webkit-line-clamp: 2;
}
.event-host {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #666;
  font-size: 0.8rem;
  min-height: 1.4rem;
}
.event-host > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.event-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #0A60D9;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.event-card .portal-card-actions {
  margin-top: auto;
  padding-top: 0.15rem;
}
.event-card .event-state {
  min-height: 22px;
  display: flex;
  align-items: center;
}
.event-card .event-state span {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: #e7f6ef;
  color: #0f7a4a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
}
.event-card .event-state.is-blue span { background: #e8f1ff; color: #0A60D9; }
.event-card .event-state.is-mute span { background: #f3f4f6; color: #6b7280; }
.event-card .portal-card-actions form { width: 100%; }
.event-card .portal-card-actions.is-stack { flex-direction: column; }
.event-card .portal-card-actions.is-stack form { margin: 0; }
.agenda-rate { display: flex; flex-direction: column; gap: 0.4rem; }
.btn-event {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 1px solid #0A60D9;
  background: #fff;
  color: #0A60D9;
  border-radius: 999px;
  padding: 0.48rem 0.9rem;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none !important;
  cursor: pointer;
}
.btn-event:hover { background: #E8F0FC; color: #072A66; }
.btn-event.is-fill {
  background: #0A60D9;
  color: #fff;
  border-color: #0A60D9;
}
.btn-event.is-fill:hover { background: #072A66; border-color: #072A66; color: #fff; }
.btn-event.is-danger {
  border-color: #e5e7eb;
  color: #b45309;
}
.btn-event.is-danger:hover { background: #fff7ed; color: #9a3412; }
.btn-event i { font-size: 0.78rem; }
.event-card .congress-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.55rem;
  padding-top: 0;
}
.event-admin-row {
  display: flex;
  gap: 0.4rem;
}
.event-admin-row form,
.event-admin-row .btn-event { flex: 1 1 0; }
.event-admin-row form {
  margin: 0;
  display: block !important;
}
.event-admin-row form .btn-event { width: 100%; }

.report-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  background: #fff;
  border: 1px solid var(--bs-border-color);
  border-radius: 18px;
  padding: 0.7rem;
  margin-bottom: 0.9rem;
}
.report-toolbar .form-control,
.report-toolbar .form-select {
  border-radius: 12px;
  min-height: 42px;
}
.report-search { flex: 1 1 240px; min-width: 180px; }
.report-toolbar .form-select { flex: 0 1 210px; }
.report-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.report-stat {
  display: block;
  border-radius: 16px;
  padding: 0.9rem 1rem;
  text-decoration: none;
  color: #fff;
  border: 0;
  box-shadow: 0 10px 24px rgba(18, 24, 31, 0.08);
  transition: transform .15s ease, box-shadow .15s ease;
}
.report-stat:hover { transform: translateY(-2px); color: #fff; }
.report-stat strong { display: block; font-size: 1.45rem; line-height: 1.05; font-weight: 750; }
.report-stat span { display: block; margin-top: 0.2rem; font-size: 0.78rem; font-weight: 650; color: rgba(255,255,255,.86); }
.report-stat.is-on { outline: 2px solid rgba(255,255,255,.9); outline-offset: -5px; }
.report-stat.all { background: linear-gradient(135deg, #16325c 0%, #0A60D9 100%); }
.report-stat.live { background: linear-gradient(135deg, #0c6b5c 0%, #14b8a0 100%); }
.report-stat.soon { background: linear-gradient(135deg, #1d4ed8 0%, #60a5fa 100%); }
.report-stat.ended { background: linear-gradient(135deg, #9a3412 0%, #f59e0b 100%); }
.report-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.report-card {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--bs-border-color);
  border-radius: 20px;
  color: inherit;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.report-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
}
.report-card.is-live::before { background: #14b8a0; }
.report-card.is-soon::before { background: #3b82f6; }
.report-card.is-ended::before { background: #f59e0b; }
.report-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(18, 24, 31, 0.1);
  color: inherit;
}
.report-card-head { padding: 1rem 1.1rem 0.85rem 1.25rem; }
.report-card.is-live .report-card-head { background: linear-gradient(180deg, #e7f8f4 0%, #fff 78%); }
.report-card.is-soon .report-card-head { background: linear-gradient(180deg, #e8f1fc 0%, #fff 78%); }
.report-card.is-ended .report-card-head { background: linear-gradient(180deg, #fff6ea 0%, #fff 78%); }
.report-card h2 { font-size: 1.08rem; font-weight: 750; margin: 0; line-height: 1.3; }
.report-company {
  font-size: 0.74rem;
  font-weight: 750;
  color: #0A60D9;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.report-phase {
  flex: 0 0 auto;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: .02em;
  border-radius: 999px;
  padding: 0.22rem 0.55rem;
}
.report-card.is-live .report-phase { background: #ccfbf1; color: #0f766e; }
.report-card.is-soon .report-phase { background: #dbeafe; color: #1d4ed8; }
.report-card.is-ended .report-phase { background: #ffedd5; color: #c2410c; }
.report-meta {
  margin-top: 0.35rem;
  color: #5b6770;
  font-size: 0.78rem;
  line-height: 1.35;
}
.report-card-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
  padding: 0 1rem 0 1.15rem;
}
.report-card-kpis div {
  border-radius: 12px;
  padding: 0.55rem 0.3rem;
  text-align: center;
}
.report-card-kpis strong { display: block; font-size: 1.08rem; }
.report-card-kpis span { display: block; font-size: 0.66rem; font-weight: 700; opacity: .78; }
.report-card-kpis .kpi-apply { background: #d7e6ff; color: #1e3a8a; }
.report-card-kpis .kpi-ok { background: #c7f3e6; color: #065f46; }
.report-card-kpis .kpi-qr { background: #ffe1bf; color: #9a3412; }
.report-card-kpis .kpi-day { background: #e6d4ff; color: #6b21a8; }
.report-meter-wrap { padding: 0.75rem 1.1rem 1rem 1.25rem; }
.report-meter-label {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #5b6770;
  margin-bottom: 0.35rem;
}
.report-meter-label strong { color: #12181f; }
.report-meter {
  height: 7px;
  border-radius: 99px;
  background: #eef2f5;
  overflow: hidden;
}
.report-meter i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #0A60D9, #14b8a0);
}
.report-card.is-ended .report-meter i { background: linear-gradient(90deg, #f59e0b, #ea580c); }
@media (max-width: 767.98px) {
  .report-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
[data-bs-theme="dark"] .report-toolbar,
[data-bs-theme="dark"] .report-card { background: var(--bs-body-bg); }
[data-bs-theme="dark"] .report-card.is-live .report-card-head,
[data-bs-theme="dark"] .report-card.is-soon .report-card-head,
[data-bs-theme="dark"] .report-card.is-ended .report-card-head {
  background: linear-gradient(180deg, rgba(255,255,255,.06) 0%, var(--bs-body-bg) 78%);
}
[data-bs-theme="dark"] .report-meta,
[data-bs-theme="dark"] .report-meter-label { color: rgba(255,255,255,.62); }
[data-bs-theme="dark"] .report-meter-label strong { color: #fff; }
.report-donut {
  width: 168px;
  height: 168px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  -webkit-mask: radial-gradient(circle 52px at center, transparent 51px, #000 52px);
  mask: radial-gradient(circle 52px at center, transparent 51px, #000 52px);
}
.report-legend { list-style: none; padding: 0; margin: 0; }
.report-legend li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.45rem;
  font-size: 0.92rem;
}
.report-legend i {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  display: inline-block;
}
.report-legend strong { margin-left: auto; }
.report-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.65rem;
  min-height: 220px;
  overflow-x: auto;
  padding-top: 8px;
}
.report-bar {
  flex: 1 0 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  max-width: 72px;
}
.report-bar-track {
  width: 100%;
  height: 160px;
  background: #F3F5F7;
  border-radius: 12px 12px 6px 6px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.report-bar-fill {
  width: 100%;
  background: linear-gradient(180deg, #176BE0 0%, #14786b 100%);
  border-radius: 12px 12px 6px 6px;
  min-height: 8px;
}
.report-bar strong { font-size: 0.95rem; }
.report-bar span { font-size: 0.78rem; color: #12181f; font-weight: 650; }
.report-bar em { font-size: 0.7rem; color: #8a969e; font-style: normal; text-transform: capitalize; }
.report-matrix th, .report-matrix td { white-space: nowrap; }
.report-mark {
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #c5cdd3;
  font-size: 0.78rem;
}
.report-mark.is-on {
  background: #E8F6F3;
  color: #14786B;
}

body:has(#co-chat) .btn-scroll-top { display: none !important; }
.co-chat {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1080;
  font-family: Inter, system-ui, sans-serif;
}
.co-chat-launch {
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(180deg, #176BE0 0%, #14786b 100%);
  box-shadow: 0 12px 28px rgba(20, 120, 107, 0.38);
  font-size: 1.25rem;
  cursor: pointer;
}
.co-chat.is-open .co-chat-launch { display: none; }
.co-chat-panel {
  width: min(392px, calc(100vw - 24px));
  height: min(620px, calc(100vh - 36px));
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(11, 16, 20, 0.28);
  color: #12181f;
}
.co-chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 16px 14px;
  background: #0b1014;
  color: #fff;
}
.co-chat-head img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  background: transparent;
}
.co-chat-head strong {
  display: block;
  font-size: 0.98rem;
  letter-spacing: -0.03em;
}
.co-chat-head span {
  display: block;
  font-size: 0.75rem;
  color: #9ad9d0;
}
.co-chat-x {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  width: 36px;
  height: 36px;
}
.co-chat-tabs {
  display: flex;
  border-bottom: 1px solid #e6eef0;
  background: #fff;
}
.co-chat-tabs button {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 12px 8px 10px;
  font-weight: 700;
  color: #6b7780;
  border-bottom: 2px solid transparent;
}
.co-chat-tabs button.is-on {
  color: #14786b;
  border-bottom-color: #0A60D9;
}
.co-chat-body {
  flex: 1;
  overflow: auto;
  padding: 16px;
  background: #f4f7f8;
}
.co-chat-bubble {
  max-width: 92%;
  background: #fff;
  border-radius: 4px 16px 16px 16px;
  padding: 12px 14px;
  margin-bottom: 10px;
  box-shadow: 0 1px 0 rgba(18, 24, 31, 0.04);
  font-size: 0.9rem;
  line-height: 1.45;
}
.co-chat-bubble.is-ok {
  background: #E8F0FC;
  color: #14786b;
  font-weight: 600;
}
.co-chat-bubble.is-error {
  background: #fdecee;
  color: #be3a4a;
  font-weight: 600;
}
.co-chat-ask {
  margin: 16px 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #5b6770;
}
.co-chat-cards { display: grid; gap: 8px; }
.co-chat-card {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  text-decoration: none !important;
  color: inherit;
  background: #fff;
  border: 1px solid #dce3e8;
  border-radius: 14px;
  padding: 12px 14px;
  cursor: pointer;
}
.co-chat-card i {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #E8F0FC;
  color: #14786b;
}
.co-chat-card--wa i {
  background: #e7f8ef;
  color: #128C7E;
}
.co-chat-back {
  margin-top: 8px;
  width: 100%;
  border: 1px solid #dce3e8;
  border-radius: 999px;
  background: #fff;
  padding: 10px 16px;
  font-weight: 700;
  color: #12181f;
}
.co-chat-card strong, .co-chat-card em { display: block; }
.co-chat-card em {
  font-style: normal;
  font-size: 0.75rem;
  color: #8a969e;
}
.co-chat-form {
  margin-top: 14px;
  display: grid;
  gap: 8px;
  background: #fff;
  border-radius: 16px;
  padding: 12px;
  border: 1px solid #dce3e8;
}
.co-chat-form label {
  display: grid;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #5b6770;
}
.co-chat-form input,
.co-chat-form textarea {
  border: 1px solid #dce3e8;
  border-radius: 10px;
  padding: 8px 10px;
  font-weight: 500;
  color: #12181f;
}
.co-chat-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
}
.co-chat-note {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.35;
}
.co-chat-note.is-ok { color: #14786b; }
.co-chat-note.is-error { color: #be3a4a; }
.co-chat-send {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  color: #fff;
  background: #14786b;
}
.co-chat-send:disabled {
  opacity: 0.7;
}
.co-chat-faq {
  background: #fff;
  border-radius: 14px;
  padding: 10px 12px;
  margin-bottom: 8px;
  border: 1px solid #dce3e8;
}
.co-chat-faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9rem;
}
.co-chat-faq p {
  margin: 8px 0 4px;
  color: #5b6770;
  font-size: 0.86rem;
}
@media (max-width: 520px) {
  .co-chat { right: 12px; bottom: 12px; }
  .co-chat-panel { height: min(680px, calc(100vh - 24px)); }
}

.plan-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
  max-width: 180px;
  padding: 5px 11px;
  border-radius: 999px;
  background: #fff4e5;
  color: #9a5b10;
  text-decoration: none !important;
  line-height: 1.15;
  flex-shrink: 0;
}
.app-header .menu .plan-chip {
  margin: 0 4px;
}
.plan-chip strong {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.plan-chip span {
  font-size: 0.74rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.plan-chip:hover { background: #ffe8c7; color: #7a4308; }
@media (max-width: 991.98px) {
  .app-header .plan-chip { display: none; }
}

.plan-pick {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.plan-pick-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 14px 14px 16px;
  border: 1px solid #dce3e8;
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
}
.plan-pick-card input { accent-color: #14786b; }
.plan-pick-card strong { font-size: 1.05rem; }
.plan-pick-card span { color: #14786b; font-weight: 700; font-size: 0.9rem; }
.plan-pick-card em { font-style: normal; color: #64748b; font-size: 0.82rem; }
.plan-pick-card:has(input:checked) {
  border-color: #14786b;
  box-shadow: 0 0 0 3px rgba(20, 120, 107, .12);
}

.plan-shop {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.plan-shop-card {
  padding: 22px 20px 20px;
  border: 1px solid #dce3e8;
  border-radius: 20px;
  background: #fff;
}
.plan-shop-card.is-on {
  border-color: #14786b;
  box-shadow: 0 10px 28px rgba(20, 120, 107, .12);
}
.plan-shop-name {
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0B3A8C;
}
.plan-shop-price {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 8px 0 10px;
}
.plan-shop-price span { font-size: 0.9rem; font-weight: 600; color: #64748b; }
@media (max-width: 991.98px) {
  .plan-pick, .plan-shop { grid-template-columns: 1fr; }
}

.pass-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.print-pass { padding: 24px; }
.print-pass-toolbar { display: flex; gap: 12px; margin-bottom: 16px; }
.print-pass-sheet {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 36px;
  background: #fff;
  border: 1px solid #dce3e8;
  border-radius: 20px;
  text-align: center;
}
.print-pass.is-badge .print-pass-sheet { max-width: 420px; }
.print-kicker { letter-spacing: .12em; text-transform: uppercase; color: #14786b; font-weight: 700; }
.print-pass-sheet h1 { font-size: 1.8rem; margin: 8px 0; }
.print-pass-sheet h2 { font-size: 2rem; margin: 16px 0 4px; }
.print-lead, .print-role, .print-cong { color: #5b6770; }
.print-pass-sheet dl { text-align: left; max-width: 360px; margin: 24px auto; }
.print-badge-top { display: flex; justify-content: space-between; font-weight: 700; color: #14786b; }
.print-code { font-size: 1.4rem; font-weight: 800; letter-spacing: .08em; margin-top: 12px; }
.print-foot { margin-top: 32px; color: #8a969e; font-size: .85rem; }
.print-badge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.print-badge-qr { margin: 12px auto; max-width: 180px; }
.print-badge-qr svg { width: 100%; height: auto; }
@media print {
  .no-print, .portal-app header, .portal-rail, .co-chat { display: none !important; }
  .print-pass { padding: 0; }
  .print-pass-sheet { border: 0; page-break-after: always; break-after: page; }
  .print-badge-grid { display: block; }
}

/* Language picker (Neo Loyalty–style flags) */
.nr-lang {
  position: relative;
  width: 190px;
  max-width: min(190px, 42vw);
  flex: 0 0 auto;
  z-index: 50;
}
.nr-lang__button,
.nr-lang__option {
  display: flex;
  align-items: center;
  gap: .65rem;
  width: 100%;
  border: 1px solid rgba(10, 96, 217, .18);
  background: #fff;
  color: #0f172a;
  border-radius: 14px;
  padding: .58rem .75rem;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
}
.nr-lang__button:hover,
.nr-lang__option:hover {
  background: #f0f6ff;
  color: #0f172a;
}
.nr-lang__button strong {
  display: block;
  font-size: .86rem;
  line-height: 1.05;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nr-lang__button small {
  display: block;
  color: #64748b;
  font-size: .7rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nr-lang__label { min-width: 0; }
.nr-lang__button .fa { margin-left: auto; color: #0A60D9; font-size: .75rem; }
.nr-lang__menu {
  position: absolute;
  z-index: 60;
  top: calc(100% + .4rem);
  left: 0;
  right: 0;
  display: grid;
  gap: .3rem;
  padding: .45rem;
  border: 1px solid rgba(10, 96, 217, .14);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .14);
}
.nr-lang__option {
  border-radius: 12px;
  font-size: .84rem;
  padding: .5rem .6rem;
}
.nr-lang__option.active {
  background: #0A60D9;
  color: #fff;
  border-color: #0A60D9;
}
.nr-lang__option.active .fa { color: #fff; }
.nr-lang__flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 19px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 5px;
  border: 1px solid rgba(0, 0, 0, .16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}
.nr-lang__flag svg { display: block; width: 100%; height: 100%; }
.menu-item-lang { display: flex; align-items: center; padding: 0 .35rem; }
.portal-lang { display: flex; align-items: center; }
.tp-nav .nr-lang { width: 170px; }
.tp-nav .nr-lang__button {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.22);
  color: #fff;
}
.tp-nav .nr-lang__button small { color: rgba(255,255,255,.7); }
.tp-nav .nr-lang__button .fa { color: #fff; }
.tp-nav .nr-lang__menu { background: #0b1f3a; border-color: rgba(255,255,255,.12); }
.tp-nav .nr-lang__option { background: transparent; color: #fff; border-color: transparent; }
.tp-nav .nr-lang__option:hover { background: rgba(255,255,255,.08); color: #fff; }
.tp-nav .nr-lang__option.active { background: #0A60D9; }
@media (max-width: 576px) {
  .nr-lang { width: auto; max-width: none; }
  .nr-lang__button { width: auto; min-width: 0; padding: .5rem .58rem; }
  .nr-lang__button small { display: none; }
  .nr-lang__button strong { max-width: 5.5rem; }
  .nr-lang__menu { left: auto; right: 0; width: 190px; }
}
.legal-sheet { padding: 1.6rem 1.4rem 1.3rem; }
.legal-sheet h1 { font-size: 1.7rem; margin: 0 0 0.4rem; }
.legal-sheet h2 { font-size: 1rem; margin: 1.25rem 0 0.4rem; }
.legal-sheet p, .legal-sheet li { color: #3d4b5c; line-height: 1.55; }
.legal-kicker { color: #0A60D9; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; font-size: 0.72rem; margin-bottom: 0.35rem; }
.legal-foot { margin: 1.4rem 0 0; padding-top: 0.9rem; border-top: 1px solid var(--bs-border-color); font-size: 0.85rem; }
.kvkk-wrap { min-height: 100vh; display: grid; place-items: center; padding: 1.5rem; background: linear-gradient(160deg, #e8f1fc 0%, #f7f4ef 55%, #e7f8f4 100%); }
.kvkk-card { width: min(560px, 100%); background: #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 24px 60px rgba(18, 35, 63, .12); }
.kvkk-banner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.25rem; background: linear-gradient(135deg, #16325c, #0A60D9); color: #fff; }
.kvkk-banner span { font-size: 0.8rem; font-weight: 700; opacity: .85; }
.kvkk-banner .tp-brand-title, .kvkk-banner .tp-brand-sub { color: #fff; }
.kvkk-body { padding: 1.35rem 1.35rem 1.2rem; }
.kvkk-body h1 { font-size: 1.45rem; margin: 0 0 0.55rem; }
.kvkk-body p { color: #3d4b5c; }
.kvkk-body ul { padding-left: 1.1rem; color: #3d4b5c; }
.kvkk-body li { margin: 0.25rem 0; }
.kvkk-check { display: flex; gap: 0.7rem; align-items: flex-start; margin: 1rem 0 1rem; font-weight: 650; }
.kvkk-check input { margin-top: 0.25rem; width: 1.05rem; height: 1.05rem; }
.kvkk-links { text-align: center; margin: 0.9rem 0 0; font-size: 0.85rem; }
