* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: system-ui, -apple-system, sans-serif; background: #F7F8FA; min-height: 100vh; color: #2D3748; }
input, textarea, button { font-family: inherit; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-thumb { background: #CBD5E0; border-radius: 3px; }

.input { width:100%; border:1.5px solid #EDF2F7; border-radius:6px; padding:8px 10px; font-size:13.5px; color:#2D3748; outline:none; background:#FAFAFA; }
.btn-primary { background:#9B8FFF; color:#fff; border:none; border-radius:7px; padding:9px 20px; font-weight:700; font-size:13.5px; cursor:pointer; }
.btn-outline { background:#fff; color:#4A5568; border:1.5px solid #CBD5E0; border-radius:7px; padding:8px 16px; font-weight:600; font-size:13px; cursor:pointer; }
.label { font-size:11px; font-weight:700; color:#718096; text-transform:uppercase; letter-spacing:0.8px; margin-bottom:5px; display:block; }

.login-wrap { display:flex; align-items:center; justify-content:center; min-height:100vh; padding:20px; }
.login-card { background:#fff; border-radius:14px; padding:32px 28px; width:100%; max-width:360px; box-shadow:0 20px 60px rgba(0,0,0,.12); }
.login-logo { font-size:22px; font-weight:800; color:#1A202C; margin-bottom:4px; }
.login-logo span { color:#9B8FFF; }
.login-sub { font-size:13px; color:#A0AEC0; margin-bottom:24px; }
.login-error { background:#FDECEA; color:#C0392B; border-radius:6px; padding:8px 12px; font-size:12.5px; margin-bottom:14px; }

.topbar { background:#1A202C; color:#fff; padding:14px 20px 12px; position:sticky; top:0; z-index:50; box-shadow:0 2px 8px rgba(0,0,0,.2); }
.topbar-row { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.brand { font-size:17px; font-weight:800; letter-spacing:-.3px; }
.brand span { color:#9B8FFF; }
.substat { font-size:11px; color:#718096; margin-top:1px; }

.status-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; margin-bottom:16px; }
.status-tile { border-radius:8px; padding:8px 10px; cursor:pointer; display:flex; align-items:center; justify-content:space-between; border:1.5px solid #EDF2F7; background:#fff; }

.card { display:flex; cursor:pointer; background:#fff; border-radius:8px; box-shadow:0 1px 4px rgba(0,0,0,.07); margin-bottom:8px; overflow:hidden; border:1px solid #EAECF0; }
.card-tape { width:5px; flex-shrink:0; }
.card-body { flex:1; padding:11px 14px; min-width:0; }

.modal-overlay { position:fixed; inset:0; background:rgba(10,10,20,.5); display:flex; align-items:center; justify-content:center; z-index:100; padding:12px; }
.modal-box { background:#fff; border-radius:12px; width:100%; max-width:580px; max-height:92vh; overflow:auto; box-shadow:0 20px 60px rgba(0,0,0,.28); }

.status-pill { border-radius:20px; font-weight:700; font-size:12px; padding:3px 10px; display:inline-block; }
.status-pill.small { font-size:11px; padding:2px 8px; }

.step-row { border-radius:8px; margin-bottom:6px; overflow:hidden; border:1.5px solid #E8E4FF; background:#fff; }
.step-row.done { background:#FAFAFA; border-color:#EDF2F7; }
.step-main { display:flex; align-items:center; gap:8px; padding:9px 10px; }
.step-check { width:22px; height:22px; border-radius:6px; border:2px solid #CBD5E0; background:transparent; cursor:pointer; flex-shrink:0; display:flex; align-items:center; justify-content:center; color:#fff; font-size:13px; font-weight:900; }
.step-check.done { background:#9B8FFF; border-color:#9B8FFF; }

.photo-thumb { width:56px; height:56px; border-radius:6px; object-fit:cover; border:1px solid #EDF2F7; cursor:pointer; }
.photo-strip { display:flex; gap:6px; flex-wrap:wrap; margin-top:6px; }

.idea-row { display:flex; align-items:center; gap:8px; background:#F8F6FF; border-radius:6px; padding:6px 10px; }

.toast { position:fixed; bottom:20px; left:50%; transform:translateX(-50%); background:#1A202C; color:#fff; padding:10px 18px; border-radius:8px; font-size:13px; z-index:300; box-shadow:0 8px 24px rgba(0,0,0,.3); }
