:root { color-scheme: light; font: 16px/1.45 system-ui, sans-serif; color: #20332d; background: #f4f2e9; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
main { max-width: 600px; margin: auto; padding: 32px; }
#first-use-intro { margin-bottom: 24px; color: #53645e; }
#first-use-intro p { margin: 0 0 10px; }
h1 { margin: 0 0 22px; font-size: 32px; line-height: 1.2; }
label { display: block; margin: 16px 0 6px; font-weight: 700; }
input:not([type="checkbox"]), textarea {
  width: 100%; padding: 11px 12px; border: 1px solid #92a69b; border-radius: 8px;
  background: #fff; color: #20332d; font: inherit;
}
textarea { resize: vertical; }
button {
  border: 1px solid #7a988a; border-radius: 8px; padding: 10px 14px;
  color: #244035; background: #fff; font: inherit; font-weight: 700; cursor: pointer;
}
button:hover { background: #e8f0e9; }
button:disabled { opacity: .55; cursor: wait; }
button.primary { background: #235c45; border-color: #235c45; color: #fff; }
button.primary:hover { background: #194934; }
button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible,
.assignment-row:focus-visible {
  outline: 3px solid #497d61; outline-offset: 3px;
}
#prepare-submit { margin-top: 20px; }
details { margin-top: 18px; }
summary { color: #245b45; cursor: pointer; font-weight: 700; }
details > label { margin-top: 10px; }
#ai-option { padding-top: 14px; border-top: 1px solid #d4dfd7; }
#prepare.browser-demo #ai-option { margin-top: 0; padding-top: 0; border-top: 0; }
#prepare.browser-demo #ai-option > summary { font-size: 20px; }
#manual-option { padding-top: 14px; border-top: 1px solid #d4dfd7; }
#ai-option button { margin-top: 12px; }
.source-actions { display: flex; flex-wrap: wrap; gap: 10px; }
#ai-option p { margin: 14px 0 0; font-size: 13px; color: #53645e; }
.checkbox { display: flex; align-items: center; gap: 8px; font-weight: 400; }
.checkbox input { width: auto; }
.link { padding: 0; border: 0; background: transparent; color: #245b45; text-decoration: underline; }
#selection { display: block; margin-top: 10px; }
#preview { display: block; max-width: 100%; max-height: 180px; margin-top: 10px; border-radius: 7px; }
.error { padding: 10px 12px; border-radius: 8px; color: #912f25; background: #fff0ed; }
.countdown { margin: 18vh 0 28px; font-size: clamp(48px, 9vw, 72px); font-weight: 800; font-variant-numeric: tabular-nums; }
#browser-tab-note { color: #53645e; }
.card { margin: 0 0 22px; padding: 23px; border-radius: 10px; background: #fff; box-shadow: 0 6px 24px rgb(35 60 42 / 9%); }
.card h2 { margin: 0 0 8px; font-size: 16px; }
.card p { margin: 0; white-space: pre-wrap; }
.next-step { font-size: 24px; font-weight: 650; line-height: 1.35; }
#return-done { margin-top: 20px; color: #53645e; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.card-list { display: grid; gap: 8px; }
#confirmed-status { color: #235c45; font-weight: 700; }
#plan-next-break { margin: 0 0 18px; }
.assignment-row { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid #ccd9cf; border-radius: 9px; background: #fff; }
.assignment-open { display: block; flex: 1; min-width: 0; padding: 0; border: 0; background: transparent; text-align: left; }
.assignment-open:hover { background: transparent; }
.assignment-name { display: block; font-weight: 750; overflow-wrap: anywhere; }
.assignment-next { display: block; color: #53645e; font-size: 14px; overflow-wrap: anywhere; }
.assignment-next.confirmed { color: #718078; }
.current-label { margin-left: 6px; color: #245b45; font-size: 12px; font-weight: 700; }
.remove { padding: 5px 9px; font-size: 12px; }
@media (max-width: 520px) { main { padding: 22px 18px; } }
