:root { color-scheme: dark; --bg: #0b1113; --panel: #111a1c; --panel-light: #172326; --line: #29383a; --text: #edf5ef; --muted: #92a5a0; --accent: #b7e66e; --accent-deep: #7cae48; --cyan: #6edbd2; --danger: #ff9b9b; }
* { box-sizing: border-box; }
body { min-height: 100vh; margin: 0; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at 80% 0%, rgba(110,219,210,.1), transparent 30%), radial-gradient(circle at 12% 35%, rgba(183,230,110,.07), transparent 30%), var(--bg); color: var(--text); font-family: Georgia, "Times New Roman", serif; }
body::before { position: fixed; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 48px 48px; content: ""; mask-image: linear-gradient(to bottom, black, transparent 70%); }
a { color: inherit; text-decoration: none; }
.login-shell { display: grid; grid-template-columns: minmax(300px, 470px) minmax(250px, 330px); width: min(820px, 100%); overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: rgba(17,26,28,.96); box-shadow: 20px 25px 80px rgba(0,0,0,.3); }
.login-panel { padding: clamp(28px, 6vw, 54px); }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 14px Arial, sans-serif; letter-spacing: -.02em; } .brand-mark { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 9px 9px 9px 2px; background: var(--accent); color: #142018; font: 900 17px Arial, sans-serif; }
.login-copy { margin-top: 64px; } .eyebrow { margin: 0 0 18px; color: var(--accent); font: 700 10px Arial, sans-serif; letter-spacing: .16em; } h1 { margin: 0; font-size: clamp(38px, 6vw, 54px); font-weight: 400; line-height: .95; letter-spacing: -.06em; } .login-copy p:not(.eyebrow) { max-width: 350px; margin: 18px 0 0; color: var(--muted); font: 13px/1.6 Arial, sans-serif; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 32px; padding: 4px; border: 1px solid var(--line); border-radius: 5px; background: #0b1113; } .auth-tab { margin: 0; padding: 11px; border: 0; border-radius: 3px; background: transparent; color: var(--muted); font: 700 11px Arial, sans-serif; cursor: pointer; } .auth-tab:hover, .auth-tab.is-active { background: var(--panel-light); color: var(--accent); }
.login-form { display: grid; gap: 8px; margin-top: 22px; } .login-form.is-hidden { display: none; } label { color: #b6c7c0; font: 700 10px Arial, sans-serif; } input { width: 100%; margin-bottom: 7px; padding: 13px; border: 1px solid var(--line); border-radius: 4px; outline: 0; background: #0b1113; color: var(--text); font: 12px Arial, sans-serif; } input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(183,230,110,.1); } button[type="submit"] { margin-top: 8px; padding: 13px; border: 1px solid var(--accent); border-radius: 4px; background: var(--accent); color: #172117; font: 700 11px Arial, sans-serif; cursor: pointer; } button[type="submit"]:hover { background: #d3f59a; } button:disabled { cursor: wait; opacity: .65; }
.notice { min-height: 14px; margin: 7px 0 0; color: var(--danger); font: 10px/1.45 Arial, sans-serif; } .back-link { display: inline-block; margin-top: 25px; color: var(--cyan); font: 700 10px Arial, sans-serif; } .back-link:hover { color: var(--accent); }
.login-aside { display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; border-left: 1px solid var(--line); background: linear-gradient(150deg, rgba(183,230,110,.12), rgba(17,26,28,.7)); } .status { display: inline-flex; align-items: center; gap: 7px; color: var(--cyan); font: 700 9px Arial, sans-serif; letter-spacing: .1em; } .status::before { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 9px var(--cyan); content: ""; } .login-aside h2 { margin: 18px 0 24px; font-size: 29px; font-weight: 400; line-height: 1; letter-spacing: -.05em; } .aside-list { display: grid; gap: 11px; color: var(--muted); font: 11px Arial, sans-serif; } .aside-list span::before { margin-right: 8px; color: var(--accent); content: "✓"; }
+@media (max-width: 680px) { body { padding: 12px; } .login-shell { grid-template-columns: 1fr; } .login-aside { display: none; } .login-copy { margin-top: 48px; } }
+@media (max-width: 380px) { .login-panel { padding: 26px 20px; } .auth-tab { font-size: 10px; } }

/* Shared dashboard visual language */
:root {
	color-scheme: dark;
	--bg: #080a0f;
	--panel: #0e1118;
	--panel-2: #121620;
	--panel-3: #171c27;
	--border: #222938;
	--border-soft: #1a202b;
	--text: #f4f6fb;
	--muted: #8d96a8;
	--muted-2: #687184;
	--accent: #7c5cff;
	--accent-2: #9b86ff;
	--good: #35d39a;
	--warn: #f2b84b;
	--bad: #ff647c;
	--radius: 16px;
	--shadow: 0 18px 55px rgba(0, 0, 0, .28);
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body {
	min-height: 100vh;
	margin: 0;
	padding: 24px;
	display: grid;
	place-items: center;
	background:
		radial-gradient(900px 500px at 20% -10%, rgba(124, 92, 255, .12), transparent 60%),
		radial-gradient(700px 450px at 100% 0%, rgba(53, 211, 154, .045), transparent 55%),
		var(--bg);
	color: var(--text);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	letter-spacing: -.01em;
}
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
.login-shell {
	width: min(860px, 100%);
	display: grid;
	grid-template-columns: minmax(320px, 1fr) minmax(250px, .72fr);
	overflow: hidden;
	border: 1px solid var(--border);
	border-radius: 20px;
	background: linear-gradient(180deg, rgba(17, 21, 30, .98), rgba(13, 16, 23, .98));
	box-shadow: var(--shadow);
}
.login-panel { padding: clamp(28px, 6vw, 54px); }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); font-size: 14px; font-weight: 800; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(145deg, #8e79ff, #5d43d6); color: #fff; box-shadow: 0 10px 25px rgba(124, 92, 255, .24); font-size: 17px; font-weight: 800; }
.login-copy { margin-top: 64px; }
.eyebrow { margin: 0 0 18px; color: var(--accent-2); font-size: 10px; font-weight: 800; letter-spacing: .14em; }
h1 { margin: 0; color: var(--text); font-size: clamp(38px, 6vw, 54px); font-weight: 400; line-height: .95; letter-spacing: -.06em; }
.login-copy p:not(.eyebrow) { max-width: 350px; margin: 18px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 32px; padding: 4px; border: 1px solid var(--border); border-radius: 10px; background: #0a0d13; }
.auth-tab { padding: 10px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font-size: 11px; font-weight: 800; cursor: pointer; }
.auth-tab:hover, .auth-tab.is-active { background: var(--panel-3); color: var(--accent-2); }
.login-form { display: grid; gap: 8px; margin-top: 22px; }
.login-form.is-hidden { display: none; }
label { color: #aab2c1; font-size: 11px; font-weight: 700; }
input { width: 100%; margin-bottom: 7px; padding: 11px 12px; border: 1px solid var(--border); border-radius: 10px; outline: 0; background: #0b0e14; color: var(--text); font-size: 12px; transition: .18s ease; }
input:focus { border-color: rgba(124, 92, 255, .65); box-shadow: 0 0 0 3px rgba(124, 92, 255, .09); }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 56px; margin-bottom: 0; }
.password-toggle { position: absolute; top: 50%; right: 8px; transform: translateY(-50%); padding: 4px 5px; border: 0; background: transparent; color: var(--muted); font-size: 9px; font-weight: 800; cursor: pointer; }
.password-toggle:hover, .password-toggle:focus-visible { color: var(--accent-2); outline: 0; }
.remember-option { display:flex; align-items:center; gap:8px; margin:2px 0 1px; color:var(--muted); font-size:10px; font-weight:600; cursor:pointer; }
.remember-option input { width:14px; height:14px; margin:0; accent-color:var(--accent); cursor:pointer; }
.remember-option input:focus-visible { outline:2px solid var(--accent-2); outline-offset:2px; }
input.is-valid { border-color: rgba(53, 211, 154, .6); box-shadow: 0 0 0 3px rgba(53, 211, 154, .08); }
input.is-invalid, input.is-taken { border-color: rgba(255, 100, 124, .6); box-shadow: 0 0 0 3px rgba(255, 100, 124, .08); }
.field-hint { min-height: 12px; margin: -2px 0 8px; color: var(--muted-2); font-size: 9px; line-height: 1.4; }
.field-hint.is-error { color: #ff8ea0; }
.field-hint.is-success { color: #7fe3bd; }
button[type="submit"] { margin-top: 8px; padding: 11px 14px; border: 0; border-radius: 10px; background: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(124, 92, 255, .2); font-size: 12px; font-weight: 800; cursor: pointer; }
button[type="submit"]:hover { background: var(--accent-2); }
button[type="submit"]:focus-visible, .auth-tab:focus-visible, .back-link:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }
button[type="submit"].is-loading { background: #5740c5; }
button:disabled { cursor: wait; opacity: .65; }
.notice { min-height: 14px; margin: 7px 0 0; color: var(--muted-2); font-size: 10px; line-height: 1.45; transition: color .18s ease; }
.notice.is-error { color: #ff8ea0; }
.notice.is-success { color: #7fe3bd; }
.back-link { display: inline-block; margin-top: 25px; color: var(--accent-2); font-size: 10px; font-weight: 800; }
.back-link:hover { color: #fff; }
.login-aside { display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; border-left: 1px solid var(--border); background: radial-gradient(500px 300px at 0% 100%, rgba(124, 92, 255, .16), transparent 70%), #10141d; }
.status { display: inline-flex; align-items: center; gap: 7px; width: max-content; padding: 5px 9px; border: 1px solid rgba(53, 211, 154, .2); border-radius: 999px; background: rgba(53, 211, 154, .07); color: #78e5bb; font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.status::before { width: 6px; height: 6px; border-radius: 50%; background: var(--good); box-shadow: 0 0 9px var(--good); content: ""; }
.login-aside h2 { margin: 20px 0 28px; color: var(--text); font-size: 31px; font-weight: 400; line-height: 1; letter-spacing: -.05em; }
.aside-list { display: grid; gap: 11px; color: var(--muted); font-size: 11px; }
.aside-list span::before { margin-right: 8px; color: var(--accent-2); content: "✓"; }
@media (max-width: 680px) { body { padding: 12px; } .login-shell { grid-template-columns: 1fr; } .login-aside { display: none; } .login-copy { margin-top: 48px; } }
@media (max-width: 380px) { .login-panel { padding: 26px 20px; } .auth-tab { font-size: 10px; } }
