.admin-page { min-height: 100vh; background: var(--paper); }
.admin-header { display: flex; justify-content: space-between; align-items: center; padding: 1rem max(5vw, 1.25rem); background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 4px 18px rgba(17,47,70,.045); }
.admin-header > a:last-child { font-size: .9rem; font-weight: 700; text-decoration: none; }
.admin-shell { width: min(100% - 2rem, 1100px); margin: 2.5rem auto; }
.login-card, .empty-state, .lead-card { padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.login-card { width: min(100%, 480px); margin: 5vh auto; }
.login-card h1, .dashboard-title h1 { margin: .2rem 0 .4rem; color: var(--navy-deep); font: 800 clamp(1.8rem, 4vw, 2.3rem)/1.2 "Segoe UI", Arial, sans-serif; }
.login-card > p:not(.eyebrow) { color: var(--muted); }
.login-card form { display: grid; gap: 1rem; margin-top: 1.4rem; }
.login-card label, .status-form label { display: grid; gap: .4rem; color: #344e62; font-weight: 700; }
.login-card input, .status-form select { min-height: 46px; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: 10px; background: #fbfcfd; }
.button-secondary { border: 1px solid var(--line); background: #fff; color: var(--navy); }
.button-secondary:hover { background: #f3f7f9; }
.button-small { min-height: 40px; padding: .55rem .85rem; background: #eaf3f3; color: var(--teal-dark); }
.dashboard-title { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.dashboard-title p:not(.eyebrow) { margin: .3rem 0; color: var(--muted); }
.lead-list { display: grid; gap: 1rem; }
.lead-card { box-shadow: 0 10px 24px rgba(17,47,70,.06); transition: transform .25s ease, box-shadow .25s ease; }
.lead-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.lead-card h2 { margin: 0; color: var(--navy); font: 700 1.2rem/1.3 "Segoe UI", Arial, sans-serif; }
.lead-card time { color: #75899a; font-size: .82rem; }
.lead-details { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: 1rem 0; color: #58716a; font-size: .9rem; }
.lead-details a { text-decoration: none; }
.lead-message { padding: .9rem 1rem; border-radius: 12px; background: #f3f6f8; color: #405b52; white-space: normal; }
.status { padding: .35rem .7rem; border-radius: 99px; background: #edf2ef; color: #405b52; font-size: .78rem; font-weight: 700; }
.status-new { background: #fff3da; color: #7d5310; }
.status-contacted { background: #e8f1ff; color: #275791; }
.status-qualified { background: #e2f5e9; color: #17613e; }
.status-closed { background: #edf0ef; color: #5c6863; }
.status-form { display: flex; align-items: center; gap: .65rem; flex-wrap: wrap; margin-top: 1rem; }
.status-form label { display: block; font-size: .85rem; }
.status-form select { min-height: 38px; }
.empty-state h2 { margin-top: 0; color: var(--navy); font-family: "Segoe UI", Arial, sans-serif; }
.inbox-heading { margin: 2rem 0 1rem; color: var(--navy); font: 800 1.35rem/1.3 "Segoe UI", Arial, sans-serif; }
.guide-request { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.guide-request a { font-weight: 700; text-decoration: none; }
.guide-request span { color: #75899a; font-size: .85rem; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .lead-card:hover { transform: perspective(1200px) translateY(-3px) rotateX(.2deg); box-shadow: var(--shadow-raised); }
}
@media (max-width: 760px) {
    .admin-shell { margin: 1rem auto; }
    .dashboard-title { align-items: flex-start; flex-direction: column; }
    .lead-card-head { flex-direction: column; }
    .guide-request { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: .01ms !important; }
}
