:root {
  --bg: #07171d;
  --panel: rgba(12, 35, 42, 0.92);
  --panel-2: #102f38;
  --line: rgba(117, 211, 208, 0.16);
  --cyan: #50d9d4;
  --cyan-soft: #a5efeb;
  --text: #eaf7f6;
  --muted: #8eb0b2;
  --warning: #ffbd69;
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; color: var(--text); background: radial-gradient(circle at 82% 5%, rgba(23, 116, 116, .28), transparent 25%), linear-gradient(180deg, #07171d 0%, #081d23 52%, #07171d 100%); font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; }
button, input, select { font: inherit; }
main { width: min(1440px, 100%); margin: 0 auto; min-height: 100vh; padding: 0 36px 32px; }
.topbar { height: 72px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 11px; }
.brandMark { width: 34px; height: 34px; border: 1px solid var(--cyan); display: grid; place-items: center; color: var(--cyan); font-weight: 800; border-radius: 9px 2px 9px 2px; }
.brand div { display: grid; gap: 1px; }
.brand strong { font-size: 13px; letter-spacing: .04em; }
.brand div span { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .18em; }
.updateState { color: var(--cyan-soft); font-size: 12px; display: flex; align-items: center; gap: 8px; }
.updateState i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 13px var(--cyan); }
.hero { min-height: 190px; padding: 38px 4px 30px; display: flex; justify-content: space-between; align-items: flex-end; }
.eyebrow, .sectionHead p { color: var(--cyan); font-size: 10px; letter-spacing: .2em; margin: 0 0 8px; font-weight: 700; }
h1 { font-size: clamp(32px, 4vw, 54px); line-height: 1.1; margin: 0; letter-spacing: -.04em; font-weight: 730; }
.heroText { color: var(--muted); font-size: 14px; margin: 16px 0 0; }
.dateBlock { text-align: right; border-right: 2px solid var(--cyan); padding-right: 16px; display: grid; gap: 4px; }
.dateBlock span, .dateBlock small { color: var(--muted); font-size: 11px; }
.dateBlock strong { font-size: 24px; letter-spacing: .04em; }
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 16px; }
.stats article { min-height: 112px; padding: 18px 20px; background: linear-gradient(135deg, rgba(16, 47, 56, .94), rgba(8, 28, 34, .96)); border: 1px solid var(--line); border-radius: 3px; display: grid; grid-template-columns: 1fr auto; align-items: center; }
.stats article > span, .stats article small { color: var(--muted); font-size: 11px; }
.stats article strong { grid-row: span 2; font-size: 31px; color: var(--cyan-soft); }
.stats article small { align-self: start; }
.stats .accentStat { background: linear-gradient(135deg, rgba(34, 114, 113, .7), rgba(9, 48, 55, .95)); border-color: rgba(80, 217, 212, .35); }
.dashboardGrid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.sectionHead { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px 14px; }
.sectionHead h2 { margin: 0; font-size: 18px; }
.sectionHead > span { color: var(--muted); font-size: 11px; }
.filters { padding: 0 22px 20px; border-bottom: 1px solid var(--line); }
.countryTabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.countryTabs button { color: var(--muted); background: transparent; border: 1px solid var(--line); padding: 7px 12px; border-radius: 2px; cursor: pointer; font-size: 12px; }
.countryTabs button:hover, .countryTabs button.active { color: #06191d; background: var(--cyan); border-color: var(--cyan); }
.filterRow { display: grid; grid-template-columns: 160px 1fr; gap: 8px; }
.filterRow input, .filterRow select { width: 100%; color: var(--text); background: #091e24; border: 1px solid var(--line); padding: 10px 12px; outline: none; border-radius: 2px; font-size: 12px; }
.filterRow input:focus, .filterRow select:focus { border-color: var(--cyan); }
.filterRow option { color: #102229; background: white; }
.newsList { display: grid; gap: 0; }
.newsCard { padding: 24px 22px; border-bottom: 1px solid var(--line); transition: background .2s ease; }
.newsCard:hover { background: rgba(80, 217, 212, .035); }
.newsCard:last-child { border-bottom: 0; }
.cardTop { display: flex; justify-content: space-between; align-items: flex-start; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tags span { color: var(--muted); background: rgba(123, 170, 173, .09); border: 1px solid var(--line); padding: 4px 7px; font-size: 9px; letter-spacing: .04em; border-radius: 2px; }
.tags .countryTag { color: var(--cyan-soft); border-color: rgba(80, 217, 212, .35); }
.tags .official { color: #7be2ad; }
.tags .secondary { color: var(--warning); }
.score { min-width: 52px; display: grid; text-align: right; }
.score b { color: var(--cyan); font-size: 22px; line-height: 1; }
.score span { color: var(--muted); font-size: 9px; }
.newsCard h3 { font-size: 18px; margin: 14px 0 8px; letter-spacing: -.01em; }
.newsCard > p { color: #b8ced0; line-height: 1.75; font-size: 13px; margin: 0; }
.meta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; color: var(--muted); font-size: 10px; }
.meta .deadline { color: var(--warning); }
.action { display: grid; grid-template-columns: 56px 1fr; gap: 10px; margin-top: 16px; padding: 12px 14px; background: rgba(80, 217, 212, .06); border-left: 2px solid var(--cyan); }
.action b { color: var(--cyan); font-size: 10px; }
.action span { color: #c7dcdd; font-size: 11px; line-height: 1.55; }
.newsCard a { display: inline-block; margin-top: 13px; color: var(--cyan-soft); text-decoration: none; font-size: 10px; }
.newsCard a:hover { text-decoration: underline; }
.empty { padding: 50px 20px; text-align: center; color: var(--muted); }
aside { display: grid; gap: 16px; }
.bars { padding: 2px 22px 22px; display: grid; gap: 15px; }
.barRow { display: grid; grid-template-columns: 58px 1fr 18px; gap: 10px; align-items: center; font-size: 10px; color: var(--muted); }
.barRow > div { height: 5px; background: #091d23; }
.barRow i { display: block; height: 100%; background: linear-gradient(90deg, #247a7d, var(--cyan)); }
.barRow b { color: var(--cyan-soft); text-align: right; }
.opportunity { margin: 0 22px; padding: 16px 0; display: grid; gap: 7px; border-top: 1px solid var(--line); }
.opportunity span { color: var(--cyan); font-size: 9px; }
.opportunity strong { font-size: 12px; line-height: 1.55; }
.opportunity small { color: var(--warning); font-size: 10px; }
.rulePanel ul { margin: 0; padding: 0 28px 22px 41px; color: var(--muted); font-size: 11px; line-height: 1.75; }
.rulePanel li { padding-left: 3px; margin-bottom: 7px; }
.rulePanel li::marker { color: var(--cyan); }
footer { color: #5f7b7e; text-align: center; font-size: 10px; padding-top: 24px; }

@media (max-width: 1000px) {
  main { padding-inline: 20px; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .dashboardGrid { grid-template-columns: 1fr; }
  aside { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  main { padding-inline: 14px; }
  .topbar { height: auto; padding: 16px 0; gap: 12px; align-items: flex-start; }
  .updateState { max-width: 145px; text-align: right; }
  .hero { align-items: flex-start; flex-direction: column; gap: 28px; }
  .dateBlock { text-align: left; border-left: 2px solid var(--cyan); border-right: 0; padding-left: 12px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats article { min-height: 96px; padding: 14px; }
  .dashboardGrid, aside { grid-template-columns: 1fr; }
  .filterRow { grid-template-columns: 1fr; }
  .action { grid-template-columns: 1fr; }
}
