/* UI18: same hand-journal entry as the bookkeeping app; no remote fonts or images. */
:root{color-scheme:light dark;--accent:light-dark(#367257,#9ccbb3);--txt:light-dark(#22392f,#e4eee7);--muted:light-dark(#687b70,#a8b9af);--border:light-dark(#dfe8df,#3d5046);--paper:light-dark(#fff,#25342c);--bg:light-dark(#f8faf6,#1b2821);--soft:light-dark(#edf5ee,#2d4134)}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--txt);font:15px/1.55 -apple-system,BlinkMacSystemFont,'Noto Sans TC','Microsoft JhengHei',sans-serif}.screen{max-width:480px;min-height:100dvh;margin:auto}header{display:flex;align-items:center;gap:12px;padding:24px 20px 18px;background:var(--paper)}.brand-mark{display:grid;place-items:center;width:37px;height:37px;border-radius:12px;background:var(--soft);color:var(--accent);font-size:23px}header small{font-size:10px;letter-spacing:.1em;color:var(--muted);font-weight:700}.logo{font-size:20px;font-weight:750}main{padding:16px}.card{border:1px solid var(--border);border-radius:20px;padding:16px;margin-top:24px;background:var(--paper)}h2{font-size:17px}summary{cursor:pointer;font-weight:650}dl{margin:10px 0}dl div{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--border)}dt,.small{font-size:12px;color:var(--muted)}dd{margin:0;text-align:right;font-size:12px}button{display:block;border:0;border-radius:12px;width:100%;min-height:47px;padding:12px;font:inherit;font-weight:650;cursor:pointer}button.primary{background:var(--accent);color:light-dark(#fff,#183326)}button.secondary{background:var(--soft);color:var(--txt)}button:disabled{opacity:.5;cursor:default}.actions{display:grid;gap:9px;margin:12px 0}button:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.message{padding:12px;border-radius:12px;background:var(--soft);font-size:14px}.message.error{background:light-dark(#fff2e2,#493c29);color:light-dark(#875c23,#edc78d)}.progress-panel{padding:14px;border-radius:14px;background:var(--soft)}.progress-title{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px;font-weight:750}#entry-progress-time{font-size:12px;color:var(--muted);white-space:nowrap;font-variant-numeric:tabular-nums}.progress-track{height:6px;margin-top:12px;border-radius:99px;overflow:hidden;background:color-mix(in srgb,var(--accent) 15%,transparent)}.progress-fill{height:100%;width:0;background:var(--accent);border-radius:99px}.active .progress-fill{animation:entry-wait 8s cubic-bezier(.1,.6,.2,1) forwards}@keyframes entry-wait{from{width:0}to{width:90%}}@media(prefers-reduced-motion:reduce){.active .progress-fill{animation:none;width:35%}}[hidden]{display:none!important}
