/* 災害時 安否確認フォームメーカー */
.anp-toolbar { gap: 8px; flex-wrap: wrap; }
.anp-privacy { margin-top: 12px; }
.anp-pnote ul { margin: 6px 0 4px; padding-left: 1.2em; display: grid; gap: 4px; }
.anp-pnote p { margin: 4px 0 0; }
.anp-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 16px; align-items: start; margin-top: 14px; }
@media (max-width: 960px) { .anp-layout { grid-template-columns: 1fr; } }
.anp-main { display: grid; gap: 16px; min-width: 0; }
.anp-side { position: sticky; top: calc(var(--header-h) + 10px); min-width: 0; }
@media (max-width: 960px) { .anp-side { position: static; } }
.anp-card { padding: 16px 18px; min-width: 0; }
.anp-card + .anp-card { margin-top: 0; }
.anp-h { display: flex; align-items: center; gap: 8px; font-size: 17px; margin: 0 0 10px; }
.anp-n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--coral); color: #fff; font-size: 13px; font-weight: 900; flex: none; }
.anp-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; align-items: end; margin-bottom: 10px; }
.anp-drill { align-items: flex-start; gap: 8px; padding: 8px 10px; border: 1px solid var(--line-soft); border-radius: 10px; background: var(--card2); }
.anp-drill small, .anp-alert small { display: block; font-size: 12px; }
.anp-items { display: grid; gap: 8px; }
.anp-item { border: 1px solid var(--line-soft); border-radius: 12px; padding: 8px 10px; background: var(--card); }
.anp-item.off { background: var(--bg2); }
.anp-item.off .anp-ititle { opacity: .55; }
.anp-ihead { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto auto; gap: 8px; align-items: center; }
.anp-ihead input[type='checkbox'] { width: 18px; height: 18px; }
.anp-lock { color: var(--ink3); display: inline-grid; place-items: center; }
.anp-lock .i { width: 16px; height: 16px; }
.anp-ititle { padding: 6px 8px; font-size: 14.5px; font-weight: 700; min-width: 0; }
.anp-w { font-size: 11.5px; padding: 2px 8px; border-radius: 999px; white-space: nowrap; font-weight: 700; }
.anp-w.low { background: color-mix(in srgb, var(--ok) 14%, var(--card)); color: var(--ink); }
.anp-w.mid { background: color-mix(in srgb, var(--warn) 16%, var(--card)); color: var(--ink); }
.anp-w.high { background: color-mix(in srgb, var(--bad) 16%, var(--card)); color: var(--ink); }
.anp-req { white-space: nowrap; }
.anp-why { margin: 4px 0 0 30px; color: var(--ink2); }
.anp-opts { margin: 6px 0 0 30px; }
.anp-opts summary { cursor: pointer; color: var(--ink2); }
.anp-opts textarea { margin-top: 6px; width: 100%; font-size: 14px; }
@media (max-width: 560px) {
  .anp-ihead { grid-template-columns: 22px minmax(0, 1fr) auto; }
  .anp-ihead .anp-w { grid-column: 2; justify-self: start; }
  .anp-why, .anp-opts { margin-left: 0; }
}
.anp-alert { margin-top: 12px; align-items: flex-start; gap: 8px; padding: 10px 12px; border: 1px solid var(--line-soft); border-radius: 10px; }
.anp-groups { width: 100%; font-size: 14px; line-height: 1.6; }
.anp-gsum { gap: 6px; margin-top: 8px; flex-wrap: wrap; align-items: center; }
.anp-gsum .chip { cursor: default; }
/* プレビュー */
.anp-pvhead { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.anp-pvhead .anp-h { margin: 0; }
.anp-phone { border: 1px solid var(--line-soft); border-radius: 22px; padding: 12px; background: color-mix(in srgb, #673ab7 7%, var(--bg2)); max-height: 720px; overflow: auto; display: grid; gap: 8px; }
.anp-fhead { background: var(--card); border-radius: 10px; border-top: 8px solid #673ab7; padding: 10px 12px; }
.anp-fhead b { font-size: 16px; line-height: 1.4; display: block; }
.anp-fhead p { font-size: 12.5px; color: var(--ink2); white-space: pre-wrap; margin: 6px 0 0; line-height: 1.6; }
.anp-q { background: var(--card); border-radius: 10px; padding: 10px 12px; }
.anp-qt { font-size: 14px; font-weight: 600; }
.anp-req-mark { color: var(--bad); }
.anp-qh { font-size: 12px; color: var(--ink2); margin-top: 3px; }
.anp-sel { margin-top: 8px; border: 1px solid var(--line-soft); border-radius: 6px; padding: 6px 10px; font-size: 13px; color: var(--ink3); display: flex; justify-content: space-between; max-width: 180px; }
.anp-radios { margin-top: 6px; display: grid; gap: 5px; font-size: 13px; }
.anp-radios i { display: inline-block; width: 14px; height: 14px; border: 2px solid var(--ink3); border-radius: 50%; margin-right: 8px; vertical-align: -2px; }
.anp-line { margin-top: 10px; border-bottom: 1px solid var(--line-soft); font-size: 12.5px; color: var(--ink3); padding-bottom: 3px; max-width: 70%; }
.anp-line.para { max-width: 100%; }
.anp-send { justify-self: start; background: #673ab7; color: #fff; border-radius: 6px; padding: 6px 18px; font-size: 13px; font-weight: 700; }
.anp-sheet { display: grid; gap: 10px; }
.anp-sheet p { margin: 0; }
.anp-big { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.anp-big > div { border: 1px solid var(--line-soft); border-radius: 12px; padding: 8px 10px; background: var(--card2); display: grid; }
.anp-big small { font-size: 11.5px; color: var(--ink2); }
.anp-big b { font-size: 24px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.anp-big span { font-size: 11px; color: var(--ink3); }
.anp-big > .bad { background: color-mix(in srgb, var(--bad) 9%, var(--card)); }
.anp-mtable { font-size: 12.5px; }
.anp-mtable th, .anp-mtable td { padding: 4px 6px; text-align: center; white-space: nowrap; }
.anp-mtable td.warn { background: color-mix(in srgb, var(--warn) 16%, transparent); }
.anp-mtable td.bad { background: color-mix(in srgb, var(--bad) 16%, transparent); font-weight: 700; }
.anp-bar { position: relative; width: 70px; height: 16px; border-radius: 4px; background: var(--bg2); overflow: hidden; }
.anp-bar span { position: absolute; inset: 0 auto 0 0; background: color-mix(in srgb, var(--ok) 55%, var(--card)); }
.anp-bar em { position: relative; font-style: normal; font-size: 11px; font-weight: 700; }
/* 図解 */
.anp-flowwrap { overflow-x: auto; margin: 4px 0 10px; }
.anp-flow { width: 100%; min-width: 560px; height: auto; display: block; font-family: var(--font); }
.anp-flow .bx { fill: var(--card2); stroke: var(--line-soft); stroke-width: 1.2; }
.anp-flow .nb { fill: var(--coral); }
.anp-flow .nt { font-size: 13px; font-weight: 900; fill: #fff; }
.anp-flow .tt { font-size: 15px; font-weight: 800; fill: var(--ink); }
.anp-flow .ts { font-size: 12px; fill: var(--ink2); }
.anp-flow .ar { fill: none; stroke: var(--ink3); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.anp-how h3 { font-size: 15px; margin: 0 0 6px; }
.anp-how { gap: 18px; }
#app > .card.anp-card { margin-top: 16px; }
