    :root {
      --site-hero-gradient:
        radial-gradient(circle at 12% 20%, rgba(14, 165, 233, 0.42), transparent 28%),
        radial-gradient(circle at 88% 10%, rgba(99, 102, 241, 0.38), transparent 26%),
        linear-gradient(135deg, #07111f 0%, #0f2f66 42%, #2563eb 100%);
      --tcp-card-bg: rgba(255, 255, 255, 0.88);
      --tcp-border: rgba(148, 163, 184, 0.22);
      --tcp-shadow: 0 22px 55px rgba(15, 23, 42, 0.10);
      --tcp-shadow-hover: 0 26px 65px rgba(37, 99, 235, 0.16);
      --tcp-surface-glow: radial-gradient(circle at 15% 8%, rgba(59, 130, 246, .09), transparent 24rem);
    }

    body {
      min-height: 100vh;
      background:
        var(--tcp-surface-glow),
        radial-gradient(circle at 92% 28%, rgba(14, 165, 233, 0.10), transparent 24rem),
        radial-gradient(circle at 80% 82%, rgba(99, 102, 241, 0.08), transparent 28rem),
        linear-gradient(180deg, #f8fbff 0%, #eef5ff 46%, #f8fafc 100%);
    }

    .tcp-page-shell {
      position: relative;
      isolation: isolate;
    }

    .tcp-page-shell::before {
      content: "";
      position: fixed;
      inset: 0;
      z-index: -1;
      pointer-events: none;
      background-image:
        linear-gradient(rgba(37, 99, 235, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, .045) 1px, transparent 1px);
      background-size: 48px 48px;
      mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 72%, transparent 100%);
    }

    .tcp-orb {
      position: absolute;
      pointer-events: none;
      filter: blur(1px);
      opacity: 0.75;
    }

    .tcp-orb.one {
      width: 11rem;
      height: 11rem;
      right: 8%;
      top: 16%;
      border-radius: 999px;
      background: radial-gradient(circle, rgba(125, 211, 252, 0.28), transparent 66%);
    }

    .tcp-orb.two {
      width: 8rem;
      height: 8rem;
      left: 4%;
      bottom: 8%;
      border-radius: 999px;
      background: radial-gradient(circle, rgba(191, 219, 254, 0.24), transparent 68%);
    }

    .hero-card {
      position: relative;
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, .18);
      border-radius: 1.75rem;
      background:
        linear-gradient(145deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .05));
      box-shadow: 0 28px 70px rgba(2, 6, 23, .20);
      backdrop-filter: blur(18px);
    }

    .hero-card::after {
      content: "";
      position: absolute;
      inset: auto -8rem -10rem auto;
      width: 24rem;
      height: 24rem;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.08);
    }

    .hero-card > * {
      position: relative;
      z-index: 1;
    }

    .tcp-hero-grid,
    .tcp-dashboard-layout,
    .tcp-lower-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 1.5rem;
      min-width: 0;
    }

    .tcp-hero-grid {
      align-items: stretch;
    }

    .tcp-hero-primary {
      min-width: 0;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .tcp-hero-aside {
      min-width: 0;
    }

    .tcp-tip-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: .75rem;
    }

    @media (min-width: 640px) {
      .tcp-tip-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (min-width: 1280px) {
      .tcp-hero-grid {
        grid-template-columns: minmax(0, 1.35fr) minmax(22rem, .85fr);
      }

      .tcp-dashboard-layout {
        grid-template-columns: minmax(0, 7fr) minmax(22rem, 5fr);
      }

      .tcp-lower-grid {
        grid-template-columns: minmax(24rem, 5fr) minmax(0, 7fr);
      }
    }

    .hero-icon {
      width: 3.6rem;
      height: 3.6rem;
      border-radius: 1.25rem;
      background: linear-gradient(145deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08));
      border: 1px solid rgba(255, 255, 255, 0.28);
      box-shadow: 0 18px 38px rgba(2, 6, 23, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.24);
      backdrop-filter: blur(14px);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: .45rem;
      padding: .55rem .85rem;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.12);
      border: 1px solid rgba(255, 255, 255, 0.18);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
      backdrop-filter: blur(10px);
    }

    .hero-tip-card {
      position: relative;
      overflow: hidden;
      background: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.07));
      border: 1px solid rgba(255, 255, 255, 0.2);
      box-shadow: 0 18px 42px rgba(2, 6, 23, 0.16);
      backdrop-filter: blur(16px);
    }

    .hero-tip-card::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(120deg, rgba(255, 255, 255, 0.12), transparent 42%);
      pointer-events: none;
    }

    .panel {
      position: relative;
      overflow: hidden;
      background: var(--tcp-card-bg);
      border: 1px solid var(--tcp-border);
      border-radius: 1.35rem;
      box-shadow: var(--tcp-shadow);
      backdrop-filter: blur(18px);
      transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    }

    .panel::before {
      content: "";
      position: absolute;
      inset: 0;
      height: 4px;
      background: linear-gradient(90deg, #38bdf8, #2563eb, #6366f1);
      opacity: .72;
    }

    .panel:hover {
      border-color: rgba(96, 165, 250, .38);
      box-shadow: var(--tcp-shadow-hover);
    }

    .panel.panel-featured {
      min-height: 100%;
      background:
        radial-gradient(circle at top right, rgba(14, 165, 233, .14), transparent 38%),
        var(--tcp-card-bg);
    }

    .tcp-main-grid {
      align-items: stretch;
    }

    .tcp-dashboard-card {
      min-height: 100%;
    }

    .tcp-section-card {
      position: relative;
      min-height: 100%;
    }

    .tcp-section-card::after {
      content: "";
      position: absolute;
      inset: 4px;
      border-radius: 1.15rem;
      border: 1px solid rgba(255, 255, 255, .48);
      pointer-events: none;
    }

    .panel-title {
      display: flex;
      align-items: center;
      gap: .65rem;
      font-size: 1.08rem;
      font-weight: 800;
      letter-spacing: -0.01em;
    }

    .panel-title i {
      width: 2rem;
      height: 2rem;
      border-radius: .8rem;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, rgba(219, 234, 254, .92), rgba(239, 246, 255, .78));
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, .86);
    }

    .tool-input,
    .tool-select,
    .tool-textarea {
      width: 100%;
      border: 1px solid rgb(203 213 225);
      border-radius: 1rem;
      padding: 0.78rem 0.95rem;
      background: rgba(255, 255, 255, .92);
      box-shadow: inset 0 1px 2px rgba(15, 23, 42, .035);
      transition: border-color .2s ease, box-shadow .2s ease, background .2s ease, transform .2s ease;
    }

    .tool-textarea {
      min-height: 16rem;
      background:
        linear-gradient(90deg, rgba(59, 130, 246, .045) 1px, transparent 1px),
        linear-gradient(180deg, rgba(59, 130, 246, .035) 1px, transparent 1px),
        rgba(255, 255, 255, .96);
      background-size: 24px 24px;
    }

    .tool-input:focus,
    .tool-select:focus,
    .tool-textarea:focus {
      outline: none;
      border-color: rgb(59 130 246);
      box-shadow: 0 0 0 4px rgba(59, 130, 246, .13), 0 12px 24px rgba(37, 99, 235, .08);
      transform: translateY(-1px);
    }

    .tool-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: .5rem;
      border-radius: 1rem;
      font-weight: 800;
      transition: transform .2s ease, box-shadow .2s ease, filter .2s ease, background .2s ease;
      cursor: pointer;
      user-select: none;
      border: none;
      min-height: 2.75rem;
    }

    .tool-btn:disabled {
      opacity: .6;
      cursor: not-allowed;
    }

    .tool-btn-primary {
      background: linear-gradient(135deg, #1d4ed8, #2563eb 48%, #38bdf8);
      color: white;
      box-shadow: 0 14px 28px rgba(37, 99, 235, .24);
    }

    .tool-btn-primary:hover {
      filter: brightness(1.05);
      transform: translateY(-2px);
      box-shadow: 0 18px 36px rgba(37, 99, 235, .30);
    }

    .tool-btn-soft {
      background: rgba(248, 250, 252, .86);
      color: #0f172a;
      border: 1px solid rgb(226 232 240);
      box-shadow: 0 8px 18px rgba(15, 23, 42, .045);
    }

    .tool-btn-soft:hover {
      background: #ffffff;
      transform: translateY(-2px);
      box-shadow: 0 14px 26px rgba(15, 23, 42, .08);
      border-color: rgb(191 219 254);
    }

    .metric-card {
      position: relative;
      overflow: hidden;
      border: 1px solid rgba(191, 219, 254, .62);
      background:
        radial-gradient(circle at top right, rgba(59, 130, 246, .12), transparent 42%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
      border-radius: 1.1rem;
      padding: 1rem 1.1rem;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, .86);
    }

    .metric-card::after {
      content: "";
      position: absolute;
      width: 3.5rem;
      height: 3.5rem;
      right: -1rem;
      bottom: -1.2rem;
      border-radius: 999px;
      background: rgba(96, 165, 250, .12);
    }

    .metric-card .mono {
      font-size: 1.5rem;
      color: #0f172a;
    }

    .metric-card .metric-icon {
      width: 2.55rem;
      height: 2.55rem;
      border-radius: .95rem;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: rgb(37 99 235);
      background: rgba(219, 234, 254, .82);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
    }

    .helper-box {
      border: 1px dashed rgba(148, 163, 184, .55);
      border-radius: 1.05rem;
      background:
        linear-gradient(135deg, rgba(248, 250, 252, .94), rgba(239, 246, 255, .78));
      padding: .95rem 1.05rem;
      font-size: .84rem;
      color: rgb(100 116 139);
      line-height: 1.7;
    }

    .chip {
      display: inline-flex;
      align-items: center;
      gap: .4rem;
      padding: .48rem .82rem;
      border-radius: 999px;
      border: 1px solid rgba(147, 197, 253, .68);
      background: linear-gradient(135deg, rgba(239, 246, 255, .96), rgba(224, 242, 254, .72));
      color: rgb(29 78 216);
      font-size: .8rem;
      font-weight: 800;
      box-shadow: 0 6px 14px rgba(37, 99, 235, .06);
    }

    .device-item {
      border: 1px solid rgba(203, 213, 225, .72);
      border-radius: 1.05rem;
      padding: 1rem 1.05rem;
      background:
        radial-gradient(circle at top right, rgba(59, 130, 246, .08), transparent 38%),
        linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, rgba(248, 250, 252, .95) 100%);
      transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
      cursor: pointer;
    }

    .device-item:hover {
      border-color: rgb(96 165 250);
      transform: translateY(-2px);
      box-shadow: 0 14px 28px rgba(37, 99, 235, .10);
    }

    .device-item.active {
      border-color: rgb(37 99 235);
      box-shadow: 0 0 0 3px rgba(37, 99, 235, .12), 0 14px 28px rgba(37, 99, 235, .13);
      background: linear-gradient(135deg, rgb(239 246 255), rgb(224 242 254));
    }

    .message-card {
      border: 1px solid rgba(203, 213, 225, .72);
      border-radius: 1.15rem;
      padding: 1rem;
      background: linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, rgba(248, 250, 252, .96) 100%);
      box-shadow: 0 10px 24px rgba(15, 23, 42, .045);
    }

    .message-card.rx {
      border-left: 5px solid rgb(34 197 94);
    }

    .message-card.tx {
      border-left: 5px solid rgb(59 130 246);
    }

    .json-block,
    .hex-block {
      margin-top: .75rem;
      border-radius: .95rem;
      padding: .9rem 1rem;
      overflow: auto;
      font-size: .8rem;
      line-height: 1.65;
      border: 1px solid rgba(191, 219, 254, .58);
      background:
        linear-gradient(90deg, rgba(59, 130, 246, .04) 1px, transparent 1px),
        linear-gradient(180deg, rgba(59, 130, 246, .035) 1px, transparent 1px),
        rgb(248 250 252);
      background-size: 22px 22px;
      white-space: pre-wrap;
      word-break: break-word;
    }

    .status-dot {
      width: .65rem;
      height: .65rem;
      border-radius: 999px;
      display: inline-block;
    }

    .status-dot.ok {
      background: #22c55e;
      box-shadow: 0 0 0 6px rgba(34, 197, 94, .12);
    }

    .status-dot.warn {
      background: #f59e0b;
      box-shadow: 0 0 0 6px rgba(245, 158, 11, .12);
    }

    .mini-label {
      font-size: .75rem;
      color: rgb(107 114 128);
      margin-bottom: .35rem;
      display: block;
      font-weight: 600;
    }

    .empty-box {
      border: 1px dashed rgba(148, 163, 184, .62);
      border-radius: 1.1rem;
      padding: 1.35rem;
      color: rgb(100 116 139);
      text-align: center;
      background:
        radial-gradient(circle at center, rgba(219, 234, 254, .58), transparent 72%),
        rgb(248 250 252);
    }

    .collapse-btn {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: .75rem;
      border: 1px solid rgba(203, 213, 225, .74);
      border-radius: 1.05rem;
      padding: .9rem 1rem;
      background: linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(248,250,252,.92) 100%);
      cursor: pointer;
      transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
    }

    .collapse-btn:hover {
      border-color: rgb(96 165 250);
      background: #ffffff;
      transform: translateY(-1px);
      box-shadow: 0 12px 24px rgba(37, 99, 235, .08);
    }

    .collapse-btn .chevron {
      transition: transform .2s ease;
    }

    .collapse-btn.expanded .chevron {
      transform: rotate(180deg);
    }

    .collapse-panel[hidden] {
      display: none !important;
    }

    .tcp-section-kicker {
      display: inline-flex;
      align-items: center;
      gap: .45rem;
      margin-bottom: .75rem;
      color: rgb(37 99 235);
      font-size: .78rem;
      font-weight: 800;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    .tcp-subtle-divider {
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(148, 163, 184, .48), transparent);
    }

    .tcp-info-tile {
      position: relative;
      overflow: hidden;
      border-radius: 1.25rem;
      border: 1px solid rgba(255, 255, 255, .16);
      background: rgba(255, 255, 255, .09);
      padding: 1rem;
      backdrop-filter: blur(14px);
    }

    .tcp-info-tile::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(255, 255, 255, .14), transparent 58%);
      pointer-events: none;
    }

    .tcp-info-tile i {
      position: relative;
      width: 2rem;
      height: 2rem;
      border-radius: .8rem;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: rgba(255, 255, 255, .14);
      color: rgb(191 219 254);
      margin-bottom: .75rem;
    }

    .tcp-info-tile strong,
    .tcp-info-tile span {
      position: relative;
      display: block;
    }

    .tcp-info-tile strong {
      color: #fff;
      font-size: .92rem;
      margin-bottom: .2rem;
    }

    .tcp-info-tile span {
      color: rgba(255, 255, 255, .72);
      font-size: .78rem;
      line-height: 1.55;
    }

    .tcp-quick-actions {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: .85rem;
    }

    .tcp-mini-stat {
      display: flex;
      align-items: center;
      gap: .85rem;
      border-radius: 1rem;
      border: 1px solid rgba(191, 219, 254, .55);
      background: rgba(255, 255, 255, .72);
      padding: .9rem;
    }

    .tcp-mini-stat i {
      width: 2.2rem;
      height: 2.2rem;
      border-radius: .85rem;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: rgb(37 99 235);
      background: rgba(219, 234, 254, .75);
      flex: 0 0 auto;
    }

    .tcp-mini-stat span {
      display: block;
      color: rgb(100 116 139);
      font-size: .72rem;
      font-weight: 700;
      margin-bottom: .1rem;
    }

    .tcp-mini-stat strong {
      color: rgb(15 23 42);
      font-size: .9rem;
    }

    @media (max-width: 768px) {
      .hero-card {
        border-radius: 1.25rem;
      }

      .tcp-quick-actions {
        grid-template-columns: 1fr;
      }

      .panel {
        border-radius: 1.1rem;
      }

      .tool-btn {
        width: 100%;
      }

      .metric-card .mono {
        font-size: 1.25rem;
      }

      .ota-step {
        flex: 0 0 4.5rem;
      }
    }

    html.dark {
      color-scheme: dark;
    }

    html.dark body {
      background:
        radial-gradient(circle at 8% 12%, rgba(59, 130, 246, 0.16), transparent 26rem),
        radial-gradient(circle at 92% 28%, rgba(14, 165, 233, 0.10), transparent 24rem),
        radial-gradient(circle at 80% 82%, rgba(99, 102, 241, 0.12), transparent 28rem),
        linear-gradient(180deg, #020617 0%, #0f172a 48%, #111827 100%);
    }

    html.dark .panel,
    html.dark .metric-card,
    html.dark .device-item,
    html.dark .message-card,
    html.dark .tcp-mini-stat {
      background: rgb(30 41 59) !important;
      border-color: rgb(51 65 85) !important;
      color: rgb(241 245 249) !important;
      box-shadow: none;
    }

    html.dark .device-item.active {
      background: rgba(30, 64, 175, .22) !important;
      border-color: rgb(96 165 250) !important;
    }

    html.dark .tool-input,
    html.dark .tool-select,
    html.dark .tool-textarea,
    html.dark input,
    html.dark textarea,
    html.dark select {
      background: rgb(15 23 42) !important;
      color: rgb(241 245 249) !important;
      border-color: rgb(71 85 105) !important;
    }

    html.dark .tool-input::placeholder,
    html.dark .tool-textarea::placeholder,
    html.dark textarea::placeholder {
      color: rgb(148 163 184) !important;
    }

    html.dark .tool-btn-soft {
      background: rgb(30 41 59);
      color: rgb(241 245 249);
      border-color: rgb(71 85 105);
    }

    html.dark .tool-btn-soft:hover {
      background: rgb(51 65 85);
    }

    html.dark .panel-title i {
      background: rgba(30, 64, 175, .24);
      box-shadow: none;
    }

    html.dark .metric-card::after {
      background: rgba(96, 165, 250, .10);
    }

    html.dark .metric-card .mono,
    html.dark .tcp-mini-stat strong {
      color: rgb(241 245 249);
    }

    html.dark .metric-card .metric-icon,
    html.dark .tcp-mini-stat i {
      background: rgba(30, 64, 175, .24);
      color: rgb(147 197 253);
      box-shadow: none;
    }

    html.dark .tcp-mini-stat span {
      color: rgb(148 163 184);
    }

    html.dark .helper-box,
    html.dark .empty-box,
    html.dark .json-block,
    html.dark .hex-block,
    html.dark .collapse-btn {
      background: rgb(15 23 42);
      border-color: rgb(71 85 105);
      color: rgb(148 163 184);
    }

    html.dark .collapse-btn:hover {
      background: rgb(30 41 59);
      border-color: rgb(96 165 250);
    }

    html.dark .chip {
      background: rgba(30, 64, 175, .22);
      border-color: rgba(96, 165, 250, .35);
      color: rgb(147 197 253);
      box-shadow: none;
    }

    html.dark .text-gray-600,
    html.dark .text-gray-500 {
      color: rgb(148 163 184) !important;
    }

    html.dark .text-blue-600 {
      color: rgb(96 165 250) !important;
    }

    .ota-drop-zone {
      position: relative;
      overflow: hidden;
      border: 2px dashed rgb(203 213 225);
      border-radius: 1rem;
      padding: 2.35rem 1rem;
      text-align: center;
      cursor: pointer;
      transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
      background:
        radial-gradient(circle at center top, rgba(59, 130, 246, .08), transparent 58%),
        rgb(248 250 252);
    }
    .ota-drop-zone::before {
      content: "";
      position: absolute;
      inset: .55rem;
      border-radius: .75rem;
      border: 1px solid rgba(255, 255, 255, .62);
      pointer-events: none;
    }
    .ota-drop-zone:hover,
    .ota-drop-zone.dragover {
      border-color: rgb(96 165 250);
      background: rgb(239 246 255);
      transform: translateY(-2px);
      box-shadow: 0 16px 30px rgba(37, 99, 235, .10);
    }
    .ota-drop-zone.loaded {
      border-style: solid;
      border-color: rgb(34 197 94);
      background: rgb(240 253 244);
    }
    .ota-drop-zone-icon {
      font-size: 2.5rem;
      color: rgb(148 163 184);
      margin-bottom: .5rem;
    }
    .ota-drop-zone:hover .ota-drop-zone-icon,
    .ota-drop-zone.dragover .ota-drop-zone-icon {
      color: rgb(59 130 246);
    }
    .ota-drop-zone.loaded .ota-drop-zone-icon {
      color: rgb(34 197 94);
    }
    .ota-drop-zone-text {
      font-size: .875rem;
      color: rgb(100 116 139);
    }
    .ota-drop-zone.loaded .ota-drop-zone-text {
      color: rgb(34 197 94);
      font-weight: 600;
    }

    .ota-step-flow {
      display: flex;
      align-items: flex-start;
      gap: 0;
      overflow-x: auto;
      padding: .8rem .2rem 1rem;
      scrollbar-gutter: stable;
    }
    .ota-step {
      display: flex;
      flex-direction: column;
      align-items: center;
      min-width: 0;
      flex: 1;
    }
    .ota-step-circle {
      width: 2.25rem;
      height: 2.25rem;
      border-radius: 999px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: .75rem;
      font-weight: 700;
      border: 2px solid rgb(203 213 225);
      background: #fff;
      color: rgb(148 163 184);
      transition: .25s ease;
      box-shadow: 0 8px 16px rgba(15, 23, 42, .06);
    }
    .ota-step.active .ota-step-circle {
      border-color: rgb(59 130 246);
      background: rgb(59 130 246);
      color: #fff;
      box-shadow: 0 0 0 4px rgba(59, 130, 246, .15);
    }
    .ota-step.done .ota-step-circle {
      border-color: rgb(34 197 94);
      background: rgb(34 197 94);
      color: #fff;
    }
    .ota-step.error .ota-step-circle {
      border-color: rgb(239 68 68);
      background: rgb(239 68 68);
      color: #fff;
    }
    .ota-step-label {
      font-size: .7rem;
      color: rgb(148 163 184);
      margin-top: .35rem;
      text-align: center;
      white-space: nowrap;
    }
    .ota-step.active .ota-step-label {
      color: rgb(59 130 246);
      font-weight: 600;
    }
    .ota-step.done .ota-step-label {
      color: rgb(34 197 94);
    }
    .ota-step.error .ota-step-label {
      color: rgb(239 68 68);
    }
    .ota-step-line {
      flex: 0 0 auto;
      width: 1.5rem;
      height: 2px;
      background: rgb(229 231 235);
      margin-top: 1.12rem;
      flex-shrink: 0;
    }
    .ota-step-line.done {
      background: rgb(34 197 94);
    }

    .ota-file-info-row {
      display: flex;
      justify-content: space-between;
      padding: .35rem 0;
      border-bottom: 1px solid rgb(229 231 235);
      font-size: .84rem;
    }
    .ota-file-info-row:last-child {
      border-bottom: none;
    }

    .ota-log-area {
      height: 17rem;
      max-height: 17rem;
      overflow-y: auto;
      overflow-x: hidden;
      overscroll-behavior: contain;
      scrollbar-gutter: stable;
      padding-right: .35rem;
      white-space: normal;
      word-break: break-word;
    }

    .ota-log-area::-webkit-scrollbar {
      width: 8px;
    }

    .ota-log-area::-webkit-scrollbar-thumb {
      background: rgba(148, 163, 184, .7);
      border-radius: 999px;
    }

    .ota-log-area::-webkit-scrollbar-track {
      background: transparent;
    }

    html.dark .ota-drop-zone {
      background: rgb(15 23 42);
      border-color: rgb(71 85 105);
    }
    html.dark .ota-drop-zone:hover,
    html.dark .ota-drop-zone.dragover {
      background: rgb(30 41 59);
      border-color: rgb(96 165 250);
    }
    html.dark .ota-drop-zone.loaded {
      background: rgba(34, 197, 94, .08);
      border-color: rgb(74 222 128);
    }
    html.dark .ota-drop-zone-icon {
      color: rgb(100 116 139);
    }
    html.dark .ota-drop-zone:hover .ota-drop-zone-icon,
    html.dark .ota-drop-zone.dragover .ota-drop-zone-icon {
      color: rgb(96 165 250);
    }
    html.dark .ota-drop-zone.loaded .ota-drop-zone-icon {
      color: rgb(74 222 128);
    }
    html.dark .ota-drop-zone-text {
      color: rgb(148 163 184);
    }
    html.dark .ota-drop-zone.loaded .ota-drop-zone-text {
      color: rgb(74 222 128);
    }
    html.dark .ota-step-circle {
      background: rgb(30 41 59);
      border-color: rgb(71 85 105);
      color: rgb(148 163 184);
    }
    html.dark .ota-step.active .ota-step-circle {
      border-color: rgb(96 165 250);
      background: rgb(96 165 250);
      color: #fff;
    }
    html.dark .ota-step.done .ota-step-circle {
      border-color: rgb(74 222 128);
      background: rgb(74 222 128);
      color: #fff;
    }
    html.dark .ota-step.error .ota-step-circle {
      border-color: rgb(248 113 113);
      background: rgb(248 113 113);
      color: #fff;
    }
    html.dark .ota-step-label {
      color: rgb(148 163 184);
    }
    html.dark .ota-step.active .ota-step-label {
      color: rgb(96 165 250);
    }
    html.dark .ota-step.done .ota-step-label {
      color: rgb(74 222 128);
    }
    html.dark .ota-step.error .ota-step-label {
      color: rgb(248 113 113);
    }
    html.dark .ota-step-line {
      background: rgb(71 85 105);
    }
    html.dark .ota-step-line.done {
      background: rgb(74 222 128);
    }
    html.dark .ota-file-info-row {
      border-color: rgb(51 65 85);
    }

    html.dark .ota-log-area::-webkit-scrollbar-thumb {
      background: rgba(100, 116, 139, .9);
    }

    .ota-progress {
      appearance: none;
      -webkit-appearance: none;
      width: 100%;
      height: .75rem;
      border: 0;
      border-radius: 999px;
      overflow: hidden;
      background: rgb(229 231 235);
    }

    .ota-progress::-webkit-progress-bar {
      background: rgb(229 231 235);
      border-radius: 999px;
    }

    .ota-progress::-webkit-progress-value {
      background: rgb(37 99 235);
      border-radius: 999px;
      transition: width .3s ease;
    }

    .ota-progress::-moz-progress-bar {
      background: rgb(37 99 235);
      border-radius: 999px;
    }

    html.dark .ota-progress,
    html.dark .ota-progress::-webkit-progress-bar {
      background: rgb(51 65 85);
    }
