:root {
  --admin-bg: #f3f6fb;
  --admin-surface: #ffffff;
  --admin-border: #dbe3f0;
  --admin-text: #0f172a;
  --admin-muted: #64748b;
  --admin-primary: #0b5ed7;
  --admin-sidebar-start: #0f172a;
  --admin-sidebar-end: #1e293b;
}

body { font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; }

.tm-user-body { background: #ececec; }
.tm-top-strip { background: #0f1115; color: #fff; font-size: 14px; }
.tm-top-inner { min-height: 44px; display: flex; align-items: center; justify-content: space-between; }
.tm-country { font-weight: 700; }
.tm-top-links { display: flex; gap: 18px; }
.tm-top-links a { color: #fff; text-decoration: none; opacity: .95; }

.tm-main-nav,
.tm-user-hero { background: #0057d9; color: #fff; }
.tm-main-nav-inner { min-height: 82px; display: flex; align-items: center; gap: 22px; }
.tm-brand { color: #fff; text-decoration: none; line-height: 1; display: inline-flex; align-items: center; }
.tm-brand-mark {
  width: auto;
  height: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 900;
  font-style: italic;
  letter-spacing: .01em;
  text-transform: lowercase;
  transform: skewX(-10deg);
}
.tm-main-links { display: flex; gap: 20px; flex-wrap: wrap; }
.tm-main-links a { color: #fff; text-decoration: none; font-weight: 600; font-size: 1.05rem; }
.tm-account-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.tm-account-link { color: #fff; text-decoration: none; font-weight: 700; }
.tm-logout-btn { border: 1px solid #fff; background: transparent; color: #fff; border-radius: 6px; padding: 5px 12px; font-weight: 600; }
.tm-navbar-menu-btn { display: none; }

.tm-footer {
  background: #0f1115;
  color: #fff;
  margin-top: 44px;
}
.tm-footer-inner {
  min-height: 116px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.tm-footer-brand {
  color: #fff;
  text-decoration: none;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}
.tm-footer-logo {
  color: #fff;
  font-size: 2.65rem;
}
.tm-footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 26px;
  flex-wrap: wrap;
}
.tm-footer-links a {
  color: rgba(255,255,255,.88);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 700;
}
.tm-footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.tm-static-page {
  padding: 18px 0 46px;
}
.tm-static-head {
  background: #fff;
  border: 1px solid #d6dbe4;
  border-radius: 6px;
  padding: 28px;
  margin-bottom: 16px;
}
.tm-static-head span {
  color: #0057d9;
  display: block;
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.tm-static-head h1 {
  color: #111827;
  font-size: 2.15rem;
  font-weight: 900;
  margin: 0 0 8px;
}
.tm-static-head p {
  color: #4b5563;
  max-width: 720px;
  margin: 0;
}
.tm-static-card {
  background: #fff;
  border: 1px solid #d6dbe4;
  border-radius: 6px;
  padding: 28px;
}
.tm-static-card h2 {
  color: #111827;
  font-size: 1.12rem;
  font-weight: 900;
  margin: 0 0 8px;
}
.tm-static-card p {
  color: #4b5563;
  line-height: 1.62;
  margin: 0 0 22px;
}
.tm-static-card p:last-child {
  margin-bottom: 0;
}

.tm-user-hero { padding: 20px 0 24px; }
.tm-breadcrumb { font-size: 14px; opacity: .95; margin-bottom: 10px; }
.tm-user-hero h1 { font-size: 2.8rem; margin: 0 0 14px; font-weight: 800; }
.tm-user-tabs { display: flex; gap: 22px; border-bottom: 1px solid rgba(255,255,255,.38); }
.tm-user-tabs a { color: #e4ecff; text-decoration: none; padding: 0 0 12px; font-weight: 700; border-bottom: 2px solid transparent; }
.tm-user-tabs a.active { color: #fff; border-bottom-color: #fff; }

.tm-account-main {
  display: grid;
  grid-template-columns: 318px minmax(0, 1fr);
  gap: 0;
  margin-top: -170px;
  position: relative;
  z-index: 3;
}
.tm-sidebar-mobile-head,
.tm-account-backdrop { display: none; }
.tm-account-sidebar {
  background: #f3f4f6;
  border: 1px solid #cfd4dc;
  border-right: 0;
  min-height: 72vh;
  box-shadow: 0 2px 0 rgba(15, 23, 42, .03);
}
.tm-profile-card {
  background: #2864cf;
  color: #fff;
  min-height: 168px;
  padding: 34px 28px 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
}
.tm-profile-card:hover { color: #fff; background: #245fc6; }
.tm-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.78);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-style: italic;
  font-weight: 900;
  line-height: 1;
  text-transform: lowercase;
}
.tm-profile-copy { margin-top: 14px; }
.tm-welcome { font-size: 1.65rem; font-weight: 500; line-height: 1.1; }
.tm-user-name { margin-top: 4px; font-size: 2rem; font-weight: 800; line-height: 1.1; overflow-wrap: anywhere; }
.tm-side-group { padding: 20px 0 18px; border-bottom: 1px solid #d4d7de; }
.tm-side-title {
  color: #111827;
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 8px;
  padding: 0 28px;
}
.tm-side-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  color: #1f2937;
  text-decoration: none;
  font-size: 1.08rem;
  font-weight: 500;
  padding: 6px 28px;
  position: relative;
  width: 100%;
}
.tm-side-link::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid #8b95a5;
  border-right: 2px solid #8b95a5;
  transform: rotate(45deg);
  opacity: .85;
}
.tm-side-link:hover { color: #0057d9; background: #eef3ff; }
.tm-side-link.active {
  color: #0057d9;
  font-weight: 800;
  background: #fff;
}
.tm-side-link.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #0057d9;
}
.tm-side-link.active::after { border-color: #0057d9; }
.tm-side-button {
  border: 0;
  background: transparent;
  text-align: left;
}

.tm-account-content {
  background: #ececec;
  border: 1px solid #dadde3;
  padding: 32px 34px;
  min-height: 72vh;
}
.tm-account-content .table {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}
.tm-account-content .table th,
.tm-account-content .table td {
  vertical-align: middle;
}
.tm-empty-state { text-align: center; margin-top: 16px; }
.tm-empty-icon {
  width: 62px;
  height: 62px;
  border: 2px solid #bfc4cc;
  color: #7b8492;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-style: italic;
  font-weight: 800;
}
.tm-empty-state h2 { font-size: 2.5rem; margin-bottom: 8px; color: #0f172a; }
.tm-empty-state p { max-width: 500px; margin: 0 auto 22px; font-size: 1.03rem; line-height: 1.5; color: #334155; }
.tm-cta-btn {
  background: #0057d9;
  color: #fff;
  text-decoration: none;
  display: inline-block;
  min-width: 320px;
  border-radius: 6px;
  padding: 10px 18px;
  font-size: 1.05rem;
  font-weight: 700;
}

.tm-browse-events {
  padding: 10px 0 44px;
}
.tm-browse-head {
  background: #fff;
  border: 1px solid #d6dbe4;
  border-radius: 6px;
  padding: 24px;
  margin-bottom: 18px;
}
.tm-browse-head span {
  color: #0057d9;
  font-weight: 800;
  text-transform: uppercase;
  font-size: .78rem;
}
.tm-browse-head h2 {
  font-size: 2rem;
  font-weight: 900;
  margin: 4px 0 6px;
}
.tm-browse-head p {
  color: #4b5563;
  margin: 0;
}
.tm-browse-empty {
  min-height: 280px;
  background: #fff;
  border: 1px solid #d6dbe4;
  border-radius: 6px;
  padding: 34px;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}
.tm-browse-empty-mark {
  min-height: 82px;
  color: #0057d9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tm-browse-empty-mark .tm-brand-mark {
  color: #0057d9;
  font-size: 4.5rem;
}
.tm-browse-empty span {
  color: #0057d9;
  display: block;
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.tm-browse-empty h2 {
  color: #111827;
  font-size: 1.8rem;
  font-weight: 900;
  margin: 0 0 8px;
}
.tm-browse-empty p {
  color: #4b5563;
  max-width: 680px;
  margin: 0 0 16px;
  line-height: 1.55;
}
.tm-browse-empty-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tm-browse-empty-meta b {
  border: 1px solid #d6dbe4;
  border-radius: 999px;
  color: #374151;
  font-size: .82rem;
  padding: 6px 10px;
}
.tm-browse-grid {
  display: grid;
  gap: 12px;
}
.tm-browse-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 180px;
  gap: 16px;
  background: #fff;
  border: 1px solid #d6dbe4;
  border-radius: 6px;
  padding: 16px;
  align-items: center;
}
.tm-browse-date {
  text-align: center;
  border-right: 1px solid #d6dbe4;
  padding-right: 14px;
}
.tm-browse-date span {
  display: block;
  color: #0057d9;
  font-weight: 900;
  font-size: .82rem;
}
.tm-browse-date strong {
  display: block;
  color: #111827;
  font-size: 1.85rem;
  line-height: 1;
}
.tm-browse-copy h3 {
  font-size: 1.15rem;
  font-weight: 900;
  margin: 0 0 5px;
}
.tm-browse-copy p {
  color: #374151;
  margin: 0 0 8px;
}
.tm-browse-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: #6b7280;
  font-size: .9rem;
}
.tm-browse-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.tm-browse-action strong {
  color: #111827;
  font-size: 1.15rem;
}
.tm-browse-action a {
  background: #0057d9;
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  border-radius: 4px;
  padding: 10px 16px;
}

.tm-ticket-list-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.tm-ticket-list-head h2 {
  color: #111827;
  font-size: 2rem;
  font-weight: 800;
  margin: 0;
}
.tm-ticket-list-head span {
  color: #5b6472;
  font-weight: 700;
}
.tm-ticket-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tm-ticket-card {
  background: #fff;
  border: 1px solid #d6dbe4;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 160px;
  min-height: 142px;
}
.tm-ticket-date {
  border-right: 1px solid #d6dbe4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f8f9fb;
}
.tm-ticket-date span {
  color: #0057d9;
  font-size: .88rem;
  font-weight: 900;
}
.tm-ticket-date strong {
  color: #111827;
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1;
}
.tm-ticket-info {
  padding: 20px 22px;
  min-width: 0;
}
.tm-ticket-status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 9px;
  border-radius: 4px;
  font-size: .78rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.tm-ticket-status.paid {
  background: #dff7ea;
  color: #047857;
}
.tm-ticket-status.pending {
  background: #fff3cd;
  color: #8a5b00;
}
.tm-ticket-info h3 {
  color: #111827;
  font-size: 1.22rem;
  font-weight: 900;
  line-height: 1.25;
  margin: 0 0 6px;
}
.tm-ticket-info p {
  color: #4b5563;
  margin: 0 0 12px;
  font-weight: 600;
}
.tm-ticket-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tm-ticket-meta span {
  background: #f1f4f8;
  color: #253041;
  border: 1px solid #dde3ec;
  border-radius: 4px;
  padding: 5px 8px;
  font-size: .86rem;
  font-weight: 700;
}
.tm-ticket-actions {
  border-left: 1px solid #d6dbe4;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
}
.tm-ticket-actions strong {
  color: #111827;
  font-size: 1.2rem;
  text-align: center;
}
.tm-ticket-actions a {
  background: #0057d9;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  padding: 9px 10px;
  font-weight: 800;
  text-align: center;
}
.tm-ticket-actions a:hover {
  background: #0048b5;
}

.tm-confirm-page {
  max-width: 840px;
  margin: 0 auto;
}
.tm-confirm-hero {
  background: #fff;
  border: 1px solid #d6dbe4;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 26px;
  margin-bottom: 16px;
}
.tm-confirm-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #dff7ea;
  color: #047857;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 900;
  flex: 0 0 auto;
}
.tm-confirm-kicker {
  color: #0057d9;
  font-size: .82rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.tm-confirm-hero h2 {
  color: #111827;
  font-size: 2rem;
  font-weight: 900;
  margin: 0 0 6px;
}
.tm-confirm-hero p {
  color: #4b5563;
  font-weight: 600;
  margin: 0;
}
.tm-confirm-card {
  background: #fff;
  border: 1px solid #d6dbe4;
  margin-bottom: 16px;
}
.tm-confirm-card-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  border-bottom: 1px solid #d6dbe4;
}
.tm-confirm-card-head h3 {
  color: #111827;
  font-size: 1.35rem;
  font-weight: 900;
  margin: 0 0 6px;
}
.tm-confirm-card-head p {
  color: #4b5563;
  font-weight: 700;
  margin: 0;
}
.tm-confirm-status {
  align-self: flex-start;
  border-radius: 4px;
  padding: 5px 10px;
  font-size: .8rem;
  font-weight: 900;
}
.tm-confirm-status.paid {
  background: #dff7ea;
  color: #047857;
}
.tm-confirm-status.pending {
  background: #fff3cd;
  color: #8a5b00;
}
.tm-confirm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid #d6dbe4;
}
.tm-confirm-grid div {
  padding: 18px 24px;
  border-right: 1px solid #d6dbe4;
}
.tm-confirm-grid div:last-child {
  border-right: 0;
}
.tm-confirm-grid span,
.tm-confirm-seat-block span {
  display: block;
  color: #667085;
  font-size: .82rem;
  font-weight: 800;
  margin-bottom: 5px;
}
.tm-confirm-grid strong,
.tm-confirm-seat-block strong {
  color: #111827;
  font-size: 1.02rem;
  font-weight: 900;
}
.tm-confirm-seat-block {
  padding: 20px 24px;
}
.tm-confirm-next {
  background: #fff;
  border: 1px solid #d6dbe4;
  padding: 22px 24px;
}
.tm-confirm-next h4 {
  font-size: 1.15rem;
  font-weight: 900;
  margin: 0 0 14px;
}
.tm-confirm-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.tm-confirm-steps div {
  border: 1px solid #d6dbe4;
  background: #f7f9fc;
  padding: 13px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.tm-confirm-steps span {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #d1d5db;
  color: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}
.tm-confirm-steps strong {
  color: #111827;
  font-size: .9rem;
}
.tm-confirm-steps div.active span {
  background: #0057d9;
  color: #fff;
}
.tm-confirm-actions {
  margin-top: 18px;
}
.tm-confirm-actions a {
  background: #0057d9;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 220px;
  padding: 10px 18px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 900;
}

.admin-body { background: radial-gradient(circle at top right, #e8efff, #f5f8ff 30%, #f3f6fb 70%); }
.admin-shell { display: flex; min-height: 100vh; }

.admin-sidebar {
  width: 260px;
  background: linear-gradient(180deg, var(--admin-sidebar-start), var(--admin-sidebar-end));
  padding: 28px 18px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: 0;
  height: 100vh;
}

.admin-brand { font-size: 1.25rem; font-weight: 700; letter-spacing: .3px; }
.admin-sub { font-size: .82rem; color: #c7d2fe; }
.admin-nav { display: flex; flex-direction: column; gap: 8px; }

.admin-link {
  color: #e2e8f0;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 10px;
  transition: all .2s ease;
}

.admin-link:hover { background: rgba(255,255,255,.08); color: #fff; }
.admin-link.active { background: rgba(255,255,255,.16); color: #fff; font-weight: 600; }

.admin-main { flex: 1; padding: 24px 28px; }
.admin-topbar {
  background: rgba(255,255,255,.75);
  border: 1px solid var(--admin-border);
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(6px);
}

.admin-title { margin: 0; font-size: 1.35rem; color: var(--admin-text); }
.admin-user { color: var(--admin-muted); font-size: .9rem; }

.panel-card {
  background: var(--admin-surface);
  border: 1px solid var(--admin-border);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .05);
}

.stat-card {
  background: var(--admin-surface);
  border: 1px solid var(--admin-border);
  border-radius: 14px;
  padding: 16px;
}

.stat-label { color: var(--admin-muted); font-size: .82rem; margin-bottom: 5px; }
.stat-value { color: var(--admin-text); font-size: 1.45rem; font-weight: 700; }

.table-modern th {
  border-bottom: 1px solid var(--admin-border);
  color: var(--admin-muted);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.table-modern td { vertical-align: middle; border-bottom: 1px solid #edf2fa; }
.badge-soft { background: #e8f0ff; color: #1d4ed8; }

.admin-seat-map-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 14px;
}
.admin-seat-map-toolbar {
  min-height: 46px;
  border: 1px solid var(--admin-border);
  border-bottom: 0;
  background: #f8fafc;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.admin-seat-map-toolbar strong { color: var(--admin-text); }
.admin-seat-map-toolbar span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--admin-muted);
  font-size: .85rem;
  font-weight: 700;
}
.admin-seat-map-toolbar b {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}
.admin-seat-map-toolbar b.booked { background: #9ca3af; }
.admin-seat-map-toolbar b.available { background: #0057d9; }
.admin-listing-map-preview {
  min-height: 430px;
  border: 1px solid var(--admin-border);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  padding: 14px;
}
.admin-listing-map-preview svg {
  max-width: 100%;
  height: auto;
}
.admin-listing-map-preview [data-admin-seat-id] {
  cursor: pointer;
  transition: opacity .15s ease, filter .15s ease;
}
.admin-listing-map-preview [data-admin-seat-state="booked"] {
  fill: #9ca3af !important;
  stroke: #6b7280 !important;
  opacity: .65;
}
.admin-listing-map-preview [data-admin-seat-state="available"] {
  fill: #0057d9 !important;
  stroke: #003c99 !important;
  opacity: 1;
  filter: drop-shadow(0 0 5px rgba(0, 87, 217, .35));
}
.admin-seat-picker-list {
  max-height: 478px;
  overflow: auto;
  border: 1px solid var(--admin-border);
  background: #fff;
}
.admin-seat-picker-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 9px 10px;
  border-bottom: 1px solid #edf2fa;
  font-size: .9rem;
  cursor: pointer;
}
.admin-seat-picker-row:hover { background: #f8fafc; }

@media (max-width: 991px) {
  .tm-top-inner,
  .tm-main-nav-inner { padding-top: 10px; padding-bottom: 10px; }
  .tm-top-links,
  .tm-main-links { gap: 12px; }
  .tm-main-nav-inner { min-height: 62px; gap: 14px; }
  .tm-main-links { display: none; }
  .tm-brand-mark { font-size: 1.85rem; }
  .tm-footer-inner {
    min-height: 130px;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    text-align: center;
  }
  .tm-footer-links {
    justify-content: center;
    gap: 12px 18px;
  }
  .tm-footer-logo { font-size: 2.35rem; }
  .tm-static-head,
  .tm-static-card {
    padding: 20px;
  }
  .tm-static-head h1 {
    font-size: 1.65rem;
  }
  .tm-user-hero h1 { font-size: 2rem; }
  .tm-user-tabs { gap: 14px; overflow-x: auto; white-space: nowrap; }
  .tm-account-actions { margin-left: auto; }
  .tm-desktop-account-action { display: none !important; }
  .tm-navbar-menu-btn {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,.52);
    border-radius: 4px;
    background: rgba(0,0,0,.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
  }
  .tm-navbar-menu-btn span {
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 999px;
    display: block;
  }
  .tm-account-main {
    grid-template-columns: 1fr;
    margin-top: 12px;
    position: static;
    z-index: auto;
  }
  .tm-account-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(86vw, 340px);
    min-height: 100vh;
    border-right: 1px solid #cfd4dc;
    z-index: 1051;
    overflow-y: auto;
    transform: translateX(-104%);
    transition: transform .28s ease;
    box-shadow: 18px 0 42px rgba(15, 23, 42, .18);
  }
  .tm-account-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .46);
    opacity: 0;
    visibility: hidden;
    z-index: 1050;
    transition: opacity .24s ease, visibility .24s ease;
  }
  .tm-account-menu-open { overflow: hidden; }
  .tm-account-menu-open .tm-account-sidebar { transform: translateX(0); }
  .tm-account-menu-open .tm-account-backdrop {
    opacity: 1;
    visibility: visible;
  }
  .tm-sidebar-mobile-head {
    display: flex;
    min-height: 54px;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    background: #fff;
    border-bottom: 1px solid #d4d7de;
  }
  .tm-sidebar-mobile-head strong {
    font-size: 1rem;
    font-weight: 900;
  }
  .tm-sidebar-mobile-head button {
    border: 0;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    color: #111827;
  }
  .tm-account-content { padding: 22px 14px; border-top: 0; }
  .tm-side-title { font-size: 1.45rem; }
  .tm-side-link { font-size: 1rem; }
  .tm-welcome { font-size: 1.3rem; }
  .tm-user-name { font-size: 1.55rem; }
  .tm-empty-state h2 { font-size: 2rem; }
  .tm-cta-btn { min-width: 220px; font-size: 1rem; }
  .tm-ticket-list-head { align-items: flex-start; flex-direction: column; }
  .tm-ticket-list-head h2 { font-size: 1.6rem; }
  .tm-ticket-card { grid-template-columns: 72px minmax(0, 1fr); }
  .tm-ticket-actions {
    grid-column: 1 / -1;
    border-left: 0;
    border-top: 1px solid #d6dbe4;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .tm-ticket-actions strong { text-align: left; }
  .tm-browse-card {
    grid-template-columns: 62px minmax(0, 1fr);
    align-items: flex-start;
  }
  .tm-browse-action {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #d6dbe4;
    padding-top: 12px;
  }
  .tm-browse-head { padding: 18px; }
  .tm-browse-head h2 { font-size: 1.55rem; }
  .tm-browse-empty {
    grid-template-columns: 1fr;
    padding: 24px 18px;
    text-align: center;
  }
  .tm-browse-empty-mark {
    margin: 0 auto;
  }
  .tm-browse-empty p {
    margin-left: auto;
    margin-right: auto;
  }
  .tm-browse-empty-meta {
    justify-content: center;
  }
  .tm-confirm-hero,
  .tm-confirm-card-head { flex-direction: column; align-items: flex-start; }
  .tm-confirm-grid,
  .tm-confirm-steps { grid-template-columns: 1fr; }
  .tm-confirm-grid div { border-right: 0; border-bottom: 1px solid #d6dbe4; }
  .tm-confirm-grid div:last-child { border-bottom: 0; }

  .admin-shell { flex-direction: column; }
  .admin-sidebar { width: 100%; height: auto; position: static; }
  .admin-seat-map-shell { grid-template-columns: 1fr; }
}
