:root {
  --ink: #050505;
  --text: #111;
  --muted: #676b73;
  --line: #d6d6ce;
  --paper: #ffffff;
  --wash: #f3f3ee;
  --accent: #f7c600;
  --blue: #2f6ed8;
  --green: #0e8f69;
  --danger: #b3261e;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--wash);
  color: var(--text);
  font-family: Arial, Helvetica, "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  font-size: 16px;
}

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

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

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px 1fr;
}

.sidebar {
  background: var(--ink);
  color: #fff;
  min-height: 100vh;
  position: sticky;
  top: 0;
  align-self: start;
  display: flex;
  flex-direction: column;
}

.brand {
  padding: 26px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.brand-title {
  font-size: 24px;
  font-weight: 800;
}

.brand-subtitle {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.68);
}

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

.nav a,
.logout-link {
  border: 1px solid transparent;
  color: rgba(255, 255, 255, 0.78);
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 13px 10px;
  font-weight: 700;
  background: transparent;
  cursor: pointer;
}

.nav a.active,
.nav a:hover,
.logout-link:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
}

.sidebar-bottom {
  margin-top: auto;
  padding: 22px;
}

.topbar {
  height: 64px;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
}

.topbar h1 {
  margin: 0;
  font-size: 24px;
}

.top-actions {
  display: flex;
  gap: 10px;
}

.topbar .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.content {
  padding: 32px 36px 56px;
}

.login-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.96), rgba(5, 5, 5, 0.82)),
    url("https://images.unsplash.com/photo-1642790551116-18e150f248e3?auto=format&fit=crop&w=1600&q=80") center/cover;
}

.login-panel {
  width: min(460px, 100%);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 34px;
}

.login-panel h1 {
  margin: 0 0 10px;
  font-size: 34px;
}

.login-panel p {
  color: var(--muted);
  line-height: 1.7;
}

.pro-login {
  display: block;
  place-items: unset;
  background:
    radial-gradient(circle at 18% 20%, rgba(247, 198, 0, 0.08), transparent 28%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    #050505;
  background-size: auto, 84px 84px, auto;
  color: #fff;
}

.login-shell {
  width: min(1180px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 28px 40px;
  display: flex;
  flex-direction: column;
}

.login-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

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

.login-brand-mark {
  color: var(--accent);
  font-size: 34px;
  line-height: 1;
}

.login-brand strong,
.login-brand small {
  display: block;
}

.login-brand strong {
  font-size: 28px;
  line-height: 1;
}

.login-brand small {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.66);
  font-weight: 700;
}

.login-lang {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  padding: 3px;
  font-size: 12px;
  font-weight: 800;
}

.login-lang span {
  border-radius: 999px;
  padding: 5px 9px;
}

.login-lang span:first-child {
  background: var(--accent);
  color: #000;
}

.login-hero {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 500px) 1px minmax(340px, 430px);
  align-items: center;
  gap: 48px;
  padding: 34px 0;
}

.login-copy h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.18;
}

.login-line {
  width: 64px;
  height: 5px;
  margin: 26px 0 20px;
  background: var(--accent);
}

.login-copy > p {
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.8;
}

.login-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #fff;
  color: #777;
  font-size: 15px;
  font-weight: 900;
}

.login-tabs a {
  min-height: 60px;
  display: grid;
  place-items: center;
  color: inherit;
}

.login-tabs a.active {
  background: var(--accent);
  color: #000;
}

.login-form {
  margin-top: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.login-form .field span {
  color: var(--muted);
  font-weight: 400;
}

.login-form .btn {
  width: 100%;
  margin-top: 14px;
}

.login-help {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.login-divider {
  width: 1px;
  height: 520px;
  background: rgba(255, 255, 255, 0.18);
}

.login-features {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.login-feature {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 22px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.login-feature:last-child {
  border-bottom: 0;
}

.login-feature-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(247, 198, 0, 0.82);
  color: var(--accent);
  font-size: 26px;
}

.login-feature-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.login-feature-title span {
  color: var(--accent);
  font-weight: 900;
}

.login-feature-title h2 {
  margin: 0;
  font-size: 22px;
}

.login-feature p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 18px;
  padding-bottom: 12px;
}

.section-title h2 {
  margin: 0;
  font-size: 28px;
}

.muted {
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.card,
.panel {
  background: var(--paper);
  border: 1px solid var(--line);
}

.card {
  padding: 24px;
  min-height: 230px;
  display: flex;
  flex-direction: column;
}

.card h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.25;
}

.card p {
  color: var(--muted);
  line-height: 1.7;
}

.card-footer {
  margin-top: auto;
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.count {
  font-size: 30px;
  font-weight: 800;
}

.badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  background: #f8f8f5;
  padding: 6px 10px;
  color: var(--muted);
}

.badge.open {
  border-color: rgba(14, 143, 105, 0.35);
  background: rgba(14, 143, 105, 0.08);
  color: var(--green);
}

.btn {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  padding: 12px 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-accent {
  border-color: var(--accent);
  background: var(--accent);
  color: #000;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.btn-blue {
  background: var(--blue);
  border-color: var(--blue);
}

.btn-danger {
  background: var(--danger);
  border-color: var(--danger);
}

.form-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr auto;
  gap: 12px;
  align-items: end;
}

.field {
  display: grid;
  gap: 7px;
}

.field span,
.field label {
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  padding: 12px 13px;
  min-height: 46px;
}

textarea {
  min-height: 170px;
  resize: vertical;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: #fff;
  margin-bottom: 22px;
}

.stat {
  padding: 18px;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: none;
}

.stat strong {
  display: block;
  font-size: 28px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 14px;
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-weight: 700;
  background: #fafaf7;
}

.report-title {
  font-size: 20px;
  font-weight: 800;
}

.terminal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  margin-top: 26px;
}

.terminal-section-title {
  border-bottom: 2px solid var(--ink);
  padding-bottom: 12px;
  margin-bottom: 14px;
}

.terminal-section-title h2 {
  margin: 0 0 6px;
  font-size: 28px;
}

.report-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.institution-card {
  display: grid;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 18px 14px;
  min-height: 84px;
}

.institution-card strong {
  font-size: 18px;
  line-height: 1.35;
}

.institution-card span {
  color: var(--muted);
  font-size: 14px;
}

.institution-card:hover,
.institution-card.active {
  border-color: var(--ink);
  box-shadow: inset 4px 0 0 var(--accent);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
}

.alpha-channel {
  margin: -32px -36px -56px;
  min-height: calc(100vh - 64px);
  background: #f5f0f0;
  font-family: Arial, Helvetica, "Microsoft YaHei", sans-serif;
}

.alpha-hero {
  background: #f5f0f0;
  border-bottom: 1px solid #0f0f0f;
  padding: 22px 36px 0;
}

.alpha-hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.alpha-identity {
  display: flex;
  align-items: center;
  gap: 16px;
}

.alpha-logo {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: #1f9add;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.alpha-logo span {
  width: 58px;
  height: 58px;
  border: 4px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  position: relative;
}

.alpha-logo span::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 34px;
  border-right: 6px solid #fff;
  border-bottom: 6px solid #fff;
  left: 17px;
  top: 3px;
  transform: rotate(42deg);
}

.alpha-logo span::after {
  content: "";
  position: absolute;
  right: -8px;
  bottom: -10px;
  width: 28px;
  height: 28px;
  border: 4px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
}

.alpha-identity h1 {
  margin: 0;
  color: #3d3d3d;
  font-size: 36px;
  line-height: 1.08;
}

.alpha-identity p {
  margin: 6px 0 0;
  color: #2d2d2d;
  font-size: 15px;
}

.alpha-refer {
  min-width: 156px;
  min-height: 42px;
  background: #2e6bd9;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 800;
}

.alpha-refer span {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  display: grid;
  place-items: center;
  line-height: 1;
}

.alpha-tabs {
  display: flex;
  align-items: end;
  gap: 28px;
  height: 52px;
  margin-left: 12px;
  overflow-x: auto;
}

.alpha-tabs button {
  border: 0;
  border-bottom: 6px solid transparent;
  background: transparent;
  color: #222;
  cursor: pointer;
  font-size: 16px;
  height: 100%;
  padding: 14px 0 9px;
}

.alpha-tabs button.active {
  border-color: #000;
  font-weight: 400;
}

.alpha-channel-body {
  padding: 20px 36px 56px;
}

.alpha-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 20px;
  align-items: start;
}

.alpha-feed,
.alpha-webinar-list {
  background: #fff;
  padding: 14px 26px 0;
}

.alpha-lead-story,
.alpha-story,
.alpha-webinar-row {
  color: inherit;
  border-bottom: 1px solid #d9d9d9;
}

.alpha-lead-story {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 24px;
  padding: 10px 0 32px;
}

.alpha-story {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 18px;
  padding: 24px 0;
}

.alpha-story-copy {
  min-width: 0;
}

.alpha-story-image {
  position: relative;
  background: #e6e6e6;
  border-radius: 3px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.2;
}

.alpha-story-image.large {
  min-height: 0;
}

.alpha-story-image::after {
  display: none;
}

.alpha-story-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.alpha-empty-state {
  min-height: 260px;
  display: grid;
  align-content: center;
  gap: 10px;
  border-bottom: 1px solid #d9d9d9;
  padding: 36px 0;
}

.alpha-empty-state h2 {
  margin: 0;
  color: #000;
  font-size: 28px;
  line-height: 1.15;
}

.alpha-empty-state p {
  margin: 0;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.7;
}

.alpha-lead-story h2 {
  margin: 4px 0 14px;
  color: #000;
  font-size: 28px;
  line-height: 1.08;
  max-width: 270px;
}

.alpha-story h3,
.alpha-webinar-row h2 {
  margin: 0 0 12px;
  color: #000;
  font-size: 22px;
  line-height: 1.16;
}

.alpha-lead-story p,
.alpha-story p {
  margin: 0;
  color: #333;
  font-size: 16px;
  line-height: 1.65;
}

.alpha-story-summary {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.alpha-meta,
.alpha-webinar-row p {
  color: #505863 !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  margin-bottom: 12px !important;
}

.alpha-performance-card {
  position: sticky;
  top: 84px;
  background: #fff;
  min-height: 318px;
  padding: 24px 26px;
}

.alpha-card-help,
.alpha-performance-wide h2 span {
  background: #6b7280;
  color: #fff;
  display: inline-grid;
  place-items: center;
  width: 17px;
  height: 17px;
  font-size: 12px;
  font-weight: 800;
}

.alpha-card-help {
  position: absolute;
  top: 24px;
  right: 24px;
}

.alpha-performance-card h2 {
  margin: 0 0 28px;
  color: #666;
  font-size: 31px;
  font-weight: 400;
  line-height: 1.15;
}

.alpha-return-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.alpha-return-grid > div + div {
  border-left: 1px solid #d8d8d8;
  padding-left: 18px;
}

.alpha-return-grid p {
  margin: 0 0 6px;
  color: #5a6470;
  font-size: 14px;
  white-space: nowrap;
}

.alpha-return-grid strong {
  color: #07875d;
  font-size: 24px;
  line-height: 1;
}

.dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 5px;
}

.dot.blue {
  background: #209de0;
}

.dot.gray {
  background: #848b94;
}

.mini-chart {
  height: 86px;
  margin: 22px 0 24px;
}

.mini-chart svg {
  width: 100%;
  height: 100%;
}

.alpha-card-button {
  width: 100%;
  min-height: 40px;
  background: #000;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
}

.alpha-feed-tools {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  color: #59616b;
  font-size: 14px;
  padding: 18px 0;
}

.alpha-feed-tools div {
  display: flex;
  gap: 10px;
}

.alpha-feed-tools button,
.alpha-feed-tools a {
  border: 1px solid #d2d2d2;
  background: #fff;
  color: #222;
  padding: 8px 12px;
}

.alpha-feed-tools > a {
  border: 0;
  padding: 0;
  color: #333;
}

.alpha-table-page {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.portfolio-switch {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 46px;
  min-width: 0;
}

.portfolio-switch div {
  display: flex;
  gap: 28px;
}

.portfolio-switch a {
  color: #444;
  font-size: 14px;
}

.portfolio-switch a.active {
  color: #000;
  font-weight: 800;
}

.portfolio-switch button {
  border: 0;
  background: #e7e5ec;
  color: #222;
  border-radius: 6px;
  padding: 7px 14px;
  cursor: pointer;
}

.alpha-performance-wide {
  background: #fff;
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 26px;
  padding: 24px 26px 18px;
  min-width: 0;
  max-width: 100%;
}

.alpha-performance-wide h2 {
  margin: 0 0 18px;
  color: #111;
  font-size: 26px;
  line-height: 1.12;
}

.alpha-performance-wide h2 span {
  vertical-align: 4px;
}

.alpha-return-grid.compact {
  gap: 20px;
}

.alpha-wide-chart {
  display: grid;
  align-content: end;
  min-width: 0;
}

.alpha-wide-chart .mini-chart {
  height: 68px;
  margin: 12px 0 0;
}

.range-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.range-buttons button {
  border: 1px solid #d4d7dc;
  background: #fff;
  color: #3d4450;
  border-radius: 5px;
  min-width: 44px;
  padding: 8px 13px;
  cursor: pointer;
  font-size: 12px;
}

.range-buttons button.active {
  background: #1f1f1f;
  border-color: #1f1f1f;
  color: #fff;
  font-weight: 800;
}

.alpha-table-wrap {
  background: #fff;
  padding: 22px 26px 0;
  overflow-x: auto;
  min-width: 0;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}

.alpha-table {
  border: 0;
  min-width: 0;
  table-layout: auto;
}

.performance-table {
  min-width: 1120px;
}

.alpha-table-page .alpha-table {
  min-width: 1080px;
}

.alpha-table th,
.alpha-table td {
  border-bottom: 1px solid #d9d9d9;
  background: #fff;
  color: #5c626a;
  font-size: 16px;
  padding: 16px 12px;
  vertical-align: middle;
}

.alpha-table th:first-child,
.alpha-table td:first-child {
  min-width: 260px;
  width: 30%;
}

.alpha-table th:nth-child(2),
.alpha-table td:nth-child(2) {
  min-width: 86px;
}

.alpha-table th {
  border-bottom-color: #a9a9a9;
  font-weight: 800;
}

.alpha-table td strong {
  color: #000;
  font-weight: 800;
}

.company-link {
  color: #000;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.portfolio-company-link {
  align-items: flex-start;
  flex-direction: column;
  gap: 4px;
}

.company-link:hover,
.symbol-link:hover,
.row-arrow:hover {
  text-decoration: underline;
}

.alpha-table-empty {
  color: #4b5563 !important;
  font-size: 16px !important;
  line-height: 1.7;
  padding: 34px 12px !important;
  text-align: left;
}

.company-cell {
  display: grid;
  grid-template-columns: 40px minmax(150px, 1fr);
  gap: 16px;
  align-items: center;
}

.stock-thumb {
  width: 40px;
  height: 40px;
  border: 1px solid #d9dce1;
  border-radius: 6px;
  background: #fff;
  display: grid;
  place-items: center;
  color: #9ca3af;
  font-size: 7px;
  overflow: hidden;
}

.symbol-link {
  color: #2f71bc;
  font-weight: 800;
}

.performance-badge {
  background: #111;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 2px 7px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.portfolio-badge {
  color: #2f71bc;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.portfolio-badge::before {
  content: '🏆';
  font-size: 11px;
  line-height: 1;
}

.positive {
  color: #07875d !important;
  font-weight: 400;
}

.negative {
  color: #a3192d !important;
  font-weight: 400;
}

.rating-pill {
  background: #006125;
  color: #fff;
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.rating-pill.buy {
  background: #0b4618;
}

.rating-pill.hold {
  background: #e7d900;
  color: #111;
}

.rating-pill.strong-sell {
  background: #c8332d;
}

.rating-pill.not-covered {
  background: #111;
  color: #fff;
  font-size: 10px;
  line-height: 1.05;
  white-space: normal;
  max-width: 74px;
  text-align: center;
}

.holding-cell {
  color: #27384d !important;
  text-align: right;
  white-space: nowrap;
}

.row-arrow-cell {
  width: 28px;
  min-width: 28px;
  padding-left: 8px !important;
  padding-right: 4px !important;
  text-align: right;
}

.row-arrow {
  color: #1268ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  font-weight: 300;
  line-height: 1;
  text-decoration: none;
}

.row-arrow::before {
  content: '›';
}

.alpha-webinar-list {
  padding-top: 14px;
}

.alpha-webinar-list-target {
  background: #fff;
  width: 609px;
  max-width: 100%;
  padding: 0;
}

.alpha-webinar-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 0;
}

.alpha-webinar-item:first-child {
  padding-top: 0;
}

.alpha-webinar-row {
  display: grid;
  grid-template-columns: 162px minmax(0, 1fr);
  gap: 16px;
  padding: 0;
  margin-bottom: 0;
  min-width: 0;
  color: inherit;
}

.alpha-webinar-thumb {
  width: 162px;
  height: 90px;
  background: #e8e8e8;
  border-radius: 4px;
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.alpha-webinar-thumb span {
  color: #6b7280;
  font-size: 12px;
  font-weight: 800;
}

.alpha-webinar-row h2 {
  font-size: 24px;
  max-width: 420px;
  margin: 18px 0 14px;
  color: #000;
  line-height: 1.15;
  font-weight: 800;
}

.alpha-webinar-row p {
  color: #40546d;
  font-size: 14px;
  margin: 0;
}

.alpha-about-layout {
  display: grid;
  grid-template-columns: minmax(0, 893px) 303px;
  gap: 36px;
  align-items: start;
  justify-content: center;
}

.alpha-about-article {
  display: grid;
  gap: 20px;
}

.alpha-about-intro,
.alpha-about-block {
  background: #fff;
  padding: 34px 40px;
}

.alpha-about-target .alpha-about-article {
  gap: 36px;
}

.alpha-about-target .alpha-about-intro,
.alpha-about-target .alpha-about-block {
  padding: 36px 44px;
}

.about-hero-section p {
  margin: 26px 0 0;
}

.about-full-image {
  display: block;
  width: 100%;
  height: auto;
}

.about-video-image {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 54px;
}

.about-chart-image {
  margin: 36px 0 28px;
}

.welcome-graphic {
  height: 190px;
  background: linear-gradient(120deg, #101923, #182738 52%, #209de0);
  color: #fff;
  display: flex;
  align-items: center;
  padding: 34px;
  margin-bottom: 24px;
}

.welcome-graphic span,
.welcome-graphic strong {
  display: block;
  font-size: 32px;
  line-height: 1.1;
}

.welcome-graphic strong {
  color: #35aeef;
}

.alpha-about-intro p,
.alpha-about-block p {
  color: #333;
  font-size: 16px;
  line-height: 1.75;
}

.video-preview {
  margin-top: 26px;
  background: #f5f6f7;
  border: 1px solid #d7dce2;
  padding: 20px;
}

.video-screen {
  height: 260px;
  background: linear-gradient(145deg, #eef4f7, #101820);
  display: grid;
  place-items: center;
  position: relative;
}

.video-logo {
  color: #fff;
  font-size: 30px;
  font-weight: 800;
}

.video-screen button {
  position: absolute;
  width: 68px;
  height: 68px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.72);
}

.video-screen button::after {
  content: "";
  position: absolute;
  left: 28px;
  top: 21px;
  border-left: 18px solid #fff;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
}

.video-controls {
  height: 12px;
  margin-top: 14px;
  background: #111;
}

.video-controls span {
  display: block;
  width: 35%;
  height: 100%;
  background: #209de0;
}

.alpha-about-block h2 {
  margin: 0 0 18px;
  color: #000;
  font-size: 36px;
  line-height: 1.22;
  font-weight: 800;
}

.alpha-about-block h3 {
  margin: 22px 0 12px;
  color: #000;
  font-size: 26px;
  line-height: 1.23;
  font-weight: 800;
}

.about-performance-visual {
  border: 1px solid #d7dce2;
  padding: 18px;
  margin-bottom: 20px;
}

.about-legend {
  display: flex;
  gap: 28px;
  color: #07875d;
}

.strategy-list {
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 18px 0 24px;
  padding: 0;
}

.strategy-list li {
  border-top: 1px solid #dadada;
  padding: 16px 0 0 58px;
  position: relative;
  line-height: 1.6;
}

.strategy-list li::before {
  content: counter(list-item);
  position: absolute;
  top: 13px;
  left: 0;
  width: 38px;
  height: 38px;
  border: 1px solid #209de0;
  border-radius: 50%;
  color: #209de0;
  display: grid;
  place-items: center;
  font-size: 22px;
}

.alpha-get-started {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  min-height: 36px;
  background: #000;
  color: #fff;
  border-radius: 5px;
  font-weight: 800;
  font-size: 13px;
}

.about-process-list {
  display: grid;
  gap: 42px;
  margin-top: 34px;
}

.about-process-card {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  gap: 38px;
  align-items: center;
}

.about-process-icon {
  display: grid;
  place-items: center;
  min-height: 220px;
}

.about-process-icon img {
  max-width: 245px;
  max-height: 260px;
  width: auto;
  height: auto;
}

.about-process-card h3 {
  margin-top: 0;
  font-size: 28px;
  line-height: 1.22;
}

.about-characteristics article {
  min-height: 156px;
}

.about-characteristics h3 {
  font-size: 28px;
  line-height: 1.22;
}

.process-grid,
.characteristic-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 26px;
}

.process-grid article,
.characteristic-list article {
  border-top: 1px solid #dadada;
  padding-top: 12px;
}

.alpha-about-nav {
  position: sticky;
  top: 84px;
  background: #fff;
  padding: 28px 24px;
}

.alpha-about-nav h2 {
  margin: 0 0 18px;
  color: #666;
  font-size: 26px;
  font-weight: 400;
}

.alpha-about-nav a {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 10px;
  color: #3e4550;
  font-size: 15px;
  line-height: 1.35;
  margin-bottom: 14px;
}

.alpha-about-nav a::before {
  content: "";
  width: 13px;
  height: 13px;
  border: 1px solid #d3d8df;
  border-radius: 50%;
  margin-top: 3px;
}

.article-page {
  background: #fff;
  border: 1px solid var(--line);
  padding: 46px 52px;
}

.article-page h1 {
  font-size: 40px;
  line-height: 1.15;
  margin: 0 0 24px;
}

.article-body {
  line-height: 1.8;
  font-size: 18px;
}

.article-body h2 {
  font-size: 28px;
  margin-top: 34px;
}

.article-image {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  margin: 24px 0;
}

.side-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 24px;
  height: fit-content;
}

.article-reader {
  max-width: 696px;
}

.article-back {
  color: #1f66dc;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  margin-bottom: 22px;
}

.article-language-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 22px;
}

.article-language-bar button {
  width: auto;
  min-height: 32px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #1f66dc;
  border-radius: 4px;
  padding: 0 14px;
  cursor: pointer;
  font-weight: 700;
}

.article-language-bar button.active {
  background: #2f6ed8;
  border-color: #2f6ed8;
  color: #fff;
}

.article-page-sa {
  border: 0;
  padding: 42px 48px 64px;
}

.article-header-sa h1 {
  max-width: 610px;
  margin: 0 0 26px;
  color: #000;
  font-size: 37px;
  line-height: 1.18;
  font-weight: 800;
}

.article-date {
  color: #40546d;
  font-size: 14px;
  margin: 0 0 22px;
}

.article-author-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.article-author-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #1f9add;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.article-author-logo span {
  width: 30px;
  height: 30px;
  border: 3px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  position: relative;
}

.article-author-logo span::before {
  content: "";
  position: absolute;
  width: 9px;
  height: 18px;
  border-right: 4px solid #fff;
  border-bottom: 4px solid #fff;
  left: 9px;
  top: 2px;
  transform: rotate(42deg);
}

.article-author-row strong {
  display: block;
  color: #000;
  font-size: 16px;
  line-height: 1.2;
}

.article-author-row span:not(.article-author-logo) {
  display: inline-flex;
  margin-top: 5px;
  background: #2f6ed8;
  color: #fff;
  border-radius: 4px;
  padding: 5px 8px;
  font-weight: 800;
}

.article-actions {
  border-top: 1px solid #d7d7d7;
  border-bottom: 1px solid #d7d7d7;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 12px 0 18px;
  padding: 14px 0;
}

.article-action {
  border: 0;
  background: transparent;
  color: #1f66dc;
  display: grid;
  justify-items: center;
  gap: 5px;
  min-height: 46px;
  cursor: pointer;
}

.article-action strong {
  font-size: 14px;
}

.article-action-icon {
  width: 22px;
  height: 22px;
  position: relative;
}

.article-action-icon.share::before,
.article-action-icon.share::after {
  content: "";
  position: absolute;
  border: 2px solid #1f66dc;
  border-radius: 50%;
}

.article-action-icon.share::before {
  width: 4px;
  height: 4px;
  left: 3px;
  top: 9px;
  box-shadow: 8px -7px 0 -1px #fff, 8px -7px 0 1px #1f66dc, 11px 7px 0 -1px #fff, 11px 7px 0 1px #1f66dc;
}

.article-action-icon.share::after {
  width: 14px;
  height: 10px;
  border-left: 0;
  border-bottom: 0;
  border-radius: 0;
  left: 7px;
  top: 6px;
  transform: skewY(-28deg);
}

.article-action-icon.save {
  border: 2px solid #1f66dc;
  border-bottom: 0;
  border-radius: 3px 3px 0 0;
}

.article-action-icon.save::after {
  content: "";
  position: absolute;
  left: 4px;
  bottom: -1px;
  width: 10px;
  height: 10px;
  border-left: 2px solid #1f66dc;
  border-bottom: 2px solid #1f66dc;
  transform: rotate(-45deg);
  background: #fff;
}

.article-action-icon.play::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  border-left: 14px solid #1f66dc;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.article-action-icon.comments {
  border: 2px solid #1f66dc;
  border-radius: 50%;
}

.article-action-icon.comments::after {
  content: "";
  position: absolute;
  left: 2px;
  bottom: -4px;
  width: 8px;
  height: 8px;
  border-left: 2px solid #1f66dc;
  border-bottom: 2px solid #1f66dc;
  transform: rotate(-20deg);
  background: #fff;
}

.article-body-sa {
  color: #000;
  font-size: 20px;
  line-height: 1.55;
}

.article-body-sa h2 {
  margin: 14px 0 14px;
  color: #000;
  font-size: 28px;
  line-height: 1.2;
}

.article-body-sa h3 {
  margin: 24px 0 10px;
  font-size: 22px;
}

.article-body-sa ul {
  margin: 0 0 26px;
  padding-left: 20px;
}

.article-body-sa li {
  margin-bottom: 10px;
}

.article-body-sa p {
  margin: 0 0 18px;
}

.sa-import-summary {
  margin: 18px 0 30px;
  border-bottom: 1px solid #e2e2e2;
  padding-bottom: 18px;
}

.sa-import-summary h2 {
  margin: 0;
  color: #000;
  font-size: 26px;
  line-height: 32px;
  font-weight: 700;
}

.sa-import-summary ul {
  margin: 16px 0 0;
  padding-left: 20px;
  color: #000;
  font-size: 18px;
  line-height: 28px;
}

.sa-import-summary li {
  margin: 0 0 16px;
}

.sa-import-main figure,
.sa-import-disclosure {
  margin: 24px 0;
}

.sa-import-main > figure:first-child {
  margin-top: 0;
}

.sa-imported-report-body img {
  max-width: 100%;
  height: auto;
  display: block;
}

.sa-imported-report-body figure img {
  margin-left: auto;
  margin-right: auto;
}

.sa-imported-report-body figcaption {
  margin-top: 8px;
  color: #666;
  font-size: 13px;
  line-height: 20px;
}

.sa-imported-report-body figcaption p {
  margin: 0;
}

.sa-import-disclosure {
  border-top: 1px solid #e2e2e2;
  padding-top: 18px;
  color: #3f3f46;
  font-size: 15px;
  line-height: 1.6;
}

.webinar-detail-page {
  max-width: 1220px;
  margin: -8px 0 0;
}

.webinar-back {
  color: #2f63df;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 31px;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  text-decoration: none;
}

.webinar-kicker {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: #666b73;
  font-size: 15.75px;
  font-weight: 700;
  line-height: 24.3px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.webinar-reader-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 10px;
  padding: 0 14px;
}

.webinar-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  flex: 0 0 auto;
  gap: 9px;
  margin: 0;
  font-size: 15.75px;
  font-weight: 700;
}

.webinar-toolbar button {
  min-height: 36px;
  border: 1px solid #d0d0c8;
  background: #fff;
  color: #111;
  border-radius: 0;
  padding: 0 13.5px;
  font-size: 15.75px;
  font-weight: 700;
}

.webinar-iframe-shell {
  background: #fff;
  border: 0;
  padding: 0;
}

.webinar-reader-frame {
  display: block;
  width: 100%;
  min-height: 560px;
  border: 0;
  background: #fff;
}

.message {
  margin-top: 12px;
  color: var(--green);
  font-weight: 700;
}

.message.error {
  color: var(--danger);
}

.admin-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.admin-wide {
  grid-column: 1 / -1;
}

.admin-form,
.admin-sync-panel {
  padding: 24px;
}

.admin-sync-panel {
  display: grid;
  gap: 16px;
}

.admin-sync-panel h2,
.admin-form h2 {
  margin: 0;
}

.admin-json-input {
  min-height: 260px;
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
  line-height: 1.55;
}

/* Admin workspace: compact, task-based navigation. */
.admin-shell {
  display: grid;
  gap: 18px;
  max-width: 1440px;
  margin: 0 auto;
}

.admin-tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  border: 1px solid var(--line);
  background: #fff;
  padding: 5px;
  scrollbar-width: thin;
}

.admin-tab {
  flex: 0 0 auto;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 8px 14px;
  color: #555b65;
  font-size: 14px;
  font-weight: 700;
}

.admin-tab:hover {
  background: #f5f5f0;
  color: #111;
}

.admin-tab.active {
  border-color: #111;
  background: #111;
  color: #fff;
}

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

.admin-stat {
  display: grid;
  gap: 5px;
  min-width: 0;
  border: 1px solid var(--line);
  background: #fff;
  padding: 17px 18px;
}

.admin-stat:hover {
  border-color: #888;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.admin-stat span,
.admin-stat small {
  color: var(--muted);
  font-size: 13px;
}

.admin-stat strong {
  font-size: 28px;
  line-height: 1.05;
}

.admin-compact-panel {
  padding: 18px;
}

.admin-section-stack {
  display: grid;
  gap: 14px;
}

.admin-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
}

.admin-panel-head h2,
.admin-notice h2 {
  margin: 0;
  font-size: 20px;
}

.admin-panel-head p,
.admin-notice p,
.admin-help {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.admin-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.admin-action-grid a {
  display: grid;
  gap: 5px;
  border: 1px solid var(--line);
  padding: 14px;
}

.admin-action-grid a:hover {
  border-color: #111;
}

.admin-action-grid strong {
  font-size: 15px;
}

.admin-action-grid span {
  color: var(--muted);
  font-size: 13px;
}

.admin-create-box > summary,
.admin-user-card > summary {
  list-style: none;
  cursor: pointer;
}

.admin-create-box > summary::-webkit-details-marker,
.admin-user-card > summary::-webkit-details-marker {
  display: none;
}

.admin-create-box > summary {
  min-height: 44px;
  display: flex;
  align-items: center;
}

.admin-create-box > summary > span {
  display: flex;
  align-items: baseline;
  gap: 9px;
}

.admin-create-box > summary strong {
  font-size: 16px;
}

.admin-create-box > summary small {
  color: var(--muted);
}

.admin-create-box > summary::after,
.admin-user-card > summary::after {
  content: "+";
  margin-left: auto;
  font-size: 22px;
  line-height: 1;
}

.admin-create-box[open] > summary::after,
.admin-user-card[open] > summary::after {
  content: "−";
}

.admin-create-box > form {
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--line);
  margin-top: 10px;
  padding-top: 14px;
}

.admin-create-box .field,
.admin-user-card .field,
.admin-mail-form .field {
  gap: 5px;
}

.admin-create-box textarea:not(.admin-json-input),
.admin-user-card textarea,
.admin-mail-form textarea {
  min-height: 84px;
}

.admin-user-list {
  display: grid;
  gap: 9px;
}

.admin-user-card {
  padding: 0;
}

.admin-user-card > summary {
  min-height: 62px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 24px;
  align-items: center;
  gap: 14px;
  padding: 11px 16px;
}

.admin-user-main {
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.admin-user-main strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-user-main small,
.admin-user-projects {
  color: var(--muted);
  font-size: 13px;
}

.admin-user-card > summary::after {
  margin-left: 0;
  text-align: right;
}

.admin-user-body {
  border-top: 1px solid var(--line);
  padding: 16px;
}

.admin-user-body > form {
  display: grid;
  gap: 11px;
}

.admin-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 2px 0;
}

.admin-checks label,
.admin-inline-check {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  font-size: 13px;
}

.admin-checks input,
.admin-inline-check input {
  width: auto;
  min-height: 0;
  margin: 0;
}

.admin-subtitle {
  margin: 16px 0 10px;
  font-size: 15px;
}

.admin-permission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.admin-permission-card {
  display: grid;
  gap: 9px;
  border: 1px solid var(--line);
  background: #fafaf7;
  padding: 12px;
}

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

.admin-two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
  gap: 14px;
  align-items: start;
}

.admin-notice {
  background: #fffbed;
  border-color: #e3cf77;
}

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

.admin-mail-meta {
  border: 1px solid var(--line);
  background: #f7f7f3;
  padding: 9px 11px;
  color: var(--muted);
  font-size: 13px;
}

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: #fff;
}

.admin-table {
  margin: 0;
  border: 0;
}

.admin-table th,
.admin-table td {
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.4;
}

.admin-table th {
  white-space: nowrap;
}

.admin-table code {
  word-break: break-all;
}

.admin-empty {
  padding: 28px !important;
  color: var(--muted);
  text-align: center;
}

.admin-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  flex-wrap: wrap;
}

.admin-count {
  margin-right: 4px;
  color: var(--muted);
  font-size: 13px;
}

.admin-page-link {
  min-width: 34px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: #fff;
  padding: 5px 9px;
  font-size: 13px;
  font-weight: 700;
}

.admin-page-link:hover,
.admin-page-link.active {
  border-color: #111;
  background: #111;
  color: #fff;
}

.admin-page-link.disabled {
  pointer-events: none;
  opacity: 0.42;
}

.admin-page-gap {
  color: var(--muted);
}

.toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

@media (max-width: 980px) {
  .app-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .app-shell > * {
    min-width: 0;
  }

  .sidebar {
    position: static;
    min-height: auto;
  }

  .nav {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-3,
  .grid-2,
  .form-grid,
  .article-layout,
  .terminal-layout,
  .alpha-about-layout,
  .login-hero,
  .admin-layout {
    grid-template-columns: 1fr;
  }

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

  .admin-two-column,
  .admin-permission-grid {
    grid-template-columns: 1fr;
  }

  .login-divider {
    display: none;
  }

  .about-process-card {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .alpha-about-target .alpha-about-intro,
  .alpha-about-target .alpha-about-block {
    padding: 24px;
  }

  .report-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .article-row {
    grid-template-columns: 1fr;
  }

.content {
    padding: 22px;
  }
}

@media (max-width: 1180px) {
  .alpha-content-grid {
    grid-template-columns: 1fr;
  }

  .alpha-performance-card {
    position: relative;
    top: auto;
  }
}

@media (max-width: 720px) {
  .app-shell,
  .sidebar,
  .content,
  .topbar {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }

  .app-shell {
    overflow-x: hidden;
  }

  .login-shell {
    padding: 22px 18px;
  }

  .login-header {
    align-items: center;
  }

  .login-hero {
    gap: 26px;
    padding: 42px 0;
  }

  .login-tabs a {
    min-height: 54px;
  }

  .topbar {
    gap: 10px;
    padding: 0 12px;
  }

  .topbar h1 {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 18px;
  }

  .top-actions {
    flex: 0 0 auto;
  }

  .brand {
    padding: 14px 16px;
  }

  .brand-title {
    font-size: 22px;
  }

  .brand-subtitle {
    margin-top: 5px;
    font-size: 13px;
  }

  .nav {
    grid-template-columns: repeat(5, max-content);
    gap: 8px;
    overflow-x: auto;
    padding: 8px 12px;
  }

  .nav a {
    padding: 9px 10px;
    white-space: nowrap;
    font-size: 14px;
  }

  .sidebar-bottom {
    display: none;
  }

  .content {
    padding: 0;
  }

  .admin-shell {
    gap: 12px;
    padding: 12px;
  }

  .admin-tabs {
    position: sticky;
    top: 0;
    z-index: 5;
  }

  .admin-tab {
    min-height: 44px;
    padding: 8px 12px;
  }

  .admin-stat-grid,
  .admin-action-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .admin-stat {
    padding: 14px;
  }

  .admin-stat strong {
    font-size: 24px;
  }

  .admin-compact-panel,
  .admin-user-body {
    padding: 14px;
  }

  .admin-panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-user-card > summary {
    grid-template-columns: minmax(0, 1fr) 24px;
  }

  .admin-user-projects {
    display: none;
  }

  .admin-user-main {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .admin-pagination {
    justify-content: flex-start;
  }

  .admin-page-gap {
    display: none;
  }

  .alpha-channel {
    margin: 0;
  }

  .alpha-hero {
    padding: 18px 16px 0;
  }

  .alpha-hero-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .alpha-logo {
    width: 58px;
    height: 58px;
  }

  .alpha-logo span {
    width: 42px;
    height: 42px;
  }

  .alpha-identity h1 {
    font-size: 30px;
  }

  .alpha-refer {
    width: 100%;
  }

  .alpha-tabs {
    gap: 22px;
    margin-left: 0;
    scrollbar-width: none;
  }

  .alpha-tabs::-webkit-scrollbar,
  .nav::-webkit-scrollbar {
    display: none;
  }

  .alpha-channel-body {
    padding: 14px 12px 34px;
  }

  .alpha-table-page,
  .alpha-performance-wide,
  .alpha-table-wrap {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .portfolio-switch {
    gap: 12px;
    width: 100%;
    max-width: 100%;
  }

  .portfolio-switch div {
    gap: 18px;
    min-width: 0;
  }

  .portfolio-switch button {
    flex: 0 0 auto;
    padding: 7px 12px;
  }

  .alpha-performance-wide {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px 16px 14px;
  }

  .alpha-performance-wide h2 {
    margin-bottom: 14px;
    font-size: 22px;
  }

  .alpha-return-grid.compact {
    gap: 12px;
  }

  .alpha-wide-chart {
    min-width: 0;
  }

  .range-buttons {
    justify-content: flex-start;
    gap: 8px;
  }

  .range-buttons button {
    min-width: auto;
    padding: 7px 10px;
  }

  .alpha-wide-chart .mini-chart {
    height: 62px;
    margin-top: 10px;
  }

  .alpha-table-wrap {
    padding: 14px 12px 0;
  }

  .alpha-table th,
  .alpha-table td {
    padding: 13px 10px;
    font-size: 14px;
  }

  .alpha-feed,
  .alpha-webinar-list {
    padding: 12px 14px 0;
  }

  .alpha-lead-story {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 8px 0 24px;
  }

  .alpha-lead-story h2 {
    max-width: none;
    font-size: 24px;
    line-height: 1.12;
  }

  .alpha-story {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
    padding: 18px 0;
  }

  .alpha-story h3 {
    font-size: 18px;
    line-height: 1.18;
  }

  .alpha-lead-story p,
  .alpha-story p {
    font-size: 14px;
    line-height: 1.5;
  }

  .alpha-story-summary {
    -webkit-line-clamp: 2;
  }

  .alpha-performance-card {
    padding: 20px;
  }

  .webinar-detail-page {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .webinar-back {
    margin: 0 12px 14px;
  }

  .webinar-reader-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
    padding: 0 12px;
  }

  .webinar-kicker {
    width: 100%;
    overflow: visible;
    font-size: 14px;
    line-height: 1.35;
    text-overflow: clip;
    white-space: normal;
  }

  .webinar-toolbar {
    width: 100%;
    flex: none;
    gap: 6px;
    font-size: 13px;
  }

  .webinar-toolbar button {
    min-height: 32px;
    padding: 0 10px;
    font-size: 13px;
  }

  .webinar-iframe-shell,
  .webinar-reader-frame {
    width: 100%;
    max-width: 100%;
  }

  .alpha-webinar-list-target {
    width: 100%;
    max-width: 100%;
  }

  .alpha-webinar-item {
    padding: 12px 0;
  }

  .alpha-webinar-row {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
  }

  .alpha-webinar-thumb {
    width: 112px;
    height: 63px;
  }

  .alpha-webinar-row h2 {
    display: -webkit-box;
    overflow: hidden;
    max-width: none;
    margin: 0 0 8px;
    font-size: 17px;
    line-height: 1.2;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .alpha-webinar-row p {
    margin: 0 !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
  }

  .alpha-feed-tools {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  .alpha-story {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .alpha-story h3 {
    font-size: 17px;
  }

  .alpha-meta {
    font-size: 12px !important;
  }

  .portfolio-switch div {
    gap: 14px;
  }

  .portfolio-switch a,
  .portfolio-switch button {
    font-size: 13px;
  }

  .alpha-webinar-row {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 10px;
  }

  .alpha-webinar-thumb {
    width: 96px;
    height: 54px;
  }

  .alpha-webinar-row h2 {
    font-size: 16px;
  }
}

.article-language-links a {
  width: auto;
  min-height: 32px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #1f66dc;
  border-radius: 4px;
  padding: 7px 14px;
  cursor: pointer;
  font-weight: 700;
}

.article-language-links a.active {
  background: #2f6ed8;
  border-color: #2f6ed8;
  color: #fff;
}

.article-summary-sa {
  border-left: 4px solid #209de0;
  color: #334155;
  font-size: 18px;
  line-height: 1.55;
  margin: 0 0 24px;
  padding-left: 14px;
}

.stock-thumb img,
.alpha-webinar-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.alpha-webinar-thumb {
  background-size: cover;
  background-position: center;
}

.alpha-table-empty code,
.alpha-empty-state code {
  background: #eef2f7;
  border: 1px solid #d9e0ea;
  border-radius: 4px;
  padding: 1px 5px;
}
