/* The client area: /start (a new project), /p (a client's private page) and
   /admin (Steven's page). Built on styles.css (2026-11-09). */
.portal { max-width:760px; margin:0 auto; padding:56px 24px 120px; }
.portal h1 { font-size:clamp(34px, 5vw, 52px); line-height:1.02; max-width:none; margin:0 0 12px; }
.portal .sub { color:var(--soft); font-size:18px; margin-bottom:36px; }
.portal label { display:block; font-size:14px; font-weight:600; margin:22px 0 8px; }
.portal input, .portal textarea, .portal select { width:100%; font:inherit; font-size:16px; color:var(--ink); background:#111113; border:1px solid var(--rule); border-radius:10px; padding:13px 14px; }
.portal textarea { min-height:140px; resize:vertical; }
.portal input:focus, .portal textarea:focus, .portal select:focus { outline:2px solid var(--accent); outline-offset:1px; border-color:transparent; }
.choices { display:grid; grid-template-columns:repeat(3, 1fr); gap:12px; }
.choice { position:relative; border:1px solid var(--rule); border-radius:12px; padding:16px; cursor:pointer; }
.choice input { position:absolute; opacity:0; }
.choice b { display:block; font-size:17px; }
.choice span { color:var(--soft); font-size:14px; }
.choice:has(input:checked) { border-color:var(--accent); box-shadow:inset 0 0 0 1px var(--accent); }
.portal .btn { border:0; cursor:pointer; margin-top:28px; }
.portal .note { color:var(--soft); font-size:14px; margin-top:14px; }
.err { color:#ff6961; margin-top:14px; }
.card { border:1px solid var(--rule); border-radius:14px; padding:22px; margin-top:22px; }
.steps { list-style:none; display:grid; gap:10px; margin-top:6px; }
.steps li { display:flex; gap:12px; align-items:baseline; color:var(--soft); }
.steps li::before { content:""; flex:none; width:10px; height:10px; border-radius:50%; border:2px solid #3a3a3e; transform:translateY(1px); }
.steps li.done { color:var(--ink); } .steps li.done::before { background:var(--accent); border-color:var(--accent); }
.steps li.now { color:var(--ink); font-weight:600; } .steps li.now::before { border-color:var(--accent); }
.money { display:flex; gap:28px; flex-wrap:wrap; margin-top:4px; }
.money b { display:block; font-family:"Inter Tight", sans-serif; font-size:28px; letter-spacing:-.02em; }
.money span { color:var(--soft); font-size:13px; }
.thread { display:flex; flex-direction:column; gap:10px; margin:6px 0 14px; max-height:460px; overflow:auto; }
.msg { max-width:84%; padding:10px 14px; border-radius:14px; background:#1c1c1e; white-space:pre-wrap; }
.msg.me { align-self:flex-end; background:var(--accent); color:#fff; }
.msg small { display:block; opacity:.6; font-size:12px; margin-top:4px; }
.row { display:flex; gap:10px; align-items:flex-end; }
.row textarea { min-height:52px; }
.row .btn { margin-top:0; white-space:nowrap; }
.list { list-style:none; margin-top:10px; }
.list li { display:flex; gap:12px; justify-content:space-between; padding:14px 0; border-top:1px solid var(--rule); cursor:pointer; }
.list li b { display:block; } .list li span { color:var(--soft); font-size:14px; }
.dot { display:inline-block; width:8px; height:8px; border-radius:50%; background:var(--accent); margin-right:6px; }
.split { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
@media (max-width:640px) { .choices, .split { grid-template-columns:1fr; } }
.list a { display:flex; gap:12px; justify-content:space-between; width:100%; text-decoration:none; color:inherit; }
/* Sign in and sign up (2026-11-09): Google first, then email and password. */
.auth h3 { margin:0 0 4px; }
.portal .btn.google { display:flex; align-items:center; justify-content:center; gap:10px; width:100%; margin-top:18px; background:#fff; color:#1f1f1f; }
.portal .btn.ghost { background:transparent; }
.or { display:flex; align-items:center; gap:12px; color:var(--soft); font-size:13px; margin:22px 0 0; }
.or::before, .or::after { content:""; flex:1; border-top:1px solid var(--rule); }
.auth-btns { display:flex; gap:10px; flex-wrap:wrap; }
.portal .auth-btns .btn { margin-top:18px; }
#signed .btn { margin-top:14px; }
#admin-link .btn { margin-top:8px; }
.portal .choice { margin:0; }
