:root { color-scheme: light; font-family: "DM Sans", system-ui, sans-serif; color: #17352e; background: #f3f6f3; }
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
.shell { width: min(1040px, 100% - 40px); margin-inline: auto; }
header { display: flex; align-items: center; justify-content: space-between; min-height: 82px; gap: 12px; }
.brand { color: inherit; text-decoration: none; font-size: 1.2rem; font-weight: 800; letter-spacing: -.04em; display: flex; align-items: center; gap: 10px; }
.brand img { border-radius: 10px; }
button, input { font: inherit; }
button { cursor: pointer; }
button { border-radius: 9px; min-height: 42px; padding: 9px 14px; }
.primary { background: #173e33; color: #fff; border: 1px solid #173e33; font-weight: 700; }
.primary:hover { background: #245744; }
.quiet { background: transparent; color: #345a4b; border: 1px solid #c0d0c6; }
:focus-visible { outline: 3px solid #7d9c25; outline-offset: 3px; }
.intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 22px; padding: 42px 0 32px; }
h1 { font-size: clamp(2.8rem, 7vw, 4.7rem); line-height: .98; letter-spacing: -.075em; margin: 0; font-weight: 790; }
h1 em { font-family: Georgia, serif; font-weight: 400; color: #47764c; }
.intro p { color: #496254; margin: 19px 0 0; }
#status { font-size: .9rem; color: #355a43; }
#status:empty { display: none; }
#status.error { color: #a62d2d; }
.cards { display: grid; grid-template-columns: repeat(auto-fill,minmax(min(100%, 285px),1fr)); gap: 17px; }
.card { padding: 22px; border-radius: 17px; background: white; border: 1px solid #d7e2d8; }
.card-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.card h2 { font-size: 1.1rem; margin: 3px 0 0; overflow-wrap: anywhere; }
.edit { border: 0; background: #f0f5ef; color: #496254; font-size: .875rem; padding: 4px 9px; min-height: 34px; }
.elapsed { font-size: 3.4rem; font-weight: 740; letter-spacing: -.065em; margin: 20px 0 0; line-height: 1; }
.elapsed span { font-size: 1rem; letter-spacing: 0; font-weight: 450; }
.last { color: #51665a; font-size: .875rem; margin: 8px 0; }
.target { min-height: 23px; color: #466c40; font-size: .875rem; margin: 13px 0 17px; }
.overdue { color: #a24521; }
.done { width: 100%; background: #e7efdd; border: 1px solid #d0debe; font-weight: 700; color: #254931; }
.done:hover { background: #d9e7cb; }
.empty { text-align: center; border: 1px dashed #bbcebd; border-radius: 20px; padding: 45px 20px; margin-top: 5px; }
.empty-icon { display: inline-block; font-size: 2.5rem; color: #668052; }
.empty h2 { font-size: 1.3rem; margin: 12px 0; letter-spacing: -.03em; }
.empty p { color: #51665a; margin: 0 0 22px; }
.suggestions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.suggestions button { color: #365539; background: #e9f0e4; border: 1px solid #ccd9c3; font-size: .875rem; }
footer { color: #51665a; padding: 27px 0; font-size: .875rem; }
dialog { color: inherit; background: white; border: 1px solid #c6d7c6; border-radius: 17px; padding: 25px; width: min(100% - 32px, 450px); }
dialog::backdrop { background: #102d2880; }
.dialog-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
h2 { margin: 0; }
.dialog-top h2 { font-size: 1.3rem; }
label { display: block; font-size: .9rem; font-weight: 700; margin: 16px 0 6px; }
label span { color: #617465; font-weight: 400; }
input { width: 100%; min-width: 0; padding: 10px; min-height: 45px; border: 1px solid #b5c9b8; border-radius: 8px; color: inherit; background: #fff; }
.interval { display: flex; align-items: center; gap: 10px; }
.interval input { width: 110px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 25px; }
.danger { color: #a62d2d; border: 1px solid #e2bbbb; background: white; margin-right: auto; }
#install-help p { line-height: 1.5; color: #496254; }
@media(max-width: 550px) { .intro { align-items: flex-start; flex-direction: column; padding-top: 25px; } .intro > .primary { width: 100%; } }
