/* ============================================================
   Option Tracker — Almond / Brown / Black-Gold theme
   ============================================================ */

:root {
  --ot-badam: #efdecd;
  --ot-badam-deep: #e8d4bc;
  --ot-badam-light: #f8f1e6;
  --ot-brown: #3b220e;
  --ot-brown-soft: #6e4828;
  --ot-gold: #c69524;
  --ot-gold-bright: #f0c75e;
  --ot-black: #12100e;
  --ot-sidebar: #111111;
  --ot-card: #ffffff;
  --ot-border: #c9a882;
  --ot-border-soft: rgba(201, 168, 130, 0.35);
  --ot-font-display: "Plus Jakarta Sans", "Source Sans 3", -apple-system, sans-serif;
  --ot-font-serif: "Cormorant Garamond", Georgia, serif;
  --ot-font-body: "Plus Jakarta Sans", "Source Sans 3", "Segoe UI", sans-serif;
  --ot-font-base: 112%;
}

html {
  font-size: var(--ot-font-base);
}

html, body.ot-body {
  background-color: var(--ot-badam-light) !important;
  color: var(--ot-brown) !important;
  font-family: var(--ot-font-body);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* Keep layout usable if AdminLTE/Bootstrap CSS is missing */
.d-none { display: none !important; }

.ot-content {
  position: relative;
  background:
    radial-gradient(ellipse at 12% 8%, rgba(240, 199, 94, 0.16), transparent 36%),
    radial-gradient(ellipse at 92% 18%, rgba(201, 168, 130, 0.18), transparent 32%),
    radial-gradient(ellipse at 80% 88%, rgba(212, 175, 55, 0.1), transparent 40%),
    linear-gradient(180deg, #fbf6ee 0%, var(--ot-badam-light) 48%, #f3e6d4 100%) !important;
  isolation: isolate;
}
.ot-content::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.55) 0 1px, transparent 2px),
    radial-gradient(circle at 72% 14%, rgba(212, 175, 55, 0.35) 0 1px, transparent 2px),
    radial-gradient(circle at 88% 48%, rgba(255, 255, 255, 0.4) 0 1px, transparent 2px),
    radial-gradient(circle at 12% 70%, rgba(198, 149, 36, 0.22) 0 1px, transparent 2px);
  background-size: 220px 220px, 280px 280px, 190px 190px, 260px 260px;
  opacity: 0.55;
  animation: ot-sparkle-drift 28s linear infinite;
}
.ot-content > * {
  position: relative;
  z-index: 1;
}

@keyframes ot-sparkle-drift {
  from { background-position: 0 0, 0 0, 0 0, 0 0; }
  to { background-position: 220px 80px, -140px 60px, 90px -70px, -80px 120px; }
}
@keyframes ot-fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes ot-soft-shine {
  0% { transform: translateX(-130%) skewX(-16deg); opacity: 0; }
  18% { opacity: 0.45; }
  42% { opacity: 0; }
  100% { transform: translateX(220%) skewX(-16deg); opacity: 0; }
}
@keyframes ot-icon-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

.ot-top-bar,
.ot-dash-tabs,
.ot-dash-tab-panels .ot-yt-panel,
.ot-stat-card,
.ot-dash-section {
  animation: ot-fade-up 0.55s ease both;
}
.ot-dash-tabs { animation-delay: 0.05s; }
.ot-dash-tab-panels .col-lg-6:nth-child(1) .ot-yt-panel { animation-delay: 0.12s; }
.ot-dash-tab-panels .col-lg-6:nth-child(2) .ot-yt-panel { animation-delay: 0.2s; }
.ot-dash-tab-panels .col-lg-6:nth-child(3) .ot-yt-panel { animation-delay: 0.28s; }
.ot-dash-tab-panels .col-lg-6:nth-child(4) .ot-yt-panel { animation-delay: 0.36s; }
.ot-dash-section { animation-delay: 0.32s; }
.ot-stat-card:nth-child(1) { animation-delay: 0.08s; }
.ot-stat-card:nth-child(2) { animation-delay: 0.14s; }
.ot-stat-card:nth-child(3) { animation-delay: 0.2s; }
.ot-stat-card:nth-child(4) { animation-delay: 0.26s; }

@media (prefers-reduced-motion: reduce) {
  .ot-content::before,
  .ot-navbar::after,
  .ot-top-bar,
  .ot-dash-tabs,
  .ot-dash-tab-panels .ot-yt-panel,
  .ot-stat-card,
  .ot-dash-section,
  .ot-yt-embed,
  .ot-panel-icon,
  .ot-badge-plan,
  .ot-badge-plan i,
  .ot-dash-tabs .nav-link.active i {
    animation: none !important;
  }
}

.ot-page-title {
  color: var(--ot-brown) !important;
  font-family: var(--ot-font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.65rem;
}

.ot-navbar {
  background: var(--ot-badam) !important;
  border-bottom: 1px solid var(--ot-border-soft) !important;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}
.ot-navbar::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 38%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  animation: ot-soft-shine 7s ease-in-out infinite;
}
.ot-navbar .navbar-nav {
  position: relative;
  z-index: 1;
}
.ot-navbar .nav-link,
.ot-brand-text,
.ot-user-chip {
  color: var(--ot-brown) !important;
  font-weight: 600;
}
.ot-navbar .ot-plan-stars,
.ot-navbar .ot-plan-stars i,
.ot-navbar .ot-plan-stars i::before {
  color: #ffffff !important;
}
.ot-brand-text {
  font-family: var(--ot-font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  max-width: min(420px, 46vw);
  white-space: normal;
  line-height: 1.15;
}
.ot-brand-text .ot-app-ver {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.ot-plan-stars {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 2px;
  vertical-align: middle;
}
.ot-plan-stars i {
  display: inline-block;
  font-size: 0.82rem;
  line-height: 1;
  transform-origin: 50% 50%;
  animation: ot-star-twinkle 1.6s ease-in-out infinite;
  will-change: transform, opacity, filter;
}
.ot-plan-stars i::before {
  display: inline-block;
}
.ot-plan-stars i:nth-child(1) { animation-delay: 0s; }
.ot-plan-stars i:nth-child(2) { animation-delay: 0.22s; }
.ot-plan-stars i:nth-child(3) { animation-delay: 0.44s; }
.ot-plan-stars i:nth-child(4) { animation-delay: 0.66s; }
@keyframes ot-star-twinkle {
  0%, 100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.82;
    filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0));
  }
  50% {
    transform: scale(1.28) rotate(16deg);
    opacity: 1;
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.85));
  }
}

/* Trial — grey bar + 1 star */
.ot-navbar.ot-navbar-trial {
  background: linear-gradient(90deg, #6b7280 0%, #9ca3af 28%, #d1d5db 50%, #9ca3af 74%, #6b7280 100%) !important;
  border-bottom: 1px solid #6b7280 !important;
  box-shadow: 0 2px 12px rgba(75, 85, 99, 0.28);
}
.ot-navbar.ot-navbar-trial .nav-link,
.ot-navbar.ot-navbar-trial .ot-brand-text,
.ot-navbar.ot-navbar-trial .ot-user-chip {
  color: #1f2937 !important;
}
.ot-navbar.ot-navbar-trial .ot-role-pill {
  background: rgba(31, 41, 55, 0.12);
  color: #1f2937;
}

/* Basic — bronze bar + 2 stars */
.ot-navbar.ot-navbar-basic {
  background: linear-gradient(90deg, #6b3e1a 0%, #cd7f32 26%, #e6b07a 50%, #b87333 76%, #6b3e1a 100%) !important;
  border-bottom: 1px solid #b87333 !important;
  box-shadow: 0 2px 14px rgba(107, 62, 26, 0.35);
}
.ot-navbar.ot-navbar-basic .nav-link,
.ot-navbar.ot-navbar-basic .ot-brand-text,
.ot-navbar.ot-navbar-basic .ot-user-chip {
  color: #2a1408 !important;
}
.ot-navbar.ot-navbar-basic .ot-role-pill {
  background: rgba(42, 20, 8, 0.14);
  color: #2a1408;
}

/* Professional — silver bar + 3 stars */
.ot-navbar.ot-navbar-professional {
  background: linear-gradient(90deg, #14532d 0%, #16a34a 24%, #bbf7d0 50%, #22c55e 76%, #14532d 100%) !important;
  border-bottom: 1px solid #15803d !important;
  box-shadow: 0 2px 14px rgba(20, 83, 45, 0.35);
}
.ot-navbar.ot-navbar-professional .nav-link,
.ot-navbar.ot-navbar-professional .ot-brand-text,
.ot-navbar.ot-navbar-professional .ot-user-chip {
  color: #052e16 !important;
}
.ot-navbar.ot-navbar-professional .ot-role-pill {
  background: rgba(5, 46, 22, 0.15);
  color: #052e16;
}

/* Advanced — gold bar + 4 stars */
.ot-navbar.ot-navbar-advance,
.ot-navbar.ot-navbar-advanced {
  background: linear-gradient(90deg, #b8860b 0%, #f0c75e 22%, #ffe9a8 50%, #d4af37 78%, #b8860b 100%) !important;
  border-bottom: 1px solid #c69524 !important;
  box-shadow: 0 2px 14px rgba(184, 134, 11, 0.35);
}
.ot-navbar.ot-navbar-advance .nav-link,
.ot-navbar.ot-navbar-advance .ot-brand-text,
.ot-navbar.ot-navbar-advance .ot-user-chip,
.ot-navbar.ot-navbar-advanced .nav-link,
.ot-navbar.ot-navbar-advanced .ot-brand-text,
.ot-navbar.ot-navbar-advanced .ot-user-chip {
  color: #3b220e !important;
}
.ot-navbar.ot-navbar-advance .ot-role-pill,
.ot-navbar.ot-navbar-advanced .ot-role-pill {
  background: rgba(59, 34, 14, 0.14);
  color: #3b220e;
}
.ot-role-pill {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--ot-border-soft);
  color: var(--ot-brown);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ot-sidebar {
  background-color: #111111 !important;
}
.ot-sidebar .brand-link.ot-brand {
  background: #12100e !important;
  border-bottom: 1px solid #c69524 !important;
  text-align: center;
  overflow: hidden;
  padding: 0.5rem 0.4rem !important;
}
.ot-sidebar .brand-link .brand-text {
  color: #c69524 !important;
  font-family: var(--ot-font-display);
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 1.12rem;
  float: none !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.15;
  white-space: normal;
  margin: 0 !important;
  max-width: 100%;
}
.ot-sidebar .brand-link .ot-app-ver {
  display: block;
  margin-top: 3px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.ot-sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}
.ot-sidebar-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid #c69524;
  color: #c69524;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ot-sidebar-uname {
  color: #f0c75e;
  font-weight: 600;
  font-size: 0.95rem;
}
.ot-sidebar-role {
  color: #b8962e;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.ot-sidebar .nav-sidebar .nav-item {
  margin-bottom: 2px;
}
.ot-sidebar .nav-sidebar .nav-link {
  display: flex !important;
  align-items: center !important;
  padding: 7px 12px !important;
  min-height: 38px;
  height: auto !important;
  line-height: 1.35 !important;
  border-radius: 6px;
  color: #c69524 !important;
}
.ot-sidebar .nav-sidebar .nav-link > .nav-icon {
  width: 20px !important;
  min-width: 20px !important;
  margin: 0 10px 0 0 !important;
  text-align: center;
  flex-shrink: 0;
  color: #c69524 !important;
}
.ot-sidebar .nav-sidebar .nav-link > .nav-icon.ot-plan-nav-trial { color: #9ca3af !important; }
.ot-sidebar .nav-sidebar .nav-link > .nav-icon.ot-plan-nav-basic { color: #cd7f32 !important; }
.ot-sidebar .nav-sidebar .nav-link > .nav-icon.ot-plan-nav-professional { color: #22c55e !important; }
.ot-sidebar .nav-sidebar .nav-link > .nav-icon.ot-plan-nav-advance,
.ot-sidebar .nav-sidebar .nav-link > .nav-icon.ot-plan-nav-advanced { color: #f0c75e !important; }
.ot-sidebar .nav-sidebar .nav-link > .nav-icon.ot-plan-nav-business { color: #c4b5fd !important; }
.ot-sidebar .nav-sidebar .nav-link p {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex: 1 1 auto;
  margin: 0 !important;
  line-height: 1.35 !important;
  font-size: 0.92rem !important;
  white-space: normal !important;
  word-break: normal !important;
  color: #c69524 !important;
}
.ot-sidebar .nav-sidebar .nav-link p .right {
  position: static !important;
  margin-left: auto !important;
  padding-left: 6px;
}
.ot-sidebar .nav-header.ot-nav-header {
  color: #c69524 !important;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 10px 12px 4px !important;
}
.ot-sidebar .nav-sidebar .nav-link:hover,
.ot-sidebar .nav-sidebar .nav-link.active {
  background: rgba(212, 175, 55, 0.15) !important;
  color: #f0c75e !important;
}
.ot-sidebar .nav-treeview {
  padding-left: 6px;
}
.ot-sidebar .nav-treeview > .nav-item > .nav-link {
  padding: 6px 10px 6px 14px !important;
  font-size: 0.88rem !important;
  color: #c9a227 !important;
}
.ot-sidebar .nav-treeview > .nav-item > .nav-link > .nav-icon {
  font-size: 0.7rem !important;
  width: 16px !important;
  min-width: 16px !important;
  margin-right: 8px !important;
}

.ot-card {
  background: var(--ot-card);
  border: 1px solid var(--ot-border);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(92, 51, 23, 0.06);
}
.ot-card .card-header {
  background: transparent;
  border-bottom: 1px solid var(--ot-border);
  color: var(--ot-brown);
  font-weight: 600;
}
.ot-card .card-body,
.ot-card .card-title {
  color: var(--ot-brown);
}

.table.ot-table {
  color: var(--ot-brown);
  background: var(--ot-card);
  font-size: 0.9375rem;
}
.table.ot-table thead th {
  border-bottom: 2px solid var(--ot-border);
  color: var(--ot-brown);
  background: var(--ot-badam-deep);
}
.table.ot-table td,
.table.ot-table th {
  border-color: var(--ot-border);
  vertical-align: middle;
}
.table.ot-table tbody tr:hover {
  background: rgba(92, 51, 23, 0.06);
  cursor: pointer;
}
a.ot-company-link {
  color: var(--ot-brown);
  text-decoration: none;
}
a.ot-company-link:hover {
  color: var(--ot-brown-soft);
  text-decoration: underline;
}

.badge-ot-active { background: #2e7d32; color: #fff; }
.badge-ot-inactive { background: #8d6e63; color: #fff; }

.btn-ot-primary {
  background: var(--ot-brown);
  border-color: var(--ot-brown);
  color: var(--ot-badam);
}
.btn-ot-primary:hover {
  background: var(--ot-brown-soft);
  border-color: var(--ot-brown-soft);
  color: #fff;
}
.btn-ot-gold {
  background: var(--ot-gold);
  border-color: var(--ot-gold);
  color: var(--ot-black);
  font-weight: 600;
}
.btn-ot-gold:hover {
  background: var(--ot-gold-bright);
  border-color: var(--ot-gold-bright);
  color: var(--ot-black);
}

.form-control, .custom-select {
  font-size: 1rem;
  border-color: var(--ot-border);
  color: var(--ot-brown);
  background: #fffdf8;
}
.form-control:focus, .custom-select:focus {
  border-color: var(--ot-gold);
  box-shadow: 0 0 0 0.15rem rgba(212, 175, 55, 0.25);
  color: var(--ot-brown);
}
.form-group label {
  color: var(--ot-brown);
  font-weight: 600;
}

.ot-footer {
  background: var(--ot-badam-deep) !important;
  color: var(--ot-brown) !important;
  border-top: 1px solid var(--ot-border) !important;
}

.ot-yt-panel {
  background: var(--ot-badam);
  border: 1px solid rgba(201, 168, 130, 0.45);
  border-radius: 16px;
  padding: 16px 18px 18px;
  margin-bottom: 1.25rem;
  box-shadow: 0 6px 24px rgba(92, 51, 23, 0.06), 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.ot-yt-panel::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.75), transparent);
  opacity: 0.7;
}
.ot-yt-panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(92, 51, 23, 0.12);
  border-color: rgba(212, 175, 55, 0.7);
}
.ot-yt-panel.is-current-plan {
  border-color: var(--ot-gold);
  box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.28);
}

/* Subscribe — plan-colored icons (same palette as the top bar) */
.ot-sub-plan-icon {
  margin-right: 6px;
  font-size: 1.05em;
  vertical-align: -1px;
}
.ot-sub-plan-trial .ot-sub-plan-icon,
.ot-sub-plan-trial .btn i {
  color: #6b7280 !important;
}
.ot-sub-plan-basic .ot-sub-plan-icon,
.ot-sub-plan-basic .btn i {
  color: #cd7f32 !important;
}
.ot-sub-plan-professional .ot-sub-plan-icon,
.ot-sub-plan-professional .btn i {
  color: #16a34a !important;
}
.ot-sub-plan-advance .ot-sub-plan-icon,
.ot-sub-plan-advance .btn i,
.ot-sub-plan-advanced .ot-sub-plan-icon,
.ot-sub-plan-advanced .btn i {
  color: #b8860b !important;
}
.ot-sub-plan-business .ot-sub-plan-icon,
.ot-sub-plan-business .btn i {
  color: #7c3aed !important;
}
.ot-plan-nav-trial { color: #9ca3af !important; }
.ot-plan-nav-basic { color: #cd7f32 !important; }
.ot-plan-nav-professional { color: #22c55e !important; }
.ot-plan-nav-advance,
.ot-plan-nav-advanced { color: #f0c75e !important; }
.ot-plan-nav-business { color: #c4b5fd !important; }
.ot-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(201, 168, 130, 0.2);
  flex-wrap: nowrap;
  min-width: 0;
}
.ot-panel-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1 1 0;
}
.ot-panel-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 1 auto;
  min-width: 0;
}
.ot-panel-company-form {
  margin: 0;
  display: inline-flex;
  align-items: center;
}
.ot-panel-company-box {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 160px;
  max-width: 42vw;
}
.ot-panel-company-box .ot-company-icon {
  position: absolute;
  left: 9px;
  color: var(--ot-gold);
  font-size: 0.78rem;
  z-index: 2;
  pointer-events: none;
}
.ot-panel-company-box .ot-combo {
  width: 100%;
}
.ot-panel-company-box .custom-select.ot-combo-value {
  padding-left: 26px;
  padding-right: 22px;
  height: 30px;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 6px;
  background-color: #faf7f2;
  border: 1px solid var(--ot-border);
  color: var(--ot-text-main, #3b200c);
  box-shadow: none;
}
.ot-panel-company-box .custom-select.ot-combo-value:focus {
  background-color: #ffffff;
  border-color: var(--ot-gold);
  box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.22);
}
.ot-panel-company-box .ot-combo-list {
  min-width: 220px;
  max-width: 320px;
  right: 0;
  left: auto;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}
@media (max-width: 576px) {
  .ot-panel-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .ot-panel-actions {
    width: 100%;
    justify-content: space-between;
  }
  .ot-panel-company-box {
    flex: 1;
    width: auto;
  }
}
.ot-panel-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(92, 51, 23, 0.08));
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 10px;
  font-size: 0.95rem;
  flex-shrink: 0;
  animation: ot-icon-float 3.2s ease-in-out infinite;
}
.ot-panel-title {
  margin: 0;
  font-family: var(--ot-font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #3b220e;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}
.ot-btn-fullscreen {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, #f4dfa2 0%, #e8c973 100%);
  color: #3b220e;
  border: 1px solid rgba(180, 136, 40, 0.4);
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(212, 175, 55, 0.2);
  cursor: pointer;
  transition: all 0.25s ease;
  flex-shrink: 0;
}
.ot-btn-fullscreen:hover {
  background: linear-gradient(135deg, #ffd86b 0%, #f0c75e 100%);
  color: #1a0d04;
  box-shadow: 0 6px 14px rgba(212, 175, 55, 0.4);
  transform: translateY(-1px) scale(1.03);
}
.ot-yt-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  background: var(--ot-badam);
  box-shadow: 0 3px 12px rgba(92, 51, 23, 0.08);
  border: 1px solid rgba(201, 168, 130, 0.25);
  animation: ot-fade-up 0.45s ease both;
}
.ot-yt-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.ot-sc-embed {
  padding-bottom: 0;
  height: 520px;
  min-height: 520px;
  background: #131722;
}
.ot-win-row.is-tracker .ot-yt-panel {
  padding: 10px 10px 12px;
  margin-bottom: 0.35rem;
}
.ot-win-row.is-tracker .ot-panel-header {
  margin-bottom: 6px;
  padding-bottom: 6px;
}
.ot-win-row.is-tracker .ot-panel-title {
  font-size: 0.92rem;
}
.ot-win-row.is-tracker .ot-panel-company-box {
  width: 118px;
}
.ot-win-row.is-tracker .ot-btn-fullscreen {
  padding: 2px 6px;
  font-size: 0.72rem;
}
.ot-win-row.is-tracker .ot-sc-embed,
.ot-win-row.is-tracker .ot-web-poster {
  height: 280px;
  min-height: 280px;
  background: #f8f1e6;
}
.ot-sc-chart-embed {
  height: min(78vh, 920px);
  min-height: 640px;
  background: #f8f1e6;
}
.ot-sc-nifty .ot-aot-tile.is-aa {
  width: 100%;
  height: 520px;
  min-height: 520px;
  margin: 0;
}
.ot-sc-nifty .ot-aot-tile.is-aa .ot-aot-tile-face {
  height: 100%;
  min-height: 520px;
}
.ot-sc-nifty .ot-aa-gamma {
  flex: 1;
  width: 100%;
  margin-top: 14px;
}
.ot-web-poster {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 10px;
  height: 520px;
  min-height: 520px;
  background: #0b1220;
  text-decoration: none !important;
}
.ot-web-poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ot-web-poster-brand {
  position: absolute;
  left: 0;
  right: 0;
  top: 18%;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  font-family: var(--ot-font-display), Georgia, serif;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
  pointer-events: none;
}
.ot-web-poster-cta {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: calc(100% - 28px);
  padding: 10px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f4dfa2 0%, #e8c973 100%);
  color: #3b220e !important;
  border: 1px solid rgba(180, 136, 40, 0.45);
  font-weight: 800;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.4);
}
.ot-web-poster:hover .ot-web-poster-cta {
  background: linear-gradient(135deg, #ffd86b 0%, #f0c75e 100%);
  color: #1a0d04 !important;
}
.ot-aot-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 6px 2px 10px;
}
.ot-aot-tiles-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.ot-aot-tiles-3 .ot-aot-tile {
  color: #1e3d2f !important;
  background:
    linear-gradient(165deg, #f3faf5 0%, #dceee3 34%, #c2ddcc 70%, #a8cbb6 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -8px 14px rgba(46, 90, 64, 0.1),
    0 8px 18px rgba(30, 70, 50, 0.12),
    0 0 0 1px rgba(46, 110, 72, 0.38);
}
.ot-aot-tiles-3 .ot-aot-tile::before {
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(232, 245, 236, 0.16) 42%,
    transparent 68%
  );
}
.ot-aot-tiles-3 .ot-aot-tile::after {
  background: linear-gradient(90deg, transparent, #d7eadc, #3d7a58, transparent);
}
.ot-aot-tiles-3 .ot-aot-tile-name,
.ot-aot-tiles-3 .ot-aot-tile-symbol {
  color: #163528 !important;
}
.ot-aot-tiles-3 .ot-aot-tile:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 16px 28px rgba(30, 70, 50, 0.2),
    0 0 14px rgba(80, 140, 100, 0.28),
    0 0 0 1px rgba(40, 100, 68, 0.5);
}
.ot-aot-tiles-3 .ot-aot-tile-strike {
  filter: saturate(0.85) brightness(1.05);
}
.ot-aot-tiles-pi {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.ot-aot-tiles-pi .ot-aot-tile.is-options {
  color: #ffd54a !important;
  background:
    linear-gradient(160deg, #4a4a4a 0%, #363636 38%, #2a2a2a 72%, #1f1f1f 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -10px 18px rgba(0, 0, 0, 0.3),
    0 10px 22px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 213, 74, 0.35);
}
.ot-aot-tiles-pi .ot-aot-tile.is-options::before {
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.03) 38%,
    transparent 62%
  );
}
.ot-aot-tiles-pi .ot-aot-tile.is-options::after {
  background: linear-gradient(90deg, transparent, #ffd54a, var(--ot-aot-accent), transparent);
}
.ot-aot-tiles-pi .ot-aot-tile.is-options .ot-aot-tile-name,
.ot-aot-tiles-pi .ot-aot-tile.is-options .ot-aot-tile-symbol {
  color: #ffd54a !important;
}
.ot-aot-tiles-pi .ot-aot-tile.is-options:hover {
  color: #ffd54a !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 16px 28px rgba(0, 0, 0, 0.35),
    0 0 18px rgba(255, 213, 74, 0.3),
    0 0 0 1px rgba(255, 213, 74, 0.55);
}
.ot-aot-tiles-mid {
  justify-items: stretch;
  padding-top: 0;
}
.ot-aot-tiles-mid .ot-aot-tile:nth-child(1):nth-last-child(2) { grid-column: 2; }
.ot-aot-tiles-mid .ot-aot-tile:nth-child(2):nth-last-child(1) { grid-column: 3; }
.ot-aot-tiles-mid .ot-aot-tile:only-child { grid-column: 2 / span 2; }
.ot-aot-sep {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 10px 2px 14px;
}
.ot-aot-sep::before,
.ot-aot-sep::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(176, 122, 28, 0.55), transparent);
}
.ot-aot-sep span {
  font-family: var(--ot-font-display), Inter, sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1a1208;
  white-space: nowrap;
}
.ot-aot-tiles-analytics {
  padding-bottom: 16px;
}
.ot-aot-tile {
  --ot-aot-accent: #c48a1a;
  position: relative;
  display: block;
  min-height: 158px;
  border-radius: 5px 11px 11px 5px;
  text-decoration: none !important;
  color: #3b220e !important;
  background:
    linear-gradient(160deg, #fff4d4 0%, #f3d08a 38%, #e0b24a 72%, #c9962e 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 220, 0.95),
    inset 0 -10px 18px rgba(150, 96, 18, 0.18),
    0 10px 22px rgba(120, 72, 8, 0.22),
    0 0 0 1px rgba(176, 122, 28, 0.45);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: ot-fade-up 0.45s ease both;
}
.ot-aot-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.38) 0%,
    rgba(255, 244, 200, 0.08) 38%,
    transparent 62%
  );
  pointer-events: none;
  z-index: 1;
}
.ot-aot-tile-strike {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 12px;
  z-index: 3;
  background-color: var(--ot-aot-accent);
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 248, 210, 0.35) 0 2px,
    rgba(90, 50, 8, 0.18) 2px 4px
  );
  box-shadow: 2px 0 0 rgba(255, 236, 170, 0.45);
}
.ot-aot-tile.no-strike {
  border-radius: 11px;
}
.ot-aot-tile.no-strike::after {
  left: 14px;
}
.ot-aot-tile.no-strike .ot-aot-tile-face {
  padding-left: 16px;
}
.ot-aot-tile-open {
  display: block;
  height: 100%;
  color: inherit !important;
  text-decoration: none !important;
}
.ot-aot-tile-face {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 158px;
  padding: 18px 16px 28px 18px;
  text-align: center;
}
.ot-aot-preview-btn {
  position: absolute;
  top: 5px;
  right: 6px;
  z-index: 10;
  width: 16px;
  height: 16px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 248, 230, 0.88);
  color: #6a4310;
  font-size: 8px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(90, 50, 8, 0.22);
}
.ot-aot-fs-below {
  margin-top: 8px;
  z-index: 8;
  opacity: 1;
  pointer-events: auto;
  font-size: 0.72rem;
  padding: 4px 10px;
}
.ot-aot-bias {
  position: absolute;
  left: 16px;
  bottom: 8px;
  z-index: 7;
  display: inline-flex;
  align-items: center;
  max-width: calc(100% - 28px);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.2;
  color: #fff;
  pointer-events: none;
  white-space: nowrap;
}
.ot-aot-bias.bull { background: #2e7d32; }
.ot-aot-bias.bear { background: #c62828; }
.ot-aot-bias.neut { background: #1b1b1b; }
.ot-aot-bias.is-wait { background: #3d3d3d; color: #fff6d6; }
.ot-aot-mtf[hidden] { display: none !important; }
.ot-aot-mtf.is-wait {
  color: #fff6d6;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 6px 8px;
  text-align: center;
  background: rgba(15, 26, 46, 0.82);
}
.ot-aot-pcr {
  padding: 4px 5px 5px;
  text-align: center;
  color: #fff;
}
.ot-aot-pcr.hot { background: rgba(183, 28, 28, 0.72); }
.ot-aot-pcr.cold { background: rgba(249, 168, 37, 0.78); color: #1a1a1a; }
.ot-aot-pcr.mid { background: #1a1a2e; }
.ot-aot-pcr-title {
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.9;
}
.ot-aot-pcr-val {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.ot-aot-pcr-src,
.ot-aot-pcr-extra,
.ot-aot-pcr-legs {
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.ot-aot-pcr-spark {
  display: block;
  width: 100%;
  height: 38px;
  margin: 2px 0 1px;
}
.ot-aot-pcr-spark path {
  fill: none;
  stroke: #311B92;
  stroke-width: 2;
}
.ot-aot-pcr.cold .ot-aot-pcr-spark path { stroke: #4a148c; }
.ot-aot-pcr-spark .hl line {
  stroke: #363A45;
  stroke-width: 1.2;
}
.ot-aot-pcr-meter {
  position: relative;
  height: 5px;
  margin: 3px 6px 1px;
  border-radius: 3px;
  background: linear-gradient(90deg, #fdd835 0%, #546e7a 50%, #c62828 100%);
}
.ot-aot-pcr-meter i {
  position: absolute;
  top: -2px;
  width: 6px;
  height: 9px;
  margin-left: -3px;
  background: #fff;
  border: 1px solid #111;
  border-radius: 1px;
}
.ot-aot-pcr-legs {
  display: flex;
  justify-content: space-between;
  padding: 0 4px;
  opacity: 0.9;
}
.ot-aot-mtf table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.ot-aot-mtf table.ot-aot-sent {
  margin-bottom: 3px;
  table-layout: fixed;
}
.ot-aot-mtf table.ot-aot-sent th {
  background: #1565c0;
  color: #fff;
  font-size: 8px;
  padding: 3px 2px;
}
.ot-aot-mtf table.ot-aot-sent td {
  font-size: 8px;
  font-weight: 800;
  padding: 4px 2px;
  color: #fff !important;
}
.ot-aot-mtf table.ot-aot-sent td.bull { background: #2e7d32 !important; }
.ot-aot-mtf table.ot-aot-sent td.bear { background: #c62828 !important; }
.ot-aot-mtf table.ot-aot-sent td.neut { background: #546e7a !important; }
.ot-aot-pvrsi-avg {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 3px 4px;
  color: #fff;
  background: #1a1a2e;
}
.ot-aot-pvrsi-avg.bull { background: #2e7d32; }
.ot-aot-pvrsi-avg.bear { background: #c62828; }
.ot-aot-pvrsi-avg.neut { background: #1565c0; }
.ot-aot-mtf tr.ot-aot-avg-row td {
  background: #1a1a2e !important;
  font-weight: 800;
}
.ot-aot-pvrsi-1m {
  margin: 2px 0 4px;
  background: #111827;
  border: 1px solid rgba(176, 176, 176, 0.22);
}
.ot-aot-pvrsi-1m-h {
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
  color: #fff;
  background: #0d47a1;
  padding: 2px 3px;
}
.ot-aot-pvrsi-1m-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  max-height: 72px;
  overflow: auto;
  padding: 3px 2px;
}
.ot-aot-pvrsi-1m-list span {
  font-size: 7px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #fff;
  padding: 1px 3px;
  min-width: 28px;
  text-align: center;
}
.ot-aot-pvrsi-1m-list span.bull { background: #2e7d32; }
.ot-aot-pvrsi-1m-list span.bear { background: #c62828; }
.ot-aot-pvrsi-1m-list span.neut { background: #1565c0; }
.ot-aot-mtf th,
.ot-aot-mtf td {
  padding: 1px 2px;
  border: 1px solid rgba(176, 176, 176, 0.22);
  font-size: 7px;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-variant-numeric: tabular-nums;
}
.ot-aot-mtf thead th {
  background: #e94560;
  color: #fff;
  font-weight: 800;
}
.ot-aot-mtf tbody tr:nth-child(odd) td { background: #16213e; color: #d1d4dc; }
.ot-aot-mtf tbody tr:nth-child(even) td { background: #0f3460; color: #d1d4dc; }
.ot-aot-mtf .bull { color: #00e676 !important; font-weight: 800; }
.ot-aot-mtf .bear { color: #ff1744 !important; font-weight: 800; }
.ot-aot-mtf .neut { color: #b0bec5 !important; font-weight: 700; }
.ot-aot-preview {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: rgba(18, 10, 4, 0.62);
}
.ot-aot-preview.is-open {
  display: flex !important;
}
.ot-aot-preview[hidden] {
  display: none !important;
}
.ot-aot-preview-lock {
  overflow: hidden;
}
.ot-aot-preview-card {
  display: flex;
  flex-direction: column;
  width: min(1040px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  background: #fffdf8;
  border: 1px solid rgba(176, 122, 28, 0.45);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(40, 22, 6, 0.35);
  overflow: hidden;
}
.ot-aot-preview-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-shrink: 0;
  padding: 10px 12px 10px 16px;
  background: linear-gradient(180deg, #fff6df 0%, #f3e0b4 100%);
  border-bottom: 1px solid rgba(176, 122, 28, 0.28);
}
.ot-aot-preview-bar strong {
  font-size: 0.95rem;
  color: #3b220e;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ot-aot-preview-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.ot-aot-preview-close {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: rgba(59, 34, 14, 0.08);
  color: #3b220e;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}
.ot-aot-preview-close:hover {
  background: #3b220e;
  color: #fff8e4;
}
.ot-aot-preview-embed {
  position: relative !important;
  flex: 1 1 auto;
  height: min(68vh, 620px) !important;
  min-height: 420px !important;
  padding-bottom: 0 !important;
  border-radius: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  background: #131722;
}
.ot-aot-preview.is-pi .ot-aot-preview-card {
  width: min(1400px, calc(100vw - 24px));
}
.ot-aot-preview.is-pi .ot-aot-preview-embed {
  height: min(84vh, 900px) !important;
  min-height: 560px !important;
}
.ot-aot-tile-no {
  display: block;
  font-family: var(--ot-font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--ot-aot-accent);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.ot-aot-tile-name {
  font-family: var(--ot-font-serif);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.28;
  letter-spacing: 0.015em;
  color: #2c1608;
}
.ot-aot-tile-symbol {
  font-family: var(--ot-font-display), Inter, sans-serif;
  font-weight: 800;
  font-size: 1.28rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #111 !important;
}
.ot-aot-lamp {
  margin-top: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-block;
  flex: 0 0 28px;
  background: #9aa0a6;
  border: 2px solid rgba(255, 255, 255, 0.7);
  box-shadow:
    0 0 8px rgba(158, 158, 158, 0.55),
    inset 0 1px 2px rgba(255, 255, 255, 0.45);
}
.ot-aot-lamp.is-wait {
  background: #b8bcc2;
  box-shadow: 0 0 6px rgba(160, 160, 160, 0.4);
}
.ot-aot-lamp.is-bull {
  background: #39ff14;
  box-shadow:
    0 0 8px #39ff14,
    0 0 16px rgba(57, 255, 20, 0.85),
    0 0 28px rgba(57, 255, 20, 0.55),
    inset 0 1px 3px rgba(255, 255, 255, 0.75);
}
.ot-aot-lamp.is-bear {
  background: #ff073a;
  box-shadow:
    0 0 8px #ff073a,
    0 0 16px rgba(255, 7, 58, 0.9),
    0 0 28px rgba(255, 7, 58, 0.55),
    inset 0 1px 3px rgba(255, 220, 220, 0.7);
}
.ot-aot-lamp.is-neut {
  background: #8d9399;
  box-shadow:
    0 0 8px rgba(141, 147, 153, 0.7),
    0 0 14px rgba(120, 124, 130, 0.4),
    inset 0 1px 2px rgba(255, 255, 255, 0.45);
}
.ot-aot-tile::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 14px;
  bottom: 10px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #fff3c4, var(--ot-aot-accent), transparent);
  opacity: 0.7;
  z-index: 2;
}
.ot-aot-tile:hover {
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 220, 0.95),
    0 16px 28px rgba(120, 72, 8, 0.28),
    0 0 18px rgba(232, 186, 74, 0.45),
    0 0 0 1px rgba(196, 138, 26, 0.55);
  color: #2c1608 !important;
}
.ot-aot-c0 { --ot-aot-accent: #c69524; }
.ot-aot-c1 { --ot-aot-accent: #2a9d8f; }
.ot-aot-c2 { --ot-aot-accent: #c45c26; }
.ot-aot-c3 { --ot-aot-accent: #4c6aab; }
.ot-aot-c4 { --ot-aot-accent: #b44a6a; }
.ot-aot-c5 { --ot-aot-accent: #6d8b4e; }
.ot-aot-c6 { --ot-aot-accent: #1f7a86; }
.ot-aot-c7 { --ot-aot-accent: #7a5ea8; }
.ot-aot-c8 { --ot-aot-accent: #a65b2b; }
.ot-aot-c9 { --ot-aot-accent: #3d5f86; }
.ot-aot-c10 { --ot-aot-accent: #c2782e; }
.ot-aot-c11 { --ot-aot-accent: #3f8a4a; }
@media (max-width: 991.98px) {
  .ot-aot-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ot-aot-tiles-mid .ot-aot-tile:nth-child(1):nth-last-child(2),
  .ot-aot-tiles-mid .ot-aot-tile:nth-child(2):nth-last-child(1),
  .ot-aot-tiles-mid .ot-aot-tile:only-child { grid-column: auto; }
}
@media (max-width: 575.98px) {
  .ot-aot-tiles { grid-template-columns: minmax(0, 1fr); }
}
.ot-yt-embed:fullscreen,
.ot-yt-embed:-webkit-full-screen {
  padding-bottom: 0;
  height: 100%;
  width: 100%;
  border-radius: 0;
  background: #000;
}
.ot-yt-embed:fullscreen iframe,
.ot-yt-embed:-webkit-full-screen iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.ot-fs-exit {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 20;
  border: 0;
  border-radius: 4px;
  background: rgba(40, 24, 12, 0.85);
  color: #f0d9a8;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 0.85rem;
}
.ot-yt-embed:fullscreen .ot-fs-exit,
.ot-yt-embed:-webkit-full-screen .ot-fs-exit {
  display: inline-block !important;
}
.ot-yt-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.ot-embed-blocked {
  filter: blur(14px);
  pointer-events: none;
  user-select: none;
}
.ot-embed-blocked::after {
  content: 'Inspect tools are not allowed';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 12, 6, 0.72);
  color: #f0d9a8;
  font-weight: 600;
  z-index: 30;
  text-align: center;
  padding: 12px;
  filter: none;
}
.ot-encrypted-note {
  font-size: 0.8rem;
  color: var(--ot-brown-soft);
  opacity: 0.85;
}

.content-wrapper {
  background-color: var(--ot-badam-light) !important;
}

/* --- Ultra Compact Top Bar --- */
.content-header {
  display: none !important;
}
.ot-content {
  padding-top: 10px !important;
}
.ot-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 6px 14px;
  border: 1px solid rgba(201, 168, 130, 0.35);
  border-radius: 10px;
  background: var(--ot-badam);
  box-shadow: 0 2px 10px rgba(92, 51, 23, 0.04);
}
.ot-top-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.ot-user-identity {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.ot-kicker {
  color: #8c5a2b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.7rem;
  font-weight: 700;
}
.ot-uname {
  font-family: var(--ot-font-display);
  color: #3b200c;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
}
.ot-badge-plan {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, #2d1b0d 0%, #140c06 100%);
  color: #f7d583;
  border: 1px solid rgba(212, 175, 55, 0.5);
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.35);
  animation: ot-badge-glow 2.8s ease-in-out infinite;
}
@keyframes ot-badge-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.15); }
  50% { box-shadow: 0 0 10px 1px rgba(212, 175, 55, 0.35); }
}
.ot-badge-plan i {
  color: #ffd86b;
  font-size: 0.7rem;
  animation: ot-star-twinkle 2s ease-in-out infinite;
}
.ot-badge-plan-trial i { color: #9ca3af !important; }
.ot-badge-plan-basic i { color: #cd7f32 !important; }
.ot-badge-plan-professional i { color: #22c55e !important; }
.ot-badge-plan-advance i,
.ot-badge-plan-advanced i { color: #f0c75e !important; }
.ot-badge-plan-business i { color: #c4b5fd !important; }
.ot-chip-info {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(92, 51, 23, 0.05);
  color: #5c3317;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(201, 168, 130, 0.25);
}
.ot-chip-link {
  color: #8c5a2b;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: underline;
  padding: 1px 4px;
}
.ot-chip-link:hover {
  color: #3b200c;
}
.ot-top-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ot-top-company-form {
  margin: 0;
}
.ot-top-company-box {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 240px;
}
.ot-company-icon {
  position: absolute;
  left: 9px;
  color: var(--ot-gold);
  font-size: 0.8rem;
  z-index: 2;
  pointer-events: none;
}
.ot-top-company-box .ot-combo {
  width: 100%;
}
.ot-top-company-box .form-control {
  padding-left: 28px !important;
  height: 30px !important;
  font-size: 0.85rem !important;
  border-radius: 6px !important;
  background: #faf7f2 !important;
  border: 1px solid var(--ot-border) !important;
}
.ot-top-company-box .form-control:focus {
  background: #ffffff !important;
  border-color: var(--ot-gold) !important;
}

.ot-tab-company-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 8px 14px;
  background: #ffffff;
  border: 1px solid rgba(201, 168, 130, 0.4);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(92, 51, 23, 0.04);
}
.ot-tab-company-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: #3b200c;
}
.ot-selected-company-pill {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #2d1b0d 0%, #140c06 100%);
  color: #f7d583;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.ot-dash-section {
  margin-top: 0.4rem;
}
.ot-dash-section-title {
  font-family: var(--ot-font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #5c3317;
  margin: 0 0 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--ot-border);
}
.ot-dash-section-title i {
  color: var(--ot-gold);
  margin-right: 0.35rem;
}
.ot-dash-company-meta {
  font-size: 0.9rem;
  color: var(--ot-brown-soft);
  margin: -0.35rem 0 0.85rem;
}

.ot-dash-type-block {
  margin-bottom: 1.35rem;
}
.ot-dash-type-title {
  font-family: var(--ot-font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #3b200c;
  margin: 0 0 0.7rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid rgba(201, 168, 130, 0.25);
}
.ot-dash-type-title i {
  color: var(--ot-gold);
  margin-right: 0.3rem;
}

/* --- Floating Segmented Tabs --- */
.ot-dash-tabs {
  display: inline-flex;
  align-items: stretch;
  flex-wrap: nowrap;
  overflow-x: auto;
  max-width: 100%;
  gap: 4px;
  margin: 0 0 1rem;
  padding: 4px;
  list-style: none;
  background: #e8dfcf;
  border: 1px solid rgba(201, 168, 130, 0.28);
  border-radius: 14px;
}
.ot-dash-tabs .nav-item { margin: 0; }
.ot-dash-tabs .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 8px;
  color: #6b4423;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid transparent;
  background: transparent;
  transition: all 0.2s ease;
  text-decoration: none;
}
.ot-dash-tabs .nav-link:hover {
  color: #381e0a;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 2px 6px rgba(92, 51, 23, 0.05);
  transform: translateY(-1px);
}
.ot-dash-tabs .nav-link.active {
  color: #f7d583 !important;
  background: linear-gradient(135deg, #24160a 0%, #110a04 100%) !important;
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 3px 12px rgba(36, 22, 10, 0.2);
  font-weight: 700;
  transform: translateY(-1px);
}
.ot-dash-tabs .nav-link i {
  color: var(--ot-gold);
  font-size: 0.95rem;
  transition: transform 0.25s ease;
}
.ot-dash-tabs .nav-link:hover i {
  transform: scale(1.12);
}
.ot-dash-tabs .nav-link.active i {
  color: #ffd86b;
  text-shadow: 0 0 10px rgba(255, 216, 107, 0.4);
  animation: ot-icon-float 2.4s ease-in-out infinite;
}
.ot-dash-tab-panels {
  min-height: 220px;
}
.ot-dash-tab-panels .row {
  align-items: stretch;
}
.ot-dash-tab-panels .ot-yt-panel,
.ot-dash-tab-panels .ot-card {
  background: var(--ot-badam) !important;
}
.ot-panel-content-wrap {
  background: var(--ot-badam);
  border-radius: 10px;
  flex: 1 1 auto;
}

.ot-news-split {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.75fr);
  gap: 1rem;
  align-items: start;
}
.ot-news-split-side {
  position: sticky;
  top: 72px;
  background: var(--ot-card);
  border: 1px solid var(--ot-border);
  border-radius: 10px;
  padding: 12px;
  max-height: calc(100vh - 120px);
  overflow: hidden;
}
.ot-quote-scroll {
  height: min(520px, 70vh);
  overflow: hidden;
  mask-image: linear-gradient(to bottom, transparent, #000 8%, #000 92%, transparent);
}
.ot-quote-track {
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: ot-quote-marquee 28s linear infinite;
}
.ot-quote-scroll:hover .ot-quote-track {
  animation-play-state: paused;
}

.ot-quote-card {
  position: relative;
  margin: 0;
  padding: 16px 20px 16px 44px;
  background: #ffffff;
  border: 1px solid rgba(201, 168, 130, 0.35);
  border-left: 4px solid var(--ot-gold);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(92, 51, 23, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ot-quote-card:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 18px rgba(92, 51, 23, 0.08);
}
.ot-quote-icon {
  position: absolute;
  left: 14px;
  top: 16px;
  color: var(--ot-gold);
  opacity: 0.65;
  font-size: 1.1rem;
}
.ot-quote-card p {
  margin: 0 0 0.5rem;
  color: #2b1606;
  font-size: 1.08rem;
  line-height: 1.5;
  font-weight: 700;
  font-style: italic;
}
.ot-quote-card footer {
  color: #7a461b;
  font-size: 0.9rem;
  font-weight: 700;
  font-style: normal;
}
@keyframes ot-quote-marquee {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}
.ot-quote-scroll-tab {
  height: min(680px, 75vh);
  max-width: 920px;
  margin: 0 auto;
}
.ot-quotes-tab-panel {
  padding: 4px 0 8px;
}
.ot-news-split-single {
  grid-template-columns: 1fr !important;
}
.ot-news-split-single .ot-news-split-main {
  grid-column: 1 / -1;
}
@media (max-width: 991.98px) {
  .ot-news-split {
    grid-template-columns: 1fr;
  }
  .ot-news-split-side {
    position: static;
    max-height: none;
  }
  .ot-quote-scroll {
    height: 280px;
  }
}

.ot-user-dash-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.ot-user-dash-filter {
  min-width: min(100%, 280px);
  max-width: 420px;
  flex: 1 1 280px;
}
.ot-user-dash-filter label {
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--ot-brown);
}

/* --- Admin Stat Cards --- */
.ot-stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #ffffff;
  border: 1px solid rgba(201, 168, 130, 0.35);
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 18px;
  min-height: 98px;
  box-shadow: 0 6px 22px rgba(92, 51, 23, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.ot-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(92, 51, 23, 0.09);
  border-color: rgba(212, 175, 55, 0.5);
}
button.ot-stat-card {
  width: 100%;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
button.ot-stat-card.is-active {
  border-color: var(--ot-gold);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.4);
}
.ot-stat-hint {
  display: block;
  font-size: 0.72rem;
  color: var(--ot-brown-soft);
  margin-top: 2px;
}
.ot-stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(92, 51, 23, 0.1));
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: #9c6d17;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}
.ot-stat-value {
  font-family: var(--ot-font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--ot-brown);
  line-height: 1.1;
}
.ot-stat-label {
  color: var(--ot-brown-soft);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 2px;
}
.ot-stat-info {
  flex: 1 1 auto;
  min-width: 0;
}
.ot-admin-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

/* --- Card & Table Polish --- */
.card.ot-card {
  background: #ffffff;
  border: 1px solid rgba(201, 168, 130, 0.35);
  border-radius: 16px;
  box-shadow: 0 6px 22px rgba(92, 51, 23, 0.05);
  overflow: hidden;
}
.card.ot-card .card-header {
  background: linear-gradient(135deg, rgba(247, 235, 221, 0.7), rgba(232, 212, 188, 0.5));
  border-bottom: 1px solid rgba(201, 168, 130, 0.3);
  padding: 14px 20px;
  font-weight: 700;
  color: #3b200c;
  font-size: 1.05rem;
}
.card.ot-card .card-header i {
  color: var(--ot-gold);
  margin-right: 6px;
}
.ot-recent-header {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.ot-recent-title {
  display: block;
  text-align: center;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0f172a;
  line-height: 1.3;
}
.ot-recent-title i {
  font-size: 0.95rem;
  vertical-align: -1px;
}
.ot-recent-meta {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 0.8rem;
  white-space: nowrap;
}
.ot-recent-table thead th,
.ot-recent-table tbody td {
  text-align: center;
}
@media (max-width: 768px) {
  .ot-recent-header {
    flex-direction: column;
    gap: 4px;
  }
  .ot-recent-meta {
    position: static;
    transform: none;
  }
}
.table.ot-table {
  margin-bottom: 0;
}
.table.ot-table thead th {
  background: rgba(92, 51, 23, 0.04);
  border-bottom: 1px solid rgba(201, 168, 130, 0.25);
  color: #5c3317;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 12px 16px;
}
.table.ot-table tbody td {
  border-top: 1px solid rgba(201, 168, 130, 0.15);
  padding: 12px 16px;
  color: #3b200c;
  vertical-align: middle;
}
.table.ot-table tbody tr:hover {
  background: rgba(212, 175, 55, 0.06);
}

.ot-quick-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ot-quick-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ot-black);
  color: var(--ot-gold) !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
}
.ot-quick-link:hover {
  background: #1f1a14;
  color: var(--ot-gold-bright) !important;
  border-color: var(--ot-gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
.ot-quick-link i {
  color: var(--ot-gold-bright);
}

.ot-company-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.ot-company-tile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid var(--ot-border);
  background: #fffdf8;
  color: var(--ot-brown) !important;
  text-decoration: none !important;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.ot-company-tile:hover {
  border-color: var(--ot-gold);
  transform: translateY(-2px);
}
.ot-company-tile span {
  font-size: 0.8rem;
  color: var(--ot-brown-soft);
}
.ot-company-tile em {
  font-style: normal;
  margin-top: 6px;
  color: var(--ot-gold);
  font-weight: 600;
  font-size: 0.85rem;
}

/* ==========================================================================
   Modern Professional Auth / Sign In Page
   ========================================================================== */
.ot-auth-body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: var(--ot-font-body);
  color: var(--ot-brown);
  background: var(--ot-badam, #efdecd);
  position: relative;
  overflow-x: hidden;
}

.ot-auth-bg {
  position: absolute;
  inset: 0;
  background-color: var(--ot-badam, #efdecd);
  background-image:
    radial-gradient(ellipse at 15% 18%, rgba(212, 175, 55, 0.16) 0%, transparent 45%),
    radial-gradient(ellipse at 88% 82%, rgba(92, 51, 23, 0.08) 0%, transparent 45%),
    linear-gradient(135deg, #f5e8d8 0%, #ecd8c2 50%, #e2caa8 100%);
  z-index: 0;
}

.ot-auth-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  display: none;
}

.ot-auth-topbar {
  position: relative;
  z-index: 10;
  background: rgba(239, 222, 205, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 130, 0.45);
  padding: 8px 24px;
}

.ot-auth-topbar-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: #5c3317;
}

.ot-top-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ot-top-meta i {
  color: var(--ot-gold);
}

.ot-dot-sep {
  color: rgba(198, 149, 36, 0.6);
  user-select: none;
}

.ot-visitor-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(198, 149, 36, 0.12);
  color: #4a2910;
  padding: 3px 12px;
  border-radius: 999px;
  border: 1px solid rgba(198, 149, 36, 0.3);
  font-size: 0.78rem;
}

.ot-visitor-badge i {
  color: var(--ot-gold);
}

.ot-auth-main {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
}

.ot-auth-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  max-width: 1060px;
  width: 100%;
  align-items: center;
  margin: 0 auto;
}

.ot-auth-hero {
  max-width: 520px;
}

.ot-auth-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(198, 149, 36, 0.15);
  border: 1px solid rgba(198, 149, 36, 0.4);
  color: #6e4828;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  margin-bottom: 14px;
}

.ot-auth-brand-badge i {
  color: var(--ot-gold);
}

.ot-auth-hero-title {
  font-family: var(--ot-font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  font-weight: 800;
  color: #2b1606;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}

.ot-auth-hero-tagline {
  font-size: 1.02rem;
  line-height: 1.55;
  color: #6e4828;
  margin: 0 0 24px;
  max-width: 480px;
}

.ot-auth-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.ot-auth-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(201, 168, 130, 0.35);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(70, 35, 12, 0.03);
  transition: all 0.25s ease;
}

.ot-auth-feature-item:hover {
  background: #ffffff;
  border-color: var(--ot-gold);
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(70, 35, 12, 0.06);
}

.ot-feat-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: linear-gradient(135deg, #3b220e 0%, #1a0f06 100%);
  color: #f0c75e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(36, 20, 8, 0.25);
}

.ot-auth-feature-item h6 {
  margin: 0 0 2px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #3b220e;
}

.ot-auth-feature-item p {
  margin: 0;
  font-size: 0.8rem;
  color: #7a5433;
  line-height: 1.35;
}

.ot-auth-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.ot-trust-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #5c3317;
  background: rgba(255, 255, 255, 0.65);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(201, 168, 130, 0.3);
}

.ot-trust-tag i {
  color: var(--ot-gold);
}

.ot-auth-card-wrap {
  max-width: 440px;
  width: 100%;
  justify-self: end;
}

.ot-auth-card {
  background: #ffffff;
  border: 1px solid rgba(201, 168, 130, 0.4);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(59, 34, 14, 0.09), 0 2px 8px rgba(0, 0, 0, 0.02);
  padding: 20px 24px 18px;
  position: relative;
}

.ot-auth-card-header {
  text-align: center;
  margin-bottom: 12px;
}

.ot-card-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  margin: 0 auto 8px;
  background: linear-gradient(135deg, #3b220e 0%, #1a0f06 100%);
  color: #f0c75e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(40, 22, 9, 0.25);
}

.ot-auth-card-header h2 {
  font-family: var(--ot-font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: #2b1606;
  margin: 0 0 2px;
  letter-spacing: -0.02em;
}

.ot-auth-card-header p {
  margin: 0;
  font-size: 0.85rem;
  color: #825b39;
  font-weight: 500;
}

.ot-auth-alert {
  background: #fdf2f2;
  border: 1px solid #f5c2c2;
  border-left: 4px solid #d93838;
  color: #9c1c1c;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ot-auth-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ot-form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.ot-form-row-2 .ot-input-group {
  min-width: 0;
}
.ot-form-row-2 .ot-input-wrap {
  min-width: 0;
}
.ot-form-row-2 .ot-input-wrap input {
  min-width: 0;
  width: 100%;
}
@media (max-width: 480px) {
  .ot-form-row-2 { grid-template-columns: 1fr; }
}

.ot-input-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ot-input-group label,
.ot-captcha-wrapper label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #4a2d15;
  margin: 0;
}

.ot-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: #faf7f2;
  border: 1px solid var(--ot-border);
  border-radius: 9px;
  transition: all 0.2s ease;
}

.ot-input-wrap:focus-within {
  background: #ffffff;
  border-color: var(--ot-gold);
  box-shadow: 0 0 0 3px rgba(198, 149, 36, 0.18);
}

.ot-input-icon {
  position: absolute;
  left: 12px;
  color: #9c7148;
  font-size: 0.9rem;
  pointer-events: none;
  z-index: 2;
}

.ot-input-wrap input {
  width: 100%;
  border: 0;
  background: transparent;
  outline: none;
  padding: 10px 12px 10px 36px;
  font-size: 0.92rem;
  color: #2d1808;
  font-weight: 600;
  font-family: var(--ot-font-body);
}

.ot-input-wrap:has(.ot-pw-toggle) input {
  padding-right: 44px;
}

.ot-input-wrap input::placeholder {
  color: #b09176;
  font-weight: 400;
}

.ot-pw-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  color: #9c7148;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
  z-index: 3;
  flex-shrink: 0;
  font-size: 0.95rem;
  transition: color 0.2s ease, background 0.2s ease;
}

.ot-pw-toggle:hover {
  color: #3b220e;
  background: rgba(92, 51, 23, 0.08);
}

/* Modern Captcha Layout */
.ot-captcha-wrapper {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ot-captcha-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: center;
}

.ot-captcha-img-box {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fdfbf8;
  border: 1px solid var(--ot-border);
  border-radius: 9px;
  padding: 4px 6px;
  position: relative;
  overflow: hidden;
  height: 42px;
}

.ot-captcha-img-box img {
  height: 34px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  border-radius: 4px;
  background: #ffffff;
}

.ot-captcha-reload-btn {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  border: 1px solid rgba(198, 149, 36, 0.3);
  background: #ffffff;
  color: #6e4828;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  margin-left: auto;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.ot-captcha-reload-btn:hover {
  background: var(--ot-gold);
  color: #ffffff;
  transform: rotate(-30deg);
}

.ot-captcha-input-wrap {
  position: relative;
  height: 42px;
}

.ot-captcha-input-wrap .ot-input-icon {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: #9c7148;
  font-size: 0.85rem;
  pointer-events: none;
  z-index: 2;
}

.ot-captcha-input-wrap input {
  height: 100%;
  padding: 8px 10px 8px 32px !important;
  letter-spacing: 0.12em;
  font-weight: 700;
  text-transform: uppercase;
}

.ot-auth-submit-btn {
  margin-top: 4px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #24160a 0%, #110a04 100%);
  color: #f7d583 !important;
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(36, 22, 10, 0.25);
  transition: all 0.2s ease;
  width: 100%;
}

.ot-auth-submit-btn:hover {
  transform: translateY(-1px);
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(36, 22, 10, 0.35);
  filter: brightness(1.1);
}

.ot-auth-submit-btn i {
  transition: transform 0.2s ease;
}

.ot-auth-submit-btn:hover i {
  transform: translateX(4px);
}

.ot-auth-card-footer {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(201, 168, 130, 0.4);
  text-align: center;
  font-size: 0.85rem;
  color: #7a5433;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.ot-auth-signup-link {
  color: #3b220e;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1.5px solid var(--ot-gold);
  transition: all 0.2s ease;
}

.ot-auth-signup-link:hover {
  color: var(--ot-gold);
  border-bottom-color: var(--ot-brown);
}

/* Responsive Media Queries for Auth */
@media (max-width: 991px) {
  .ot-auth-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .ot-auth-hero {
    text-align: center;
    max-width: 100%;
  }
  .ot-auth-brand-badge {
    margin: 0 auto 12px;
  }
  .ot-auth-hero-title {
    font-size: 2.2rem;
  }
  .ot-auth-hero-tagline {
    margin: 0 auto 18px;
    max-width: none;
  }
  .ot-auth-features {
    display: none;
  }
  .ot-auth-trust-row {
    justify-content: center;
  }
  .ot-auth-card-wrap {
    justify-self: center;
    max-width: 440px;
  }
}

@media (max-width: 575px) {
  .ot-auth-topbar {
    padding: 6px 14px;
  }
  .ot-top-meta span:first-child {
    display: none;
  }
  .ot-auth-card {
    padding: 20px 16px 16px;
    border-radius: 14px;
  }
  .ot-captcha-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .ot-captcha-img-box {
    justify-content: space-between;
  }
}

/* Login — fit viewport, responsive, minimal scrolling */
.ot-login-shell {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  font-family: var(--ot-font-body);
  color: var(--ot-brown);
  background: #e8d4bc;
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}
.ot-login-atmosphere {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(212, 175, 55, 0.28), transparent 35%),
    radial-gradient(circle at 85% 15%, rgba(92, 51, 23, 0.18), transparent 30%),
    linear-gradient(145deg, #f3e6d4 0%, #e4cbaa 48%, #d7b48b 100%);
  z-index: 0;
}
.ot-login-atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(92, 51, 23, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 51, 23, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 80%);
}
.ot-login-layout {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  padding: 18px 24px;
  align-items: center;
  min-height: 0;
}
.ot-login-hero { padding: 4px 8px; animation: otFadeUp 0.7s ease both; max-width: 520px; }
.ot-login-kicker {
  display: inline-block;
  margin: 0 0 8px;
  padding: 5px 10px;
  border: 1px solid rgba(92, 51, 23, 0.25);
  border-radius: 6px;
  background: rgba(255, 253, 248, 0.55);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.ot-login-brand {
  font-family: var(--ot-font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 0.95;
  margin: 0 0 10px;
  color: var(--ot-brown);
}
.ot-login-tagline {
  max-width: 440px;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ot-brown-soft);
  margin: 0 0 16px;
}
.ot-hero-visual {
  margin: 0 0 16px;
  border: 1px solid rgba(140, 90, 45, 0.22);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(255,252,246,0.8), rgba(232,205,170,0.55));
  box-shadow: 0 10px 28px rgba(70, 35, 12, 0.08);
  overflow: hidden;
  animation: otFadeUp 0.9s ease both;
}
.ot-hero-visual-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(140, 90, 45, 0.14);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ot-brown);
}
.ot-hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c0392b;
  box-shadow: 0 0 0 0 rgba(192, 57, 43, 0.45);
  animation: otPulse 1.6s ease infinite;
}
.ot-hero-live {
  margin-left: auto;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: #8a5a20;
  font-weight: 700;
}
.ot-hero-chart {
  display: block;
  width: 100%;
  height: auto;
  padding: 6px 8px 0;
}
.ot-hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(140, 90, 45, 0.14);
}
.ot-hero-metrics > div {
  padding: 10px 8px;
  text-align: center;
  border-right: 1px solid rgba(140, 90, 45, 0.12);
}
.ot-hero-metrics > div:last-child { border-right: 0; }
.ot-hero-metrics strong,
.ot-metric-val {
  display: block;
  font-family: var(--ot-font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ot-brown);
  line-height: 1.1;
}
.ot-hero-metrics span,
.ot-metric-lbl {
  display: block;
  margin-top: 3px;
  font-size: 0.7rem;
  color: var(--ot-brown-soft);
  font-weight: 500;
}
.ot-login-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.ot-login-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 252, 246, 0.55);
  border: 1px solid rgba(140, 90, 45, 0.14);
}
.ot-login-points li strong {
  display: block;
  font-size: 0.9rem;
  color: var(--ot-brown);
  margin-bottom: 2px;
}
.ot-login-points li span {
  display: block;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--ot-brown-soft);
  font-weight: 500;
}
.ot-login-points i {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--ot-black);
  color: var(--ot-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  flex-shrink: 0;
  margin-top: 1px;
}
@keyframes otPulse {
  0% { box-shadow: 0 0 0 0 rgba(192, 57, 43, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(192, 57, 43, 0); }
  100% { box-shadow: 0 0 0 0 rgba(192, 57, 43, 0); }
}
.ot-login-panel { animation: otFadeUp 0.85s ease both; max-width: 420px; width: 100%; justify-self: end; }
.ot-login-card-v2 {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(165deg, rgba(255, 252, 246, 0.97) 0%, rgba(246, 234, 214, 0.95) 100%);
  border: 1px solid rgba(140, 90, 45, 0.28);
  border-radius: 4px 14px 14px 4px;
  box-shadow: 0 14px 32px rgba(70, 35, 12, 0.12);
}
.ot-login-card-accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #d4af37 0%, #8a5a20 55%, #5c3317 100%);
}
.ot-login-card-inner {
  padding: 18px 18px 16px 22px;
}
.ot-login-card-top {
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(140, 90, 45, 0.18);
}
.ot-login-eyebrow {
  margin: 0 0 4px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a5a20;
}
.ot-login-card-top h2 {
  font-family: var(--ot-font-display);
  font-size: clamp(1.65rem, 3.5vw, 2.1rem);
  line-height: 1.05;
  margin: 0 0 4px;
  color: var(--ot-brown);
  font-weight: 700;
}
.ot-login-lead {
  margin: 0;
  color: var(--ot-brown-soft);
  font-size: 0.84rem;
  line-height: 1.35;
  max-width: 34ch;
}
.ot-login-alert {
  background: rgba(140, 40, 40, 0.08);
  color: #6e1f1f;
  border: 1px solid rgba(140, 40, 40, 0.25);
  border-left: 3px solid #9a3030;
  border-radius: 0 8px 8px 0;
  padding: 8px 10px;
  margin-bottom: 10px;
  font-size: 0.84rem;
}
.ot-login-form { display: grid; gap: 10px; }
.ot-field span,
.ot-captcha-label {
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: #6b3f22;
}
.ot-field-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(140, 90, 45, 0.28);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.72);
  padding: 0 10px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.ot-field-wrap:focus-within {
  border-color: #b8892d;
  background: #fffdf8;
}
.ot-field-wrap i { color: #9a6a3c; width: 14px; text-align: center; font-size: 0.85rem; }
.ot-password-wrap { padding-right: 4px; }
.ot-password-toggle {
  border: 0;
  background: transparent;
  color: #9a6a3c;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  line-height: 1;
}
.ot-password-toggle:hover {
  color: var(--ot-brown);
  background: rgba(92, 51, 23, 0.07);
}
.ot-field-wrap input {
  border: 0;
  outline: none;
  width: 100%;
  padding: 10px 0;
  background: transparent;
  color: var(--ot-brown);
  font-size: 0.95rem;
}
.ot-login-submit {
  margin-top: 2px;
  border: 0;
  border-radius: 7px;
  background: linear-gradient(120deg, #5c3317 0%, #8a4f1f 42%, #c49a3c 100%);
  color: #fff8e8;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 11px 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.ot-login-submit:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}
.ot-login-submit i { transition: transform 0.2s ease; }
.ot-login-submit:hover i { transform: translateX(3px); }
.ot-login-card-foot {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed rgba(140, 90, 45, 0.28);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: baseline;
  font-size: 0.84rem;
  color: var(--ot-brown-soft);
}
.ot-login-card-foot a {
  color: #5c3317;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 175, 55, 0.85);
  padding-bottom: 1px;
}
.ot-login-card-foot a:hover {
  color: #8a5a20;
  border-bottom-color: #8a5a20;
}

.ot-captcha-box { margin-top: 0; }
.ot-captcha-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px;
  grid-template-areas:
    "img refresh"
    "input input";
  gap: 8px;
  align-items: center;
  padding: 8px;
  border-radius: 7px;
  background: rgba(92, 51, 23, 0.05);
  border: 1px solid rgba(140, 90, 45, 0.16);
}
.ot-captcha-img {
  grid-area: img;
  display: block;
  border: 1px solid rgba(140, 90, 45, 0.25);
  border-radius: 5px;
  background: #f4ebe0;
  height: 58px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  object-fit: contain;
  object-position: left center;
}
.ot-captcha-refresh {
  grid-area: refresh;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  border: 1px solid rgba(140, 90, 45, 0.28);
  background: #fffdf8;
  color: var(--ot-brown);
  border-radius: 7px;
  width: 38px;
  height: 38px;
  min-width: 38px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.ot-captcha-refresh:hover {
  background: rgba(212, 175, 55, 0.25);
  transform: rotate(-20deg);
}

@keyframes otFadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Landing top bar / footer */
.ot-landing-topbar {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  background: #1a1208;
  color: #f0c75e;
  border-bottom: 2px solid var(--ot-gold);
  font-size: 0.82rem;
}
.ot-landing-topbar-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 6px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 10px;
}
.ot-topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.ot-topbar-item i {
  color: var(--ot-gold-bright);
  opacity: 0.9;
}
.ot-topbar-item strong {
  color: #fff8e7;
  font-weight: 600;
}
.ot-topbar-sep {
  color: rgba(212, 175, 55, 0.55);
  user-select: none;
}
.ot-landing-footer {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  background: rgba(26, 18, 8, 0.92);
  color: #f0c75e;
  border-top: 2px solid var(--ot-gold);
  font-size: 0.8rem;
}
.ot-landing-footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 6px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 10px;
}
.ot-landing-footer strong {
  color: #fff8e7;
}

@media (max-width: 900px) {
  .ot-login-layout {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px 14px 14px;
    align-content: start;
  }
  .ot-login-panel {
    justify-self: stretch;
    max-width: none;
  }
  .ot-login-hero {
    text-align: left;
    padding: 0;
    max-width: none;
  }
  .ot-login-tagline {
    margin-bottom: 10px;
    font-size: 0.9rem;
  }
  .ot-login-points {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .ot-login-brand {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
  }
  .ot-hero-metrics strong { font-size: 1rem; }
  .ot-landing-topbar-inner,
  .ot-landing-footer-inner {
    font-size: 0.74rem;
    justify-content: center;
    padding: 5px 10px;
  }
}

@media (max-width: 600px) {
  .ot-login-points { display: none; }
  .ot-login-tagline { font-size: 0.86rem; margin-bottom: 10px; }
  .ot-login-kicker { margin-bottom: 6px; font-size: 0.66rem; }
  .ot-login-card-inner { padding: 14px 14px 12px 16px; }
  .ot-login-lead { display: none; }
  .ot-login-card-top { margin-bottom: 10px; padding-bottom: 8px; }
  .ot-login-form { gap: 8px; }
  .ot-hero-chart { max-height: 110px; }
  .ot-landing-footer { display: none; }
}

/* Short desktop: keep left visual, trim feature copy */
@media (max-height: 780px) and (min-width: 901px) {
  .ot-login-layout { padding-top: 10px; padding-bottom: 10px; gap: 14px; }
  .ot-login-points li span { display: none; }
  .ot-login-points li { align-items: center; padding: 8px 10px; }
  .ot-login-lead { display: none; }
  .ot-login-card-inner { padding: 12px 14px 10px 16px; }
  .ot-login-form { gap: 7px; }
  .ot-field-wrap input { padding: 8px 0; }
  .ot-login-submit { padding: 10px 12px; }
  .ot-landing-footer { display: none; }
  .ot-hero-chart { max-height: 120px; }
}

@media (max-height: 680px) and (min-width: 901px) {
  .ot-login-points { display: none !important; }
  .ot-login-tagline { display: none; }
  .ot-metric-lbl { display: none; }
}

@media (max-height: 640px) and (max-width: 900px) {
  .ot-hero-visual { display: none; }
  .ot-login-tagline { display: none; }
  .ot-login-layout {
    align-content: center;
    padding: 8px 12px;
  }
}

/* Video Play Report layout + access-log grid */
.ot-va-left .ot-card { margin-bottom: 12px; }
.ot-va-left .ot-card:last-child { margin-bottom: 0; }
.ot-va-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.ot-va-split > div:first-child {
  border-right: 1px solid var(--ot-border);
}
.ot-va-split .ot-mini-head {
  padding: 6px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ot-brown-soft);
  background: rgba(92, 51, 23, 0.04);
  border-bottom: 1px solid var(--ot-border);
}
.ot-grid-toolbar {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--ot-border);
}
.ot-grid-toolbar label {
  margin: 0;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--ot-brown);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.ot-grid-toolbar select,
.ot-grid-toolbar input[type="search"] {
  border: 1px solid var(--ot-border);
  border-radius: 6px;
  background: #fffdf8;
  color: var(--ot-brown);
  height: 32px;
  padding: 2px 8px;
  outline: none;
}
.ot-grid-toolbar input[type="search"] {
  width: 220px;
  max-width: 42vw;
}
.ot-grid-toolbar select:focus,
.ot-grid-toolbar input[type="search"]:focus {
  border-color: var(--ot-gold);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.25);
}
.ot-grid-clip {
  max-width: 160px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ot-grid-foot {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-top: 1px solid var(--ot-border);
}
.ot-grid-info {
  font-size: 0.8rem;
  color: var(--ot-brown-soft);
  white-space: nowrap;
}
.ot-grid-pager {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.ot-pager-btn {
  min-width: 32px;
  height: 30px;
  padding: 0 8px;
  border: 1px solid var(--ot-border);
  border-radius: 5px;
  background: #fffdf8;
  color: var(--ot-brown);
  font-size: 0.8rem;
  cursor: pointer;
}
.ot-pager-btn:hover:not(:disabled) {
  border-color: var(--ot-gold);
  background: var(--ot-badam-deep);
}
.ot-pager-btn.is-active {
  background: var(--ot-brown);
  border-color: var(--ot-brown);
  color: #fff8e8;
}
.ot-pager-btn:disabled {
  opacity: 0.45;
  cursor: default;
}
.ot-count-btn {
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--ot-brown);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--ot-gold);
  cursor: pointer;
  line-height: inherit;
}
.ot-count-btn:hover {
  color: var(--ot-brown-soft);
}
#ot-detail-modal .modal-content {
  background: var(--ot-card);
  border: 1px solid var(--ot-border);
  color: var(--ot-brown);
}
#ot-detail-modal .modal-header,
#ot-detail-modal .modal-footer {
  border-color: var(--ot-border);
}
#ot-detail-modal .modal-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ot-brown);
}
#ot-pcr-spot-modal .modal-content {
  background: var(--ot-card);
  border: 1px solid var(--ot-border);
  color: var(--ot-brown);
}
#ot-pcr-spot-modal .modal-header,
#ot-pcr-spot-modal .modal-footer {
  border-color: var(--ot-border);
}
#ot-pcr-spot-modal .modal-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ot-brown);
}
#ot-pcr-spot-modal .ot-pcr-toolbar .form-control {
  max-width: 280px;
}
#ot-pcr-spot-modal th.ot-pcr-sort {
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
  padding: 10px 14px 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b4423;
  background: rgba(92, 51, 23, 0.08);
  border-top: 1px solid var(--ot-border);
}
.ot-pcr-spot-hist-row {
  opacity: 0.58;
  background: rgba(92, 51, 23, 0.05);
  pointer-events: none;
}
.ot-pcr-spot-hist-row td {
  color: #6b4423;
}

/* PCR module */
.ot-pcr-up { color: #2e7d32 !important; font-weight: 700; }
.ot-pcr-down { color: #b71c1c !important; font-weight: 700; }
.ot-pcr-insights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 8px;
}
.ot-pcr-insight {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  text-align: left;
  background: var(--ot-card);
  border: 1px solid var(--ot-border);
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
  font: inherit;
  color: inherit;
  min-height: 78px;
}
.ot-pcr-insight:hover:not(:disabled) {
  box-shadow: 0 8px 18px rgba(92, 51, 23, 0.08);
}
.ot-pcr-insight:disabled {
  cursor: default;
  opacity: 0.7;
}
.ot-pcr-insight.is-on {
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.45);
}
.ot-pcr-insight.is-gainer { border-left: 4px solid #2e7d32; }
.ot-pcr-insight.is-loser { border-left: 4px solid #b71c1c; }
.ot-pcr-insight.is-put { border-left: 4px solid #1565c0; }
.ot-pcr-insight.is-call { border-left: 4px solid #c9a227; }
.ot-pcr-insight-kicker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ot-brown-soft);
}
.ot-pcr-insight-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ot-brown);
  line-height: 1.2;
  word-break: break-word;
}
.ot-pcr-insight-metric {
  font-size: 0.84rem;
  font-weight: 600;
}
.ot-pcr-insight-metric small {
  margin-left: 6px;
  font-weight: 600;
  opacity: 0.75;
}
.ot-pcr-tilt {
  font-size: 0.8rem;
  color: var(--ot-brown-soft);
  margin: 0 0 14px;
}
@media (max-width: 991.98px) {
  .ot-pcr-insights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.ot-pcr-filter-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.ot-pcr-filter-btn {
  border: 1px solid var(--ot-border);
  background: #fffdf8;
  color: var(--ot-brown);
  border-radius: 16px;
  height: 30px;
  padding: 0 10px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  line-height: 28px;
}
.ot-pcr-filter-btn small {
  margin-left: 4px;
  font-weight: 700;
  opacity: 0.8;
}
.ot-pcr-filter-btn[data-filter="spot"]:not(.is-on) { background: #fff4cc; }
.ot-pcr-filter-btn[data-filter="chg"]:not(.is-on) { background: #e3f4ff; }
.ot-pcr-filter-btn[data-filter="ratio"]:not(.is-on) { background: #e8f8dc; }
.ot-pcr-filter-btn[data-filter="all3"]:not(.is-on) { background: #f6e4b8; }
.ot-pcr-filter-btn.is-on {
  background: var(--ot-brown);
  color: #fff8e8;
  border-color: var(--ot-brown);
}
.ot-pcr-filter-btn.is-on small {
  opacity: 1;
}
.ot-pcr-filter-btn.ot-pcr-clear-btn {
  background: #fff;
  border-style: dashed;
  color: var(--ot-brown);
}
.ot-pcr-filter-btn.ot-pcr-clear-btn:hover:not(:disabled) {
  background: #f4eee4;
}
.ot-pcr-filter-btn.ot-pcr-clear-btn:disabled {
  opacity: 0.4;
  cursor: default;
}
.ot-pcr-hl-spot,
.ot-pcr-hl-spot input.ot-pcr-val {
  background: #ffe08a !important;
}
.ot-pcr-hl-chg,
.ot-pcr-hl-chg input.ot-pcr-val {
  background: #b9e4ff !important;
}
.ot-pcr-hl-ratio,
.ot-pcr-hl-ratio input.ot-pcr-val {
  background: #c8efb0 !important;
}
.ot-pcr-table tbody tr.ot-pcr-hit td {
  background-color: rgba(212, 175, 55, 0.12);
}
.ot-pcr-preview-form .ot-pcr-edit-table tbody tr.ot-pcr-hit .ot-pcr-sticky-check,
.ot-pcr-preview-form .ot-pcr-edit-table tbody tr.ot-pcr-hit .ot-pcr-sticky-name {
  background: #f6e4b8;
}
.table.ot-pcr-table {
  font-size: 0.78rem;
  white-space: nowrap;
}
.table.ot-pcr-table thead th {
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}
.ot-pcr-preview-form .ot-pcr-hscroll {
  overflow-x: auto;
  overflow-y: hidden;
  height: 16px;
  background: rgba(255, 253, 248, 0.7);
  border-bottom: 1px solid var(--ot-border);
}
#ot-pcr-scroll-bot {
  border-bottom: 0;
  border-top: 1px solid var(--ot-border);
}
.ot-pcr-preview-form .ot-pcr-hscroll-spacer {
  height: 1px;
}
.ot-pcr-preview-form .ot-pcr-grid-wrap {
  overflow-x: auto;
  overflow-y: visible;
  max-width: 100%;
  scrollbar-width: none;
}
.ot-pcr-preview-form .ot-pcr-grid-wrap::-webkit-scrollbar {
  height: 0;
  display: none;
}
.ot-pcr-preview-form .table.ot-pcr-edit-table {
  width: max-content;
  min-width: 0;
  max-width: none;
  table-layout: auto;
  border-collapse: separate;
  border-spacing: 0;
}
.ot-pcr-preview-form .ot-pcr-edit-table th,
.ot-pcr-preview-form .ot-pcr-edit-table td {
  padding: 3px 4px;
  width: 1%;
  white-space: nowrap;
  vertical-align: middle;
}
.ot-pcr-preview-form .ot-pcr-table input:not([type="checkbox"]) {
  width: 64px;
  max-width: 64px;
  height: 28px;
  padding: 2px 4px;
  font-size: 0.75rem;
  border: 1px solid var(--ot-border);
  border-radius: 4px;
  background: #fffdf8;
  color: var(--ot-brown);
  box-sizing: border-box;
}
.ot-pcr-select-th {
  white-space: nowrap;
}
.ot-pcr-select-all-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  cursor: pointer;
  color: var(--ot-brown);
}
.ot-pcr-preview-form .ot-pcr-edit-table .ot-pcr-sticky-check,
.ot-pcr-preview-form .ot-pcr-edit-table .ot-pcr-sticky-name {
  position: sticky;
  z-index: 3;
  background: var(--ot-card);
}
.ot-pcr-preview-form .ot-pcr-edit-table .ot-pcr-sticky-check {
  left: 0;
  box-sizing: border-box;
  width: 52px;
  min-width: 52px;
  max-width: 52px;
  text-align: center;
  padding-left: 12px;
  padding-right: 14px;
}
.ot-pcr-preview-form .ot-pcr-edit-table .ot-pcr-sticky-name {
  left: 52px;
  min-width: 132px;
  padding-left: 10px;
  box-shadow: 6px 0 10px rgba(92, 51, 23, 0.12);
}
.ot-pcr-preview-form .ot-pcr-edit-table thead .ot-pcr-sticky-check,
.ot-pcr-preview-form .ot-pcr-edit-table thead .ot-pcr-sticky-name {
  z-index: 5;
  background: var(--ot-badam-deep);
}
.ot-pcr-preview-form .ot-pcr-edit-table tbody tr:hover .ot-pcr-sticky-check,
.ot-pcr-preview-form .ot-pcr-edit-table tbody tr:hover .ot-pcr-sticky-name {
  background: #efe0cc;
}
.ot-pcr-preview-form .ot-pcr-edit-table tbody tr:hover {
  cursor: default;
}
.ot-pcr-preview-form .ot-pcr-table input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.ot-pcr-preview-form .ot-pcr-table input.ot-pcr-val[data-field="symbol"] {
  width: 124px;
  max-width: 124px;
}
.ot-pcr-preview-form .ot-pcr-table input.ot-pcr-val[data-field="oi_str"],
.ot-pcr-preview-form .ot-pcr-table input.ot-pcr-val[data-field="coi_str"] {
  width: 56px;
  max-width: 56px;
}
.ot-pcr-history .list-group-item {
  background: var(--ot-card);
  color: var(--ot-brown);
  border-color: var(--ot-border);
}
.ot-pcr-history .list-group-item:hover {
  background: rgba(92, 51, 23, 0.06);
  color: var(--ot-brown);
}
.ot-pcr-history .list-group-item.active {
  background: var(--ot-brown);
  border-color: var(--ot-brown);
  color: #fff8e8;
}
.ot-pcr-history .list-group-item.active small {
  color: rgba(255, 248, 232, 0.85);
}
.ot-pcr-files-active {
  background: rgba(92, 51, 23, 0.06);
}
.ot-pcr-file-actions .btn {
  margin: 0 2px 2px 0;
}
.ot-pcr-upload-form .form-control-file {
  padding-top: 6px;
}
.ot-pcr-edit-meta {
  font-size: 0.82rem;
  color: var(--ot-brown-soft);
  margin: 0;
}
.ot-pcr-preview-form .form-group {
  margin-bottom: 0.75rem;
}
.ot-pcr-edit-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--ot-border);
}
.ot-pcr-edit-actions-main,
.ot-pcr-edit-actions-danger {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.ot-pcr-edit-actions .btn {
  min-width: 132px;
  height: 38px;
  padding: 6px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
.ot-pcr-table thead th.ot-pcr-sort {
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
.ot-pcr-table thead th.ot-pcr-sort:hover {
  color: var(--ot-gold);
}
.ot-pcr-sort-ind {
  font-size: 0.65rem;
  opacity: 0.35;
  margin-left: 2px;
}
.ot-pcr-table thead th.is-sorted .ot-pcr-sort-ind {
  opacity: 1;
  color: var(--ot-gold);
}
.ot-pcr-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--ot-border);
  background: rgba(255, 253, 248, 0.6);
}
.ot-pcr-toolbar .form-control {
  max-width: 260px;
  height: 34px;
  font-size: 0.85rem;
}
.ot-pcr-toolbar .custom-select {
  max-width: 120px;
  height: 34px;
  font-size: 0.85rem;
}
.ot-pcr-toolbar .custom-select.ot-status-filter {
  max-width: 210px;
}
.ot-pcr-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  border-top: 1px solid var(--ot-border);
}
.ot-pcr-pager-btns .btn {
  min-width: 34px;
  margin: 0 2px 2px 0;
}
.ot-pcr-pager-btns .btn.is-current {
  background: var(--ot-brown);
  color: #fff8e8;
  border-color: var(--ot-brown);
}

/* Master — Company Windows & Form Styling */
.ot-master-form-card {
  border: 1px solid var(--ot-border);
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(70, 35, 12, 0.04);
  background: #ffffff;
}

.ot-master-form-card .card-header {
  background: rgba(92, 51, 23, 0.03);
  border-bottom: 1px solid var(--ot-border);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ot-brown);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ot-master-form-card.is-editing {
  border-color: var(--ot-gold);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.35);
}

#ot-yp-windows {
  scroll-margin-top: 16px;
}

.ot-master-form .form-group label {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ot-brown);
  margin-bottom: 4px;
}

.ot-title-input-wrap {
  position: relative;
}

.ot-title-custom-dropdown {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  right: 0;
  z-index: 1060;
  background: #ffffff;
  border: 1px solid var(--ot-gold);
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(50, 30, 10, 0.15);
  max-height: 220px;
  overflow-y: auto;
}

.ot-title-dropdown-item {
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ot-brown);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(220, 205, 185, 0.35);
  transition: all 0.12s ease;
}

.ot-title-dropdown-item:last-child {
  border-bottom: none;
}

.ot-title-dropdown-item:hover,
.ot-title-dropdown-item.is-active {
  background: rgba(212, 175, 55, 0.15);
  color: #7a4b12;
}

.ot-title-dropdown-item .ot-item-badge {
  font-size: 0.72rem;
  background: rgba(92, 51, 23, 0.08);
  padding: 2px 7px;
  border-radius: 999px;
  font-weight: 500;
}

.ot-title-dropdown-empty {
  padding: 10px 14px;
  font-size: 0.82rem;
  color: var(--ot-brown-soft);
  font-style: italic;
  text-align: center;
}

.ot-master-stats-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(92, 51, 23, 0.06);
  border: 1px solid rgba(201, 168, 130, 0.35);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ot-brown);
}

/* Master — Companies */
.ot-master-form .form-group {
  margin-bottom: 0.5rem;
}
.ot-symbol-input {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}
.ot-master-table thead th.ot-pcr-sort {
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
.ot-master-table thead th.ot-pcr-sort:hover,
.ot-master-table thead th.is-sorted {
  color: var(--ot-gold);
}
.ot-master-table thead th.is-sorted .ot-pcr-sort-ind {
  opacity: 1;
  color: var(--ot-gold);
}
.ot-master-table tbody tr.is-editing {
  background: rgba(212, 175, 55, 0.16);
}
.ot-master-table tbody tr:hover {
  cursor: default;
}
.ot-master-table {
  width: 100%;
}
.ot-master-table th,
.ot-master-table td {
  vertical-align: middle !important;
}
.ot-master-actions {
  white-space: nowrap;
  width: 1%;
}
.ot-master-actions .btn {
  margin: 0 2px 2px 0;
  padding: 3px 8px;
  font-size: 0.78rem;
  font-weight: 600;
}
.ot-co-slno-th,
.ot-co-slno {
  width: 70px;
  text-align: center;
  white-space: nowrap;
}
.ot-plan-companies {
  max-height: 150px;
  overflow: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 2px 12px;
  padding: 8px 10px;
  border: 1px solid var(--ot-border);
  border-radius: 6px;
  background: #fffdf8;
}
.ot-plan-companies .form-check {
  margin: 0;
  min-height: 0;
  padding-left: 1.4rem;
}
.ot-plan-section,
.ot-plan-section {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--ot-border, #e6d5b8);
}
.ot-plan-section-head,
.ot-plan-section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 0.4rem;
}
.ot-plan-section-head label,
.ot-plan-section-head label {
  font-weight: 600;
}
.ot-plan-pick,
.ot-plan-pick {
  max-height: 220px;
  overflow: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 2px 12px;
  padding: 8px 10px;
  border: 1px solid var(--ot-border, #e6d5b8);
  border-radius: 6px;
  background: #fffdf8;
}
.ot-plan-pick .form-check,
.ot-plan-pick .form-check {
  margin: 0;
  min-height: 0;
  padding-left: 1.4rem;
}
.ot-master-tabs {
  border-bottom: 1px solid #c9a882;
  padding: 8px 12px 0;
  background: rgba(255, 253, 248, 0.55);
  flex-wrap: wrap;
  margin-bottom: 0;
}
.ot-master-tabs .nav-link {
  color: #5c3317;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  font-weight: 600;
  padding: 0.55rem 0.9rem;
  background: transparent;
}
.ot-master-tabs .nav-link:hover {
  color: #6b4423;
  border-bottom-color: #d4af37;
}
.ot-master-tabs .nav-link.active {
  color: #5c3317;
  background: transparent;
  border-color: transparent;
  border-bottom-color: #d4af37;
}

/* CNBC news panels */
.ot-news-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding: 0.35rem 0.15rem 0.85rem;
  border-bottom: 2px solid var(--ot-border);
}
.ot-news-hero-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.85rem;
  font-weight: 700;
  color: #5c3317;
  margin: 0;
}
.ot-news-hero-title i {
  color: var(--ot-gold);
  margin-right: 0.35rem;
}
.ot-news-hero-sub {
  color: #6b4423;
  font-size: 0.92rem;
  margin-top: 0.2rem;
}
.ot-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.9rem;
  margin-bottom: 1.15rem;
}
.ot-news-card,
.ot-news-history-item {
  background: var(--ot-card);
  border: 1px solid var(--ot-border);
  border-radius: 8px;
  padding: 0.95rem 1.05rem 1rem;
}
.ot-news-card {
  box-shadow: 0 1px 0 rgba(212, 175, 55, 0.18);
}
.ot-news-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}
.ot-news-panel-no {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b4423;
  background: rgba(212, 175, 55, 0.22);
  border: 1px solid var(--ot-border);
  border-radius: 999px;
  padding: 0.12rem 0.55rem;
}
.ot-news-when {
  font-size: 0.78rem;
  color: #8a6a4a;
  white-space: nowrap;
}
.ot-news-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ot-gold);
  margin-bottom: 0.2rem;
}
.ot-news-headline {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.28rem;
  font-weight: 700;
  color: #3d2412;
  margin: 0 0 0.45rem;
  line-height: 1.25;
}
.ot-news-headline-sm {
  font-size: 1.08rem;
}
.ot-news-body {
  font-size: 0.94rem;
  color: #4a3424;
  margin-bottom: 0.5rem;
}
.ot-news-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: #6b4423;
}
.ot-news-link:hover {
  color: #3d2412;
}
.ot-news-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  margin: 0.35rem 0 0.55rem;
  background: #1a120c;
  border: 1px solid var(--ot-border);
  border-radius: 6px;
  overflow: hidden;
}
.ot-news-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.ot-news-history-card .card-header {
  font-weight: 700;
}
.ot-news-history-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ot-news-history-item {
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  background: #fffdf8;
}
.ot-news-history-item:last-child {
  border-bottom: 0;
}

.ot-combo {
  position: relative;
}
.ot-combo-list {
  position: absolute;
  z-index: 30;
  left: 0;
  right: 0;
  top: 100%;
  max-height: 320px;
  overflow: auto;
  background: #fffdf8;
  border: 1px solid var(--ot-border);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 8px 18px rgba(92, 51, 23, 0.12);
}
.ot-combo-group {
  padding: 0.35rem 0.7rem 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8a6a4a;
  background: rgba(201, 168, 130, 0.18);
  pointer-events: none;
}
.ot-combo-group.is-active-group {
  color: #2f6b3a;
  background: rgba(46, 125, 50, 0.12);
}
.ot-combo-group.is-inactive-group {
  color: #7a4a28;
  background: rgba(139, 90, 43, 0.12);
}
.ot-combo-item {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: #5c3317;
  padding: 0.4rem 0.7rem;
  font-size: 0.9rem;
}
.ot-combo-item:hover,
.ot-combo-item:focus,
.ot-combo-item.is-active {
  background: rgba(212, 175, 55, 0.22);
  outline: 0;
}
.ot-combo-empty {
  padding: 0.5rem 0.7rem;
  color: #8a6a4a;
  font-size: 0.85rem;
}
.ot-combo-info {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 0.3rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #8a6a4a;
  background: #f6efe2;
  border-bottom: 1px solid var(--ot-border);
  pointer-events: none;
}
.ot-combo-item.is-selected {
  font-weight: 700;
  box-shadow: inset 3px 0 0 #c48a1a;
}
.ot-combo-item.is-selected::after {
  content: "\2713";
  float: right;
  color: #2e7d32;
}
.ot-combo-hit {
  padding: 0;
  background: rgba(255, 213, 74, 0.65);
  color: inherit;
  font-weight: 700;
  border-radius: 2px;
}

/* In-app Trade View browser */
body.ot-trade-view-page .content-header {
  display: none;
}
body.ot-trade-view-page .main-footer {
  display: none;
}
body.ot-trade-view-page .content-wrapper.ot-content {
  background: #1a1510 !important;
}
body.ot-trade-view-page .ot-content::before {
  display: none;
}
body.ot-trade-view-page .content {
  padding: 0 !important;
  margin: 0 !important;
}
body.ot-trade-view-page .content > .container-fluid {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none;
}
.ot-browser {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 57px);
  min-height: 480px;
  background: #111;
}
.ot-browser-bar {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
  padding: 0.4rem 0.65rem;
  background: linear-gradient(180deg, #2a2118 0%, #1c1611 100%);
  border-bottom: 1px solid rgba(198, 149, 36, 0.35);
}
.ot-browser-btns {
  display: flex;
  gap: 0.3rem;
}
.ot-browser-tabs {
  display: flex;
  align-items: stretch;
  gap: 4px;
  flex-shrink: 0;
}
.ot-browser-tab {
  border: 1px solid rgba(198, 149, 36, 0.35);
  background: #2a2118;
  color: #d4b48a;
  border-radius: 6px;
  height: 34px;
  padding: 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.ot-browser-tab.is-active {
  background: #f0c75e;
  color: #1a140c;
  border-color: #f0c75e;
}
.ot-browser-tab .fa-lock {
  font-size: 0.72rem;
}
.ot-browser-btn,
.ot-browser-go {
  border: 1px solid rgba(198, 149, 36, 0.4);
  background: #3b2a18;
  color: #f0c75e;
  border-radius: 6px;
  height: 34px;
  min-width: 34px;
  padding: 0 0.65rem;
  cursor: pointer;
}
.ot-browser-btn:hover,
.ot-browser-go:hover {
  background: #4a351e;
}
.ot-browser-addr {
  flex: 1;
  display: flex;
  align-items: center;
  min-width: 0;
  background: #0f0d0b;
  border: 1px solid rgba(201, 168, 130, 0.35);
  border-radius: 8px;
  overflow: hidden;
  height: 34px;
}
.ot-browser-lock {
  color: #6fcf97;
  padding: 0 0.55rem;
  font-size: 0.8rem;
}
.ot-browser-title {
  color: #efe6d8;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.ot-browser-badge {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 600;
  color: #d4b48a;
  white-space: nowrap;
}
.ot-browser-frame {
  flex: 1;
  width: 100%;
  border: 0;
  background: #fff;
}
@media (max-width: 767.98px) {
  .ot-browser-badge {
    display: none;
  }
  .ot-browser-addr {
    display: none;
  }
}

/* ==========================================================================
   Mobile app shell
   ========================================================================== */
html {
  -webkit-text-size-adjust: 100%;
}
.ot-app-tabbar,
.ot-nav-scrim {
  display: none;
}
@media (max-width: 991.98px) {
  :root {
    --ot-font-base: 100%;
    --ot-tabbar-h: calc(56px + env(safe-area-inset-bottom, 0px));
  }
  html, body.ot-body.ot-app {
    overflow-x: hidden;
    max-width: 100%;
  }
  body.ot-body.ot-app {
    padding-bottom: 0;
  }
  body.ot-nav-locked {
    overflow: hidden;
  }
  .main-header.ot-navbar {
    padding-top: env(safe-area-inset-top, 0px);
    min-height: calc(52px + env(safe-area-inset-top, 0px));
  }
  .ot-navbar .nav-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.7rem;
  }
  .ot-brand-text {
    max-width: min(58vw, 240px);
    font-size: 0.95rem;
    gap: 4px;
  }
  .ot-brand-text .ot-app-ver,
  .ot-navbar .ot-role-pill,
  .ot-nav-logout-text {
    display: none;
  }
  .ot-user-chip {
    padding-left: 0.35rem;
    padding-right: 0.35rem;
  }
  .ot-user-chip-name {
    display: none;
  }
  .layout-fixed .content-wrapper.ot-content,
  .content-wrapper.ot-content {
    margin-left: 0 !important;
    padding-bottom: calc(var(--ot-tabbar-h) + 8px) !important;
  }
  .content-header {
    padding: 8px 0 0;
  }
  .ot-page-title {
    font-size: 1.2rem;
    margin-bottom: 0;
  }
  .content-wrapper .content .container-fluid {
    padding-left: 10px;
    padding-right: 10px;
  }
  .main-footer.ot-footer {
    display: none;
  }
  .ot-app-tabbar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1045;
    height: var(--ot-tabbar-h);
    padding: 4px 6px env(safe-area-inset-bottom, 0px);
    background: rgba(18, 16, 14, 0.96);
    border-top: 1px solid rgba(240, 199, 94, 0.35);
    box-shadow: 0 -8px 24px rgba(18, 16, 14, 0.28);
    justify-content: space-around;
    align-items: stretch;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }
  .ot-app-tab {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 0;
    min-height: 44px;
    border: 0;
    background: transparent;
    color: #d7c4a8;
    text-decoration: none;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    border-radius: 10px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
  .ot-app-tab i {
    font-size: 1.12rem;
    color: #f0c75e;
  }
  .ot-app-tab.is-active {
    color: #fff8e8;
    background: rgba(240, 199, 94, 0.16);
  }
  .ot-app-tab.is-active i {
    color: #ffe28a;
  }
  .ot-nav-scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1035;
    background: rgba(18, 16, 14, 0.45);
  }
  .ot-nav-scrim[hidden] {
    display: none !important;
  }
  body.ot-app .main-sidebar.ot-sidebar {
    padding-top: env(safe-area-inset-top, 0px);
    z-index: 1040;
  }
  .ot-dash-tabs {
    width: 100%;
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }
  .ot-dash-tabs::-webkit-scrollbar {
    display: none;
  }
  .ot-dash-tabs .nav-item {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }
  .ot-dash-tabs .nav-link {
    min-height: 40px;
    padding: 8px 12px;
    white-space: nowrap;
  }
  .ot-panel-title {
    white-space: normal;
  }
  .ot-yt-embed,
  .ot-yt-panel iframe,
  .ot-card img,
  .table-responsive {
    max-width: 100%;
  }
  .ot-content .card,
  .ot-content .ot-yt-panel,
  .ot-content .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .ot-content input,
  .ot-content select,
  .ot-content textarea,
  .ot-auth-body input,
  .ot-auth-body select {
    font-size: 16px !important;
  }
  .btn, .ot-btn-fullscreen, .nav-link, .ot-aot-tile, .ot-aot-preview-btn {
    touch-action: manipulation;
  }
  .ot-aot-preview-embed {
    height: min(62vh, 480px) !important;
    min-height: 360px !important;
  }
  .ot-aot-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .ot-user-dash-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .ot-user-dash-filter {
    max-width: none;
  }
  .ot-top-bar .ot-top-right {
    width: 100%;
  }
  .ot-top-bar .ot-top-right .btn {
    width: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
  }
  .ot-admin-dash {
    padding-bottom: calc(var(--ot-tabbar-h) + 20px);
  }
  .ot-admin-dash > .row {
    margin-left: -6px;
    margin-right: -6px;
  }
  .ot-admin-dash > .row > [class*="col-"] {
    padding-left: 6px;
    padding-right: 6px;
  }
  .ot-admin-dash .ot-stat-card {
    gap: 8px;
    padding: 10px 8px;
    margin-bottom: 10px;
    min-height: 0;
    border-radius: 12px;
  }
  .ot-admin-dash .ot-stat-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 0.95rem;
  }
  .ot-admin-dash .ot-stat-value {
    font-size: 1.35rem;
  }
  .ot-admin-dash .ot-stat-label {
    font-size: 0.62rem;
    letter-spacing: 0.01em;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .ot-admin-dash .card.ot-card {
    margin-bottom: 12px;
  }
  .ot-admin-dash .card.ot-card .card-header,
  .ot-admin-dash .ot-admin-card-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 10px 12px;
    font-size: 0.88rem;
    line-height: 1.3;
  }
  .ot-admin-dash .ot-admin-card-head small {
    font-size: 0.72rem;
  }
  .ot-admin-dash .table th,
  .ot-admin-dash .table td {
    font-size: 0.75rem;
    white-space: nowrap;
    padding: 8px 10px;
    vertical-align: middle;
  }
  .ot-admin-dash .ot-quick-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 8px;
  }
  .ot-admin-dash .ot-quick-link {
    justify-content: center;
    text-align: center;
    font-size: 0.78rem;
    padding: 10px 8px;
    border-radius: 12px;
  }
}

@media (max-width: 575.98px) {
  .ot-aot-tiles {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .ot-auth-hero {
    display: none;
  }
  .ot-auth-container {
    grid-template-columns: 1fr !important;
    padding: 12px 12px 20px;
    gap: 0;
  }
  .ot-auth-card-wrap {
    max-width: none !important;
    width: 100%;
  }
  .ot-auth-card {
    border-radius: 18px;
    box-shadow: 0 12px 40px rgba(36, 22, 10, 0.16);
  }
  .ot-auth-topbar {
    padding-top: calc(8px + env(safe-area-inset-top, 0px));
  }
  .ot-auth-body {
    min-height: 100dvh;
  }
}

@media (display-mode: standalone) {
  .main-header.ot-navbar {
    padding-top: env(safe-area-inset-top, 0px);
  }
}

/* AA tab: PI Index (AI Gamma Levels) panel under each tile */
.ot-aot-tile.is-aa,
.ot-aot-tile.is-aa .ot-aot-tile-face {
  height: auto;
  overflow: visible;
}
.ot-aot-tile.is-aa {
  overflow: hidden;
}
.ot-aot-tile.is-aa .ot-aot-tile-face {
  justify-content: flex-start;
  padding: 14px 10px 16px;
}
.ot-aa-gamma {
  position: relative;
  z-index: 6;
  align-self: stretch;
  margin: 10px 0 4px;
  text-align: left;
  padding: 0;
  border-radius: 6px;
  overflow: hidden;
  background: #1a1a1a;
  box-shadow: 0 0 0 1px #6b6b6b, 0 4px 10px rgba(0, 0, 0, 0.25);
  color: #fff;
  font-size: 10.5px;
  line-height: 1.3;
}
.ot-aa-gamma.is-wait,
.ot-aa-gamma.is-empty {
  text-align: center;
  font-weight: 700;
  color: #c9c9c9;
  padding: 8px;
}
.ot-aa-gt {
  width: 100%;
  border-collapse: collapse;
}
.ot-aa-gt thead th {
  background: #1a1a1a;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: left;
  padding: 4px 8px;
  border-bottom: 1px solid #555;
}
.ot-aa-gt tbody th,
.ot-aa-gt tbody td {
  background: #2a2a2a;
  padding: 3px 8px;
  border-bottom: 1px solid #3a3a3a;
  vertical-align: baseline;
}
.ot-aa-gt tbody tr:last-child th,
.ot-aa-gt tbody tr:last-child td {
  border-bottom: 0;
}
.ot-aa-gt tbody th {
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  padding-right: 4px;
  text-align: left;
}
.ot-aa-gt tbody th i {
  width: 12px;
  font-size: 9px;
  text-align: center;
}
.ot-aa-gt td {
  text-align: right;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.ot-aa-gt td small {
  display: block;
  font-weight: 600;
  color: #a8a8a8;
  font-size: 8.5px;
}
.ot-aa-gt .flip { color: #ffa500; }
.ot-aa-gt .bear { color: #ff3b3b; }
.ot-aa-gt .bull { color: #39ff14; }
.ot-aa-gt .zone { color: #00e5ff; }
.ot-aa-gt .act { color: #c77dff; }
.ot-aa-gt .muted { color: #9a9a9a; }
.ot-aa-gt tr.ot-aa-sig td {
  font-size: 9.5px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  padding: 4px 6px;
}
.ot-aa-gt tr.ot-aa-sig.bull td { background: rgba(31, 138, 58, 0.85); }
.ot-aa-gt tr.ot-aa-sig.bear td { background: rgba(198, 40, 40, 0.85); }
.ot-aa-foot {
  padding: 3px 6px;
  background: #1a1a1a;
  text-align: center;
  font-size: 8.5px;
  font-weight: 600;
  color: #a8a8a8;
}

/* ===== Admin dashboard ===== */
.ot-ad { --ad-radius: 16px; --ad-shadow: 0 6px 22px rgba(59, 34, 14, 0.08); font-family: var(--ot-font-body); }
.ot-ad-hero {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  padding: 22px 26px; margin-bottom: 18px; border-radius: var(--ad-radius);
  background: radial-gradient(circle at 85% -20%, rgba(240, 199, 94, 0.45), transparent 55%),
              linear-gradient(120deg, var(--ot-brown) 0%, #5a3516 60%, #7a4c1f 100%);
  color: #fff; box-shadow: 0 10px 30px rgba(59, 34, 14, 0.25);
}
.ot-ad-hello { font-family: var(--ot-font-display); font-size: 1.55rem; font-weight: 800; letter-spacing: -0.01em; }
.ot-ad-sub { margin-top: 4px; font-size: 0.86rem; color: rgba(255, 255, 255, 0.75); }
.ot-ad-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.ot-ad-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff !important; font-weight: 700; font-size: 0.85rem; text-decoration: none !important;
  transition: background 0.15s, transform 0.15s;
}
.ot-ad-btn:hover { background: rgba(255, 255, 255, 0.22); transform: translateY(-1px); }
.ot-ad-btn-gold { background: linear-gradient(135deg, var(--ot-gold-bright), var(--ot-gold)); border-color: transparent; color: var(--ot-brown) !important; }
.ot-ad-btn-gold:hover { background: linear-gradient(135deg, #f6d47a, #d4a22c); }
.ot-ad-pill { background: #fff; color: var(--ot-brown); border-radius: 999px; padding: 1px 8px; font-size: 0.72rem; font-weight: 800; }

.ot-ad-stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
@media (max-width: 1399px) { .ot-ad-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ot-ad-stat {
  --c: var(--ot-gold); position: relative; overflow: hidden; display: flex; flex-direction: column;
  padding: 16px 18px 14px; border-radius: var(--ad-radius); background: #fff; box-shadow: var(--ad-shadow);
  border: 1px solid var(--ot-border-soft); color: var(--ot-brown) !important; text-decoration: none !important;
  transition: transform 0.15s, box-shadow 0.15s;
}
.ot-ad-stat::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--c); }
.ot-ad-stat::after {
  content: ""; position: absolute; right: -28px; top: -28px; width: 96px; height: 96px; border-radius: 50%;
  background: var(--c); opacity: 0.08;
}
a.ot-ad-stat:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(59, 34, 14, 0.14); }
.ot-ad-ico {
  width: 38px; height: 38px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--c) 14%, #fff); color: var(--c); font-size: 1rem; margin-bottom: 10px;
}
.ot-ad-num { font-family: var(--ot-font-display); font-size: 1.6rem; font-weight: 800; line-height: 1.1; color: var(--ot-black); }
.ot-ad-lbl { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ot-brown-soft); margin-top: 2px; }
.ot-ad-foot { margin-top: 10px; padding-top: 8px; border-top: 1px dashed var(--ot-border-soft); font-size: 0.76rem; color: #8a7360; }
.ot-ad-c-green { --c: #1f9254; }
.ot-ad-c-gold { --c: #c69524; }
.ot-ad-c-red { --c: #d2492f; }
.ot-ad-c-blue { --c: #2f6fd2; }
.ot-ad-c-brown { --c: #7a4c1f; }
.ot-ad-c-purple { --c: #7b4bc4; }

.ot-ad-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 18px; }
.ot-ad-span2 { grid-column: span 2; }
.ot-ad-card {
  background: #fff; border-radius: var(--ad-radius); box-shadow: var(--ad-shadow);
  border: 1px solid var(--ot-border-soft); overflow: hidden; display: flex; flex-direction: column; min-width: 0;
}
.ot-ad-card > header {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 18px;
  border-bottom: 1px solid var(--ot-border-soft); background: linear-gradient(180deg, var(--ot-badam-light), #fff);
  font-family: var(--ot-font-display); font-weight: 800; font-size: 0.92rem; color: var(--ot-brown);
}
.ot-ad-card > header i { color: var(--ot-gold); margin-right: 6px; }
.ot-ad-card > header small { font-weight: 600; color: #9a8270; font-size: 0.75rem; }
.ot-ad-card > header a { font-size: 0.75rem; font-weight: 700; color: var(--ot-gold); }
.ot-ad-empty { padding: 30px 18px; text-align: center; color: #9a8270; font-size: 0.86rem; }
.ot-ad-empty i { display: block; font-size: 1.6rem; margin-bottom: 8px; color: var(--ot-badam-deep); }

.ot-ad-bars { padding: 12px 18px 16px; display: flex; flex-direction: column; gap: 9px; }
.ot-ad-bar-row { display: grid; grid-template-columns: 110px 1fr 90px; align-items: center; gap: 12px; font-size: 0.82rem; }
.ot-ad-bar-day { color: var(--ot-brown-soft); font-weight: 600; }
.ot-ad-bar-track { display: block; height: 10px; border-radius: 999px; background: var(--ot-badam-light); overflow: hidden; }
.ot-ad-bar-fill { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--ot-gold-bright), var(--ot-gold)); min-width: 4px; }
.ot-ad-bar-val { text-align: right; font-weight: 800; color: var(--ot-black); }
.ot-ad-bar-val small { font-weight: 600; color: #9a8270; margin-left: 4px; }

.ot-ad-mix { list-style: none; margin: 0; padding: 12px 18px 16px; display: flex; flex-direction: column; gap: 14px; }
.ot-ad-mix-top { display: flex; justify-content: space-between; font-size: 0.86rem; margin-bottom: 6px; color: var(--ot-brown); font-weight: 600; }
.ot-ad-mix-top i { width: 18px; }
.ot-ad-mix .ot-ad-bar-fill { min-width: 0; }
.ot-ad-fill-advanced { background: linear-gradient(90deg, #f0c75e, #b8860b); }
.ot-ad-fill-professional { background: linear-gradient(90deg, #6fcf97, #1f9254); }
.ot-ad-fill-basic { background: linear-gradient(90deg, #e3a76f, #a0522d); }
.ot-ad-fill-trial { background: linear-gradient(90deg, #b9b2a8, #7d746a); }
.ot-ad-fill-business { background: linear-gradient(90deg, #8ab4f8, #2f6fd2); }

.ot-ad-list { list-style: none; margin: 0; padding: 6px 0; }
.ot-ad-list li { display: flex; align-items: center; gap: 12px; padding: 9px 18px; border-bottom: 1px solid rgba(201, 168, 130, 0.18); }
.ot-ad-list li:last-child { border-bottom: 0; }
.ot-ad-list li:hover { background: var(--ot-badam-light); }
.ot-ad-list-compact li { padding: 8px 18px; }
.ot-ad-avatar {
  flex: 0 0 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--ot-gold-bright), var(--ot-gold)); color: var(--ot-brown); font-weight: 800; font-size: 0.85rem;
}
.ot-ad-avatar-alt { background: linear-gradient(135deg, #e8d4bc, #c9a882); }
.ot-ad-rank {
  flex: 0 0 24px; height: 24px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--ot-badam); color: var(--ot-brown); font-weight: 800; font-size: 0.75rem;
}
.ot-ad-list-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ot-ad-list-main strong { font-size: 0.87rem; color: var(--ot-black); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ot-ad-list-main small { font-size: 0.75rem; color: #9a8270; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ot-ad-list-end { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; font-size: 0.85rem; white-space: nowrap; }
.ot-ad-list-compact .ot-ad-list-end { flex-direction: row; align-items: baseline; gap: 4px; }
.ot-ad-list-end small { color: #9a8270; font-size: 0.74rem; }
.ot-ad-tag { font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; padding: 2px 8px; border-radius: 999px; }
.ot-ad-tag-ok { background: #e3f5ea; color: #1f7a45; }
.ot-ad-tag-wait { background: #fff3d6; color: #9a6b00; }
.ot-ad-tag-bad { background: #fde5e0; color: #b8341c; }
.ot-ad-tag-info { background: #e6effc; color: #2f5fb3; }

.ot-ad-quick {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px 18px; margin-bottom: 10px;
  background: #fff; border-radius: var(--ad-radius); box-shadow: var(--ad-shadow); border: 1px solid var(--ot-border-soft);
}
.ot-ad-quick-title { font-family: var(--ot-font-display); font-weight: 800; color: var(--ot-brown); margin-right: 6px; font-size: 0.9rem; }
.ot-ad-quick a {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 10px;
  background: var(--ot-badam-light); border: 1px solid var(--ot-border-soft); color: var(--ot-brown) !important;
  font-weight: 700; font-size: 0.82rem; text-decoration: none !important; transition: all 0.15s;
}
.ot-ad-quick a i { color: var(--ot-gold); }
.ot-ad-quick a:hover { background: var(--ot-brown); color: #fff !important; border-color: var(--ot-brown); }
.ot-ad-quick a:hover i { color: var(--ot-gold-bright); }

@media (max-width: 1199px) {
  .ot-ad-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .ot-ad-hero { padding: 18px; }
  .ot-ad-hello { font-size: 1.25rem; }
  .ot-ad-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ot-ad-stat { padding: 12px 14px; }
  .ot-ad-num { font-size: 1.25rem; }
  .ot-ad-grid { grid-template-columns: 1fr; }
  .ot-ad-span2 { grid-column: auto; }
  .ot-ad-bar-row { grid-template-columns: 82px 1fr 70px; gap: 8px; }
}
