/* TeraTrack user guides: everything scoped under #tt-ug so the site's own
   styles (bootstrap, style.css) don't leak in and this page doesn't leak
   out. Same visual family as the API reference (#tt-api). */
#tt-ug {
  --blue: #2276b8;
  --blue-dark: #1a5f96;
  --blue-soft: #eaf3fa;
  --navy: #102439;
  --ink: #1f2d3a;
  --muted: #5c6b78;
  --line: #e3e8ee;
  --bg: #f6f8fb;
  --card: #fff;
  --moving: #1f9d55;
  --idle: #f29b1c;
  --parked: #2276b8;
  --offline: #e23b3b;
  --inactive: #8a96a3;
  --radius: 10px;
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}
#tt-ug *,
#tt-ug *::before,
#tt-ug *::after {
  box-sizing: border-box;
}
#tt-ug a {
  color: var(--blue);
  text-decoration: none;
}
#tt-ug a:hover {
  color: var(--blue-dark);
}
#tt-ug code {
  font-family: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;
  font-size: 0.86em;
  background: var(--blue-soft);
  color: var(--blue-dark);
  padding: 1px 6px;
  border-radius: 5px;
}

/* ---------- hero ---------- */
#tt-ug .ug-hero {
  position: relative;
  padding: 64px 24px 52px;
  color: #fff;
  background:
    radial-gradient(1100px 380px at 85% -10%, rgba(34, 118, 184, 0.55), transparent 60%),
    radial-gradient(700px 300px at 0% 120%, rgba(225, 47, 62, 0.18), transparent 60%),
    linear-gradient(135deg, #0c1c2d 0%, var(--navy) 55%, #14345a 100%);
}
#tt-ug .ug-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cpath d='M0 180 C60 150 80 60 140 70 S220 150 240 120' fill='none' stroke='%23ffffff' stroke-opacity='0.06' stroke-width='2' stroke-dasharray='6 8'/%3E%3C/svg%3E");
  pointer-events: none;
}
#tt-ug .ug-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
}
#tt-ug .ug-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b9d6ee;
  padding: 5px 12px;
  border: 1px solid rgba(185, 214, 238, 0.3);
  border-radius: 999px;
}
#tt-ug .ug-eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3ec37e;
  box-shadow: 0 0 0 4px rgba(62, 195, 126, 0.2);
}
#tt-ug .ug-hero h1 {
  margin: 18px 0 10px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
  font-weight: 600;
  color: #fff;
  text-wrap: balance;
}
#tt-ug .ug-hero .lead {
  max-width: 640px;
  margin: 0 0 26px;
  font-size: 16px;
  color: #c7d6e4;
}
#tt-ug .ug-search-wrap {
  position: relative;
  max-width: 640px;
}
#tt-ug .ug-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 12px;
  padding: 0 14px;
  height: 54px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
#tt-ug .ug-search svg {
  width: 20px;
  height: 20px;
  color: var(--muted);
  flex-shrink: 0;
}
#tt-ug .ug-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: transparent;
}
#tt-ug .ug-search kbd {
  font: 12px/1 'JetBrains Mono', monospace;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 4px 7px;
}
#tt-ug .ug-results {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  max-height: 60vh;
  overflow-y: auto;
  background: #fff;
  color: var(--ink);
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(9, 24, 40, 0.3);
  padding: 8px;
  z-index: 20;
}
#tt-ug .ug-results[hidden] {
  display: none;
}
#tt-ug .ug-results-head {
  font-size: 12px;
  color: var(--muted);
  padding: 6px 10px 8px;
}
#tt-ug .ug-results a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--ink);
}
#tt-ug .ug-results a:hover,
#tt-ug .ug-results a:focus {
  background: var(--blue-soft);
  outline: 0;
}
#tt-ug .ug-results small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
}
#tt-ug .ug-results b {
  display: block;
  font-weight: 600;
}
#tt-ug .ug-results span,
#tt-ug .ug-results-none {
  font-size: 13px;
  color: var(--muted);
}
#tt-ug .ug-results-none {
  padding: 12px;
}
#tt-ug .ug-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 30px;
}
#tt-ug .ug-stat b {
  display: block;
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
#tt-ug .ug-stat span {
  font-size: 13px;
  color: #9fb6cb;
}

#tt-ug.is-guide .ug-hero {
  padding: 30px 24px 28px;
}
#tt-ug.is-guide .ug-hero h1 {
  font-size: clamp(22px, 2.4vw, 28px);
  margin: 12px 0 14px;
}
#tt-ug.is-guide .ug-hero .lead,
#tt-ug.is-guide .ug-hero-stats {
  display: none;
}

/* ---------- layout ---------- */
#tt-ug .ug-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 36px 24px 64px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
#tt-ug.is-guide .ug-layout {
  grid-template-columns: 270px minmax(0, 1fr);
}
#tt-ug .ug-side {
  display: none;
}
#tt-ug.is-guide .ug-side {
  display: block;
  position: sticky;
  top: 90px;
  align-self: start;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  padding-right: 6px;
}
#tt-ug .ug-all {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 14px;
}

#tt-ug .ug-nav-title {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  text-align: left;
  padding: 9px 10px;
  border-radius: 8px;
}
#tt-ug .ug-nav-title:hover {
  background: #edf2f7;
}
#tt-ug .ug-count {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  background: #edf2f7;
  border-radius: 999px;
  padding: 0 7px;
  line-height: 18px;
}
#tt-ug .ug-chev {
  margin-left: auto;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 0.2s;
  flex-shrink: 0;
  opacity: 0.6;
}
#tt-ug .ug-nav-group.open .ug-chev,
#tt-ug .ug-tile:not(.closed) .ug-chev {
  transform: rotate(45deg);
}
#tt-ug .ug-nav-items {
  display: none;
  padding: 2px 0 6px;
}
#tt-ug .ug-nav-group.open .ug-nav-items {
  display: block;
}
#tt-ug .ug-nav-group {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
#tt-ug .ug-nav-link {
  display: block;
  font-size: 14px;
  color: var(--ink);
  padding: 6px 10px;
  border-radius: 7px;
  border-left: 3px solid transparent;
}
#tt-ug .ug-nav-link.has-num {
  display: grid;
  grid-template-columns: 2.6em minmax(0, 1fr);
}
#tt-ug .ug-nav-link:hover {
  background: #edf2f7;
  color: var(--ink);
}
#tt-ug .ug-nav-link.active {
  background: var(--blue-soft);
  color: var(--blue-dark);
  border-left-color: var(--blue);
  font-weight: 500;
}
#tt-ug .ug-home {
  display: block;
}
#tt-ug.is-guide .ug-home {
  display: none;
}
#tt-ug .ug-article {
  display: none;
}
#tt-ug.is-guide .ug-article {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 36px 44px 32px;
  max-width: 860px;
}

#tt-ug .ug-nav-link .n,
#tt-ug .ug-title .n {
  display: inline-block;
  color: var(--muted);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
#tt-ug .ug-title .n {
  min-width: 0;
  margin-right: 0.4em;
  color: var(--blue);
}
#tt-ug .ug-tile a b i {
  font-style: normal;
  color: var(--muted);
  font-weight: 500;
  margin-right: 0.45em;
  font-variant-numeric: tabular-nums;
}

/* ---------- home tiles ---------- */
#tt-ug .ug-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
#tt-ug .ug-tile {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 22px 14px;
}
#tt-ug .ug-tile.wide {
  grid-column: 1 / -1;
}
#tt-ug .ug-tile.wide ul {
  columns: 3 260px;
  column-gap: 32px;
}
#tt-ug .ug-tile.wide li {
  break-inside: avoid;
  border-top: 1px solid var(--line);
}
#tt-ug .ug-tile-head {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  padding: 0 0 10px;
  color: var(--blue);
  text-align: left;
}
#tt-ug .ug-tile.closed .ug-tile-head {
  padding-bottom: 8px;
}
#tt-ug .ug-tile.closed ul {
  display: none;
}
#tt-ug .ug-tile h2 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0;
}
#tt-ug .ug-tile ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#tt-ug .ug-tile li + li {
  border-top: 1px solid var(--line);
}
#tt-ug .ug-tile a {
  display: block;
  padding: 10px 0;
  color: var(--ink);
}
#tt-ug .ug-tile a b {
  display: block;
  font-weight: 600;
  font-size: 15px;
}
#tt-ug .ug-tile a span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
#tt-ug .ug-tile a:hover b {
  color: var(--blue);
}

/* ---------- article ---------- */
#tt-ug .ug-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}
#tt-ug .ug-title {
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.2;
  font-weight: 600;
  color: var(--navy);
  margin: 10px 0 8px;
  text-wrap: balance;
}
#tt-ug .ug-summary {
  font-size: 17px;
  color: var(--muted);
  margin: 0 0 6px;
  max-width: 62ch;
}
#tt-ug .ug-meta {
  font-size: 12px;
  color: var(--muted);
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
#tt-ug .ug-body {
  max-width: 68ch;
}
#tt-ug .ug-body h3 {
  font-size: 19px;
  font-weight: 600;
  color: var(--navy);
  margin: 30px 0 8px;
}
#tt-ug .ug-body h3:first-child {
  margin-top: 0;
}
#tt-ug .ug-body p,
#tt-ug .ug-body ul,
#tt-ug .ug-body ol {
  margin: 0 0 14px;
}
#tt-ug .ug-body ul,
#tt-ug .ug-body ol {
  padding-left: 22px;
}
#tt-ug .ug-body li {
  margin-bottom: 6px;
}
#tt-ug .ug-body li ul {
  margin-top: 6px;
}
#tt-ug .ug-body .ui {
  display: inline-block;
  font-size: 0.88em;
  font-weight: 500;
  color: var(--blue-dark);
  background: var(--blue-soft);
  border: 1px solid #cfe2f2;
  border-radius: 6px;
  padding: 0 7px;
  white-space: nowrap;
}
/* numbered steps */
#tt-ug .ug-steps {
  list-style: none;
  counter-reset: step;
  padding-left: 0 !important;
}
#tt-ug .ug-steps > li {
  position: relative;
  counter-increment: step;
  padding: 2px 0 6px 44px;
  min-height: 30px;
}
#tt-ug .ug-steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
#tt-ug .ug-steps > li:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 14px;
  top: 32px;
  bottom: -2px;
  width: 2px;
  background: #d6e5f2;
}
/* callouts */
#tt-ug .ug-note {
  display: flex;
  gap: 12px;
  border-radius: 10px;
  padding: 14px 16px;
  margin: 18px 0;
  font-size: 14px;
  border: 1px solid;
}
#tt-ug .ug-note::before {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
#tt-ug .ug-note.tip {
  background: #effaf4;
  border-color: #c9ecd8;
}
#tt-ug .ug-note.tip::before {
  content: '\2713 ';
  background: var(--moving);
}
#tt-ug .ug-note.info {
  background: var(--blue-soft);
  border-color: #cfe2f2;
}
#tt-ug .ug-note.info::before {
  content: 'i';
  background: var(--blue);
}
#tt-ug .ug-note.warn {
  background: #fff6ea;
  border-color: #f6dcb4;
}
#tt-ug .ug-note.warn::before {
  content: '!';
  background: var(--idle);
}
/* tables */
#tt-ug .ug-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 6px 0 18px;
}
#tt-ug .ug-table th {
  text-align: left;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  padding: 8px 10px;
  border-bottom: 2px solid var(--line);
}
#tt-ug .ug-table td {
  padding: 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
#tt-ug .ug-table td:first-child {
  white-space: nowrap;
}
/* status pills */
#tt-ug .st {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  padding: 2px 10px;
  border-radius: 999px;
  color: #fff;
}
#tt-ug .st::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
}
#tt-ug .st-moving { background: var(--moving); }
#tt-ug .st-idle { background: var(--idle); }
#tt-ug .st-parked { background: var(--parked); }
#tt-ug .st-offline { background: var(--offline); }
#tt-ug .st-inactive { background: var(--inactive); }
/* faq */
#tt-ug .ug-faq {
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 10px;
  background: #fbfcfe;
}
#tt-ug .ug-faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 14px 16px;
  list-style: none;
  position: relative;
  padding-right: 40px;
}
#tt-ug .ug-faq summary::-webkit-details-marker {
  display: none;
}
#tt-ug .ug-faq summary::after {
  content: '+';
  position: absolute;
  right: 16px;
  top: 12px;
  font-size: 20px;
  color: var(--blue);
}
#tt-ug .ug-faq[open] summary::after {
  content: '\2212 ';
}
#tt-ug .ug-faq p {
  padding: 0 16px 14px;
  margin: 0;
  color: var(--muted);
}
/* the map-screen figure */
#tt-ug .ug-figure {
  margin: 8px 0 18px;
  max-width: 100%;
}
#tt-ug .ug-figure svg {
  width: 100%;
  height: auto;
  display: block;
}
#tt-ug .f-frame { fill: #f3f6f9; stroke: var(--line); }
#tt-ug .f-top { fill: var(--blue); }
#tt-ug .f-txt-l text { fill: #fff; font: 600 12px Poppins, sans-serif; }
#tt-ug .f-nav rect { fill: rgba(255, 255, 255, 0.25); }
#tt-ug .f-card { fill: #fff; stroke: var(--line); }
#tt-ug .f-field { fill: #eef2f6; }
#tt-ug .f-group { fill: var(--blue); }
#tt-ug .f-row { fill: #f6f9fc; stroke: #e6ecf2; }
#tt-ug .f-btn { fill: var(--blue-soft); stroke: #cfe2f2; }
#tt-ug .f-map { fill: #e7efe5; stroke: var(--line); }
#tt-ug .f-route { fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; }
#tt-ug .f-cluster { fill: #fff; stroke: var(--blue); stroke-width: 5; }
#tt-ug .f-line { fill: #e6ecf2; }
#tt-ug .s-moving { fill: var(--moving); }
#tt-ug .s-idle { fill: var(--idle); }
#tt-ug .s-parked { fill: var(--parked); }
#tt-ug .s-offline { fill: var(--offline); }
#tt-ug .s-inactive { fill: var(--inactive); }
#tt-ug .f-pin circle { fill: #e12f3e; stroke: #fff; stroke-width: 2; }
#tt-ug .f-pin text { fill: #fff; font: 700 12px Poppins, sans-serif; text-anchor: middle; }
#tt-ug .ug-legend {
  padding-left: 22px;
}
#tt-ug .ug-legend li::marker {
  color: #e12f3e;
  font-weight: 700;
}
/* pager */
#tt-ug .ug-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
#tt-ug .ug-pager a {
  display: block;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 16px;
  font-weight: 500;
  color: var(--ink);
}
#tt-ug .ug-pager a:hover {
  border-color: var(--blue);
  color: var(--blue);
}
#tt-ug .ug-pager .next {
  text-align: right;
}
#tt-ug .ug-pager small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
}
#tt-ug .ug-help-more {
  margin-top: 18px;
}
/* contact strip */
#tt-ug .ug-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  max-width: 860px;
  background: var(--navy);
  color: #fff;
  border-radius: 14px;
  padding: 20px 24px;
}
#tt-ug:not(.is-guide) .ug-cta {
  max-width: none;
}
#tt-ug .ug-cta b {
  display: block;
  font-size: 16px;
}
#tt-ug .ug-cta span {
  font-size: 14px;
  color: #b8cadb;
}
#tt-ug .ug-btn {
  display: inline-block;
  background: var(--blue);
  color: #fff !important;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 8px;
}
#tt-ug .ug-btn:hover {
  background: var(--blue-dark);
}
#tt-ug .ug-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: var(--navy);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 30;
}
#tt-ug .ug-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

/* ---------- mockup illustrations (.mk) and copied screenshots ---------- */
#tt-ug .ug-shot {
  margin: 14px 0 18px;
}
#tt-ug .ug-shot img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(16, 36, 57, 0.08);
}
#tt-ug .ug-table-wrap {
  overflow-x: auto;
}
#tt-ug .ug-body table.ug-table th {
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
  color: var(--ink);
}
#tt-ug .mk {
  margin: 18px 0 24px;
  max-width: 100%;
}
#tt-ug .mk-stage {
  background:
    radial-gradient(circle at 20% 0%, rgba(34, 118, 184, 0.10), transparent 55%),
    linear-gradient(180deg, #eef3f8, #e6edf4);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink);
  overflow: hidden;
}
#tt-ug .mk.center .mk-stage {
  display: flex;
  justify-content: center;
}
#tt-ug .mk figcaption {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 8px;
  text-align: center;
}
#tt-ug .mk b {
  font-weight: 600;
}
#tt-ug .mk small {
  display: block;
  font-size: 10.5px;
  color: var(--muted);
}
#tt-ug .mk .c {
  text-align: center;
}
#tt-ug .mk-muted {
  color: var(--muted);
  font-size: 11px;
}
#tt-ug .mk-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
#tt-ug .mk-row.r {
  justify-content: flex-end;
  margin-top: 12px;
}
#tt-ug .mk-row.c {
  justify-content: center;
  margin-top: 8px;
}
/* window */
#tt-ug .mk-win {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(16, 36, 57, 0.16);
  overflow: hidden;
  width: 100%;
}
#tt-ug .mk-win.narrow {
  max-width: 380px;
  margin: 0 auto;
}
#tt-ug .mk-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(90deg, #1a6aa8, var(--blue));
  color: #fff;
  padding: 9px 14px;
  font-size: 12.5px;
}
#tt-ug .mk-bar b {
  color: #fff;
}
#tt-ug .mk-dots i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  margin-right: 4px;
}
#tt-ug .mk-body {
  padding: 16px;
}
#tt-ug .mk-body p {
  margin: 0 0 10px;
}
/* buttons, fields, tags */
#tt-ug .mk-btn {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 500;
  border-radius: 999px;
  padding: 5px 14px;
  border: 1px solid var(--blue);
  color: var(--blue);
  background: #fff;
  white-space: nowrap;
}
#tt-ug .mk-btn.pri {
  background: var(--blue);
  color: #fff;
}
#tt-ug .mk-btn.ghost {
  background: var(--blue-soft);
  border-color: var(--blue-soft);
}
#tt-ug .mk-btn.sm {
  padding: 3px 10px;
  font-size: 10.5px;
}
#tt-ug .mk-btn.wide {
  display: block;
  text-align: center;
  border-radius: 8px;
  padding: 8px;
  margin: 10px 0 6px;
}
#tt-ug .mk-field {
  margin-bottom: 9px;
}
#tt-ug .mk-field label {
  display: block;
  font-size: 10.5px;
  color: var(--muted);
  margin-bottom: 3px;
}
#tt-ug .mk-field div {
  border: 1px solid #cfdbe7;
  border-radius: 7px;
  padding: 6px 9px;
  background: #fff;
  min-height: 30px;
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
#tt-ug .mk-tag {
  background: #edf2f7;
  border-radius: 999px;
  padding: 1px 9px;
  font-size: 10.5px;
}
#tt-ug .mk-grid2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0 14px;
}
#tt-ug .mk-seg {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 10px;
}
#tt-ug .mk-seg i,
#tt-ug .mk-tabs i,
#tt-ug .mk-speeds i {
  font-style: normal;
  border: 1px solid #cfdbe7;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 10.5px;
  background: #fff;
}
#tt-ug .mk-seg i.on,
#tt-ug .mk-tabs i.on,
#tt-ug .mk-speeds i.on {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
#tt-ug .mk-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 12px;
}
#tt-ug .mk-tabs i {
  border-radius: 7px;
}
/* sign in */
#tt-ug .mk-login {
  padding: 6px 8px;
}
#tt-ug .mk-logo {
  font-weight: 700;
  font-style: italic;
  font-size: 18px;
  color: var(--blue);
  text-align: center;
  margin: 2px 0 12px;
}
#tt-ug .mk-link {
  text-align: center;
  color: var(--blue);
  font-size: 11px;
}
/* status bar */
#tt-ug .mk-status {
  display: flex;
  justify-content: space-around;
  gap: 6px;
  background: #fff;
  border-radius: 12px;
  padding: 10px 8px;
  box-shadow: 0 4px 14px rgba(16, 36, 57, 0.08);
  min-width: 260px;
}
#tt-ug .mk-st {
  text-align: center;
  border-radius: 8px;
  padding: 2px 4px;
}
#tt-ug .mk-st.on {
  background: var(--blue-soft);
}
#tt-ug .mk-st small {
  color: var(--ink);
  font-weight: 500;
  margin-top: 3px;
}
#tt-ug .mk-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #fff;
  font-weight: 600;
  font-size: 12px;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.9), 0 0 0 4px rgba(0, 0, 0, 0.06);
}
#tt-ug .mk-dot.moving,
#tt-ug .mk-pill.moving { background: var(--moving); }
#tt-ug .mk-dot.idle,
#tt-ug .mk-pill.idle { background: var(--idle); }
#tt-ug .mk-dot.parked,
#tt-ug .mk-pill.parked { background: var(--parked); }
#tt-ug .mk-dot.offline,
#tt-ug .mk-pill.offline { background: var(--offline); }
#tt-ug .mk-dot.inactive,
#tt-ug .mk-pill.inactive { background: var(--inactive); }
#tt-ug .mk-pill {
  color: #fff;
  border-radius: 999px;
  padding: 1px 9px;
  font-size: 10.5px;
  font-weight: 500;
}
/* list and cards */
#tt-ug .mk-col {
  display: grid;
  gap: 12px;
  max-width: 400px;
  margin: 0 auto;
}
#tt-ug .mk-panel {
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 4px 14px rgba(16, 36, 57, 0.08);
}
#tt-ug .mk-search {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  border: 1px solid #cfdbe7;
  border-radius: 8px;
  padding: 6px 9px;
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 10px;
}
#tt-ug .mk-tools i {
  font-style: normal;
  font-size: 10px;
  color: var(--blue);
  margin-left: 7px;
}
#tt-ug .mk-group {
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  border-radius: 7px;
  padding: 5px 10px;
  margin-bottom: 8px;
}
#tt-ug .mk-card {
  border: 1px solid #e3eaf1;
  border-radius: 9px;
  padding: 8px 10px;
  margin-bottom: 8px;
  background: #fff;
}
#tt-ug .mk-card.sel {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(34, 118, 184, 0.15);
}
#tt-ug .mk-card b {
  color: var(--blue-dark);
}
#tt-ug .mk-sub {
  font-size: 10.5px;
  color: var(--muted);
}
#tt-ug .mk-addr {
  font-size: 11px;
  margin: 3px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#tt-ug .mk-sens {
  font-size: 10px;
  color: var(--muted);
  justify-content: flex-start;
  gap: 14px;
}
#tt-ug .mk-actions {
  display: flex;
  justify-content: space-around;
  gap: 6px;
  margin-top: 4px;
}
/* vehicle panel */
#tt-ug .mk-side {
  display: grid;
  gap: 10px;
  width: 290px;
  max-width: 100%;
}
#tt-ug .mk-block {
  background: #fff;
  border-radius: 10px;
  padding: 10px 12px;
  box-shadow: 0 4px 14px rgba(16, 36, 57, 0.07);
}
#tt-ug .mk-h {
  text-align: center;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--navy);
}
#tt-ug .mk-h.l {
  text-align: left;
  color: var(--blue);
}
#tt-ug .mk-x {
  color: var(--muted);
}
#tt-ug .mk-veh {
  height: 42px;
  margin: 8px auto 4px;
  width: 110px;
  border-radius: 18px 26px 8px 8px;
  background: linear-gradient(180deg, #f2f5f8, #cfd8e1);
  position: relative;
}
#tt-ug .mk-veh::before,
#tt-ug .mk-veh::after {
  content: '';
  position: absolute;
  bottom: -6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #3a4651;
}
#tt-ug .mk-veh::before { left: 16px; }
#tt-ug .mk-veh::after { right: 16px; }
#tt-ug .mk-kv {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #eef2f6;
  padding: 4px 0;
}
#tt-ug .mk-big {
  font-size: 18px;
  font-weight: 600;
}
#tt-ug .mk-big small {
  display: inline;
  margin-left: 6px;
}
/* vehicle menu */
#tt-ug .mk-menu-wrap {
  position: relative;
  width: 330px;
  max-width: 100%;
  padding-bottom: 150px;
}
#tt-ug .mk-menu {
  position: absolute;
  right: -6px;
  top: 34px;
  background: #fff;
  border-radius: 9px;
  box-shadow: 0 12px 30px rgba(16, 36, 57, 0.2);
  padding: 5px 0;
  min-width: 160px;
  font-size: 11.5px;
}
#tt-ug .mk-menu div {
  padding: 4px 14px;
}
#tt-ug .mk-menu div:first-child {
  background: var(--blue-soft);
  color: var(--blue-dark);
}
/* maps */
#tt-ug .mk-map {
  position: relative;
  height: 170px;
  border-radius: 10px;
  background:
    linear-gradient(90deg, transparent 48%, rgba(255, 255, 255, 0.9) 48% 50%, transparent 50%) 0 0 / 120px 100%,
    linear-gradient(0deg, transparent 58%, rgba(255, 255, 255, 0.9) 58% 60%, transparent 60%) 0 0 / 100% 90px,
    linear-gradient(135deg, #dfeadc, #e9efe3 60%, #dbe7ef);
  overflow: hidden;
}
#tt-ug .mk-route {
  position: absolute;
  left: 6%;
  right: 8%;
  top: 30%;
  height: 90px;
  border: 4px solid var(--blue);
  border-color: var(--blue) transparent transparent var(--blue);
  border-radius: 60px 0 0 0;
  transform: skewX(-18deg);
  opacity: 0.85;
}
#tt-ug .mk-car {
  position: absolute;
  left: 46%;
  top: calc(30% - 9px);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--moving);
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
#tt-ug .mk-ctrl {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 12px 0 8px;
}
#tt-ug .mk-play {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}
#tt-ug .mk-speeds {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-left: auto;
}
#tt-ug .mk-timeline {
  position: relative;
  height: 26px;
  background: #fff;
  border-radius: 6px;
  margin-bottom: 8px;
}
#tt-ug .mk-timeline i {
  position: absolute;
  top: 9px;
  height: 10px;
  border-radius: 3px;
  background: var(--blue);
}
#tt-ug .mk-timeline em {
  position: absolute;
  top: 2px;
  width: 2px;
  height: 7px;
  background: var(--idle);
}
#tt-ug .mk-timeline b {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #e23b3b;
}
#tt-ug .mk-checks {
  justify-content: flex-start;
  gap: 16px;
  font-size: 11px;
}
#tt-ug .mk-geo {
  height: 210px;
}
#tt-ug .mk-poly {
  position: absolute;
  left: 12%;
  top: 18%;
  width: 34%;
  height: 52%;
  background: rgba(34, 118, 184, 0.18);
  border: 2px solid var(--blue);
  clip-path: polygon(10% 0, 100% 20%, 85% 100%, 0 80%);
}
#tt-ug .mk-circle {
  position: absolute;
  left: 20%;
  bottom: 8%;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(31, 157, 85, 0.18);
  border: 2px solid var(--moving);
}
#tt-ug .mk-pin {
  position: absolute;
  left: 26%;
  top: 8%;
  background: #fff;
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 10.5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
#tt-ug .mk-float {
  position: relative;
  margin: -150px 0 0 auto;
  width: 230px;
  max-width: 100%;
}
/* lists, tables */
#tt-ug .mk-list {
  display: grid;
  gap: 8px;
}
#tt-ug .mk-trip {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  align-items: center;
  background: #fff;
  border-radius: 9px;
  padding: 9px 12px;
  box-shadow: 0 3px 10px rgba(16, 36, 57, 0.07);
}
#tt-ug .mk-chips {
  display: flex;
  gap: 5px;
}
#tt-ug .mk-chips i {
  font-style: normal;
  border: 1px solid #cfdbe7;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 10.5px;
  white-space: nowrap;
}
#tt-ug .mk-form {
  display: grid;
  grid-template-columns: 1.2fr 1.6fr auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 12px;
}
#tt-ug .mk-form .mk-field {
  margin: 0;
}
#tt-ug .mk-form-btns {
  display: flex;
  align-items: center;
  gap: 6px;
}
#tt-ug .mk-ico {
  font-size: 9.5px;
  font-weight: 700;
  color: #e23b3b;
  border: 1px solid #f2c8c8;
  border-radius: 5px;
  padding: 2px 4px;
  background: #fff;
}
#tt-ug .mk-table {
  background: #fff;
  border-radius: 9px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(16, 36, 57, 0.06);
}
#tt-ug .mk-table.sm {
  min-width: 150px;
}
#tt-ug .mk-tr {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 8px;
  padding: 7px 12px;
  border-bottom: 1px solid #eef2f6;
}
#tt-ug .mk-tr i {
  font-style: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#tt-ug .mk-tr.th {
  background: #eaf3fa;
  color: var(--blue-dark);
  font-weight: 600;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
#tt-ug .mk-tr i.lnk {
  color: var(--blue);
}
#tt-ug .mk-day {
  background: #edf2f7;
  border-radius: 7px;
  padding: 6px 12px;
  margin: 12px 0 6px;
  font-weight: 600;
}
#tt-ug .mk-cmd {
  text-align: center;
  font-weight: 600;
  color: #e23b3b;
  background: #fdeeee;
  border-radius: 8px;
  padding: 8px;
}
#tt-ug .mk-copy {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px dashed #cfdbe7;
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 10.5px;
  color: var(--muted);
}
#tt-ug .mk-copy span:first-child {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#tt-ug .mk-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: center;
}
#tt-ug .mk-curve {
  height: 120px;
  border-left: 2px solid #cfdbe7;
  border-bottom: 2px solid #cfdbe7;
  background: linear-gradient(to top right, transparent 49%, var(--blue) 49.5% 51%, transparent 51.5%);
}
/* dashboard */
#tt-ug .mk-dash {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
#tt-ug .mk-tile {
  background: #fff;
  border-radius: 10px;
  padding: 10px 12px;
  box-shadow: 0 3px 10px rgba(16, 36, 57, 0.07);
}
#tt-ug .mk-tile.wide {
  grid-column: 1 / -1;
}
#tt-ug .mk-tile b {
  font-size: 20px;
}
#tt-ug .mk-donut {
  width: 64px;
  height: 64px;
  margin: 6px auto 0;
  border-radius: 50%;
  background: conic-gradient(var(--moving) 0 26%, var(--idle) 26% 35%, var(--parked) 35% 93%, var(--offline) 93% 97%, var(--inactive) 97%);
  -webkit-mask: radial-gradient(circle, transparent 46%, #000 47%);
  mask: radial-gradient(circle, transparent 46%, #000 47%);
}
#tt-ug .mk-bars i {
  display: block;
  height: 10px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--blue), #5aa7df);
  margin-top: 6px;
}
/* phone */
#tt-ug .mk-phone {
  width: 250px;
  max-width: 100%;
  border-radius: 30px;
  padding: 10px;
  background: #1b2733;
  box-shadow: 0 16px 40px rgba(16, 36, 57, 0.3);
}
#tt-ug .mk-screen {
  background: #f4f7fa;
  border-radius: 22px;
  padding: 12px 9px 0;
  overflow: hidden;
  display: grid;
  gap: 8px;
}
#tt-ug .mk-screen .mk-status {
  min-width: 0;
  padding: 7px 4px;
}
#tt-ug .mk-screen .mk-dot {
  width: 24px;
  height: 24px;
  font-size: 10px;
}
#tt-ug .mk-screen .mk-st small {
  font-size: 8.5px;
}
#tt-ug .mk-screen .mk-card {
  margin: 0;
}
#tt-ug .mk-tabbar {
  display: flex;
  justify-content: space-around;
  background: #fff;
  margin: 0 -9px;
  padding: 8px 4px 12px;
  border-radius: 16px 16px 0 0;
  font-size: 9px;
}
#tt-ug .mk-tabbar i {
  font-style: normal;
  color: var(--muted);
}
#tt-ug .mk-tabbar i.on {
  color: var(--blue);
  font-weight: 600;
}
@media (max-width: 600px) {
  #tt-ug .mk-stage {
    padding: 14px;
  }
  #tt-ug .mk-form {
    grid-template-columns: 1fr;
  }
  #tt-ug .mk-trip {
    grid-template-columns: 1fr 1fr;
  }
  #tt-ug .mk-chips {
    grid-column: 1 / -1;
  }
  #tt-ug .mk-float {
    margin: 12px 0 0;
    width: auto;
  }
  #tt-ug .mk-dash {
    grid-template-columns: 1fr 1fr;
  }
}

/* menu: same look as the previous guide's accordion (bordered cards, blue
   headers with a caret, items on an off-white ground) */
#tt-ug .ug-nav-group {
  border: 1px solid #e2e1e1;
  border-radius: 4px;
  overflow: hidden;
  padding: 0;
  margin-bottom: -1px;
}
#tt-ug .ug-nav-group:first-child {
  border-radius: 4px 4px 0 0;
}
#tt-ug .ug-nav-title {
  background: #55a1cd;
  color: #fff;
  border-radius: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 9px 14px 9px 16px;
}
#tt-ug .ug-nav-title:hover {
  background: #4a93bd;
}
#tt-ug .ug-nav-title .ug-count {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}
/* caret: down when closed, up when open, as before */
#tt-ug .ug-nav-title .ug-chev {
  border: 0;
  width: 0;
  height: 0;
  opacity: 1;
  transform: none;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 7px solid #fff;
}
#tt-ug .ug-nav-group.open .ug-nav-title .ug-chev {
  transform: rotate(180deg);
}
#tt-ug .ug-nav-items {
  padding: 0;
}
#tt-ug .ug-nav-link {
  border-left: 0;
  border-radius: 0;
  border-bottom: 1px solid #e2e1e1;
  background: #fbf9f9;
  color: #6f6a6a;
  padding: 9px 14px 9px 16px;
}
#tt-ug .ug-nav-items .ug-nav-link:last-child {
  border-bottom: 0;
}
#tt-ug .ug-nav-link:hover {
  background: #f1eeee;
  color: var(--ink);
}
#tt-ug .ug-nav-link.active {
  background: #e8e1e1;
  color: #55a1cd;
  font-weight: 600;
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  #tt-ug.is-guide .ug-layout {
    grid-template-columns: 1fr;
  }
  #tt-ug.is-guide .ug-side {
    position: static;
    max-height: none;
    order: 2;
  }
  #tt-ug.is-guide .ug-nav {
    display: none;
  }
  #tt-ug.is-guide .ug-article {
    padding: 24px 18px;
  }
  #tt-ug .ug-hero {
    padding: 44px 16px 40px;
  }
  #tt-ug .ug-layout {
    padding: 24px 16px 48px;
  }
  #tt-ug .ug-pager {
    grid-template-columns: 1fr;
  }
  #tt-ug .ug-pager .next {
    text-align: left;
  }
  #tt-ug .ug-search kbd {
    display: none;
  }
}
@media (max-width: 560px) {
  #tt-ug .ug-table td:first-child {
    white-space: normal;
  }
}
@media (prefers-reduced-motion: reduce) {
  #tt-ug * {
    transition: none !important;
  }
}
/* ---------- phone: a real device frame ---------- */
#tt-ug .mk-phones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}
#tt-ug .mk-device {
  position: relative;
  width: 264px;
  max-width: 100%;
  aspect-ratio: 9 / 19.5;
  border-radius: 44px;
  padding: 10px;
  background: linear-gradient(145deg, #3a4654, #151c24 55%, #2b3540);
  box-shadow:
    inset 0 0 0 1.5px #5b6876,
    inset 0 0 0 4px #10161d,
    0 26px 50px -12px rgba(16, 36, 57, 0.45),
    0 8px 18px rgba(16, 36, 57, 0.18);
}
#tt-ug .mk-device::before,
#tt-ug .mk-device::after {
  content: '';
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: #2a333d;
}
#tt-ug .mk-device::before {
  left: -3px;
  top: 22%;
  height: 52px;
  box-shadow: 0 64px 0 #2a333d;
}
#tt-ug .mk-device::after {
  right: -3px;
  top: 28%;
  height: 74px;
}
#tt-ug .mk-device-screen {
  position: relative;
  height: 100%;
  border-radius: 35px;
  overflow: hidden;
  background: #fcfcfc;
  display: flex;
  flex-direction: column;
  font-family: Poppins, 'Segoe UI', system-ui, sans-serif;
}
#tt-ug .mk-device-screen > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
#tt-ug .mk-island {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 76px;
  height: 22px;
  border-radius: 12px;
  background: #05080b;
  z-index: 3;
}
#tt-ug .mk-sb {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 22px 0 28px;
  color: #111;
  z-index: 2;
  font-size: 12px;
}
#tt-ug .mk-sb.lt {
  color: #fff;
}
#tt-ug .mk-sb b {
  color: inherit;
  font-weight: 600;
  letter-spacing: 0.01em;
}
#tt-ug .mk-sb-ic {
  display: flex;
  align-items: center;
  gap: 5px;
}
#tt-ug .mk-sb-ic .sig {
  width: 15px;
  height: 9px;
  background:
    linear-gradient(currentColor, currentColor) 0 100% / 3px 35% no-repeat,
    linear-gradient(currentColor, currentColor) 4px 100% / 3px 55% no-repeat,
    linear-gradient(currentColor, currentColor) 8px 100% / 3px 78% no-repeat,
    linear-gradient(currentColor, currentColor) 12px 100% / 3px 100% no-repeat;
}
#tt-ug .mk-sb-ic .bat {
  position: relative;
  width: 21px;
  height: 10px;
  border: 1.2px solid currentColor;
  border-radius: 3px;
  opacity: 0.95;
}
#tt-ug .mk-sb-ic .bat::before {
  content: '';
  position: absolute;
  inset: 1.5px 5px 1.5px 1.5px;
  background: currentColor;
  border-radius: 1px;
}
#tt-ug .mk-sb-ic .bat::after {
  content: '';
  position: absolute;
  right: -3.5px;
  top: 2.5px;
  width: 1.8px;
  height: 3.5px;
  background: currentColor;
  border-radius: 0 1px 1px 0;
}
#tt-ug .mk-home {
  position: absolute;
  bottom: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 4px;
  border-radius: 3px;
  background: #111;
  z-index: 2;
}
/* app screens drawn in the app's own style */
#tt-ug .mk-ah {
  background: #3095d2;
  color: #fff;
  padding: 44px 16px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
}
#tt-ug .mk-ah .bk {
  width: 8px;
  height: 8px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}
#tt-ug .mk-ac {
  flex: 1;
  padding: 14px 14px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  font-size: 11px;
  color: #384f5a;
}
#tt-ug .mk-ac.c {
  justify-content: center;
}
#tt-ug .mk-brand {
  text-align: center;
  font-weight: 700;
  font-size: 20px;
  color: #1a75bb;
  letter-spacing: -0.01em;
}
#tt-ug .mk-brand small {
  display: block;
  font-weight: 400;
  font-size: 10.5px;
  color: #7b91b0;
  letter-spacing: 0;
}
#tt-ug .mk-in {
  border: 1px solid #e3e8ee;
  background: #fff;
  border-radius: 10px;
  padding: 9px 11px;
}
#tt-ug .mk-in label {
  display: block;
  font-size: 9.5px;
  color: #90a0b7;
}
#tt-ug .mk-in span {
  color: #202020;
  font-weight: 500;
}
#tt-ug .mk-cta {
  background: #3095d2;
  color: #fff;
  border-radius: 40px;
  padding: 9px;
  text-align: center;
  font-weight: 600;
  font-size: 11.5px;
}
#tt-ug .mk-cta.ok {
  background: #27ae60;
}
#tt-ug .mk-cta.line {
  background: #fff;
  color: #3095d2;
  border: 1px solid #3095d2;
}
#tt-ug .mk-rows {
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 12px;
  overflow: hidden;
}
#tt-ug .mk-rw {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid #f2f2f2;
}
#tt-ug .mk-rw:last-child {
  border-bottom: 0;
}
#tt-ug .mk-rw small {
  display: block;
  color: #90a0b7;
  font-size: 9.5px;
}
#tt-ug .mk-rw em {
  font-style: normal;
  color: #1a75bb;
  font-weight: 600;
}
#tt-ug .mk-sw {
  width: 32px;
  height: 18px;
  border-radius: 10px;
  background: #d5dde0;
  position: relative;
  flex-shrink: 0;
}
#tt-ug .mk-sw::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
#tt-ug .mk-sw.on {
  background: #3095d2;
}
#tt-ug .mk-sw.on::after {
  left: 16px;
}
#tt-ug .mk-tag2 {
  font-size: 9px;
  font-weight: 600;
  border-radius: 20px;
  padding: 2px 8px;
  background: #fcf4db;
  color: #b8860b;
  white-space: nowrap;
}
#tt-ug .mk-tag2.go {
  background: #eef6ff;
  color: #1a75bb;
}
#tt-ug .mk-tag2.done {
  background: #dfefe1;
  color: #27ae60;
}
#tt-ug .mk-sign {
  height: 70px;
  border: 1px dashed #c9d3dc;
  border-radius: 10px;
  background: #fff;
  position: relative;
}
#tt-ug .mk-sign svg {
  position: absolute;
  inset: 8px 18px;
  width: calc(100% - 36px);
  height: calc(100% - 16px);
}
#tt-ug .mk-chat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
#tt-ug .mk-chat p {
  margin: 0;
  max-width: 78%;
  padding: 7px 10px;
  border-radius: 12px 12px 12px 3px;
  background: #fff;
  border: 1px solid #ebebeb;
}
#tt-ug .mk-chat p.me {
  align-self: flex-end;
  background: #3095d2;
  border-color: #3095d2;
  color: #fff;
  border-radius: 12px 12px 3px 12px;
}
#tt-ug .mk-chat small {
  display: block;
  font-size: 8.5px;
  opacity: 0.7;
}
#tt-ug .mk-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
#tt-ug .mk-photo {
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  background:
    linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.35)),
    linear-gradient(160deg, #9fb6c9 0%, #c9d6e0 38%, #7d8d78 39%, #5f6e5d 70%, #3f4a3f 100%);
  position: relative;
}
#tt-ug .mk-photo::after {
  content: attr(data-t);
  position: absolute;
  left: 5px;
  bottom: 3px;
  color: #fff;
  font-size: 9px;
}
#tt-ug .mk-photo.on {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
}
#tt-ug .mk-two {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 12px;
  align-items: start;
}
#tt-ug .mk-minimap {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  background:
    radial-gradient(circle at 58% 46%, #e74c3c 0 5px, #fff 5px 7px, transparent 7px),
    linear-gradient(115deg, transparent 46%, #fff 46% 50%, transparent 50%),
    linear-gradient(25deg, transparent 60%, #fde9b5 60% 64%, transparent 64%),
    #e8efe6;
  border: 1px solid var(--line);
}
@media (max-width: 600px) {
  #tt-ug .mk-two {
    grid-template-columns: 1fr;
  }
  #tt-ug .mk-device {
    width: 240px;
  }
}
#tt-ug .mk-ac.top {
  padding-top: 48px;
}
#tt-ug .mk-phones .mk-device {
  width: 212px;
  border-radius: 38px;
  padding: 8px;
}
#tt-ug .mk-phones .mk-device-screen {
  border-radius: 31px;
}
#tt-ug .mk-two .mk-device {
  width: 212px;
  margin: 0 auto;
}
#tt-ug .mk-phones .mk-island,
#tt-ug .mk-two .mk-island {
  width: 58px;
  height: 18px;
  top: 8px;
}
#tt-ug .mk-phones .mk-sb,
#tt-ug .mk-two .mk-sb {
  padding: 0 18px 0 24px;
  height: 34px;
  font-size: 11px;
}
#tt-ug .mk-phones .mk-ah,
#tt-ug .mk-two .mk-ah {
  padding-top: 40px;
}