:root { --purple:#6049c5; --purple-dark:#30254d; --purple-soft:#f0edff; --ink:#28263b; --muted:#89879b; --line:#ecebf2; --bg:#f7f7fb; --white:#fff; }
* { box-sizing:border-box; }
body { margin:0; min-width:320px; color:var(--ink); background:var(--bg); font:14px "DM Sans",sans-serif; }
button,input { font:inherit; }
button { cursor:pointer; }
[hidden] { display:none !important; }
.notice { padding:11px 18px; color:#4f3ba9; background:#f0edff; text-align:center; font-size:12px; }
.brand { display:inline-flex; align-items:center; gap:10px; color:var(--ink); text-decoration:none; font:800 19px Manrope,sans-serif; letter-spacing:-.6px; }
.brand-light { color:#fff; }
.brand-mark { width:34px; height:34px; display:grid; place-items:center; border-radius:11px; color:#fff; background:var(--purple); font:800 19px Manrope,sans-serif; }
.brand-light .brand-mark { background:rgba(255,255,255,.18); box-shadow:inset 0 0 0 1px rgba(255,255,255,.24); }
.auth-layout { min-height:100vh; display:grid; grid-template-columns:minmax(340px,.95fr) 1.05fr; background:#fff; }
.auth-art { position:relative; min-height:100vh; overflow:hidden; display:flex; flex-direction:column; padding:38px clamp(30px,6vw,84px); color:#fff; background:radial-gradient(circle at 78% 80%,#7660dc 0,transparent 35%),linear-gradient(145deg,#4d3aa9,#6049c5 57%,#6e58d0); }
.auth-art::before,.auth-art::after { content:""; position:absolute; border:1px solid rgba(255,255,255,.13); border-radius:50%; pointer-events:none; }
.auth-art::before { width:460px; height:460px; right:-210px; top:110px; }
.auth-art::after { width:320px; height:320px; left:-180px; bottom:-155px; }
.art-copy { position:relative; z-index:1; margin-top:clamp(70px,13vh,138px); }
.eyebrow { display:block; margin-bottom:9px; color:#9180dd; font-size:9px; font-weight:800; letter-spacing:1.45px; }
.auth-art .eyebrow { color:#d3ccff; }
.art-copy h1 { margin:0 0 14px; font:800 clamp(34px,4.3vw,52px)/1.1 Manrope,sans-serif; letter-spacing:-2px; }
.art-copy p { max-width:350px; margin:0; color:#e0dcfa; font-size:15px; line-height:1.65; }
.art-card { position:relative; z-index:1; width:min(100%,340px); margin:auto 0 28px 7%; padding:20px; border:1px solid rgba(255,255,255,.55); border-radius:16px; color:var(--ink); background:rgba(255,255,255,.96); box-shadow:0 19px 42px rgba(30,20,91,.2); transform:rotate(-2deg); }
.art-card b,.art-card span:not(.art-spark) { display:block; }
.art-spark { float:right; color:#e6a34e; font-size:22px; }
.art-card b { font:700 13px Manrope,sans-serif; }
.art-card span:not(.art-spark) { margin-top:5px; color:var(--muted); font-size:10px; }
.art-lines i { display:block; width:90%; height:6px; margin-top:16px; border-radius:6px; background:#f0eef6; }
.art-lines i:nth-child(2) { width:62%; margin-top:8px; }
.art-lines i:nth-child(3) { width:77%; margin-top:8px; }
.art-foot { position:relative; z-index:1; color:#d0c9ef; font-size:10px; }
.auth-panel { display:grid; place-items:center; padding:45px 28px; }
.auth-card { width:min(100%,390px); }
.mobile-brand { display:none; margin-bottom:40px; }
.auth-card>.eyebrow { color:#8e7bdd; }
.auth-card h2 { margin:0 0 8px; font:800 28px Manrope,sans-serif; letter-spacing:-1px; }
.muted { margin:0 0 23px; color:var(--muted); font-size:12px; line-height:1.6; }
.switcher { display:grid; grid-template-columns:1fr 1fr; gap:3px; padding:4px; margin-bottom:20px; border-radius:10px; background:#f3f2f8; }
.switch { padding:10px; border:0; border-radius:7px; color:#7e7c90; background:transparent; font-size:12px; font-weight:700; }
.switch.active { color:var(--purple); background:#fff; box-shadow:0 2px 6px rgba(40,35,86,.08); }
.form-stack { display:grid; gap:14px; }
.field { display:grid; gap:7px; color:#4e4c61; font-size:11px; font-weight:700; }
.field input { width:100%; min-height:46px; padding:0 12px; border:1px solid #e5e3ec; border-radius:8px; color:var(--ink); background:#fff; outline-color:#a99dff; }
.field input::placeholder { color:#b1afbc; }
.button { min-height:41px; display:inline-flex; align-items:center; justify-content:center; gap:8px; border:0; border-radius:8px; padding:0 14px; font-size:11px; font-weight:700; }
.primary { min-height:48px; color:#fff; background:var(--purple); box-shadow:0 5px 12px rgba(92,73,200,.15); }
.primary:hover { background:#503bb5; }
.primary span { font-size:16px; }
.secondary { color:var(--purple); background:#f0edff; }
.text-button { display:block; margin:15px auto 0; border:0; color:var(--purple); background:none; font-size:10px; font-weight:700; }
.error { margin:0; color:#b23e50; font-size:11px; line-height:1.5; }
.privacy-note { display:flex; align-items:center; justify-content:center; gap:7px; margin:22px 0 0; color:#a09eac; font-size:10px; }
.privacy-note span { color:var(--purple); }
.dashboard { min-height:100vh; }
.topbar { height:66px; display:flex; align-items:center; justify-content:space-between; padding:0 clamp(18px,5vw,68px); border-bottom:1px solid var(--line); background:#fff; }
.topbar-right { display:flex; align-items:center; gap:12px; }
.top-name { color:#68667a; font-size:11px; }
.avatar { width:32px; height:32px; display:grid; place-items:center; border-radius:50%; color:var(--purple); background:var(--purple-soft); font-size:11px; font-weight:800; }
.dash-content { max-width:1050px; margin:0 auto; padding:46px 24px 60px; }
.welcome-row { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:25px; }
.welcome-row .eyebrow { margin-bottom:7px; }
.welcome-row h1 { margin:0 0 7px; font:800 clamp(25px,3vw,32px) Manrope,sans-serif; letter-spacing:-1.2px; }
.welcome-row p { margin:0; color:var(--muted); font-size:12px; }
.account-chip { display:flex; align-items:center; gap:7px; padding:8px 11px; border:1px solid #e4f1e9; border-radius:22px; color:#538469; background:#f2faf4; font-size:10px; font-weight:700; }
.online-dot { width:7px; height:7px; border-radius:50%; background:#53ac77; }
.dashboard-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-bottom:14px; }
.card { padding:22px; border:1px solid var(--line); border-radius:13px; background:#fff; box-shadow:0 5px 17px rgba(35,31,75,.025); }
.card h2 { margin:0 0 9px; font:700 16px Manrope,sans-serif; letter-spacing:-.3px; }
.profile-card .eyebrow,.link-card .eyebrow,.desktop-card .eyebrow { margin-bottom:7px; }
.profile-line { display:flex; justify-content:space-between; gap:14px; padding:12px 0; border-bottom:1px solid #f2f1f5; font-size:10px; }
.profile-line span { color:#9694a3; }
.profile-line b { overflow:hidden; max-width:68%; color:#39364e; text-overflow:ellipsis; white-space:nowrap; }
.profile-foot { margin-top:14px; color:#aaa8b5; font-size:9px; }
.link-card { position:relative; overflow:hidden; border:0; color:#fff; background:linear-gradient(140deg,#5d48c4,#7661d9); box-shadow:0 11px 25px rgba(82,62,186,.15); }
.link-card .eyebrow { color:#d8d1ff; }
.link-card h2 { max-width:280px; color:#fff; }
.link-card p { max-width:380px; margin:0 0 15px; color:#e4e0ff; font-size:10px; line-height:1.6; }
.link-symbol { float:right; width:33px; height:33px; display:grid; place-items:center; border:1px solid rgba(255,255,255,.25); border-radius:10px; font-size:16px; }
.master-link { overflow:hidden; padding:10px 11px; border:1px solid rgba(255,255,255,.22); border-radius:8px; color:#f3f0ff; background:rgba(46,31,129,.2); font:10px ui-monospace,monospace; text-overflow:ellipsis; white-space:nowrap; user-select:all; }
.saved-label { display:flex; align-items:center; gap:7px; margin-top:12px; color:#e0dcff; font-size:9px; }
.saved-check { width:16px; height:16px; display:grid; place-items:center; border-radius:50%; color:#fff; background:rgba(255,255,255,.2); font-size:10px; }
.desktop-card { display:flex; flex-direction:column; align-items:flex-start; }
.desktop-card h2 { margin-bottom:5px; }
.desktop-card>p { margin:0 0 15px; color:var(--muted); font-size:10px; }
.desktop-hint { display:flex; align-items:center; gap:10px; padding:11px 12px; border:1px solid #eeecf4; border-radius:9px; background:#fbfaff; }
.desktop-icon { width:30px; height:30px; display:grid; place-items:center; border-radius:9px; color:var(--purple); background:var(--purple-soft); }
.desktop-hint b,.desktop-hint small { display:block; }
.desktop-hint b { font-size:10px; }
.desktop-hint small { margin-top:3px; color:#9997a5; font-size:9px; }
.footnote { margin:19px 0 0; color:#aaa8b5; text-align:center; font-size:9px; }
.toast { position:fixed; right:20px; bottom:20px; z-index:5; max-width:calc(100vw - 40px); padding:11px 15px; border-radius:9px; color:#fff; background:#29253e; box-shadow:0 8px 25px rgba(30,25,61,.2); font-size:11px; opacity:0; transform:translateY(8px); pointer-events:none; transition:.2s; }
.toast.show { opacity:1; transform:translateY(0); }
@media(max-width:760px) { .auth-layout { grid-template-columns:1fr; } .auth-art { display:none; } .auth-panel { min-height:100vh; padding:30px 22px; } .mobile-brand { display:inline-flex; margin-bottom:42px; } .dashboard-grid { grid-template-columns:1fr; } .dash-content { padding:29px 16px 45px; } .welcome-row { align-items:flex-start; flex-direction:column; } .topbar { padding:0 15px; } }
