:root {
  --navy: #071a3a;
  --navy-2: #0c2d66;
  --ink: #17304a;
  --muted: #5c6d80;
  --line: #d5e0ec;
  --paper: #eef3f8;
  --green: #0e9a62;
  --green-d: #0b7d50;
  --purple: #5c2d91;
  --red: #d1262d;
  --gold: #e0b15a;
}

* { box-sizing: border-box; }
body.ax {
  margin: 0;
  background: #dfe7f1;
  color: var(--ink);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
.ax-fit { width: 100%; overflow: hidden; }
.ax-canvas { width: 1500px; transform-origin: top left; }
a { color: inherit; text-decoration: none; }
.ax-top {
  display: grid;
  grid-template-columns: minmax(220px, 1.1fr) minmax(280px, 1.4fr) minmax(240px, .9fr);
  gap: 16px;
  align-items: center;
  background: linear-gradient(90deg, #061433 0%, #0a2a62 55%, #0a3d78 100%);
  color: #fff;
  padding: 14px 22px 16px;
  border-bottom: 4px solid #123f86;
}
.ax-brand { display: flex; gap: 12px; align-items: center; }
.ax-crest {
  width: 54px;
  height: 62px;
  display: grid;
  place-items: center;
  background: linear-gradient(#f7f9fc, #d5deea);
  color: var(--navy);
  font-weight: 800;
  font-size: 13px;
  clip-path: polygon(50% 0, 100% 16%, 86% 74%, 50% 100%, 14% 74%, 0 16%);
}
.ax-brand strong { display: block; letter-spacing: .04em; font-size: 15px; }
.ax-brand small { display: block; color: #d5e4f8; font-size: 12px; line-height: 1.35; }
.ax-title { text-align: center; }
.ax-title h1 { margin: 0; font-size: clamp(26px, 3vw, 40px); letter-spacing: .04em; }
.ax-title p { margin: 4px 0 0; color: #d6e6ff; letter-spacing: .16em; font-size: 13px; }
.ax-pills { display: grid; gap: 8px; justify-items: end; }
.ax-pill {
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 11px;
  letter-spacing: .04em;
  background: rgba(8, 28, 68, .35);
}
.ax-board { padding: 14px; display: grid; gap: 12px; }
.ax-flow {
  display: grid;
  grid-template-columns: 210px 28px 250px 28px minmax(360px, 1.35fr) 28px 250px 28px 230px;
  gap: 6px;
  align-items: stretch;
}
.ax-arrow {
  display: grid;
  place-items: center;
  color: #2f6fed;
  font-size: 28px;
  font-weight: 700;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(16, 42, 78, .06);
}
.panel-h {
  color: #fff;
  text-align: center;
  font-weight: 800;
  letter-spacing: .04em;
  font-size: 13px;
  padding: 8px 10px;
}
.h-navy { background: linear-gradient(#123a78, #0d2c5e); }
.h-green { background: linear-gradient(#14a36a, #0c8554); }
.h-blue { background: linear-gradient(#1a73e8, #1558c0); }
.h-purple { background: linear-gradient(#6a35b0, #54268f); }
.h-red { background: linear-gradient(#e53935, #c62828); }
.h-ink { background: linear-gradient(#16324f, #0e243b); }
.panel-b { padding: 10px; display: grid; gap: 8px; }
.who {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 8px;
  align-items: center;
  border: 1px solid #e6edf5;
  border-radius: 10px;
  padding: 8px;
  background: #f8fbfe;
}
.who b { display: block; font-size: 13px; }
.who span { display: block; color: var(--muted); font-size: 11px; }
.ico {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 14px;
}
.devices { display: grid; grid-template-columns: 1.2fr .7fr .55fr; gap: 6px; align-items: end; min-height: 168px; }
.device { background: #10284f; border-radius: 8px; padding: 6px; color: #d7e6ff; }
.device strong, .device small { display: block; text-align: center; }
.device small { color: #8ea4c4; font-size: 10px; }
.screen { background: #0b1c36; border-radius: 4px; height: 92px; margin-bottom: 4px; position: relative; overflow: hidden; }
.screen i { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #3ddc97; }
.laptop { transform: scale(.92); transform-origin: bottom center; }
.phone .screen { height: 110px; }
.mini-app { background: #071833; color: #fff; border-radius: 10px; padding: 10px; min-height: 280px; }
.mini-nav { display: flex; gap: 8px; flex-wrap: wrap; font-size: 11px; color: #d5e4f8; }
.mini-nav a:hover { color: #fff; }
.mini-app h2 { font-family: Georgia, serif; font-size: 26px; line-height: 1.05; margin: 8px 0; }
.mini-app p { color: #c5d6ee; font-size: 12px; margin: 0 0 8px; }
.mini-search { display: flex; gap: 6px; }
.mini-search input { flex: 1; border: 0; border-radius: 999px; padding: 7px 10px; }
.mini-search button { border: 0; border-radius: 999px; background: #1f6feb; color: #fff; padding: 7px 12px; }
.chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 8px; }
.chips a { border-radius: 8px; padding: 8px 6px; text-align: center; font-size: 11px; font-weight: 700; color: #fff; }
.c1 { background: #2458c8; } .c2 { background: #0e8f5b; } .c3 { background: #6d3e96; }
.c4 { background: #e07a12; } .c5 { background: #b8860b; } .c6 { background: #163e78; }
.svc { background: #f7fbff; border: 1px solid #e3ecf6; border-radius: 10px; padding: 8px; }
.svc b { display: block; margin-bottom: 4px; }
.svc li { font-size: 12px; color: #35506d; margin-left: 16px; }
.ext {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 8px;
  align-items: center;
  background: #f7f3fc;
  border: 1px solid #eadff5;
  border-radius: 10px;
  padding: 8px;
}
.ext b { display: block; font-size: 13px; }
.ext span { display: block; color: #6d5a86; font-size: 11px; }
.band {
  text-align: center;
  color: #fff;
  font-weight: 800;
  letter-spacing: .08em;
  background: linear-gradient(90deg, #0e7a4e, #1aa36a 40%, #1a73e8);
  border-radius: 10px;
  padding: 8px;
}
.mods { display: grid; grid-template-columns: repeat(10, 1fr); gap: 8px; }
.mod { border-radius: 10px; overflow: hidden; background: #fff; border: 1px solid var(--line); min-height: 118px; }
.mod b { display: block; color: #fff; text-align: center; font-size: 12px; padding: 8px 4px; }
.mod span { display: block; padding: 8px; font-size: 11px; color: #4d6074; }
.m1 b { background: #1f6feb; } .m2 b { background: #7b3ff0; } .m3 b { background: #12a150; }
.m4 b { background: #e2559a; } .m5 b { background: #f08a12; } .m6 b { background: #128a9a; }
.m7 b { background: #e0a100; } .m8 b { background: #163e78; } .m9 b { background: #d1262d; }
.m10 b { background: #1397c8; }
.split { display: grid; grid-template-columns: 1.35fr 1fr; gap: 10px; }
.cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.card, .sec-card, .infra-card {
  background: #fff;
  border: 1px solid #e6eef6;
  border-radius: 10px;
  padding: 8px;
}
.card b, .sec-card b, .infra-card b { display: block; font-size: 13px; }
.card li, .sec-card li, .infra-card li { font-size: 11px; color: #526780; margin-left: 16px; }
.sec-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.infra-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.infra-card { background: #f4f8fc; }
.bottom { display: grid; grid-template-columns: 1.4fr 28px 1fr; gap: 6px; align-items: stretch; }
.rooms { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 8px; }
.room { border-radius: 10px; overflow: hidden; background: #1b1030; color: #fff; min-height: 120px; display: flex; flex-direction: column; }
.room i {
  display: block;
  flex: 1;
  background:
    linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.45)),
    repeating-linear-gradient(90deg, #12305f 0 18px, #0c2348 18px 22px);
}
.room span { display: block; text-align: center; font-size: 11px; font-weight: 700; padding: 6px; background: #2a1748; }
.ax-note { text-align: center; color: #5c6d80; font-size: 12px; margin: 0; }
.mapline { width: 100%; height: 78px; display: block; }
