@charset "UTF-8";

:root {
  color-scheme:dark;
  --bg:#0B1420;
  --surface:#142438;
  --surface-raised:#17283B;
  --line:#293C51;
  --line-soft:#223448;
  --text:#F0F5FA;
  --blue:#4F9CF0;
  --cyan:#50c2df;
  --mint:#65ceb0;
  --red:#ee7379;
  --violet:#aa8dd8;
  --amber:#d8a460;
  --sidebar-width:236px;
  --radius:8px;
  --font:"Pretendard","Noto Sans KR","Apple SD Gothic Neo","Malgun Gothic",sans-serif;
  --sidebar:#0E1A29;
  --surface-hover:#20344B;
  --selected:#203D59;
  --selected-row:#172E44;
  --body-text:#DAE5F0;
  --disabled:#8296AA;
  --selected-border:#69B1FF;
  --space-section:24px;
  --control-bg:var(--surface-raised);
  --control-hover:var(--surface-hover);
  --control-border:var(--line);
  --control-selected:var(--selected);
  --control-accent:var(--selected-border);
  --control-text:var(--text);
  --control-muted:var(--muted);
  --control-radius:8px;
  --detail-muted:var(--muted);
  --detail-line:var(--line);
}

* {
  box-sizing:border-box;
}

body {
  margin:0;
  font-family:var(--font);
  -webkit-font-smoothing:antialiased;
}

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

button,a,input,select,textarea {
  -webkit-tap-highlight-color:transparent;
}

button {
  cursor:pointer;
}

button {
  color:inherit;
}

button:disabled {
  cursor:default;
}

button,a {
  touch-action:manipulation;
}

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

button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible {
  outline:2px solid var(--blue);
  outline-offset:3px;
}

button {
  border:0;
  background:none;
}

svg.icon {
  width:19px;
  height:19px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex-shrink:0;
  vertical-align:middle;
}

button svg {
  pointer-events:none;
}

h1,h2,h3,p {
  margin:0;
}

[hidden] {
  display:none!important;
}

.skip-link {
  position:fixed;
  top:-60px;
  left:240px;
  z-index:100;
  background:var(--blue);
  color:#061222;
  padding:10px 20px;
}

.skip-link:focus {
  top:8px;
}

.app-shell {
  min-height:100vh;
}

.sidebar {
  position:fixed;
  inset:0 auto 0 0;
  width:var(--sidebar-width);
  z-index:40;
  display:flex;
  flex-direction:column;
  padding:25px 16px 16px;
}

.brand {
  display:flex;
  align-items:center;
  padding:0 6px;
}

.brand img {
  display:block;
  width:100%;
  max-width:190px;
  height:auto;
  object-fit:contain;
}

.workspace-label {
  font-size:13px;
  letter-spacing:1.2px;
  color:#60738b;
  margin:28px 9px 15px;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.workspace-label span {
  font-size:13px;
  border:1px solid #314359;
  border-radius:4px;
  padding:1px 4px;
  letter-spacing:.4px;
  color:#91a8c5;
}

nav {
  display:flex;
  flex-direction:column;
  gap:6px;
}

.nav-item {
  display:flex;
  align-items:center;
  gap:13px;
  width:100%;
  padding:13px 14px;
  border-radius:7px;
  color:#a9bad0;
  text-align:left;
  font-size:14px;
  transition:background .2s,color .2s;
  min-height:46px;
  font-weight:500;
  white-space:nowrap;
}

.nav-item .icon {
  width:19px;
}

.nav-item:hover {
  background:#21314a55;
  color:#eef4ff;
}

.nav-item .nav-count {
  margin-left:auto;
  font-size:13px;
  color:#aacbff;
  background:#315d8b70;
  border-radius:4px;
  padding:1px 5px;
}

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

.assistant-card {
  position:relative;
  padding:20px 16px 16px;
  border:1px solid #31568b80;
  overflow:hidden;
}

.assistant-card:before {
  content:"";
  position:absolute;
  top:0;
  left:28px;
  right:28px;
  height:1px;
  background:var(--surface-raised);
}

.assistant-orb {
  color:#8ab8fc;
  margin-bottom:9px;
}

.assistant-card strong {
  display:block;
  font-size:13px;
  color:#afd0ff;
}

.assistant-card p {
  font-size:13px;
  color:var(--muted);
  margin-top:8px;
  line-height:1.65;
}

.text-button {
  padding:0;
  margin-top:14px;
  display:flex;
  align-items:center;
  gap:7px;
  font-size:13px;
  color:#9cc6ff;
}

.text-button .icon {
  width:13px;
}

.system-health {
  display:flex;
  align-items:center;
  gap:7px;
  color:#6d8197;
  font-size:13px;
  margin:18px 8px 0;
}

.system-health>span:last-child {
  margin-left:auto;
  color:#4c6077;
}

.status-dot {
  width:6px;
  height:6px;
  border-radius:50%;
  display:inline-block;
  background:var(--mint);
  flex-shrink:0;
}

.system-health .status-dot,.live-status .status-dot {
  animation:status-pulse 3s ease-in-out infinite;
}

.main-content {
  margin-left:var(--sidebar-width);
  padding:0 30px 16px;
  max-width:2000px;
}

.topbar {
  height:76px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  position:relative;
  z-index:2;
}

.breadcrumb {
  display:flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  color:var(--subtle);
  white-space:nowrap;
}

.breadcrumb .icon {
  width:15px;
}

.breadcrumb-divider {
  color:#38495b;
  margin:0 3px;
}

.breadcrumb strong {
  color:#a6b5c9;
  font-weight:500;
}

.topbar-actions {
  display:flex;
  align-items:center;
  gap:17px;
}

.global-search {
  height:36px;
  min-width:260px;
  display:flex;
  align-items:center;
  gap:9px;
  background:var(--surface-raised);
  border:1px solid #35485c;
  border-radius:8px;
  padding:0 12px;
  color:#8ea0b8;
  border-color:var(--line);
}

.global-search .icon {
  width:16px;
}

input {
  background:none;
  color:var(--text);
  border:0;
  outline:none;
  min-width:0;
}

input::placeholder {
  color:#6b7e94;
}

input[type=search]::-webkit-search-cancel-button {
  cursor:pointer;
}

.global-search input {
  width:100%;
  font-size:14px;
  color:var(--text);
}

.global-search kbd {
  font-size:13px;
  border:1px solid #2c3a4a;
  border-radius:3px;
  padding:0 4px;
  color:#6b7e94;
}

.icon-button {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  width:34px;
  height:34px;
  border-radius:7px;
  color:#a9b9cc;
  transition:background .2s,color .2s;
}

.icon-button:hover {
  background:#223347;
  color:#e7f0ff;
}

.notification-button {
  position:relative;
}

.notification-button i {
  width:4px;
  height:4px;
  border-radius:50%;
  background:var(--blue);
  position:absolute;
  right:8px;
  top:6px;
}

.profile-button {
  display:flex;
  align-items:center;
  gap:9px;
  text-align:left;
  font-size:14px;
  color:var(--text);
}

.profile-button small {
  font-size:13px;
  display:block;
  color:#657d96;
  margin-top:1px;
}

.profile-button>.icon {
  width:13px;
  margin-left:4px;
}

.avatar {
  width:33px;
  height:33px;
  background:var(--surface-raised);
  border-radius:50%;
  display:grid;
  place-items:center;
  color:var(--text);
  font-weight:700;
  font-size:14px;
  border:3px solid #a8bdd633;
}

.mobile-menu {
  display:none;
}

.hero {
  position:relative;
  margin-bottom:23px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  padding-top:11px;
}

.hero-art {
  position:absolute;
  top:-75px;
  right:-30px;
  width:85%;
  height:263px;
  object-fit:cover;
  object-position:70% 46%;
  opacity:.72;
  pointer-events:none;
  mask-image:linear-gradient(90deg,transparent,#000 35%,#000 80%,transparent);
}

.hero-shade {
  position:absolute;
  inset:-76px -30px -24px 0;
  background:var(--surface-raised);
  pointer-events:none;
}

.hero-copy {
  z-index:1;
}

.eyebrow {
  color:#6d8aa9;
  letter-spacing:1.8px;
  font-size:12px;
  font-weight:600;
  display:flex;
  align-items:center;
  gap:7px;
}

.eyebrow>span {
  width:4px;
  height:4px;
  background:#6b9ef2;
  border-radius:50%;
}

h1 {
  font-size:34px;
  line-height:1.25;
  letter-spacing:-1.5px;
  font-weight:750;
  margin:12px 0 11px;
}

.hero-copy p {
  letter-spacing:-.1px;
}

.hero-status {
  position:relative;
  z-index:1;
  text-align:right;
  padding-top:16px;
  min-width:160px;
}

.hero-status>span {
  font-size:13px;
  color:#93a7c0;
}

.hero-status>strong {
  display:block;
  font-size:22px;
  line-height:1.4;
  font-variant-numeric:tabular-nums;
  letter-spacing:.3px;
}

.live-status {
  --news-status-color:var(--muted);
  display:inline-flex;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:6px;
  font-weight:600;
  color:var(--news-status-color);
  margin-top:9px;
  border-radius:8px;
}

.live-status small {
  font-weight:400;
  color:#7c9cae;
  width:100%;
  line-height:1.3;
}

.metrics-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  position:relative;
  z-index:1;
}

.metric-card {
  display:flex;
  position:relative;
  overflow:hidden;
  transition:transform .2s,border-color .2s;
}

.metric-card:hover {
  transform:translateY(-2px);
  border-color:#4f859699;
}

.metric-card.red {
  border-color:#64404788;
  background:var(--surface-raised);
}

.metric-card.violet {
  border-color:#51426299;
  background:var(--surface-raised);
}

.metric-card.amber {
  border-color:#5e523b77;
  background:var(--surface-raised);
}

.metric-icon {
  display:grid;
  place-items:center;
  flex-shrink:0;
  width:39px;
  height:39px;
  background:var(--surface-raised);
  border:1px solid #6888c455;
  color:#e4edff;
  border-radius:50%;
  box-shadow:none;
}

.red .metric-icon {
  background:var(--surface-raised);
  border-color:#e2939544;
  box-shadow:none;
}

.violet .metric-icon {
  background:var(--surface-raised);
  border-color:#b7a1d844;
  box-shadow:none;
}

.amber .metric-icon {
  background:var(--surface-raised);
  border-color:#d5a77644;
  box-shadow:none;
}

.metric-icon .icon {
  width:20px;
}

.metric-title {
  white-space:nowrap;
}

.metric-value {
  line-height:1.25;
}

.metric-value small {
  color:#c7d2de;
}

.metric-change {
  white-space:nowrap;
}

.metric-change span {
  color:#8397ae;
  margin-left:3px;
}

.metric-change.down {
  color:var(--red);
}

.metric-chart {
  width:70px;
  position:absolute;
  right:14px;
  bottom:18px;
  opacity:.85;
}

.metric-chart svg {
  width:100%;
  height:43px;
  overflow:visible;
}

.metric-chart.donut {
  width:52px;
  height:52px;
  bottom:20px;
  right:16px;
}

.metric-chart.donut svg {
  height:52px;
  transform:rotate(-90deg);
}

.section-toolbar {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:12px;
  gap:10px;
}

.section-toolbar>div {
  display:flex;
  align-items:center;
  gap:8px;
}

.section-toolbar strong {
  font-size:13px;
  font-weight:600;
  letter-spacing:-.3px;
}

.section-toolbar #section-caption {
  font-size:13px;
  color:#60758d;
  margin-left:8px;
}

.section-toolbar .status-dot {
  width:5px;
  height:5px;
  background:var(--blue);
}

.quiet-button {
  color:var(--muted);
  font-size:14px;
  display:flex;
  align-items:center;
  gap:6px;
  padding:3px 0;
  min-height:40px;
}

.quiet-button .icon {
  width:13px;
  height:13px;
}

.quiet-button small {
  font-size:13px;
  color:var(--muted);
  margin-left:4px;
}

.quiet-button:hover {
  color:var(--blue);
}

.dashboard-grid {
  display:grid;
  align-items:start;
}

.article-tabs {
  display:flex;
  border-bottom-color:var(--line);
  position:relative;
}

.article-tab {
  position:relative;
  display:flex;
  align-items:center;
  gap:6px;
  white-space:nowrap;
  color:#9aadc5;
  border-bottom:2px solid transparent;
  transition:color .2s,background .2s;
}

.article-tab.active {
  font-weight:600;
}

.article-tab:first-child {
  border-top-left-radius:12px;
}

.tab-count {
  font-size:12px;
  line-height:15px;
  padding:0 4px;
  border-radius:5px;
  color:#c1ccdb;
  background:#334053;
  font-variant-numeric:tabular-nums;
}

.article-tab.active .tab-count {
  background:#235ab1;
  color:#f3f8ff;
}

.article-tab[data-tab=response] .tab-count {
  background:#98404a;
  color:#ffe7e9;
}

.feed-filters {
  display:flex;
}

.feed-search {
  display:flex;
  align-items:center;
  gap:8px;
  flex:1;
  padding:0 10px;
  border:1px solid #35495e;
  color:#96aec7;
}

.feed-search .icon {
  width:16px;
  height:16px;
}

.feed-search input {
  width:100%;
  font-size:13px;
}

.select-wrap {
  position:relative;
  display:block;
}

.select-wrap:after {
  content:"";
  position:absolute;
  right:10px;
  border-right:1.5px solid #829bb5;
  border-bottom:1.5px solid #829bb5;
  width:5px;
  height:5px;
  transform:rotate(45deg);
  pointer-events:none;
}

.select-wrap select {
  appearance:none;
  border:1px solid #324456;
  color:#c5d2e1;
  font-size:13px;
  padding:0 24px 0 11px;
  cursor:pointer;
  width:100%;
}

.select-wrap option {
  background:#142131;
}

.filter-bookmark .icon {
  width:15px;
}

.filter-bookmark[aria-pressed=true] {
  background:#21436a;
  color:#9bc7ff;
  border-color:#497bb7;
}

.feed-meta {
  display:flex;
  align-items:center;
}

.feed-meta>span:last-child {
  align-items:center;
  gap:4px;
  color:#728da2;
}

.feed-meta .icon {
  width:11px;
  height:11px;
  color:#69b29b;
}

.article-list {
  display:flex;
  flex-direction:column;
}

.article-card {
  position:relative;
  transition:background .2s,border-color .2s,transform .2s;
}

.article-open {
  display:flex;
  gap:12px;
  width:100%;
  text-align:left;
  align-items:center;
}

.article-thumb {
  width:73px;
  height:69px;
  border-radius:6px;
  object-fit:cover;
  flex-shrink:0;
  filter:saturate(.7);
}

.article-info {
  min-width:0;
  flex:1;
  padding-right:23px;
}

.article-meta {
  display:flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  min-width:0;
  flex-wrap:wrap;
}

.article-meta strong {
  font-size:13px;
  font-weight:600;
  color:#dde5f0;
}

.article-meta time {
  color:#698099;
  font-size:13px;
  white-space:nowrap;
  font-variant-numeric:tabular-nums;
}

.badge {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:2px 8px;
  border:1px solid transparent;
  border-radius:20px;
  font-size:12px;
  font-weight:500;
  white-space:nowrap;
  line-height:1.6;
}

.badge.negative {
  background:#7733404a;
  color:#ef9ba6;
  border-color:#ad596b33;
}

.badge.positive {
  background:#245b9455;
  color:#91c0fd;
  border-color:#4080c433;
}

.badge.neutral {
  background:#75512840;
  color:#e2b372;
  border-color:#a5743533;
}

.badge.response {
  background:#71362950;
  color:#ef947d;
  border-color:#a94c3433;
}

.badge.category {
  background:#1e2b3a;
  color:#a0b3c8;
  border-color:#344356;
}

.article-info h3 {
  font-size:13px;
  line-height:1.5;
  letter-spacing:-.25px;
  font-weight:600;
  margin-top:5px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.article-info p {
  font-size:13px;
  color:#889db5;
  margin-top:5px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.article-bookmark {
  position:absolute;
  width:27px;
  height:27px;
  color:#819bb7;
}

.article-bookmark .icon {
  width:15px;
  height:15px;
}

.article-bookmark[aria-pressed=true] .icon {
  fill:#4d89d3;
  stroke:#8dbbff;
}

.bookmark-toggle {
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-left:auto;
  padding:8px 11px;
  border:1px solid var(--line);
  border-radius:7px;
  background:#111b27;
  color:#a9bbcf;
  font:inherit;
  cursor:pointer;
}

.bookmark-toggle .icon {
  width:15px;
  height:15px;
}

.bookmark-toggle strong {
  min-width:20px;
  color:#8ea5bd;
  font-size:13px;
}

.bookmark-toggle[aria-pressed=true] {
  color:#a7caff;
  border-color:#427cc0;
  background:#172b42;
}

.bookmark-toggle[aria-pressed=true] strong {
  color:#9bc4ff;
}

.article-bookmark[aria-pressed=true] {
  color:#8dbbff;
}

.detail-bookmark {
  position:static;
  display:inline-flex;
  align-items:center;
  gap:5px;
  width:auto;
  min-width:27px;
  padding:4px 7px;
  border:1px solid var(--line);
  border-radius:6px;
  background:transparent;
  font:inherit;
  cursor:pointer;
}

.detail-bookmark[aria-pressed=true] {
  border-color:#427cc0;
  background:#172b42;
}

.detail-bookmark span {
  font-size:13px;
}

.dashboard-summary {
  display:grid;
  gap:10px;
  padding:4px 0 20px;
}

.dashboard-summary-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding-top:8px;
}

.dashboard-summary-head h2 {
  margin:0;
  font-size:19px;
  font-weight:600;
  color:var(--text);
}

.dashboard-summary-head p {
  margin:5px 0 0;
  color:var(--muted);
  font-size:14px;
  line-height:1.6;
}

.dashboard-summary-head.recent {
  margin-top:16px;
  border-top:1px solid var(--line);
  padding-top:21px;
}

.dashboard-issue-list {
  display:grid;
}

.dashboard-issue-row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  min-height:62px;
  padding:16px;
  border:0;
  border-bottom:1px solid var(--line);
  background:var(--surface);
  color:inherit;
  text-align:left;
  cursor:pointer;
  border-color:var(--line);
  border-radius:8px;
}

.dashboard-issue-row:hover {
  background:var(--surface-hover);
  border-color:var(--line);
}

.dashboard-issue-row>span:first-child {
  min-width:0;
  display:grid;
  gap:5px;
}

.dashboard-issue-row strong {
  overflow:hidden;
  color:var(--text);
  font-size:15px;
  font-weight:600;
  text-overflow:ellipsis;
  white-space:nowrap;
  line-height:1.6;
}

.dashboard-issue-row small {
  color:var(--muted);
  font-size:13px;
  line-height:1.6;
}

.dashboard-data-note {
  margin:5px 0 0;
  color:var(--muted);
  font-size:13px;
  text-align:right;
  line-height:1.65;
}

.library-section {
  margin-top:22px;
  padding-top:16px;
  border-top:1px solid var(--line);
}

.library-section h3 {
  margin:0;
  font-size:15px;
}

.library-count {
  margin-left:5px;
  color:#91baff;
  font-size:13px;
}

.saved-article {
  grid-template-columns:minmax(0,1fr) auto auto;
}

.library-card.saved-article {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
}

.saved-article .article-bookmark {
  position:static;
  width:30px;
  height:30px;
  transform:none;
}

.saved-article>div {
  min-width:0;
}

.saved-article strong {
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.draft-preview {
  margin:7px 0 0;
  color:var(--muted);
  font-size:13px;
  line-height:1.6;
}

@media (max-width:680px) {
.dashboard-summary-head {
  align-items:flex-start;
  flex-wrap:wrap;
}

.dashboard-issue-row {
  align-items:flex-start;
  padding:16px;
  background:var(--surface);
  border-color:var(--line);
  border-radius:8px;
}

.dashboard-issue-row strong {
  white-space:normal;
  font-size:15px;
  font-weight:600;
  line-height:1.6;
  color:var(--text);
}

.bookmark-toggle {
  margin-left:0;
}

.feed-mode-bar {
  flex-wrap:wrap;
}

.feed-mode-hint,#feed-mode-hint {
  flex-basis:100%;
}

.library-card.saved-article {
  grid-template-columns:minmax(0,1fr) auto;
}

.saved-article .article-bookmark {
  grid-column:2;
}
}

.importance-mini {
  font-size:13px;
  color:#9daec1;
  margin-left:auto;
  white-space:nowrap;
}

.importance-mini.high {
  color:#d993a0;
}

.pagination {
  display:flex;
  justify-content:center;
  align-items:center;
  gap:6px;
  margin:14px 0 0;
}

.pagination button {
  min-width:26px;
  height:26px;
  border-radius:6px;
  font-size:13px;
  color:#9ab0c9;
  display:grid;
  place-items:center;
}

.pagination button .icon {
  width:13px;
  height:13px;
}

.pagination button:hover {
  background:#1d3148;
}

.pagination button.active {
  color:#fff;
}

.pagination small {
  font-size:13px;
  color:#526d86;
  margin-left:10px;
}

.detail-panel {
  position:sticky;
  top:18px;
  overflow:hidden;
  min-width:0;
  animation:fade-up .35s ease both;
}

.detail-topline {
  display:flex;
  align-items:center;
  color:#dae6f4;
}

.outlet-symbol {
  font-family:Georgia,serif;
  font-weight:700;
  background:#dde8fb;
  color:#32569c;
  width:17px;
  height:17px;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:13px;
}

.detail-topline time {
  color:#71869c;
  margin-left:3px;
}

.source-button {
  margin-left:auto;
  color:#8ea4bc;
  white-space:nowrap;
}

.source-button .icon {
  width:10px;
  height:10px;
  margin-left:3px;
}

.detail-heading {
  display:flex;
  gap:12px;
}

.detail-heading-copy {
  flex:1;
  min-width:0;
}

.detail-heading h2 {
  font-weight:700;
  margin:0 0 12px;
}

.detail-heading img {
  width:104px;
  height:125px;
  object-fit:cover;
  border-radius:8px;
  filter:saturate(.7);
}

.detail-badges,.detail-tags {
  display:flex;
  gap:6px;
  flex-wrap:wrap;
}

.detail-badges .badge {
  padding:3px 9px;
  border-radius:7px;
}

.detail-tags {
  margin-top:7px;
}

.detail-tags button {
  font-size:13px;
  color:#9fb2c9;
  background:#1c2937;
  border:1px solid #2b3c4d;
  padding:3px 9px;
  border-radius:20px;
}

.detail-tags button:hover {
  border-color:#5a81b0;
  color:#c0d9fa;
}

.analysis-block {
  background:#1a2635b0;
  border:1px solid #2c3b4c55;
  border-radius:9px;
  padding:12px;
  margin-top:14px;
}

.analysis-block h3,.analysis-title {
  display:flex;
  align-items:center;
  gap:7px;
  font-size:13px;
  font-weight:600;
}

.analysis-block h3>.icon,.analysis-title>.icon {
  width:16px;
  color:#8baff6;
}

.copy-small {
  margin-left:auto;
  padding:3px 6px;
  border-radius:20px;
  background:#32435880;
  color:#a5b6ce;
  font-size:13px;
  font-weight:400;
  display:flex;
  align-items:center;
  gap:4px;
  white-space:nowrap;
}

.copy-small .icon {
  width:10px;
  height:10px;
}

.copy-small:hover {
  background:#3b5778;
}

.analysis-block ul {
  margin:10px 0 0;
  padding-left:14px;
  color:#a9bacd;
  font-size:13px;
  line-height:1.9;
}

.analysis-block li {
  padding-left:1px;
  margin-bottom:3px;
}

.analysis-block li:last-child {
  margin-bottom:0;
}

.analysis-block li::marker {
  color:#7e9bbd;
}

.analysis-title {
  margin:14px 0 9px;
}

.analysis-scores {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
}

.score-card>span {
  color:#a4b5c8;
  white-space:nowrap;
}

.score-card strong {
  display:flex;
  align-items:center;
  gap:4px;
  margin-top:7px;
  font-weight:600;
  white-space:nowrap;
}

.score-card .icon {
  width:14px;
  height:14px;
}

.score-card.negative strong,.score-card.high strong {
  color:#ef8388;
}

.score-card.positive strong {
  color:#8ebdff;
}

.score-card.neutral strong {
  color:var(--amber);
}

.score-card.category strong {
  font-size:13px;
  color:#d3dce8;
}

.recommendation {
  background:var(--surface-raised);
  border-color:#3b5f8533;
}

.recommendation li {
  color:#b0c6e0;
  font-size:13px;
}

.recommendation h3 .icon {
  color:#add3ff;
}

.detail-actions {
  display:flex;
  gap:8px;
}

.primary-button,.secondary-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:11px 15px;
  font-size:13px;
  font-weight:500;
  border-radius:7px;
  border:1px solid transparent;
  transition:background .2s,transform .2s;
}

.secondary-button:hover {
  background:#253b53;
}

.primary-button .icon,.secondary-button .icon {
  width:15px;
  height:15px;
}

.detail-actions>* {
  flex:1;
}

.detail-footnote {
  display:flex;
  justify-content:space-between;
  color:#516f8b;
}

.detail-footnote span:first-child {
  display:flex;
  align-items:center;
  gap:4px;
}

.detail-footnote .icon {
  width:10px;
  height:10px;
}

.page-footer {
  display:flex;
  justify-content:space-between;
  gap:15px;
  color:var(--muted);
  font-size:13px;
  margin-top:24px;
  padding-top:14px;
  border-top:1px solid #1c2a39;
  border-color:var(--line);
}

.footer-divider {
  margin:0 6px;
}

.empty-state {
  display:grid;
  place-content:center;
  text-align:center;
  min-height:350px;
  border:1px dashed #30475e;
  border-radius:10px;
  color:var(--muted);
  font-size:14px;
}

.empty-state>.icon {
  margin:0 auto 13px;
  width:28px;
  height:28px;
  color:#5f87b7;
}

.empty-state strong {
  font-size:14px;
  color:#c3d5e9;
}

.empty-state p {
  font-size:13px;
  margin:7px 0 17px;
}

.empty-state button {
  margin:auto;
}

.notification-popover {
  position:fixed;
  top:66px;
  right:160px;
  width:340px;
  z-index:60;
  padding:18px;
  background:var(--surface);
  border:1px solid #34485f;
  border-radius:11px;
  box-shadow:none;
  border-color:var(--line);
}

.notification-popover h3 {
  font-size:14px;
}

.notification-popover>p {
  font-size:13px;
  color:#8ea5bf;
  margin-top:5px;
  margin-bottom:13px;
}

.notification-row {
  display:flex;
  gap:10px;
  padding:12px 0;
  border-top:1px solid #2a3a4d;
  text-align:left;
  width:100%;
}

.notification-row>.icon {
  color:var(--red);
  width:17px;
  margin-top:3px;
}

.notification-row strong {
  display:block;
  font-size:13px;
}

.notification-row small {
  color:#819bb7;
  font-size:13px;
}

.toast {
  position:fixed;
  bottom:25px;
  left:calc(50% + 70px);
  transform:translate(-50%,15px);
  background:#21374d;
  border:1px solid #47647e;
  border-radius:9px;
  box-shadow:none;
  padding:12px 20px;
  z-index:100;
  color:#d9e8f8;
  font-size:13px;
  opacity:0;
  visibility:hidden;
  transition:opacity .2s,transform .2s;
  max-width:90vw;
  text-align:center;
}

.toast.visible {
  opacity:1;
  visibility:visible;
  transform:translate(-50%,0);
}

.draft-dialog {
  width:min(720px,calc(100vw - 32px));
  max-height:90vh;
  border:1px solid #3b526b;
  border-radius:10px;
  background:var(--surface);
  color:var(--body-text);
  padding:25px;
  box-shadow:none;
  border-color:var(--line);
}

.draft-dialog::backdrop {
  background:#020a15bf;
  backdrop-filter:blur(5px);
}

.dialog-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:19px;
}

.dialog-header h2 {
  font-size:23px;
  margin-top:7px;
  letter-spacing:-.7px;
}

.dialog-header .eyebrow {
  font-size:12px;
  color:#86a9d4;
}

.draft-context {
  font-size:13px;
  background:#223449;
  padding:12px;
  border:1px solid #38516e;
  border-radius:7px;
  color:#bbd0e8;
  margin-bottom:12px;
}

.draft-note {
  display:flex;
  align-items:center;
  gap:7px;
  color:#baa586;
  font-size:13px;
  margin-bottom:20px;
}

.draft-note .icon {
  width:14px;
  height:14px;
  flex-shrink:0;
}

.draft-label {
  display:flex;
  justify-content:space-between;
  font-size:13px;
  margin-bottom:8px;
  color:#cbd9ea;
}

.draft-label span {
  font-size:13px;
  color:#7893b2;
}

.draft-dialog textarea {
  width:100%;
  min-height:300px;
  padding:16px;
  background:#0d1926;
  border:1px solid #2b435b;
  color:#c2d4e9;
  border-radius:8px;
  line-height:1.9;
  font-size:13px;
  resize:vertical;
}

.dialog-actions {
  display:flex;
  gap:9px;
  justify-content:flex-end;
  flex-wrap:wrap;
  margin-top:18px;
}

.secondary-view {
  animation:fade-up .3s ease both;
}

.overview-grid {
  display:grid;
  grid-template-columns:1.2fr 1fr;
}

.overview-card {
  padding:24px;
  background:var(--surface);
  border:1px solid #293b4d;
  border-radius:8px;
  border-color:var(--line);
  box-shadow:none;
}

.overview-card h2 {
  letter-spacing:-.5px;
  margin-bottom:4px;
}

.overview-card>p {
  margin-bottom:20px;
}

.overview-card.full-width {
  grid-column:1/-1;
}

.issue-row {
  display:flex;
  align-items:center;
  gap:13px;
  padding:15px 0;
  border-top:1px solid #293a4b;
  border-color:var(--line);
}

.issue-rank {
  width:28px;
  height:28px;
  border-radius:7px;
  display:grid;
  place-items:center;
  background:#253951;
  color:#a6c5ec;
  font-size:13px;
}

.issue-row .issue-content {
  flex:1;
  min-width:0;
}

.issue-row strong {
  font-size:13px;
  display:block;
}

.issue-row small {
  font-size:13px;
  color:#7b95b0;
}

.issue-row>.badge {
  margin-left:auto;
}

.bar-chart-row {
  display:grid;
  grid-template-columns:66px 1fr 32px;
  align-items:center;
  gap:10px;
  margin:18px 0;
  font-size:13px;
}

.bar-track {
  height:8px;
  background:#223346;
  border-radius:3px;
  overflow:hidden;
}

.bar-fill {
  height:100%;
  background:var(--surface-raised);
  border-radius:3px;
}

.bar-chart-row.red .bar-fill {
  background:var(--surface-raised);
}

.bar-chart-row.mint .bar-fill {
  background:var(--surface-raised);
}

.bar-chart-row>span:last-child {
  text-align:right;
  color:#9cb8d7;
  font-size:13px;
}

.sentiment-legend {
  display:flex;
  gap:15px;
  justify-content:center;
  margin-top:22px;
  font-size:13px;
  color:#93abc7;
}

.sentiment-legend i {
  width:7px;
  height:7px;
  display:inline-block;
  margin-right:5px;
  border-radius:2px;
}

.trend-chart {
  width:100%;
  height:200px;
  overflow:visible;
}

.chart-labels {
  display:flex;
  justify-content:space-between;
  color:#65839e;
  font-size:13px;
  margin-top:5px;
}

.keyword-row {
  display:flex;
  gap:12px;
  align-items:center;
  padding:13px 0;
  border-top:1px solid #293a4b;
}

.analytics-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin:0 0 16px;
  color:var(--muted);
  font-size:13px;
}

.analytics-period {
  display:flex;
  align-items:center;
  gap:9px;
  color:var(--muted);
  white-space:nowrap;
}

.analytics-period select,.library-tools select,.library-card select {
  min-height:42px;
  border:1px solid var(--line);
  border-radius:8px;
  padding:0 10px;
  background:var(--surface-raised);
  color:var(--text);
  font-size:14px;
  border-color:var(--line);
}

.analytics-empty {
  color:var(--muted);
  padding:12px 0;
}

.analytics-article-list {
  display:grid;
  gap:7px;
  margin-top:14px;
}

.analytics-article-list button {
  display:grid;
  gap:5px;
  width:100%;
  border:1px solid var(--line);
  border-radius:9px;
  padding:12px 14px;
  background:var(--surface-raised);
  color:var(--text);
  text-align:left;
}

.analytics-article-list button:hover {
  border-color:var(--blue);
}

.analytics-article-list small {
  color:var(--muted);
}

.library-tools {
  display:flex;
  gap:10px;
  margin:16px 0;
}

.library-tools input {
  flex:1;
  min-width:0;
  min-height:44px;
  border:1px solid var(--line);
  border-radius:8px;
  padding:0 12px;
  background:var(--surface-raised);
  color:var(--text);
  font-size:14px;
}

.keyword-row.selected {
  border-color:var(--blue);
  background:rgba(55,110,172,.12);
}

.library-card select {
  font-size:13px;
}

.keyword-row strong {
  font-size:15px;
  font-weight:600;
}

.keyword-row small {
  display:block;
  font-size:13px;
  color:var(--muted);
}

.keyword-row svg {
  width:85px;
  height:30px;
  margin-left:auto;
}

.keyword-row .change {
  font-size:13px;
  color:var(--red);
  min-width:48px;
  text-align:right;
}

.keyword-row .change.falling {
  color:var(--mint);
}

.data-table {
  width:100%;
  border-collapse:collapse;
  font-size:14px;
}

.data-table th {
  text-align:left;
}

.data-table td {
  border-bottom:1px solid var(--line);
  padding:16px;
  color:var(--body-text);
}

.data-table th:last-child,.data-table td:last-child {
  text-align:right;
}

.data-table .table-action {
  font-size:13px;
  color:var(--text);
  padding:5px 8px;
  border:1px solid #3a5676;
  border-radius:5px;
  min-height:36px;
  border-color:var(--line);
}

.table-scroll {
  overflow:auto;
}

.library-card {
  display:flex;
  align-items:center;
  gap:15px;
  border-top:1px solid #293c50;
  padding:18px 0;
}

.library-card>.icon {
  width:30px;
  height:30px;
  color:#8db9ef;
}

.library-card>div {
  flex:1;
  min-width:0;
}

.library-card strong {
  display:block;
  font-size:15px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  line-height:1.6;
}

.library-card small {
  font-size:13px;
  color:var(--muted);
}

.library-card button {
  padding:8px;
  color:var(--text);
  border:1px solid #3a526c;
  border-radius:6px;
  font-size:13px;
  min-height:40px;
  border-color:var(--line);
}

.settings-row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:17px 0;
  border-top:1px solid #293e53;
}

.settings-row strong {
  display:block;
  font-size:15px;
  font-weight:600;
}

.settings-row small {
  font-size:13px;
  color:var(--muted);
  display:block;
  margin-top:3px;
  line-height:1.6;
}

.switch {
  width:36px;
  height:21px;
  border-radius:20px;
  background:#344b62;
  padding:3px;
  flex-shrink:0;
  transition:background .2s;
}

.switch:after {
  content:"";
  display:block;
  width:15px;
  height:15px;
  border-radius:50%;
  background:#c1d0e2;
  transition:transform .2s;
}

.switch[aria-checked=true] {
  background:#2d75cf;
}

.switch[aria-checked=true]:after {
  transform:translateX(15px);
  background:#fff;
}

.workflow-step {
  display:flex;
  gap:14px;
  align-items:start;
  padding:18px 0;
  border-top:1px solid #293e53;
}

.workflow-step>span {
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  border-radius:8px;
  background:#254163;
  color:#a0c6ff;
  font-size:13px;
  flex-shrink:0;
}

.workflow-step strong {
  font-size:13px;
}

.workflow-step p {
  font-size:13px;
  color:#8ca9c6;
  margin-top:5px;
}

.fade-in {
  animation:fade-up .35s ease both;
}

.loading-spin {
  animation:spin .7s linear infinite;
}

.sidebar-scrim {
  display:none;
}

@keyframes fade-up {

  from {
    opacity:0;
    transform:translateY(7px);
  }
  to {
    opacity:1;
    transform:translateY(0);
  }

}

@keyframes status-pulse {

  0%,100% {
    opacity:1;
    box-shadow:0 0 0 0 #65ceb000;
  }
  50% {
    opacity:.65;
    box-shadow:0 0 0 3px #65ceb014;
  }

}

@keyframes spin {

  to {
    transform:rotate(360deg);
  }

}

@media(min-width:1600px) {
.main-content {
  padding-left:38px;
  padding-right:38px;
}

h1 {
  font-size:40px;
}

.hero-copy p {
  font-size:14px;
  color:var(--muted);
  line-height:1.6;
  max-width:none;
}

.metrics-grid {
  gap:18px;
  background:var(--surface);
  border-color:var(--line);
}

.metric-card {
  padding:22px;
}

.metric-value {
  font-size:32px;
  font-weight:650;
  color:var(--text);
  letter-spacing:-.02em;
}

.metric-title {
  font-size:13px;
  color:var(--muted);
}

.metric-change {
  font-size:13px;
  color:var(--muted);
  line-height:1.6;
}

.metric-chart {
  width:80px;
  right:20px;
}

.dashboard-grid {
  gap:24px;
}

.article-open {
  padding:13px;
}

.article-thumb {
  width:85px;
  height:75px;
}

.article-info h3 {
  font-size:14px;
}

.article-info p {
  font-size:13px;
}

.article-meta {
  font-size:13px;
}

.article-meta strong,.article-meta time {
  font-size:13px;
}

.detail-heading h2 {
  font-size:22px;
}

.analysis-block ul {
  font-size:13px;
}

.recommendation li {
  font-size:13px;
}

.detail-panel {
  padding:20px;
  background:var(--surface);
  border-color:var(--line);
  --detail-muted:var(--muted);
  --detail-line:var(--line);
}

.detail-heading img {
  width:130px;
  height:144px;
}

.article-list {
  min-height:533px;
}
}

@media(max-width:1280px) {
:root {
  --sidebar-width:190px;
}

.sidebar {
  padding-left:12px;
  padding-right:12px;
  background:var(--sidebar);
  border-right:1px solid var(--line);
}

.brand img {
  max-width:166px;
}

.workspace-label {
  font-size:13px;
  letter-spacing:.7px;
}

.main-content {
  padding-left:22px;
  padding-right:22px;
}

.topbar-actions {
  gap:9px;
}

.global-search {
  min-width:220px;
  background:var(--surface-raised);
  border-color:var(--line);
  border-radius:8px;
}

.breadcrumb strong,.breadcrumb-divider {
  display:none;
}

.metric-card {
  padding:16px 12px;
  gap:9px;
}

.metric-icon {
  width:32px;
  height:32px;
}

.metric-icon .icon {
  width:17px;
}

.metric-chart {
  width:48px;
  right:10px;
  bottom:20px;
}

.metric-chart.donut {
  width:42px;
  height:42px;
  right:10px;
  bottom:24px;
}

.metric-chart.donut svg {
  height:42px;
}

.metric-value {
  font-size:32px;
  font-weight:650;
  color:var(--text);
  letter-spacing:-.02em;
}

.metric-title {
  font-size:13px;
  color:var(--muted);
}

.article-tab {
  padding:13px 11px;
  font-size:13px;
  gap:4px;
}

.feed-filters {
  gap:5px;
}

.select-wrap select {
  font-size:13px;
  padding-left:7px;
  padding-right:22px;
}

.article-thumb {
  width:60px;
  height:64px;
}

.article-open {
  gap:9px;
  padding:10px;
}

.article-info h3 {
  font-size:13px;
}

.article-meta {
  gap:6px;
}

.article-meta time {
  font-size:13px;
}

.importance-mini {
  display:none;
}

.detail-panel {
  padding:14px;
  background:var(--surface);
  border-color:var(--line);
  --detail-muted:var(--muted);
  --detail-line:var(--line);
}

.detail-heading h2 {
  font-size:17px;
}

.detail-heading img {
  width:86px;
  height:115px;
}

.detail-badges {
  gap:4px;
}

.detail-badges .badge {
  font-size:12px;
  padding:3px 7px;
}

.detail-tags button {
  font-size:13px;
  padding:3px 7px;
}

.detail-topline {
  gap:5px;
}

.detail-topline time {
  font-size:13px;
}

.analysis-scores {
  gap:4px;
}

.score-card strong {
  font-size:13px;
}

.analysis-block {
  padding:11px;
}

.analysis-block ul {
  font-size:13px;
}

.recommendation li {
  font-size:13px;
}

.detail-actions>* {
  font-size:13px;
}

.profile-button small {
  display:none;
}
}

@media(max-width:1080px) {
:root {
  --sidebar-width:78px;
}

.sidebar {
  padding:24px 11px 15px;
  background:var(--sidebar);
  border-right:1px solid var(--line);
}

.brand {
  justify-content:center;
  padding:0;
}

.workspace-label,.nav-item>span:not(.icon),.nav-count,.assistant-card,.system-health {
  display:none!important;
}

.brand img {
  width:54px;
  max-width:54px;
}

nav {
  margin-top:34px;
  gap:10px;
}

.nav-item {
  justify-content:center;
  padding:14px;
  font-size:14px;
  min-height:46px;
  font-weight:500;
  white-space:nowrap;
}

.nav-item .icon {
  width:21px;
  height:21px;
}

.main-content {
  padding-left:24px;
  padding-right:24px;
}

.breadcrumb strong,.breadcrumb-divider {
  display:inline;
}

.metrics-grid {
  gap:10px;
  background:var(--surface);
  border-color:var(--line);
}

.metric-chart {
  opacity:.6;
}

.dashboard-grid {
  grid-template-columns:minmax(0,1.5fr) minmax(310px,1fr);
}

.article-tab {
  padding:13px 10px;
}

.feed-search {
  min-width:95px;
}

.filter-bookmark {
  display:none;
}

.article-meta time {
  display:none;
}

.detail-heading h2 {
  font-size:16px;
}

.hero-copy p {
  font-size:14px;
  color:var(--muted);
  line-height:1.6;
  max-width:none;
}

.hero-art {
  width:90%;
}

.notification-popover {
  right:125px;
  background:var(--surface);
  border-color:var(--line);
}
}

@media(max-width:900px) {
.dashboard-grid {
  gap:12px;
}

.main-content {
  padding-left:18px;
  padding-right:18px;
}

.global-search {
  min-width:180px;
  max-width:210px;
  background:var(--surface-raised);
  border-color:var(--line);
  border-radius:8px;
}

.breadcrumb {
  font-size:13px;
}

.breadcrumb-divider,.breadcrumb strong {
  display:none;
}

.profile-button>span:not(.avatar),.profile-button>.icon {
  display:none;
}

.metric-card {
  padding:15px 10px;
  min-height:106px;
}

.metric-icon {
  display:none;
}

.metric-chart {
  width:43px;
  opacity:.5;
}

.metric-value {
  font-size:32px;
  font-weight:650;
  color:var(--text);
  letter-spacing:-.02em;
}

.article-tab {
  padding:13px 8px;
  font-size:13px;
}

.tab-count {
  font-size:12px;
  padding:0 3px;
}

.feed-filters {
  flex-wrap:wrap;
}

.feed-search {
  flex:1 1 100%;
}

.select-wrap {
  flex:1;
}

.filter-bookmark {
  display:flex;
  width:36px;
}

.article-thumb {
  width:50px;
  height:62px;
}

.article-info {
  padding-right:12px;
}

.article-meta .badge {
  font-size:12px;
  padding:1px 6px;
}

.article-info h3 {
  font-size:13px;
  white-space:normal;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  line-height:1.5;
  margin-top:4px;
}

.article-info p {
  font-size:13px;
}

.article-open {
  min-height:92px;
  gap:8px;
}

.article-list {
  min-height:492px;
}

.detail-panel {
  padding:12px;
}

.detail-heading {
  display:block;
}

.detail-heading img {
  display:none;
}

.detail-heading h2 {
  font-size:18px;
}

.detail-topline time {
  font-size:13px;
}

.detail-tags {
  gap:5px;
}

.analysis-block ul {
  font-size:13px;
}

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

.score-card {
  padding:8px 5px;
}

.score-card strong {
  margin-top:4px;
}

.detail-actions {
  flex-direction:column;
}

.section-toolbar #section-caption {
  display:none;
}

.quiet-button small {
  display:none;
  font-size:13px;
  color:var(--muted);
}

.overview-grid {
  grid-template-columns:1fr;
}

.overview-card.full-width {
  grid-column:auto;
}
}

@media(max-width:680px) {
:root {
  --sidebar-width:0px;
}

.sidebar {
  width:220px;
  transform:translateX(-100%);
  transition:transform .25s ease;
  padding:25px 16px;
  z-index:80;
  background:var(--sidebar);
  border-right:1px solid var(--line);
}

.sidebar.open {
  transform:translateX(0);
}

.sidebar.open+.sidebar-scrim {
  display:block;
  position:fixed;
  inset:0;
  background:#020a16b0;
  z-index:70;
  backdrop-filter:blur(3px);
}

.sidebar .brand {
  justify-content:flex-start;
}

.sidebar .brand img {
  width:100%;
  max-width:190px;
}

.sidebar .workspace-label,.sidebar .nav-item>span:not(.icon):not(.nav-count),.sidebar .assistant-card,.sidebar .system-health {
  display:block!important;
}

.sidebar .workspace-label {
  display:flex!important;
  font-size:13px;
}

.sidebar nav {
  margin-top:0;
  gap:6px;
}

.sidebar .nav-item {
  justify-content:flex-start;
}

.sidebar .nav-count {
  display:none!important;
}

.main-content {
  margin-left:0;
  padding:0 16px 16px;
}

.topbar {
  height:65px;
  border-bottom-color:var(--line);
}

.mobile-menu {
  display:inline-flex;
  width:28px;
  margin-left:-5px;
}

.breadcrumb {
  gap:6px;
}

.breadcrumb>.icon {
  display:none;
}

.breadcrumb>span:not(.breadcrumb-divider) {
  font-size:13px;
}

.topbar-actions {
  gap:5px;
}

.global-search {
  display:none;
  background:var(--surface-raised);
  border-color:var(--line);
  border-radius:8px;
}

.profile-button {
  padding:0 0 0 5px;
  color:var(--text);
  font-size:14px;
}

.avatar {
  width:29px;
  height:29px;
  background:var(--surface-raised);
  color:var(--text);
  font-size:14px;
}

.hero {
  padding-top:12px;
  margin-bottom:15px;
}

.hero-art {
  top:-65px;
  right:-16px;
  height:250px;
  width:110%;
  opacity:.55;
  object-position:65% 50%;
  mask-image:linear-gradient(90deg,transparent,#000 35%,#000);
}

.hero-shade {
  inset:-65px -16px -15px;
  background:var(--surface-raised);
}

.hero-copy .eyebrow {
  letter-spacing:1.2px;
}

h1 {
  font-size:29px;
  margin-top:14px;
  margin-bottom:10px;
}

.hero-status {
  right:0;
  bottom:8px;
  padding:0;
}

.hero-status>strong,.hero-status>span {
  display:none;
}

.live-status {
  margin:0;
  background:#0d253bcc;
  border-color:#40655044;
}

.live-status small {
  display:block;
}

.metrics-grid {
  gap:9px;
  margin-bottom:20px;
}

.metric-icon {
  display:grid;
  width:29px;
  height:29px;
}

.metric-value small {
  font-size:13px;
}

.metric-chart {
  width:46px;
  right:10px;
  bottom:21px;
  opacity:.65;
}

.metric-chart.donut {
  height:38px;
  width:38px;
  bottom:24px;
}

.metric-chart.donut svg {
  height:38px;
}

.metric-card {
  gap:9px;
}

.dashboard-grid {
  grid-template-columns:1fr;
  gap:20px;
}

.article-tabs {
  justify-content:space-between;
}

.article-tab {
  flex:1;
  justify-content:center;
  padding:13px 6px;
  font-size:13px;
  gap:4px;
}

.feed-search {
  flex:1 1 100%;
  height:39px;
}

.select-wrap select {
  height:35px;
}

.feed-filters {
  gap:6px;
  margin-top:10px;
}

.feed-meta {
  margin-bottom:9px;
}

.article-list {
  min-height:0;
}

.article-open {
  gap:11px;
}

.article-thumb {
  width:66px;
  height:72px;
}

.article-meta {
  gap:6px;
}

.article-meta time {
  font-size:13px;
}

.article-info h3 {
  margin-top:6px;
}

.article-info {
  padding-right:16px;
}

.article-meta .badge.response {
  display:none;
}

.detail-panel {
  position:relative;
  top:auto;
  scroll-margin-top:14px;
}

.detail-heading {
  display:flex;
}

.detail-heading img {
  display:block;
  width:100px;
  height:115px;
}

.detail-topline {
  font-size:13px;
}

.detail-topline time {
  font-size:13px;
}

.detail-badges .badge {
  font-size:12px;
}

.analysis-block ul {
  font-size:13px;
}

.analysis-scores {
  gap:6px;
}

.score-card strong {
  font-size:13px;
  margin-top:7px;
}

.score-card>span {
  font-size:13px;
}

.recommendation li {
  font-size:13px;
}

.detail-actions>* {
  font-size:13px;
}

.page-footer {
  flex-direction:column;
  gap:5px;
  margin-top:23px;
}

.toast {
  left:50%;
  font-size:13px;
  bottom:17px;
  width:max-content;
  max-width:90vw;
}

.notification-popover {
  right:16px;
  top:59px;
  width:min(340px,calc(100vw - 32px));
  background:var(--surface);
  border-color:var(--line);
}

.draft-dialog {
  padding:18px;
  background:var(--surface);
  border-color:var(--line);
  border-radius:10px;
  color:var(--body-text);
}

.draft-dialog textarea {
  font-size:13px;
  min-height:290px;
}

.dialog-actions {
  gap:6px;
}

.dialog-actions button {
  flex:1;
  font-size:13px;
  padding:10px 6px;
}

.draft-note {
  font-size:13px;
}

.overview-card {
  padding:24px;
  background:var(--surface);
  border-color:var(--line);
  border-radius:8px;
  box-shadow:none;
}

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

.library-tools {
  flex-direction:column;
}

.library-card {
  flex-wrap:wrap;
}

.data-table {
  white-space:nowrap;
  font-size:14px;
}

.section-toolbar strong {
  font-size:13px;
}

.quiet-button {
  font-size:14px;
  color:var(--muted);
  min-height:40px;
}

.pagination small {
  display:none;
}

.settings-row small {
  font-size:13px;
  color:var(--muted);
  line-height:1.6;
}
}

@media(max-width:380px) {
.main-content {
  padding-left:12px;
  padding-right:12px;
}

.topbar {
  gap:4px;
  border-bottom-color:var(--line);
}

.breadcrumb {
  min-width:0;
}

.breadcrumb>span:not(.breadcrumb-divider) {
  display:none;
}

.topbar-actions {
  gap:2px;
}

.hero-copy p {
  max-width:none;
  color:var(--muted);
  font-size:14px;
  line-height:1.6;
}

.metric-card {
  padding-inline:9px;
}

.metric-title {
  font-size:13px;
  color:var(--muted);
}

.feed-mode-switch button {
  padding-inline:10px;
}
}

@media(max-width:380px) {
.metric-icon {
  display:none;
}

.article-tab {
  font-size:13px;
  padding-left:3px;
  padding-right:3px;
}

.detail-heading img {
  width:82px;
}

.detail-heading h2 {
  font-size:17px;
}

.article-meta time {
  display:none;
}

.score-card strong {
  font-size:13px;
}
}

.draft-feedback {
  min-height:17px;
  font-size:13px;
  color:var(--mint);
  margin-top:8px;
}

.live-status[data-state="healthy"] {
  --news-status-color:var(--mint);
}

.live-status[data-state="fallback"] {
  --news-status-color:var(--amber);
  border-color:#d8a46044;
}

.live-status[data-state="error"] {
  --news-status-color:var(--red);
  border-color:#ee737944;
}

.live-status .status-dot {
  background:var(--news-status-color);
}

.live-status:not([data-state="healthy"]) .status-dot {
  animation:none;
}

.motion-disabled *,.motion-disabled *:before,.motion-disabled *:after {
  animation:none!important;
  transition:none!important;
  scroll-behavior:auto!important;
}

@media(min-width:1281px) and (max-width:1599px) {
.topbar {
  height:64px;
  border-bottom-color:var(--line);
}

.hero {
  min-height:108px;
  padding-top:0;
  margin-bottom:18px;
}

.hero-art {
  top:-64px;
}

.hero-shade {
  top:-64px;
}

.hero-copy .eyebrow {
  font-size:13px;
  color:var(--muted);
}

h1 {
  margin-top:8px;
  font-size:35px;
}

.hero-copy p {
  font-size:14px;
  line-height:1.6;
  color:var(--muted);
  max-width:none;
}

.hero-status {
  padding-top:4px;
}

.metrics-grid {
  margin-bottom:14px;
  background:var(--surface);
  border-color:var(--line);
}

.metric-title {
  font-size:13px;
  color:var(--muted);
}

.metric-value {
  font-size:32px;
  font-weight:650;
  color:var(--text);
  letter-spacing:-.02em;
}

.metric-change {
  font-size:13px;
  color:var(--muted);
  line-height:1.6;
}

.article-tab {
  font-size:13px;
  padding:13px 17px;
}

.tab-count {
  font-size:12px;
}

.feed-search input,.select-wrap select {
  font-size:13px;
}

.article-thumb {
  width:78px;
  height:74px;
}

.article-meta strong,.article-meta time {
  font-size:13px;
}

.article-meta .badge {
  font-size:12px;
}

.article-info h3 {
  font-size:14px;
}

.article-info p {
  font-size:13px;
}

.article-list {
  min-height:522px;
}

.detail-heading h2 {
  font-size:21px;
}

.detail-topline {
  font-size:13px;
}

.detail-topline time {
  font-size:13px;
}

.detail-heading img {
  width:111px;
  height:130px;
}

.detail-badges .badge {
  font-size:12px;
}

.detail-tags button {
  font-size:13px;
}

.analysis-block h3,.analysis-title {
  font-size:13px;
}

.analysis-block ul {
  font-size:13px;
  line-height:1.85;
}

.recommendation li {
  font-size:13px;
}

.score-card strong {
  font-size:13px;
}

.score-card>span {
  font-size:13px;
}

.score-card.category strong {
  font-size:13px;
}

.detail-actions>* {
  font-size:13px;
}

.source-button,.copy-small {
  font-size:13px;
}
}

.main-content {
  --content-inset:30px;
}

.hero-art,.hero-shade {
  right:calc(var(--content-inset) * -1);
}

/* Editorial thumbnails: local outline SVGs and restrained text badges. */
.feed-mode-bar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}

.feed-mode-switch {
  display:flex;
  gap:3px;
}

.feed-mode-switch button {
  color:var(--muted);
  transition:background .18s,color .18s;
}

.news-panel .feed-filters {
  flex-wrap:wrap;
}

.news-panel .feed-search {
  flex:1 0 100%;
}

.news-panel .select-wrap {
  flex:1;
  min-width:0;
}

.news-panel .select-wrap select {
  padding-left:9px;
  padding-right:23px;
  font-size:13px;
}

.news-panel .relevance-select {
  flex:1.35;
}

.issue-card-context {
  display:flex;
  flex-wrap:wrap;
  gap:4px 10px;
  font-size:13px;
  color:#8daed1;
  margin:5px 0;
}

.issue-card-context span:last-child {
  color:#7c91a8;
}

.relevance-evidence {
  display:flex;
  flex-wrap:wrap;
  gap:5px 8px;
  color:var(--muted);
  font-size:13px;
  line-height:1.6;
  margin-bottom:16px;
}

.relevance-evidence>span:first-child {
  color:#9ebde3;
  white-space:nowrap;
}

.issue-detail-context {
  border-top:1px solid var(--line);
  margin-top:20px;
  padding-top:16px;
}

.issue-detail-context h3 {
  font-size:13px;
  margin:0;
}

.issue-detail-context h3 span {
  font-size:13px;
  font-weight:400;
  color:var(--muted);
  margin-left:8px;
}

.issue-detail-context>p {
  font-size:13px;
  color:var(--muted);
  line-height:1.6;
  margin:8px 0 12px;
}

.issue-detail-context summary {
  cursor:pointer;
  font-size:13px;
  color:#9ebde3;
}

.related-article-list {
  gap:6px;
}

.related-article-list button {
  border:1px solid var(--line);
  border-radius:5px;
  text-align:left;
  background:#15212d;
}

.related-article-list button[aria-pressed="true"] {
  border-color:#47719e;
  background:#1b2c3f;
}

.related-article-list strong {
  display:block;
  font-size:13px;
  font-weight:500;
  line-height:1.6;
}

.related-article-list small {
  display:block;
  color:var(--muted);
  font-size:13px;
  margin-top:4px;
}

.metric-symbol .icon {
  width:52px;
  height:52px;
  color:#83a7cb;
  opacity:.18;
  stroke-width:1;
}

.pagination {
  flex-wrap:wrap;
}

.article-visual .outlet-badge {
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:12px;
  padding:1px 3px;
}

@media(max-width:680px) {
.feed-mode-bar>span {
  display:none;
}

.news-panel .select-wrap {
  flex:1 0 calc(50% - 20px);
}

.news-panel .relevance-select {
  flex:1 0 calc(50% - 20px);
}

.pagination {
  gap:4px;
}

.pagination small {
  width:100%;
  text-align:center;
}
}

.article-visual {
  --issue-color:#939bd9;
  --issue-tint:#777fc714;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:space-between;
  padding:8px;
  flex-shrink:0;
  background:var(--surface-raised);
  border:1px solid #8195b51c;
  border-radius:7px;
  filter:none;
}

.article-visual[data-issue="operation"] {
  --issue-color:var(--amber);
  --issue-tint:#d8a46016;
}

.article-visual[data-issue="safety"] {
  --issue-color:var(--red);
  --issue-tint:#ee737916;
}

.article-visual[data-issue="crowding"] {
  --issue-color:var(--violet);
  --issue-tint:#aa8dd816;
}

.article-visual[data-issue="facility"] {
  --issue-color:var(--blue);
  --issue-tint:#5e9eff16;
}

.article-visual[data-issue="service"] {
  --issue-color:var(--cyan);
  --issue-tint:#50c2df16;
}

.article-visual>.icon {
  width:28px;
  height:28px;
  color:var(--issue-color);
  stroke-width:1.45;
  margin:auto 0 3px;
}

.outlet-badge {
  font-size:12px;
  line-height:1.5;
  font-weight:600;
  letter-spacing:.3px;
  color:#aab9cc;
  padding:0 5px;
  border:1px solid #8395ad26;
  border-radius:3px;
  background:#0c152544;
}

.detail-visual {
  width:104px;
  height:125px;
  padding:12px;
}

.detail-visual>.icon {
  width:38px;
  height:38px;
  margin:auto 0;
}

.detail-topline .outlet-symbol {
  width:auto;
  height:auto;
  padding:2px 5px;
  border-radius:3px;
  background:#253345;
  color:#aabdd5;
  font-family:var(--font);
  font-size:13px;
}

.detail-panel .analysis-block {
  padding:15px;
  margin-top:18px;
}

.detail-panel .analysis-block ul {
  font-size:15px;
  line-height:1.6;
  margin-top:13px;
  padding-left:18px;
}

.detail-panel .analysis-block li {
  margin-bottom:8px;
  padding-left:3px;
}

.detail-panel .analysis-block li:last-child {
  margin-bottom:0;
}

.detail-panel .recommendation li {
  font-size:15px;
}

.detail-panel .analysis-block h3,.detail-panel .analysis-title {
  font-size:13px;
}

.detail-panel .score-card strong,.detail-panel .score-card.category strong {
  line-height:1.6;
  white-space:normal;
  overflow-wrap:anywhere;
}

.detail-panel .score-card>span {
  font-size:13px;
}

.detail-panel .detail-topline time {
  margin-left:0;
}

.detail-panel .source-button,.detail-panel .copy-small {
  font-size:13px;
}

.detail-panel .detail-tags button,.detail-panel .detail-badges .badge {
  font-size:12px;
}

.detail-panel .analysis-title {
  margin-top:18px;
  margin-bottom:11px;
}

.detail-panel .score-card {
  padding:12px 4px;
}

@media(min-width:1440px) {
.dashboard-grid {
  grid-template-columns:minmax(0,1.55fr) minmax(360px,1fr);
}

.detail-panel {
  padding:23px;
  background:var(--surface);
  border-color:var(--line);
  --detail-muted:var(--muted);
  --detail-line:var(--line);
}

.detail-panel .detail-heading h2 {
  font-size:23px;
  font-weight:650;
  color:var(--text);
  line-height:1.55;
  letter-spacing:-.02em;
}

.detail-panel .analysis-block:not(.recommendation) ul {
  font-size:16px;
}

.detail-panel .score-card strong,.detail-panel .score-card.category strong {
  font-size:16px;
}

.detail-visual {
  width:106px;
  height:130px;
}
}

@media(min-width:1600px) {
.detail-panel .detail-heading h2 {
  font-size:23px;
  font-weight:650;
  color:var(--text);
  line-height:1.55;
  letter-spacing:-.02em;
}

.detail-visual {
  width:124px;
  height:144px;
}
}

@media(max-width:1080px) {
.detail-visual {
  width:82px;
  height:112px;
  padding:9px;
}

.detail-panel {
  padding:17px;
  background:var(--surface);
  border-color:var(--line);
  --detail-muted:var(--muted);
  --detail-line:var(--line);
}

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

@media(max-width:680px) {
.detail-panel .detail-heading h2 {
  font-size:23px;
  font-weight:650;
  color:var(--text);
  line-height:1.55;
  letter-spacing:-.02em;
}

.detail-visual {
  width:88px;
  height:120px;
}
}

@media(min-width:1281px) and (max-width:1599px) {
.hero-art {
  height:190px;
}
}

@media(min-width:1600px) {
.main-content {
  --content-inset:38px;
}
}

@media(max-width:1280px) {
.main-content {
  --content-inset:22px;
}
}

@media(max-width:1080px) {
.main-content {
  --content-inset:24px;
}
}

@media(max-width:900px) {
.main-content {
  --content-inset:18px;
}
}

@media(max-width:680px) {
.main-content {
  --content-inset:16px;
}
}

@media(prefers-reduced-motion:reduce) {
*,*:before,*:after {
  animation:none!important;
  transition:none!important;
  scroll-behavior:auto!important;
}
}

/* Keep the two-column monitoring workspace readable at tablet widths. */
@media(min-width:681px) and (max-width:900px) {
.dashboard-grid {
  grid-template-columns:minmax(0,1fr);
  gap:20px;
}

.article-info h3 {
  font-size:14px;
}

.article-info p {
  font-size:13px;
}

.article-meta strong,.article-meta time {
  font-size:13px;
}

.article-meta .badge {
  font-size:12px;
}

.article-thumb {
  width:64px;
  height:68px;
}

.detail-panel {
  position:relative;
  top:auto;
  padding:20px;
  background:var(--surface);
  border-color:var(--line);
  --detail-muted:var(--muted);
  --detail-line:var(--line);
}

.detail-heading {
  display:flex;
}

.detail-heading img {
  display:block;
  width:100px;
  height:118px;
}

.detail-heading h2 {
  font-size:22px;
}

.detail-topline,.detail-topline time {
  font-size:13px;
}

.detail-panel .analysis-scores {
  grid-template-columns:repeat(4,minmax(0,1fr));
}
}

/* Increase tap and reading sizes on phones without changing the visual system. */
@media(max-width:680px) {
.hero-copy .eyebrow {
  font-size:13px;
  color:var(--muted);
}

.live-status {
  font-size:13px;
}

.live-status small {
  font-size:13px;
}

.metric-title {
  font-size:13px;
  color:var(--muted);
}

.metric-change {
  font-size:13px;
  color:var(--muted);
  line-height:1.6;
}

.select-wrap select {
  font-size:13px;
}

.article-info h3 {
  font-size:13px;
}

.article-info p {
  font-size:13px;
}

.article-meta strong,.article-meta time {
  font-size:13px;
}

.article-meta time {
  display:inline;
}

.article-meta .badge {
  font-size:12px;
}

.detail-panel .detail-topline,.detail-panel .detail-topline time {
  font-size:13px;
}

.detail-panel .score-card>span {
  font-size:13px;
}

.detail-panel .detail-actions>* {
  font-size:13px;
}

.page-footer {
  font-size:13px;
  color:var(--muted);
  border-color:var(--line);
}
}

/* Minimal enterprise monitoring surface: information first, decoration second. */
body {
  background:var(--bg);
  font-size:14px;
  color:var(--body-text);
  line-height:1.6;
}

.sidebar {
  background:var(--sidebar);
  border-right-color:#202d3a;
  border-right:1px solid var(--line);
}

.assistant-card {
  background:var(--sidebar);
  border-color:var(--line);
  box-shadow:none;
  border-radius:8px;
}

.assistant-orb {
  display:none;
}

.main-content {
  padding-top:0;
}

.topbar {
  border-bottom-color:var(--line);
}

.breadcrumb>.icon {
  display:none;
}

.hero {
  min-height:100px;
  margin:0 0 16px;
  padding:9px 0 10px;
  background:none;
  border:0;
  box-shadow:none;
}

.hero-art,.hero-shade {
  display:none;
}

.hero-copy {
  position:static;
}

.hero-copy .eyebrow {
  color:var(--muted);
  font-size:13px;
  letter-spacing:.03em;
  text-transform:none;
}

.hero-copy .eyebrow>span {
  display:none;
}

.hero h1 {
  margin:5px 0 2px;
  font-size:28px;
  letter-spacing:-.025em;
  font-weight:700;
  line-height:1.45;
}

.hero-copy p {
  font-size:14px;
  color:var(--muted);
  line-height:1.6;
  max-width:none;
}

.hero-status {
  padding:0;
}

.hero-status>span,.hero-status>strong {
  display:none;
}

.live-status {
  margin:0;
  padding:6px 9px;
  background:transparent;
  border:0;
  font-size:13px;
}

.live-status small {
  font-size:13px;
}

.metrics-grid {
  gap:0;
  margin-bottom:16px;
  border-block:1px solid var(--line);
  background:var(--surface);
  border-color:var(--line);
}

.metric-card {
  min-height:86px;
  padding:14px 18px;
  gap:0;
  background:transparent!important;
  border:0!important;
  border-radius:0;
  box-shadow:none;
}

.metric-card+.metric-card {
  border-left:1px solid var(--line)!important;
}

.metric-icon,.metric-chart {
  display:none!important;
}

.metric-title {
  color:var(--muted);
  font-size:13px;
}

.metric-value {
  margin-top:5px;
  font-size:32px;
  font-weight:650;
  letter-spacing:-.02em;
  color:var(--text);
}

.metric-value small {
  margin-left:3px;
  font-size:13px;
  font-weight:450;
}

.metric-change {
  margin-top:2px;
  color:var(--muted);
  font-size:13px;
  line-height:1.6;
}

.section-toolbar {
  margin:24px 0 16px;
}

.section-toolbar .status-dot {
  display:none;
}

.feed-mode-bar {
  margin:0;
  padding:0 0 10px;
  border-bottom:1px solid var(--line);
}

.feed-mode-bar>span {
  font-size:13px;
  color:#7c8ca0;
}

.feed-mode-switch {
  padding:2px;
  background:#121c27;
  border:1px solid #263442;
  border-radius:7px;
}

.feed-mode-switch button {
  min-height:30px;
  padding:5px 12px;
  border-radius:5px;
  font-size:13px;
}

.feed-mode-switch button[aria-pressed="true"] {
  box-shadow:none;
}

.article-tabs {
  min-height:42px;
  margin-top:11px;
  background:transparent;
  border:0;
  border-bottom:1px solid var(--line);
  border-radius:0;
  overflow-x:auto;
}

.article-tab {
  min-height:42px;
  padding:8px 12px;
  font-size:13px;
}

.article-tab.active {
  color:#e4efff;
  background:transparent;
  border-bottom-color:#7caef1;
}

.tab-count,.article-tab.active .tab-count,.article-tab[data-tab=response] .tab-count {
  padding:0 5px;
  background:#202e3d;
  color:#c2cfdd;
  border-radius:4px;
}

.feed-filters {
  align-items:center;
  gap:8px;
  margin:12px 0 7px;
}

.feed-search {
  min-width:150px;
  height:40px;
  background:var(--surface-raised);
  border-color:#293847;
  border-radius:6px;
}

.feed-search input,.select-wrap select {
  font-size:13px;
}

.select-wrap select {
  min-width:126px;
  height:40px;
  background:var(--surface-raised);
  border-color:#293847;
  border-radius:6px;
  padding-left:10px;
}

.select-wrap:after {
  top:16px;
}

.advanced-filters {
  position:relative;
  flex-shrink:0;
}

.advanced-filters summary {
  display:flex;
  align-items:center;
  height:40px;
  padding:0 12px;
  border:1px solid #293847;
  border-radius:6px;
  color:#a9b8c8;
  background:var(--surface-raised);
  cursor:pointer;
  list-style:none;
  font-size:13px;
}

.advanced-filters summary::-webkit-details-marker {
  display:none;
}

.advanced-filters summary:after {
  content:"";
  width:6px;
  height:6px;
  margin:0 0 3px 9px;
  border-right:1px solid #95a7ba;
  border-bottom:1px solid #95a7ba;
  transform:rotate(45deg);
}

.advanced-filters[open] summary:after {
  transform:rotate(225deg);
  margin-bottom:-3px;
}

.advanced-filter-menu {
  position:absolute;
  z-index:10;
  top:calc(100% + 5px);
  right:0;
  display:grid;
  gap:7px;
  width:190px;
  padding:9px;
  background:var(--surface-raised);
  border:1px solid #2c3b4a;
  border-radius:7px;
  box-shadow:0 12px 28px #0006;
}

.advanced-filter-menu .select-wrap select {
  width:100%;
}

.filter-bookmark {
  width:auto;
  height:38px;
  padding:0 10px;
  justify-content:flex-start;
  border:1px solid #293847;
  border-radius:6px;
  font-size:13px;
}

.active-filters {
  flex-wrap:wrap;
  gap:6px;
  min-height:0;
}

.filter-chip {
  padding:4px 8px;
  border:1px solid #33475b;
  border-radius:4px;
  font-size:13px;
}

.filter-chip span {
  margin-left:5px;
  color:#8295aa;
}

.feed-meta {
  margin:8px 1px 0;
  font-size:13px;
}

.article-list {
  gap:0;
  min-height:0;
  border-top:1px solid var(--line);
}

.article-card {
  min-height:0;
  border:0;
  border-bottom:1px solid #23313e;
  border-radius:0;
  background:transparent;
  overflow:visible;
}

.article-card:hover {
  transform:none;
  border-color:#314456;
  background:#111c28;
}

.article-card.selected {
  border-color:#314456;
}

.article-open {
  min-height:76px;
  padding:13px 36px 13px 12px;
}

.article-info {
  padding:0;
  display:grid;
  gap:8px;
}

.article-title-line {
  display:flex;
  align-items:baseline;
  gap:12px;
  min-width:0;
}

.article-title-line strong {
  flex:1;
  min-width:0;
  overflow:hidden;
  color:#e6ebf1;
  font-size:14px;
  line-height:1.5;
  font-weight:570;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.article-title-line time {
  flex-shrink:0;
  color:#8291a2;
  font-size:13px;
  font-variant-numeric:tabular-nums;
}

.article-row-meta {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:7px;
  color:#9aa9b8;
  font-size:13px;
}

.article-row-meta .badge {
  padding:1px 6px;
  font-size:12px;
}

.article-row-meta .badge.category {
  color:#a9b6c4;
  background:#17232f;
  border-color:#293744;
}

.article-row-meta .badge.negative {
  background:#38252c;
  color:#e6a3a8;
  border-color:#57363d;
}

.article-row-meta .badge.positive {
  background:#1c332f;
  color:#9ac9ba;
  border-color:#2a4941;
}

.article-row-meta .badge.neutral {
  background:#342d23;
  color:#d4b98c;
  border-color:#51422f;
}

.article-row-meta .badge.response {
  padding-inline:6px;
}

.coverage-kind {
  color:#718196;
}

.article-bookmark {
  top:50%;
  right:7px;
  transform:translateY(-50%);
}

.dashboard-grid {
  grid-template-columns:minmax(0,1.55fr) minmax(360px,1fr);
  gap:24px;
}

.detail-panel {
  padding:20px;
  border:1px solid #253340;
  border-radius:8px;
  box-shadow:none;
}

.detail-topline {
  gap:10px;
  margin-bottom:10px;
  font-size:13px;
}

.detail-topline time {
  font-size:13px;
}

.source-button {
  padding:5px 7px;
  background:transparent;
  border:1px solid #2b3b4b;
  border-radius:5px;
  font-size:13px;
}

.detail-heading {
  margin-bottom:10px;
}

.detail-heading h2 {
  font-size:19px;
  line-height:1.45;
  letter-spacing:-.025em;
}

.detail-heading img,.detail-visual {
  display:none!important;
}

.detail-badges {
  margin-top:10px;
}

.detail-badges .badge {
  font-size:12px;
}

.detail-facts,.relevance-evidence {
  display:flex;
  flex-wrap:wrap;
  gap:7px 14px;
  padding:9px 0;
  color:#8696a8;
  border-bottom:1px solid var(--line);
  font-size:13px;
}

.detail-section {
  padding:14px 0;
  border-bottom:1px solid var(--line);
}

.detail-section-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.detail-section-heading h3,.detail-analysis summary {
  color:#dce4ed;
  font-size:13px;
  font-weight:600;
}

.detail-section-heading>span {
  color:#8796a7;
  font-size:13px;
}

.summary-section ul,.recommendation ul {
  margin:9px 0 0;
  padding-left:17px;
  color:#b6c1ce;
  font-size:13px;
  line-height:1.7;
}

.summary-section li,.recommendation li {
  margin-bottom:5px;
}

.detail-analysis {
  border-bottom:1px solid var(--line);
}

.detail-analysis summary {
  padding:13px 0;
  cursor:pointer;
  list-style:none;
}

.detail-analysis summary::-webkit-details-marker {
  display:none;
}

.detail-analysis summary:after {
  content:"+";
  float:right;
  color:#91a2b4;
  font-size:16px;
  font-weight:400;
}

.detail-analysis[open] summary:after {
  content:"−";
}

.detail-analysis-content {
  padding:0 0 14px;
}

.detail-analysis .relevance-evidence {
  padding-top:0;
}

.analysis-scores {
  margin-top:12px;
  gap:0;
  border-block:1px solid var(--line);
}

.score-card {
  padding:10px 6px;
  background:transparent;
  border:0;
  border-radius:0;
  text-align:left;
}

.score-card+.score-card {
  border-left:1px solid var(--line);
}

.score-card>span {
  font-size:13px;
}

.score-card strong {
  justify-content:flex-start;
  font-size:13px;
}

.score-card .icon {
  display:none;
}

.analysis-block.recommendation {
  margin-top:13px;
  padding:0;
  background:transparent;
  border:0;
}

.analysis-block.recommendation li {
  color:#b6c1ce;
  font-size:13px;
}

.detail-actions {
  margin-top:14px;
}

.detail-actions>* {
  padding:9px 8px;
  font-size:13px;
}

.primary-button {
  background:#286BAF;
  border-color:#397EC2;
  box-shadow:none;
  color:#FFFFFF;
  font-size:14px;
  min-height:42px;
}

.primary-button:hover {
  background:#326da9;
  transform:none;
}

.secondary-button {
  background:var(--surface-raised);
  border-color:var(--line);
  color:var(--text);
  font-size:14px;
  min-height:40px;
}

.detail-footnote {
  margin-top:10px;
  font-size:13px;
}

.related-article-list {
  margin-top:8px;
  display:grid;
}

.related-article-list button {
  padding:10px 2px;
  border-bottom:1px solid #202d39;
}

.related-article-list button strong {
  font-size:13px;
}

.related-article-list button small {
  font-size:13px;
}

.overview-card,.overview-grid>.overview-card {
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:8px;
  box-shadow:none;
}

.overview-grid {
  gap:16px;
}

.overview-card h2 {
  font-size:19px;
  font-weight:600;
  color:var(--text);
}

.overview-card>p {
  font-size:14px;
  line-height:1.65;
  color:var(--muted);
  margin-top:8px;
}

.keyword-row,.library-card,.workflow-step,.settings-row {
  border-color:#263542;
}

.data-table th {
  color:var(--muted);
  background:var(--surface-raised);
  font-size:13px;
  font-weight:500;
  padding:14px 16px;
}

.data-table td,.data-table th {
  border-bottom-color:#263542;
}

.pagination button.active {
  background:#2b5f98;
  box-shadow:none;
}

@media(min-width:1600px) {
.hero {
  min-height:104px;
}

.metric-card {
  min-height:92px;
}

.dashboard-grid {
  grid-template-columns:minmax(0,1.58fr) minmax(400px,.95fr);
}
}

@media(max-width:1280px) {
.dashboard-grid {
  grid-template-columns:minmax(0,1.4fr) minmax(330px,1fr);
  gap:18px;
}
}

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

.detail-panel {
  position:relative;
  top:auto;
  background:var(--surface);
  border-color:var(--line);
  --detail-muted:var(--muted);
  --detail-line:var(--line);
}
}

@media(max-width:680px) {
.hero {
  display:grid;
  grid-template-columns:minmax(0,1fr);
}

.hero-status {
  position:static;
  display:flex;
  justify-content:flex-start;
  min-width:0;
  margin-top:4px;
}

.hero {
  min-height:96px;
  padding:11px 0 8px;
}

.hero h1 {
  font-size:28px;
  font-weight:700;
  letter-spacing:-.025em;
  line-height:1.45;
}

.hero-copy p {
  max-width:none;
  font-size:14px;
  color:var(--muted);
  line-height:1.6;
}

.live-status {
  max-width:170px;
  padding:4px 0;
  text-align:right;
}

.metrics-grid {
  grid-template-columns:repeat(2,minmax(0,1fr));
  background:var(--surface);
  border-color:var(--line);
}

.metric-card {
  min-height:76px;
  padding:10px 12px;
}

.metric-card+.metric-card {
  border-left:0!important;
}

.metric-card:nth-child(even) {
  border-left:1px solid var(--line)!important;
}

.metric-card:nth-child(n+3) {
  border-top:1px solid var(--line)!important;
}

.metric-value {
  font-size:32px;
  font-weight:650;
  color:var(--text);
  letter-spacing:-.02em;
}

.feed-mode-bar {
  align-items:flex-start;
  flex-direction:column;
  gap:7px;
}

.feed-filters {
  display:grid;
  grid-template-columns:1fr 1fr;
}

.feed-search {
  grid-column:1/-1;
}

.select-wrap select {
  min-width:0;
}

.advanced-filters {
  justify-self:stretch;
}

.advanced-filters summary {
  justify-content:center;
}

.advanced-filter-menu {
  width:min(220px,calc(100vw - 48px));
}

.article-open {
  min-height:84px;
  padding:12px 35px 12px 9px;
}

.article-title-line {
  align-items:flex-start;
  flex-direction:column;
  gap:2px;
}

.article-title-line strong {
  white-space:normal;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  font-size:13px;
}

.article-title-line time {
  font-size:13px;
}

.article-row-meta {
  gap:5px;
  font-size:13px;
}

.detail-panel {
  padding:15px;
  background:var(--surface);
  border-color:var(--line);
  --detail-muted:var(--muted);
  --detail-line:var(--line);
}

.detail-heading h2 {
  font-size:17px;
}

.detail-actions {
  flex-direction:row;
}

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

.score-card:nth-child(3) {
  border-left:0;
}

.score-card:nth-child(n+3) {
  border-top:1px solid var(--line);
}
}

/* Final state layer follows responsive component rules so selected states remain visible. */
:root {
  --muted:#A6BBD0;
  --subtle:#A6BBD0;
}

.nav-item:focus-visible,.feed-mode-switch button:focus-visible,.article-tab:focus-visible,
.filter-chip:focus-visible,.clear-all-filters:focus-visible,.article-open:focus-visible,
.select-wrap select:focus-visible,.advanced-filters summary:focus-visible {
  outline:2px solid #a7ceff;
  outline-offset:2px;
  position:relative;
  z-index:2;
}

.nav-item.active {
  background:var(--selected-row);
  border-color:transparent;
  border-left:3px solid var(--selected-border);
  color:var(--text);
  font-weight:600;
  box-shadow:none;
}

.nav-item:hover:not(.active) {
  background:var(--surface-hover);
  border-color:transparent;
}

.feed-mode-switch button[aria-pressed="true"] {
  background:#31577d;
  border-color:#789fc5;
  color:#fff;
  font-weight:750;
}

.feed-mode-switch button:hover:not([aria-pressed="true"]) {
  background:#1a2938;
  color:#f0f5fb;
}

.article-tab[aria-selected="true"] {
  background:#29496a;
  border-bottom-color:#a7ceff;
  color:#fff;
  font-weight:750;
}

.article-tab[aria-selected="true"]::before {
  content:"선택";
  color:#e4f1ff;
  font-size:13px;
}

.article-tab[aria-selected="true"] .tab-count {
  background:#45698d;
  color:#fff;
}

.article-tab:hover:not([aria-selected="true"]) {
  background:#172535;
  color:#f4f7fb;
}

.article-card.selected {
  border-left-color:#a7ceff;
  background:#203a56;
  box-shadow:none;
}

.article-card.selected .article-open::before {
  content:"선택";
  color:#e4f1ff;
  font-size:13px;
}

.article-card.selected .article-title-line strong {
  color:#fff;
  font-weight:750;
}

.article-card:hover:not(.selected) {
  background:#142131;
}

.article-row-meta,.feed-meta,.feed-mode-hint,#feed-mode-hint,.section-toolbar #section-caption,
.coverage-kind,.detail-facts,.relevance-evidence {
  color:#a0afc0;
}

.active-filter-count {
  color:#e2ecf7;
}

.filter-chip {
  border-color:#6b88a5;
  background:#20364d;
  color:#f4f8fd;
}

.filter-chip:hover {
  border-color:#bad7f5;
  background:#2b4968;
}

.clear-all-filters {
  border-color:#71859a;
  color:#e6edf5;
}

button:disabled {
  color:#8999aa;
  opacity:.68;
}

.feed-filters .select-wrap {
  display:flex;
  align-items:center;
  min-width:0;
  height:40px;
  padding-left:10px;
  border:1px solid #293847;
  border-radius:6px;
  background:var(--surface-raised);
  transition:background-color .16s ease,border-color .16s ease,color .16s ease;
}

.feed-filters .filter-name,.advanced-filter-menu .filter-name {
  flex:0 0 auto;
  color:#aab9ca;
  font-size:13px;
  font-weight:650;
  white-space:nowrap;
}

.feed-filters .select-wrap select {
  min-width:0;
  flex:1;
  height:100%;
  padding-left:7px;
  border:0;
  border-radius:0;
  background:transparent;
  color:#d3dce6;
  font-size:13px;
}

.feed-filters .select-wrap:after {
  right:11px;
}

.feed-filters .select-wrap.filter-active {
  border-color:#5985b4;
  background:#1a2b3f;
  color:#f3f8ff;
}

.feed-filters .select-wrap.filter-active .filter-name,
.feed-filters .select-wrap.filter-active select {
  color:#f3f8ff;
  font-weight:700;
}

.feed-filters .select-wrap.filter-active:after {
  border-color:#c1dcfb;
}

.feed-filters .period-select {
  flex:0 1 190px;
}

.feed-filters .relevance-select {
  flex:0 1 220px;
}

.advanced-filters.filter-active summary {
  border-color:#5985b4;
  background:#1a2b3f;
  color:#f3f8ff;
  font-weight:700;
}

.advanced-filters summary:focus-visible,.feed-filters .select-wrap select:focus-visible {
  outline:2px solid #d5e8ff;
  outline-offset:3px;
  z-index:3;
}

.filter-count {
  display:inline-grid;
  place-items:center;
  min-width:17px;
  height:17px;
  margin-left:7px;
  padding:0 4px;
  border:1px solid #7eaae0;
  border-radius:9px;
  background:#315d8b;
  color:#fff;
  font-size:13px;
  font-weight:750;
  line-height:1;
}

.filter-count[hidden],.clear-all-filters[hidden] {
  display:none;
}

.feed-meta {
  justify-content:flex-start;
  gap:10px;
  color:#a9b8c8;
}

.feed-meta>span:last-child {
  display:none;
}

.clear-all-filters {
  padding:3px 8px;
  border:1px solid #435a72;
  border-radius:5px;
  background:#172535;
  font-size:13px;
  cursor:pointer;
}

.clear-all-filters:hover {
  border-color:#8bb7e8;
  background:#20364d;
}

.active-filters {
  display:none;
}

@media(max-width:680px) {
.feed-filters .relevance-select,.feed-filters .period-select {
  flex:initial;
}

.feed-filters .select-wrap {
  width:100%;
  padding-left:8px;
}

.feed-filters .filter-name {
  font-size:13px;
}

.feed-filters .select-wrap select {
  padding-left:5px;
  padding-right:22px;
  font-size:13px;
}

.feed-meta {
  flex-wrap:wrap;
  align-items:center;
  gap:7px;
}

#result-count {
  flex:1 1 auto;
  min-width:0;
}

.clear-all-filters {
  flex:0 0 auto;
}

.article-tab[aria-selected="true"] {
  background:#203b57;
  border-bottom-color:#a7ceff;
}

.article-card.selected {
  background:#203a56;
  box-shadow:none;
}
}

:root {
  --ai-review-color:#d7c69d;
}

.badge.ai-review {
  color:var(--ai-review-color);
  border-color:#655b42;
  background:#28251f;
}

.ai-status-line {
  margin:12px 0;
  color:var(--text-secondary, #aebed1);
  font-size:13px;
  line-height:1.6;
  overflow-wrap:anywhere;
}

.ai-evidence {
  padding-block:14px;
  border-bottom:1px solid var(--border, #293543);
}

.ai-evidence p, .ai-evidence dd {
  color:var(--text-secondary, #aebed1);
  font-size:13px;
  line-height:1.65;
}

.ai-evidence dl > div {
  margin-block:12px;
}

.ai-evidence dt {
  font-size:14px;
  font-weight:600;
}

.ai-evidence dd {
  margin:4px 0 0;
  overflow-wrap:anywhere;
}

.local-preview-notice {
  position:fixed;
  bottom:12px;
  right:16px;
  z-index:100;
  max-width:calc(100vw - 32px);
  padding:8px 12px;
  background:#11273b;
  border:1px solid #547da5;
  color:#e0ecf7;
  font-size:13px;
  line-height:1.6;
}

/* Monitoring components: one geometry and state contract for every filter. */
.news-panel {
  --control-bg:var(--surface-raised);
  --control-hover:var(--surface-hover);
  --control-border:var(--line);
  --control-selected:var(--selected);
  --control-accent:var(--selected-border);
  --control-radius:8px;
  --control-text:var(--text);
  --control-muted:var(--muted);
  min-width:0;
  overflow:visible;
}

.news-panel .feed-filters {
  display:grid;
  grid-template-columns:minmax(180px,1fr) minmax(160px,.6fr) minmax(160px,.6fr) auto;
  gap:10px;
  align-items:center;
  margin:16px 0 10px;
}

.news-panel .feed-search {
  width:100%;
  min-width:0;
  height:46px;
  border:1px solid var(--control-border);
  border-radius:var(--control-radius);
  background:var(--control-bg);
}

.news-panel .feed-search input {
  font-size:14px;
  color:var(--control-text);
}

.news-panel .feed-search input::placeholder {
  color:#a1b2c6;
}

.news-panel .feed-search:focus-within {
  outline:2px solid #d4e6fa;
  outline-offset:3px;
  border-color:#99bce5;
}

.news-panel .select-wrap.filter-enhanced {
  display:block;
  position:relative;
  min-width:0;
  width:100%;
  height:auto;
  padding:0;
  border:0;
  background:none;
  border-radius:var(--control-radius);
}

.news-panel .filter-enhanced > select,.news-panel .filter-enhanced > .filter-name {
  display:none;
}

.news-panel .filter-enhanced::after {
  display:none;
}

.filter-trigger {
  width:100%;
  min-width:0;
  min-height:46px;
  display:flex;
  align-items:center;
  gap:12px;
  padding:10px 12px;
  border:1px solid #35485c;
  border-radius:8px;
  background:var(--surface-raised);
  color:var(--text);
  text-align:left;
  cursor:pointer;
  font-size:14px;
  line-height:1.5;
  box-shadow:none;
  border-color:var(--line);
}

.filter-trigger-name {
  flex:none;
  color:var(--muted);
  font-size:13px;
  font-weight:500;
}

.filter-trigger-value {
  min-width:0;
  flex:1;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
  font-weight:600;
}

.filter-trigger > .icon {
  flex:none;
  width:16px;
  height:16px;
  margin-left:auto;
  color:#a9bed7;
  transition:transform .15s;
}

.filter-trigger:hover {
  background:var(--surface-hover);
  border-color:#59738e;
}

.filter-active .filter-trigger {
  background:var(--selected);
  border-color:var(--selected-border);
}

.filter-active .filter-trigger-value {
  color:#fff;
}

.filter-open .filter-trigger {
  border-color:#a2c5ed;
  background:#172c40;
}

.filter-open .filter-trigger > .icon {
  transform:rotate(180deg);
}

.filter-trigger:focus-visible {
  outline:2px dashed #e0ecfa;
  outline-offset:3px;
}

.filter-trigger:disabled {
  background:#111923;
  border-color:#2b3949;
  color:#8193a7;
  cursor:not-allowed;
  opacity:.65;
}

.filter-options[popover] {
  position:fixed;
  inset:auto;
  margin:0;
  box-sizing:border-box;
  padding:5px;
  border:1px solid #4e6680;
  border-radius:8px;
  background:var(--surface-raised);
  color:var(--text);
  box-shadow:0 12px 32px #0006;
  overflow:auto;
  overscroll-behavior:contain;
  z-index:200;
  color-scheme:dark;
  border-color:var(--line);
}

.filter-options[hidden] {
  display:none;
}

.filter-options [role=option] {
  display:flex;
  align-items:center;
  gap:16px;
  width:100%;
  min-height:42px;
  margin:0;
  padding:10px 12px;
  border:0;
  border-radius:5px;
  background:transparent;
  color:#d6e1ee;
  font:inherit;
  font-size:14px;
  line-height:1.45;
  text-align:left;
  cursor:pointer;
}

.filter-options [role=option] > span:first-child {
  flex:1;
  min-width:0;
  overflow-wrap:anywhere;
}

.filter-options .option-check {
  width:18px;
  flex:none;
  color:#c3ddfc;
  text-align:center;
  font-size:15px;
}

.filter-options [role=option]:hover {
  background:var(--surface-hover);
  color:var(--text);
}

.filter-options [role=option][aria-selected=true] {
  background:var(--selected);
  color:var(--text);
  font-weight:650;
}

.filter-options [role=option]:focus-visible {
  outline:1px dashed #d4e6fa;
  outline-offset:-3px;
}

.filter-options [role=option]:disabled {
  opacity:.5;
  cursor:not-allowed;
}

.news-panel .advanced-filters {
  min-width:0;
}

.news-panel .advanced-filters > summary {
  display:flex;
  align-items:center;
  gap:9px;
  min-height:46px;
  height:auto;
  padding:10px 13px;
  border:1px solid var(--control-border);
  border-radius:var(--control-radius);
  background:var(--control-bg);
  color:#dce7f4;
  font-size:13px;
  line-height:1.5;
  white-space:nowrap;
}

.news-panel .advanced-filters > summary:hover {
  background:var(--control-hover);
  border-color:#59738e;
}

.news-panel .advanced-filters[open] > summary {
  background:#172c40;
  border-color:#a2c5ed;
}

.news-panel .advanced-filters.filter-active > summary {
  background:var(--control-selected);
  border-color:var(--control-accent);
}

.news-panel .advanced-filters > summary::after {
  margin-left:auto;
}

.news-panel .advanced-filters > summary:focus-visible {
  outline:2px dashed #e0ecfa;
  outline-offset:3px;
}

.news-panel .advanced-filters > summary > .icon {
  width:16px;
  height:16px;
  color:var(--muted);
}

.news-panel .advanced-filter-menu {
  top:calc(100% + 8px);
  left:0;
  right:auto;
  width:304px;
  max-width:calc(100vw - 24px);
  padding:16px;
  gap:12px;
  border:1px solid #4e6680;
  border-radius:8px;
  background:var(--surface-raised);
  box-shadow:0 12px 32px #0006;
  z-index:100;
  overflow:visible;
  border-color:var(--line);
}

.advanced-filter-heading {
  display:grid;
  gap:5px;
  padding:0 0 13px;
  margin-bottom:1px;
  border-bottom:1px solid #35485c;
}

.advanced-filter-heading strong {
  color:var(--text);
  font-size:14px;
  font-weight:650;
}

.advanced-filter-heading span {
  color:var(--muted);
  font-size:13px;
}

.news-panel .filter-count {
  min-width:20px;
  height:20px;
  margin:0;
  padding:0 5px;
  border:0;
  border-radius:5px;
  background:#42678e;
  color:#fff;
  font-size:13px;
}

.news-panel .feed-meta {
  flex-wrap:wrap;
  gap:10px;
  margin:12px 0;
  color:var(--muted);
  font-size:13px;
  line-height:1.6;
}

.news-panel .clear-all-filters {
  padding:4px 8px;
  border-color:#58718a;
  background:transparent;
  color:#dce7f4;
  font-size:13px;
  border-radius:5px;
}

.news-panel .clear-all-filters:hover {
  background:#21354a;
  border-color:#8dafd4;
}

.news-panel .feed-mode-switch {
  display:inline-flex;
  gap:3px;
  padding:3px;
  border:1px solid #35485c;
  border-radius:8px;
  background:var(--surface-raised);
}

.news-panel .feed-mode-switch button {
  min-height:38px;
  padding:8px 15px;
  border:1px solid transparent;
  border-radius:5px;
  color:#b6c7d9;
  font-size:14px;
  font-weight:500;
}

.news-panel .feed-mode-switch button[aria-pressed=true] {
  background:var(--selected);
  border-color:var(--selected-border);
  color:#fff;
  font-weight:650;
}

.news-panel .article-tabs {
  display:flex;
  gap:4px;
  margin:12px 0 0;
  padding:4px;
  min-height:48px;
  border:1px solid #304255;
  border-radius:8px;
  background:#101c28;
  overflow-x:auto;
  scrollbar-width:thin;
}

.news-panel .article-tab,.news-panel .article-tab:first-child {
  min-height:38px;
  flex:1;
  justify-content:center;
  gap:7px;
  padding:8px 11px;
  border:1px solid transparent;
  border-radius:5px;
  color:#b9c9dc;
  font-size:14px;
  line-height:1.5;
}

.news-panel .article-tab[aria-selected=true] {
  background:var(--selected);
  border-color:var(--selected-border);
  color:#fff;
  font-weight:650;
}

.news-panel .article-tab[aria-selected=true]::before {
  content:none;
}

.news-panel .article-tab:hover:not([aria-selected=true]) {
  background:#1c3044;
  color:#fff;
}

.news-panel .article-tab:focus-visible {
  outline:2px dashed #e0ecfa;
  outline-offset:-3px;
  z-index:1;
}

.news-panel .tab-count,.news-panel .article-tab[data-tab=response] .tab-count {
  min-width:22px;
  height:20px;
  padding:1px 5px;
  border-radius:4px;
  background:#273a4e;
  color:#cedceb;
  font-size:12px;
  line-height:18px;
  text-align:center;
}

.news-panel .article-tab[aria-selected=true] .tab-count {
  background:#42678e;
  color:#fff;
}

.news-panel .article-card.selected {
  background:var(--selected-row);
  box-shadow:inset 2px 0 var(--selected-border);
}

.news-panel .article-card.selected .article-open::before {
  content:none;
}

.news-panel .article-open {
  min-height:92px;
  padding:17px 48px 17px 16px;
}

.news-panel .article-title-line strong {
  font-size:15px;
  font-weight:600;
  line-height:1.6;
  letter-spacing:0;
  color:var(--text);
}

.news-panel .article-title-line time,.news-panel .article-row-meta {
  color:var(--muted);
  font-size:13px;
}

.news-panel .article-row-meta .badge {
  font-size:12px;
}

/* Detail sections use typography and separators instead of nested cards. */
.detail-panel {
  --detail-muted:var(--muted);
  --detail-line:var(--line);
  background:var(--surface);
  border-color:var(--line);
}

.detail-panel .detail-topline {
  display:flex;
  flex-wrap:wrap;
  gap:8px 12px;
  align-items:center;
  margin-bottom:18px;
  font-size:13px;
}

.detail-panel .detail-topline strong {
  color:#e4edf7;
  font-size:13px;
  font-weight:600;
}

.detail-panel .detail-topline time {
  color:var(--muted);
  font-size:13px;
  margin:0;
}

.detail-panel .source-button {
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:40px;
  margin-left:auto;
  padding:7px 10px;
  border:1px solid #6486aa;
  border-radius:6px;
  background:var(--surface-raised);
  color:var(--text);
  font-size:14px;
  font-weight:600;
  border-color:var(--line);
}

.detail-panel .source-button:hover {
  background:var(--surface-hover);
  border-color:var(--selected-border);
}

.detail-panel .source-button .icon {
  width:14px;
  height:14px;
  margin:0;
}

.detail-panel .detail-heading {
  margin-bottom:18px;
}

.detail-panel .detail-heading h2 {
  color:var(--text);
  font-size:23px;
  font-weight:650;
  line-height:1.55;
  letter-spacing:-.02em;
  overflow-wrap:anywhere;
}

.detail-panel .detail-badges {
  gap:7px;
  margin-top:14px;
}

.detail-panel .detail-badges .badge {
  padding:3px 8px;
  font-size:12px;
}

.detail-panel .detail-bookmark {
  position:static;
  transform:none;
  margin-left:auto;
  font-size:13px;
  color:#bbcee2;
}

.detail-panel .detail-facts {
  gap:10px 16px;
  padding:0 0 16px;
  border-color:var(--detail-line);
  color:var(--muted);
  font-size:13px;
  line-height:1.65;
}

.detail-panel .ai-status-line {
  margin:12px 0 0;
  color:var(--muted);
  font-size:13px;
  line-height:1.65;
}

.detail-panel .detail-section {
  padding:20px 0;
  border-color:var(--detail-line);
}

.detail-panel .detail-section-heading h3,.detail-panel .detail-analysis summary {
  color:#e5eef8;
  font-size:14px;
  font-weight:650;
}

.detail-panel .detail-section-heading > span {
  color:var(--detail-muted);
  font-size:13px;
}

.detail-panel .summary-section ul,.detail-panel .recommendation ul,.detail-panel .analysis-block.recommendation li {
  color:var(--body-text);
  font-size:15px;
  line-height:1.65;
}

.detail-panel .summary-section ul {
  padding-left:19px;
  margin-top:14px;
}

.detail-panel .summary-section li,.detail-panel .recommendation li {
  margin-bottom:10px;
  padding-left:3px;
}

.detail-panel .summary-section li:last-child,.detail-panel .recommendation li:last-child {
  margin-bottom:0;
}

.detail-panel .copy-small {
  min-height:30px;
  padding:5px 8px;
  background:transparent;
  color:#bbcee2;
  border-radius:5px;
  font-size:13px;
}

.detail-panel .related-article-list {
  gap:6px;
  margin-top:14px;
}

.detail-panel .related-article-list button {
  padding:11px 12px;
  border:1px solid transparent;
  border-radius:6px;
  background:transparent;
  text-align:left;
}

.detail-panel .related-article-list button:hover {
  background:#192b3d;
  border-color:#3b536c;
}

.detail-panel .related-article-list button[aria-pressed=true] {
  background:var(--selected-row);
  border-color:#6588ac;
  box-shadow:none;
}

.detail-panel .related-article-list button strong {
  color:var(--body-text);
  font-size:14px;
  line-height:1.6;
  font-weight:500;
}

.detail-panel .related-article-list button small {
  color:var(--muted);
  font-size:13px;
  line-height:1.6;
  margin-top:5px;
}

.detail-panel .detail-analysis summary {
  padding:18px 0;
}

.detail-panel .detail-analysis-content {
  padding-bottom:20px;
}

.detail-panel .relevance-evidence {
  color:var(--detail-muted);
  font-size:13px;
  line-height:1.65;
}

.detail-panel .ai-evidence p,.detail-panel .ai-evidence dd {
  color:var(--body-text);
  font-size:14px;
  line-height:1.65;
}

.detail-panel .score-card > span {
  color:var(--detail-muted);
  font-size:13px;
}

.detail-panel .score-card strong,.detail-panel .score-card.category strong {
  font-size:15px;
}

.detail-panel .detail-actions {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:9px;
  margin-top:20px;
}

.detail-panel .detail-actions > * {
  min-height:44px;
  padding:10px;
  font-size:14px;
  border-radius:6px;
}

.detail-panel .detail-footnote {
  margin-top:12px;
  color:#a7b9cd;
  font-size:13px;
}

.detail-panel button:focus-visible {
  outline:2px dashed #d4e6fa;
  outline-offset:3px;
}

@media (min-width:1440px) {
.detail-panel {
  padding:24px;
  background:var(--surface);
  border-color:var(--line);
  --detail-muted:var(--muted);
  --detail-line:var(--line);
}
}

@media (max-width:1500px) {
.news-panel .feed-filters {
  grid-template-columns:1fr 1fr auto;
  gap:10px;
}

.news-panel .feed-search {
  grid-column:1/-1;
}
}

@media (max-width:680px) {
.news-panel .feed-filters {
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:10px;
}

.news-panel .advanced-filters {
  grid-column:1/-1;
}

.news-panel .advanced-filters > summary {
  justify-content:flex-start;
}

.news-panel .advanced-filter-menu {
  width:100%;
  max-width:none;
  right:0;
  background:var(--surface-raised);
  border-color:var(--line);
}

.filter-trigger {
  min-height:48px;
  padding:11px 10px;
  gap:8px;
  background:var(--surface-raised);
  color:var(--text);
  border-color:var(--line);
}

.filter-options [role=option] {
  min-height:46px;
}

.news-panel .article-tab {
  flex:none;
  min-height:42px;
}

.news-panel .feed-mode-bar {
  flex-direction:row;
  flex-wrap:wrap;
  align-items:center;
}

.news-panel #feed-mode-hint {
  flex-basis:100%;
}

.news-panel .article-title-line strong {
  font-size:15px;
  font-weight:600;
  line-height:1.6;
  letter-spacing:0;
  color:var(--text);
}

.detail-panel .detail-heading h2 {
  font-size:23px;
  font-weight:650;
  color:var(--text);
  line-height:1.55;
  letter-spacing:-.02em;
}

.detail-panel .detail-actions {
  grid-template-columns:1fr;
}
}

/* Related coverage uses the existing panel and typography. */
.related-report-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:stretch}.related-report-row .related-source{width:auto;white-space:nowrap;align-items:center;justify-content:center;color:var(--text-primary,#d8e5f4);padding:8px 10px}.related-source svg{width:14px;height:14px}.issue-context-summary p{line-height:1.65;margin:10px 0;overflow-wrap:anywhere}.issue-context-summary small{color:var(--text-secondary,#aebdce)}

/* General-news detail: provided descriptions, not generated AI summaries. */
.monitoring-detail .detail-heading h2 {font-size:21px;line-height:1.55;word-break:keep-all;overflow-wrap:anywhere}
.monitoring-detail .detail-badges{gap:8px;flex-wrap:wrap}
.monitoring-detail .provided-description{list-style:none;padding:0;margin:0;line-height:1.85;font-size:15px;color:var(--text-primary,#e2e8f0)}
.monitoring-detail .provided-description li{padding:0;margin:0;white-space:pre-line}
.monitoring-input-note{font-size:12px;line-height:1.6;color:#a5b4c7;margin:12px 0 0}
.monitoring-detail .detail-analysis{margin-top:18px}
.monitoring-metadata{display:grid;grid-template-columns:100px minmax(0,1fr);gap:12px;margin:0;font-size:13px;line-height:1.7}
.monitoring-metadata dt{color:#a5b4c7}.monitoring-metadata dd{margin:0;color:#d9e3ee;overflow-wrap:anywhere}
.badge.unknown{background:#273246;color:#d1daea;border:1px solid #65768d}
@media(max-width:600px){.monitoring-detail .detail-heading h2{font-size:19px}.monitoring-metadata{grid-template-columns:1fr;gap:4px}.monitoring-metadata dd{margin-bottom:12px}}
