@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap');
:root{--navy:#081a34;--navy2:#0d2445;--blue:#2563eb;--royal:#1746b0;--ink:#16243a;--muted:#69778d;--line:#e4e9f1;--bg:#f4f7fb;--white:#fff;--green:#0f9f6e;--red:#d43c51;--amber:#c47a13;--shadow:0 10px 35px rgba(20,42,79,.07)}*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:'DM Sans',sans-serif;color:var(--ink);background:var(--bg)}h1,h2,h3,strong{font-family:'Manrope',sans-serif}h1,h2,h3,p{margin-top:0}a{color:var(--blue);text-decoration:none}button,input,select{font:inherit}.eyebrow{font-weight:700;font-size:11px;letter-spacing:.14em;color:var(--blue);margin:0 0 8px}.brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:linear-gradient(145deg,#4f8cff,#174fc1);color:#fff;font-family:'Manrope';font-weight:800;box-shadow:0 8px 22px rgba(37,99,235,.28)}
.app-shell{display:flex;min-height:100vh}.sidebar{width:260px;background:linear-gradient(180deg,var(--navy),#07152a);color:#c8d5e8;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;z-index:20}.logo{height:88px;display:flex;align-items:center;gap:12px;padding:0 24px;color:#fff;border-bottom:1px solid rgba(255,255,255,.08)}.logo strong{display:block;font-size:16px}.logo small,.sidebar-footer small{display:block;color:#8496b1;font-size:11px;margin-top:2px}.sidebar nav{padding:22px 14px;flex:1}.sidebar nav a{display:flex;align-items:center;gap:12px;color:#9fb0c7;padding:11px 12px;border-radius:9px;margin-bottom:5px;font-size:14px;font-weight:500}.sidebar nav a:hover,.sidebar nav a.active{background:rgba(67,120,218,.18);color:#fff}.sidebar nav a.active{box-shadow:inset 3px 0 #4d8cff}.nav-icon{display:grid;place-items:center;width:24px;height:24px;border-radius:7px;background:rgba(255,255,255,.08);font-size:10px}.sidebar nav em{font-style:normal;font-size:9px;text-transform:uppercase;background:rgba(255,255,255,.08);padding:3px 5px;border-radius:4px;margin-left:auto;color:#778ba8}.sidebar-footer{display:flex;gap:10px;align-items:center;padding:18px;border-top:1px solid rgba(255,255,255,.08);font-size:12px}.sidebar-footer>span{min-width:0;flex:1}.sidebar-footer strong{white-space:nowrap;display:block;overflow:hidden;text-overflow:ellipsis}.avatar{display:grid;place-items:center;background:#2456ad;color:#fff;width:35px;height:35px;border-radius:50%;font-weight:700}.icon-button{border:0;background:transparent;color:#91a2b9;font-size:18px;cursor:pointer}.main{margin-left:260px;min-width:0;flex:1}.topbar{height:88px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 36px;justify-content:space-between;position:sticky;top:0;z-index:10}.topbar .eyebrow{font-size:9px;margin-bottom:2px}.topbar strong{font-size:17px}.top-user{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:8px}.status-dot{width:8px;height:8px;border-radius:50%;background:#1fc887;box-shadow:0 0 0 4px #e3f8ef}.menu-button{display:none}.content{padding:36px;max-width:1480px;margin:auto}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:28px;gap:20px}.page-heading h1{font-size:29px;margin:0 0 6px;letter-spacing:-.03em}.page-heading p{color:var(--muted);margin-bottom:0}.page-heading.compact{align-items:center}.back-link{display:block;font-size:13px;margin-bottom:14px}.heading-actions,.actions{display:flex;gap:9px}.heading-actions form{margin:0}.title-with-status{display:flex;align-items:center;gap:12px}.title-with-status h1{margin:0}.button{display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:9px;padding:10px 16px;font-weight:700;font-size:13px;cursor:pointer;white-space:nowrap}.button.primary{background:linear-gradient(135deg,#2b6ff1,#174ab9);color:#fff;box-shadow:0 7px 16px rgba(37,99,235,.18)}.button.secondary{background:#fff;border-color:#d7deea;color:#34445d}.button.danger{background:#fff4f5;border-color:#ffd6da;color:var(--red)}.button.wide{width:100%}.panel{background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow)}.alert{padding:13px 16px;border-radius:9px;margin-bottom:20px;font-size:13px}.alert.success{background:#e9f9f2;color:#087b54;border:1px solid #c7efdf}.alert.error{background:#fff0f1;color:#b82c40;border:1px solid #ffd2d8}.metric-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:22px}.metric-card{background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);padding:23px;display:flex;gap:18px;align-items:center;position:relative;overflow:hidden}.metric-card:after{content:"";position:absolute;right:-25px;top:-25px;width:85px;height:85px;border-radius:50%;opacity:.08;background:currentColor}.metric-icon{width:49px;height:49px;border-radius:13px;display:grid;place-items:center;font-weight:800;font-family:'Manrope';background:#edf3ff;color:var(--blue)}.metric-card.green .metric-icon{background:#eaf9f3;color:var(--green)}.metric-card.amber .metric-icon{background:#fff6e8;color:var(--amber)}.metric-card small{display:block;color:var(--muted);font-size:12px}.metric-card strong{display:block;font-size:28px;margin:2px 0}.metric-card p{margin:0;color:#8490a2;font-size:11px}.panel-head{display:flex;justify-content:space-between;align-items:center;padding:22px 24px;border-bottom:1px solid var(--line)}.panel-head h2{font-size:17px;margin:0 0 3px}.panel-head p{font-size:12px;color:var(--muted);margin:0}.panel-head a{font-size:12px;font-weight:600}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px}th{text-align:left;color:#7e8b9e;font-weight:600;background:#fafbfd;border-bottom:1px solid var(--line);padding:11px 18px;white-space:nowrap}td{border-bottom:1px solid #edf0f5;padding:14px 18px;vertical-align:middle}tbody tr:hover{background:#fbfcff}tbody tr:last-child td{border-bottom:0}.company{display:flex;align-items:center;gap:10px;min-width:180px}.company>span{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#eaf1ff;color:#245cc9;font-weight:800}.company strong,.company small{display:block}.company small,td small{color:var(--muted);margin-top:2px}code{background:#eef3fa;color:#315176;border-radius:5px;padding:4px 7px;font-family:monospace}.badge{display:inline-flex;align-items:center;gap:5px;border-radius:99px;padding:5px 9px;font-weight:700;font-size:10px}.badge:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.badge.active{background:#e8f8f1;color:#0a8b5d}.badge.inactive{background:#f1f3f6;color:#6c7889}.empty{text-align:center;padding:58px 20px;color:var(--muted)}.empty>span,.coming-soon>span{display:grid;place-items:center;margin:0 auto 14px;width:54px;height:54px;border-radius:15px;background:#edf3ff;color:var(--blue);font-size:25px}.empty h3{color:var(--ink);margin-bottom:8px}.filters{display:flex;gap:10px;padding:18px 20px;border-bottom:1px solid var(--line)}.search{flex:1;position:relative}.search span{position:absolute;left:13px;top:9px;color:#8290a4;font-size:20px}.search input,.filters select,input,select{border:1px solid #d8dfeb;border-radius:8px;background:#fff;min-height:41px;padding:9px 12px;color:var(--ink);outline:none}.search input{width:100%;padding-left:40px}.search input:focus,input:focus,select:focus{border-color:#6c98ed;box-shadow:0 0 0 3px #eaf1ff}.result-count{padding:12px 20px 0;font-size:11px;color:var(--muted)}.pagination{border-top:1px solid var(--line);padding:14px 18px;display:flex;justify-content:space-between;color:var(--muted);font-size:11px}.pagination a{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:6px;color:var(--muted)}.pagination a.current{background:var(--blue);color:#fff}.form-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px;align-items:start}.form-panel{padding:26px}.section-title{display:flex;gap:13px;border-bottom:1px solid var(--line);padding-bottom:18px;margin-bottom:20px}.section-title.second{margin-top:30px}.section-title>span{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;background:#edf3ff;color:var(--blue);font-family:'Manrope';font-weight:800;font-size:11px}.section-title h2{font-size:16px;margin:0 0 3px}.section-title p{color:var(--muted);font-size:12px;margin:0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.form-grid label,.stack-form label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600}.form-grid label.full{grid-column:1/-1}.form-grid b{color:var(--red)}.form-grid small{font-weight:400;color:var(--muted)}.form-grid small.field-error{color:var(--red)}.status-panel,.form-actions{padding:20px;margin-bottom:16px}.status-panel h2{font-size:15px;margin-bottom:7px}.status-panel>p{font-size:11px;line-height:1.6;color:var(--muted)}.switch-row{position:relative;display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding-top:16px}.switch-row strong,.switch-row small{display:block;font-size:12px}.switch-row small{color:var(--muted);margin-top:3px}.switch-row input{opacity:0;position:absolute}.switch-row i{width:39px;height:22px;border-radius:20px;background:#b7c0cc;position:relative}.switch-row i:after{content:"";position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#fff;transition:.2s}.switch-row input:checked+i{background:var(--blue)}.switch-row input:checked+i:after{left:20px}.form-actions{display:flex;flex-direction:column;gap:9px}.detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:20px}.tenant-hero{padding:26px;display:flex;gap:18px;align-items:center;border-bottom:1px solid var(--line);background:linear-gradient(120deg,#f9fbff,#fff)}.tenant-hero>span{width:62px;height:62px;border-radius:17px;display:grid;place-items:center;background:linear-gradient(145deg,#4381ee,#1848aa);color:#fff;font:800 24px 'Manrope'}.tenant-hero h2{margin:0 0 3px}.tenant-hero p{color:var(--muted);margin:0}.detail-grid{display:grid;grid-template-columns:1fr 1fr;padding:8px 26px 24px}.detail-grid>div{padding:18px 8px;border-bottom:1px solid #edf0f5}.detail-grid small,.detail-grid strong{display:block}.detail-grid small{color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.06em;margin-bottom:6px}.detail-grid strong{font-size:12px}.future-stack>h3{font-size:14px;margin:4px 0 13px}.future-card{display:flex;align-items:center;gap:11px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:13px;margin-bottom:9px}.future-card>span{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:#f0f4fa;color:#789}.future-card div{flex:1}.future-card strong,.future-card small{display:block;font-size:11px}.future-card small{color:var(--muted);margin-top:3px}.future-card em{font-style:normal;font-size:8px;text-transform:uppercase;color:#8995a7;background:#f1f3f7;padding:3px 5px;border-radius:4px}.coming-soon{text-align:center;padding:90px 20px;max-width:720px;margin:40px auto}.coming-soon h1{margin-bottom:10px}.coming-soon>p:not(.eyebrow){max-width:480px;margin:0 auto 24px;color:var(--muted);line-height:1.7}
.auth-body{background:#07162c}.auth-shell{min-height:100vh;display:grid;grid-template-columns:1.05fr .95fr}.auth-brand{position:relative;overflow:hidden;padding:10vh 10vw;color:#fff;background:radial-gradient(circle at 30% 30%,#194b9d 0,#0b2449 40%,#07162c 75%);display:flex;flex-direction:column;justify-content:center}.auth-brand:after{content:"";position:absolute;width:420px;height:420px;border:1px solid rgba(88,143,241,.2);border-radius:50%;right:-160px;bottom:-160px;box-shadow:0 0 0 70px rgba(88,143,241,.04),0 0 0 140px rgba(88,143,241,.03)}.auth-brand .brand-mark{margin-bottom:70px}.auth-brand .eyebrow{color:#69a0ff}.auth-brand h1{font-size:46px;line-height:1.08;letter-spacing:-.04em;max-width:520px;margin:0 0 22px}.auth-brand>p:not(.eyebrow){font-size:17px;color:#aebed4;line-height:1.7;max-width:500px}.route-lines{display:flex;gap:8px;margin-top:55px}.route-lines span{height:3px;border-radius:3px;background:#2563eb;width:85px}.route-lines span:nth-child(2){width:42px;background:#14b887}.route-lines span:nth-child(3){width:16px;background:#fff}.auth-card{background:#fff;padding:10vh 10vw;display:flex;flex-direction:column;justify-content:center}.login-copy h2{font-size:30px;margin:0 0 8px}.login-copy>p:last-child{color:var(--muted);margin-bottom:30px}.stack-form{display:flex;flex-direction:column;gap:18px}.stack-form input{min-height:47px}.stack-form .button{min-height:48px;margin-top:6px;justify-content:space-between;padding:0 20px}.security-note{font-size:10px;color:#929baa;text-align:center;margin-top:25px}.mobile-brand{display:none}
@media(max-width:900px){.sidebar{transform:translateX(-100%);transition:.25s;box-shadow:15px 0 35px rgba(0,0,0,.2)}.sidebar.open{transform:translateX(0)}.main{margin-left:0}.menu-button{display:block;border:0;background:transparent;font-size:20px;margin-right:14px}.topbar{justify-content:flex-start;padding:0 20px}.top-user{margin-left:auto}.content{padding:25px 18px}.metric-grid{grid-template-columns:1fr}.form-layout,.detail-layout{grid-template-columns:1fr}.auth-shell{grid-template-columns:1fr}.auth-brand{display:none}.auth-card{min-height:100vh;padding:40px 8vw}.mobile-brand{display:flex;align-items:center;gap:10px;margin-bottom:60px}.mobile-brand .brand-mark{width:36px;height:36px}.page-heading{align-items:flex-start}.table-wrap{max-width:calc(100vw - 36px)}}@media(max-width:580px){.top-user{display:none}.topbar{height:70px}.page-heading{display:block}.page-heading>.button,.heading-actions{margin-top:18px}.heading-actions{flex-wrap:wrap}.form-grid,.detail-grid{grid-template-columns:1fr}.form-grid label.full{grid-column:auto}.filters{flex-direction:column}.metric-card{padding:18px}.content{padding:22px 14px}.auth-card{padding:30px 22px}.login-copy h2{font-size:26px}}

