/* こどもレンズ
   デザインの方針：公共サービスの画面に近い落ち着きと、こどもに関わる主題にふさわしい温かみ。
   文字はユニバーサルデザイン書体（BIZ UDPGothic）、見出しは Zen Kaku Gothic New。
   色は紙の白、濃い藍、3列の意味を示す3色。装飾よりも読みやすさを優先する。 */

:root {
  color-scheme: light;
  --paper: #faf7f1;
  --surface: #ffffff;
  --ink: #1d2433;
  --ink-2: #4a5365;
  --ink-3: #7a8293;
  --line: #e3dfd6;
  --line-2: #cfc9bd;
  --accent: #1f4e79;
  --accent-ink: #ffffff;
  --accent-soft: #e8f0f8;
  --warn-bg: #fff6dc;
  --warn-line: #e6c86a;
  --warn-ink: #5a4300;
  --danger: #b4231d;
  --protect: #2b6f8a;   --protect-bg: #e9f3f7;
  --enhance: #b8731f;   --enhance-bg: #fbf1e3;
  --create: #4f7a3a;    --create-bg: #eef4e8;
  --band-customer: #e6edf4;
  --band-employee: #f7ebdc;
  --band-community: #e7efe3;
  --na: #f4f2ee;
  --radius: 14px;
  --radius-s: 8px;
  --shadow: 0 1px 2px rgba(29, 36, 51, 0.05), 0 8px 24px -12px rgba(29, 36, 51, 0.18);
  --font-body: "BIZ UDPGothic", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", Meiryo, system-ui, sans-serif;
  --font-head: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif;
  --font-latin: "Inter", system-ui, -apple-system, sans-serif;
  --max: 1040px;
  font-size: 17px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #f0a33a; outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.sp-only { display: none; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; letter-spacing: 0.01em; line-height: 1.35; margin: 0; }

/* ヘッダー */
.top { border-bottom: 1px solid var(--line); background: rgba(250, 247, 241, 0.9); backdrop-filter: blur(6px); position: sticky; top: 0; z-index: 10; }
.top-inner { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; }
.lens { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--accent); position: relative; background: radial-gradient(circle at 35% 35%, #fff 0 30%, var(--accent-soft) 31%); }
.lens::after { content: ""; position: absolute; right: -9px; bottom: -8px; width: 10px; height: 4px; background: var(--accent); border-radius: 2px; transform: rotate(45deg); }
.top-by { font-family: var(--font-latin); font-size: 0.8rem; color: var(--ink-3); letter-spacing: 0.02em; }

/* ヒーロー */
.hero { padding: 40px 0 20px; max-width: 760px; }
.eyebrow { margin: 0 0 8px; color: var(--accent); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; }
.hero h1 { font-size: clamp(1.5rem, 1.1rem + 2vw, 2.25rem); }
.hero h1 em { font-style: normal; color: var(--accent); background: linear-gradient(transparent 62%, #f7dfa6 62% 92%, transparent 92%); padding: 0 2px; }
.lead { margin: 12px 0 0; color: var(--ink-2); font-size: 1.02rem; }

/* 入力パネル */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.field label { display: block; font-weight: 700; margin: 0 0 8px; }
.url-row { display: flex; gap: 10px; align-items: stretch; }
input[type="url"], textarea {
  width: 100%; font: inherit; font-size: 1.05rem; padding: 12px 14px; color: var(--ink);
  border: 1.5px solid var(--line-2); border-radius: 10px; background: #fff; transition: border-color 0.15s, box-shadow 0.15s;
}
input[type="url"] { font-family: var(--font-latin); letter-spacing: 0.01em; }
input[type="url"]:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
textarea { resize: vertical; line-height: 1.65; }
.hint { color: var(--ink-3); font-size: 0.84rem; margin: 8px 0 0; line-height: 1.6; }
.hint.center { text-align: center; }
button { font: inherit; font-weight: 700; padding: 11px 16px; border-radius: 10px; border: 1.5px solid var(--line-2); background: #fff; color: var(--ink); cursor: pointer; transition: background 0.15s, border-color 0.15s, transform 0.05s; }
button:hover { background: #f6f3ec; border-color: #b9b2a4; }
button:active { transform: translateY(1px); }
button.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); white-space: nowrap; padding: 12px 22px; font-size: 1.02rem; }
button.primary:hover { background: #193f62; }
button.primary:disabled { background: #c9d3de; border-color: #c9d3de; color: #fff; cursor: not-allowed; transform: none; }
button.ghost { background: transparent; border-color: transparent; color: var(--accent); }
button.ghost:hover { background: var(--accent-soft); }

.more { margin-top: 18px; border-top: 1px dashed var(--line); padding-top: 14px; }
.more summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--accent); }
.more summary::-webkit-details-marker { display: none; }
.summary-icon { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--accent); position: relative; flex: none; }
.summary-icon::before, .summary-icon::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--accent); transform: translate(-50%, -50%); transition: transform 0.2s; }
.summary-icon::before { width: 10px; height: 1.5px; }
.summary-icon::after { width: 1.5px; height: 10px; }
.more[open] .summary-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.opt { font-weight: 400; color: var(--ink-3); font-size: 0.82rem; border: 1px solid var(--line-2); border-radius: 999px; padding: 0 8px; }
.more-body { padding-top: 12px; }
.meta { display: flex; align-items: center; gap: 8px; margin: 18px 0 0; color: var(--ink-3); font-size: 0.84rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--create); flex: none; }

/* デモ */
.demo { margin-top: 40px; }
.demo h2, .how h2 { font-size: 1.1rem; }
.demo-lead { margin: 6px 0 14px; color: var(--ink-2); font-size: 0.95rem; }
.demo-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.demo-card { text-align: left; padding: 16px 18px; border-radius: var(--radius); background: var(--surface); border: 1.5px solid var(--line); display: grid; gap: 2px; font-weight: 400; }
.demo-card:hover { border-color: var(--accent); background: #fff; }
.demo-kind { font-size: 0.75rem; color: var(--ink-3); letter-spacing: 0.08em; }
.demo-name { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.demo-desc { font-size: 0.85rem; color: var(--ink-2); }

/* 表の見方 */
.how { margin: 44px 0 28px; }
.how-lead { margin: 6px 0 16px; color: var(--ink-2); font-size: 0.95rem; }
.how-body { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; }
.how-fig { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.fig-grid { display: grid; grid-template-columns: 44px repeat(3, 1fr); gap: 3px; font-size: 0.66rem; line-height: 1.2; }
.fig-grid i { display: block; height: 18px; border-radius: 3px; background: var(--na); }
.fig-grid i:nth-of-type(3n+1) { background: var(--protect-bg); }
.fig-grid i:nth-of-type(3n+2) { background: var(--enhance-bg); }
.fig-grid i:nth-of-type(3n) { background: var(--create-bg); }
.fig-col { text-align: center; font-weight: 700; padding-bottom: 2px; white-space: nowrap; }
.fig-col.c1 { color: var(--protect); } .fig-col.c2 { color: var(--enhance); } .fig-col.c3 { color: var(--create); }
.fig-row { color: var(--ink-2); align-self: center; }
.how-list { margin: 0; display: grid; gap: 16px; }
.how-list dt { font-family: var(--font-head); font-weight: 700; display: flex; align-items: center; gap: 8px; }
.how-list dd { margin: 4px 0 0; font-size: 0.9rem; color: var(--ink-2); line-height: 1.7; }
.how-tag { font-family: var(--font-body); font-size: 0.72rem; font-weight: 700; color: var(--accent); border: 1px solid var(--accent); border-radius: 999px; padding: 0 8px; line-height: 1.6; }
.t-protect { color: var(--protect); } .t-enhance { color: var(--enhance); } .t-create { color: var(--create); }
.how-link { margin: 20px 0 0; font-size: 0.92rem; color: var(--ink-2); }

/* トップに戻る */
.backbar { margin: 16px 0 0; }
.back { background: transparent; border-color: transparent; color: var(--accent); padding: 6px 10px 6px 4px; font-size: 0.95rem; }
.back:hover { background: var(--accent-soft); }
.cancel { margin-top: 10px; font-size: 0.9rem; }

/* 読み込み中 */
.loading { text-align: center; margin: 32px auto; max-width: 560px; padding: 36px 24px; }
.loading-visual { height: 56px; display: grid; place-items: center; margin-bottom: 8px; }
.ring { width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-text { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; margin: 0 0 14px; }
.steps { list-style: none; margin: 0 auto; padding: 0; display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.steps li { font-size: 0.82rem; color: var(--ink-3); padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; }
.steps li.active { color: var(--accent); border-color: var(--accent); font-weight: 700; }
.steps li.done { color: var(--create); border-color: var(--create); }
@media (prefers-reduced-motion: reduce) { .ring { animation: none; border-top-color: var(--line-2); } }

.error { border-color: #e7b3b0; background: #fff8f7; margin-top: 24px; }
.error p { margin: 0 0 12px; color: var(--danger); font-weight: 700; }

/* 結果 */
.notice-top { display: flex; gap: 10px; align-items: flex-start; background: var(--warn-bg); border: 1px solid var(--warn-line); color: var(--warn-ink); border-radius: 10px; padding: 12px 14px; font-weight: 700; margin: 20px 0 10px; line-height: 1.55; }
.notice-mark { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--warn-ink); color: #fff; display: grid; place-items: center; font-size: 0.85rem; font-family: var(--font-latin); margin-top: 2px; }
.demo-badge { display: inline-block; background: var(--accent-soft); color: var(--accent); border-radius: 999px; padding: 3px 12px; font-size: 0.85rem; font-weight: 700; margin: 0 0 8px; }
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 20px; }
.toolbar button { padding: 9px 14px; font-size: 0.92rem; }
.block { margin: 24px 0; }
.block h2 { font-size: 1.15rem; margin: 0 0 10px; padding-left: 12px; border-left: 4px solid var(--accent); line-height: 1.3; }
.summary { margin: 0; font-size: 1rem; }

/* マトリクス */
.matrix-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.matrix { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.matrix th, .matrix td { border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); padding: 12px 14px; vertical-align: top; text-align: left; font-size: 0.9rem; line-height: 1.65; }
.matrix tr > :last-child { border-right: none; }
.matrix tbody tr:last-child > * { border-bottom: none; }
.matrix thead th { background: #f7f5f0; font-weight: 700; font-size: 0.98rem; vertical-align: top; padding-top: 14px; padding-bottom: 12px; }
.matrix thead th small { display: block; font-weight: 400; color: var(--ink-3); font-size: 0.74rem; line-height: 1.45; margin-top: 4px; }
.matrix .en { display: block; font-family: var(--font-latin); font-size: 0.7rem; letter-spacing: 0.03em; }
.col-name { display: inline-block; padding-left: 12px; position: relative; }
.col-name::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.col-protect .col-name { color: var(--protect); }
.col-enhance .col-name { color: var(--enhance); }
.col-create .col-name { color: var(--create); }
.matrix .band-head { width: 34px; padding: 0; background: var(--paper); border-right-color: var(--line); }
.matrix .row-head { width: 176px; }
.matrix th.band { width: 34px; padding: 10px 0; line-height: 1.15; font-size: 0.78rem; font-weight: 700; text-align: center; vertical-align: middle; color: var(--ink-2); }
.matrix th.band .ch { display: block; }
.band.customer { background: var(--band-customer); }
.band.employee { background: var(--band-employee); }
.band.community { background: var(--band-community); }
.matrix td.rowname { font-family: var(--font-head); font-weight: 700; background: #fcfbf8; font-size: 0.95rem; }
.matrix td.rowname small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--ink-3); font-size: 0.74rem; margin-top: 2px; }
.matrix td.open { background: repeating-linear-gradient(135deg, #fff 0 10px, #fbfaf6 10px 20px); }
.matrix .open-label { margin: 0; font-size: 0.8rem; font-weight: 700; color: var(--ink-3); display: flex; align-items: center; gap: 6px; }
.matrix .open-label::before { content: ""; width: 14px; height: 14px; border: 1.5px dashed var(--ink-3); border-radius: 4px; flex: none; }
.matrix td.open .q { background: #fff; border: 1px dashed var(--line-2); }
.matrix ul { margin: 0; padding: 0; list-style: none; }
.matrix li { position: relative; padding-left: 14px; margin: 0 0 6px; }
.matrix li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); }
.matrix td.c-protect li::before { background: var(--protect); }
.matrix td.c-enhance li::before { background: var(--enhance); }
.matrix td.c-create li::before { background: var(--create); }
.matrix .q { margin: 8px 0 0; color: var(--ink-2); font-size: 0.84rem; line-height: 1.55; padding: 8px 10px; border-radius: var(--radius-s); background: var(--paper); }
.matrix .q::before { content: "問い"; display: inline-block; font-size: 0.7rem; font-weight: 700; color: var(--accent); border: 1px solid var(--accent); border-radius: 999px; padding: 0 6px; margin-right: 6px; line-height: 1.5; vertical-align: 1px; }

/* フッター */
.foot { margin: 48px 0 0; padding: 20px 0 28px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 0.8rem; line-height: 1.7; }
.foot p { margin: 4px 0; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; font-size: 0.9rem; box-shadow: var(--shadow); }

/* スマホ */
@media (max-width: 720px) {
  :root { font-size: 16px; }
  .sp-only { display: inline; }
  .hero { padding: 28px 0 16px; }
  .panel { padding: 18px; }
  .url-row { flex-direction: column; }
  button.primary { width: 100%; }
  .demo-cards { grid-template-columns: 1fr; }
  .how-body { grid-template-columns: 1fr; gap: 18px; }
  .how-fig { max-width: 320px; }
  /* 表を行ごとのカードに変える */
  .matrix-wrap { border: none; background: transparent; box-shadow: none; overflow: visible; }
  .matrix thead { display: none; }
  .matrix, .matrix tbody, .matrix tr, .matrix td, .matrix th { display: block; width: auto; }
  .matrix tr { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin: 0 0 12px; overflow: hidden; box-shadow: var(--shadow); }
  .matrix th, .matrix td { border-right: none; }
  .matrix th.band { width: auto; text-align: left; padding: 6px 14px; font-size: 0.74rem; line-height: 1.3; }
  .matrix th.band .ch { display: inline; }
  .matrix td.rowname { font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .matrix td.cell::before, .matrix td.open::before { content: attr(data-col); display: block; font-weight: 700; margin-bottom: 6px; font-family: var(--font-head); }
  .matrix td.c-protect::before { color: var(--protect); }
  .matrix td.c-enhance::before { color: var(--enhance); }
  .matrix td.c-create::before { color: var(--create); }
}

/* 大きく表示（スクリーン投影用） */
body.zoom { font-size: 1.3rem; }
body.zoom .top, body.zoom .backbar, body.zoom .notice-top, body.zoom .demo-badge, body.zoom .block > h2, body.zoom .block > .hint, body.zoom .foot,
body.zoom .block:not(:has(.matrix)) { display: none; }
body.zoom .wrap { max-width: none; padding: 0 12px; }
body.zoom .toolbar { position: sticky; top: 0; background: var(--paper); padding: 10px 0; z-index: 2; margin: 0 0 10px; }
body.zoom .matrix th, body.zoom .matrix td { font-size: 1.05rem; padding: 12px 14px; }
body.zoom .matrix thead th { font-size: 1.15rem; }
body.zoom .matrix thead th small { font-size: 0.8rem; }
body.zoom .matrix .row-head { width: 190px; }
body.zoom .matrix .q { font-size: 0.95rem; }

/* 印刷：A4縦1枚、画面と同じ表の形。
   同じ規則を、印刷時（@media print）と、印刷直前に縮小率を測るとき（body.print-layout）の両方に当てる */
@media print {
  @page { size: A4 portrait; margin: 10mm 10mm 9mm; }
  :root { font-size: 9pt; }
  body { background: #fff; padding: 0; color: #000; line-height: 1.4; width: 190mm; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body .no-print, body #input-section, body #loading, body #error, body .toast, body .top-by { display: none !important; }
  body .top { position: static; background: none; backdrop-filter: none; border-bottom: 1px solid #9aa3ad; }
  body .top-inner { height: auto; padding: 0 0 3px; }
  body .brand { font-size: 12pt; }
  body .lens { width: 14px; height: 14px; border-width: 2px; }
  body .lens::after { right: -6px; bottom: -5px; width: 7px; height: 3px; }
  body .wrap { max-width: none; padding: 0; }
  body .notice-top { background: none; border: 1px solid #c9b46a; padding: 3px 6px; margin: 2px 0 5px; font-size: 8.5pt; }
  body .notice-mark { width: 14px; height: 14px; font-size: 7pt; }
  body .block { margin: 6px 0; }
  body .block h2 { font-size: 10.5pt; margin-bottom: 3px; }
  body .summary { font-size: 8.5pt; }
  body #source-note, body .demo-badge { font-size: 7.5pt; margin: 0; }
  body .block .hint { font-size: 6.8pt; margin: 2px 0; }
  body .foot { margin: 4px 0 0; padding: 3px 0 0; font-size: 7pt; }
  body .matrix-wrap { overflow: visible; border: none; box-shadow: none; border-radius: 0; }
  body .matrix { display: table; width: 100%; table-layout: fixed; border-collapse: collapse; }
  body .matrix thead { display: table-header-group; }
  body .matrix tbody { display: table-row-group; }
  body .matrix tr { display: table-row; border: none; border-radius: 0; margin: 0; break-inside: avoid; box-shadow: none; }
  body .matrix th, body .matrix td { display: table-cell; border: 1px solid #9aa3ad; padding: 3px 4px; font-size: 7.6pt; line-height: 1.3; }
  body .matrix td.cell::before, body .matrix td.open::before { content: none; }
  body .matrix td.open { background: #fff; }
  body .matrix .open-label { font-size: 6.6pt; }
  body .matrix .open-label::before { width: 8px; height: 8px; }
  body .matrix thead th { font-size: 9pt; padding-top: 4px; padding-bottom: 4px; }
  body .matrix thead th small { font-size: 6.5pt; margin-top: 1px; }
  body .matrix .band-head { width: 6mm; border: none; }
  body .matrix th.band { width: 6mm; font-size: 6.8pt; padding: 2px 0; line-height: 1.15; text-align: center; }
  body .matrix th.band .ch { display: block; }
  body .matrix .row-head { width: 24mm; }
  body .matrix td.rowname { font-size: 8.2pt; }
  body .matrix td.rowname small { font-size: 6.6pt; }
  body .matrix li { padding-left: 9px; margin-bottom: 2px; }
  body .matrix li::before { width: 4px; height: 4px; top: 0.6em; }
  body .matrix .q { font-size: 7pt; margin-top: 3px; padding: 2px 4px; background: #f4f2ee; }
  body .matrix .q::before { font-size: 6pt; padding: 0 4px; }
}
body.print-layout { background: #fff; padding: 0; color: #000; line-height: 1.4; width: 190mm; font-size: 9pt; }
body.print-layout .no-print, body.print-layout #input-section, body.print-layout #loading, body.print-layout #error, body.print-layout .toast, body.print-layout .top-by { display: none !important; }
body.print-layout .top { position: static; background: none; border-bottom: 1px solid #9aa3ad; }
body.print-layout .top-inner { height: auto; padding: 0 0 3px; }
body.print-layout .brand { font-size: 12pt; }
body.print-layout .wrap { max-width: none; padding: 0; }
body.print-layout .notice-top { background: none; border: 1px solid #c9b46a; padding: 3px 6px; margin: 2px 0 5px; font-size: 8.5pt; }
body.print-layout .notice-mark { width: 14px; height: 14px; font-size: 7pt; }
body.print-layout .block { margin: 6px 0; }
body.print-layout .block h2 { font-size: 10.5pt; margin-bottom: 3px; }
body.print-layout .summary { font-size: 8.5pt; }
body.print-layout #source-note, body.print-layout .demo-badge { font-size: 7.5pt; margin: 0; }
body.print-layout .block .hint { font-size: 6.8pt; margin: 2px 0; }
body.print-layout .foot { margin: 4px 0 0; padding: 3px 0 0; font-size: 7pt; }
body.print-layout .matrix-wrap { overflow: visible; border: none; box-shadow: none; border-radius: 0; }
body.print-layout .matrix { display: table; width: 100%; table-layout: fixed; border-collapse: collapse; }
body.print-layout .matrix thead { display: table-header-group; }
body.print-layout .matrix tbody { display: table-row-group; }
body.print-layout .matrix tr { display: table-row; border: none; border-radius: 0; margin: 0; box-shadow: none; }
body.print-layout .matrix th, body.print-layout .matrix td { display: table-cell; border: 1px solid #9aa3ad; padding: 3px 4px; font-size: 7.6pt; line-height: 1.3; }
body.print-layout .matrix td.cell::before, body.print-layout .matrix td.open::before { content: none; }
body.print-layout .matrix .open-label { font-size: 6.6pt; }
body.print-layout .matrix .open-label::before { width: 8px; height: 8px; }
body.print-layout .matrix thead th { font-size: 9pt; padding-top: 4px; padding-bottom: 4px; }
body.print-layout .matrix thead th small { font-size: 6.5pt; margin-top: 1px; }
body.print-layout .matrix .band-head { width: 6mm; border: none; }
body.print-layout .matrix th.band { width: 6mm; font-size: 6.8pt; padding: 2px 0; line-height: 1.15; text-align: center; }
body.print-layout .matrix th.band .ch { display: block; }
body.print-layout .matrix .row-head { width: 24mm; }
body.print-layout .matrix td.rowname { font-size: 8.2pt; }
body.print-layout .matrix td.rowname small { font-size: 6.6pt; }
body.print-layout .matrix li { padding-left: 9px; margin-bottom: 2px; }
body.print-layout .matrix li::before { width: 4px; height: 4px; top: 0.6em; }
body.print-layout .matrix .q { font-size: 7pt; margin-top: 3px; padding: 2px 4px; }
body.print-layout .matrix .q::before { font-size: 6pt; padding: 0 4px; }
