/* MedilenZ 施設基準届出 検索 — Streamlit版（app.py）と同じブランドトークン */
:root {
  --brand: #12886D;
  --brand-dark: #0B5E4B;
  --brand-soft: #EAF4F0;
  --brand-line: #BFDFD4;
  --ink: #26251F;
  --ink-muted: #6E6A5E;
  --ink-faint: #9C9890;
  --line: #E8E4DB;
  --bg: #FAF8F4;
  --card: #FFFFFF;
  --radius: 10px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }   /* display を指定したクラスでも hidden 属性で隠れるように */
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 15px;
  line-height: 1.75;
}
a { color: var(--brand-dark); }
a:hover { color: var(--brand); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* ── ヘッダー／フッター ── */
.site-header { background: var(--card); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; flex-wrap: wrap; }
.logo { font-weight: 900; font-size: 1.45rem; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.logo span { color: var(--brand); }
.logo small { font-size: 0.75rem; font-weight: 700; color: var(--ink-muted); margin-left: 10px; letter-spacing: 0; }
.nav { display: flex; gap: 18px; font-size: 0.9rem; }
.nav a { color: var(--ink-muted); text-decoration: none; }
.nav a:hover { color: var(--brand); }
.site-footer { margin-top: 64px; padding: 28px 0 40px; border-top: 1px solid var(--line); background: var(--card); }
.credit { font-size: 0.78rem; color: var(--ink-muted); margin: 0 0 8px; }
.copy { font-size: 0.75rem; color: var(--ink-faint); margin: 16px 0 0; }

/* ── 見出し・パンくず ── */
h1 { font-size: 1.6rem; font-weight: 900; line-height: 1.45; margin: 28px 0 8px; }
h2 { font-size: 1.15rem; font-weight: 700; margin: 36px 0 12px; padding-left: 10px; border-left: 4px solid var(--brand); }
.crumbs { font-size: 0.8rem; color: var(--ink-faint); margin-top: 20px; }
.crumbs a { color: var(--ink-muted); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.lead { color: var(--ink-muted); margin: 0 0 12px; }
.muted { color: var(--ink-muted); }
.small { font-size: 0.82rem; }

/* ── トップ ── */
.hero { text-align: center; padding: 48px 0 20px; }
.hero h1 { font-size: 2rem; margin: 0 0 12px; }
.hero p { color: var(--ink-muted); max-width: 640px; margin: 0 auto; }
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.badges li { font-size: 0.8rem; font-weight: 700; color: var(--brand-dark); background: var(--brand-soft); border: 1px solid var(--brand-line); border-radius: 999px; padding: 2px 12px; }
.stats { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 26px; font-size: 0.82rem; color: var(--ink-faint); margin: 16px 0 0; }
.stats b { color: var(--ink-muted); }

/* ── 検索フォーム: 施設基準名を打って候補から選ぶ検索窓が中心。地域などはその下に横並び ── */
.sx { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px 22px 14px; margin: 20px 0 8px; box-shadow: 0 6px 24px rgba(38,37,31,0.05); }
.sx-main { position: relative; }
.sx-label { display: block; font-weight: 700; font-size: 0.95rem; margin: 0 0 8px; }
.sx-box {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 56px; padding: 8px 12px 8px 44px; position: relative;
  border: 2px solid var(--brand-line); border-radius: 12px; background: var(--card); cursor: text;
}
.sx-box:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.sx-icon {
  position: absolute; left: 15px; top: 17px; width: 16px; height: 16px; border: 2.5px solid var(--brand); border-radius: 50%;
}
.sx-icon::after { content: ""; position: absolute; width: 2.5px; height: 8px; background: var(--brand); right: -5px; bottom: -7px; transform: rotate(-45deg); border-radius: 2px; }
.sx-chips { display: contents; }
.sx-box input { flex: 1 1 240px; min-width: 180px; border: 0; outline: 0; font: inherit; font-size: 1.02rem; padding: 6px 2px; background: transparent; color: var(--ink); }
.chip {
  display: inline-flex; align-items: center; gap: 4px; max-width: 100%; padding: 3px 4px 3px 12px; border-radius: 999px;
  background: var(--brand); color: #fff; font-size: 0.85rem; font-weight: 700;
}
.chip .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.chip button { border: 0; background: rgba(255,255,255,0.22); color: #fff; width: 20px; height: 20px; border-radius: 50%; cursor: pointer; font-size: 0.8rem; line-height: 1; flex: none; }
.chip button:hover { background: rgba(255,255,255,0.4); }
.sx-suggest {
  position: absolute; left: 0; right: 0; z-index: 20; margin: 4px 0 0; padding: 6px; list-style: none;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgba(38,37,31,0.14); max-height: 420px; overflow-y: auto;
}
.sx-suggest li { display: flex; align-items: baseline; gap: 10px; padding: 8px 10px; border-radius: 8px; cursor: pointer; }
.sx-suggest li.on, .sx-suggest li:hover { background: var(--brand-soft); }
.sx-suggest li.none { color: var(--ink-muted); cursor: default; font-size: 0.88rem; }
.sx-suggest .nm, .sx-rows .nm { flex: 1; }
.sx-suggest .sy, .sx-rows .sy { color: var(--ink-faint); font-size: 0.75rem; white-space: nowrap; }
.sx-suggest .ct, .sx-rows .ct { color: var(--ink-muted); font-size: 0.78rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sx-mode { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: center; margin: 10px 2px 0; font-size: 0.88rem; color: var(--ink-muted); }
.sx-mode label { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; color: var(--ink); }
.sx input[type=checkbox], .sx input[type=radio] { accent-color: var(--brand); }

.sx-filters { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: flex-end; margin: 18px 0 0; padding-top: 16px; border-top: 1px dashed var(--line); }
.sx-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sx-grow { flex: 1 1 140px; }
.sx-flabel { font-size: 0.75rem; font-weight: 700; color: var(--ink-muted); }
.sx-field select, .sx-field input[type=text], .sx-pop > summary {
  font: inherit; font-size: 0.92rem; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--ink);
}
.sx-field input[type=text] { width: 100%; }
.sx-field select:focus, .sx-field input:focus { outline: 2px solid var(--brand); outline-offset: -1px; }
.sx-pop { position: relative; }
.sx-pop > summary { display: flex; align-items: center; min-width: 128px; max-width: 170px; cursor: pointer; list-style: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 30px; }
.sx-pop > summary::-webkit-details-marker { display: none; }
.sx-pop > summary::after { content: "▾"; position: absolute; right: 12px; color: var(--ink-faint); }
.sx-pop.set > summary { border-color: var(--brand); color: var(--brand-dark); font-weight: 700; background: var(--brand-soft); }
.sx-pop.off > summary { color: var(--ink-faint); background: #F4F1EA; cursor: not-allowed; font-size: 0.8rem; }
.sx-pop-body {
  position: absolute; z-index: 15; top: 44px; left: 0; min-width: 240px; max-width: 360px; max-height: 320px; overflow-y: auto; padding: 8px;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgba(38,37,31,0.14);
}
.sx-pop-body label { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 6px; cursor: pointer; font-size: 0.9rem; }
.sx-pop-body label:hover { background: var(--brand-soft); }
.sx-pop-body small { margin-left: auto; color: var(--ink-faint); font-size: 0.75rem; }
.sx-seg { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; height: 40px; }
.sx-seg label { display: flex; cursor: pointer; }
.sx-seg input { position: absolute; opacity: 0; pointer-events: none; }
.sx-seg span { display: flex; align-items: center; padding: 0 12px; font-size: 0.88rem; border-left: 1px solid var(--line); white-space: nowrap; }
.sx-seg label:first-child span { border-left: 0; }
.sx-seg input:checked + span { background: var(--brand); color: #fff; font-weight: 700; }
.sx-seg input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: -2px; }
.sx-submit { height: 40px; padding: 0 26px; }

.sx-list { margin: 14px 0 0; }
.sx-list > summary { cursor: pointer; font-size: 0.85rem; color: var(--brand-dark); font-weight: 700; padding: 4px 0; }
.sx-list-body { margin-top: 10px; }
.sx-tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 2px solid var(--line); }
.sx-tabs button {
  font: inherit; font-size: 0.85rem; padding: 7px 14px; border: 0; background: none; color: var(--ink-muted); cursor: pointer;
  border-bottom: 3px solid transparent; margin-bottom: -2px;
}
.sx-tabs button[aria-selected=true] { color: var(--brand-dark); font-weight: 700; border-bottom-color: var(--brand); }
.sx-list-filter { width: 100%; max-width: 420px; margin: 10px 0 6px; font: inherit; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; }
.sx-rows { list-style: none; margin: 0; padding: 0; max-height: 420px; overflow-y: auto; border: 1px solid var(--line); border-radius: 10px; }
.sx-rows li label { display: flex; align-items: baseline; gap: 10px; padding: 7px 12px; border-bottom: 1px solid var(--line); cursor: pointer; font-size: 0.88rem; }
.sx-rows li:last-child label { border-bottom: 0; }
.sx-rows li label:hover { background: var(--brand-soft); }
.sx-rows li label:has(input:checked) { background: var(--brand-soft); font-weight: 700; }
.sx-rows li.none { padding: 10px 12px; color: var(--ink-muted); font-size: 0.88rem; }
.sx-note { font-size: 0.78rem; color: var(--ink-faint); margin: 8px 0 0; }
.sp-only { display: none; }   /* スマホだけで出すもの（下の @media で表示） */
.cm-edit { margin: 12px 0 20px; }
.cm-edit > summary { cursor: pointer; font-weight: 700; color: var(--brand-dark); padding: 8px 0; }
.cond-summary { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: 0.88rem; margin: 4px 0 8px; }
.cond-summary .k { font-size: 0.75rem; font-weight: 700; color: #fff; background: var(--brand-dark); border-radius: 4px; padding: 1px 8px; }
.cond-summary .v { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 2px 10px; }
.cond-summary abbr { text-decoration: none; border-bottom: 1px dotted var(--ink-faint); cursor: help; }
/* 検索結果: 選んだ届出項目ごとの○の列 */
.results th.ic, .results td.ic { text-align: center; width: 1%; white-space: nowrap; padding-left: 8px; padding-right: 8px; }
.results th.ic { cursor: help; }
.results .ok { color: var(--brand); font-weight: 900; }
.results td.addr { white-space: nowrap; }
.sec-row th { background: var(--brand-soft); color: var(--brand-dark); font-size: 0.82rem; }
.sym { color: var(--ink-faint); font-size: 0.75rem; margin-left: 4px; white-space: nowrap; }
.btn {
  display: inline-block; font: inherit; font-weight: 700; font-size: 0.95rem; cursor: pointer;
  padding: 9px 22px; border-radius: 8px; border: 1px solid var(--brand); background: var(--brand); color: #fff; text-decoration: none;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn.secondary { background: var(--card); color: var(--brand-dark); }
.btn.secondary:hover { background: var(--brand-soft); color: var(--brand-dark); }
.hint { font-size: 0.78rem; color: var(--ink-muted); margin: 8px 0 0; }

/* ── 一覧 ── */
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.chips a {
  display: inline-block; font-size: 0.85rem; text-decoration: none; color: var(--ink);
  background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px;
}
.chips a:hover { border-color: var(--brand); color: var(--brand-dark); }
.chips .n { color: var(--ink-faint); font-size: 0.75rem; margin-left: 4px; }
.pref-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 6px; padding: 0; margin: 0; list-style: none; }
.pref-grid a { display: block; text-align: center; padding: 6px 4px; font-size: 0.88rem; background: var(--card); border: 1px solid var(--line); border-radius: 8px; text-decoration: none; color: var(--ink); }
.pref-grid a:hover { border-color: var(--brand); color: var(--brand-dark); }

.table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
th, td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #F4F1EA; font-weight: 700; color: var(--ink-muted); font-size: 0.8rem; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
td.nowrap { white-space: nowrap; }
.tag { display: inline-block; font-size: 0.72rem; font-weight: 700; padding: 0 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-muted); white-space: nowrap; }
.tag.hosp { border-color: var(--brand-line); background: var(--brand-soft); color: var(--brand-dark); }
/* 厚生局の届出ではなく病床機能報告から補った区分（参考値）。公式の区分と見分けがつくよう薄く、点線で囲む */
.kubun-ref { color: var(--ink-muted); }
.tag.ref { border-style: dashed; color: var(--ink-faint); margin-right: 4px; }
.hitlist { margin: 4px 0 0; padding: 0; list-style: none; font-size: 0.8rem; color: var(--ink-muted); }
.hitlist li::before { content: "✓ "; color: var(--brand); }

.result-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 8px 0 12px; }
.count { font-weight: 700; }
.pager { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin: 20px 0; }
.pager a, .pager span { padding: 4px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); text-decoration: none; font-size: 0.88rem; }
.pager span.cur { background: var(--brand); border-color: var(--brand); color: #fff; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin: 16px 0; }
.fact { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; }
.fact .k { font-size: 0.75rem; color: var(--ink-muted); }
.fact .v { font-size: 1.05rem; font-weight: 700; }
.note { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; font-size: 0.88rem; color: var(--ink-muted); }
.callout { background: var(--brand-soft); border: 1px solid var(--brand-line); border-radius: var(--radius); padding: 12px 16px; font-size: 0.9rem; }
.filter { width: 100%; max-width: 420px; font: inherit; padding: 9px 11px; border: 1px solid var(--line); border-radius: 8px; margin: 0 0 12px; }
.source { font-size: 0.75rem; color: var(--ink-faint); text-align: right; margin: 6px 0 0; }

@media (max-width: 760px) {
  body { font-size: 14px; }
  .hero { padding-top: 32px; }
  .hero h1 { font-size: 1.5rem; }
  h1 { font-size: 1.35rem; }
  .logo small { display: none; }
  /* スマホでは地域などの条件を縦に並べる */
  .sx { padding: 16px 14px 10px; }
  .sx-filters { flex-direction: column; align-items: stretch; }
  .sx-pop > summary, .sx-field select { width: 100%; max-width: none; }
  /* 重ねて出すと下の欄（市区町村など）を隠すので、スマホでは開いた分だけ下を押し下げる */
  .sx-pop-body { position: static; max-width: none; min-width: 0; margin-top: 4px; box-shadow: none; }
  .sx-seg { width: 100%; }
  .sx-seg label { flex: 1; }
  .sx-seg span { justify-content: center; width: 100%; padding: 0 6px; }
  .sx-suggest .sy { display: none; }
  .pc-only { display: none; }
  .sp-only { display: inline; }
  .results td.addr { white-space: normal; min-width: 6.5em; font-size: 0.8rem; }
  /* 一覧表の住所は医療機関ページで見られるので、スマホでは区分の列を優先して隠す */
  .hide-sp { display: none; }
}

/* 入院基本料の区分（急性期一般入院料１など）を候補・チップ・結果で見分ける */
.chip .kb { font-size: 0.7rem; font-weight: 700; background: rgba(255,255,255,0.22); border-radius: 999px; padding: 1px 6px; margin-right: 2px; }
.sx-suggest .nm small { display: block; color: var(--ink-faint); font-size: 0.75rem; font-weight: 400; }
.sx-suggest .sy.kb { color: var(--brand-dark); background: var(--brand-soft); border-radius: 999px; padding: 1px 8px; }
.results th.ic.kb { white-space: normal; min-width: 7em; font-size: 0.78rem; }
.results .ok.ref { color: var(--ink-muted); font-weight: 700; white-space: nowrap; }
.results .ok.ref .tag.ref { margin: 0 0 0 3px; font-size: 0.65rem; padding: 0 4px; }

/* 広告枠（公表データの表と取り違えないよう、表の外に置き「広告」と明記する） */
.ad-slot { margin: 28px 0 8px; padding: 10px 12px 12px; border: 1px dashed var(--line); border-radius: var(--radius); background: var(--card); }
.ad-label { display: block; font-size: 0.7rem; color: var(--ink-faint); margin-bottom: 6px; letter-spacing: .05em; }
.ad-dummy { display: grid; place-items: center; min-height: 120px; padding: 12px; text-align: center; font-size: 0.85rem; color: var(--ink-faint); background: repeating-linear-gradient(45deg, var(--bg), var(--bg) 10px, var(--card) 10px, var(--card) 20px); border-radius: 8px; }

/* ── トップ（やりたいことごとの入口）── */
.top-hero { padding: 44px 0 8px; }
.eyebrow { font-size: 0.8rem; font-weight: 700; color: var(--brand-dark); letter-spacing: .08em; margin: 0 0 8px; }
.top-hero h1 { font-size: 1.9rem; line-height: 1.45; margin: 0 0 14px; }
.top-lead { color: var(--ink-muted); max-width: 760px; margin: 0; }
.top-stats { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; padding: 0; margin: 18px 0 0; }
.top-stats li { display: flex; align-items: baseline; gap: 6px; }
.top-stats b { font-size: 1.25rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.top-stats span { font-size: 0.8rem; color: var(--ink-muted); }

.task { margin: 26px 0 8px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 6px 24px rgba(38,37,31,0.05); }
.task-tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.task-tabs button {
  font: inherit; text-align: left; padding: 14px 20px 12px; background: none; border: 0; cursor: pointer; color: var(--ink-muted);
  border-bottom: 3px solid transparent; margin-bottom: -1px; display: flex; flex-direction: column; gap: 2px;
}
.task-tabs button + button { border-left: 1px solid var(--line); }
.task-tabs button b { font-size: 1rem; }
.task-tabs button small { font-size: 0.75rem; color: var(--ink-faint); }
.task-tabs button:hover { background: var(--bg); }
.task-tabs button[aria-selected=true] { color: var(--brand-dark); border-bottom-color: var(--brand); }
.task-tabs button[aria-selected=true] small { color: var(--ink-muted); }
.task-tabs button:first-child { border-top-left-radius: 16px; }
.task-tabs button:last-child { border-top-right-radius: 16px; }
.task-panel { padding: 20px 22px 18px; }
.task-q { font-weight: 700; margin: 0 0 10px; }
.task .sx { border: 0; box-shadow: none; padding: 0; margin: 0; }
.fac-row { display: flex; gap: 10px; align-items: stretch; }
.fac-row select { font: inherit; height: 52px; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); }
.fac-box { position: relative; flex: 1; }
.fac-box input {
  width: 100%; height: 52px; font: inherit; font-size: 1.02rem; padding: 0 14px; border: 2px solid var(--brand-line); border-radius: 12px; color: var(--ink);
}
.fac-box input:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.fac-row .btn { padding: 0 26px; }
.fac-box .sx-suggest li { padding: 0; }
.fac-box .sx-suggest li a { display: flex; align-items: baseline; gap: 10px; padding: 8px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; width: 100%; }
.fac-box .sx-suggest li.none { padding: 8px 10px; }
.fac-box .sx-suggest .nm small { display: block; color: var(--ink-faint); font-size: 0.75rem; }

.examples { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; }
.examples a {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 12px 14px; height: 100%;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink);
}
.examples a:hover { border-color: var(--brand); }
.ex-pref { font-size: 0.72rem; font-weight: 700; color: var(--brand-dark); background: var(--brand-soft); border-radius: 999px; padding: 1px 9px; white-space: nowrap; }
.ex-label { font-size: 0.9rem; font-weight: 700; line-height: 1.5; }
.ex-n { font-weight: 900; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ex-n small { font-weight: 400; font-size: 0.75rem; color: var(--ink-muted); margin-left: 2px; }

.uses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.use { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; font-size: 0.88rem; color: var(--ink-muted); }
.use p { margin: 0; }
.use .use-who { font-weight: 700; color: var(--ink); margin-bottom: 6px; font-size: 0.95rem; }
.data-about th { width: 7em; background: var(--bg); }

@media (max-width: 760px) {
  .top-hero { padding-top: 28px; }
  .top-hero h1 { font-size: 1.35rem; }
  .task-tabs button { padding: 10px 10px 9px; }
  .task-tabs button b { font-size: 0.85rem; }
  .task-tabs button small { display: none; }
  .task-panel { padding: 16px 14px; }
  .fac-row { flex-direction: column; }
  .fac-row select, .fac-box input { height: 46px; }
  .fac-row .btn { height: 44px; }
  .uses { grid-template-columns: 1fr; }
  .examples { grid-template-columns: 1fr; }
}
