/* tsunagu の画面。ふり返り票の部分は education の print.css を画面向けにしたもの。 */
:root { --ink: #111; --hair: #c8c8c8; --muted: #555; --bg: #fafaf8; --accent: #1f4e79; }
  * { box-sizing: border-box; }
  body {
    margin: 0; background: var(--bg); color: var(--ink);
    font-family: "BIZ UDPGothic", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
    font-size: 16px; line-height: 1.7;
  }
  main { max-width: 760px; margin: 0 auto; padding: 20px 16px 48px; }
  .card { background: #fff; border: 1px solid var(--hair); border-radius: 10px; padding: 20px 18px; }
  .brand { color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: 0.2em; margin: 0; }
  h1.app { font-size: 24px; margin: 2px 0 6px; letter-spacing: 0.04em; }
  p.note { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
  label { display: block; font-size: 14px; font-weight: 700; margin: 14px 0 4px; }
  input {
    width: 100%; font: inherit; padding: 10px 12px;
    border: 1px solid #999; border-radius: 6px; background: #fff;
  }
  button {
    font: inherit; font-weight: 700; padding: 10px 18px; margin-top: 18px;
    border: none; border-radius: 6px; background: var(--accent); color: #fff; cursor: pointer;
  }
  button.sub { background: #fff; color: var(--accent); border: 1px solid var(--accent); }
  button:disabled { opacity: 0.5; cursor: default; }
  .msg { margin-top: 12px; font-size: 14px; min-height: 1.4em; }
  .msg.err { color: #a40000; }
  .msg.ok { color: #1d6b2a; }
  .bar { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
  .bar .who { font-weight: 700; }
  .bar button { margin-top: 0; padding: 6px 12px; font-size: 14px; }
  .demo { background: #fff6d6; border: 1px solid #e6cf7a; border-radius: 6px; padding: 8px 12px; font-size: 14px; margin-bottom: 12px; }
  details.keychange { margin-top: 24px; }
  details.keychange summary { cursor: pointer; font-weight: 700; color: var(--accent); }
  [hidden] { display: none !important; }

  /* ふり返り票(印刷用 print.css を画面向けにしたもの) */
  .sheet { background: #fff; border: 1px solid var(--hair); border-radius: 10px; padding: 20px 18px; }
  .sheet-header { border-bottom: 3px solid var(--ink); margin-bottom: 16px; padding-bottom: 8px; }
  .kicker { background: var(--ink); color: #fff; display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.18em; padding: 3px 9px; }
  .sheet-header h1 { font-size: 24px; margin: 8px 0 2px; }
  .lead { color: var(--muted); font-size: 14px; margin: 0; }
  .sheet h2 { border-bottom: 1px solid var(--ink); font-size: 18px; margin: 24px 0 8px; padding-bottom: 3px; }
  .sheet ul { margin: 0 0 8px; padding-left: 1.3em; }
  .sheet li { margin-bottom: 6px; }
  .basis { color: var(--muted); font-size: 13px; margin-left: 4px; }
  .fix { border-top: 1px solid var(--hair); padding: 10px 0 8px; }
  .fix:first-of-type { border-top: none; }
  .fix-title { font-weight: 700; margin-bottom: 4px; }
  .fix-title .no { border: 1px solid var(--ink); display: inline-block; font-size: 13px; line-height: 1; margin-right: 8px; padding: 3px 6px; }
  .fix .row.ask { padding-left: 1.8em; }
  .change { border-top: 1px solid var(--hair); padding: 8px 0 6px; }
  .change .row { display: grid; grid-template-columns: 4.2em 1fr; column-gap: 8px; }
  .change .lbl { color: var(--muted); font-size: 13px; padding-top: 2px; }
  .change .row:not(.now) span:last-child { color: var(--muted); }
  .change .row.now span:last-child { font-weight: 700; }
  .change.rest .row span:last-child { color: var(--ink); }
  .lead.page2 { display: none; }   /* 印刷の2頁目の名前は画面では不要 */
  .pagelist { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
  .pagelist button { margin-top: 0; padding: 6px 10px; font-size: 13px; background: #fff; color: var(--accent); border: 1px solid var(--accent); }
  .pagelist button.on { background: var(--accent); color: #fff; }
  .foot { color: var(--muted); font-size: 12px; text-align: center; margin-top: 24px; }
