:root {
  --ink: #f4f7fb;
  --muted: #8d9db2;
  --muted-2: #5f738b;
  --bg: #081321;
  --bg-soft: #0c1c30;
  --panel: #10263d;
  --panel-2: #122d47;
  --line: rgba(116, 163, 195, .2);
  --line-strong: rgba(105, 190, 199, .42);
  --cyan: #52d0cf;
  --cyan-deep: #188a9d;
  --gold: #e5b85e;
  --green: #8bd4ab;
  --red: #ea8e86;
  --shadow: 0 24px 80px rgba(0, 0, 0, .26);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--ink); }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { border: 0; cursor: pointer; }
.shell { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }

.site-header { position: sticky; top: 0; z-index: 20; height: 76px; border-bottom: 1px solid rgba(121, 157, 183, .13); background: rgba(8, 19, 33, .94); backdrop-filter: blur(16px); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 38px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 150px; }
.brand__mark { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(82, 208, 207, .38); border-radius: 7px; color: var(--cyan); background: rgba(55, 148, 166, .14); font-size: 23px; line-height: 1; }
.brand > span:last-child { display: grid; grid-template-columns: auto auto; column-gap: 5px; align-items: baseline; }
.brand strong, .brand em { font-size: 16px; letter-spacing: .01em; font-style: normal; }
.brand em { color: var(--cyan); font-weight: 500; }
.brand small { grid-column: 1 / -1; color: var(--muted-2); font-size: 8px; letter-spacing: .15em; text-transform: uppercase; }
.site-nav { flex: 1; display: flex; align-items: center; justify-content: center; gap: 30px; }
.site-nav a, .footer-links a { color: var(--muted); font-size: 13px; transition: color .2s ease; }
.site-nav a:hover, .footer-links a:hover, .text-link:hover { color: var(--cyan); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 44px; padding: 0 20px; border-radius: 6px; font-size: 13px; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button--outline { border: 1px solid var(--line-strong); color: var(--cyan); background: rgba(26, 92, 110, .14); }
.button--gold { color: #152031; background: var(--gold); box-shadow: 0 12px 28px rgba(229, 184, 94, .14); }
.button--gold:hover { background: #f0ca75; box-shadow: 0 14px 30px rgba(229, 184, 94, .24); }
.button--full { width: 100%; }
.menu-button { display: none; width: 40px; height: 40px; color: var(--ink); background: transparent; font-size: 18px; }

.hero { position: relative; min-height: 895px; padding-top: 104px; padding-bottom: 90px; overflow: hidden; text-align: center; }
.hero::before { content: ""; position: absolute; inset: 0 0 15px; z-index: -2; border: 1px solid rgba(82, 208, 207, .08); background: rgba(12, 29, 48, .55); }
.hero::after { content: ""; position: absolute; z-index: -1; top: 0; left: -10%; right: -10%; height: 630px; background: radial-gradient(ellipse at 50% 30%, rgba(24, 92, 113, .17), transparent 61%); pointer-events: none; }
.hero__grid, .login-art__grid { position: absolute; z-index: -1; inset: 0; opacity: .38; background-image: linear-gradient(rgba(75, 132, 162, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(75, 132, 162, .08) 1px, transparent 1px); background-size: 76px 76px; mask-image: linear-gradient(to bottom, #000, transparent 77%); }
.hero__content { position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 20px; color: var(--cyan); font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.eyebrow span:first-child { color: var(--gold); }
h1, h2, p { margin-top: 0; }
.hero h1 { margin-bottom: 20px; font-size: 64px; line-height: 1.08; letter-spacing: .01em; font-weight: 700; }
.hero h1 span, .about-section h2 span { color: var(--cyan); }
.hero__description { max-width: 550px; margin: 0 auto; color: var(--muted); font-size: 16px; line-height: 1.8; }
.search-panel { width: min(720px, 100%); margin: 52px auto 12px; padding: 16px 18px 18px; border: 1px solid var(--line); border-radius: 10px; background: rgba(16, 38, 61, .82); box-shadow: var(--shadow); text-align: left; }
.search-panel label { display: block; margin: 0 0 10px 2px; color: #d7e4ee; font-size: 12px; font-weight: 700; }
.search-panel__row { display: flex; gap: 9px; }
.search-input-wrap { position: relative; flex: 1; }
.search-input-wrap > span { position: absolute; top: 50%; left: 15px; transform: translateY(-50%); color: var(--cyan); font-size: 22px; }
.search-input-wrap input, .login-panel input, .admin-field input, .admin-field textarea, .admin-field select { width: 100%; height: 45px; border: 1px solid rgba(104, 155, 187, .28); border-radius: 5px; outline: none; background: #0b1b2e; color: var(--ink); padding: 0 15px 0 43px; font-size: 13px; transition: border-color .2s ease, box-shadow .2s ease; }
.search-input-wrap input::placeholder, .login-panel input::placeholder, .admin-field textarea::placeholder { color: var(--muted-2); }
.search-input-wrap input:focus, .login-panel input:focus, .admin-field input:focus, .admin-field textarea:focus, .admin-field select:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(82, 208, 207, .1); }
.form-message { min-height: 18px; margin: 8px 2px 0; color: var(--gold); font-size: 12px; }
.form-message.is-error { color: var(--red); }
.search-panel .button { min-width: 142px; }

.radar-card { position: relative; width: min(510px, 100%); min-height: 420px; margin: 12px auto 0; padding: 20px 28px 28px; border: 1px solid rgba(82, 208, 207, .3); border-radius: 15px; background: rgba(15, 38, 64, .9); box-shadow: 0 24px 80px rgba(4, 12, 23, .3); overflow: hidden; }
.radar-card::before { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); opacity: .5; }
.radar-card__top { display: flex; justify-content: space-between; align-items: center; color: var(--muted-2); font-size: 11px; text-align: left; }
.live-badge { color: var(--cyan); font-size: 11px; font-weight: 700; }
.live-badge i, .admin-status i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(82, 208, 207, .1); vertical-align: middle; }
.radar { position: relative; width: 204px; height: 204px; margin: 30px auto 26px; border: 1px solid rgba(82, 208, 207, .32); border-radius: 50%; background: rgba(6, 22, 38, .72); overflow: hidden; }
.radar__ring, .radar__line, .radar__sweep { position: absolute; display: block; }
.radar__ring { border: 1px solid rgba(82, 208, 207, .22); border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.radar__ring--outer { width: 100%; height: 100%; border-color: rgba(82, 208, 207, .28); }
.radar__ring--middle { width: 70%; height: 70%; }
.radar__ring--inner { width: 40%; height: 40%; }
.radar__line { background: rgba(82, 208, 207, .16); }
.radar__line--h { top: 50%; left: 0; width: 100%; height: 1px; }
.radar__line--v { left: 50%; top: 0; width: 1px; height: 100%; }
.radar__sweep { width: 50%; height: 50%; left: 50%; top: 50%; transform-origin: 0 0; background: linear-gradient(135deg, rgba(82, 208, 207, .35), transparent 70%); clip-path: polygon(0 0, 100% 0, 0 100%); animation: sweep 4s linear infinite; }
.radar__center { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 30px; height: 30px; transform: translate(-50%, -50%); border: 1px solid rgba(255, 255, 255, .4); border-radius: 50%; color: white; background: rgba(177, 207, 211, .6); box-shadow: 0 0 0 7px rgba(82, 208, 207, .08), 0 0 25px rgba(82, 208, 207, .85); font-size: 10px; }
.radar__signal { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 13px var(--cyan); animation: blink 2.8s ease-in-out infinite; }
.radar__signal--one { top: 28%; left: 69%; }
.radar__signal--two { top: 63%; left: 28%; animation-delay: .8s; }
.radar__signal--three { top: 38%; left: 25%; width: 4px; height: 4px; animation-delay: 1.4s; }
@keyframes sweep { to { transform: rotate(360deg); } }
@keyframes blink { 0%, 100% { opacity: .3; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.35); } }
.radar-card__copy { display: grid; gap: 9px; }
.radar-card__copy strong { font-size: 19px; }
.radar-card__copy span, .diagnostic-result small { color: var(--muted); font-size: 12px; }
.diagnostic-result { text-align: left; }
.result-heading { display: flex; justify-content: space-between; align-items: center; text-align: left; }
.muted-label { color: var(--cyan); font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.result-heading h2 { margin: 4px 0 2px; font-size: 24px; }
.result-heading > div:first-child > span:last-child { color: var(--muted); font-size: 12px; }
.result-score { display: grid; place-items: center; min-width: 72px; color: var(--cyan); }
.result-score strong { font-size: 34px; line-height: 1; }
.result-score span { color: var(--muted); font-size: 10px; }
.result-meta { display: flex; gap: 14px; margin: 19px 0; color: var(--muted); font-size: 12px; }
.result-meta span:first-child { color: var(--green); }
.result-meta span:last-child { color: var(--gold); }
.result-bars { display: grid; gap: 10px; }
.result-bars > div { display: grid; grid-template-columns: 60px 1fr; align-items: center; gap: 9px; color: var(--muted); font-size: 11px; }
.result-bars b { display: block; height: 4px; border-radius: 10px; background: rgba(82, 208, 207, .12); overflow: hidden; }
.result-bars i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--cyan); transition: width .8s ease; }
.diagnostic-result small { display: block; margin-top: 18px; }
.trust-row { display: flex; justify-content: center; gap: 0; width: min(720px, 100%); margin: 45px auto 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-row > div { display: flex; align-items: center; justify-content: center; gap: 10px; width: 33.333%; min-height: 54px; border-left: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.trust-row > div:last-child { border-left: 0; }
.trust-row strong { color: var(--gold); font-size: 10px; font-weight: 500; }

.section { padding: 110px 0; border-top: 1px solid rgba(116, 163, 195, .1); }
.stocks-section { background: #0a1828; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 40px; }
.section-heading .eyebrow { margin-bottom: 13px; }
.section-heading h2, .about-section h2 { margin: 0; font-size: 39px; line-height: 1.18; }
.section-heading > p { max-width: 330px; margin-bottom: 4px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.stock-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stock-card { min-height: 170px; padding: 20px; border: 1px solid var(--line); border-radius: 7px; background: rgba(16, 38, 61, .6); text-align: left; transition: border-color .2s ease, transform .2s ease, background .2s ease; }
.stock-card:hover { transform: translateY(-4px); border-color: var(--line-strong); background: var(--panel-2); }
.stock-card__top { display: flex; justify-content: space-between; color: var(--muted-2); font-size: 11px; }
.stock-card__mark { display: grid; place-items: center; width: 34px; height: 34px; margin: 21px 0 16px; border-radius: 50%; color: var(--cyan); background: rgba(82, 208, 207, .12); }
.stock-card strong { display: block; font-size: 16px; }
.stock-card small { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; }
.about-section { background: #0b1d31; }
.about-section__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: end; }
.about-section h2 span { color: var(--cyan); }
.about-copy { max-width: 410px; color: var(--muted); font-size: 16px; line-height: 2; }
.text-link { display: inline-flex; gap: 14px; margin-top: 22px; color: var(--gold); font-size: 13px; font-weight: 700; }
.site-footer { border-top: 1px solid var(--line); background: #06101c; }
.site-footer__top { display: flex; align-items: center; min-height: 128px; }
.footer-links { display: flex; gap: 25px; margin-left: auto; margin-right: 65px; }
.footer-top { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); color: var(--cyan); border-radius: 5px; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding: 17px 0 23px; border-top: 1px solid rgba(116, 163, 195, .1); color: var(--muted-2); font-size: 11px; }

/* Admin */
.admin-body { min-height: 100vh; background: #07111e; }
.login-view { display: grid; grid-template-columns: minmax(390px, 560px) 1fr; min-height: 100vh; }
.login-panel { display: flex; flex-direction: column; justify-content: center; width: min(370px, calc(100% - 56px)); margin: auto; }
.login-panel .brand { margin-bottom: 88px; }
.login-heading .eyebrow { margin-bottom: 15px; font-size: 10px; }
.login-heading h1 { margin: 0 0 10px; font-size: 38px; }
.login-heading p { margin-bottom: 36px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.login-panel form { display: grid; gap: 9px; }
.login-panel label { margin-top: 9px; color: #c5d2df; font-size: 12px; }
.login-panel input { height: 48px; padding-left: 15px; }
.login-panel .button { margin-top: 18px; height: 48px; }
.back-site { margin-top: 27px; color: var(--muted); font-size: 12px; transition: color .2s ease; }
.back-site:hover { color: var(--cyan); }
.login-art { position: relative; display: grid; place-items: center; min-height: 100vh; border-left: 1px solid var(--line); background: #0b1b2d; overflow: hidden; }
.login-art__grid { z-index: 0; opacity: .65; }
.login-art::before { content: ""; position: absolute; inset: 20% 10%; border: 1px solid rgba(82, 208, 207, .1); transform: rotate(45deg); }
.login-art__radar { z-index: 1; width: 360px; height: 360px; margin: 0; }
.login-art__radar .radar__ring--middle { width: 67%; height: 67%; }
.login-art__radar .radar__ring--inner { width: 34%; height: 34%; }
.login-art__radar .radar__center { width: 44px; height: 44px; }
.login-art p { position: absolute; bottom: 35px; margin: 0; color: var(--muted-2); font-size: 10px; letter-spacing: .28em; }
.admin-view { min-height: 100vh; }
.admin-header { display: flex; justify-content: space-between; align-items: center; height: 70px; padding: 0 30px; border-bottom: 1px solid var(--line); background: #081321; }
.admin-header__left, .admin-header__right { display: flex; align-items: center; gap: 20px; }
.admin-header__right { color: var(--muted); font-size: 12px; }
.admin-divider { width: 1px; height: 24px; background: var(--line); }
.admin-status { color: var(--muted); font-size: 11px; }
.admin-status i { margin-right: 8px; width: 5px; height: 5px; }
.icon-button { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); background: transparent; font-size: 15px; transform: rotate(180deg); }
.icon-button:hover { border-color: var(--cyan); color: var(--cyan); }
.admin-nav { display: flex; gap: 0; padding: 0 30px; border-bottom: 1px solid var(--line); background: #0a1727; overflow-x: auto; }
.admin-nav button, .admin-nav a { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 53px; padding: 0 17px; border-bottom: 2px solid transparent; color: #92a3b7; background: transparent; white-space: nowrap; font-size: 13px; }
.admin-nav button:hover, .admin-nav button.is-active, .admin-nav a:hover { color: var(--ink); }
.admin-nav button.is-active { border-bottom-color: var(--cyan); }
.admin-nav a { margin-left: auto; color: var(--gold); }
.admin-toolbar { display: flex; justify-content: space-between; align-items: center; width: min(1240px, calc(100% - 60px)); min-height: 54px; margin: 0 auto; border-bottom: 1px solid rgba(116, 163, 195, .1); }
.admin-breadcrumb { display: flex; align-items: center; gap: 10px; color: var(--muted-2); font-size: 11px; }
.admin-breadcrumb i { color: var(--line-strong); font-style: normal; }
.admin-breadcrumb strong { color: var(--ink); font-weight: 500; }
.admin-toolbar__actions { display: flex; align-items: center; gap: 18px; }
.admin-tool-button, .admin-tool-link { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); background: transparent; font-size: 11px; }
.admin-tool-button:hover, .admin-tool-link:hover { color: var(--cyan); }
.admin-tool-button span { color: var(--cyan); font-size: 16px; line-height: 1; }
.admin-tool-link { color: var(--gold); }
.admin-main { width: min(1240px, calc(100% - 60px)); margin: 0 auto; padding: 46px 0 90px; }
.admin-main__heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 31px; }
.admin-main__heading .eyebrow { margin-bottom: 10px; font-size: 10px; }
.admin-main__heading h1 { margin: 0 0 8px; font-size: 30px; }
.admin-main__heading p { margin: 0; color: var(--muted); font-size: 13px; }
.last-sync { color: var(--muted-2); font-size: 11px; }
.last-sync strong { color: var(--green); font-weight: 500; }
.admin-overview-banner { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 18px; padding: 22px 25px; border: 1px solid rgba(82, 208, 207, .22); border-radius: 6px; background: #102f42; }
.admin-overview-banner .eyebrow { margin-bottom: 8px; font-size: 9px; }
.admin-overview-banner h2 { margin: 0 0 6px; font-size: 18px; font-weight: 500; }
.admin-overview-banner p { margin: 0; color: var(--muted); font-size: 12px; }
.overview-actions { display: flex; flex-wrap: wrap; gap: 9px; flex: 0 0 auto; }
.overview-actions .button { min-height: 38px; padding: 0 13px; font-size: 11px; }
.admin-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.admin-card { border: 1px solid var(--line); border-radius: 6px; background: #0c1e32; }
.stat-card { min-height: 150px; padding: 21px; }
.stat-card__top { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; }
.stat-card__icon { color: var(--cyan); font-size: 17px; }
.stat-card strong { display: block; margin-top: 18px; font-size: 34px; font-weight: 600; letter-spacing: .01em; }
.stat-card small { color: var(--green); font-size: 11px; }
.admin-two-col { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr); gap: 14px; margin-top: 14px; }
.admin-card__heading { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.admin-card__heading strong { font-size: 14px; }
.admin-card__heading span { color: var(--muted-2); font-size: 11px; }
.chart-card { min-height: 310px; }
.chart { display: flex; align-items: end; gap: 11px; height: 220px; padding: 27px 22px 20px; }
.chart > div { display: flex; flex: 1; flex-direction: column; justify-content: end; align-items: center; gap: 9px; height: 100%; color: var(--muted-2); font-size: 9px; }
.chart i { display: block; width: 100%; max-width: 23px; height: calc(var(--value) * 1%); min-height: 4px; border-radius: 3px 3px 0 0; background: var(--cyan); opacity: .7; }
.chart > div:nth-child(4n) i { background: var(--gold); }
.source-card { padding-bottom: 7px; }
.source-row { display: flex; justify-content: space-between; align-items: center; margin: 0 20px; padding: 16px 0; border-bottom: 1px solid rgba(116, 163, 195, .1); color: var(--muted); font-size: 12px; }
.source-row:last-child { border-bottom: 0; }
.source-row strong { color: var(--ink); font-size: 13px; font-weight: 500; }
.source-row em { color: var(--green); font-size: 11px; font-style: normal; }
.admin-two-col--lower { align-items: start; }
.checklist-card { padding-bottom: 7px; }
.checklist-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; width: 100%; padding: 15px 20px; border-bottom: 1px solid rgba(116, 163, 195, .1); color: var(--muted); background: transparent; text-align: left; font-size: 12px; }
.checklist-row:last-child { border-bottom: 0; }
.checklist-row:hover { background: rgba(82, 208, 207, .04); }
.checklist-row > span { display: inline-flex; align-items: center; gap: 8px; }
.checklist-row strong { margin-left: auto; color: var(--ink); font-weight: 500; }
.checklist-row em { color: var(--gold); font-size: 11px; font-style: normal; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--muted-2); }
.status-dot.is-live { background: var(--green); box-shadow: 0 0 0 4px rgba(139, 212, 171, .1); }
.status-dot.is-muted { background: var(--muted-2); }
.quick-card { padding-bottom: 7px; }
.quick-links button { display: flex; align-items: center; gap: 11px; width: 100%; padding: 13px 20px; color: var(--muted); background: transparent; text-align: left; }
.quick-links button:hover { background: rgba(82, 208, 207, .04); }
.quick-links__icon { display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid var(--line); border-radius: 4px; color: var(--cyan); font-size: 14px; }
.quick-links button > span:nth-child(2) { display: grid; gap: 4px; }
.quick-links strong { color: var(--ink); font-size: 12px; font-weight: 500; }
.quick-links small { color: var(--muted-2); font-size: 10px; }
.quick-links b { margin-left: auto; color: var(--gold); font-size: 15px; font-weight: 400; }
.admin-form-card { padding: 25px; }
.admin-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 22px; }
.admin-field { display: grid; gap: 8px; }
.admin-field--wide { grid-column: 1 / -1; }
.admin-field label { color: #b7c7d5; font-size: 12px; }
.admin-field input, .admin-field select { height: 42px; padding: 0 12px; }
.admin-field textarea { min-height: 90px; height: auto; padding: 12px; resize: vertical; line-height: 1.7; }
.admin-form-section__heading { display: flex; align-items: baseline; gap: 12px; margin-top: 5px; padding-bottom: 2px; border-bottom: 1px solid rgba(116, 163, 195, .12); }
.admin-form-section__heading strong { color: var(--ink); font-size: 13px; font-weight: 500; }
.admin-form-section__heading span { color: var(--muted-2); font-size: 11px; }
.form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 15px; margin-top: 4px; }
.save-note { color: var(--green); font-size: 12px; }
.table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.admin-table th, .admin-table td { padding: 16px 20px; border-bottom: 1px solid rgba(116, 163, 195, .1); text-align: left; white-space: nowrap; }
.admin-table th { color: var(--muted-2); font-weight: 500; }
.admin-table td { color: var(--muted); }
.admin-table td strong { color: var(--ink); font-weight: 500; }
.empty-cell { padding: 30px 20px !important; color: var(--muted-2) !important; text-align: center !important; }
.table-input { width: 170px; height: 34px; padding: 0 9px; border: 1px solid rgba(104, 155, 187, .28); border-radius: 4px; outline: none; color: var(--ink); background: #0b1b2e; font-size: 12px; }
.table-input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(82, 208, 207, .1); }
.table-input--number { width: 70px; }
.ratio-input { display: flex; align-items: center; gap: 6px; }
.ratio-input span { color: var(--muted-2); }
.routing-total { color: var(--muted); font-size: 11px; }
.routing-total.is-valid { color: var(--green); }
.routing-total.is-invalid { color: var(--gold); }
.admin-inline-form { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 18px; margin: 20px; padding: 18px; border: 1px solid rgba(82, 208, 207, .16); border-radius: 5px; background: rgba(7, 17, 30, .42); }
.admin-inline-form__heading { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 11px; border-bottom: 1px solid rgba(116, 163, 195, .12); }
.admin-inline-form__heading strong { font-size: 13px; font-weight: 500; }
.admin-inline-form__heading span { color: var(--muted-2); font-size: 11px; }
.admin-inline-form .form-actions { margin-top: 0; }
.status-pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 9px; border-radius: 30px; color: var(--green); background: rgba(139, 212, 171, .1); font-size: 11px; }
.status-pill i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status-pill.is-off { color: var(--muted); background: rgba(141, 157, 178, .1); }
.switch-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; border-bottom: 1px solid rgba(116, 163, 195, .1); }
.switch-row:last-child { border-bottom: 0; }
.switch-row strong { display: block; margin-bottom: 5px; font-size: 13px; }
.switch-row span { color: var(--muted); font-size: 11px; }
.toggle { position: relative; width: 42px; height: 23px; flex: 0 0 auto; border-radius: 20px; background: #1c3043; transition: background .2s; }
.toggle::after { content: ""; position: absolute; top: 4px; left: 4px; width: 15px; height: 15px; border-radius: 50%; background: var(--muted); transition: transform .2s, background .2s; }
.toggle.is-on { background: rgba(82, 208, 207, .35); }
.toggle.is-on::after { transform: translateX(19px); background: var(--cyan); }
.preview-link { color: var(--gold); font-size: 12px; }
.radio-list { display: grid; gap: 10px; }
.radio-option { display: flex; align-items: center; gap: 11px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); font-size: 12px; }
.radio-option.is-selected { border-color: var(--line-strong); color: var(--ink); background: rgba(82, 208, 207, .06); }
.radio-option i { width: 10px; height: 10px; border: 1px solid var(--muted); border-radius: 50%; }
.radio-option.is-selected i { border-color: var(--cyan); box-shadow: inset 0 0 0 2px #0c1e32; background: var(--cyan); }
.toast { position: fixed; right: 27px; bottom: 27px; z-index: 30; padding: 12px 17px; border: 1px solid var(--line-strong); border-radius: 5px; color: var(--ink); background: #153452; box-shadow: var(--shadow); font-size: 12px; animation: toast-in .25s ease; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 900px) {
  .site-nav { gap: 16px; }
  .site-nav a { font-size: 12px; }
  .stock-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-nav button, .admin-nav a { padding: 0 12px; font-size: 12px; }
  .admin-toolbar { width: min(100% - 32px, 560px); }
  .admin-stat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .shell { width: min(100% - 32px, 560px); }
  .site-header { height: 64px; }
  .site-header__inner { gap: 0; justify-content: space-between; }
  .site-header__cta, .site-nav { display: none; }
  .menu-button { display: block; }
  .site-nav.is-open { position: absolute; top: 64px; left: 0; right: 0; display: grid; gap: 0; padding: 8px 16px 15px; border-bottom: 1px solid var(--line); background: #0a1727; }
  .site-nav.is-open a { padding: 13px 0; border-bottom: 1px solid rgba(116, 163, 195, .1); }
  .hero { min-height: 790px; padding-top: 68px; }
  .hero::before { inset: 0; }
  .hero h1 { font-size: 42px; line-height: 1.15; }
  .hero__description { font-size: 14px; }
  .search-panel { margin-top: 38px; padding: 14px; }
  .search-panel__row { display: grid; }
  .search-panel .button { width: 100%; }
  .radar-card { min-height: 390px; padding: 17px 18px 22px; }
  .radar { width: 175px; height: 175px; margin-top: 25px; }
  .trust-row { margin-top: 33px; }
  .trust-row > div { display: grid; gap: 3px; min-height: 62px; font-size: 10px; }
  .section { padding: 74px 0; }
  .section-heading { display: grid; gap: 18px; margin-bottom: 26px; }
  .section-heading h2, .about-section h2 { font-size: 31px; }
  .section-heading > p { max-width: none; font-size: 13px; }
  .stock-grid { gap: 9px; }
  .stock-card { min-height: 155px; padding: 15px; }
  .about-section__inner { grid-template-columns: 1fr; gap: 28px; }
  .about-copy { font-size: 14px; }
  .site-footer__top { display: grid; gap: 25px; padding: 30px 0; }
  .footer-links { flex-wrap: wrap; gap: 15px 23px; margin: 0; }
  .footer-top { position: absolute; right: 16px; margin-top: 42px; }
  .site-footer__bottom { display: grid; gap: 8px; font-size: 10px; }
  .login-view { display: block; }
  .login-panel { width: min(100% - 48px, 390px); min-height: 100vh; }
  .login-panel .brand { margin-bottom: 75px; }
  .login-art { display: none; }
  .admin-header { height: 62px; padding: 0 16px; }
  .admin-header__left { gap: 11px; }
  .admin-header .brand { min-width: 130px; }
  .admin-status, .admin-divider, .admin-header__right > span { display: none; }
  .admin-nav { padding: 0 8px; }
  .admin-nav a { margin-left: 0; }
  .admin-toolbar { min-height: 48px; }
  .admin-toolbar__actions { gap: 12px; }
  .admin-breadcrumb { font-size: 10px; }
  .admin-main { width: min(100% - 32px, 560px); padding-top: 32px; }
  .admin-main__heading { display: grid; gap: 17px; align-items: start; }
  .admin-main__heading h1 { font-size: 26px; }
  .admin-stat-grid { gap: 9px; }
  .stat-card { min-height: 130px; padding: 15px; }
  .stat-card strong { margin-top: 15px; font-size: 27px; }
  .admin-two-col, .admin-form, .admin-inline-form { grid-template-columns: 1fr; }
  .admin-form-card { padding: 18px; }
  .admin-field--wide { grid-column: auto; }
  .form-actions { grid-column: auto; flex-wrap: wrap; }
  .admin-overview-banner { display: grid; gap: 16px; padding: 18px; }
  .overview-actions { width: 100%; }
  .overview-actions .button { flex: 1; }
  .admin-form-section__heading, .admin-inline-form__heading { display: grid; gap: 5px; }
  .admin-inline-form { margin: 14px; padding: 15px; }
  .admin-inline-form__heading, .admin-inline-form .form-actions { grid-column: auto; }
  .table-input { width: 145px; }
  .chart { gap: 5px; padding-left: 12px; padding-right: 12px; }
  .chart i { max-width: 15px; }
}
