:root { color-scheme: dark; }
* { box-sizing: border-box; }
body {
  margin: 0; min-height: 100vh; display: grid; place-items: center;
  font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  background: radial-gradient(1200px 600px at 50% -10%, #1b2233, #0c0e15);
  color: #e7ecf5;
}
.card {
  width: 420px; max-width: 92vw; padding: 28px;
  background: #141824; border: 1px solid #232a3b; border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
}
h1 { margin: 0 0 2px; font-size: 22px; letter-spacing: -.01em; }
.sub { margin: 0 0 20px; color: #9aa6bd; }
.row { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.row label { display: flex; gap: 10px; align-items: center; color: #c7d0e0; cursor: pointer; }
.actions { display: flex; align-items: center; gap: 14px; }
button {
  appearance: none; border: 1px solid #2c3650; background: #1b2233; color: #e7ecf5;
  padding: 10px 16px; border-radius: 10px; font-weight: 600; cursor: pointer;
}
button.primary { background: linear-gradient(180deg, #4f7cff, #3a63e0); border-color: #4f7cff; }
button:active { transform: translateY(1px); }
.status { color: #8b97ae; font-variant-numeric: tabular-nums; }
.status.done { color: #54e6a0; }
.dialog {
  position: fixed; inset: 0; display: grid; place-items: center;
  background: rgba(6,8,14,.6); backdrop-filter: blur(2px);
}
.dialog.hidden { display: none; }
.dialog-body {
  width: 360px; max-width: 90vw; padding: 24px;
  background: #161b29; border: 1px solid #2a3450; border-radius: 14px;
}
.dialog-body h2 { margin: 0 0 8px; font-size: 18px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
code { background: #0e1320; padding: 2px 6px; border-radius: 6px; color: #9ec1ff; }
