/* `hidden` を必ず効かせる．`.stack` などの `display: grid` は、ブラウザの既定の
   `[hidden] { display: none }` より強く、隠したはずの部分が出ていた（設定画面で、
   選んでいない経路のボタンが出ていた）． */
[hidden] { display: none !important; }

:root {
  --navy-950: #0a1628;
  --navy-900: #10223c;
  --navy-800: #183657;
  --navy-700: #28587d;
  --ink: #172033;
  --muted: #5d6879;
  --line: #dde3eb;
  --line-strong: #c7d0dc;
  --surface: #ffffff;
  --surface-soft: #f4f6f9;
  --surface-blue: #eef5fb;
  --surface-gold: #fff8e6;
  --gold: #f2c14e;
  --gold-dark: #875f00;
  --green: #116e4d;
  --green-soft: #e7f7ef;
  --red: #a62117;
  --red-soft: #fff0ee;
  --amber: #765000;
  --amber-soft: #fff4d6;
  --blue: #205f90;
  --blue-soft: #e9f3fb;
  --shadow: 0 16px 44px rgba(12, 30, 54, 0.08);
  --radius: 16px;
  --sidebar-width: 292px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: var(--ink);
  background: var(--surface-soft);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--surface-soft); font-size: 16px; }
body { margin: 0; min-height: 100vh; background: var(--surface-soft); font-size: 16px; line-height: 1.65; }
a { color: inherit; }
button, input, select, textarea { font: inherit; font-size: 16px; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .56; }
code, pre, .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; font-size: 16px; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: var(--sidebar-width) minmax(0, 1fr); }
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar-width);
  display: flex;
  flex-direction: column;
  background: var(--navy-950);
  color: #e9eef6;
  padding: 24px 18px 20px;
  z-index: 50;
}
.brand { display: flex; align-items: center; gap: 13px; padding: 0 8px 24px; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.1); }
.brand-mark { width: 44px; height: 44px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 12px; background: var(--gold); color: var(--navy-950); font-weight: 850; font-size: 22px; }
.brand strong { display: block; font-size: 17px; letter-spacing: .01em; }
.brand small { display: block; color: #9baac0; margin-top: 3px; font-size: 13px; line-height: 1.4; }
.nav { display: grid; gap: 5px; margin-top: 22px; }
.nav a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 10px; text-decoration: none; color: #c4cedc; font-size: 16px; }
.nav a b { color: #718198; font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.nav a.active { background: #1d3553; color: #fff; box-shadow: inset 3px 0 0 var(--gold); }
.nav a.active b { color: var(--gold); }
.sidebar-foot { margin-top: auto; padding: 18px 10px 4px; border-top: 1px solid rgba(255,255,255,.1); display: grid; grid-template-columns: 12px 1fr; align-items: center; gap: 9px; color: #d4dce7; font-size: 16px; }
.sidebar-foot small { grid-column: 1 / -1; color: #98a5b8; line-height: 1.65; font-size: 16px; }
.status-dot { width: 9px; height: 9px; background: #9aa8b9; border-radius: 50%; box-shadow: 0 0 0 4px rgba(154,168,185,.12); }
.status-dot.ready { background: #55be8b; box-shadow: 0 0 0 4px rgba(85,190,139,.15); }
.status-dot.warning { background: var(--gold); box-shadow: 0 0 0 4px rgba(242,193,78,.15); }
.workspace { grid-column: 2; min-width: 0; }
.mobile-header { display: none; }
#main { min-height: 100vh; padding: 34px 32px 68px; }
.page { max-width: 1500px; margin: 0 auto; }

.page-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.eyebrow { display: block; color: var(--navy-700); font-size: 12px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 8px; }
h1 { margin: 0; color: var(--navy-950); font-size: clamp(30px, 3vw, 42px); line-height: 1.22; letter-spacing: -.03em; }
h2, h3, h4 { color: var(--navy-950); }
.page-description { margin: 10px 0 0; max-width: 960px; color: var(--muted); line-height: 1.8; font-size: 17px; }
.page-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }

.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.layout-main-aside { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(330px, .8fr); gap: 18px; align-items: start; }
/* grid の子は既定で min-width:auto なので、幅の広い表があるとカードごと
   カラムからはみ出し、隣の列の下へ潜り込む。minmax(0,1fr) で列幅に収め、
   はみ出しは .table-wrap の横スクロールに任せる。 */
.stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.section-gap { margin-top: 22px; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 2px 9px rgba(20,35,60,.035); overflow: hidden; }
.card.prominent { box-shadow: var(--shadow); border-color: #d4dde8; }
.card-header { min-height: 62px; padding: 16px 19px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.card-header h2, .card-header h3 { margin: 0; font-size: 19px; }
.card-body { padding: 20px; }
.card-footer { border-top: 1px solid var(--line); padding: 14px 19px; background: var(--surface-soft); }
.meta { color: var(--muted); font-size: 16px; line-height: 1.65; }

.hero-search { background: linear-gradient(135deg, #10223c 0%, #183657 58%, #28587d 100%); border-radius: 22px; color: #fff; padding: clamp(30px, 3.4vw, 46px); box-shadow: 0 24px 60px rgba(16,34,60,.18); position: relative; overflow: hidden; }
.hero-search::after { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; background: rgba(242,193,78,.12); top: -160px; right: -80px; }
.hero-search h1 { position: relative; z-index: 1; color: #fff; max-width: none; margin: 0; font-size: clamp(30px, 2.3vw, 44px); line-height: 1.3; white-space: nowrap; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.hero-search > p { position: relative; z-index: 1; color: #d3dce8; max-width: none; margin: 18px 0 0; line-height: 1.8; font-size: 17px; white-space: nowrap; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.hero-search h1::-webkit-scrollbar, .hero-search > p::-webkit-scrollbar { display: none; }
.search-panel { position: relative; z-index: 1; margin-top: 28px; background: #fff; border-radius: 16px; padding: 12px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; box-shadow: 0 14px 35px rgba(0,0,0,.18); }
.search-panel textarea { min-height: 84px; border: 0; resize: vertical; padding: 15px; color: var(--ink); outline: none; line-height: 1.7; font-size: 17px; }
.search-panel button { min-width: 150px; border-radius: 12px; border: 0; background: var(--gold); color: var(--navy-950); font-weight: 850; padding: 13px 21px; font-size: 17px; }
.search-panel button:hover { background: #f7cc63; }
.hero-meta { position: relative; z-index: 1; margin-top: 16px; display: flex; gap: 16px; flex-wrap: wrap; color: #c8d4e2; font-size: 16px; }
.hero-meta strong { color: #fff; }

.filter-panel { margin-top: 15px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 13px; padding: 14px; position: relative; z-index: 1; }
.filter-panel summary { cursor: pointer; color: #edf2f7; font-weight: 700; font-size: 16px; }
.filter-grid { margin-top: 14px; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 12px; }
.filter-panel label { color: #dbe4ef; font-size: 16px; display: grid; gap: 7px; font-weight: 700; }
.filter-panel input, .filter-panel select { width: 100%; min-height: 44px; border-radius: 8px; border: 1px solid rgba(255,255,255,.22); background: rgba(4,14,28,.28); color: #fff; padding: 9px 11px; font-size: 16px; }

.example-list { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 17px; position: relative; z-index: 1; }
.example-chip { border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #f1f5f9; border-radius: 999px; padding: 9px 13px; font-size: 16px; }
.example-chip:hover { background: rgba(255,255,255,.15); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; border: 1px solid var(--navy-900); border-radius: 9px; padding: 9px 15px; background: var(--navy-900); color: #fff; text-decoration: none; font-weight: 750; font-size: 16px; }
.button:hover { background: var(--navy-800); }
.button.secondary { background: #fff; color: var(--navy-900); border-color: var(--line-strong); }
.button.secondary:hover { background: var(--surface-soft); }
.button.danger { background: #fff; color: var(--red); border-color: #efb0aa; }
.button.gold { background: var(--gold); border-color: var(--gold); color: var(--navy-950); }
.button.small { min-height: 38px; padding: 7px 11px; font-size: 16px; border-radius: 7px; }
.icon-button { border: 0; background: transparent; font-size: 24px; padding: 7px; }
.text-link { color: var(--navy-700); text-decoration: underline; text-underline-offset: 3px; }

.form { display: grid; gap: 17px; }
.form-row { display: flex; gap: 13px; align-items: flex-end; flex-wrap: wrap; }
.form-row.compact { align-items: center; }
.field { display: grid; gap: 7px; min-width: 180px; }
.field.grow { flex: 1 1 320px; }
.field label { color: #354357; font-size: 16px; font-weight: 800; letter-spacing: .01em; }
.input, .select, .textarea { width: 100%; border: 1px solid var(--line-strong); border-radius: 9px; background: #fff; color: var(--ink); padding: 10px 12px; min-height: 44px; outline: none; font-size: 16px; }
.textarea { min-height: 128px; resize: vertical; line-height: 1.7; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(40,88,125,.12); }
.help { color: var(--muted); font-size: 16px; line-height: 1.65; }
.checkbox-list { display: flex; gap: 16px; flex-wrap: wrap; }
.checkbox { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.checkbox input { width: 18px; height: 18px; }

.notice { border: 1px solid #c6d9ea; background: var(--blue-soft); border-radius: 11px; padding: 13px 15px; color: #294e70; font-size: 16px; line-height: 1.75; }
.notice.warning { border-color: #eed48c; background: var(--amber-soft); color: #6e4a00; }
.notice.error { border-color: #efb5b0; background: var(--red-soft); color: var(--red); }
.notice.success { border-color: #a7d8c2; background: var(--green-soft); color: var(--green); }
.empty { padding: 44px 25px; text-align: center; color: var(--muted); }
.empty strong { display: block; color: var(--navy-950); font-size: 19px; margin-bottom: 8px; }
.empty p { margin: 0 auto 18px; max-width: 640px; line-height: 1.75; font-size: 16px; }

.stat-card { padding: 20px; position: relative; min-height: 142px; }
.stat-card .label { color: var(--muted); font-size: 16px; font-weight: 700; }
.stat-card .value { margin-top: 18px; font-size: 30px; font-weight: 800; color: var(--navy-950); letter-spacing: -.035em; }
.stat-card .hint { margin-top: 5px; color: var(--muted); font-size: 16px; line-height: 1.55; }
.stat-card .number { position: absolute; top: 17px; right: 19px; color: #a9b4c4; font-size: 12px; font-weight: 700; letter-spacing: .1em; }

.answer-shell { margin-top: 24px; display: grid; gap: 19px; }
.answer-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.answer-head h2 { margin: 0; font-size: 22px; }
.answer-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 9px; }
.answer-body { font-size: 17px; line-height: 1.9; color: #243044; }
.answer-body h2, .answer-body h3 { margin: 1.25em 0 .45em; }
.answer-body p { margin: .75em 0; }
.answer-body ul, .answer-body ol { padding-left: 1.5em; }
.answer-body li { margin: .45em 0; }
.answer-body code { background: #f0f3f7; padding: 2px 5px; border-radius: 4px; }
.citation-link { display: inline-flex; align-items: center; border: 0; background: #eaf2fa; color: #1e5c8c; border-radius: 6px; padding: 2px 7px; margin: 0 2px; font-size: 16px; font-weight: 800; vertical-align: 1px; }
.citation-link:hover { background: #d9e9f7; }
.citation-card { border: 1px solid var(--line); border-radius: 12px; padding: 17px; background: #fff; scroll-margin-top: 20px; }
.citation-card.highlight { outline: 3px solid rgba(242,193,78,.55); }
.citation-card h3 { margin: 0; font-size: 18px; }
.citation-card .source-text { margin-top: 11px; color: #3f4c5f; line-height: 1.8; font-size: 16px; white-space: pre-wrap; }
.citation-id { display: inline-grid; place-items: center; min-width: 38px; height: 29px; padding: 0 8px; border-radius: 7px; background: var(--navy-900); color: #fff; font-size: 16px; font-weight: 800; }

.badge { display: inline-flex; align-items: center; min-height: 29px; padding: 4px 9px; border-radius: 999px; font-size: 16px; font-weight: 800; white-space: nowrap; }
.badge.info { background: var(--blue-soft); color: var(--blue); }
.badge.success { background: var(--green-soft); color: var(--green); }
.badge.warning { background: var(--amber-soft); color: var(--amber); }
.badge.danger { background: var(--red-soft); color: var(--red); }
.pill-list { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { border: 1px solid var(--line); border-radius: 999px; padding: 4px 8px; color: var(--muted); font-size: 16px; background: #fff; }

.table-wrap { width: 100%; overflow: auto; }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; color: #4f5d70; background: var(--surface-soft); font-size: 16px; letter-spacing: .01em; padding: 12px 13px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 13px; border-bottom: 1px solid #e8ecf1; font-size: 16px; vertical-align: top; line-height: 1.6; }
tr:last-child td { border-bottom: 0; }
tr:hover td { background: #fbfcfe; }
.no-wrap { white-space: nowrap; }

.kv-list { display: grid; }
.kv { display: grid; grid-template-columns: minmax(150px, .35fr) minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.kv:last-child { border-bottom: 0; }
.kv dt, .kv dd { margin: 0; padding: 11px 0; font-size: 16px; line-height: 1.65; }
.kv dt { color: var(--muted); font-weight: 700; padding-right: 18px; }
.kv dd { color: var(--ink); word-break: break-word; }

.split-view { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .8fr); gap: 18px; align-items: start; }
.sticky { position: sticky; top: 20px; }
.history-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 13px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.history-item:last-child { border-bottom: 0; }
.history-item strong { display: block; font-size: 17px; line-height: 1.6; }
.history-item p { margin: 6px 0 0; color: var(--muted); font-size: 16px; }
.watch-card { display: flex; justify-content: space-between; align-items: center; gap: 13px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.watch-card:last-child { border-bottom: 0; }

.progress-box { display: none; margin-top: 16px; padding: 15px; border-radius: 10px; background: #f0f5fa; color: #315675; font-size: 16px; line-height: 1.7; }
.progress-box.visible { display: block; }
.loading-screen { min-height: 65vh; display: grid; place-items: center; align-content: center; gap: 12px; color: var(--muted); font-size: 16px; }
.spinner { width: 30px; height: 30px; border-radius: 50%; border: 3px solid #dce4ed; border-top-color: var(--navy-700); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

#toast-region { position: fixed; right: 20px; bottom: 20px; z-index: 100; display: grid; gap: 8px; }
.toast { max-width: 460px; background: var(--navy-950); color: #fff; border-radius: 10px; padding: 13px 15px; box-shadow: var(--shadow); font-size: 16px; line-height: 1.6; }
.toast.error { background: #7f1d16; }

details.disclosure { border-top: 1px solid var(--line); }
details.disclosure summary { padding: 13px 19px; cursor: pointer; color: var(--navy-700); font-weight: 750; font-size: 16px; }
details.disclosure > div { padding: 0 19px 19px; }

.home-data-card .card-body { display: grid; gap: 16px; }
.home-data-card .form-row { align-items: end; }
.home-data-card .notice { margin-bottom: 2px; }

@media (max-width: 1180px) {
  :root { --sidebar-width: 270px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .layout-main-aside, .split-view { grid-template-columns: 1fr; }
  .sticky { position: static; }
}

@media (max-width: 780px) {
  .app-shell { display: block; }
  .sidebar { width: min(310px, 88vw); transform: translateX(-100%); transition: transform .2s ease; box-shadow: var(--shadow); }
  .sidebar.open { transform: translateX(0); }
  .workspace { min-width: 0; }
  .mobile-header { position: sticky; top: 0; z-index: 40; display: flex; justify-content: space-between; align-items: center; min-height: 60px; padding: 0 15px; background: rgba(255,255,255,.95); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); font-size: 16px; }
  #main { padding: 22px 13px 48px; }
  .page-header { display: grid; }
  .page-actions { justify-content: flex-start; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .search-panel { grid-template-columns: 1fr; }
  .search-panel button { min-height: 50px; }
  .filter-grid { grid-template-columns: 1fr; }
  .form-row { display: grid; grid-template-columns: 1fr; }
  .field { min-width: 0; }
  .kv { grid-template-columns: 1fr; }
  .kv dt { padding-bottom: 2px; }
  .kv dd { padding-top: 2px; }
  .hero-search { border-radius: 16px; padding: 26px 18px; }
  .hero-search h1 { font-size: 29px; }
  .hero-search > p { font-size: 17px; }
  .answer-head { display: grid; }
}

.answer-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.feedback-panel { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 20px; align-items: center; }
.feedback-panel strong { font-size: 17px; }
.feedback-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.feedback-status { min-height: 1.6em; grid-column: 1 / -1; color: var(--muted); font-size: 16px; }
.share-banner { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 15px 17px; border: 1px solid #b8d2e7; background: var(--blue-soft); border-radius: 11px; color: #294e70; }
.share-banner strong { display: block; font-size: 17px; margin-bottom: 4px; }
.source-card p { margin: 0; line-height: 1.75; font-size: 16px; }
.section-inline-gap { margin-top: 9px; }

@media (max-width: 780px) {
  .feedback-panel { grid-template-columns: 1fr; }
  .feedback-status { grid-column: 1; }
  .share-banner { display: grid; }
  .answer-actions { justify-content: flex-start; }
}

.webgpu-check-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.webgpu-check-row {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-soft);
  font-size: 16px;
  font-weight: 750;
}
.webgpu-feature-block {
  display: grid;
  gap: 10px;
  padding-top: 2px;
}
.webgpu-feature-block > strong { font-size: 17px; }

@media (max-width: 1180px) {
  .webgpu-check-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
  .webgpu-check-list { grid-template-columns: 1fr; }
  .webgpu-check-row { min-height: 58px; }
}

/* 時系列チャート画面（UI-02）．期間種別のタブと，依存の無いインラインSVGの図． */
.tab-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--navy-900);
  font-size: 16px;
  font-weight: 750;
}
.tab:hover { background: var(--surface-soft); }
.tab.active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.tab b { font-weight: 800; font-size: 16px; color: inherit; opacity: .85; }
.tab.active .pill { border-color: rgba(255,255,255,.45); color: #fff; background: transparent; }

.chart-frame { width: 100%; overflow-x: auto; margin: 4px 0 18px; }
.chart-svg { width: 100%; min-width: 620px; height: auto; display: block; }
.chart-grid { stroke: var(--line); stroke-width: 1; }
.chart-zero { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 5 4; }
.chart-axis { stroke: var(--line-strong); stroke-width: 1.5; }
.chart-line { stroke: var(--navy-700); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.chart-point { fill: #fff; stroke: var(--navy-700); stroke-width: 2.5; cursor: pointer; }
.chart-point:hover { fill: var(--gold); stroke: var(--gold-dark); }
.chart-tick { fill: var(--muted); font-size: 15px; }
.chart-empty {
  padding: 34px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  background: var(--surface-soft);
  color: var(--muted);
  text-align: center;
  font-size: 16px;
}

.card-body > details.disclosure { border-top: 0; }
.card-body > details.disclosure summary { padding: 4px 0 10px; }
.card-body > details.disclosure > div { padding: 0; }
.card-body > details.disclosure > p { padding: 0; }
tr.row-flagged td { background: var(--amber-soft); }
tr.row-highlight td { background: var(--surface-gold); box-shadow: inset 3px 0 0 var(--gold); }

@media (max-width: 780px) {
  .tab { width: 100%; justify-content: space-between; border-radius: 12px; }
}

/* スクリーニング・順位表の画面（UI-09）．窓の位置と続きの取り方を必ず見せる． */
.window-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  padding-bottom: 14px;
  font-size: 16px;
}
.window-line strong { font-size: 18px; color: var(--navy-950); }
/* 一覧の条件（業種・資料種別）は1行1件で受ける——区切り文字が業種名そのものと
   衝突するため（`ranking-table.js` の `parseListInput`）．欄は数行あれば足りる． */
.textarea-compact { min-height: 76px; }

/* 公開版のボット対策の確認（ACC-01） */
.session-check { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; background: rgba(10, 22, 40, 0.55); padding: 16px; }
.session-check-card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; max-width: 420px; width: 100%; }
.session-check-card h2 { margin: 0 0 8px; font-size: 20px; }
.session-check-card p { margin: 0 0 16px; color: var(--muted); line-height: 1.7; }

/* 利用上限の表示（UI-06） */
.usage-status { grid-column: 1 / -1; color: #d4dce7; font-size: 15px; }
.usage-status.warning { color: var(--gold); font-weight: 700; }
