.quit-panel { color: var(--tx); }
.quit-panel h2 { margin: 8px 0; font-size: 24px; overflow-wrap: anywhere; }
.quit-purpose, .quit-status { color: var(--tx-2); font-size: 14px; line-height: 1.5; }
.quit-status { margin: 16px 0 8px; }
.quit-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 20px 0; margin: 16px 0; border-block: 1px solid var(--line); }
.quit-stats dd { margin: 0; color: var(--tx); font-size: 28px; font-weight: 650; font-variant-numeric: tabular-nums; }
.quit-stats dt { margin-top: 5px; color: var(--tx-2); font-size: 12px; line-height: 1.4; }
.quit-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.quit-day { display: grid; justify-items: center; gap: 8px; color: var(--tx-2); }
.quit-day i { display: grid; place-items: center; width: 100%; aspect-ratio: 1; max-width: 40px; border: 1px solid var(--line); border-radius: 6px; font-style: normal; }
.quit-day svg { width: 18px; height: 18px; }
.quit-day .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.quit-day.done i { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent); }
.quit-day.setback i { border-style: dashed; color: var(--tx-2); }
.quit-actions { display: grid; gap: 10px; padding: 8px 0 20px; }
.quit-actions .btn { min-height: 46px; display: flex; justify-content: center; align-items: center; gap: 10px; padding: 12px; white-space: normal; }
.quit-actions svg { width: 18px; height: 18px; flex-shrink: 0; }
.quit-secondary, .quit-history button { min-height: 44px; color: var(--tx-2); background: none; border: 0; text-decoration: underline; text-underline-offset: 4px; }
.quit-entry { border-block: 1px solid var(--line); padding: 18px 0; }
.quit-entry h3 { margin: 0 0 16px; font-size: 17px; }
.quit-entry-date, .quit-next-step { font-size: 13px; color: var(--tx-2); line-height: 1.5; }
.quit-next-step b { display: block; color: var(--tx); font-weight: 600; }
.quit-entry label span { color: var(--tx-2); font-weight: 400; }
.quit-entry-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quit-history { border-block: 1px solid var(--line); }
.quit-history summary, .quit-tuning summary { padding: 16px 0; font-size: 15px; cursor: pointer; }
.quit-history summary span { float: right; color: var(--tx-2); font-size: 12px; }
.quit-history ol { list-style: none; padding: 0; margin: 0; }
.quit-history li { border-top: 1px solid var(--line); padding: 12px 0; overflow-wrap: anywhere; }
.quit-history li > div { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; }
.quit-history time, .quit-history small { color: var(--tx-2); font-size: 12px; }
.quit-history p { font-size: 14px; line-height: 1.5; }
.quit-privacy, .quit-safety { color: var(--tx-2); font-size: 12px; line-height: 1.5; margin: 16px 0; }
.quit-safety a { color: var(--accent); }
.quit-custom-type { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 13px; }
.quit-custom-type select { flex: 1; min-width: 0; min-height: 44px; padding: 8px; border-radius: 6px; color: var(--tx); background: var(--card); border: 1px solid var(--line); }
.quit-panel button:focus-visible, .quit-panel summary:focus-visible, .quit-tuning summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.quit-panel .btn:disabled { opacity: .5; cursor: not-allowed; }
