/* Original layout is retained; only interaction sizing and theme support are added. */
button,.btn,.filebtn{min-height:44px}button.small{min-height:44px;min-width:44px}.row{flex-wrap:wrap}.row.spread{flex-wrap:nowrap}.entry .grow{overflow-wrap:anywhere}.prewrap{white-space:pre-wrap;overflow-wrap:anywhere}.check{min-width:28px;width:28px;height:28px}.photo-open{padding:0;width:100%;background:none}.photo{display:block}.work-dialog{border:1px solid #ccd6e3;border-radius:14px;padding:20px;width:min(90vw,440px);max-height:85vh;overflow:auto;color:inherit;background:#fff}.work-dialog::backdrop{background:#101c2e99}#globalSyncStatus{padding:7px 16px;font-size:12px;min-height:32px;max-width:720px;margin:auto;overflow-wrap:anywhere}.preview-banner{background:#fff0c2;color:#594200;padding:8px 16px;font-size:12px;text-align:center}input,select,textarea{font-size:16px}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #5398ed;outline-offset:2px}button:disabled{opacity:.55;cursor:default}.photos img{aspect-ratio:1}html[data-theme=dark]{color:#e2eaf6;background:#101824}html[data-theme=dark] .card,html[data-theme=dark] .tabs,html[data-theme=dark] .work-dialog{background:#1b293b;border-color:#35455c}html[data-theme=dark] button,html[data-theme=dark] .filebtn{background:#2d4058;color:#e2eaf6}html[data-theme=dark] button.primary{background:#2875db;color:white}html[data-theme=dark] input,html[data-theme=dark] select,html[data-theme=dark] textarea{background:#142135;border-color:#53647b;color:#e2eaf6}html[data-theme=dark] .muted,html[data-theme=dark] label{color:#b6c5d9}html[data-theme=dark] .pill{background:#2b405c}html[data-theme=dark] .entry{border-color:#35455c}
@media(prefers-color-scheme:dark){html[data-theme=system]{color:#e2eaf6;background:#101824}html[data-theme=system] .card,html[data-theme=system] .tabs,html[data-theme=system] .work-dialog{background:#1b293b;border-color:#35455c}html[data-theme=system] button,html[data-theme=system] .filebtn{background:#2d4058;color:#e2eaf6}html[data-theme=system] button.primary{background:#2875db;color:white}html[data-theme=system] input,html[data-theme=system] select,html[data-theme=system] textarea{background:#142135;border-color:#53647b;color:#e2eaf6}html[data-theme=system] .muted,html[data-theme=system] label{color:#b6c5d9}html[data-theme=system] .pill{background:#2b405c}}
