/* Shared palette: all product styles reference these values. */
:root {
  --barq-control-radius: 8px;
  --barq-control-height: 44px;
  --barq-color-red: #aa2c2f;
  --barq-color-charcoal: #2b2b2b;
  --barq-color-navy: #142b42;
  --barq-color-moving: #267255;
  --barq-color-stopped: #406782;
  --barq-color-offline: #747571;
  --barq-color-white: #ffffff;
  --barq-color-surface-muted: #f4f6f8;
  --barq-color-border: #dde2e7;
  --barq-color-shade-010: #6f6a64;
  --barq-color-shade-011: #dbd7d0;
  --barq-color-shade-012: #67635d;
  --barq-color-shade-013: #aaa49d;
  --barq-color-shade-014: #bbb5ae;
  --barq-color-shade-015: #504944;
  --barq-color-shade-016: #f9efef;
  --barq-color-shade-017: #d5b5b4;
  --barq-color-shade-018: #2b2b2b26;
  --barq-color-shade-019: #ebe6e0;
  --barq-color-shade-020: #f7f5f2;
  --barq-color-shade-021: #77716b;
  --barq-color-warm: #f3f1ee;
  --barq-color-shade-023: #d8d1c9;
  --barq-color-shade-024: #5f5954;
  --barq-color-shade-025: #aa2c2f88;
  --barq-color-shade-026: #942629;
  --barq-color-shade-027: #484340;
  --barq-color-shade-028: #f0b2b4;
  --barq-color-shade-029: #91847b;
  --barq-color-shade-030: #d4cfca;
  --barq-color-shade-031: #c9c1ba;
  --barq-color-shade-032: #eee9e4;
  --barq-color-shade-033: #41403e;
  --barq-color-shade-034: #55514f;
  --barq-color-shade-035: #514a44;
  --barq-color-shade-036: #d8b5b6;
  --barq-color-shade-037: #faeeee;
  --barq-color-shade-038: #7b2023;
  --barq-color-shade-039: #45413e;
  --barq-color-shade-040: #202020;
  --barq-color-shade-041: #2b2b2b14;
  --barq-color-shade-042: #ffffff26;
  --barq-color-shade-043: #dc787a;
  --barq-color-shade-044: #ffffff0c;
  --barq-color-shade-045: #7f746c;
  --barq-color-shade-046: #ece7e1;
  --barq-color-shade-047: #eaa4a6;
  --barq-color-shade-048: #dcd5ba;
  --barq-color-shade-049: #b1ccc9;
  --barq-color-shade-050: #c6b9d9;
  --barq-color-shade-051: #635b56;
  --barq-color-shade-052: #776e68;
  --barq-color-shade-053: #aa2c2f33;
  --barq-color-shade-054: #aa2c2f08;
  --barq-color-shade-055: #5f5751;
  --barq-color-shade-056: #625b56;
  --barq-color-shade-057: #615951;
  --barq-color-shade-058: #746b65;
  --barq-color-shade-059: #2b2b2b55;
  --barq-color-shade-060: #2b2b2b66;
  --barq-color-shade-061: #2b2b2b22;
  --barq-color-shade-062: #edf4fa;
  --barq-color-shade-063: #b5cbd8;
  --barq-color-shade-064: #254f6a;
  --barq-color-shade-065: #f9eded;
  --barq-color-shade-066: #157a3d;
  --barq-color-shade-067: #e9f7ef;
  --barq-color-shade-068: #b5dfc5;
  --barq-color-shade-069: #876300;
  --barq-color-shade-070: #fff4cc;
  --barq-color-shade-071: #e8d184;
  --barq-color-shade-072: #1769aa;
  --barq-color-shade-073: #eaf3ff;
  --barq-color-shade-074: #b4d1f0;
  --barq-color-shade-075: #7951a8;
  --barq-color-shade-076: #f3edfb;
  --barq-color-shade-077: #d1bce8;
  --barq-color-shade-078: #b12b36;
  --barq-color-shade-079: #ffedf0;
  --barq-color-shade-080: #efb7bf;
  --barq-color-shade-081: #625d58;
  --barq-color-shade-082: #514c48;
  --barq-color-shade-083: #97272a;
  --barq-color-shade-084: #782023;
  --barq-color-shade-085: #d6cec5;
  --barq-color-shade-086: #b8ada2;
  --barq-color-shade-087: #edf5eb;
  --barq-color-shade-088: #fff5de;
  --barq-color-shade-089: #fbe8e8;
  --barq-color-shade-090: #f0ece7;
  --barq-color-shade-091: #8c2427;
  --barq-color-shade-092: #701b1e;
  --barq-color-shade-093: #8d857c;
  --barq-color-shade-094: #f4e8e7;
  --barq-color-shade-095: #245b31;
  --barq-color-shade-096: #f0a9ab;
  --barq-color-shade-097: #c2bab1;
  --barq-color-shade-098: #ddd6cf;
  --barq-color-shade-099: #44403d;
  --barq-color-shade-100: #33312f;
  --barq-color-shade-101: #3c3733;
  --barq-color-shade-102: #4a2d2e;
  --barq-color-shade-103: #263a2b;
  --barq-color-shade-104: #483c24;
  --barq-color-shade-105: #a99f95;
  --barq-color-shade-106: #473536;
  --barq-color-shade-107: #c3e6c9;
  --barq-color-shade-108: #ffc2c4;
  --barq-color-shade-109: #e3b9ba;
  --barq-color-shade-110: #cfc6bd;
  --barq-color-shade-111: #403a37;
  --barq-color-shade-112: #383432;
  --barq-color-shade-113: #f8f6f3;
  --barq-color-shade-114: #f9e9e8;
  --barq-color-shade-115: #f6eedf;
  --barq-color-shade-116: #755321;
  --barq-color-shade-117: #8d2528;
  --barq-color-shade-118: #d0cdc9;
  --barq-color-shade-119: #47413f;
  --barq-color-shade-120: #cf6668;
  --barq-color-shade-121: #d4deeb;
  --barq-color-shade-122: #eaf0f7;
  --barq-color-shade-123: #284260;
  --barq-color-shade-124: #c8dfd2;
  --barq-color-shade-125: #e9f3ed;
  --barq-color-shade-126: #256449;
  --barq-color-shade-127: #edcdce;
  --barq-color-shade-128: #f9e9e9;
  --barq-color-shade-129: #942729;
  --barq-color-shade-130: #d49697;
  --barq-color-shade-131: #fbeded;
  --barq-color-shade-132: #822325;
  --barq-color-shade-133: #73746f;
  --barq-color-shade-134: #e9ede6;
  --barq-color-shade-135: #b9b9b9;
  --barq-color-shade-136: #00000022;
  --barq-color-shade-137: #00000044;
  --barq-color-shade-138: #bc9b9c;
  --barq-color-shade-139: #882629;
  --barq-color-shade-140: #faf0f0;
  --barq-color-shade-141: #f6f4f1;
  --barq-color-shade-142: #e2d0a7;
  --barq-color-shade-143: #fff9ec;
  --barq-color-shade-144: #325579;
  --barq-color-shade-145: #e9f0f7;
  --barq-color-shade-146: #7c5b12;
  --barq-color-shade-147: #fff3d9;
  --barq-color-shade-148: #00000033;
  --barq-color-shade-149: #19171680;
  --barq-color-shade-150: #dfe4eb;
  --barq-color-shade-151: #5d816c;
  --barq-color-shade-152: #e2e6eb;
  --barq-color-shade-153: #f5f3f0;
  --barq-color-shade-154: #2b2b2b30;
  --barq-color-shade-155: #ded8d1;
  --barq-color-shade-156: #2b2b2b05;
  --barq-color-shade-157: #f5faf7;
  --barq-color-shade-158: #d3e7db;
  --barq-color-shade-159: #fdf7f7;
  --barq-color-shade-160: #ecd3d3;
  --barq-color-shade-161: #e4dcd4;
  --barq-color-shade-162: #403b37;
  --barq-color-shade-163: #00000055;
  --barq-color-shade-164: #aa2c2f12;
  --barq-color-shade-165: #aa2c2f0d;
  --barq-color-shade-166: #555f68;
  --barq-color-shade-167: #946000;
  --barq-color-shade-168: #9aa4ae;
}
/* Shared identity for the customer portal, API reference and Django admin. */
@font-face {
  font-family: Geist;
  src: url("fonts/geist-sans.004260ba6fa1.woff") format("woff");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("fonts/geist-mono.c59df31e87bd.woff") format("woff");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --barq-logo-width: 184px;
  --barq-title-size: 23px;
  --barq-brand-gap: 26px;
  --barq-brand-accent: var(--barq-color-red);
  --barq-brand-ink: var(--barq-color-charcoal);
  --barq-navy: var(--barq-color-navy);
  --status-moving: var(--barq-color-moving);
  --status-stopped: var(--barq-color-stopped);
  --status-offline: var(--barq-color-offline);
  --status-alarm: var(--barq-brand-accent);
  --surface: var(--barq-color-white);
  --surface-muted: var(--barq-color-surface-muted);
  --border: var(--barq-color-border);
  --focus: var(--barq-color-stopped);
}
.barq-identity {
  display: flex;
  align-items: center;
  gap: var(--barq-brand-gap);
  min-width: 0;
  color: var(--barq-brand-ink);
}
.barq-identity-logo {
  display: block;
  width: var(--barq-logo-width);
  height: auto;
  flex-shrink: 0;
}
.barq-identity-copy { min-width: 0; }
.barq-identity-title-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.barq-visibility {
  color: var(--barq-brand-ink);
  font: 600 11px/1.5 "Geist Mono", monospace;
  letter-spacing: .14em;
  white-space: nowrap;
}
.barq-identity-title {
  display: block;
  color: var(--barq-brand-ink);
  font: 550 var(--barq-title-size)/1.2 Geist, Arial, sans-serif;
  letter-spacing: -.4px;
  white-space: nowrap;
}
.barq-wordmark-accent { color: var(--barq-brand-accent); }
.barq-identity-tagline {
  display: block;
  margin-top: 5px;
  color: var(--barq-color-shade-010);
  font: 500 10px/1.6 Geist, Arial, sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.barq-site-footer {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 18px 28px;
  background: var(--barq-color-white);
  border-top: 1px solid var(--barq-color-shade-011);
  color: var(--barq-color-shade-012);
  font: 400 11px/1.6 Geist, Arial, sans-serif;
  flex-shrink: 0;
}
.barq-footer-brand {
  color: var(--barq-brand-ink);
  font-size: 13px;
  font-weight: 550;
}
.barq-footer-descriptor {
  flex: 1;
  text-align: center;
  min-width: 230px;
  font-weight: 700;
}
.barq-footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
}
.barq-footer-contact a {
  color: var(--barq-brand-accent);
  text-decoration: none;
  font-size: 12px;
}
.barq-footer-contact a:hover { text-decoration: underline; }
.barq-notification-preference { padding:14px 18px; border-bottom:1px solid var(--barq-color-shade-011); color:var(--barq-color-charcoal); }
.barq-notification-preference label { display:flex; justify-content:space-between; align-items:center; gap:16px; font-size:13px; font-weight:600; }
.barq-notification-preference p { margin:5px 0 0; color:var(--barq-color-shade-012); font-size:11px; line-height:1.5; }
.barq-notification-preference input[role="switch"] { appearance:none; flex-shrink:0; width:38px; height:23px; margin:0; padding:2px; border:1px solid var(--barq-color-shade-013); border-radius:14px; background:var(--barq-color-shade-014); cursor:pointer; transition:background .15s; }
.barq-notification-preference input[role="switch"]::before { content:""; display:block; width:17px; height:17px; border-radius:50%; background:var(--barq-color-white); transition:transform .15s; }
.barq-notification-preference input[role="switch"]:checked { background:var(--barq-color-red); border-color:var(--barq-color-red); }
.barq-notification-preference input[role="switch"]:checked::before { transform:translateX(15px); }
.barq-notification-preference input[role="switch"]:focus-visible { outline:2px solid var(--barq-color-red); outline-offset:3px; }
.barq-notification-preference input[role="switch"]:disabled { opacity:.55; cursor:wait; }
.barq-header-button {
  font: 500 13px/1.5 Geist, Arial, sans-serif;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 5px;
}
@media (max-width: 1100px) {
  :root { --barq-brand-gap: 20px; }
  .barq-footer-descriptor { flex-basis: 100%; order: 3; }
  .barq-identity-title-row { gap: 6px 14px; }
}
@media (max-width: 700px) {
  :root { --barq-logo-width: 156px; --barq-title-size: 20px; --barq-brand-gap: 14px; }
  .barq-identity-tagline { font-size: 9px; white-space: normal; }
  .barq-site-footer { padding: 16px; gap: 6px 14px; }
  .barq-site-footer > * { flex-basis: 100%; text-align: center; }
  .barq-footer-contact { align-items: center; }
  .barq-identity-title-row { gap: 5px; }
  .barq-visibility { font-size: 9px; white-space: normal; letter-spacing: .08em; }
}
@media (max-width: 400px) {
  :root { --barq-logo-width: 140px; --barq-title-size: 18px; --barq-brand-gap: 8px; }
  .barq-identity-tagline { letter-spacing: .12em; }
}

/* One notification surface across tracking, documentation and Admin. */
.barq-notification-wrap { position: relative; flex-shrink: 0; }
.barq-notification-trigger, .barq-notification-icon-button {
  box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; border: 1px solid var(--barq-color-shade-011); border-radius: 10px;
  background: var(--barq-color-white); color: var(--barq-color-shade-015); cursor: pointer; position: relative; line-height: 1;
}
.barq-notification-trigger { list-style: none; }
.barq-notification-trigger::-webkit-details-marker { display: none; }
.barq-notification-trigger:hover, .barq-notification-icon-button:hover, .barq-notification-wrap[open] > .barq-notification-trigger { background: var(--barq-color-shade-016); border-color: var(--barq-color-shade-017); color: var(--barq-color-red); }
.barq-notification-trigger:focus-visible, .barq-notification-icon-button:focus-visible { outline: 2px solid var(--barq-color-red); outline-offset: 3px; }
.barq-notification-count { position: absolute; top: -5px; right: -5px; padding: 3px 5px; min-width: 18px; border: 2px solid var(--barq-color-white); border-radius: 12px; background: var(--barq-color-red); color: var(--barq-color-white); font: 600 10px/1 Geist,Arial,sans-serif; text-align: center; }
.barq-notification-panel { box-sizing: border-box; position: absolute; top: calc(100% + 12px); right: 0; z-index: 1400; width: min(440px,calc(100vw - 32px)); max-height: min(620px,75dvh); overflow: auto; padding: 0; border: 1px solid var(--barq-color-shade-011); border-radius: 14px; background: var(--barq-color-white); color: var(--barq-color-charcoal); box-shadow: 0 12px 40px var(--barq-color-shade-018); text-align: left; font: 400 13px/1.5 Geist,Arial,sans-serif; letter-spacing: normal; text-transform: none; }
.barq-notification-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px 8px; }
.barq-notification-heading h2 { margin: 0; padding: 0; background: transparent; color: var(--barq-color-charcoal); font: 600 18px/1.3 Geist,Arial,sans-serif; letter-spacing: -.2px; }
.barq-notification-actions { display: flex; align-items: center; gap: 6px; }
.barq-notification-icon-button { width: 36px; height: 36px; border-color: transparent; border-radius: 8px; }
.barq-notification-status { margin: 0; padding: 0 18px 16px; color: var(--barq-color-shade-012); font-size: 12px; }
.barq-notification-items { padding: 0 12px 12px; }
.barq-notification-item { display: flex; flex-direction: column; gap: 6px; padding: 14px 12px; border-top: 1px solid var(--barq-color-shade-019); border-radius: 6px; color: var(--barq-color-charcoal); text-decoration: none; }
a.barq-notification-item:hover { background: var(--barq-color-shade-020); }
.barq-notification-title { font-size: 13px; font-weight: 600; line-height: 1.5; }
.barq-notification-description { margin: 0; color: var(--barq-color-shade-015); font-size: 12px; line-height: 1.6; }
.barq-notification-meta { color: var(--barq-color-shade-021); font-size: 11px; }
.barq-notification-item.acknowledged { opacity: .7; }
.barq-notification-acknowledge { display: inline-flex; align-items: center; gap: 5px; align-self: flex-start; margin-top: 3px; padding: 6px 9px; border: 1px solid var(--barq-color-shade-011); border-radius: 6px; background: var(--barq-color-white); color: var(--barq-color-shade-012); font: 500 11px/1.3 Geist,Arial,sans-serif; cursor: pointer; }
.barq-notification-monitoring { margin: 0 18px 18px; padding-top: 12px; border-top: 1px solid var(--barq-color-shade-019); }
.barq-notification-monitoring summary { cursor: pointer; font-size: 12px; font-weight: 600; }
@media (max-width:700px) {
  .barq-identity { justify-content: center; }
  .barq-identity-copy { text-align: center; }
  .barq-identity-title-row { justify-content: center; }
  .barq-notification-wrap { position: static; }
  .barq-notification-panel { position: fixed; left: 16px; right: 16px; top: var(--barq-notification-top,160px); width: auto; max-height: min(620px,calc(100dvh - var(--barq-notification-top,160px) - 16px)); }
  .barq-site-footer { gap: 12px; padding: 20px 16px; }
  .barq-footer-descriptor { order: 0; min-width: 0; }
}
