/* 一秒互联公司 www.yimiaonet.com */
:root {
  --ink: #152220;
  --ink-2: #263735;
  --muted: #6d7977;
  --line: #dfe5e2;
  --line-2: #cbd4d0;
  --canvas: #eef1ef;
  --paper: #ffffff;
  --paper-2: #f7f9f8;
  --deep: #162827;
  --deep-2: #203836;
  --teal: #397b79;
  --teal-soft: #e6f0ee;
  --amber: #d19b52;
  --amber-soft: #f8efe2;
  --danger: #b54f4a;
  --danger-soft: #f8e9e7;
  --blue: #58758b;
  --shadow: 0 12px 32px rgba(23, 42, 40, .08);
  --sidebar: 238px;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--canvas); scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--canvas); font-family: "Microsoft YaHei UI", "PingFang SC", Arial, sans-serif; font-size: 14px; line-height: 1.55; letter-spacing: 0; }
button, input, textarea, select { font: inherit; letter-spacing: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid rgba(57, 123, 121, .26); outline-offset: 2px; }
button:disabled { cursor: not-allowed; opacity: .58; }
a { color: inherit; }
svg { width: 18px; height: 18px; stroke-width: 1.8; }
mark { color: inherit; background: none; }
[hidden] { display: none !important; }

.app-shell { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 40; width: var(--sidebar); display: flex; flex-direction: column; padding: 22px 15px 16px; color: #d8e1de; background: var(--deep); border-right: 1px solid rgba(255,255,255,.07); overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 3px 8px 18px; color: white; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.09); }
.brand-mark { position: relative; width: 36px; height: 40px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.52); }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; background: var(--amber); }
.brand-mark::before { width: 7px; height: 7px; right: -4px; top: 7px; }
.brand-mark::after { width: 16px; height: 2px; bottom: 7px; left: 9px; }
.brand-mark i { position: absolute; inset: 6px; border: 1px solid rgba(255,255,255,.18); }
.brand-mark b { font-family: Georgia, serif; font-size: 21px; font-weight: 500; }
.brand > span:last-child { min-width: 0; display: flex; flex-direction: column; }
.brand strong { font-size: 16px; font-weight: 800; white-space: nowrap; }
.brand small { color: #8fa29e; font: 8px/1.4 Consolas, monospace; white-space: nowrap; }
.primary-nav { display: grid; gap: 4px; margin-top: 18px; }
.primary-nav button { width: 100%; min-height: 43px; display: flex; align-items: center; gap: 11px; padding: 0 12px; color: #aebebb; background: transparent; border: 0; cursor: pointer; text-align: left; transition: .2s ease; }
.primary-nav button:hover { color: white; background: rgba(255,255,255,.055); }
.primary-nav button.active { color: white; background: #29413f; box-shadow: inset 3px 0 0 var(--amber); }
.primary-nav button svg { width: 17px; }
.primary-nav button span { flex: 1; }
.primary-nav button b { min-width: 23px; height: 20px; display: grid; place-items: center; color: #fbf4ea; background: rgba(209,155,82,.19); font-size: 11px; border: 1px solid rgba(209,155,82,.35); }
.sidebar-label { margin: 24px 12px 0; color: #758985; font: 10px/1.4 Consolas, monospace; text-transform: uppercase; }
.secondary-nav { margin-top: 7px; }
.portfolio-switch { margin-top: auto; padding: 18px 6px 12px; border-top: 1px solid rgba(255,255,255,.08); }
.portfolio-switch > span { display: block; margin: 0 6px 8px; color: #758985; font-size: 11px; }
.portfolio-switch button { width: 100%; display: flex; align-items: center; gap: 9px; padding: 10px 8px; color: white; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); cursor: pointer; }
.portfolio-switch button > span { min-width: 0; flex: 1; display: flex; flex-direction: column; text-align: left; }
.portfolio-switch button strong { font-size: 13px; }
.portfolio-switch button small { color: #8fa29e; font-size: 10px; }
.project-dot { width: 8px; height: 8px; flex: 0 0 auto; background: #72aaa5; box-shadow: 0 0 0 4px rgba(114,170,165,.12); }
.portfolio-switch button > svg { width: 14px; }
.sidebar-footer { display: grid; gap: 6px; padding: 0 6px; }
.sidebar-footer button, .sidebar-footer a { min-height: 34px; display: flex; align-items: center; gap: 8px; padding: 0 8px; color: #8fa29e; background: transparent; border: 0; text-decoration: none; font-size: 11px; cursor: pointer; text-align: left; }
.sidebar-footer button:hover, .sidebar-footer a:hover { color: white; }
.sidebar-footer svg { width: 14px; }

.main-shell { min-height: 100vh; margin-left: var(--sidebar); display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 30; height: 64px; flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 0 26px; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.topbar-left, .topbar-actions { display: flex; align-items: center; gap: 10px; }
.breadcrumb { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 13px; }
.breadcrumb svg { width: 13px; }
.breadcrumb strong { color: var(--ink); }
.icon-button { width: 36px; height: 36px; flex: 0 0 auto; display: grid; place-items: center; padding: 0; background: var(--paper); border: 1px solid var(--line); cursor: pointer; transition: .18s ease; }
.icon-button:hover { border-color: var(--line-2); background: var(--paper-2); transform: translateY(-1px); }
.mobile-menu { display: none; }
.system-online { display: flex; align-items: center; gap: 7px; padding-right: 11px; color: #50615f; font-size: 12px; border-right: 1px solid var(--line); white-space: nowrap; }
.system-online i, .map-controls span i { width: 7px; height: 7px; background: #5f9b85; border-radius: 50%; box-shadow: 0 0 0 4px rgba(95,155,133,.12); }
.search-button { min-width: 248px; height: 36px; display: flex; align-items: center; gap: 8px; padding: 0 10px; color: #7a8583; background: var(--paper-2); border: 1px solid var(--line); cursor: pointer; }
.search-button span { flex: 1; text-align: left; }
.search-button kbd { padding: 2px 5px; color: #87918f; background: white; border: 1px solid var(--line); font: 10px/1.3 Consolas, monospace; }
.notification-dot { position: absolute; width: 7px; height: 7px; margin: -20px 0 0 21px; background: var(--danger); border: 2px solid white; border-radius: 50%; }
.ai-entry { height: 36px; display: flex; align-items: center; gap: 7px; padding: 0 12px; color: white; background: var(--deep); border: 1px solid var(--deep); cursor: pointer; }
.ai-entry:hover { background: #223c39; }
.ai-entry svg { width: 15px; color: var(--amber); }
.account-button { height: 36px; display: flex; align-items: center; gap: 5px; padding: 0 6px 0 0; background: transparent; border: 0; cursor: pointer; }
.account-button span { width: 32px; height: 32px; display: grid; place-items: center; color: white; background: var(--teal); font-weight: 800; }
.account-button svg { width: 13px; }

.content-area { width: 100%; max-width: 1780px; margin: 0 auto; flex: 1; padding: 27px 28px 36px; }
.page { display: none; animation: pageIn .32s ease both; }
.page.active { display: block; }
@keyframes pageIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.page-heading { min-height: 62px; display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; margin-bottom: 22px; }
.page-heading h1 { margin: 3px 0 2px; font-family: Georgia, "Songti SC", serif; font-size: 28px; line-height: 1.25; font-weight: 600; }
.page-heading p { margin: 0; color: var(--muted); }
.eyebrow { color: var(--teal); font: 10px/1.4 Consolas, monospace; text-transform: uppercase; }
.heading-actions { display: flex; gap: 8px; }
.primary-button, .secondary-button { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 15px; border: 1px solid; cursor: pointer; text-decoration: none; transition: .18s ease; }
.primary-button { color: white; background: var(--deep); border-color: var(--deep); }
.primary-button:hover { background: #27433f; transform: translateY(-1px); box-shadow: 0 7px 16px rgba(22,40,39,.13); }
.secondary-button { color: var(--ink); background: white; border-color: var(--line-2); }
.secondary-button:hover { background: var(--paper-2); border-color: #9faaa7; }
.secondary-button.full { width: 100%; }
.panel { background: var(--paper); border: 1px solid var(--line); box-shadow: 0 1px 0 rgba(22,40,39,.02); }
.panel-header { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.panel-header > div:first-child { min-width: 0; }
.panel-header span:not(.status):first-child { color: #81908d; font: 9px/1.4 Consolas, monospace; }
.panel-header h2 { margin: 1px 0 0; font-size: 16px; line-height: 1.3; }
.panel-header > button:not(.icon-button), .panel-header > div > button { display: inline-flex; align-items: center; gap: 5px; padding: 5px; color: var(--muted); background: transparent; border: 0; font-size: 12px; cursor: pointer; }
.panel-header > button:hover { color: var(--ink); }
.panel-header > mark { padding: 4px 8px; color: var(--teal); background: var(--teal-soft); font-size: 11px; }

.metric-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-bottom: 16px; background: white; border: 1px solid var(--line); }
.metric-strip article { min-height: 97px; padding: 17px 19px; border-right: 1px solid var(--line); }
.metric-strip article:last-child { border-right: 0; }
.metric-strip span { display: block; color: var(--muted); font-size: 12px; }
.metric-strip strong { display: block; margin-top: 2px; font: 600 27px/1.25 Georgia, serif; }
.metric-strip strong small { margin-left: 3px; color: #7d8986; font: 11px/1.2 "Microsoft YaHei UI", sans-serif; }
.metric-strip p { margin: 3px 0 0; color: #89928f; font-size: 11px; }
.metric-strip p b { color: #3c8069; }
.metric-strip p em { color: var(--danger); font-style: normal; }

.command-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(330px, .75fr); gap: 16px; }
.campus-panel { min-width: 0; overflow: hidden; }
.map-controls { display: flex; align-items: center; gap: 8px; }
.map-controls > span { display: flex; align-items: center; gap: 7px; margin-right: 4px; color: var(--muted) !important; font: 11px/1.4 "Microsoft YaHei UI", sans-serif !important; }
.campus-map { position: relative; height: 426px; overflow: hidden; color: white; background: #1b302e; isolation: isolate; }
.campus-map::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(circle at 68% 34%, rgba(89,130,124,.22), transparent 30%), linear-gradient(146deg, #253d3a, #122423 76%); }
.campus-map::after { content: ""; position: absolute; inset: 0; z-index: 10; pointer-events: none; box-shadow: inset 0 0 70px rgba(0,0,0,.26); }
.map-grid { position: absolute; inset: -30%; z-index: -1; opacity: .14; background-image: linear-gradient(rgba(255,255,255,.2) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.2) 1px, transparent 1px); background-size: 32px 32px; transform: perspective(450px) rotateX(58deg) rotateZ(-8deg) scale(1.25); }
.road { position: absolute; background: rgba(8,16,15,.32); border: 1px solid rgba(255,255,255,.05); }
.road-h { left: -4%; right: -4%; top: 49%; height: 52px; transform: rotate(-6deg); }
.road-h span { position: absolute; right: 8%; top: 14px; color: rgba(255,255,255,.26); font: 10px Consolas, monospace; }
.road-v { width: 46px; height: 130%; left: 43%; top: -12%; transform: rotate(8deg); }
.building { --x: 0; --y: 0; --w: 20%; --h: 20%; position: absolute; left: var(--x); top: var(--y); width: var(--w); height: var(--h); display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: 15px; color: white; background: linear-gradient(145deg, rgba(107,145,139,.42), rgba(49,76,72,.78)); border: 1px solid rgba(198,222,215,.24); box-shadow: 14px 16px 0 rgba(5,13,12,.16), inset 0 0 0 1px rgba(255,255,255,.04); cursor: pointer; clip-path: polygon(8% 0, 100% 7%, 92% 100%, 0 91%); transition: .28s ease; }
.building::before { content: ""; position: absolute; inset: 10px 12px 34px; opacity: .26; background-image: repeating-linear-gradient(90deg, transparent 0 14px, rgba(204,235,226,.5) 14px 16px), repeating-linear-gradient(0deg, transparent 0 16px, rgba(204,235,226,.34) 16px 18px); }
.building:hover, .building.selected { z-index: 4; background: linear-gradient(145deg, rgba(92,155,146,.58), rgba(40,76,71,.88)); border-color: rgba(209,155,82,.72); transform: translateY(-6px); }
.building > span { position: absolute; top: 13px; left: 15px; color: rgba(255,255,255,.74); font: 25px/1 Georgia, serif; }
.building b, .building small { position: relative; z-index: 2; }
.building b { font-size: 13px; }
.building small { color: #a9c5bf; font-size: 10px; }
.map-alert { --x: 50%; --y: 50%; position: absolute; z-index: 8; left: var(--x); top: var(--y); min-height: 31px; display: flex; align-items: center; gap: 6px; padding: 0 9px; color: white; background: rgba(20,31,30,.94); border: 1px solid rgba(255,255,255,.18); box-shadow: 0 10px 24px rgba(0,0,0,.25); cursor: pointer; transform: translate(-50%,-50%); }
.map-alert::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 10px; height: 10px; background: inherit; border-right: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); transform: rotate(45deg); }
.map-alert svg { width: 14px; }
.map-alert.critical { border-color: rgba(219,107,99,.75); }
.map-alert.critical svg { color: #e57b73; }
.map-alert.warning svg { color: var(--amber); }
.map-alert.pulse::before { content: ""; position: absolute; inset: -7px; border: 1px solid rgba(229,123,115,.55); animation: alertPulse 2s ease-out infinite; }
@keyframes alertPulse { 0% { opacity: .8; transform: scale(.9); } 80%,100% { opacity: 0; transform: scale(1.22); } }
.map-legend { position: absolute; left: 17px; bottom: 16px; z-index: 12; display: flex; gap: 13px; padding: 8px 10px; color: #a9b7b4; background: rgba(12,25,23,.78); border: 1px solid rgba(255,255,255,.09); font-size: 10px; }
.map-legend span { display: flex; align-items: center; gap: 5px; }
.map-legend i { width: 7px; height: 7px; }
.map-legend .normal { background: #70a79e; }.map-legend .warn { background: var(--amber); }.map-legend .danger { background: #d36b64; }
.map-mode-label { position: absolute; right: 16px; bottom: 16px; z-index: 12; color: rgba(255,255,255,.65); font: 10px Consolas, monospace; }
.campus-map.energy-mode .building { filter: sepia(.25); }
.campus-map.energy-mode .building-a { background: #5a5b47; }.campus-map.energy-mode .building-b { background: #405b51; }.campus-map.energy-mode .building-c { background: #795742; }.campus-map.energy-mode .building-d { background: #375851; }
.building-summary { min-height: 73px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 17px; }
.building-summary > span { min-width: 180px; display: flex; flex-direction: column; }
.building-summary > span strong { font-size: 14px; }.building-summary > span small { color: var(--muted); font-size: 10px; }
.building-summary dl { flex: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.building-summary dl div { padding: 0 13px; border-left: 1px solid var(--line); }
.building-summary dt { color: var(--muted); font-size: 10px; }.building-summary dd { margin: 1px 0 0; font-weight: 800; }.building-summary dd.good { color: #3d806a; }

.event-panel { min-width: 0; }
.event-priority { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 15px; color: var(--muted); background: var(--paper-2); border-bottom: 1px solid var(--line); font-size: 11px; }
.event-priority mark { color: var(--teal); font-weight: 800; }
.event-item { width: 100%; min-height: 88px; display: flex; align-items: flex-start; gap: 10px; padding: 14px 15px; background: white; border: 0; border-bottom: 1px solid var(--line); cursor: pointer; text-align: left; transition: .18s ease; }
.event-item:hover { background: #fafcfb; transform: translateX(-2px); }
.event-item > svg { width: 17px; margin-top: 2px; color: var(--blue); }
.event-item.critical > svg { color: var(--danger); }.event-item.warning > svg { color: var(--amber); }.event-item.resolved > svg { color: var(--teal); }
.event-item > span { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.event-item strong { font-size: 13px; }.event-item small { color: var(--muted); font-size: 10px; }.event-item em { margin-top: 5px; color: #71807d; font-size: 10px; font-style: normal; }
.event-item > mark { padding: 2px 5px; color: var(--danger); background: var(--danger-soft); font: 10px Consolas, monospace; }
.event-item.warning > mark { color: #93662f; background: var(--amber-soft); }.event-item.resolved > mark { color: var(--teal); background: var(--teal-soft); }

.dashboard-lower { display: grid; grid-template-columns: 1.05fr 1.05fr .9fr; gap: 16px; margin-top: 16px; }
.workorder-overview, .equipment-health, .energy-mini { min-height: 254px; }
.workorder-overview { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto 1fr; }
.workorder-overview .panel-header { grid-column: 1/-1; }
.completion-ring { width: 116px; height: 116px; align-self: center; display: grid; place-items: center; margin: 17px; border-radius: 50%; background: conic-gradient(var(--teal) 0 89%, #e7ecea 89%); position: relative; }
.completion-ring::after { content: ""; position: absolute; inset: 11px; background: white; border-radius: 50%; }
.completion-ring span { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }.completion-ring b { font: 600 27px Georgia, serif; }.completion-ring small { color: var(--muted); font-size: 9px; }
.delivery-list { display: grid; align-content: center; gap: 13px; padding: 15px 18px 15px 0; }
.delivery-list p { display: grid; grid-template-columns: 62px minmax(70px,1fr) 48px; align-items: center; gap: 8px; margin: 0; font-size: 10px; }.delivery-list p > i { height: 5px; background: #e9edeb; }.delivery-list p > i b { display: block; height: 100%; background: var(--teal); }.delivery-list strong { text-align: right; font-size: 10px; }
.health-cards { display: grid; gap: 8px; padding: 14px; }
.health-cards button { min-height: 48px; display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: var(--paper-2); border: 1px solid transparent; cursor: pointer; text-align: left; }.health-cards button:hover { border-color: var(--line-2); }.health-cards button > svg { width: 17px; color: var(--teal); }.health-cards button > span { flex: 1; display: flex; flex-direction: column; }.health-cards strong { font-size: 12px; }.health-cards small { color: var(--muted); font-size: 9px; }.health-cards button > b { font: 600 19px Georgia, serif; }.health-cards button.warn > svg, .health-cards button.warn > b { color: var(--amber); }
.energy-total { display: flex; align-items: flex-end; justify-content: space-between; padding: 16px 16px 4px; }.energy-total span { display: flex; align-items: baseline; gap: 4px; }.energy-total strong { font: 600 25px Georgia, serif; }.energy-total small { color: var(--muted); font-size: 9px; }.energy-total mark { color: #3d806a; font-size: 10px; }
.spark-chart { height: 112px; display: flex; align-items: flex-end; gap: 5px; padding: 13px 16px 16px; }.spark-chart i { flex: 1; min-width: 4px; background: #d9e4e0; transition: .2s ease; }.spark-chart i:hover, .spark-chart i.current { background: var(--teal); }
.prototype-banner { min-height: 61px; display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 12px 16px; color: #c8d5d2; background: var(--deep); border-left: 4px solid var(--amber); }.prototype-banner > svg { color: var(--amber); }.prototype-banner > span { flex: 1; display: flex; flex-direction: column; }.prototype-banner strong { color: white; font-size: 12px; }.prototype-banner small { color: #9eafab; font-size: 10px; }.prototype-banner button { padding: 6px 8px; color: white; background: transparent; border: 1px solid rgba(255,255,255,.18); cursor: pointer; font-size: 11px; }

.event-kpis, .asset-kpis, .inspection-summary, .energy-kpis, .space-kpis { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); margin-bottom: 15px; background: white; border: 1px solid var(--line); }
.event-kpis article, .inspection-summary article, .energy-kpis article, .space-kpis article { min-height: 78px; padding: 14px 17px; border-right: 1px solid var(--line); }.event-kpis article:last-child, .inspection-summary article:last-child, .energy-kpis article:last-child, .space-kpis article:last-child { border-right: 0; }
.event-kpis span, .inspection-summary span, .energy-kpis span, .space-kpis span { color: var(--muted); font-size: 11px; }.event-kpis strong, .inspection-summary strong, .energy-kpis strong, .space-kpis strong { display: block; margin-top: 2px; font: 600 24px Georgia, serif; }.event-kpis strong small, .inspection-summary strong small, .energy-kpis strong small, .space-kpis strong small { margin-left: 2px; color: var(--muted); font: 10px "Microsoft YaHei UI", sans-serif; }.event-kpis article > small, .inspection-summary article > small, .energy-kpis p { color: #69817c; font-size: 10px; }.danger-text { color: var(--danger) !important; }
.toolbar { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 12px; padding: 8px 11px; background: white; border: 1px solid var(--line); }
.segmented { display: inline-flex; align-items: center; padding: 3px; background: var(--paper-2); border: 1px solid var(--line); }.segmented button { min-height: 31px; padding: 0 12px; color: var(--muted); background: transparent; border: 0; cursor: pointer; font-size: 11px; }.segmented button.active { color: white; background: var(--deep); }.segmented.compact button { min-height: 27px; padding: 0 9px; }
.toolbar label, .asset-toolbar label { min-width: 285px; height: 35px; display: flex; align-items: center; gap: 7px; padding: 0 9px; background: var(--paper-2); border: 1px solid var(--line); }.toolbar label svg, .asset-toolbar label svg { width: 15px; color: var(--muted); }.toolbar input, .asset-toolbar input { width: 100%; min-width: 0; background: transparent; border: 0; outline: 0; }
.event-table { overflow-x: auto; }
.event-row { width: 100%; min-width: 940px; min-height: 67px; display: grid; grid-template-columns: minmax(255px,1.6fr) minmax(145px,.85fr) minmax(110px,.65fr) minmax(105px,.6fr) minmax(105px,.6fr) 75px 25px; align-items: center; gap: 10px; padding: 9px 14px; background: white; border: 0; border-bottom: 1px solid var(--line); text-align: left; cursor: pointer; }.event-row:not(.table-head):hover { background: #fafcfb; }.event-row.table-head { min-height: 41px; color: var(--muted); background: var(--paper-2); font-size: 10px; cursor: default; }.event-row > span { min-width: 0; font-size: 11px; }.event-row > span > small { display: block; color: var(--muted); font-size: 9px; }.event-name { display: flex; align-items: center; gap: 10px; }.event-name > mark { flex: 0 0 auto; padding: 3px 5px; color: white; background: var(--danger); font: 9px Consolas,monospace; }.event-name > mark.p2 { background: var(--amber); }.event-name > mark.p3 { background: var(--blue); }.event-name > i { min-width: 0; display: flex; flex-direction: column; font-style: normal; }.event-name b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }.avatar { width: 23px; height: 23px; display: inline-grid; place-items: center; margin-right: 3px; color: white; background: var(--teal); border-radius: 50%; font-size: 9px; font-style: normal; }.status { display: inline-block; padding: 3px 6px; font-size: 9px; font-style: normal; }.status.todo { color: #966835; background: var(--amber-soft); }.status.processing { color: var(--teal); background: var(--teal-soft); }.status.closed { color: #5f6b69; background: #edf0ef; }

.dispatch-layout { display: grid; grid-template-columns: minmax(0,1fr) 270px; gap: 15px; }.dispatch-board { min-width: 0; overflow: hidden; }.dispatch-date { display: flex; align-items: center; gap: 6px; }.dispatch-date .icon-button { width: 27px; height: 27px; }.dispatch-date strong { font-size: 11px; }.kanban-board { min-height: 600px; display: grid; grid-template-columns: repeat(4,minmax(230px,1fr)); gap: 1px; background: var(--line); overflow-x: auto; }.kanban-column { min-width: 230px; padding: 13px; background: #f6f8f7; }.kanban-column > header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 11px; color: #596764; font-size: 11px; }.kanban-column > header span { display: flex; align-items: center; gap: 6px; }.kanban-column > header i { width: 7px; height: 7px; border-radius: 50%; }.todo-dot { background: var(--amber); }.assigned-dot { background: var(--blue); }.processing-dot { background: var(--teal); }.review-dot { background: #716d87; }.work-card { width: 100%; min-height: 133px; display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 9px; padding: 12px; background: white; border: 1px solid var(--line); box-shadow: 0 4px 10px rgba(26,46,43,.035); cursor: pointer; text-align: left; transition: .18s ease; }.work-card:hover { border-color: #9ba9a5; transform: translateY(-2px); box-shadow: var(--shadow); }.work-card.urgent { border-top: 3px solid var(--danger); }.work-card > mark { color: var(--teal); font-size: 9px; }.work-card.urgent > mark { color: var(--danger); }.work-card h3 { margin: 7px 0 5px; font-size: 13px; }.work-card p { display: flex; align-items: center; gap: 4px; margin: 0; color: var(--muted); font-size: 10px; }.work-card p svg { width: 12px; }.work-card footer { width: 100%; display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); font-size: 9px; }.work-card footer em { color: var(--muted); font-style: normal; }.work-card footer em.live { color: var(--teal); }.team-panel { min-width: 0; }.team-status { display: grid; grid-template-columns: repeat(3,1fr); padding: 12px; border-bottom: 1px solid var(--line); }.team-status span { display: flex; flex-direction: column; align-items: center; border-right: 1px solid var(--line); }.team-status span:last-child { border-right: 0; }.team-status b { font: 600 20px Georgia, serif; }.team-status small { color: var(--muted); font-size: 9px; }.staff-list { padding: 7px 12px; }.staff-list button { width: 100%; min-height: 57px; display: flex; align-items: center; gap: 8px; padding: 7px 2px; background: white; border: 0; border-bottom: 1px solid var(--line); cursor: pointer; text-align: left; }.staff-list button > span { min-width: 0; flex: 1; display: flex; flex-direction: column; }.staff-list strong { font-size: 11px; }.staff-list small { color: var(--muted); font-size: 9px; }.staff-list em { color: #3d806a; font-size: 9px; font-style: normal; }.staff-list em.busy { color: #9a743f; }

.asset-kpis { grid-template-columns: repeat(5,1fr); }.asset-kpis article { min-height: 78px; display: flex; align-items: center; gap: 12px; padding: 13px 17px; border-right: 1px solid var(--line); }.asset-kpis article:last-child { border-right: 0; }.asset-kpis svg { color: var(--teal); }.asset-kpis article.warn svg, .asset-kpis article.warn strong { color: var(--amber); }.asset-kpis span { display: flex; flex-direction: column; }.asset-kpis strong { font: 600 22px Georgia, serif; }.asset-kpis small { color: var(--muted); font-size: 10px; }.equipment-layout { display: grid; grid-template-columns: 210px minmax(0,1fr); gap: 15px; }.asset-tree { padding: 9px; }.asset-tree header { display: flex; align-items: center; justify-content: space-between; min-height: 45px; padding: 0 7px 7px; }.asset-tree header .icon-button { width: 28px; height: 28px; border: 0; }.asset-tree > button { width: 100%; min-height: 42px; display: flex; align-items: center; gap: 8px; padding: 0 10px; color: var(--muted); background: transparent; border: 0; cursor: pointer; text-align: left; }.asset-tree > button:hover, .asset-tree > button.active { color: var(--ink); background: var(--teal-soft); }.asset-tree > button svg { width: 15px; }.asset-tree > button span { flex: 1; }.asset-tree > button b { font-size: 10px; }.asset-list { min-width: 0; overflow-x: auto; }.asset-toolbar { min-width: 850px; min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 13px; border-bottom: 1px solid var(--line); }.asset-toolbar > div { display: flex; gap: 6px; }.asset-toolbar > div button { min-height: 34px; display: flex; align-items: center; gap: 5px; padding: 0 9px; background: white; border: 1px solid var(--line); cursor: pointer; }.asset-toolbar > div svg { width: 14px; }.asset-row { width: 100%; min-width: 850px; min-height: 69px; display: grid; grid-template-columns: minmax(250px,1.5fr) minmax(115px,.7fr) minmax(120px,.7fr) minmax(100px,.55fr) minmax(100px,.55fr) 25px; align-items: center; gap: 11px; padding: 9px 13px; background: white; border: 0; border-bottom: 1px solid var(--line); cursor: pointer; text-align: left; }.asset-row:not(.table-head):hover { background: #fafcfb; }.asset-row.table-head { min-height: 39px; color: var(--muted); background: var(--paper-2); font-size: 10px; cursor: default; }.asset-row > span { min-width: 0; font-size: 10px; }.asset-name { display: flex; align-items: center; gap: 10px; }.asset-name > svg { width: 30px; height: 30px; padding: 7px; color: var(--teal); background: var(--teal-soft); }.asset-name > b { display: flex; flex-direction: column; font-size: 12px; }.asset-name small, .asset-row > span > small { display: block; color: var(--muted); font-size: 9px; }.asset-status { display: inline-block; padding: 2px 5px; font-style: normal; }.asset-status.warning { color: #9a6730; background: var(--amber-soft); }.asset-status.running { color: var(--teal); background: var(--teal-soft); }.asset-row span:nth-child(3) { display: flex; align-items: center; gap: 7px; }.score-warn { color: var(--amber); }.health-line { flex: 1; height: 4px; background: #e8edeb; }.health-line em { display: block; height: 100%; background: var(--teal); }

.inspection-summary { grid-template-columns: repeat(4,1fr); }.inspection-layout { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(330px,.8fr); gap: 15px; }.route-panel .panel-header > mark { color: #95662f; background: var(--amber-soft); }.route-meta { display: flex; gap: 18px; padding: 11px 18px; color: var(--muted); background: var(--paper-2); border-bottom: 1px solid var(--line); font-size: 10px; }.route-meta span { display: flex; align-items: center; gap: 4px; }.route-meta svg { width: 13px; }.route-track { position: relative; display: grid; gap: 0; padding: 17px 20px 10px; }.route-track::before { content: ""; position: absolute; left: 37px; top: 41px; bottom: 35px; width: 1px; background: var(--line-2); }.route-track button { position: relative; z-index: 2; min-height: 64px; display: flex; align-items: center; gap: 13px; padding: 7px 4px; background: white; border: 0; cursor: pointer; text-align: left; }.route-track button > i { width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; color: var(--muted); background: white; border: 1px solid var(--line-2); border-radius: 50%; font-size: 11px; font-style: normal; }.route-track button.complete > i { color: white; background: var(--teal); border-color: var(--teal); }.route-track button.active > i { color: white; background: var(--amber); border-color: var(--amber); box-shadow: 0 0 0 5px var(--amber-soft); }.route-track button > span { display: flex; flex-direction: column; }.route-track strong { font-size: 12px; }.route-track small { color: var(--muted); font-size: 9px; }.route-panel > footer { display: flex; gap: 8px; padding: 15px 18px; border-top: 1px solid var(--line); }.plan-list { padding: 8px 14px; }.plan-list button { width: 100%; min-height: 72px; display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 10px; padding: 8px 2px; background: white; border: 0; border-bottom: 1px solid var(--line); cursor: pointer; text-align: left; }.plan-list button.current { background: linear-gradient(90deg, var(--teal-soft), transparent); }.plan-list time, .plan-list button > span { display: flex; flex-direction: column; }.plan-list time b { font: 600 14px Georgia, serif; }.plan-list time small, .plan-list button > span small { color: var(--muted); font-size: 9px; }.plan-list button > span strong { font-size: 11px; }

.energy-kpis { grid-template-columns: repeat(4,1fr); }.energy-kpis p { margin: 3px 0 0; }.energy-kpis p b { color: #3d806a; }.energy-dashboard { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(310px,.65fr); gap: 15px; }.energy-chart { position: relative; height: 330px; padding: 20px 22px 37px; overflow: hidden; }.chart-grid-lines { position: absolute; inset: 25px 22px 45px; display: flex; flex-direction: column; justify-content: space-between; }.chart-grid-lines i { display: block; border-top: 1px dashed var(--line); }.energy-chart svg { position: relative; z-index: 2; width: 100%; height: 245px; overflow: visible; }.energy-chart .area { fill: url(#energyArea); }.energy-chart .actual { fill: none; stroke: var(--teal); stroke-width: 3; vector-effect: non-scaling-stroke; }.energy-chart .baseline { fill: none; stroke: var(--amber); stroke-width: 2; stroke-dasharray: 7 6; vector-effect: non-scaling-stroke; }.chart-labels { display: flex; justify-content: space-between; color: var(--muted); font: 9px Consolas, monospace; }.chart-legend { position: absolute; right: 24px; top: 15px; display: flex; gap: 12px; color: var(--muted); font-size: 9px; }.chart-legend span { display: flex; align-items: center; gap: 5px; }.chart-legend i { width: 18px; height: 2px; }.chart-legend i.actual { background: var(--teal); }.chart-legend i.baseline { background: repeating-linear-gradient(90deg,var(--amber) 0 4px,transparent 4px 7px); }.energy-composition { min-width: 0; }.donut-chart { width: 150px; height: 150px; display: grid; place-items: center; margin: 22px auto 10px; border-radius: 50%; background: conic-gradient(var(--teal) 0 42.8%, var(--amber) 42.8% 66.2%, var(--blue) 66.2% 87.8%, #aab5b2 87.8%); position: relative; }.donut-chart::after { content:""; position:absolute; inset:20px; background:white; border-radius:50%; }.donut-chart span { position:relative; z-index:2; display:flex; flex-direction:column; align-items:center; }.donut-chart b { font:600 23px Georgia,serif; }.donut-chart small { color:var(--muted); font-size:9px; }.energy-composition ul { list-style:none; margin:0; padding:5px 19px 16px; }.energy-composition li { display:grid; grid-template-columns:1fr auto 64px; align-items:center; gap:8px; min-height:29px; font-size:10px; }.energy-composition li span { display:flex; align-items:center; gap:6px; }.energy-composition li span i { width:7px; height:7px; background:var(--c); }.energy-composition li small { color:var(--muted); text-align:right; }.ai-strategy-list { margin-top:15px; }.strategy-row { min-height:75px; display:grid; grid-template-columns:36px minmax(250px,1fr) 105px 65px 80px; align-items:center; gap:11px; padding:10px 17px; border-bottom:1px solid var(--line); }.strategy-row:last-child { border-bottom:0; }.strategy-row > svg { width:32px; height:32px; padding:8px; color:var(--teal); background:var(--teal-soft); }.strategy-row > span { display:flex; flex-direction:column; }.strategy-row strong { font-size:12px; }.strategy-row small { color:var(--muted); font-size:9px; }.strategy-row > b { font-size:11px; }.strategy-row > em { color:#3d806a; font-size:9px; font-style:normal; }.strategy-row > em.medium { color:#996a35; }.strategy-row > button { min-height:31px; background:white; border:1px solid var(--line); cursor:pointer; font-size:10px; }

.space-layout { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(300px,.55fr); gap:15px; }.floor-stack select { padding:6px 8px; background:white; border:1px solid var(--line); font-size:10px; }.stack-list { display:grid; gap:8px; padding:17px; }.stack-list button { min-height:47px; display:flex; align-items:stretch; gap:3px; padding:0; background:var(--paper-2); border:1px solid var(--line); cursor:pointer; overflow:hidden; }.stack-list button > b { width:48px; flex:0 0 auto; display:grid; place-items:center; color:white; background:var(--deep); font:600 12px Georgia,serif; }.stack-list button > span { min-width:50px; display:flex; align-items:center; padding:0 10px; color:white; font-size:9px; text-align:left; }.stack-list span.leased { background:var(--teal); }.stack-list span.vacant { color:#6d6255; background:#eee5d7; }.stack-list span.renovating { color:#4d6069; background:#dce5e9; }.stack-list button > em { margin-left:auto; align-self:center; padding:0 10px; color:var(--muted); font-size:9px; font-style:normal; white-space:nowrap; }.floor-stack > footer { display:flex; gap:15px; padding:10px 17px 15px; color:var(--muted); font-size:9px; }.floor-stack > footer span { display:flex; align-items:center; gap:5px; }.floor-stack > footer i { width:8px; height:8px; }.floor-stack > footer i.leased { background:var(--teal); }.floor-stack > footer i.vacant { background:#eee5d7; }.floor-stack > footer i.renovating { background:#dce5e9; }.tenant-service { padding-bottom:15px; }.service-score { display:flex; align-items:center; gap:15px; padding:22px 18px 15px; border-bottom:1px solid var(--line); }.service-score > strong { font:600 39px Georgia,serif; }.service-score span { display:flex; flex-direction:column; }.service-score b { color:var(--amber); letter-spacing:2px; }.service-score small { color:var(--muted); font-size:9px; }.service-insights { padding:9px 17px; }.service-insights p { display:flex; gap:10px; margin:0; padding:12px 0; border-bottom:1px solid var(--line); }.service-insights svg { width:17px; color:var(--teal); }.service-insights span { display:flex; flex-direction:column; }.service-insights strong { font-size:11px; }.service-insights small { color:var(--muted); font-size:9px; }.tenant-service .full { width:calc(100% - 34px); margin:4px 17px 0; }

.report-hero { min-height:230px; display:grid; grid-template-columns:minmax(300px,1.1fr) 230px minmax(270px,.8fr); align-items:center; gap:30px; margin-bottom:15px; padding:28px 35px; color:white; background:var(--deep); }.report-hero > div:first-child > span { color:#9cafaa; font-size:10px; }.report-hero > div:first-child > strong { display:block; margin:8px 0; font:600 45px Georgia,serif; }.report-hero > div:first-child > strong small { color:#92a7a2; font-size:15px; }.report-hero p { max-width:540px; margin:0; color:#acbbb8; font-size:11px; }.health-orbit { position:relative; width:160px; height:160px; display:grid; place-items:center; margin:auto; border:1px solid rgba(255,255,255,.13); border-radius:50%; }.health-orbit::before, .health-orbit::after { content:""; position:absolute; border:1px solid rgba(255,255,255,.07); border-radius:50%; }.health-orbit::before { inset:17px; }.health-orbit::after { inset:37px; }.health-orbit span { font:600 30px Georgia,serif; }.health-orbit i { position:absolute; width:8px; height:8px; background:var(--amber); border-radius:50%; box-shadow:0 0 0 5px rgba(209,155,82,.1); }.health-orbit i:nth-child(2) { left:12px; top:61px; }.health-orbit i:nth-child(3) { right:27px; top:19px; background:#75aaa2; }.health-orbit i:nth-child(4) { right:10px; bottom:51px; background:#6d8995; }.report-hero dl { display:grid; grid-template-columns:1fr 1fr; gap:1px; margin:0; background:rgba(255,255,255,.12); }.report-hero dl div { padding:16px; background:var(--deep); }.report-hero dt { color:#95a8a4; font-size:9px; }.report-hero dd { margin:3px 0 0; font:600 20px Georgia,serif; }.report-grid { display:grid; grid-template-columns:1fr 1fr; gap:15px; }.target-list { padding:10px 18px 18px; }.target-list p { display:grid; grid-template-columns:1fr auto; gap:5px 12px; margin:13px 0; }.target-list span { display:flex; flex-direction:column; }.target-list b { font-size:11px; }.target-list small { color:var(--muted); font-size:9px; }.target-list strong { font-size:11px; }.target-list p > i { grid-column:1/-1; height:5px; background:#e8ecea; }.target-list p > i em { display:block; height:100%; background:var(--teal); }.target-list p > i em.warn { background:var(--amber); }.management-list { padding:5px 16px 15px; }.management-list button { width:100%; min-height:70px; display:grid; grid-template-columns:30px 1fr auto; align-items:center; gap:10px; padding:8px 0; background:white; border:0; border-bottom:1px solid var(--line); cursor:pointer; text-align:left; }.management-list button > i { color:var(--teal); font:15px Georgia,serif; }.management-list button > span { display:flex; flex-direction:column; }.management-list strong { font-size:11px; }.management-list small { color:var(--muted); font-size:9px; }.management-list em { color:#976835; font-size:9px; font-style:normal; }

.site-footer { min-height:52px; display:flex; align-items:center; justify-content:space-between; gap:20px; padding:0 28px; color:#73817e; background:white; border-top:1px solid var(--line); font-size:10px; }.site-footer a { color:var(--ink); font-weight:700; text-decoration:none; }

.incident-drawer, .ai-drawer { position:fixed; z-index:80; top:0; right:0; width:min(540px,100vw); height:100vh; display:flex; flex-direction:column; background:white; box-shadow:-25px 0 55px rgba(12,28,26,.2); transform:translateX(105%); transition:transform .32s cubic-bezier(.2,.8,.2,1); }.incident-drawer.open, .ai-drawer.open { transform:none; }.incident-drawer > header, .ai-drawer > header { min-height:92px; display:flex; align-items:flex-start; justify-content:space-between; gap:20px; padding:23px 24px; border-bottom:1px solid var(--line); }.incident-drawer h2 { margin:2px 0; font-family:Georgia,"Songti SC",serif; font-size:23px; }.incident-drawer header p { margin:0; color:var(--muted); font-size:10px; }.incident-body { flex:1; overflow-y:auto; padding:18px 24px; }.incident-alert { min-height:71px; display:flex; align-items:center; gap:11px; padding:13px; background:var(--danger-soft); border-left:4px solid var(--danger); }.incident-alert > svg { color:var(--danger); }.incident-alert > span { flex:1; display:flex; flex-direction:column; }.incident-alert strong { color:#8f3d39; font-size:12px; }.incident-alert small { color:#765c59; font-size:9px; }.incident-alert > em { padding:3px 6px; color:var(--danger); background:white; font-size:9px; font-style:normal; }.pressure-chart { margin-top:16px; padding:14px; border:1px solid var(--line); }.pressure-chart header { display:flex; align-items:center; justify-content:space-between; }.pressure-chart header span { color:var(--muted); font-size:10px; }.pressure-chart header strong { color:var(--danger); }.pressure-chart svg { width:100%; height:120px; margin-top:6px; }.pressure-chart .threshold { fill:none; stroke:var(--amber); stroke-dasharray:6 5; stroke-width:1; vector-effect:non-scaling-stroke; }.pressure-chart .pressure-area { fill:rgba(181,79,74,.11); }.pressure-chart .pressure-line { fill:none; stroke:var(--danger); stroke-width:2; vector-effect:non-scaling-stroke; }.pressure-chart footer { display:flex; justify-content:space-between; color:var(--muted); font-size:8px; }.ai-diagnosis { margin-top:16px; padding:14px; background:var(--paper-2); border:1px solid var(--line); }.ai-diagnosis header { display:flex; align-items:center; gap:7px; }.ai-diagnosis header svg { color:var(--teal); }.ai-diagnosis header strong { flex:1; }.ai-diagnosis header mark { color:var(--teal); font-size:9px; }.ai-diagnosis p { margin:10px 0; color:#53615f; font-size:10px; }.ai-diagnosis ul { margin:0; padding-left:17px; color:#34423f; font-size:10px; }.ai-diagnosis li { margin:5px 0; }.incident-progress { margin-top:18px; }.incident-progress > header { display:flex; justify-content:space-between; margin-bottom:13px; }.incident-progress > header span { color:var(--muted); font-size:10px; }.progress-track { display:grid; grid-template-columns:repeat(4,1fr); position:relative; }.progress-track::before { content:""; position:absolute; left:12%; right:12%; top:15px; height:1px; background:var(--line-2); }.progress-track i { position:relative; z-index:2; display:flex; flex-direction:column; align-items:center; gap:5px; font-style:normal; }.progress-track i b { width:30px; height:30px; display:grid; place-items:center; color:var(--muted); background:white; border:1px solid var(--line-2); border-radius:50%; font-size:10px; }.progress-track i span { color:var(--muted); font-size:9px; }.progress-track i.active b, .progress-track i.done b { color:white; background:var(--teal); border-color:var(--teal); }.progress-track i.active span, .progress-track i.done span { color:var(--ink); }.timeline { margin-top:17px; border-top:1px solid var(--line); }.timeline p { display:flex; gap:10px; margin:0; padding:12px 4px; border-bottom:1px solid var(--line); }.timeline p > i { width:7px; height:7px; margin-top:5px; background:var(--teal); border-radius:50%; }.timeline p > span { display:flex; flex-direction:column; }.timeline strong { font-size:10px; }.timeline small { color:var(--muted); font-size:9px; }.incident-drawer > footer { display:flex; gap:8px; padding:14px 24px; border-top:1px solid var(--line); }.incident-drawer > footer button { flex:1; }.drawer-backdrop { position:fixed; z-index:70; inset:0; background:rgba(10,23,21,.42); opacity:0; pointer-events:none; transition:.25s ease; }.drawer-backdrop.open { opacity:1; pointer-events:auto; }

.ai-drawer { width:min(430px,100vw); }.ai-drawer > header { min-height:76px; align-items:center; }.ai-drawer > header > span { display:grid; grid-template-columns:28px 1fr; column-gap:8px; }.ai-drawer > header > span > svg { grid-row:1/3; width:28px; height:28px; padding:6px; color:var(--amber); background:var(--deep); }.ai-drawer > header b { font-size:13px; }.ai-drawer > header small { color:var(--muted); font-size:9px; }.ai-chat { flex:1; overflow-y:auto; padding:18px; background:#f4f6f5; }.ai-message { display:flex; gap:8px; margin-bottom:12px; }.ai-message > svg { width:25px; height:25px; flex:0 0 auto; padding:5px; color:var(--amber); background:var(--deep); }.ai-message p { max-width:88%; margin:0; padding:11px 12px; background:white; border:1px solid var(--line); font-size:11px; }.ai-message.user { justify-content:flex-end; }.ai-message.user p { color:white; background:var(--teal); border-color:var(--teal); }.quick-prompts { display:flex; flex-wrap:wrap; gap:6px; margin:7px 0 15px 33px; }.quick-prompts button { padding:6px 8px; color:var(--teal); background:white; border:1px solid #c8d8d4; cursor:pointer; font-size:9px; }.typing-dots { display:flex; gap:4px; padding:14px; }.typing-dots i { width:5px; height:5px; background:var(--teal); border-radius:50%; animation:typing 1s infinite alternate; }.typing-dots i:nth-child(2){animation-delay:.2s}.typing-dots i:nth-child(3){animation-delay:.4s}@keyframes typing{to{opacity:.25;transform:translateY(-3px)}}.ai-drawer > footer { padding:13px 16px; border-top:1px solid var(--line); }.ai-drawer > footer label { display:flex; align-items:flex-end; gap:6px; padding:7px; background:white; border:1px solid var(--line-2); }.ai-drawer textarea { flex:1; min-height:38px; max-height:100px; resize:vertical; border:0; outline:0; }.ai-drawer > footer label button { width:32px; height:32px; display:grid; place-items:center; color:white; background:var(--deep); border:0; cursor:pointer; }.ai-drawer > footer > small { display:block; margin-top:6px; color:var(--muted); font-size:8px; }

.modal-layer { position:fixed; z-index:100; inset:0; display:grid; place-items:center; padding:20px; background:rgba(10,23,21,.52); opacity:0; pointer-events:none; transition:.2s ease; }.modal-layer.open { opacity:1; pointer-events:auto; }.modal { width:min(620px,100%); max-height:calc(100vh - 40px); overflow:hidden; background:white; box-shadow:0 30px 80px rgba(0,0,0,.28); transform:translateY(10px) scale(.98); transition:.2s ease; }.modal-layer.open .modal { transform:none; }.modal > header { min-height:72px; display:flex; align-items:center; justify-content:space-between; gap:15px; padding:14px 18px; color:white; background:var(--deep); }.modal > header span { display:flex; flex-direction:column; }.modal > header small { color:#91a6a1; font:9px Consolas,monospace; }.modal > header h2 { margin:2px 0 0; font-family:Georgia,"Songti SC",serif; font-size:20px; }.modal > header .icon-button { color:white; background:transparent; border-color:rgba(255,255,255,.17); }.modal-content { max-height:calc(100vh - 112px); overflow-y:auto; padding:20px; }.modal-copy { margin:0 0 14px; color:#53615f; font-size:11px; }.modal-note { padding:12px; color:#625b4f; background:var(--amber-soft); border-left:3px solid var(--amber); font-size:10px; }.modal-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; }.modal-stat { padding:14px; background:var(--paper-2); border:1px solid var(--line); }.modal-stat span { display:block; color:var(--muted); font-size:9px; }.modal-stat strong { font:600 20px Georgia,serif; }.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; }.form-grid label { display:flex; flex-direction:column; gap:5px; color:#4f5c59; font-size:10px; }.form-grid label.full { grid-column:1/-1; }.form-grid input, .form-grid select, .form-grid textarea { width:100%; min-height:39px; padding:8px 9px; background:white; border:1px solid var(--line-2); outline:0; }.form-grid textarea { min-height:82px; resize:vertical; }.modal-actions { display:flex; justify-content:flex-end; gap:8px; margin-top:17px; padding-top:15px; border-top:1px solid var(--line); }.prototype-list { display:grid; gap:9px; margin:16px 0; }.prototype-list p { display:flex; align-items:flex-start; gap:8px; margin:0; padding:10px; background:var(--paper-2); font-size:10px; }.prototype-list svg { width:15px; color:var(--teal); }.search-results { display:grid; gap:6px; }.search-results button { min-height:54px; display:flex; align-items:center; gap:9px; padding:9px 10px; background:white; border:1px solid var(--line); cursor:pointer; text-align:left; }.search-results button svg { color:var(--teal); }.search-results button span { display:flex; flex-direction:column; }.search-results strong { font-size:11px; }.search-results small { color:var(--muted); font-size:9px; }
.toast-region { position:fixed; z-index:130; right:20px; bottom:20px; display:grid; gap:8px; pointer-events:none; }.toast { min-width:260px; max-width:360px; display:flex; align-items:center; gap:9px; padding:12px 14px; color:white; background:var(--deep); border-left:4px solid var(--teal); box-shadow:0 14px 30px rgba(0,0,0,.2); animation:toastIn .25s ease both; font-size:11px; }.toast.error { border-color:var(--danger); }.toast svg { color:var(--amber); }.toast.hide { animation:toastOut .25s ease both; }@keyframes toastIn{from{opacity:0;transform:translateY(8px)}}@keyframes toastOut{to{opacity:0;transform:translateY(8px)}}

@media (max-width: 1280px) {
  :root { --sidebar: 216px; }
  .content-area { padding: 23px 20px 32px; }
  .search-button { min-width: 190px; }
  .system-online { display:none; }
  .command-grid { grid-template-columns:minmax(0,1.5fr) minmax(300px,.72fr); }
  .dashboard-lower { grid-template-columns:1fr 1fr; }.energy-mini { grid-column:1/-1; min-height:205px; }
  .energy-mini .spark-chart { height:80px; }
  .strategy-row { grid-template-columns:36px minmax(220px,1fr) 95px 60px 75px; }
}
@media (max-width: 1020px) {
  :root { --sidebar: 204px; }
  .topbar { padding:0 17px; }.search-button span,.search-button kbd { display:none; }.search-button { min-width:36px; width:36px; padding:0; justify-content:center; }.ai-entry span { display:none; }.ai-entry { width:36px; padding:0; justify-content:center; }
  .metric-strip { grid-template-columns:repeat(3,1fr); }.metric-strip article:nth-child(3){border-right:0}.metric-strip article:nth-child(n+4){border-top:1px solid var(--line)}
  .command-grid,.inspection-layout,.energy-dashboard,.space-layout { grid-template-columns:1fr; }.event-panel { min-height:auto; }.dashboard-lower { grid-template-columns:1fr; }.energy-mini { grid-column:auto; }.dispatch-layout { grid-template-columns:1fr; }.team-panel { display:none; }
  .building-summary { align-items:flex-start; flex-direction:column; }.building-summary dl { width:100%; }.building-summary dl div:first-child { border-left:0; padding-left:0; }
  .event-kpis,.asset-kpis,.space-kpis { grid-template-columns:repeat(3,1fr); }.event-kpis article:nth-child(3),.asset-kpis article:nth-child(3),.space-kpis article:nth-child(3){border-right:0}.event-kpis article:nth-child(n+4),.asset-kpis article:nth-child(n+4),.space-kpis article:nth-child(n+4){border-top:1px solid var(--line)}
  .equipment-layout { grid-template-columns:1fr; }.asset-tree { display:flex; overflow-x:auto; }.asset-tree header { flex:0 0 120px; }.asset-tree > button { flex:0 0 140px; }
  .report-hero { grid-template-columns:1fr 180px; }.report-hero dl { grid-column:1/-1; }.report-grid { grid-template-columns:1fr; }
}
@media (max-width: 760px) {
  :root { --sidebar: 270px; }
  .sidebar { transform:translateX(-102%); transition:.25s ease; }.sidebar.open { transform:none; box-shadow:20px 0 45px rgba(0,0,0,.22); }.main-shell { margin-left:0; }.mobile-menu { display:grid; }.topbar { height:58px; }.breadcrumb span,.breadcrumb svg { display:none; }.topbar-actions { gap:5px; }.content-area { padding:18px 12px 26px; }.page-heading { min-height:0; align-items:flex-start; }.page-heading h1 { font-size:24px; }.page-heading p { font-size:11px; }.command-heading { flex-direction:column; }.heading-actions { width:100%; }.heading-actions button { flex:1; }.account-button svg { display:none; }
  .metric-strip { grid-template-columns:1fr 1fr; }.metric-strip article { min-height:83px; padding:13px; }.metric-strip article:nth-child(2n){border-right:0}.metric-strip article:nth-child(3){border-right:1px solid var(--line)}.metric-strip article:nth-child(n+3){border-top:1px solid var(--line)}.metric-strip strong { font-size:22px; }.metric-strip article:last-child { grid-column:1/-1; }
  .campus-map { height:410px; }.building { min-width:100px; min-height:86px; padding:10px; }.building > span { top:10px; left:10px; font-size:19px; }.building b { font-size:10px; }.map-alert span { display:none; }.map-alert { width:32px; justify-content:center; padding:0; }.building-summary dl { grid-template-columns:1fr 1fr; row-gap:10px; }.building-summary dl div:nth-child(3) { border-left:0; padding-left:0; }.dashboard-lower { gap:12px; }.workorder-overview { grid-template-columns:1fr; }.workorder-overview .panel-header { grid-column:auto; }.completion-ring { margin:18px auto 4px; }.delivery-list { padding:10px 18px 18px; }.prototype-banner { align-items:flex-start; flex-wrap:wrap; }.prototype-banner > span { flex-basis:calc(100% - 35px); }.prototype-banner button { margin-left:35px; }
  .event-kpis,.asset-kpis,.inspection-summary,.energy-kpis,.space-kpis { grid-template-columns:1fr 1fr; }.event-kpis article:nth-child(2n),.asset-kpis article:nth-child(2n),.inspection-summary article:nth-child(2n),.energy-kpis article:nth-child(2n),.space-kpis article:nth-child(2n){border-right:0}.event-kpis article:nth-child(3),.asset-kpis article:nth-child(3),.space-kpis article:nth-child(3){border-right:1px solid var(--line)}.event-kpis article:nth-child(n+3),.asset-kpis article:nth-child(n+3),.inspection-summary article:nth-child(n+3),.energy-kpis article:nth-child(n+3),.space-kpis article:nth-child(n+3){border-top:1px solid var(--line)}.event-kpis article:last-child,.asset-kpis article:last-child,.space-kpis article:last-child { grid-column:1/-1; }
  .toolbar { align-items:stretch; flex-direction:column; }.segmented { overflow-x:auto; }.segmented button { flex:0 0 auto; }.toolbar label { width:100%; min-width:0; }
  .kanban-board { grid-template-columns:repeat(4,265px); }.route-meta { flex-wrap:wrap; gap:7px 13px; }.route-panel > footer { flex-direction:column; }.energy-chart { height:260px; padding-left:12px; padding-right:12px; }.energy-chart svg { height:180px; }.energy-composition { min-height:390px; }.strategy-row { grid-template-columns:32px 1fr auto; }.strategy-row > b,.strategy-row > em { grid-column:2; }.strategy-row > button { grid-column:3; grid-row:1/4; }.stack-list button > em { display:none; }.stack-list button > span { padding:0 6px; overflow:hidden; }.report-hero { grid-template-columns:1fr; padding:23px; }.health-orbit { display:none; }.report-hero dl { grid-column:auto; }.site-footer { align-items:flex-start; flex-direction:column; gap:4px; padding:13px; }
  .modal-grid,.form-grid { grid-template-columns:1fr; }.form-grid label.full { grid-column:auto; }.modal-layer { padding:9px; }.modal { max-height:calc(100vh - 18px); }.modal-content { max-height:calc(100vh - 90px); padding:16px; }
}
@media (max-width: 430px) {
  .topbar { padding:0 10px; }.topbar-actions > .icon-button { display:none; }.content-area { padding-left:9px; padding-right:9px; }.page-heading { gap:10px; }.page-heading > .secondary-button { padding:0 9px; }.panel-header { padding:0 13px; }.campus-map { height:365px; }.map-mode-label { display:none; }.building-a { --x:5% !important;--w:38% !important}.building-b { --x:55% !important;--w:38% !important}.building-c { --x:52% !important;--w:43% !important}.building-d { --x:5% !important;--w:36% !important}.map-alert { z-index:9; }.building-summary dl div { padding:0 8px; }.event-item { min-height:82px; }.strategy-row { padding:11px; }.stack-list { padding:11px; }.stack-list button > b { width:39px; }.incident-body { padding:14px; }.incident-drawer > header { padding:18px 15px; }.incident-drawer > footer { padding:11px; }.incident-drawer > footer .secondary-button { display:none; }.ai-drawer > header { padding:15px; }.toast-region { left:10px; right:10px; bottom:10px; }.toast { min-width:0; max-width:none; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior:auto !important; animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
}
