/* PaddraNewsRadar Front Issue Briefing Layout
   - No external font downloads.
   - Page 1 renders the latest published issue report.
   - Related articles are a vertical list, not category cards.
*/

:root {
  color-scheme: light;
  --bg: #f5efe4;
  --paper: #fffaf2;
  --paper-strong: #fffdf8;
  --ink: #0f2233;
  --ink-soft: #2e4153;
  --muted: #6b7280;
  --line: #dfd3c1;
  --accent: #173d60;
  --accent-soft: #e8f1f8;
  --button: #12395b;
  --button-hover: #0a2741;
  --shadow: 0 18px 44px rgba(41, 30, 15, 0.11);
  --thumb: linear-gradient(135deg, #ece6dd 0%, #f5f0e9 45%, #e4edf5 100%);
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 14% 0%, rgba(255, 255, 255, 0.78), transparent 36%),
    linear-gradient(180deg, #fcf8f1 0%, var(--bg) 100%);
  color: var(--ink);
  font-family: var(--font);
  letter-spacing: -0.02em;
  overflow-x: hidden;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

.site-shell {
  max-width: 1220px;
  margin: 0 auto;
  padding: 20px 24px 64px;
}

.site-header {
  margin-bottom: 26px;
}

.top-line {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}

.site-shell-home {
  padding-top: 12px;
}

.site-header-home {
  margin-bottom: 12px;
}

.top-line-home {
  align-items: center;
  gap: 14px;
  padding-bottom: 10px;
  margin-bottom: 8px;
}

.brand-link {
  display: inline-block;
  text-decoration: none;
}

.brand-link-home {
  min-width: 0;
}

.brand-title {
  margin: 0;
  font-size: 29px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.075em;
}

.brand-title-desktop {
  display: block;
  font-size: clamp(22px, 2.6vw, 26px);
  line-height: 1.15;
}

.brand-inline-copy {
  color: var(--ink-soft);
  font-size: 0.76em;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand-title-mobile,
.brand-subtitle-mobile {
  display: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  text-decoration: none;
}

.nav a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.nav-utility {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-utility-home {
  gap: 10px;
}

.nav-utility-home a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(23, 61, 96, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  text-decoration: none;
}

.nav-utility-home a:hover {
  text-decoration: none;
  background: rgba(23, 61, 96, 0.08);
}

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

.front-nav-home {
  gap: 8px;
}

.front-nav-home .nav-tier-secondary {
  display: none;
}

.front-nav-home .nav-tier-primary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.front-nav-home .nav-context {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.search-panel {
  padding: 20px 22px;
  margin-bottom: 18px;
  background: rgba(255, 250, 242, 0.95);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.search-panel-compact {
  margin-bottom: 24px;
}

.search-panel-home {
  padding: 14px 16px;
  margin-bottom: 14px;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(41, 30, 15, 0.08);
}

.search-head {
  margin-bottom: 14px;
}

.search-head-home {
  align-items: center;
  margin-bottom: 10px;
}

.search-home-note {
  max-width: 720px;
}

.search-home-actions {
  display: none;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.search-form {
  display: grid;
  grid-template-columns: minmax(0, 2.4fr) repeat(2, minmax(150px, 1fr)) auto;
  gap: 12px;
  align-items: end;
}

.search-form-page {
  grid-template-columns: minmax(240px, 2.4fr) minmax(150px, 0.9fr) minmax(150px, 0.9fr) auto;
}

.search-form-quick {
  grid-template-columns: minmax(0, 1fr) auto auto;
}

.search-form-home {
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
}

.search-field {
  display: grid;
  gap: 6px;
}

.search-field-keyword {
  min-width: 0;
}

.search-label {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.search-field input,
.search-field select {
  width: 100%;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper-strong);
  color: var(--ink);
  font: inherit;
}

.search-field input:focus,
.search-field select:focus {
  outline: 2px solid rgba(23, 61, 96, 0.18);
  border-color: rgba(23, 61, 96, 0.32);
}

.search-submit {
  min-width: 96px;
}

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

.search-status.is-pending {
  color: var(--accent);
}

.search-status.is-success {
  color: #12543c;
}

.search-status.is-error {
  color: #9b1c1c;
}

.search-status.is-empty {
  color: var(--muted);
}

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

#main-default-issue-content[hidden] {
  display: none;
}

#front-article-search-results[hidden] {
  display: none;
}

.search-page {
  display: grid;
  gap: 24px;
}

.search-page .search-panel {
  margin-bottom: 0;
}

.search-insight-card {
  background:
    linear-gradient(135deg, rgba(232, 241, 248, 0.92), rgba(255, 250, 242, 0.96)),
    var(--paper);
  border: 1px solid rgba(23, 61, 96, 0.16);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 22px;
}

.search-insight-card[hidden] {
  display: none;
}

.search-insight-card h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.search-insight-header {
  display: grid;
  gap: 6px;
}

.search-insight-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.search-insight-toggle:hover .section-title {
  color: var(--accent);
  text-decoration: underline;
}

.search-insight-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(23, 61, 96, 0.1);
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.search-insight-summary {
  margin: 0;
}

.search-insight-body {
  margin-top: 16px;
}

.search-insight-body[hidden] {
  display: none;
}

.search-inner-explanation {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
  padding: 12px 14px;
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid rgba(223, 211, 193, 0.82);
  border-radius: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.search-inner-explanation p {
  margin: 0;
}

.search-inner-explanation-result {
  color: var(--ink);
  font-weight: 800;
}

.search-insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.search-insight-item {
  min-width: 0;
  padding: 14px;
  background: rgba(255, 253, 248, 0.78);
  border: 1px solid rgba(223, 211, 193, 0.86);
  border-radius: 16px;
}

.search-insight-item.is-wide {
  grid-column: span 2;
}

.search-insight-item.is-full {
  grid-column: 1 / -1;
}

.search-insight-title {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.search-insight-value {
  display: block;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: -0.055em;
}

.search-insight-link {
  display: inline-block;
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.45;
  text-decoration: none;
}

.search-insight-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

.search-insight-note,
.search-insight-footnote {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.search-insight-empty {
  padding: 16px;
  background: rgba(255, 253, 248, 0.78);
  border: 1px solid rgba(223, 211, 193, 0.86);
  border-radius: 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.search-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.search-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #e9eff5;
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 900;
}

.search-chip.is-muted {
  background: rgba(107, 114, 128, 0.1);
  color: var(--muted);
}

.category-bar-chart {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.category-bar-row {
  display: grid;
  grid-template-columns: minmax(88px, 120px) minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.category-bar-label,
.category-bar-count {
  font-size: 13px;
  line-height: 1.4;
}

.category-bar-label {
  color: var(--ink);
  font-weight: 800;
}

.category-bar-count {
  color: var(--muted);
  font-weight: 700;
  white-space: nowrap;
}

.category-bar-track {
  position: relative;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(23, 61, 96, 0.1);
}

.category-bar-fill {
  height: 100%;
  min-width: 8px;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(23, 61, 96, 0.92), rgba(57, 106, 152, 0.78));
}

.issue-briefing-list {
  display: grid;
  gap: 18px;
}

.issue-briefing-card {
  display: grid;
  gap: 14px;
  padding: 20px;
  background: rgba(255, 250, 242, 0.95);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.issue-briefing-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.issue-briefing-title {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.3;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.issue-briefing-count {
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.issue-briefing-summary {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.7;
}

.issue-briefing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.issue-briefing-panel {
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid rgba(223, 211, 193, 0.9);
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.86);
}

.issue-briefing-panel-title {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.issue-chart-fallback {
  margin-top: 0;
}

.issue-briefing-evidence {
  display: grid;
  gap: 10px;
}

.issue-briefing-evidence-list {
  display: grid;
  gap: 10px;
}

.issue-briefing-evidence-row {
  display: grid;
  gap: 4px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(223, 211, 193, 0.72);
}

.issue-briefing-evidence-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.issue-briefing-empty {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 250, 242, 0.92);
  color: var(--muted);
}

.issue-briefing-empty strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 18px;
}

.issue-briefing-empty p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.issue-briefing-list {
  gap: 14px;
}

.issue-briefing-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 2px;
}

.issue-briefing-badge {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  max-width: 360px;
  flex: 0 1 360px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(23, 61, 96, 0.14);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.9);
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

.issue-briefing-badge:hover,
.issue-briefing-badge.is-active {
  color: var(--accent);
  border-color: rgba(23, 61, 96, 0.24);
  background: rgba(23, 61, 96, 0.1);
  box-shadow: 0 10px 22px rgba(23, 61, 96, 0.08);
}

.issue-briefing-card {
  gap: 12px;
  padding: 16px 18px;
}

.issue-briefing-card-single {
  margin-top: 2px;
}

.issue-briefing-title {
  font-size: 20px;
  line-height: 1.35;
}

.issue-briefing-summary {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 14px;
  line-height: 1.6;
}

.issue-briefing-keywords {
  margin-top: -2px;
}

.issue-briefing-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.9fr);
  gap: 12px;
}

.issue-briefing-preview-panel,
.issue-briefing-tab-panel {
  min-width: 0;
}

.issue-briefing-preview-panel {
  padding: 12px 14px;
  border: 1px solid rgba(223, 211, 193, 0.9);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.84);
}

.issue-briefing-source-preview {
  display: grid;
  gap: 8px;
}

.issue-briefing-source-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.issue-briefing-source-name,
.issue-briefing-source-count {
  font-size: 13px;
  line-height: 1.4;
}

.issue-briefing-source-name {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.issue-briefing-source-count {
  color: var(--muted);
  white-space: nowrap;
}

.issue-briefing-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.issue-briefing-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(23, 61, 96, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink-soft);
  font-size: 12.5px;
  font-weight: 900;
  cursor: pointer;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.issue-briefing-tab:hover,
.issue-briefing-tab.is-active {
  border-color: rgba(23, 61, 96, 0.26);
  background: rgba(23, 61, 96, 0.1);
  color: var(--accent);
}

.issue-briefing-tab-panels {
  display: grid;
}

.issue-briefing-panel {
  padding: 12px 14px;
  border-radius: 16px;
}

.issue-briefing-summary-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.issue-briefing-summary-detail {
  margin-bottom: 12px;
  -webkit-line-clamp: unset;
}

.issue-timeline {
  display: grid;
  gap: 8px;
}

.issue-timeline-bars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10px, 1fr));
  align-items: end;
  gap: 4px;
  min-height: 56px;
  padding: 8px 0 2px;
}

.issue-timeline-bar {
  min-height: 12px;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, rgba(57, 106, 152, 0.92), rgba(23, 61, 96, 0.7));
}

.issue-timeline-labels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10px, 1fr));
  gap: 4px;
}

.issue-timeline-label {
  color: var(--muted);
  font-size: 11px;
  text-align: center;
  white-space: nowrap;
}

.issue-briefing-evidence-list {
  gap: 8px;
}

.issue-briefing-evidence-row {
  gap: 5px;
  padding-bottom: 8px;
}

.issue-briefing-pager {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.issue-briefing-pager-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(23, 61, 96, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 900;
  cursor: pointer;
}

.issue-briefing-pager-button:hover:not(:disabled) {
  background: rgba(23, 61, 96, 0.08);
}

.issue-briefing-pager-button:disabled {
  opacity: 0.45;
  cursor: default;
}

.issue-briefing-pager-status {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 800;
  white-space: nowrap;
}

@media (max-width: 960px) {
  .issue-briefing-overview {
    grid-template-columns: 1fr;
  }
}

.search-empty {
  padding: 28px;
  color: var(--ink-soft);
  line-height: 1.65;
}

.search-empty strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 18px;
}

.search-empty p {
  margin: 0;
  color: var(--muted);
}

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

.nav-tier-primary {
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(223, 211, 193, 0.9);
}

.nav-pill,
.nav-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.nav-pill {
  min-height: 38px;
  padding: 0 16px;
  font-size: 15px;
}

.nav-pill:hover,
.nav-chip:hover {
  background: rgba(23, 61, 96, 0.08);
  color: var(--accent);
}

.nav-pill.is-active,
.nav-chip.is-active {
  border-color: rgba(23, 61, 96, 0.2);
  background: var(--accent-soft);
  color: var(--accent);
}

.nav-context {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.article-category-badge {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.4;
}

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

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

.hero-card,
.panel,
.article-list,
.issue-detail-card {
  background: rgba(255, 250, 242, 0.95);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.hero-card,
.issue-detail-card {
  padding: 30px;
}

.hero-card.hero-card-compact {
  padding: 16px 18px;
}

.issue-detail-card {
  padding: 24px;
}

.hero-card.is-empty {
  min-height: 280px;
  display: grid;
  align-content: center;
}

.kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.issue-title {
  margin: 0 0 18px;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.14;
  font-weight: 900;
  letter-spacing: -0.085em;
}

.hero-card-compact .issue-title {
  margin-bottom: 6px;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.4;
  letter-spacing: -0.05em;
}

.issue-detail-title {
  margin: 0 0 12px;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.24;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.issue-lead {
  margin: 0 0 18px;
  color: #222;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.hero-card-compact .issue-lead {
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}

.issue-body {
  display: block;
  width: 100%;
  margin: 0 0 20px;
  padding: 16px 0;
  color: #444;
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.1px;
  white-space: pre-line;
  max-width: 100%;
}

.issue-body-compact,
.hero-card-compact .issue-body {
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

@media (min-width: 1280px) {
  .issue-body {
    padding: 16px 24px 20px 0;
  }
}

.link-intro {
  margin: 22px 0;
  padding: 13px 16px;
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  color: var(--accent);
  font-weight: 900;
  line-height: 1.65;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.hero-card-compact .cta-row {
  margin-top: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--button);
  background: var(--button);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
}

.button:hover {
  background: var(--button-hover);
}

.button.secondary {
  background: transparent;
  color: var(--button);
}

.button.secondary:hover {
  background: rgba(23, 61, 96, 0.08);
}

.front-text-button {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(23, 61, 96, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
}

.front-text-button:hover {
  background: rgba(23, 61, 96, 0.08);
  color: var(--accent);
}

.account-page {
  display: grid;
  gap: 18px;
}

.account-hero,
.account-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 250, 242, 0.95);
  box-shadow: var(--shadow);
}

.account-hero h2,
.account-card h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.22;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.account-hero p,
.account-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.account-grid .account-card {
  min-width: 0;
}

.account-form-card {
  display: grid;
  gap: 12px;
  max-width: 620px;
}

.account-kv {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
}

.account-kv div {
  display: grid;
  grid-template-columns: minmax(110px, 0.7fr) minmax(0, 1.3fr);
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(223, 211, 193, 0.72);
}

.account-kv dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.account-kv dd {
  min-width: 0;
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

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

.account-notice {
  min-height: 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.account-notice.is-warning {
  color: #925f10;
}

.account-notice.is-error {
  color: #9b1c1c;
}

.account-notice.is-success {
  color: #12543c;
}

.account-check,
.account-inline-form label {
  display: grid;
  gap: 6px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
}

.account-check {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
}

.account-check input {
  width: 16px;
  height: 16px;
}

.account-inline-form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  align-items: end;
  gap: 10px;
}

.account-inline-form input {
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper-strong);
  color: var(--ink);
}

.account-separator {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.account-separator::before,
.account-separator::after {
  content: "";
  height: 1px;
  flex: 1;
  background: rgba(223, 211, 193, 0.84);
}

.account-free-form {
  display: grid;
  gap: 10px;
}

.account-free-form label {
  display: grid;
  gap: 6px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
}

.account-free-form input {
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper-strong);
  color: var(--ink);
  box-sizing: border-box;
}

.account-free-form small {
  color: var(--muted);
  font-size: 11px;
}

.account-once-key {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.account-once-key code {
  display: block;
  padding: 12px;
  border: 1px solid rgba(23, 61, 96, 0.16);
  border-radius: 12px;
  background: rgba(232, 241, 248, 0.72);
  color: var(--accent);
  font-size: 12px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.account-list {
  display: grid;
  gap: 10px;
}

.account-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 250, 242, 0.95);
}

.account-row strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
}

.account-row p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.plan-card h2 {
  font-size: 24px;
}

.side-stack {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 16px;
}

.panel {
  padding: 18px;
}

.panel h2 {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.055em;
}

.panel p {
  margin: 0;
}

.keyword-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.keyword {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  background: #e9eff5;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.flow-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 11px;
}

.flow-list li {
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
}

.flow-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.flow-title {
  display: block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 2px;
}

.flow-text {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
}

.section {
  margin-top: 28px;
}

.home-content-article-first {
  display: grid;
  gap: 10px;
}

.section-home-articles {
  margin-top: 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}

.section-head-home {
  margin-bottom: 10px;
}

.section-title {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.section-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.article-list {
  overflow: hidden;
}

.article-list-pager {
  margin: 14px 16px 16px;
}

.detail-side-note-page {
  margin-bottom: 10px;
}

.news-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 18px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.front-home .news-row:first-child {
  padding-top: 14px;
}

.news-row:last-child {
  border-bottom: 0;
}

.thumbnail {
  min-height: 118px;
  border-radius: 16px;
  background: var(--thumb);
  border: 1px solid rgba(223, 211, 193, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(23, 61, 96, 0.62);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.thumbnail-image-wrap {
  overflow: hidden;
  padding: 0;
}

.thumbnail-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-title {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.42;
  letter-spacing: -0.055em;
  text-decoration: none;
}

.news-title:hover {
  color: var(--accent);
  text-decoration: underline;
}

.meta {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
}

.summary {
  margin: 0 0 12px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.65;
}

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

.original {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  border-bottom: 2px solid rgba(23, 61, 96, 0.2);
}

.original:hover {
  border-bottom-color: var(--accent);
}

.more-row {
  display: flex;
  justify-content: center;
  padding: 16px;
  background: var(--paper-strong);
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(360px, 45%) minmax(0, 55%);
  gap: 24px;
  align-items: start;
}

.issue-list-panel {
  background: rgba(255, 250, 242, 0.95);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 20px;
}

.issue-list-heading {
  margin-bottom: 14px;
}

.issue-list-eyebrow {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.issue-list-title {
  margin: 0;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -0.06em;
}

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

.issue-summary-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(223, 211, 193, 0.95);
  border-radius: 18px;
  background: var(--paper);
  cursor: pointer;
  transition: border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.issue-summary-card:hover {
  border-color: rgba(23, 61, 96, 0.24);
  box-shadow: 0 10px 24px rgba(41, 30, 15, 0.08);
  transform: translateY(-1px);
}

.issue-summary-card.is-active {
  border-color: rgba(23, 61, 96, 0.35);
  background: #fffdf8;
  box-shadow: 0 14px 28px rgba(23, 61, 96, 0.08);
}

.issue-summary-kicker {
  margin: 0;
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.issue-summary-title,
.issue-detail-card .issue-detail-title {
  margin: 0;
  font-size: clamp(24px, 2.3vw, 32px);
  line-height: 1.28;
  letter-spacing: -0.05em;
}

.issue-summary-body {
  display: grid;
  gap: 8px;
}

.issue-summary-body .issue-lead {
  margin: 0;
  color: #222;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.issue-summary-body .issue-body {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
}

.clamp-2,
.clamp-3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.clamp-2 {
  -webkit-line-clamp: 2;
}

.clamp-3 {
  -webkit-line-clamp: 3;
}

.issue-summary-guide {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.65;
}

.issue-summary-hint {
  margin: 0;
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.5;
}

.issue-summary-meta {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.issue-summary-action {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  border-bottom: 2px solid rgba(23, 61, 96, 0.2);
  cursor: pointer;
}

.issue-summary-action:hover {
  border-bottom-color: var(--accent);
}

.issue-list-empty {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  padding: 8px 0 2px;
}

.detail-side {
  background: rgba(255, 250, 242, 0.95);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 20px;
}

.detail-side-title,
.detail-side h2 {
  margin: 0 0 14px;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.detail-side-note {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.detail-side-note-sort {
  margin-top: -8px;
  margin-bottom: 10px;
}

.detail-side-selected {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
}

.detail-side-summary {
  margin: 0 0 10px;
  color: #222;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.detail-side .news-row {
  grid-template-columns: 128px minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-bottom: 10px;
  padding: 13px;
  gap: 14px;
}

.detail-side .thumbnail {
  min-height: 96px;
  font-size: 16px;
}

.detail-side .news-title {
  margin-bottom: 6px;
  font-size: 17px;
  line-height: 1.36;
}

.detail-side .meta {
  margin-bottom: 6px;
}

.detail-side .summary {
  margin-bottom: 8px;
  font-size: 13.5px;
  line-height: 1.58;
}

.footer {
  margin-top: 44px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.footer p {
  margin: 0 0 8px;
}

.footer p:last-child {
  margin-bottom: 0;
}

.footer-note {
  font-size: 12px;
}

@media (max-width: 940px) {
  .top-line {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    flex-wrap: wrap;
  }

  .nav-utility {
    justify-content: flex-start;
  }

  .site-header-home {
    margin-bottom: 12px;
  }

  .front-nav-home .nav-tier-primary {
    gap: 10px;
  }

  .page-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .search-form {
    grid-template-columns: 1fr 1fr;
  }

  .search-form-page,
  .search-form-quick {
    grid-template-columns: 1fr 1fr;
  }

  .search-insight-grid {
    grid-template-columns: 1fr 1fr;
  }

  .news-row,
  .detail-side .news-row {
    grid-template-columns: 1fr;
  }

  .thumbnail,
  .detail-side .thumbnail {
    min-height: 160px;
  }

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

  .search-head-home {
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  .site-shell {
    padding: 16px 14px 44px;
  }

  .site-shell-home {
    padding-top: 8px;
  }

  .top-line-home {
    gap: 10px;
    padding-bottom: 8px;
    margin-bottom: 6px;
  }

  .brand-title-desktop {
    display: none;
  }

  .brand-title-mobile {
    display: block;
    margin: 0;
    font-size: 23px;
    line-height: 1.12;
    font-weight: 900;
    letter-spacing: -0.05em;
  }

  .brand-subtitle-mobile {
    display: block;
    margin-top: 3px;
    color: var(--ink-soft);
    font-size: 13px;
    line-height: 1.4;
    font-weight: 700;
  }

  .nav-utility-home {
    width: 100%;
    gap: 8px;
  }

  .nav-utility-home a {
    min-height: 34px;
    padding: 0 11px;
    font-size: 13px;
  }

  .hero-card,
  .issue-list-panel,
  .search-panel {
    padding: 22px;
  }

  .search-panel-home {
    display: none;
  }

  .front-nav-home {
    gap: 6px;
  }

  .front-nav-home .nav-tier-primary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .front-nav-home .nav-pill {
    width: 100%;
    justify-content: center;
    min-height: 42px;
  }

  .front-nav-home .nav-context {
    font-size: 12px;
  }

  .home-content-article-first {
    gap: 6px;
  }

  .search-form {
    grid-template-columns: 1fr;
  }

  .search-form-page,
  .search-form-quick,
  .search-insight-grid {
    grid-template-columns: 1fr;
  }

  .search-insight-item.is-wide,
  .search-insight-item.is-full {
    grid-column: auto;
  }

  .issue-title {
    font-size: 34px;
  }

  .issue-detail-title,
  .issue-list-title {
    font-size: 28px;
  }

  .section-home-articles .section-title {
    font-size: 20px;
  }

  .section-home-articles .section-note {
    font-size: 12px;
  }

  .article-list {
    border-top: 1px solid rgba(223, 211, 193, 0.72);
  }

  .news-row {
    padding: 14px 0;
    background: transparent;
  }

  .thumbnail {
    min-height: 148px;
  }

  .news-title {
    font-size: 17px;
    line-height: 1.38;
  }

  .summary {
    margin-bottom: 10px;
    font-size: 13px;
  }
}
