:root {
  font-family: system-ui, sans-serif;
  color: #2c2227;
  background: #fbf6f7;
  line-height: 1.5;
  --line: #e9d7de;
  --accent: #913e56;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
header { background: white; border-bottom: 1px solid var(--line); padding: 1.1rem clamp(1rem, 5vw, 4rem); }
header a { color: var(--accent); text-decoration: none; font-weight: 750; }
main { max-width: 730px; margin: 0 auto; padding: clamp(2rem, 7vw, 5rem) 1rem; }
h1 { margin: 0; font-size: clamp(2.1rem, 6vw, 3.5rem); line-height: 1.08; letter-spacing: -.052em; }
h2 { margin: 0 0 .7rem; font-size: 1.3rem; }
.intro { margin: .8rem 0 1.6rem; }
section { background: white; border: 1px solid var(--line); border-radius: 16px; padding: clamp(1rem, 4vw, 1.7rem); margin-bottom: 1rem; }
#timer { color: var(--accent); font-size: clamp(2.4rem, 7vw, 3.8rem); font-weight: 700; font-variant-numeric: tabular-nums; }
.settings { display: grid; gap: .4rem; margin: .8rem 0 1.1rem; }
.settings label { display: flex; align-items: baseline; gap: .45rem; }
.actions { display: flex; flex-wrap: wrap; gap: .6rem; }
button, .primary { border: 1px solid var(--line); border-radius: 8px; color: inherit; background: #fbf6f7; cursor: pointer; font: inherit; padding: .58rem .85rem; min-height: 44px; text-decoration: none; display: inline-flex; align-items: center; }
.primary { background: var(--accent); color: white; border-color: var(--accent); }
button:disabled { cursor: default; opacity: .55; }
audio { width: 100%; }
#status { margin-bottom: 0; }
#status[data-error="true"] { color: #852220; }
header { display: flex; justify-content: space-between; gap: 1rem; }
