:root { color-scheme: light; font-family: Inter, ui-sans-serif, system-ui, sans-serif; color: #302d28; background: #f0ede6; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; line-height: 1.6; }
main { width: min(880px, calc(100% - 32px)); margin: 20px auto; padding-bottom: 40px; }
header { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid #cec7ba; padding: 12px 0; }
h1 { margin: 0; color: #3b3d3a; font: 500 clamp(2rem, 4.8vw, 2.5rem)/0.9 "Snell Roundhand", "Segoe Script", "Apple Chancery", "URW Chancery L", Z003, "Brush Script MT", cursive; letter-spacing: .01em; text-shadow: 0 1px 0 rgba(255,255,255,.45), 0 1px 2px rgba(40,40,38,.12); }
h2 { font-size: 1.2rem; }
a { color: #315b4c; }
label { display: block; margin: 12px 0; }
input, select { display: block; width: 100%; min-height: 44px; padding: 9px; font: inherit; background: #f8f6f0; border: 1px solid #cec7ba; border-radius: 5px; }
.check { display: flex; align-items: start; gap: 10px; }
.check input { width: 20px; min-height: 20px; flex: 0 0 20px; margin-top: 4px; }
button { min-height: 44px; padding: 8px 14px; border: 1px solid #a6b5aa; border-radius: 6px; font: inherit; color: #244a3d; background: #e1ebe5; cursor: pointer; }
button:disabled { opacity: .6; cursor: wait; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
#offline-status { padding: 10px 0; }
#offline-status.is-error { color: #9f3838; }
article { margin: 16px 0; padding: 16px; background: #f8f6f0; border: 1px solid #d7d0c4; border-radius: 6px; overflow-wrap: anywhere; }
article h3 { margin: 0 0 8px; }
.note-meta { font-size: .8rem; color: #6f6a61; }
.note-body { white-space: pre-wrap; }
@media (max-width: 560px) { h1 { font-size: clamp(2rem, 9vw, 2.15rem); } }
