@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,600;1,600&display=swap');

:root { --ink: #17211d; --muted: #68746e; --paper: #f7f8f4; --line: #dce3dc; --moss: #295f4b; --lime: #d8ed76; --clay: #d4694c; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; color: var(--ink); background: var(--paper); font-family: 'DM Sans', sans-serif; }
.auth-shell { display: grid; grid-template-columns: minmax(360px, 0.92fr) minmax(460px, 1.08fr); min-height: 100vh; }
.brand-panel { position: relative; display: flex; flex-direction: column; padding: clamp(38px, 6vw, 90px); overflow: hidden; color: #f4f5ed; background: var(--moss); }
.brand-panel::after { content: ''; position: absolute; width: 420px; height: 420px; right: -180px; bottom: -150px; border: 1px solid rgba(216,237,118,.35); border-radius: 50%; box-shadow: 0 0 0 38px rgba(216,237,118,.07), 0 0 0 78px rgba(216,237,118,.05); }
.brand-mark { display: grid; place-items: center; width: 48px; height: 48px; color: var(--ink); background: var(--lime); font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.brand-mark.small { width: 34px; height: 34px; font-size: 10px; }
.eyebrow { margin: 28px 0 18px; color: var(--clay); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.brand-panel .eyebrow { color: var(--lime); }
h1, h2 { margin: 0; letter-spacing: -.045em; line-height: .98; }
h1 { max-width: 540px; font-size: clamp(46px, 5.3vw, 78px); }
h1 em { color: var(--lime); font-family: 'Playfair Display', serif; font-weight: 600; }
.brand-copy { max-width: 400px; margin: 30px 0 0; color: rgba(244,245,237,.73); font-size: 16px; line-height: 1.7; }
.signal-list { display: grid; gap: 14px; margin-top: auto; padding-top: 70px; color: rgba(244,245,237,.8); font-size: 13px; }
.signal-list div { display: flex; align-items: center; gap: 10px; }
.signal-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.panel-footer { position: relative; z-index: 1; margin-top: 40px; color: rgba(244,245,237,.4); font-size: 11px; letter-spacing: .13em; }
.login-panel { display: flex; flex-direction: column; justify-content: center; padding: clamp(30px, 8vw, 120px); background: var(--paper); }
.login-card { width: min(100%, 430px); margin: 0 auto; }
.mobile-brand { display: none; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; }
h2 { font-size: clamp(38px, 4vw, 56px); }
.form-intro { margin: 20px 0 40px; color: var(--muted); font-size: 15px; line-height: 1.6; }
form { display: grid; gap: 11px; }
label { margin-top: 8px; color: #3f4c45; font-size: 12px; font-weight: 700; }
input { width: 100%; height: 54px; padding: 0 16px; border: 1px solid var(--line); border-radius: 2px; outline: none; color: var(--ink); background: #fff; font: inherit; transition: border-color .2s, box-shadow .2s; }
input:focus { border-color: var(--moss); box-shadow: 0 0 0 3px rgba(41,95,75,.11); }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 78px; }
.toggle-password { position: absolute; top: 0; right: 12px; height: 54px; padding: 0 4px; border: 0; color: var(--moss); background: transparent; cursor: pointer; font: inherit; font-size: 11px; font-weight: 700; }
.login-message { min-height: 21px; margin-top: 5px; font-size: 12px; }
.login-message.error { color: #b24432; }
.login-message.success { color: var(--moss); }
.submit-button { display: flex; align-items: center; justify-content: space-between; height: 56px; margin-top: 7px; padding: 0 18px 0 20px; border: 0; border-radius: 2px; color: #fff; background: var(--ink); cursor: pointer; font: inherit; font-size: 13px; font-weight: 700; transition: background .2s, transform .2s; }
.submit-button:hover:not(:disabled) { background: var(--moss); transform: translateY(-2px); }
.submit-button:disabled { cursor: wait; opacity: .7; }
.arrow { color: var(--lime); font-size: 22px; }
.security-note { display: flex; align-items: center; gap: 8px; margin-top: 26px; color: #89938d; font-size: 11px; }
.lock-icon { font-size: 13px; }
.login-footer { display: flex; justify-content: space-between; width: min(100%, 430px); margin: auto auto 0; padding-top: 50px; color: #a0aaa4; font-size: 11px; }
@media (max-width: 760px) { .auth-shell { display: block; } .brand-panel { display: none; } .login-panel { min-height: 100vh; padding: 28px 24px; } .mobile-brand { display: flex; } .login-card .eyebrow { margin-top: 72px; } .login-footer { padding-top: 50px; } }

.dashboard-page { min-height: 100vh; background: var(--paper); }
.dashboard-header { display: flex; align-items: center; justify-content: space-between; padding: 22px clamp(24px, 6vw, 88px); border-bottom: 1px solid var(--line); background: #fff; }
.dashboard-brand { display: flex; align-items: center; gap: 11px; color: var(--ink); font-size: 13px; font-weight: 700; text-decoration: none; }
.logout-button { padding: 10px 0; border: 0; color: var(--moss); background: transparent; cursor: pointer; font: inherit; font-size: 12px; font-weight: 700; }
.dashboard-main { width: min(100% - 48px, 1080px); margin: 0 auto; padding: clamp(48px, 8vw, 100px) 0; }
.dashboard-title { max-width: 700px; font-size: clamp(44px, 6vw, 76px); }
.dashboard-intro { margin: 20px 0 48px; color: var(--muted); font-size: 16px; }
.dashboard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dashboard-card { display: flex; flex-direction: column; min-height: 180px; padding: 24px; border: 1px solid var(--line); background: #fff; }
.dashboard-card-primary { color: #f4f5ed; border-color: var(--moss); background: var(--moss); }
.card-label { margin-bottom: auto; color: var(--clay); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.dashboard-card-primary .card-label { color: var(--lime); }
.dashboard-card strong { margin: 22px 0 7px; font-size: 25px; letter-spacing: -.03em; }
.card-detail { color: var(--muted); font-size: 12px; }
.dashboard-card-primary .card-detail { color: rgba(244,245,237,.7); }
.dashboard-note { display: flex; align-items: center; gap: 10px; margin-top: 24px; color: var(--muted); font-size: 13px; }
@media (max-width: 760px) { .dashboard-grid { grid-template-columns: 1fr; } .dashboard-main { width: min(100% - 40px, 560px); } }
