.ll-os-page,
.ll-os-page * {
  box-sizing: border-box;
}

.ll-os-page {
  --ll-black: #050b12;
  --ll-black2: #081421;
  --ll-blue: #102033;
  --ll-blue2: #14263c;
  --ll-blue3: #0b1726;
  --ll-gold: #c9a14d;
  --ll-gold2: #f0cf7a;
  --ll-muted: #b9c5d6;

  width: 100%;
  min-height: calc(100vh - 90px);
  margin: 0;
  padding: 24px 16px 42px;
  background: linear-gradient(180deg,#050b12,#081421 52%,#050b12);
  color: #ffffff;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ll-os-shell {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

.ll-os-hero {
  background: linear-gradient(135deg,#0e1c2d,#12243a 55%,#07111d);
  border: 1px solid rgba(201,161,77,.28);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 18px 45px rgba(0,0,0,.35);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 14px;
  position: relative;
  overflow: hidden;
}

.ll-os-hero:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg,#c9a14d,#f0cf7a,transparent);
}

.ll-os-kicker {
  color: #f0cf7a;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 7px;
}

.ll-os-hero h1 {
  color: #ffffff;
  font-size: clamp(26px,4vw,42px);
  line-height: 1.05;
  font-weight: 900;
  margin: 0;
}

.ll-os-hero p {
  color: rgba(255,255,255,.76);
  font-size: 14px;
  line-height: 1.45;
  max-width: 780px;
  margin: 8px 0 0;
}

.ll-os-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.ll-os-btn,
.ll-os-small-btn {
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.07);
  color: #ffffff !important;
  border-radius: 12px;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  line-height: 1.1;
}

.ll-os-small-btn {
  min-height: 32px;
  padding: 7px 10px;
  font-size: 12px;
}

.ll-os-btn-gold {
  background: linear-gradient(135deg,#c9a14d,#f0cf7a) !important;
  border-color: rgba(201,161,77,.32) !important;
  color: #111827 !important;
}

.ll-os-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.ll-os-grid-3 {
  grid-template-columns: repeat(3,minmax(0,1fr));
}

.ll-os-stat,
.ll-os-panel,
.ll-os-card-link {
  background: linear-gradient(180deg,#102033,#0b1726);
  border: 1px solid rgba(201,161,77,.20);
  box-shadow: 0 10px 28px rgba(0,0,0,.28);
}

.ll-os-stat {
  border-radius: 18px;
  padding: 14px;
  min-height: 86px;
}

.ll-os-stat-label {
  color: #b9c5d6;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.ll-os-stat-value {
  color: #ffffff;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  margin-top: 5px;
}

.ll-os-panels {
  display: grid;
  grid-template-columns: 1.35fr .9fr;
  gap: 14px;
}

.ll-os-panel {
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 14px;
}

.ll-os-panel-head {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(180deg,#14263c,#102033);
}

.ll-os-panel-title,
.ll-os-card-title {
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
}

.ll-os-panel-sub,
.ll-os-card-sub {
  color: #b9c5d6;
  font-size: 12px;
  line-height: 1.35;
  margin-top: 2px;
}

.ll-os-panel-body {
  padding: 12px;
}

.ll-os-list,
.ll-os-action-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ll-os-empty {
  border: 1px dashed rgba(255,255,255,.14);
  border-radius: 16px;
  padding: 18px;
  text-align: center;
  color: #b9c5d6;
  font-size: 13px;
  background: rgba(255,255,255,.025);
}

.ll-os-control-link,
.ll-os-card-link {
  border-radius: 14px;
  padding: 12px;
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 900;
}

.ll-os-control-link {
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.035);
  font-size: 13px;
}

.ll-os-disabled {
  opacity: .65;
  cursor: not-allowed;
}

@media (max-width: 1100px) {
  .ll-os-grid,
  .ll-os-grid-3 {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .ll-os-panels {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .ll-os-page {
    padding: 16px 12px 32px;
  }

  .ll-os-hero {
    flex-direction: column;
    border-radius: 20px;
  }

  .ll-os-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .ll-os-grid,
  .ll-os-grid-3 {
    grid-template-columns: 1fr;
  }

  .ll-os-btn {
    width: 100%;
  }
}
