/* アプリのアイコンに合わせた色（クリーム・紺・青・黄） */
:root { --cream: #FAF4E3; --card: #FFFAF0; --navy: #1E3A63; --blue: #6EAEEA; --yellow: #F6BE45; --red: #B3261E; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--cream); color: var(--navy); font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", sans-serif; }
main { max-width: 480px; margin: 0 auto; padding: calc(24px + env(safe-area-inset-top)) 20px calc(32px + env(safe-area-inset-bottom)); }
h1 { font-size: 1.5rem; margin: 0 0 20px; }
.lead { font-size: 1.05rem; line-height: 1.7; }
.note { font-size: 0.9rem; line-height: 1.6; color: #3c5478; }
.card { background: var(--card); border: 1px solid #e8dcc0; border-radius: 14px; padding: 14px 16px; margin: 14px 0; }
.row { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.row.small { font-size: 0.8rem; color: #5b6f8f; }
.label { color: #5b6f8f; }
.value { font-weight: 600; text-align: right; }
.big { display: block; width: 100%; font-size: 1.4rem; font-weight: 700; padding: 22px; border-radius: 16px; border: 0; background: var(--navy); color: #fff; margin: 18px 0 0; }
.big:disabled { background: #9aa7bb; }
.big.stop { background: var(--red); }
.meter { height: 12px; background: #eadfc6; border-radius: 6px; overflow: hidden; margin: 10px 0 6px; }
.meter div { height: 100%; width: 0; background: var(--blue); transition: width 0.15s linear; }
.message { min-height: 1.5em; font-size: 0.95rem; line-height: 1.6; }
details { margin-top: 28px; }
summary { cursor: pointer; font-weight: 600; }
.link { background: none; border: 0; color: var(--red); text-decoration: underline; font-size: 0.95rem; padding: 8px 0; }
