/* Brand-aware visual layer for Allenergies, Swiftcom, and the shared admin view. */
:root{--ink:#17243b;--muted:#748197;--line:#e6ebf2;--bg:#f5f7fb;--nav:#14213a;--blue:#4261c5;--blue2:#edf1ff;--green:#23896a;--greenbg:#e8f7ef;--amber:#bd8429;--amberbg:#fff5e3;--shadow:0 14px 40px rgba(22,38,67,.075)}
*{-webkit-tap-highlight-color:transparent}body{background:#f3f6fa;color:var(--ink);font-family:Inter,"Segoe UI",Arial,sans-serif}.app-shell{--brand:#4261c5;--brand-soft:#edf1ff;--brand-glow:rgba(66,97,197,.16)}.app-shell.tenant-allenergies{--nav:#211b45;--brand:#4a36bd;--brand-soft:#f0edff;--brand-glow:rgba(84,61,190,.18)}.app-shell.tenant-swiftcom{--nav:#0c2b47;--brand:#0984b5;--brand-soft:#e7f8ff;--brand-glow:rgba(11,157,202,.18)}
.sidebar{background:linear-gradient(165deg,var(--nav),#10192f 92%);box-shadow:8px 0 30px rgba(18,30,52,.08)}.brand{min-height:76px;gap:11px;padding:2px 6px 25px}.brand-copy b{font-size:11px;letter-spacing:1.15px}.brand-copy small{line-height:1.4}.brand-logo-frame{display:flex;flex:none;align-items:center;justify-content:center;width:122px;height:58px;padding:6px 9px;border-radius:12px;background:#fff;box-shadow:0 8px 20px rgba(0,0,0,.13)}.brand-logo-frame img{display:block;width:100%;height:100%;object-fit:contain}.brand-logo-frame.swiftcom{width:64px;height:64px;padding:3px}.brand-dual{display:flex;flex:none;align-items:center;justify-content:center;gap:4px;width:82px;height:56px;padding:5px;border-radius:12px;background:#fff}.brand-dual img:first-child{width:54px;height:auto;object-fit:contain}.brand-dual img:last-child{width:24px;height:24px;object-fit:contain}
.sidebar nav{gap:7px}.sidebar nav a{height:46px;border-radius:11px;gap:12px;transition:background .18s ease,transform .18s ease,color .18s ease}.sidebar nav a:hover{background:rgba(255,255,255,.09);transform:translateX(2px)}.sidebar nav a.active{background:rgba(255,255,255,.13);box-shadow:inset 3px 0 var(--brand)}.nav-icon{display:inline-grid;width:19px;place-items:center;font-size:15px;opacity:.9}.tenant-caption{display:flex;align-items:center;gap:10px;margin:0 5px 13px;padding:12px 10px;color:#e4edf7;border:1px solid rgba(255,255,255,.11);border-radius:12px;background:rgba(255,255,255,.055);font-size:10px;font-weight:700}.tenant-caption small{display:block;margin-top:3px;color:#a7b7c9;font-size:9px;font-weight:400}.tenant-caption-dot{width:8px;height:8px;flex:none;border-radius:50%;background:var(--brand);box-shadow:0 0 0 4px var(--brand-glow)}
.topbar{height:84px;background:rgba(255,255,255,.94);backdrop-filter:blur(12px)}.topbar-right{display:flex;align-items:center;gap:16px}.tenant-badge{padding:7px 10px;border:1px solid var(--line);border-radius:999px;background:var(--brand-soft);color:var(--brand);font-size:9px;font-weight:800;letter-spacing:.8px}.avatar{background:var(--brand-soft);color:var(--brand)}main{padding-top:36px}h1{color:#16233a}.kpi,.panel{border-radius:15px;box-shadow:0 8px 26px rgba(21,39,68,.045);transition:transform .18s ease,box-shadow .18s ease}.kpi{position:relative;overflow:hidden;border-color:#e8edf4}.kpi::before{position:absolute;inset:0 auto 0 0;width:3px;background:var(--brand);content:"";opacity:.72}.kpi strong{color:#182742}.btn.primary{background:linear-gradient(135deg,var(--brand),color-mix(in srgb,var(--brand),#14213a 22%));box-shadow:0 8px 18px var(--brand-glow)}.btn.primary:hover{background:var(--brand);box-shadow:0 10px 24px var(--brand-glow)}.btn.secondary{background:var(--brand-soft);color:var(--brand);border-color:color-mix(in srgb,var(--brand),white 83%)}.text-link,.table-link:hover,.auth-foot a{color:var(--brand)}.table-wrap table tbody tr:hover{background:#f8faff}.form-stack input:focus,.form-stack select:focus,.form-stack textarea:focus{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-glow)}
.auth-wrap{background:#f1f5fa}.auth-card{width:min(100%,500px);padding:40px 42px;border:1px solid rgba(226,233,242,.95);border-radius:19px;box-shadow:0 24px 70px rgba(23,40,69,.1)}.auth-brand{padding-bottom:16px}.auth-brand .brand-mark{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#5d75d8,#263c8d)}.auth-brand .brand-copy b{font-size:14px;letter-spacing:1.4px}.auth-company-logos{display:flex;align-items:center;gap:10px;margin:2px 0 27px;padding:9px 11px;border:1px solid var(--line);border-radius:13px;background:#fafbfd}.auth-company-logo{display:flex;flex:1;align-items:center;justify-content:center;height:54px;border-radius:9px;background:#fff}.auth-company-logo img{display:block;max-width:88%;max-height:47px;object-fit:contain}.auth-company-logo.swiftcom img{max-height:52px}.auth-company-separator{color:#b6c0cd;font-size:20px}.auth-card .eyebrow{color:var(--brand)}.auth-card h1{font-size:25px}.auth-card .form-stack label{color:#43536b;font-size:11px}.auth-card .form-stack input{min-height:43px;border-radius:9px}.auth-foot{font-size:11px}.auth-side{background:radial-gradient(circle at 82% 18%,#2e6591 0,transparent 34%),linear-gradient(145deg,#101c34,#1d3658)}.auth-side-copy{max-width:520px}.auth-side h2{font-size:clamp(34px,3.2vw,48px)}.auth-side-bottom{position:absolute;right:50px;bottom:31px;display:flex;align-items:center;gap:12px;color:#c3d6e8;font-size:9px;font-weight:800;letter-spacing:1.4px}.auth-side-bottom i{width:4px;height:4px;border-radius:50%;background:#6f9fc9}.auth-side-glow{position:absolute;top:10%;right:12%;width:300px;height:300px;border:1px solid rgba(255,255,255,.12);border-radius:50%;box-shadow:0 0 0 45px rgba(255,255,255,.035),0 0 0 90px rgba(255,255,255,.025)}.auth-side-glow::after{position:absolute;inset:44px;border-radius:50%;background:radial-gradient(circle,rgba(89,155,211,.3),transparent 70%);content:""}.auth-wrap.single{background:radial-gradient(circle at 50% 0,#e6edfa,#f3f6fa 54%)}.auth-wrap.single .auth-card{max-width:520px}.notice{border-radius:12px}footer{color:#8190a3}
@media(max-width:1100px){.brand-logo-frame{width:112px}.brand-logo-frame.swiftcom{width:58px}}
@media(max-width:700px){.brand{justify-content:center}.brand-logo-frame{width:48px;height:48px;padding:3px}.brand-logo-frame.swiftcom{width:48px;height:48px}.brand-dual{width:47px;height:44px;flex-direction:column;gap:0}.brand-dual img:first-child{width:36px}.brand-dual img:last-child{width:17px;height:17px}.tenant-caption,.topbar-right .tenant-badge{display:none}.auth-card{padding:30px 24px}.auth-side-bottom{display:none}}
.workflow-strip{display:grid;grid-template-columns:220px 1fr;gap:18px;align-items:center;margin:0 0 20px;padding:17px 19px;border:1px solid #e4eaf3;border-radius:15px;background:linear-gradient(110deg,#fff,#fbfcff);box-shadow:0 8px 26px rgba(21,39,68,.04)}.workflow-heading{display:flex;align-items:center;gap:11px}.workflow-heading b,.workflow-heading small{display:block}.workflow-heading b{font:700 12px Manrope,Inter,"Segoe UI",sans-serif}.workflow-heading small{margin-top:4px;color:#8592a4;font-size:9px;line-height:1.45}.workflow-icon{display:grid;width:36px;height:36px;flex:none;place-items:center;border-radius:12px;background:var(--brand-soft);color:var(--brand);font-weight:800}.workflow-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.workflow-step{display:flex;align-items:center;gap:9px;min-width:0;padding:10px;border:1px solid #edf0f5;border-radius:11px;background:white;transition:border-color .15s,transform .15s}.workflow-step:hover{border-color:color-mix(in srgb,var(--brand),white 70%);transform:translateY(-1px)}.workflow-number{display:grid;width:26px;height:26px;flex:none;place-items:center;border-radius:9px;background:var(--brand-soft);color:var(--brand);font-size:10px;font-weight:800}.workflow-step b,.workflow-step small{display:block}.workflow-step b{font-size:10px}.workflow-step small{margin-top:3px;color:#8a97a8;font-size:8px}.workflow-step i{margin-left:auto;color:var(--brand);font-style:normal}.application-prep-panel{grid-column:1/-1}.application-prep-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.aid-prep-card{padding:16px;border:1px solid #e9edf4;border-radius:13px;background:linear-gradient(160deg,#fff,#fbfcff)}.aid-prep-card.regional{background:linear-gradient(160deg,#fff,#f8fbff)}.aid-prep-title{display:flex;align-items:center;gap:10px;margin-bottom:12px}.aid-prep-title b,.aid-prep-title small{display:block}.aid-prep-title b{font-size:12px}.aid-prep-title small{margin-top:3px;color:#8996a7;font-size:9px}.prep-step{display:grid;width:31px;height:31px;place-items:center;border-radius:10px;background:var(--brand-soft);color:var(--brand);font-size:10px;font-weight:800}.prep-checklist{display:grid;gap:8px;margin:12px 0 15px;padding:0;list-style:none}.prep-checklist li{display:flex;align-items:center;gap:8px;color:#768397;font-size:10px}.prep-checklist li.ready{color:#2c755c}.prep-check-icon{display:grid;width:18px;height:18px;place-items:center;border-radius:50%;background:#f0f3f7;color:#9aa6b5;font-size:10px}.prep-checklist .ready .prep-check-icon{background:#e5f6ed;color:#2d986d}.prep-note{display:block;margin-top:9px;color:#8a97a8;font-size:9px;line-height:1.5}.aid-prep-card .btn{margin-top:3px}.aid-prep-card .muted{margin:12px 0 16px}.prefill-details{margin-top:14px;padding-top:12px;border-top:1px solid #edf0f5}.prefill-details summary{color:var(--brand);cursor:pointer;font-size:10px;font-weight:700}.prefill-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 8px}.prefill-details textarea{width:100%;padding:11px;border:1px solid #e2e8f0;border-radius:9px;background:#f8fafc;color:#34465e;font:11px/1.6 "Segoe UI",sans-serif;resize:vertical}
@media(max-width:1100px){.workflow-strip{grid-template-columns:1fr}.workflow-steps{grid-template-columns:repeat(3,1fr)}}
@media(max-width:700px){.workflow-steps,.application-prep-grid{grid-template-columns:1fr}.workflow-step{padding:11px}.prefill-tools{align-items:flex-start;flex-direction:column}.application-prep-panel{grid-column:auto}}
