:root {
  --bg: #061425;
  --bg-soft: #0c1d33;
  --surface: rgba(10, 24, 43, 0.72);
  --surface-strong: rgba(8, 18, 34, 0.88);
  --surface-light: rgba(247, 251, 255, 0.96);
  --surface-muted: rgba(229, 239, 249, 0.72);
  --line: rgba(112, 173, 255, 0.18);
  --text: #eaf5ff;
  --text-dark: #18304f;
  --muted: #9ab6d4;
  --muted-dark: #6382a4;
  --brand: #20c2ff;
  --brand-strong: #0d7cff;
  --brand-deep: #0a2d72;
  --green: #2dd8a3;
  --red: #ff7f90;
  --gold: #f7bf58;
  --shadow: 0 24px 80px rgba(0, 8, 22, 0.28);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(32, 194, 255, 0.18), transparent 32%),
    radial-gradient(circle at 85% 10%, rgba(18, 112, 255, 0.16), transparent 28%),
    linear-gradient(180deg, #04111f 0%, #081b30 46%, #061426 100%);
  color: var(--text);
  font-family: "Microsoft YaHei UI", "PingFang SC", "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 288px;
  background:
    linear-gradient(180deg, rgba(5, 16, 31, 0.96), rgba(9, 26, 46, 0.98)),
    linear-gradient(180deg, #04111f 0%, #0b1f37 100%);
  border-right: 1px solid rgba(112, 173, 255, 0.12);
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  box-shadow: 28px 0 60px rgba(0, 4, 14, 0.22);
  z-index: 10;
}

.brand {
  display: flex;
  gap: 14px;
  align-items: center;
}

.brand-copy {
  display: grid;
  gap: 4px;
}

.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.brand-mark-frame {
  position: relative;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.brand-mark-frame::before {
  content: "";
  position: absolute;
  inset: 14%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(32, 194, 255, 0.34), rgba(13, 124, 255, 0.02) 74%);
  filter: blur(8px);
}

.brand-mark-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(117, 179, 255, 0.16);
}

.brand-logo-mark {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 8px 24px rgba(32, 194, 255, 0.3));
}

.brand-sidebar .brand-mark-frame {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(10, 27, 47, 0.08));
  box-shadow:
    inset 0 0 0 1px rgba(117, 179, 255, 0.12),
    0 20px 40px rgba(2, 10, 20, 0.28);
}

.brand h1 {
  margin: 0 0 4px;
  font-size: 19px;
  line-height: 1.35;
}

.brand p,
.brand span {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.nav {
  display: grid;
  gap: 10px;
}

.nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  color: rgba(234, 245, 255, 0.78);
  border-radius: 16px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.nav a.active,
.nav a:hover {
  background: linear-gradient(135deg, rgba(32, 194, 255, 0.18), rgba(13, 124, 255, 0.16));
  border-color: rgba(117, 179, 255, 0.2);
  transform: translateX(2px);
}

.sidebar-footer {
  margin-top: auto;
  display: grid;
  gap: 14px;
}

.user-box {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  border: 1px solid rgba(117, 179, 255, 0.14);
}

.user-box strong,
.user-box span {
  display: block;
}

.user-box span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.logout-link {
  color: #b5d9ff;
}

.main {
  min-height: 100vh;
  padding: 28px;
}

.with-sidebar {
  margin-left: 288px;
}

.no-sidebar {
  margin-left: 0;
}

.login-shell {
  padding: 0;
}

.flash-stack {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.flash {
  padding: 14px 16px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  font-size: 14px;
}

.flash-success {
  background: rgba(45, 216, 163, 0.12);
  color: #abffe3;
}

.flash-error {
  background: rgba(255, 127, 144, 0.12);
  color: #ffc2cb;
}

.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
}

.login-showcase {
  position: relative;
  overflow: hidden;
  padding: 60px 68px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(32, 194, 255, 0.22), transparent 30%),
    radial-gradient(circle at 80% 15%, rgba(13, 124, 255, 0.22), transparent 25%),
    linear-gradient(145deg, #04101f 0%, #0b1f37 45%, #08172a 100%);
}

.login-showcase::before,
.login-showcase::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(12px);
  opacity: 0.28;
}

.login-showcase::before {
  inset: auto auto 8% 6%;
  width: 180px;
  height: 180px;
  background: rgba(32, 194, 255, 0.36);
}

.login-showcase::after {
  inset: 10% 12% auto auto;
  width: 220px;
  height: 220px;
  background: rgba(13, 124, 255, 0.26);
}

.login-showcase-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.brand-hero {
  align-items: center;
  gap: 22px;
}

.hero-logo-shell {
  position: relative;
  width: 142px;
  height: 142px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.hero-logo-glow {
  position: absolute;
  inset: 12px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(32, 194, 255, 0.28), rgba(32, 194, 255, 0.05) 54%, transparent 74%);
  filter: blur(10px);
}

.hero-mark-shell {
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(9, 26, 47, 0.12)),
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.12), transparent 38%);
  box-shadow:
    inset 0 0 0 1px rgba(160, 214, 255, 0.14),
    0 24px 50px rgba(2, 10, 20, 0.24);
  overflow: hidden;
}

.hero-mark-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 42%),
    radial-gradient(circle at 70% 78%, rgba(10, 34, 64, 0.55), transparent 42%);
}

.hero-logo-ring {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(142, 204, 255, 0.16);
}

.hero-logo-ring-outer {
  inset: 12px;
}

.hero-logo-ring-inner {
  inset: 24px;
  border-color: rgba(115, 197, 255, 0.12);
}

.hero-logo {
  width: 108px;
  height: 108px;
}

.brand-logo-full {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 18px 36px rgba(13, 124, 255, 0.24));
}

.hero-mark-logo {
  position: relative;
  z-index: 1;
  width: 106px;
  height: 106px;
  filter:
    drop-shadow(0 18px 34px rgba(17, 102, 221, 0.18))
    drop-shadow(0 8px 18px rgba(32, 194, 255, 0.12));
}

.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 12px;
  color: rgba(183, 223, 255, 0.72);
}

.eyebrow.subtle {
  color: var(--muted-dark);
}

.login-showcase h2 {
  margin: 0;
  font-size: 48px;
  line-height: 1.15;
}

.hero-intro {
  margin: 28px 0 0;
  color: rgba(232, 245, 255, 0.86);
  font-size: 17px;
  line-height: 1.85;
  max-width: 720px;
}

.feature-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  padding: 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(139, 194, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.feature-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}

.feature-card span {
  color: rgba(232, 245, 255, 0.76);
  line-height: 1.75;
  font-size: 14px;
}

.login-panel {
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(248, 252, 255, 0.98), rgba(231, 241, 251, 0.96));
}

.login-card {
  width: 100%;
  max-width: 460px;
  padding: 34px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--text-dark);
  box-shadow: 0 24px 80px rgba(18, 52, 92, 0.14);
  border: 1px solid rgba(173, 206, 240, 0.52);
}

.login-card h3 {
  margin: 0 0 20px;
  font-size: 30px;
  color: #102947;
}

.stack-form {
  display: grid;
  gap: 16px;
}

.stack-form label,
.filter-bar label {
  display: grid;
  gap: 8px;
}

.stack-form span,
.filter-bar span {
  font-size: 13px;
  color: var(--muted-dark);
}

input,
select,
textarea,
button {
  font: inherit;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(160, 190, 223, 0.68);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 16px;
  padding: 13px 14px;
  color: var(--text-dark);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(13, 124, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(13, 124, 255, 0.12);
}

.primary-btn,
.ghost-btn,
.danger-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 16px;
  padding: 12px 18px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.primary-btn {
  border: 0;
  color: white;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  box-shadow: 0 18px 36px rgba(13, 124, 255, 0.2);
}

.primary-btn-wide {
  width: 100%;
}

.ghost-btn {
  border: 1px solid rgba(139, 194, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.danger-btn {
  border: 1px solid rgba(255, 127, 144, 0.28);
  background: rgba(255, 127, 144, 0.1);
  color: #ffd6dc;
}

.primary-btn:hover,
.ghost-btn:hover,
.danger-btn:hover {
  transform: translateY(-1px);
}

.micro-guide {
  margin-top: 18px;
  color: var(--muted-dark);
  font-size: 13px;
}

.micro-guide summary {
  cursor: pointer;
  color: #4f6e92;
}

.micro-guide div {
  margin-top: 10px;
  display: grid;
  gap: 6px;
}

.hero-board,
.page-header,
.panel,
.stat-card,
.filter-bar {
  backdrop-filter: blur(12px);
}

.hero-board {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 24px 26px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(17, 38, 67, 0.8), rgba(10, 24, 43, 0.88));
  border: 1px solid rgba(139, 194, 255, 0.14);
  box-shadow: var(--shadow);
  margin-bottom: 22px;
}

.hero-copy h2,
.page-header h2,
.section-title {
  margin: 0 0 6px;
}

.hero-copy h2 {
  font-size: 34px;
}

.hero-copy p:last-child,
.page-header > div > p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.hero-actions,
.action-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(13, 29, 50, 0.72);
  border: 1px solid rgba(139, 194, 255, 0.16);
  box-shadow: var(--shadow);
}

.filter-bar .grow {
  min-width: 280px;
  flex: 1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.stats-grid.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-card {
  position: relative;
  overflow: hidden;
  min-height: 150px;
  padding: 20px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(13, 29, 50, 0.74), rgba(8, 19, 34, 0.86));
  border: 1px solid rgba(139, 194, 255, 0.15);
  box-shadow: var(--shadow);
}

.stat-card::after {
  content: "";
  position: absolute;
  inset: auto -20px -30px auto;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.stat-card span,
.stat-card small {
  position: relative;
  z-index: 1;
  color: var(--muted);
}

.stat-card strong {
  position: relative;
  z-index: 1;
  display: block;
  margin: 14px 0 12px;
  font-size: 32px;
}

.glass-blue {
  background: linear-gradient(135deg, rgba(20, 117, 202, 0.34), rgba(8, 19, 34, 0.88));
}

.glass-indigo {
  background: linear-gradient(135deg, rgba(66, 86, 220, 0.28), rgba(8, 19, 34, 0.88));
}

.glass-cyan {
  background: linear-gradient(135deg, rgba(32, 194, 255, 0.26), rgba(8, 19, 34, 0.88));
}

.glass-green {
  background: linear-gradient(135deg, rgba(45, 216, 163, 0.24), rgba(8, 19, 34, 0.88));
}

.layout-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

.layout-two.uneven {
  grid-template-columns: minmax(320px, 1fr) minmax(420px, 1.25fr);
}

.layout-two.wide-left {
  grid-template-columns: 1.45fr 0.95fr;
}

.panel {
  padding: 22px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(13, 29, 50, 0.78), rgba(8, 19, 34, 0.86));
  border: 1px solid rgba(139, 194, 255, 0.15);
  box-shadow: var(--shadow);
}

.panel-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.panel-title h3 {
  margin: 0 0 4px;
  font-size: 24px;
}

.panel-title span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.mini-link,
.inline-link {
  color: #8fd9ff;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

thead th {
  text-align: left;
  font-size: 13px;
  color: var(--muted);
  padding: 12px 10px;
  border-bottom: 1px solid rgba(139, 194, 255, 0.14);
}

tbody td {
  padding: 14px 10px;
  border-bottom: 1px solid rgba(139, 194, 255, 0.08);
  vertical-align: top;
}

.empty-cell {
  text-align: center;
  padding: 30px 10px;
  color: var(--muted);
}

.text-profit {
  color: var(--green);
  font-weight: 700;
}

.text-loss {
  color: var(--red);
  font-weight: 700;
}

.tabs {
  display: grid;
  gap: 14px;
}

.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tab-btn {
  border: 1px solid rgba(139, 194, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
}

.tab-btn.active {
  color: white;
  border-color: transparent;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.trend-panel .chart-shell {
  border-radius: 22px;
  padding: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(139, 194, 255, 0.12);
}

.line-chart {
  position: relative;
  min-height: 260px;
}

.line-chart svg {
  width: 100%;
  height: 260px;
}

.chart-line {
  fill: none;
  stroke: url(#gradientStroke);
  stroke: #39c9ff;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chart-area {
  fill: rgba(32, 194, 255, 0.16);
}

.dark-chart .chart-area {
  fill: rgba(76, 160, 255, 0.18);
}

.chart-empty {
  display: none;
  position: absolute;
  inset: 0;
  place-items: center;
  color: var(--muted);
}

.chart-empty.visible {
  display: grid;
}

.insight-list {
  display: grid;
  gap: 14px;
}

.insight-card {
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(139, 194, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.insight-card strong {
  display: block;
  margin-bottom: 8px;
}

.insight-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.insight-good {
  box-shadow: inset 3px 0 0 var(--green);
}

.insight-warn {
  box-shadow: inset 3px 0 0 var(--gold);
}

.insight-guide {
  box-shadow: inset 3px 0 0 var(--brand);
}

.product-list {
  display: grid;
  gap: 16px;
}

.product-card {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 16px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(139, 194, 255, 0.12);
}

.product-thumb {
  width: 132px;
  height: 132px;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
}

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

.thumb-placeholder {
  color: var(--muted);
  font-size: 13px;
}

.product-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.product-top h4 {
  margin: 0;
  font-size: 20px;
}

.product-top span,
.muted,
.notes {
  color: var(--muted);
}

.chip-row,
.metric-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(32, 194, 255, 0.1);
  color: #bce8ff;
  font-size: 12px;
}

.notes {
  margin: 12px 0 0;
  line-height: 1.7;
}

.preview-box {
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(139, 194, 255, 0.18);
}

.preview-box img {
  max-height: 260px;
  object-fit: contain;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  gap: 14px;
}

.form-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.selection-card {
  display: grid;
  grid-template-columns: 1fr 108px;
  gap: 16px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(139, 194, 255, 0.14);
}

.selection-text {
  display: grid;
  gap: 6px;
}

.selection-text strong {
  font-size: 18px;
}

.selection-text span {
  color: var(--muted);
}

.selection-image {
  width: 108px;
  height: 108px;
  border-radius: 18px;
  overflow: hidden;
}

.selection-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.metric-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.preview-metric {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(139, 194, 255, 0.12);
}

.preview-metric span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.preview-metric strong {
  display: block;
  margin-top: 10px;
  font-size: 24px;
}

.preview-metric.highlight strong {
  color: #b9ffff;
}

#profitPreview.negative {
  color: #ffbec8;
}

.formula-box,
.empty-block {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(139, 194, 255, 0.12);
  color: var(--muted);
  line-height: 1.75;
}

.checkbox-row {
  display: flex !important;
  align-items: center;
  gap: 10px;
}

.checkbox-row input {
  width: auto;
}

.hidden {
  display: none !important;
}

.presentation-page {
  min-height: 100vh;
  display: grid;
  gap: 20px;
}

.presentation-topbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 18px 24px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(9, 22, 40, 0.92), rgba(14, 34, 61, 0.92));
  border: 1px solid rgba(139, 194, 255, 0.16);
}

.presentation-brand {
  display: flex;
  gap: 16px;
  align-items: center;
}

.presentation-mark-frame {
  width: 82px;
  height: 82px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(8, 24, 42, 0.12));
  box-shadow:
    inset 0 0 0 1px rgba(117, 179, 255, 0.14),
    0 22px 40px rgba(2, 10, 20, 0.26);
}

.presentation-mark-frame .brand-logo-mark {
  width: 48px;
  height: 48px;
}

.presentation-brand h1 {
  margin: 0 0 6px;
  font-size: 34px;
}

.presentation-brand span {
  color: var(--muted);
}

.presentation-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.clock-box {
  min-width: 140px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  text-align: center;
  font-weight: 700;
  font-size: 22px;
}

.presentation-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.present-card {
  padding: 20px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(18, 43, 75, 0.92), rgba(8, 20, 37, 0.92));
  border: 1px solid rgba(139, 194, 255, 0.16);
}

.present-card span {
  color: var(--muted);
}

.present-card strong {
  display: block;
  margin-top: 12px;
  font-size: 34px;
}

.presentation-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 18px;
}

.present-panel.large {
  grid-row: span 2;
}

.rank-list {
  display: grid;
  gap: 12px;
}

.rank-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(139, 194, 255, 0.12);
}

.rank-item strong {
  display: block;
}

.rank-item span {
  color: var(--muted);
  font-size: 13px;
}

.rank-item b {
  font-size: 20px;
}

@media (max-width: 1280px) {
  .stats-grid,
  .stats-grid.compact,
  .presentation-kpis,
  .layout-two,
  .layout-two.uneven,
  .layout-two.wide-left,
  .presentation-grid,
  .feature-grid,
  .metric-preview-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .sidebar {
    position: static;
    width: auto;
    min-height: auto;
  }

  .with-sidebar {
    margin-left: 0;
  }

  .main {
    padding: 18px;
  }

  .page-header,
  .hero-board,
  .filter-bar,
  .product-card,
  .selection-card,
  .form-grid.two,
  .login-page,
  .presentation-topbar {
    grid-template-columns: 1fr;
    display: grid;
  }

  .login-showcase,
  .login-panel {
    padding: 30px;
  }

  .login-showcase h2 {
    font-size: 34px;
  }

  .selection-image,
  .product-thumb {
    width: 100%;
    height: auto;
  }
}
