/* アンケートのクロス集計 */
.ks-in { margin: 0 0 12px; }
.ks-in-head, .ks-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ks-in-head .sp, .ks-bar .sp { flex: 1; }
.ks-bar { margin-bottom: 10px; }
.ks-bar .field { margin: 0; }
.ks-in-grid { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 10px; }
@media (max-width: 720px) { .ks-in-grid { grid-template-columns: 1fr; } }
.ks-drop { position: relative; display: flex; align-items: center; gap: 10px; padding: 12px; border: 3px dashed var(--line-soft); border-radius: 14px; background: var(--card2); cursor: pointer; }
.ks-drop:hover { border-color: var(--kyotsu); }
.ks-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.ks-drop .i { width: 28px; height: 28px; color: var(--kyotsu); flex: none; }
.ks-drop span { display: grid; gap: 2px; }
.ks-ta { min-height: 70px; font-size: 13px; }
.ks-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); gap: 12px; }
.ks-q { display: grid; gap: 6px; align-content: start; }
.ks-q-head { display: flex; gap: 8px; align-items: flex-start; justify-content: space-between; }
.ks-q-head h3 { font-size: 15.5px; margin: 0; line-height: 1.45; }
.ks-q-head .badge { flex: none; }
.ks-svg { color: var(--ink); overflow-x: auto; }
.ks-svg svg { max-width: 100%; height: auto; display: block; }
.ks-n { text-align: right !important; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ks-cross-sel { margin-bottom: 8px; }
.ks-ct th { white-space: normal; min-width: 64px; }
.ks-ct td.up { font-weight: 900; }
.ks-ct td.up i { color: var(--blue); font-style: normal; }
.ks-ct td.down i { color: var(--coral); font-style: normal; }
.ks-ct tr.ks-total td, .ks-ct tr.ks-total th { border-top: 2px solid var(--line); font-weight: 800; }
.ks-stack { margin-top: 10px; padding: 10px; border: 2px solid var(--line-soft); border-radius: 12px; background: var(--card); }
.ks-texts { margin: 0; padding-left: 1.6em; display: grid; gap: 6px; }
.ks-texts li { padding: 6px 10px; background: var(--card2); border: 1.5px solid var(--line-soft); border-radius: 10px; line-height: 1.6; }
.ks-texts mark { background: var(--yellow); color: #1d2433; padding: 0 2px; border-radius: 3px; }
.ks-gh { margin: 8px 0 0; font-size: 15px; }
.ks-type { min-height: 34px; padding: 3px 8px; font-size: 13.5px; }
.ks-ex { max-width: 320px; }
