:root { color-scheme: light; --fg:#1a1a1a; --mut:#666; --line:#ddd; }
* { box-sizing: border-box; }
body { font-family: system-ui, sans-serif; color: var(--fg); margin: 0; padding: 16px; background: #fafafa; }
main { max-width: 640px; margin: 0 auto; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
button { padding: 10px 18px; border-radius: 8px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 1rem; }
button:disabled { opacity: .45; cursor: not-allowed; }
button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #2563eb; outline-offset: 2px; }
.nav { display: flex; justify-content: space-between; margin-top: 20px; }
.err { color: #7f1d1d; }
.hint { color: var(--mut); font-size: .9rem; }
.opts { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.opts label { border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; cursor: pointer; }
.opts input { margin-right: 8px; }
input[type=number], input[type=text], select, textarea { font-size: 1rem; padding: 10px; border-radius: 8px; border: 1px solid var(--line); width: 100%; }
#confirm-modal { position: fixed; inset: 0; background: rgba(0,0,0,.35); display: flex; align-items: center; justify-content: center; }
#confirm-modal[hidden] { display: none; }
.modal-box { background: #fff; border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 12px; min-width: 280px; }
/* neutral prompt: no warning colors/icons, fixed button order Keep then Change */
/* debrief deletion: visually separated right, not a flow step — link-styled, never a primary button */
.danger-zone { margin-top: 8px; }
.danger-zone h2 { font-size: 1rem; margin: 0 0 4px; }
.danger-zone p { color: var(--mut); font-size: .9rem; margin: 0 0 12px; }
.danger-zone #del-msg { margin: 8px 0 0; }
.btn-danger { background: none; border: none; padding: 4px 0; color: #b91c1c; font-size: .9rem; text-decoration: underline; }
.btn-danger:disabled { color: var(--mut); text-decoration: none; cursor: default; }
@media (max-width: 480px) { body { padding: 8px; } .card { padding: 16px; } }
