:root { --blue:#0060E2; --bg:#F2F4F8; --card:#fff; --text:#101828; --muted:#667085; --red:#D92D20; --line:#E4E7EC; }
* { box-sizing: border-box; }
body { margin:0; background:var(--bg); color:var(--text); font:15px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.wrap { max-width:560px; margin:0 auto; padding:20px 16px calc(40px + env(safe-area-inset-bottom)); }
.top { display:flex; align-items:center; justify-content:space-between; margin:6px 0 18px; }
.brand { display:flex; align-items:center; gap:10px; }
.brand h1 { font-size:22px; margin:0; }
.dot { width:28px; height:28px; border-radius:50%; background:radial-gradient(circle at 35% 35%, #5aa0ff, var(--blue)); box-shadow:0 4px 14px rgba(0,96,226,.35); }
.card { background:var(--card); border-radius:18px; padding:18px; margin-bottom:14px; box-shadow:0 1px 2px rgba(16,24,40,.06); }
h2 { font-size:17px; margin:0 0 10px; }
.muted { color:var(--muted); margin:4px 0 10px; }
label { display:block; font-size:13px; color:var(--muted); margin:12px 0; }
input[type=email], input[type=password], input[type=url] { display:block; width:100%; margin-top:6px; padding:12px; border:1px solid var(--line); border-radius:12px; font-size:16px; color:var(--text); background:#fff; }
input[type=file] { margin:6px 0; }
button { font:inherit; border:0; border-radius:12px; padding:12px 16px; cursor:pointer; }
button:disabled { opacity:.45; cursor:default; }
.primary { background:var(--blue); color:#fff; width:100%; font-weight:600; }
.secondary { background:#EAF2FF; color:var(--blue); font-weight:600; }
.danger { background:#FEE4E2; color:var(--red); font-weight:600; }
.ghost { background:transparent; color:var(--blue); }
.row { display:flex; gap:10px; flex-wrap:wrap; }
.row button { flex:1; }
.error { color:var(--red); }
.switch-card { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.switch { width:64px; height:38px; border-radius:19px; background:#D0D5DD; position:relative; padding:0; flex:none; transition:background .2s; }
.switch span { position:absolute; top:4px; left:4px; width:30px; height:30px; border-radius:50%; background:#fff; box-shadow:0 2px 6px rgba(0,0,0,.2); transition:left .2s; }
.switch[aria-checked=true] { background:#12B76A; }
.switch[aria-checked=true] span { left:30px; }
.current img, .preview { display:block; width:100%; max-width:320px; aspect-ratio:1/1; object-fit:cover; border-radius:16px; margin:8px 0; background:#eee; }
.note { color:var(--muted); font-size:13px; text-align:center; margin:18px 8px; }
.toast { position:fixed; left:50%; bottom:calc(24px + env(safe-area-inset-bottom)); transform:translateX(-50%); background:#101828; color:#fff; padding:10px 16px; border-radius:20px; font-size:14px; max-width:90vw; }
[hidden] { display:none !important; }
