:root{--bg:#f5f7fa;--surface:#fff;--ink:#101828;--muted:#667085;--line:#e4e7ec;--brand:#173f5f;--brand2:#246b8f;--green:#12b76a;--amber:#f79009;--red:#f04438;--shadow:0 12px 34px rgba(16,24,40,.08)}
*{box-sizing:border-box}body{margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);color:var(--ink)}button,input{font:inherit}button{cursor:pointer}.app-shell{min-height:100vh;display:grid;grid-template-columns:250px 1fr}.sidebar{position:sticky;top:0;height:100vh;background:#101828;color:#fff;padding:22px 16px;display:flex;flex-direction:column;z-index:20;overflow:auto}.brand{display:flex;align-items:center;gap:12px;padding:0 10px 24px}.brand-mark{width:40px;height:40px;border-radius:13px;background:#fff;color:var(--brand);display:grid;place-items:center;font-weight:800;font-size:22px}.brand-name{font-size:20px;font-weight:800}.brand-subtitle{font-size:11px;color:#98a2b3}.nav{display:flex;flex-direction:column;gap:4px}.nav-label{font-size:10px;text-transform:uppercase;letter-spacing:.14em;color:#667085;font-weight:800;padding:18px 12px 6px}.nav-item{width:100%;border:0;background:transparent;color:#cbd5e1;border-radius:12px;padding:10px 12px;display:flex;align-items:center;gap:12px;text-align:left;font-weight:650}.nav-item span:first-child{width:22px;text-align:center}.nav-item:hover{background:rgba(255,255,255,.07);color:#fff}.nav-item.active{background:#fff;color:#101828}.sidebar-footer{margin-top:auto}.version{font-size:11px;color:#667085;padding:16px 12px}.main-column{min-width:0}.topbar{height:76px;background:rgba(255,255,255,.94);backdrop-filter:blur(15px);border-bottom:1px solid var(--line);display:flex;align-items:center;gap:18px;padding:0 28px;position:sticky;top:0;z-index:15}.mobile-menu{display:none;border:0;background:transparent;font-size:22px}.search-wrap{position:relative;flex:1;max-width:720px}.search-wrap input{width:100%;height:44px;border:1px solid var(--line);border-radius:13px;padding:0 76px 0 42px;background:#f9fafb;outline:0}.search-wrap input:focus{background:#fff;border-color:#84adca;box-shadow:0 0 0 4px rgba(36,107,143,.1)}.search-icon{position:absolute;left:15px;top:10px;font-size:21px;color:var(--muted)}.search-wrap kbd{position:absolute;right:10px;top:10px;border:1px solid var(--line);border-radius:7px;background:#fff;padding:3px 7px;font-size:12px;color:var(--muted)}.profile-button{border:0;background:transparent;display:flex;align-items:center;gap:10px;text-align:left}.profile-button>span:last-child{display:flex;flex-direction:column}.profile-button small{color:var(--muted)}.avatar{width:40px;height:40px;border-radius:50%;background:#e6eef4;color:var(--brand);display:grid!important;place-items:center;font-weight:800}.content{padding:34px;max-width:1500px;margin:auto}.page{display:none}.page.active{display:block}.page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:26px}.eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:11px;font-weight:800;color:var(--brand2);margin:0 0 7px}.eyebrow.light{color:#a9d0e4}h1{font-size:35px;line-height:1.15;letter-spacing:-.03em;margin:0}h2{font-size:21px;letter-spacing:-.015em;margin:0}.subhead{margin:8px 0 0;color:var(--muted)}.primary-button{border:0;border-radius:13px;background:#101828;color:#fff;padding:12px 17px;font-weight:750;box-shadow:0 8px 20px rgba(16,24,40,.15)}.text-button{border:0;background:transparent;color:var(--brand2);font-weight:750}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.attention-panel,.card{background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 2px 4px rgba(16,24,40,.02)}.attention-panel{padding:22px;margin-bottom:30px}.priority-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.priority-item{border:1px solid var(--line);background:#fff;border-radius:14px;padding:15px;display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;text-align:left}.priority-item:hover,.asset-card:hover,.application-card:hover,.location-card:hover{transform:translateY(-1px);border-color:#b8cbd8;box-shadow:0 8px 22px rgba(16,24,40,.07)}.status-dot{width:10px;height:10px;border-radius:50%}.status-dot.healthy{background:var(--green);box-shadow:0 0 0 5px rgba(18,183,106,.1)}.status-dot.attention{background:var(--amber);box-shadow:0 0 0 5px rgba(247,144,9,.12)}.status-dot.service{background:var(--red);box-shadow:0 0 0 5px rgba(240,68,56,.1)}.priority-copy{display:flex;flex-direction:column;gap:4px}.priority-copy small{color:var(--muted);font-size:13px}.dashboard-section{margin-bottom:30px}.asset-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.asset-grid.large{grid-template-columns:repeat(3,minmax(0,1fr))}.asset-card{border:1px solid var(--line);background:#fff;border-radius:17px;padding:17px;text-align:left;min-height:165px;display:flex;flex-direction:column;transition:.18s ease}.asset-head{display:flex;justify-content:space-between;gap:12px}.asset-icon{width:46px;height:46px;border-radius:14px;background:#eef4f7;display:grid;place-items:center;font-size:23px}.health{font-size:11px;font-weight:800;border-radius:999px;padding:6px 9px;height:max-content}.health.healthy{background:#ecfdf3;color:#027a48}.health.attention{background:#fffaeb;color:#b54708}.health.service{background:#fef3f2;color:#b42318}.asset-card h3{margin:14px 0 3px}.asset-card .location{font-size:12px;color:var(--muted);line-height:1.45}.asset-card .metric{margin-top:auto;border-top:1px solid var(--line);padding-top:13px;display:flex;justify-content:space-between;gap:10px;font-size:12px}.asset-card .metric span{color:var(--muted)}.application-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.application-card{border:1px solid var(--line);background:#fff;border-radius:16px;padding:17px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;text-align:left;min-height:92px;transition:.18s ease}.application-card>span:nth-child(2){display:flex;flex-direction:column;gap:4px}.application-card small{color:var(--muted)}.app-icon{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;font-size:22px;font-weight:800}.app-icon.home{background:#eef2ff;color:#444ce7}.app-icon.power{background:#fff7e8;color:#dc6803}.app-icon.maintenance{background:#eef4f7;color:#175cd3}.app-icon.network{background:#ecfdf3;color:#027a48}.app-icon.finance{background:#f4f3ff;color:#5925dc}.app-icon.operations{background:#fdf2fa;color:#c11574}.app-icon.library{background:#f2f4f7;color:#344054}.lower-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:18px}.card{padding:22px}.activity-list{display:flex;flex-direction:column}.activity{display:flex;align-items:center;gap:13px;padding:13px 0;border-top:1px solid var(--line)}.activity:first-child{border-top:0}.activity>span{width:36px;height:36px;background:#f0f3f7;border-radius:11px;display:grid;place-items:center}.activity div{display:flex;flex-direction:column;gap:3px}.activity small{color:var(--muted)}.principle-card{background:linear-gradient(145deg,#173f5f,#102f49);color:#fff;border:0}.principle-card h2{font-size:29px;line-height:1.15;margin:8px 0 14px}.principle-card p:last-child{color:#d0dde5;line-height:1.65}.filter-row{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.filter-chip{border:1px solid var(--line);background:#fff;color:var(--muted);border-radius:999px;padding:8px 12px;font-weight:750}.filter-chip.active{background:#101828;color:#fff;border-color:#101828}.location-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.location-card{border:1px solid var(--line);background:#fff;border-radius:18px;padding:20px;text-align:left;min-height:155px}.location-card h3{margin:14px 0 5px}.location-card p{margin:0;color:var(--muted);line-height:1.5;font-size:13px}.back-button{border:0;background:transparent;color:var(--brand2);font-weight:750;padding:0;margin-bottom:18px}.detail-hero{background:#fff;border:1px solid var(--line);border-radius:22px;padding:26px;margin-bottom:18px}.detail-top{display:flex;justify-content:space-between;gap:20px}.detail-identity{display:flex;gap:16px}.detail-icon{width:64px;height:64px;border-radius:18px;background:#eef4f7;display:grid;place-items:center;font-size:31px}.detail-id{color:var(--brand2);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;margin-top:6px}.detail-location{color:var(--muted);margin-top:10px}.detail-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:24px}.detail-stat{background:#f8fafc;border:1px solid var(--line);border-radius:14px;padding:15px}.detail-stat small{display:block;color:var(--muted);margin-bottom:5px}.detail-panels{display:grid;grid-template-columns:1.2fr .8fr;gap:18px}.detail-panel{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px}.quick-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.quick-tile{border:1px solid var(--line);background:#fff;border-radius:13px;padding:14px;text-align:left}.quick-tile span{display:block;font-size:20px;margin-bottom:8px}.record-row{padding:12px 0;border-top:1px solid var(--line)}.record-row:first-of-type{border-top:0}.record-row small{color:var(--muted)}.parts-list{display:flex;flex-direction:column;gap:10px}.part-row{border:1px solid var(--line);border-radius:13px;padding:13px}.part-row .retailers{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.retailer{border:1px solid var(--line);border-radius:9px;padding:8px 10px;text-decoration:none;color:var(--brand2);font-weight:750;font-size:12px}.placeholder{max-width:950px;margin:20px auto;background:#fff;border:1px solid var(--line);border-radius:22px;padding:34px}.placeholder-icon{width:58px;height:58px;border-radius:17px;background:#eef4f7;color:var(--brand);display:grid;place-items:center;font-size:27px;margin-bottom:20px}.placeholder p{color:var(--muted);line-height:1.65}.floating-action{position:fixed;right:28px;bottom:28px;width:58px;height:58px;border:0;border-radius:50%;background:#101828;color:#fff;font-size:30px;box-shadow:0 16px 30px rgba(16,24,40,.28);z-index:12}.modal-backdrop{position:fixed;inset:0;background:rgba(16,24,40,.5);backdrop-filter:blur(4px);display:none;align-items:center;justify-content:center;padding:20px;z-index:50}.modal-backdrop.open{display:flex}.modal{width:min(680px,100%);background:#fff;border-radius:22px;padding:24px;box-shadow:var(--shadow)}.modal-head{display:flex;justify-content:space-between;gap:15px;margin-bottom:20px}.close-button{border:0;background:#f2f4f7;width:38px;height:38px;border-radius:11px;font-size:25px}.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.quick-grid button{border:1px solid var(--line);background:#fff;border-radius:15px;padding:16px;text-align:left;display:grid;grid-template-columns:38px 1fr;column-gap:10px}.quick-grid button span{grid-row:1/3;width:38px;height:38px;border-radius:11px;background:#eef4f7;display:grid;place-items:center}.quick-grid button strong{align-self:end}.quick-grid button small{color:var(--muted);margin-top:3px}.modal-note{font-size:12px;color:var(--muted);margin:18px 0 0}.search-results{position:fixed;top:68px;left:278px;width:min(720px,calc(100vw - 350px));background:#fff;border:1px solid var(--line);border-radius:14px;padding:8px;box-shadow:var(--shadow);z-index:40;display:none}.search-results.open{display:block}.search-result{width:100%;border:0;background:#fff;border-radius:10px;padding:12px;text-align:left;display:flex;justify-content:space-between;gap:12px}.search-result:hover{background:#f2f4f7}.search-result small{color:var(--muted)}
@media(max-width:1100px){.asset-grid,.asset-grid.large,.application-grid,.location-grid{grid-template-columns:repeat(2,1fr)}.detail-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:800px){.app-shell{display:block}.sidebar{position:fixed;left:-270px;width:250px;transition:.2s ease}.sidebar.open{left:0}.mobile-menu{display:block}.topbar{padding:0 16px}.profile-button>span:last-child,.search-wrap kbd{display:none}.content{padding:24px 16px 90px}.page-heading,.detail-top{flex-direction:column}.primary-button{width:100%}.priority-grid,.asset-grid,.asset-grid.large,.application-grid,.lower-grid,.location-grid,.detail-panels,.quick-grid,.quick-actions{grid-template-columns:1fr}.search-results{left:16px;right:16px;width:auto}.floating-action{right:18px;bottom:18px}}@media(max-width:520px){h1{font-size:30px}.detail-grid{grid-template-columns:1fr}.attention-panel,.card{padding:17px}}
