:root{--accent:#0f766e;--bg:#f7f5f0;--ink:#1c1917;--muted:#78716c;font-family:system-ui,sans-serif}
body{margin:0;background:var(--bg);color:var(--ink)}
main{max-width:520px;margin:auto;padding:20px}
header h1{margin:0;color:var(--accent)}header p{margin:4px 0 16px;color:var(--muted)}
.summary{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:16px}
.card{background:#fff;border-radius:14px;padding:12px;box-shadow:0 1px 3px #0001}.card small{color:var(--muted)}.card b{display:block;font-size:1.2em}
.card.full{grid-column:1/-1}
.capture{background:#fff;border-radius:18px;padding:18px;text-align:center;box-shadow:0 1px 3px #0001}
.mic{font-size:42px;width:96px;height:96px;border-radius:50%;border:0;background:var(--accent);color:#fff;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}
.mic svg{width:48px;height:48px}
.mic[data-state=listening]{animation:pulse 1s infinite}@keyframes pulse{50%{transform:scale(1.08)}}
form{display:flex;gap:8px;margin-top:14px}input{flex:1;padding:10px;border:1px solid #d6d3d1;border-radius:10px;font-size:16px}
button{padding:10px 14px;border:0;border-radius:10px;background:var(--accent);color:#fff;font-size:15px;cursor:pointer}
button.ghost{background:transparent;color:var(--muted)}
.hint{color:var(--muted);font-size:14px}.preview{background:#f0fdfa;border-radius:12px;padding:10px;margin-top:10px}
.list{list-style:none;padding:0}.list li{display:flex;align-items:center;gap:8px;background:#fff;margin:6px 0;padding:10px;border-radius:12px}
.what{flex:1}.sign.pos{color:#15803d}.sign.neg{color:#b91c1c}.empty{color:var(--muted);justify-content:center}
.tools{display:flex;justify-content:space-between}
.progress{height:8px;background:#e7e5e4;border-radius:4px;margin:6px 0;overflow:hidden}.progress .bar{height:100%;background:var(--accent);transition:width 0.3s}
.weekly{display:flex;gap:4px;height:80px;margin-top:8px;align-items:flex-end}
.day-bar{flex:1;display:flex;flex-direction:column;align-items:center;gap:4px;position:relative;height:80px;justify-content:flex-end}
.day-bar .bar{width:100%;background:var(--accent);border-radius:3px 3px 0 0;transition:height 0.3s}
.day-bar .bar.neg{background:#dc2626}
.day-bar .amt{font-size:10px;font-weight:600;color:var(--ink);position:absolute;top:-16px}
.day-bar small{font-size:11px;color:var(--muted)}
.footer{text-align:center;padding:20px;margin-top:20px}.footer a{color:var(--muted);text-decoration:none}
