:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #172238; background: #fff; font-size: 16px; }
* { box-sizing: border-box; }
body { margin: 0; }
button, textarea { font: inherit; }
button { border: 1px solid #174bbd; border-radius: 6px; background: #174bbd; color: #fff; padding: .65rem .95rem; cursor: pointer; font-weight: 600; }
button:hover { background: #10398f; }
button:disabled { opacity: .55; cursor: wait; }
button:focus-visible, a:focus-visible, textarea:focus-visible { outline: 3px solid #84adff; outline-offset: 3px; }
.secondary { background: #fff; color: #174bbd; border-color: #c5d4ed; }
.secondary:hover { background: #eff5ff; }
.page-header, main, footer { width: min(100% - 3rem, 880px); margin-inline: auto; }
.page-header { display: flex; align-items: center; justify-content: space-between; min-height: 88px; border-bottom: 1px solid #e2e8f0; gap: 1rem; }
.wordmark { font-size: 1.45rem; font-weight: 750; color: #174bbd; text-decoration: none; }
.version { font-size: .875rem; color: #50617b; text-align: right; }
.intro { padding: 3rem 0 2rem; max-width: 690px; }
.eyebrow { font-size: .875rem; font-weight: 650; color: #174bbd; margin: 0 0 .9rem; }
h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); line-height: 1.15; margin: 0 0 1.15rem; }
p { line-height: 1.6; }
.intro > p:not(.eyebrow) { color: #42526c; }
.notice { border-left: 3px solid #84adff; padding: .3rem 0 .3rem 1rem; font-size: .925rem; }
.workspace { padding-bottom: 2rem; }
.section-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.25rem; }
h2 { font-size: 1.3rem; margin: 0; }
#note-count { font-weight: 400; font-size: 1rem; color: #63728a; }
label { display: block; font-weight: 600; margin-bottom: .5rem; }
textarea { width: 100%; resize: vertical; min-height: 96px; border: 1px solid #b9c7db; border-radius: 6px; padding: .8rem; color: #172238; background: #fff; line-height: 1.5; }
textarea::placeholder { color: #64748b; }
.form-actions { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: .65rem; }
.hint, .note-time { color: #63728a; font-size: .85rem; }
.status { min-height: 1.6em; color: #42526c; font-size: .925rem; margin: 1rem 0 .5rem; }
.status.error { color: #a01f2c; }
.notes { list-style: none; padding: 0; margin: 0; border-top: 1px solid #e2e8f0; }
.note { padding: 1rem 0; border-bottom: 1px solid #e2e8f0; }
.note-text { white-space: pre-wrap; overflow-wrap: anywhere; margin: 0 0 .75rem; }
.note-bottom, .note-actions { display: flex; align-items: center; gap: .6rem; }
.note-bottom { justify-content: space-between; flex-wrap: wrap; }
.note-actions button { padding: .4rem .65rem; font-size: .875rem; }
.delete { color: #9d2733; border-color: #e1bac0; }
.editing { margin-bottom: .75rem; }
footer { color: #63728a; border-top: 1px solid #e2e8f0; padding: 1.25rem 0 2rem; font-size: .85rem; }
@media (max-width: 520px) { .page-header, main, footer { width: calc(100% - 2rem); } .page-header { min-height: 72px; } .intro { padding-top: 2rem; } .form-actions { align-items: flex-start; flex-direction: column; } .form-actions button { width: 100%; } .section-heading { align-items: flex-start; } }
