:root {
    color-scheme: light;
    --ink: #14243e;
    --muted: #66748a;
    --teal: #0e8e89;
    --teal-dark: #087772;
    --border: #e4e9ef;
    --page: #f5f8fa;
    --white: #fff;
}
* { box-sizing: border-box; }
html { font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
body { margin: 0; color: var(--ink); background: var(--page); }
button, input { font: inherit; }
a { color: inherit; }
.auth-page { min-height: 100vh; background: radial-gradient(circle at 85% 10%, #e5f5f3 0, transparent 34%), #f5f8fa; }
.auth-wrap { max-width: 465px; margin: 0 auto; padding: clamp(60px, 11vh, 110px) 20px 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 750; font-size: 25px; letter-spacing: -1.25px; color: #152c45; text-decoration: none; }
.auth-wrap > .brand { margin-bottom: 33px; }
.brand-icon { position: relative; flex: 0 0 auto; width: 30px; height: 30px; border-radius: 9px; background: #0e8e89; display: grid; place-items: center; }
.brand-icon span { position: absolute; width: 16px; height: 5px; background: white; border-radius: 1.5px; }
.brand-icon span + span { transform: rotate(90deg); }
.brand-accent { color: var(--teal); }
.brand-dot { color: var(--teal); }
.auth-card { background: var(--white); border: 1px solid #e7ecf1; border-radius: 18px; padding: 39px 37px 37px; box-shadow: 0 18px 70px rgba(28, 47, 76, .055); }
.eyebrow { font-size: 10.5px; font-weight: 800; letter-spacing: 2px; color: var(--teal); }
h1 { font-size: 27px; margin: 13px 0 10px; letter-spacing: -.85px; line-height: 1.23; font-weight: 730; }
.muted { color: var(--muted); }
.intro { font-size: 14px; line-height: 1.75; margin: 0 0 31px; }
.field { margin: 19px 0; }
label { display: block; margin-bottom: 9px; font-size: 13px; font-weight: 700; }
input { display: block; width: 100%; min-height: 48px; border: 1px solid #d8e0e7; border-radius: 9px; color: var(--ink); padding: 12px 14px; background: white; outline: 0; transition: border-color .15s, box-shadow .15s; }
input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(14, 142, 137, .1); }
input::placeholder { color: #a4afbd; }
.primary-btn { appearance: none; border: none; cursor: pointer; width: 100%; background: var(--teal); color: white; border-radius: 9px; padding: 16px; margin-top: 12px; display: flex; justify-content: center; gap: 10px; align-items: center; font-weight: 720; font-size: 14px; transition: background .2s; }
.primary-btn:hover { background: var(--teal-dark); }
.btn-link { text-decoration: none; }
.alert { border: 1px solid #f1caca; color: #9a3333; border-radius: 8px; background: #fff6f6; padding: 12px 14px; font-size: 13px; margin: -8px 0 20px; line-height: 1.5; }
.auth-foot { color: #8b98a8; font-size: 12px; text-align: center; margin-top: 26px; }
.topbar { background: white; border-bottom: 1px solid var(--border); }
.topbar-content { max-width: 1120px; margin: 0 auto; min-height: 79px; padding: 15px 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand-sm { font-size: 22px; }
.brand-sm .brand-icon { width: 27px; height: 27px; }
.top-actions { display: flex; gap: 22px; align-items: center; }
.user-email { font-size: 13px; color: #64748b; }
.outline-btn { background: white; color: #32465f; border: 1px solid #d8e0e7; padding: 10px 14px; border-radius: 8px; font-size: 12px; font-weight: 650; cursor: pointer; }
.outline-btn:hover { background: #f5f8fa; }
.dashboard-container { max-width: 1120px; margin: 0 auto; padding: 73px 26px; }
.dashboard-container h1 { font-size: clamp(30px, 4vw, 40px); margin-top: 12px; }
.dashboard-lead { font-size: 15px; margin: 0 0 35px; }
.welcome-panel { max-width: 740px; background: white; border: 1px solid var(--border); border-radius: 17px; padding: 37px 38px; box-shadow: 0 12px 40px rgba(28, 47, 76, .035); }
.status-line { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 680; color: #147866; }
.status-dot { height: 8px; width: 8px; background: #18a78e; border-radius: 50%; }
.welcome-panel h2 { margin: 20px 0 11px; font-size: 23px; letter-spacing: -.55px; }
.welcome-panel p { font-size: 14px; color: var(--muted); line-height: 1.75; max-width: 570px; }
.detail-grid { margin-top: 30px; padding-top: 23px; border-top: 1px solid var(--border); display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.detail-label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; font-weight: 760; color: #8996a7; margin-bottom: 9px; }
.detail-grid strong { font-size: 14px; font-weight: 650; overflow-wrap: anywhere; }
.dashboard-foot { margin-top: 40px; font-size: 12px; color: #a0aab6; }
@media (max-width: 600px) {
    .auth-wrap { padding-top: 48px; }
    .auth-card { padding: 29px 24px; }
    .topbar-content { align-items: flex-start; }
    .top-actions { align-items: flex-end; flex-direction: column; gap: 9px; }
    .user-email { font-size: 11px; }
    .dashboard-container { padding: 49px 20px; }
    .welcome-panel { padding: 27px 22px; }
    .detail-grid { grid-template-columns: 1fr; }
}
