.olh-front-wrap {
  --olh-bg: linear-gradient(135deg, #0f172a 0%, #111827 50%, #1e293b 100%);
  --olh-card: #ffffff;
  --olh-text: #0f172a;
  --olh-muted: #64748b;
  --olh-accent: #2563eb;
  --olh-accent-soft: #dbeafe;
  --olh-border: rgba(148, 163, 184, 0.22);
  --olh-header-image: none;
  color: var(--olh-text);
}

.olh-login-shell,
.olh-app-shell {
  position: relative;
  background: var(--olh-bg);
  border-radius: 24px;
  padding: 24px;
  box-sizing: border-box;
  overflow: hidden;
}

.olh-login-shell::before,
.olh-app-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--olh-header-image);
  background-size: cover;
  background-position: center;
  opacity: 0.14;
  pointer-events: none;
}

.olh-login-shell > *,
.olh-app-shell > * {
  position: relative;
  z-index: 1;
}

.olh-login-shell {
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.olh-login-card {
  width: min(100%, 480px);
  background: rgba(255, 255, 255, 0.98);
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 30px 80px rgba(2, 6, 23, 0.35);
}

.olh-login-logo-wrap {
  margin-bottom: 14px;
}

.olh-login-logo,
.olh-brand-logo {
  display: block;
  max-width: 180px;
  max-height: 72px;
  object-fit: contain;
}

.olh-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--olh-accent);
  margin-bottom: 8px;
}

.olh-login-card h2,
.olh-topbar h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.05;
}

.olh-login-subtitle,
.olh-intro {
  margin: 0;
  color: var(--olh-muted);
}

.olh-login-form {
  margin-top: 22px;
  display: grid;
  gap: 14px;
}

.olh-login-form label,
.olh-search-wrap {
  display: grid;
  gap: 6px;
}

.olh-login-form span,
.olh-search-wrap span {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}

.olh-login-form input,
.olh-search-wrap input,
.olh-search-wrap select {
  width: 100%;
  box-sizing: border-box;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  padding: 12px 14px;
  font-size: 15px;
  background: rgba(255, 255, 255, 0.98);
}

.olh-login-form button,
.olh-card-actions a,
.olh-logout {
  appearance: none;
  border: 0;
  border-radius: 12px;
  background: var(--olh-accent);
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  padding: 12px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.olh-login-form button:hover,
.olh-card-actions a:hover,
.olh-logout:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.olh-alert {
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  margin-top: 16px;
}

.olh-alert-error {
  background: #fee2e2;
  color: #991b1b;
}

.olh-alert-warning {
  background: #fef3c7;
  color: #92400e;
}

.olh-app-shell {
  color: #fff;
}

.olh-topbar {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.olh-brand-block {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.olh-topbar h2 {
  color: #fff;
}

.olh-intro {
  color: rgba(255, 255, 255, 0.72);
  max-width: 760px;
}

.olh-session-meta {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.olh-dot {
  opacity: 0.45;
}

.olh-toolbar {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 16px;
  backdrop-filter: blur(10px);
  margin-bottom: 20px;
}

.olh-toolbar-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr);
  gap: 14px;
}

.olh-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.olh-filter {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 999px;
  padding: 9px 14px;
  cursor: pointer;
  font-weight: 600;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.olh-filter.is-active {
  background: #fff;
  color: var(--olh-text);
}

.olh-filter-icon {
  font-size: 16px;
  line-height: 1;
}

.olh-empty-state {
  display: grid;
  gap: 6px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--olh-text);
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 20px;
}

.olh-grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.olh-card-item {
  background: var(--olh-card);
  color: var(--olh-text);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.2);
  border: 1px solid rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.olh-card-top {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  align-items: start;
}

.olh-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--olh-accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.olh-card-heading {
  display: grid;
  gap: 8px;
}

.olh-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.olh-badge {
  display: inline-flex;
  width: fit-content;
  background: var(--olh-accent-soft);
  color: #1d4ed8;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
}

.olh-badge-soft {
  background: #eff6ff;
  color: #334155;
}

.olh-card-item h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

.olh-card-item p {
  margin: 0;
  color: var(--olh-muted);
  flex: 1;
}

.olh-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.olh-disabled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e2e8f0;
  color: #475569;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 700;
}

.olh-hidden {
  display: none !important;
}

@media (max-width: 780px) {
  .olh-login-shell,
  .olh-app-shell {
    border-radius: 18px;
    padding: 16px;
  }

  .olh-topbar,
  .olh-brand-block,
  .olh-toolbar-grid {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .olh-grid-cards {
    grid-template-columns: 1fr;
  }

  .olh-card-top {
    grid-template-columns: 1fr;
  }

  .olh-card-icon {
    width: 48px;
    height: 48px;
    font-size: 22px;
  }
}
