@charset "UTF-8";
:root {
  --ink:#221e1f;
  --muted:#6c6870;
  --line:#e8e5e8;
  --canvas:#f6f5f6;
  --paper:#fff;
  --nav:#221e1f;
  --nav-muted:#77717a;
  --brand:#e81933;
  --brand-strong:#ca0e2c;
  --brand-hover:#b70b27;
  --brand-pale:#fff0f3;
  --accent:#e7ab36;
  --accent-pale:#fff6df;
  --red:#b43d45;
  --red-pale:#fff0f0;
  --green:#238062;
  --green-pale:#e9f5ef;
  --radius:14px;
  --shadow:0 10px 32px #27242908;
  font-family:Inter,"Segoe UI",Arial,sans-serif;
  color:var(--ink);
  font-synthesis:none;
  background:var(--canvas);
  font-size:14px;
  line-height:1.55
}
* {
  box-sizing:border-box
}
body {
  margin:0
}
button,input,select,textarea {
  font:inherit
}
button,a,input,select,textarea {
  -webkit-tap-highlight-color:transparent
}
button {
  cursor:pointer
}
button:disabled {
  cursor:wait;
  opacity:.55
}
a {
  color:var(--brand-strong);
  text-decoration:none
}
a:hover {
  text-decoration:underline
}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible {
  outline:3px solid var(--brand-strong);
  outline-offset:3px
}
svg {
  width:20px;
  height:20px;
  display:inline-block;
  vertical-align:middle;
  flex-shrink:0
}
h1,h2,h3,p {
  margin:0
}
h1 {
  font-size:28px;
  letter-spacing:-1px;
  font-weight:690;
  line-height:1.2
}
h2 {
  font-size:17px;
  letter-spacing:-.25px;
  font-weight:650
}
h3 {
  font-size:15px
}
small,.small {
  font-size:12px
}
.muted {
  color:var(--muted)
}
.mono {
  font-family:ui-monospace,SFMono-Regular,Consolas,monospace;
  font-size:12px
}
.skip-link {
  position:fixed;
  top:-60px;
  left:20px;
  z-index:100;
  background:var(--paper);
  padding:10px 18px;
  border-radius:8px
}
.skip-link:focus {
  top:12px
}
.boot {
  height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:20px;
  color:var(--muted)
}
.boot-mark {
  display:block;
  width:150px;
  height:auto
}
.shell {
  display:grid;
  grid-template-columns:244px minmax(0,1fr);
  min-height:100vh
}
.sidebar {
  position:fixed;
  inset:0 auto 0 0;
  width:244px;
  background:var(--paper);
  color:var(--ink);
  display:flex;
  flex-direction:column;
  padding:20px 18px 18px;
  border-right:1px solid var(--line);
  border-top:4px solid var(--brand);
  overflow-y:auto;
  z-index:30
}
.brand {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:4px;
  padding:0 12px 25px;
  color:var(--ink)
}
.brand img {
  display:block;
  width:180px;
  max-width:100%;
  height:auto;
  aspect-ratio:2/1;
  object-fit:contain
}
.brand-product {
  display:flex;
  align-items:baseline;
  gap:7px;
  color:var(--ink);
  padding-left:7px;
  white-space:nowrap
}
.brand-product strong {
  font-size:17px;
  font-weight:750;
  letter-spacing:-.4px
}
.brand-product small {
  font-size:9px;
  letter-spacing:.25px;
  color:var(--muted)
}
.brand:hover {
  text-decoration:none
}
.nav-caption {
  color:var(--nav-muted);
  font-size:10px;
  letter-spacing:1.8px;
  text-transform:uppercase;
  padding:10px 14px 12px;
  font-weight:700
}
.nav-list {
  display:flex;
  flex-direction:column;
  gap:5px
}
.nav-link {
  display:flex;
  gap:13px;
  align-items:center;
  color:#5d5860;
  font-size:13px;
  padding:12px 14px;
  border-radius:9px;
  transition:.16s background,.16s color
}
.nav-link:hover {
  text-decoration:none;
  background:#f7f5f6;
  color:var(--ink)
}
.nav-link.active {
  color:var(--brand-strong);
  background:var(--brand-pale);
  box-shadow:inset 3px 0 var(--brand);
  font-weight:650
}
.nav-link.active svg {
  color:var(--brand-strong)
}
.nav-separator {
  height:1px;
  background:var(--line);
  margin:20px 14px
}
.sidebar-bottom {
  margin-top:auto;
  padding-top:20px
}
.sidebar-note {
  display:flex;
  gap:8px;
  align-items:center;
  color:var(--nav-muted);
  font-size:11px;
  padding:12px 14px
}
.sidebar-note .dot {
  background:var(--brand)
}
.profile {
  display:flex;
  gap:10px;
  align-items:center;
  padding:14px 10px 0;
  border-top:1px solid var(--line)
}
.avatar {
  background:var(--brand-pale);
  color:var(--brand-strong);
  border-radius:50%;
  display:grid;
  place-items:center;
  height:34px;
  width:34px;
  font-weight:700;
  flex-shrink:0
}
.profile-info {
  min-width:0;
  flex:1
}
.profile-name {
  display:block;
  font-size:12px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis
}
.profile-role {
  font-size:10px;
  color:var(--nav-muted)
}
.profile button {
  background:none;
  border:0;
  color:var(--muted);
  padding:5px;
  border-radius:5px
}
.workspace {
  grid-column:2;
  min-width:0
}
.topbar {
  height:76px;
  background:#ffffffd9;
  border-bottom:1px solid var(--line);
  padding:0 36px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px
}
.breadcrumb {
  display:flex;
  gap:10px;
  align-items:center;
  color:var(--muted);
  font-size:12px
}
.breadcrumb strong {
  font-weight:600;
  color:var(--ink)
}
.topbar-right {
  display:flex;
  gap:18px;
  align-items:center;
  font-size:12px;
  color:var(--muted)
}
.topbar .date {
  padding-left:18px;
  border-left:1px solid var(--line)
}
.dot {
  height:6px;
  width:6px;
  border-radius:50%;
  display:inline-block;
  background:#8a9ca5;
  flex-shrink:0
}
.dot.green {
  background:var(--green)
}
.dot.red {
  background:var(--red)
}
.dot.amber {
  background:var(--accent)
}
.topbar-status {
  display:flex;
  gap:7px;
  align-items:center
}
.main {
  max-width:1680px;
  margin:0 auto;
  padding:32px 36px 42px;
  outline:none
}
.page-heading {
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:center;
  margin-bottom:26px
}
.eyebrow {
  display:block;
  color:var(--brand-strong);
  font-size:10px;
  font-weight:750;
  letter-spacing:1.8px;
  text-transform:uppercase;
  margin-bottom:8px
}
.page-heading p {
  margin-top:8px;
  color:var(--muted);
  font-size:13px
}
.actions {
  display:flex;
  gap:9px;
  align-items:center;
  flex-wrap:wrap
}
.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:38px;
  padding:8px 14px;
  border:1px solid var(--line);
  background:#fff;
  color:var(--ink);
  border-radius:8px;
  font-weight:600;
  font-size:12px;
  transition:.15s box-shadow,.15s background;
  white-space:nowrap;
  text-decoration:none
}
.btn:hover {
  background:#f8f6f7;
  text-decoration:none;
  box-shadow:0 3px 8px #27242908
}
.btn svg {
  width:16px;
  height:16px
}
.btn-primary {
  color:#fff;
  background:var(--brand-strong);
  border-color:var(--brand-strong)
}
.btn-primary:hover {
  background:var(--brand-hover);
  border-color:var(--brand-hover)
}
.btn-dark {
  background:var(--nav);
  border-color:var(--nav);
  color:#fff
}
.btn-dark:hover {
  background:#3e373d
}
.btn-danger {
  background:var(--red-pale);
  color:var(--red);
  border-color:#f3d6d8
}
.btn-ghost {
  border:0;
  background:transparent;
  color:var(--muted);
  padding:7px
}
.btn-sm {
  min-height:30px;
  padding:5px 10px;
  font-size:11px
}
.btn-icon {
  width:34px;
  padding:8px;
  min-height:34px
}
.panel {
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  min-width:0;
  overflow:hidden
}
.panel-head {
  padding:20px 22px;
  border-bottom:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:15px
}
.panel-head p {
  font-size:12px;
  color:var(--muted);
  margin-top:4px
}
.panel-body {
  padding:22px
}
.panel + .panel {
  margin-top:22px
}
.panel-head + .panel-body {
  padding-top:20px
}
.panel.integration-evidence {
  margin-top:0;
  margin-bottom:22px
}
.integration-evidence + .panel {
  margin-top:0
}
.integration-stages {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  padding:20px 22px 16px
}
.integration-stage {
  min-width:0;
  padding:15px;
  background:var(--canvas);
  border:1px solid var(--line);
  border-radius:10px
}
.integration-stage .row {
  align-items:flex-start;
  flex-wrap:wrap;
  gap:8px
}
.integration-stage h3 {
  line-height:1.5
}
.integration-stage p {
  margin-top:10px;
  line-height:1.65;
  overflow-wrap:anywhere
}
.integration-note {
  margin:0 22px 20px;
  padding-top:14px;
  border-top:1px solid var(--line);
  color:var(--muted);
  font-size:12px;
  line-height:1.6;
  overflow-wrap:anywhere
}
@media(max-width:760px) {
  .integration-stages {
    grid-template-columns:1fr;
    gap:10px;
    padding:17px 17px 14px
  }
  .integration-note {
    margin:0 17px 17px
  }
}
.stats {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
  margin-bottom:24px
}
.stat {
  padding:21px 23px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  position:relative
}
.stat-label {
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--muted);
  font-size:11px;
  font-weight:600
}
.stat-label svg {
  width:16px;
  height:16px;
  color:#817b83
}
.stat-value {
  font-size:31px;
  font-weight:700;
  letter-spacing:-1.2px;
  line-height:1.25;
  margin:12px 0 6px;
  font-variant-numeric:tabular-nums
}
.stat-unit {
  font-size:13px;
  font-weight:500;
  letter-spacing:0;
  color:var(--muted);
  margin-left:6px
}
.stat-caption {
  font-size:11px;
  color:var(--muted)
}
.stat.accent {
  background:var(--nav);
  border-color:var(--nav);
  color:#fff
}
.stat.accent .stat-label,.stat.accent .stat-caption,.stat.accent .stat-unit {
  color:#d3cdd4
}
.stat.accent .stat-label svg {
  color:#ff5b76
}
.grid-2 {
  display:grid;
  grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);
  gap:22px;
  align-items:start
}
.grid-equal {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px;
  align-items:start
}
.grid-2>.panel+.panel,.grid-equal>.panel+.panel {
  margin-top:0
}
.section-gap {
  margin-top:24px
}
.operating-banner {
  background:#f6f4f6;
  border:1px solid var(--line);
  border-radius:10px;
  padding:15px 18px;
  display:flex;
  gap:12px;
  align-items:flex-start;
  color:#514a53;
  margin-bottom:22px;
  font-size:12px
}
.operating-banner svg {
  color:var(--brand-strong);
  width:18px;
  height:18px;
  margin-top:1px
}
.operating-banner strong {
  font-weight:650
}
.operating-banner.warning {
  background:var(--accent-pale);
  border-color:#efdfb5;
  color:#7b5c20
}
.operating-banner.warning svg {
  color:#a57b1c
}
.operating-banner p+p {
  margin-top:3px
}
.table-wrap {
  overflow-x:auto
}
table {
  width:100%;
  border-collapse:collapse;
  text-align:left;
  white-space:nowrap
}
thead {
  background:#faf9fa
}
th {
  font-size:10px;
  font-weight:700;
  color:#77717a;
  letter-spacing:.65px;
  text-transform:uppercase;
  padding:12px 20px;
  border-bottom:1px solid var(--line)
}
td {
  padding:16px 20px;
  border-bottom:1px solid #eeebee;
  font-size:12px
}
tbody tr:last-child td {
  border-bottom:0
}
tbody tr:hover {
  background:#fcfbfc
}
.table-title {
  font-size:12px;
  font-weight:650;
  color:var(--ink)
}
.table-sub {
  font-size:10px;
  color:var(--muted);
  margin-top:3px
}
.table-link {
  color:var(--ink)
}
.table-link:hover {
  color:var(--brand-strong)
}
.table-actions {
  display:flex;
  gap:6px;
  justify-content:flex-end
}
.table-check {
  width:35px;
  padding-right:0
}
.table-check input {
  accent-color:var(--brand-strong)
}
.badge {
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:4px 8px;
  border-radius:5px;
  font-size:10px;
  font-weight:650;
  line-height:1.3;
  white-space:nowrap;
  background:#f0edf0;
  color:#706a73
}
.badge.online,.badge.verified,.badge.closed,.badge.resolved,.badge.acknowledged {
  background:var(--green-pale);
  color:var(--green)
}
.badge.stale,.badge.pending,.badge.queued,.badge.sent,.badge.transmitted,.badge.open,.badge.in_progress,.badge.assigned {
  background:var(--accent-pale);
  color:#94701f
}
.badge.failed,.badge.timed_out,.badge.critical,.badge.high,.badge.error {
  background:var(--red-pale);
  color:var(--red)
}
.badge.low,.badge.medium {
  background:#edf1f8;
  color:#4b6085
}
.badge svg {
  width:11px;
  height:11px
}
.badge .dot {
  height:5px;
  width:5px
}
.filterbar {
  padding:16px 20px;
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
  border-bottom:1px solid var(--line)
}
.filterbar .result-count {
  margin-left:auto;
  font-size:11px;
  color:var(--muted)
}
input,select,textarea {
  width:100%;
  background:#fff;
  color:var(--ink);
  border:1px solid #ded9df;
  border-radius:7px;
  padding:10px 11px;
  outline:none;
  min-height:40px
}
input:focus,select:focus,textarea:focus {
  border-color:var(--brand-strong);
  box-shadow:0 0 0 3px #e8193312
}
input::placeholder,textarea::placeholder {
  color:#807983
}
input[type=checkbox] {
  width:15px;
  height:15px;
  min-height:0;
  accent-color:var(--brand-strong)
}
input[type=range] {
  accent-color:var(--brand-strong);
  padding:0;
  border:0;
  box-shadow:none
}
input[readonly] {
  background:#f7f5f7;
  color:var(--muted)
}
textarea {
  resize:vertical;
  min-height:84px
}
.filterbar input {
  width:260px;
  min-height:35px;
  padding:8px 11px;
  font-size:12px
}
.filterbar select {
  width:180px;
  min-height:35px;
  padding:8px 11px;
  font-size:12px
}
.search-box {
  position:relative;
  display:flex;
  align-items:center
}
.search-box svg {
  position:absolute;
  left:11px;
  width:15px;
  height:15px;
  color:var(--muted)
}
.search-box input {
  padding-left:34px
}
.empty {
  display:flex;
  align-items:center;
  flex-direction:column;
  padding:45px 20px;
  text-align:center
}
.empty-icon {
  display:grid;
  place-items:center;
  width:54px;
  height:54px;
  border-radius:15px;
  background:#f6f3f6;
  color:#8a7d8b;
  margin-bottom:15px
}
.empty-icon svg {
  height:25px;
  width:25px
}
.empty strong {
  font-weight:650;
  font-size:14px
}
.empty p {
  color:var(--muted);
  font-size:12px;
  max-width:380px;
  margin-top:7px;
  line-height:1.7
}
.empty .btn {
  margin-top:18px
}
.error-block {
  border:1px solid #f2d2d5;
  background:var(--red-pale);
  border-radius:12px;
  padding:24px;
  display:flex;
  gap:14px;
  align-items:flex-start;
  color:var(--red)
}
.error-block p {
  margin:6px 0 15px;
  font-size:12px
}
.loading {
  padding:100px 20px;
  text-align:center;
  color:var(--muted);
  font-size:13px
}
.spinner {
  width:22px;
  height:22px;
  display:inline-block;
  border:2px solid #e6dfe6;
  border-top-color:var(--brand-strong);
  border-radius:50%;
  animation:spin .65s linear infinite;
  margin-right:10px;
  vertical-align:middle
}
@keyframes spin {
  to {
    transform:rotate(360deg)
  }
}
.kv-list {
  margin:0;
  display:grid;
  grid-template-columns:minmax(120px,1fr) minmax(0,1.4fr);
  font-size:12px
}
.kv-list dt,.kv-list dd {
  padding:11px 0;
  border-bottom:1px solid #eeebee;
  margin:0
}
.kv-list dt {
  color:var(--muted)
}
.kv-list dd {
  font-weight:550;
  overflow-wrap:anywhere
}
.kv-list dt:last-of-type,.kv-list dd:last-of-type {
  border:0
}
.row {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px
}
.stack {
  display:flex;
  flex-direction:column;
  gap:12px
}
.list-row {
  padding:16px 21px;
  border-bottom:1px solid #eeebee;
  display:flex;
  align-items:flex-start;
  gap:12px
}
.list-row:last-child {
  border:0
}
.list-row-icon {
  background:var(--brand-pale);
  border-radius:8px;
  padding:8px;
  color:var(--brand-strong)
}
.list-row-content {
  min-width:0;
  flex:1
}
.list-row-title {
  font-size:12px;
  font-weight:650
}
.list-row-content p {
  font-size:11px;
  color:var(--muted);
  margin-top:5px
}
.status-ring {
  height:150px;
  width:150px;
  display:grid;
  place-items:center;
  border:17px solid #efebef;
  border-radius:50%;
  margin:15px auto 22px;
  text-align:center
}
.status-ring strong {
  font-size:30px;
  letter-spacing:-1px;
  display:block;
  line-height:1.2
}
.status-ring span {
  font-size:10px;
  color:var(--muted)
}
.legend {
  display:flex;
  justify-content:center;
  gap:20px;
  flex-wrap:wrap;
  font-size:10px;
  color:var(--muted)
}
.legend span {
  display:flex;
  align-items:center;
  gap:6px
}
.area-bar {
  height:6px;
  background:#f0edf0;
  border-radius:6px;
  overflow:hidden;
  margin-top:9px
}
.area-bar-fill {
  height:100%;
  background:var(--brand-strong);
  border-radius:6px
}
.asset-state {
  display:flex;
  gap:10px;
  align-items:center
}
.lamp-state-icon {
  height:43px;
  width:43px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:var(--accent-pale);
  color:#b58925
}
.lamp-state-icon.off {
  background:#f0edf1;
  color:#8b818d
}
.detail-metrics {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:12px;
  margin-bottom:24px
}
.detail-metrics .stat {
  padding:17px 18px
}
.detail-metrics .stat-value {
  font-size:24px
}
.detail-tabs {
  display:flex;
  gap:22px;
  padding:0 22px;
  border-bottom:1px solid var(--line);
  overflow-x:auto
}
.tab {
  background:none;
  border:0;
  border-bottom:2px solid transparent;
  border-radius:0;
  padding:15px 0;
  color:var(--muted);
  font-size:12px;
  font-weight:600;
  white-space:nowrap
}
.tab.active {
  color:var(--brand-strong);
  border-color:var(--brand-strong)
}
.chart {
  width:100%;
  height:170px;
  display:block
}
.chart-labels {
  display:flex;
  justify-content:space-between;
  color:var(--muted);
  font-size:10px;
  margin-top:10px
}
.chart-empty {
  height:170px;
  display:grid;
  place-items:center;
  color:var(--muted);
  font-size:12px;
  background:repeating-linear-gradient(to bottom,transparent,transparent 41px,#f0edf1 42px,#f0edf1 43px)
}
.control-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:9px
}
.dimming-control {
  margin:20px 0;
  padding:16px;
  background:#faf8fa;
  border-radius:10px
}
.dimming-control output {
  font-size:25px;
  letter-spacing:-.6px;
  font-weight:700
}
.dimming-control input {
  display:block;
  margin:14px 0
}
.timeline {
  padding:6px 0
}
.timeline-item {
  position:relative;
  margin-left:6px;
  padding:0 0 22px 23px;
  border-left:1px solid #e5dfe6
}
.timeline-item:last-child {
  padding-bottom:0;
  border-left-color:transparent
}
.timeline-item:before {
  content:"";
  position:absolute;
  left:-4px;
  top:5px;
  width:7px;
  height:7px;
  border-radius:50%;
  background:#b7a7b8;
  box-shadow:0 0 0 4px #fff
}
.timeline-item strong {
  display:block;
  font-size:12px
}
.timeline-item p {
  font-size:11px;
  color:var(--muted);
  margin:6px 0
}
.timeline-item time {
  font-size:10px;
  color:var(--muted)
}
.modal {
  padding:0;
  border:1px solid var(--line);
  border-radius:16px;
  width:min(650px,calc(100vw - 32px));
  max-height:90vh;
  box-shadow:0 30px 100px #23192340;
  color:var(--ink);
  background:#fff
}
.modal::backdrop {
  background:#2319236b;
  backdrop-filter:blur(3px)
}
.modal-head {
  padding:22px 25px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-bottom:1px solid var(--line)
}
.modal-head h2 {
  font-size:18px
}
.modal-body {
  padding:22px 25px
}
.modal-foot {
  padding:18px 25px;
  border-top:1px solid var(--line);
  display:flex;
  gap:10px;
  justify-content:flex-end;
  background:#fcfbfc
}
.form-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:17px
}
.field {
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:0
}
.field label {
  font-size:11px;
  font-weight:650;
  color:#665d69
}
.field .help {
  font-size:10px;
  color:var(--muted)
}
.field.full {
  grid-column:1/-1
}
.check-field {
  display:flex;
  align-items:center;
  gap:9px;
  font-size:12px
}
.form-error {
  color:var(--red);
  background:var(--red-pale);
  border:1px solid #f2d8da;
  padding:10px 12px;
  border-radius:7px;
  font-size:12px;
  margin-bottom:16px
}
.form-error:empty {
  display:none
}
.field-error {
  font-size:11px;
  color:var(--red)
}
.toast-stack {
  position:fixed;
  bottom:24px;
  right:24px;
  z-index:100;
  display:flex;
  flex-direction:column;
  gap:10px;
  max-width:min(420px,calc(100vw - 40px))
}
.toast {
  box-shadow:0 8px 35px #27202926;
  border-radius:10px;
  border:1px solid #cfe3de;
  background:#fff;
  padding:14px 17px;
  font-size:12px;
  display:flex;
  align-items:center;
  gap:10px;
  animation:toast-in .2s ease
}
.toast svg {
  color:var(--green);
  width:17px;
  height:17px
}
.toast.error {
  border-color:#edc6ca
}
.toast.error svg {
  color:var(--red)
}
@keyframes toast-in {
  from {
    opacity:0;
    transform:translateY(8px)
  }
  to {
    opacity:1;
    transform:none
  }
}
.mobile-toggle {
  display:none
}
.sidebar-overlay {
  display:none
}
.login-page {
  min-height:100vh;
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(480px,1fr);
  background:var(--canvas)
}
.login-story {
  background:radial-gradient(ellipse at 100% 100%,#502732 0,transparent 65%),var(--nav);
  color:#fff;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:42px 64px;
  position:relative;
  overflow:hidden
}
.login-story .brand {
  position:relative;
  z-index:1;
  align-self:flex-start;
  padding:0;
  gap:13px
}
.login-story .brand img {
  width:224px;
  padding:6px 10px;
  background:#fff;
  border-radius:8px
}
.login-story .brand-product {
  color:#fff;
  padding-left:0
}
.login-story .brand-product small {
  color:#d3cdd4
}
.login-story .eyebrow {
  color:#fbbbc5;
  letter-spacing:2px;
  font-size:10px
}
.login-story-content {
  position:relative;
  z-index:1;
  max-width:480px;
  padding:64px 0
}
.login-story h1 {
  font-size:48px;
  line-height:1.15;
  letter-spacing:-1.7px;
  font-weight:620
}
.login-story h1 em {
  color:#ff5b76;
  font-style:normal
}
.login-story p {
  font-size:14px;
  color:#c7bec8;
  line-height:1.9;
  max-width:375px;
  margin-top:26px
}
.login-story-footer {
  position:relative;
  z-index:1;
  font-size:11px;
  color:#b2a8b3
}
.login-story-art {
  position:absolute;
  right:-50px;
  bottom:50px;
  opacity:.16;
  color:#f5c4ce;
  transform:rotate(-8deg)
}
.login-story-art svg {
  width:420px;
  height:420px
}
.login-main {
  display:grid;
  place-items:center;
  padding:55px;
  border-top:4px solid var(--brand)
}
.login-form {
  width:100%;
  max-width:380px;
  padding:32px;
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow)
}
.login-form .login-product {
  color:var(--brand-strong);
  font-size:11px;
  font-weight:750;
  letter-spacing:.5px;
  margin:0 0 23px;
  padding-bottom:18px;
  border-bottom:1px solid var(--line)
}
.login-form h2 {
  font-size:25px;
  letter-spacing:-.8px
}
.login-form>p {
  font-size:13px;
  color:var(--muted);
  margin:10px 0 30px
}
.login-form .field {
  margin-bottom:18px
}
.login-form .btn {
  width:100%;
  min-height:44px;
  margin-top:8px
}
.login-foot {
  font-size:11px;
  color:var(--muted);
  margin-top:25px;
  padding-top:20px;
  border-top:1px solid var(--line);
  line-height:1.8
}
.login-brand-mobile {
  display:none
}
.settings-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px
}
.settings-grid>.panel+.panel {
  margin:0
}
.notice {
  padding:13px 15px;
  background:#f5f2f6;
  border-radius:8px;
  font-size:11px;
  color:#665d6b;
  line-height:1.8;
  margin-bottom:20px
}
.notice.warning {
  background:var(--accent-pale);
  color:#86651f
}
.map-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) 290px;
  min-height:590px
}
.city-map {
  position:relative;
  background:#eeecef;
  min-height:590px;
  overflow:hidden;
  touch-action:none;
  cursor:grab
}
.city-map.dragging {
  cursor:grabbing
}
.map-tiles {
  position:absolute;
  inset:0;
  pointer-events:none
}
.map-tile {
  position:absolute;
  width:256px;
  height:256px;
  user-select:none
}
.map-marker {
  position:absolute;
  width:30px;
  height:30px;
  border:3px solid white;
  background:var(--brand-strong);
  border-radius:50% 50% 50% 3px;
  transform:translate(-50%,-100%) rotate(-45deg);
  box-shadow:0 2px 8px #23192335;
  cursor:pointer;
  z-index:3;
  padding:0
}
.map-marker svg {
  transform:rotate(45deg);
  width:14px;
  height:14px;
  color:#fff
}
.map-marker.stale {
  background:#aaa2ac
}
.map-marker.on {
  background:#d6a039
}
.map-tools {
  position:absolute;
  top:18px;
  left:18px;
  display:flex;
  flex-direction:column;
  gap:4px;
  z-index:5
}
.map-tools .btn {
  background:#fff;
  box-shadow:0 3px 15px #27202920;
  border:1px solid #fff
}
.map-attribution {
  position:absolute;
  bottom:0;
  right:0;
  padding:2px 7px;
  background:#ffffffd9;
  color:#6f6371;
  font-size:9px;
  z-index:5
}
.map-status {
  position:absolute;
  top:18px;
  right:18px;
  padding:8px 12px;
  border-radius:6px;
  background:#fffffff2;
  font-size:10px;
  color:var(--muted);
  z-index:5;
  max-width:230px
}
.map-sidebar {
  border-left:1px solid var(--line);
  max-height:590px;
  overflow:auto
}
.map-sidebar .list-row {
  cursor:pointer
}
.map-sidebar .list-row:hover {
  background:#faf7fa
}
.map-sidebar-head {
  padding:17px 18px;
  border-bottom:1px solid var(--line);
  font-size:12px;
  font-weight:650
}
.settings-value {
  color:var(--brand-strong);
  font-weight:650
}
.detail-back {
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:var(--muted);
  font-size:11px;
  margin-bottom:16px
}
.page-footer {
  font-size:10px;
  color:#77717a;
  display:flex;
  justify-content:space-between;
  gap:15px;
  margin-top:30px
}
.wrap {
  white-space:normal;
  min-width:180px;
  max-width:430px;
  overflow-wrap:anywhere
}
.break {
  overflow-wrap:anywhere
}
.visually-hidden {
  position:absolute!important;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0
}
.request-state {
  padding:11px 15px;
  border-radius:8px;
  font-size:11px;
  background:#f7f5f7;
  color:var(--muted)
}
.poll-indicator {
  font-size:10px;
  color:#948895;
  display:flex;
  align-items:center;
  gap:6px
}
.select-multiple {
  min-height:100px
}
.chart-tooltip {
  font-size:11px;
  color:var(--muted)
}
@media(min-width:1600px) {
  .main {
    padding:38px 45px
  }
  .topbar {
    padding:0 45px
  }
}
@media(max-width:1180px) {
  .sidebar {
    width:212px;
    padding-left:12px;
    padding-right:12px
  }
  .shell {
    grid-template-columns:212px minmax(0,1fr)
  }
  .brand {
    font-size:21px
  }
  .main {
    padding:26px 24px
  }
  .topbar {
    padding:0 24px
  }
  .grid-2 {
    grid-template-columns:minmax(0,1.3fr) minmax(260px,1fr)
  }
  .stats {
    gap:12px
  }
  .stat {
    padding:19px
  }
  .detail-metrics {
    grid-template-columns:repeat(3,minmax(0,1fr))
  }
  .map-layout {
    grid-template-columns:minmax(0,1fr) 250px
  }
  .topbar .date {
    display:none
  }
  .login-story {
    padding:42px
  }
  .login-story h1 {
    font-size:40px
  }
}
@media(max-width:960px) {
  .grid-2,.grid-equal {
    grid-template-columns:1fr
  }
  .grid-2>.panel+.panel,.grid-equal>.panel+.panel {
    margin-top:0
  }
  .stats {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .settings-grid {
    grid-template-columns:1fr
  }
  .login-page {
    grid-template-columns:minmax(300px,1fr) minmax(380px,1fr)
  }
  .login-main {
    padding:35px
  }
  .login-story {
    padding:30px
  }
  .login-story h1 {
    font-size:34px
  }
  .map-layout {
    grid-template-columns:1fr
  }
  .map-sidebar {
    border-left:0;
    border-top:1px solid var(--line);
    max-height:260px
  }
  .city-map {
    min-height:480px
  }
  .map-layout {
    min-height:480px
  }
}
@media(max-width:720px) {
  .shell {
    display:block
  }
  .sidebar {
    transform:translateX(-100%);
    width:244px;
    transition:transform .2s
  }
  .shell.nav-open .sidebar {
    transform:translateX(0)
  }
  .shell.nav-open .sidebar-overlay {
    display:block;
    position:fixed;
    inset:0;
    background:#23192370;
    z-index:25;
    border:0
  }
  .workspace {
    width:100%
  }
  .mobile-toggle {
    display:inline-flex;
    margin-right:8px
  }
  .topbar {
    height:62px;
    padding:0 18px
  }
  .breadcrumb {
    gap:7px;
    font-size:11px
  }
  .breadcrumb>.breadcrumb-home {
    display:none
  }
  .topbar-right {
    gap:8px;
    font-size:10px
  }
  .topbar-right .btn {
    font-size:10px;
    min-height:31px;
    padding:5px 8px
  }
  .main {
    padding:24px 17px
  }
  .page-heading {
    align-items:flex-start;
    flex-direction:column;
    gap:16px;
    margin-bottom:22px
  }
  .page-heading h1 {
    font-size:25px
  }
  .page-heading p {
    font-size:12px
  }
  .page-heading>.actions {
    width:100%
  }
  .page-heading>.actions .btn-primary {
    margin-left:auto
  }
  .stats {
    gap:11px;
    margin-bottom:18px
  }
  .stat {
    padding:16px
  }
  .stat-label {
    font-size:10px
  }
  .stat-value {
    font-size:28px
  }
  .stat-caption {
    font-size:10px
  }
  .panel-head {
    padding:17px
  }
  .panel-body {
    padding:17px
  }
  .panel-head h2 {
    font-size:15px
  }
  td {
    padding:14px 17px
  }
  th {
    padding:11px 17px
  }
  .filterbar {
    padding:14px 17px
  }
  .filterbar input {
    width:100%
  }
  .filterbar .search-box {
    width:100%
  }
  .filterbar select {
    flex:1;
    width:auto
  }
  .filterbar .result-count {
    width:100%;
    margin:0
  }
  .grid-2,.grid-equal {
    gap:18px
  }
  .section-gap {
    margin-top:18px
  }
  .detail-metrics {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px
  }
  .detail-metrics .stat {
    padding:15px
  }
  .detail-metrics .stat-value {
    font-size:22px
  }
  .form-grid {
    grid-template-columns:1fr
  }
  .field.full {
    grid-column:auto
  }
  .modal-head {
    padding:19px
  }
  .modal-body {
    padding:19px
  }
  .modal-foot {
    padding:16px 19px
  }
  .login-page {
    display:block;
    background:var(--canvas);
    min-height:100vh
  }
  .login-story {
    display:none
  }
  .login-main {
    min-height:100vh;
    padding:30px 20px
  }
  .login-form {
    max-width:380px;
    background:#fff;
    border:1px solid var(--line);
    padding:30px;
    border-radius:16px
  }
  .login-brand-mobile {
    display:flex;
    align-items:flex-start;
    padding:0 0 28px;
    gap:6px
  }
  .login-brand-mobile img {
    width:200px
  }
  .login-brand-mobile .brand-product {
    padding-left:7px
  }
  .login-form .login-product {
    display:none
  }
  .toast-stack {
    bottom:17px;
    right:17px
  }
  .page-footer {
    flex-direction:column;
    gap:5px
  }
  .city-map {
    min-height:430px
  }
  .map-layout {
    min-height:430px
  }
  .map-status {
    max-width:180px;
    font-size:9px
  }
  .detail-tabs {
    padding:0 17px;
    gap:20px
  }
  .kv-list {
    grid-template-columns:1fr 1.3fr
  }
  .topbar-status .status-label {
    display:none
  }
}
@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    animation-duration:.01ms!important;
    transition-duration:.01ms!important;
    scroll-behavior:auto!important
  }
}
.attachment-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px
}
.attachment-grid a {
  font-size:10px;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:8px;
  display:block
}
.attachment-grid img {
  width:100%;
  height:100px;
  object-fit:cover;
  display:block;
  background:var(--canvas)
}
.attachment-grid span {
  padding:7px;
  display:block;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis
}
.badge.rejected,.badge.warning {
  background:var(--accent-pale);
  color:#94701f
}
.badge.cancelled {
  background:#f0edf0;
  color:#706a73
}
.badge.synced {
  background:var(--green-pale);
  color:var(--green)
}
.schedule-layout {
  display:grid;
  grid-template-columns:minmax(280px,.8fr) minmax(0,1.7fr);
  gap:22px;
  align-items:start;
}
.schedule-layout>.panel+.panel { margin-top:0; }
.template-catalog { padding:15px; }
.template-card {
  border:1px solid var(--line);
  border-radius:10px;
  overflow:hidden;
  margin-bottom:12px;
  transition:border-color .15s,box-shadow .15s;
}
.template-card:last-child { margin-bottom:0; }
.template-card.selected { border-color:#d98d9b;box-shadow:0 0 0 2px #e8193312; }
.template-select {
  display:flex;
  gap:11px;
  align-items:center;
  width:100%;
  background:#fcfafc;
  color:var(--ink);
  border:0;
  padding:15px;
  text-align:left;
}
.template-select>span:nth-child(2) { flex:1;min-width:0; }
.template-select strong { display:block;font-size:12px;overflow-wrap:anywhere; }
.template-select small { display:block;color:var(--muted);font-size:10px;margin-top:4px; }
.template-select>svg { width:15px;height:15px;color:#938695; }
.template-icon { display:grid;place-items:center;background:var(--brand-pale);color:var(--brand-strong);height:35px;width:35px;border-radius:9px;flex-shrink:0; }
.template-points { padding:5px 15px; }
.template-point { display:grid;grid-template-columns:70px 1fr 45px;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid #eee9ee;font-size:11px; }
.template-point:last-child { border-bottom:0; }
.template-point strong { text-align:right;font-size:12px;font-weight:650; }
.template-point strong small { color:var(--muted);font-weight:400;margin-left:2px; }
.template-card-actions { display:flex;justify-content:space-between;padding:6px 9px;border-top:1px solid var(--line); }
.schedule-workbench>.field select { min-width:0; }
.schedule-selection-toolbar { display:flex;align-items:center;gap:9px;margin:20px 0 12px;flex-wrap:wrap; }
.schedule-selection-toolbar label { flex:1;min-width:160px; }
.schedule-selection-toolbar select { padding:8px 10px;min-height:34px;font-size:11px; }
.schedule-selection-meta { display:flex;justify-content:space-between;gap:10px;font-size:10px;color:#665d69;margin-bottom:8px; }
.schedule-target-list { border:1px solid var(--line);border-radius:9px;max-height:330px;overflow:auto; }
.schedule-target { display:flex;gap:11px;align-items:center;padding:13px 15px;border-bottom:1px solid #eeebee;cursor:pointer; }
.schedule-target:last-child { border-bottom:0; }
.schedule-target:hover { background:#fbf8fb; }
.schedule-target input { flex-shrink:0; }
.schedule-target-name { flex:1;min-width:0; }
.schedule-target-name strong { font-size:11px;font-weight:650;display:block;overflow-wrap:anywhere; }
.schedule-target-name small { font-size:10px;color:var(--muted);display:block;margin-top:3px; }
.schedule-preview-actions { display:flex;justify-content:flex-end;margin-top:16px; }
.schedule-preview-result { margin-top:24px;border-top:1px solid var(--line);padding-top:22px; }
.schedule-preview-result>.table-wrap { margin:15px -22px 0; }
.schedule-preview-result table { white-space:normal; }
.schedule-preview-result td { font-size:11px; }
.schedule-preview-result .wrap { min-width:130px; }
.schedule-preview-result th { font-size:9px; }
.schedule-dispatch-footer { border-top:1px solid var(--line);padding-top:16px;display:flex;flex-direction:column;align-items:flex-end;gap:14px; }
.schedule-dispatch-footer p { width:100%;font-size:11px; }
.template-point-editor { display:flex;flex-direction:column;gap:9px;margin:6px 0; }
.schedule-point { display:grid;grid-template-columns:22px 55px 55px minmax(90px,1fr) 65px 30px;gap:8px;align-items:end;background:#faf8fa;border:1px solid #eae4ea;border-radius:9px;padding:10px; }
.schedule-point label { display:flex;flex-direction:column;gap:5px; }
.schedule-point label span { font-size:9px;color:var(--muted);font-weight:600; }
.schedule-point input,.schedule-point select { min-height:34px;font-size:11px;padding:7px 8px;min-width:0; }
.schedule-point-index { font-size:10px;font-weight:700;color:#8b7f8d;padding-bottom:9px; }
.schedule-point .btn-icon { width:30px;min-height:34px;padding:7px; }
#add-template-point { align-self:flex-start; }
@media(max-width:1180px) {
  .schedule-layout { grid-template-columns:minmax(250px,.85fr) minmax(0,1.5fr);gap:18px; }
}
@media(max-width:960px) {
  .schedule-layout { grid-template-columns:1fr; }
  .template-catalog { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px; }
  .template-card { margin:0; }
}
@media(max-width:720px) {
  .template-catalog { display:block; }
  .template-card { margin-bottom:12px; }
  .schedule-point { grid-template-columns:18px minmax(0,1fr) minmax(0,1fr) 30px;gap:8px; }
  .schedule-point-index { grid-column:1;grid-row:1/3;align-self:center; }
  .schedule-point label:nth-of-type(1) { grid-column:2;grid-row:1; }
  .schedule-point label:nth-of-type(2) { grid-column:3;grid-row:1; }
  .schedule-point label:nth-of-type(3) { grid-column:2;grid-row:2; }
  .schedule-point label:nth-of-type(4) { grid-column:3;grid-row:2; }
  .schedule-point button { grid-column:4;grid-row:1/3;align-self:center; }
  .schedule-selection-meta { font-size:9px; }
  .schedule-selection-toolbar { gap:7px; }
  .schedule-selection-toolbar label { width:100%;flex-basis:100%; }
  .schedule-preview-result>.table-wrap { margin-left:-17px;margin-right:-17px; }
  .schedule-preview-result>.row { align-items:flex-start; }
  .schedule-preview-result h3 { font-size:13px; }
  .schedule-target { padding:12px;gap:8px; }
  .schedule-target .badge { max-width:100px;white-space:normal; }
  .schedule-dispatch-footer .btn { width:100%; }
}
