*,:before,:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%;font-size:16px}body{color:#1a1a1a;background:#fff;margin:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:1rem;line-height:1.5;overflow-x:hidden}#root{max-width:640px;padding:0 16px env(safe-area-inset-bottom);margin:0 auto}img,svg,video{max-width:100%;height:auto}h1{overflow-wrap:anywhere;margin:16px 0;font-size:1.5rem}p{overflow-wrap:anywhere}.app-header{border-bottom:1px solid #e5e5e5;justify-content:space-between;align-items:center;gap:8px;min-height:56px;display:flex}.brand{color:inherit;font-weight:700;text-decoration:none}button,input,select,textarea{font:inherit;min-height:44px}.tap{align-items:center;min-width:44px;min-height:44px;display:inline-flex}.btn{color:inherit;background:#f4f4f4;border:1px solid #c8c8c8;border-radius:8px;justify-content:center;padding:0 16px;text-decoration:none}.btn-primary{color:#fff;background:#1a1a1a;border-color:#1a1a1a}.btn-danger{color:#b00020;background:#fff;border-color:#b00020}.page-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.section-title{text-transform:uppercase;letter-spacing:.04em;color:#666;margin:24px 0 8px;font-size:.875rem}.cards{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.card{color:inherit;border:1px solid #e5e5e5;border-radius:12px;flex-direction:column;justify-content:center;align-items:flex-start;gap:2px;min-height:64px;padding:12px 16px;text-decoration:none;display:flex}.card-title{overflow-wrap:anywhere;font-weight:600}.field{flex-direction:column;gap:4px;display:flex}.field-error{color:#b00020;font-size:.875rem}.empty{text-align:center;padding:48px 0}button{cursor:pointer;background:#f4f4f4;border:1px solid #c8c8c8;border-radius:8px;padding:0 16px}button:disabled{opacity:.6;cursor:default}input,select,textarea{border:1px solid #c8c8c8;border-radius:8px;width:100%;padding:8px 12px}.stack{flex-direction:column;gap:12px;display:flex}.muted{color:#666}[role=alert]{color:#b00020}h1.tight{margin:16px 0 0}.tabs{gap:8px;margin:12px 0;display:flex}.tabs button{flex:1}.tabs button[aria-selected=true]{color:#fff;background:#1a1a1a;border-color:#1a1a1a}.day-head{z-index:1;background:#fff;border-bottom:1px solid #e5e5e5;justify-content:space-between;align-items:center;margin-top:16px;display:flex;position:sticky;top:0}.day-title{margin:0;font-size:1rem}.day-empty{margin:8px 0}.entry{min-height:56px}.add-item{margin:24px 0;display:flex}.type-grid{grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0;display:grid}.type-btn{flex-direction:column;justify-content:center;align-items:center;gap:4px;min-height:72px;padding:8px 4px;display:flex}.type-btn[aria-checked=true]{background:#e8e8e8;border-color:#1a1a1a;font-weight:600}.type-emoji{font-size:1.5rem}.link-btn{align-self:flex-start;margin:8px 0}fieldset{border:1px solid #e5e5e5;border-radius:8px;min-width:0;margin:0}.field-hint{color:#7a5200;font-size:.875rem}.detail{margin:0}.detail-row{border-bottom:1px solid #f0f0f0;padding:8px 0}.detail-row dt{font-size:.875rem}.detail-row dd{overflow-wrap:anywhere;margin:0}.notes{white-space:pre-wrap}.actions{margin:24px 0}.field-inner{flex-direction:column;gap:4px;display:flex}.commit-issues{background:#fff5f5;border-bottom:1px solid #f0c0c0;padding:8px 16px}.commit-issue{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.commit-issue p{overflow-wrap:anywhere;margin:4px 0}.stack>.btn{width:100%}.auth-banner{color:#b00020;border-bottom:1px solid #e5e5e5;justify-content:space-between;align-items:center;gap:12px;padding:8px 0;display:flex}
