:root{--bg:#0e1116;--surface:#171b22;--surface-2:#1f242d;--surface-3:#2a303b;--border:#2c3341;--text:#eef1f6;--text-dim:#9aa4b2;--text-faint:#6b7482;--accent:#4f8cff;--accent-soft:#1b2a44;--green:#37c98b;--green-soft:#123027;--amber:#f2b23b;--red:#ff5d5d;--radius:16px;--radius-sm:10px;--nav-h:64px;--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box;margin:0;padding:0}html,body,#root{height:100%}body{background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;overscroll-behavior-y:none;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}input,select,textarea{-webkit-appearance:none}.app{background:var(--bg);flex-direction:column;max-width:560px;min-height:100%;margin:0 auto;display:flex}.header{z-index:20;padding:calc(var(--safe-top) + 10px) 16px 10px;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--border);background:#0e1116d9;justify-content:space-between;align-items:center;gap:12px;display:flex;position:sticky;top:0}.header h1{letter-spacing:-.2px;font-size:18px;font-weight:700}.header .sub{color:var(--text-dim);font-size:12px;font-weight:500}.content{padding:16px 16px calc(var(--nav-h) + var(--safe-bottom) + 24px);flex:1;width:100%}.nav{z-index:30;height:calc(var(--nav-h) + var(--safe-bottom));padding-bottom:var(--safe-bottom);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-top:1px solid var(--border);background:#14181eeb;max-width:560px;margin:0 auto;display:flex;position:fixed;bottom:0;left:0;right:0}.nav a{color:var(--text-faint);flex-direction:column;flex:1;justify-content:center;align-items:center;gap:3px;font-size:11px;font-weight:600;display:flex}.nav a.active{color:var(--accent)}.nav a svg{width:24px;height:24px}.profile-switch{background:var(--surface-2);border-radius:999px;gap:6px;padding:4px;display:flex}.profile-switch button{color:var(--text-dim);background:0 0;border:none;border-radius:999px;align-items:center;gap:7px;padding:7px 14px;font-size:13px;font-weight:700;transition:background .15s;display:flex}.profile-switch button.active{color:#fff}.dot{border-radius:50%;flex:none;width:9px;height:9px}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:16px}.card+.card{margin-top:12px}.section-title{color:var(--text-dim);text-transform:uppercase;letter-spacing:.6px;margin:24px 4px 10px;font-size:13px;font-weight:700}.section-title:first-child{margin-top:4px}.btn{border:1px solid var(--border);background:var(--surface-2);color:var(--text);border-radius:var(--radius-sm);justify-content:center;align-items:center;gap:8px;padding:13px 16px;font-size:15px;font-weight:700;transition:transform 50ms,background .15s;display:inline-flex}.btn:active{transform:scale(.97)}.btn.primary{background:var(--accent);border-color:var(--accent);color:#fff}.btn.green{background:var(--green);border-color:var(--green);color:#05221a}.btn.ghost{background:0 0}.btn.danger{color:var(--red);background:0 0;border-color:#0000}.btn.block{width:100%}.btn.sm{border-radius:9px;padding:9px 12px;font-size:13px}.btn:disabled{opacity:.4}.fab{right:16px;bottom:calc(var(--nav-h) + var(--safe-bottom) + 16px);z-index:25;background:var(--accent);color:#fff;border:none;border-radius:50%;justify-content:center;align-items:center;width:56px;height:56px;display:flex;position:fixed;box-shadow:0 8px 24px #4f8cff66}.fab svg{width:28px;height:28px}.row{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);align-items:center;gap:12px;padding:14px 16px;display:flex}.row+.row{margin-top:8px}.row .grow{flex:1;min-width:0}.row .title{font-size:15px;font-weight:700}.row .meta{color:var(--text-dim);margin-top:2px;font-size:12.5px}.chev{color:var(--text-faint);flex:none}.pill{background:var(--surface-3);color:var(--text-dim);border-radius:999px;padding:3px 9px;font-size:11px;font-weight:700;display:inline-block}.pill.accent{background:var(--accent-soft);color:#9ec2ff}.pill.green{background:var(--green-soft);color:var(--green)}.field{margin-bottom:14px}.field label{color:var(--text-dim);text-transform:uppercase;letter-spacing:.4px;margin-bottom:6px;font-size:12px;font-weight:700;display:block}.input,select.input,textarea.input{background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius-sm);width:100%;color:var(--text);padding:13px 14px;font-size:16px}.input:focus,select.input:focus,textarea.input:focus{border-color:var(--accent);outline:none}textarea.input{resize:vertical;min-height:84px;font-family:inherit;line-height:1.45}select.input{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%239aa4b2' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-position:right 14px center;background-repeat:no-repeat;padding-right:40px}.segmented{flex-wrap:wrap;gap:6px;display:flex}.segmented button{border:1px solid var(--border);background:var(--surface-2);color:var(--text-dim);border-radius:999px;padding:10px 14px;font-size:14px;font-weight:700}.segmented button.active{background:var(--accent);border-color:var(--accent);color:#fff}.dual-field{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;display:grid}.stepper{align-items:stretch;gap:0;min-width:0;display:flex}.stepper button{background:var(--surface-3);border:1px solid var(--border);width:46px;color:var(--text);flex:none;justify-content:center;align-items:center;font-size:22px;font-weight:600;display:flex}.stepper button:first-child{border-radius:var(--radius-sm) 0 0 var(--radius-sm)}.stepper button:last-child{border-radius:0 var(--radius-sm) var(--radius-sm) 0}.stepper input{text-align:center;background:var(--surface-2);border:1px solid var(--border);width:0;color:var(--text);border-left:none;border-right:none;flex:1 1 0;min-width:0;padding:12px 4px;font-size:22px;font-weight:800}.empty{text-align:center;color:var(--text-dim);padding:48px 24px}.empty .big{margin-bottom:12px;font-size:40px}.empty p{margin-bottom:20px;font-size:14px;line-height:1.5}.muted{color:var(--text-dim)}.small{font-size:12.5px}.stack>*+*{margin-top:12px}.spread{justify-content:space-between;align-items:center;gap:12px;display:flex}.link{color:var(--accent);font-weight:700}.last-time{color:var(--text-dim);align-items:center;gap:8px;margin-top:4px;font-size:13px;display:flex}.last-time b{color:var(--text);font-weight:700}.set-line{border-bottom:1px solid var(--border);align-items:center;gap:10px;padding:10px 0;font-size:15px;display:flex}.set-line:last-child{border-bottom:none}.set-num{background:var(--surface-3);width:26px;height:26px;color:var(--text-dim);border-radius:50%;flex:none;justify-content:center;align-items:center;font-size:12px;font-weight:800;display:flex}.backdrop{z-index:50;background:#0009;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet{background:var(--surface);border-top:1px solid var(--border);width:100%;max-width:560px;padding:8px 16px calc(24px + var(--safe-bottom));border-radius:20px 20px 0 0;max-height:88vh;overflow-y:auto}.sheet-grab{background:var(--surface-3);border-radius:2px;width:40px;height:4px;margin:8px auto 16px}.sheet h2{margin-bottom:16px;font-size:18px}.drag-handle{color:var(--text-faint);touch-action:none;cursor:grab;padding:4px}.progress-bar{background:var(--surface-3);border-radius:4px;height:8px;overflow:hidden}.progress-bar>div{background:var(--green);border-radius:4px;height:100%}@keyframes pulse{0%,to{opacity:1}50%{opacity:.35}}
