/* Shared login. Tenant identity is applied only after authentication. */
.premium-auth{background:#f1f0ec;padding:40px;color:#222728;min-height:100svh}
.premium-auth .auth-layout{display:grid;grid-template-columns:1.1fr 1fr;max-width:1040px;width:100%;border-radius:24px;overflow:hidden;background:white;box-shadow:0 24px 80px #16232215;min-height:620px}
.premium-auth .auth-intro{padding:44px;display:flex;flex-direction:column;justify-content:space-between;color:#faf8f2;background:radial-gradient(ellipse at 100% 20%,#344c49 0,transparent 65%),linear-gradient(145deg,#142624,#0c1718);position:relative;overflow:hidden}
.premium-auth .auth-intro:after{content:"";position:absolute;width:410px;height:410px;border:1px solid #e0d3aa20;border-radius:50%;right:-180px;bottom:-170px;pointer-events:none}
.premium-auth .auth-wordmark{font-weight:750;letter-spacing:.15em;font-size:14px}
.premium-auth .auth-wordmark span{display:block;margin-top:8px;font-size:10px;letter-spacing:.23em;color:#bdc9c4}
.premium-auth .auth-kicker{font-size:11px;letter-spacing:.18em;font-weight:700;color:#68746e;margin:0 0 20px}
.premium-auth .auth-intro .auth-kicker{color:#d5c18b}
.premium-auth .auth-intro h2{font-size:clamp(32px,4vw,48px);letter-spacing:-.045em;line-height:1.14;font-weight:600;margin:0 0 24px}
.premium-auth .auth-intro p:not(.auth-kicker){color:#c0ccc7;font-size:14px;line-height:1.8}
.premium-auth .auth-intro .auth-footnote{font-size:11px!important;letter-spacing:.03em}
.premium-auth .auth-card{border:0;border-radius:0;box-shadow:none;max-width:none;padding:62px 48px;align-self:center}
.premium-auth .auth-card h1{font-size:29px;line-height:1.2;margin:0 0 14px;letter-spacing:-.045em}
.premium-auth .auth-card form{margin-top:32px;gap:22px}
.premium-auth label{color:#37443e;font-weight:600}
.premium-auth input{background:#fafbf9;border-color:#dce1dc;border-radius:10px;min-height:50px;padding:13px 14px}
.premium-auth input:focus{outline:3px solid #a4beb3;border-color:#244b3f}
.premium-auth button[type=submit]{background:#193e32;border-color:#193e32;min-height:50px;justify-content:space-between;padding:13px 18px;border-radius:10px}
.premium-auth button[type=submit]:hover{background:#24543f}
.premium-auth .password-toggle{width:auto;justify-self:end;background:none;border:0;color:#355245;padding:0;min-height:32px;font-size:12px;margin-top:-16px}
.premium-auth .password-toggle[hidden]{display:none}
.premium-auth :focus-visible{outline:3px solid #8fb0a0;outline-offset:3px}
/* DE & AN only: no theme changes for the second tenant. */
.de-an{--bg:#f7f6f2;--ink:#252823;--muted:#686d63;--line:#e5e5dc;--blue:#80601c;--nav:#f5ecd9;--radius:14px;background:var(--bg);color:var(--ink)}
.de-an .app-shell{grid-template-columns:248px minmax(0,1fr)}
.de-an .sidebar{background:#111514;color:#f7f3e8;padding:22px 16px;border-right:1px solid #32372c}
.de-an .brand{flex-direction:column;gap:6px;margin:0 0 28px;width:auto}
.de-an .brand:hover{text-decoration:none}
.de-an .de-an-mark{display:block;width:154px;height:154px;object-fit:contain;border-radius:12px}
.de-an .de-an-brand-caption{font-size:9px;color:#c6ac70;letter-spacing:.18em;font-weight:600}
.de-an .sidebar .nav-label{font-size:10px;letter-spacing:.18em;color:#a4a998;margin-bottom:12px}
.de-an .sidebar .nav-link{font-size:13px;color:#d7d9cf;padding:12px 14px;min-height:44px;border-radius:9px;margin-bottom:4px;font-weight:500}
.de-an .sidebar .nav-link>span{color:#b4ac8d;font-size:18px}
.de-an .sidebar .nav-link.selected{background:linear-gradient(100deg,#363323,#25271e);color:#f9d98a;box-shadow:inset 3px 0 #d5af54}
.de-an .sidebar .nav-link.selected>span{color:#f9d98a}
.de-an .sidebar .nav-link:hover{background:#292d25;color:#ffdfa0}
.de-an .profile{border-top:1px solid #32372c;margin-top:28px;padding:22px 10px 0}
.de-an .profile small{color:#adb29f}
.de-an .profile .secondary{background:#1d221d;border-color:#444834;color:#f1e7ce;border-radius:8px;min-height:40px}
.de-an .topbar{color:#6b705f;font-size:12px;height:64px;margin-bottom:26px}
.de-an .main{padding-left:32px;padding-right:32px}
.de-an .de-an-welcome{display:flex;align-items:center;justify-content:space-between;gap:24px;background:radial-gradient(ellipse at 70% 0,#37332080,transparent 70%),#121714;border:1px solid #353b2c;border-radius:18px;padding:32px 38px;margin-bottom:28px;color:#fff8e6;overflow:hidden}
.de-an .de-an-welcome .de-an-eyebrow{font-size:10px;letter-spacing:.18em;color:#e2c177;margin:0 0 18px}
.de-an .de-an-welcome h2{font-size:clamp(26px,2.4vw,36px);line-height:1.2;letter-spacing:-.035em;font-weight:550;margin-bottom:14px}
.de-an .de-an-welcome p:not(.de-an-eyebrow){font-size:13px;color:#c1c8b7;margin:0 0 22px}
.de-an .de-an-welcome img{object-fit:contain;width:230px;height:230px;border-radius:12px}
.de-an button:not(.secondary):not(.danger),.de-an .button:not(.secondary):not(.danger){background:#ddbc72;color:#282311;border-color:#ddbc72;border-radius:9px;font-weight:650}
.de-an button:not(.secondary):not(.danger):hover,.de-an .button:not(.secondary):not(.danger):hover{background:#edcf8a;border-color:#edcf8a;color:#211d11}
.de-an .secondary:hover{background:#f2eddf}
.de-an input:focus,.de-an select:focus,.de-an textarea:focus{outline:3px solid #dcc894;border-color:#80601c}
.de-an :focus-visible{outline:3px solid #bb913a;outline-offset:3px}
.de-an label{color:#464c40}
.de-an h1{font-size:25px;font-weight:650;letter-spacing:-.03em}
.de-an h2{font-size:16px;font-weight:650}
.de-an .card{border-color:#e5e5db;box-shadow:0 3px 15px #252d1404;border-radius:14px}
.de-an .fleet-card{background:#fff;border-color:#e5e5db;border-radius:14px;padding:23px 18px;gap:14px}
.de-an .fleet-card p{color:#656d5b;font-size:12px}
.de-an .fleet-card strong{font-weight:600;font-size:30px;font-variant-numeric:tabular-nums}
.de-an .fleet-icon{background:#f7efd9;color:#88651e;border-radius:12px;font-size:22px;width:46px;height:46px}
.de-an .fleet-icon.green{background:#eaf3e9;color:#377348}
.de-an .fleet-icon.gray{background:#eff0eb;color:#69735e}
.de-an th{background:#f8f8f3;color:#666d5d;font-weight:550;font-size:12px;border-color:#e6e7df}
.de-an td{border-color:#ebede4;font-size:13px}
.de-an .classic-finance{background:#fff}
.de-an .finance-trio article{border-color:#e3e6d9}
.de-an .finance-trio strong{font-variant-numeric:tabular-nums;font-weight:600}
.de-an .income strong{color:#387448}
.de-an .cost strong{color:#b74b4b}
.de-an .page-title{margin-bottom:22px}
@media(min-width:761px){.de-an .sidebar{scrollbar-width:thin;scrollbar-color:#514b35 #111514}}
@media(max-width:1100px){.de-an .app-shell{grid-template-columns:215px minmax(0,1fr)}.de-an .main{padding-left:22px;padding-right:22px}.de-an .de-an-welcome{padding:26px;gap:14px}.de-an .de-an-welcome img{width:180px;height:180px}}
@media(max-width:760px){.premium-auth{padding:18px}.premium-auth .auth-layout{grid-template-columns:1fr;min-height:0;max-width:480px;border-radius:18px}.premium-auth .auth-intro{padding:25px 28px;gap:22px}.premium-auth .auth-intro h2{font-size:28px;margin-bottom:0}.premium-auth .auth-intro h2 br{display:none}.premium-auth .auth-intro .auth-kicker,.premium-auth .auth-intro p:not(.auth-kicker){display:none}.premium-auth .auth-card{padding:30px 28px 36px}.premium-auth .auth-card h1{font-size:25px}.de-an .app-shell{display:block}.de-an .sidebar{padding:16px;gap:5px}.de-an .brand{width:100%;flex-direction:row;justify-content:flex-start;gap:16px;margin:0 0 12px}.de-an .de-an-mark{width:80px;height:80px}.de-an .de-an-brand-caption{font-size:10px}.de-an .sidebar .nav-link{font-size:12px;padding:10px 12px;min-height:44px}.de-an .profile{margin-top:8px;padding:14px 0 0}.de-an .main{padding:0 16px 24px}.de-an .de-an-welcome{padding:25px;margin-bottom:22px}.de-an .de-an-welcome img{display:none}.de-an .de-an-welcome h2{font-size:29px}.de-an .de-an-welcome .de-an-eyebrow{font-size:9px}.de-an .fleet-card{padding:16px 12px;gap:10px}.de-an .fleet-icon{width:35px;height:35px;font-size:19px}.de-an .fleet-card strong{font-size:26px}.de-an .fleet-card p{font-size:11px}.de-an .topbar{font-size:11px;height:54px;margin-bottom:20px}}
@media(prefers-reduced-motion:reduce){.de-an *,.premium-auth *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media print{.de-an .app-shell{display:block}.de-an .main{padding:0}.de-an{background:white;color:black}.de-an .card,.de-an .fleet-card{box-shadow:none;border-color:#ccc}.de-an .de-an-welcome{display:none}}
