:root{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif;color:#172318;background:#f5f7f2}*{box-sizing:border-box}body{margin:0}main{max-width:520px;margin:auto;padding:18px}header{display:flex;align-items:center;justify-content:space-between;padding:8px 0 15px}h1{font-size:27px;margin:0}h2{font-size:19px}#state{color:#557258;font-size:13px}nav{display:flex;gap:8px;margin:7px 0 20px}button{border:0;background:#e5ecdf;color:#1a2b1b;border-radius:10px;padding:11px 14px;font:inherit;min-height:44px}button.active,#captureButton,.save{background:#26452b;color:white}input,textarea,select{width:100%;border:1px solid #bac8b9;background:white;border-radius:10px;padding:12px;font:inherit;font-size:16px}#login input{margin-bottom:10px}#capture{padding:17px;background:white;border-radius:17px;margin-bottom:19px}#capture label{display:block;font-weight:600;margin-bottom:9px}#captureButton{margin-top:10px;width:100%}.entry{background:white;border-radius:15px;padding:16px;margin-bottom:10px}.entry h3{font-size:17px;margin:0 0 8px}.entry p{margin:5px 0;color:#526553;font-size:14px}.entry .meta{font-size:12px;color:#718070}.entry .actions{display:flex;gap:8px;margin-top:12px}.entry .actions button{flex:1}.editor{display:grid;gap:10px;margin-top:12px}.editor label{font-size:12px;color:#526553}.empty{text-align:center;color:#637263;margin-top:45px}#message{color:#7c342d;min-height:1.3em}@media(prefers-color-scheme:dark){:root{background:#141c15;color:#edf4e9}#capture,.entry{background:#233027}button{background:#344637;color:#e8f1e6}button.active,#captureButton,.save{background:#b8d8b5;color:#142315}input,textarea,select{background:#1b281e;color:#eaf1e9;border-color:#506551}.entry p{color:#b5cbb5}}
nav button{flex:1;padding-left:5px;padding-right:5px;white-space:nowrap}
#device{background:white;border-radius:17px;padding:17px}
#device p{line-height:1.55;color:#526553}
#device label{display:block;font-weight:600;margin-top:16px}
#device input{margin-top:7px}
#device button{margin-top:8px;margin-right:6px}
#device .hint{font-size:13px}
@media(prefers-color-scheme:dark){#device{background:#233027}#device p{color:#b5cbb5}}
/* High-contrast companion layout, with reading sizes chosen for a phone. */
:root{color-scheme:light;background:#f1f1ed;color:#111;font-size:17px}
main{max-width:560px;padding:18px}
header{background:#111;color:#fff;border-radius:18px;padding:20px 22px;margin-bottom:18px;align-items:flex-start}
h1{font-size:30px;line-height:1.2}
h2{font-size:23px}
#state{color:#eee;font-size:16px;max-width:130px;text-align:right}
nav{gap:7px;margin:0 0 18px}
button{font-size:17px;font-weight:600;background:#fff;color:#111;border:2px solid #111;border-radius:11px;min-height:48px}
button.active,#captureButton,.save{background:#111;color:#fff}
input,textarea,select{border:2px solid #111;color:#111;background:#fff}
#login,#capture,.entry,#device{background:#fff;border:2px solid #111;border-radius:18px;padding:18px}
#login{margin-bottom:16px}
#capture{margin-bottom:16px}
#capture label,#device label{font-size:18px}
#device p,.entry p{font-size:17px;line-height:1.55;color:#333}
.entry h3{font-size:22px;line-height:1.3}
.entry .meta,.editor label,#device .hint{font-size:16px;color:#444}
.entry .actions{margin-top:16px}
.entry .actions button{font-size:16px}
.empty{font-size:18px;color:#555}
#message{font-size:16px}
[hidden]{display:none!important}
