﻿    :root {
      --bg: #0f172a;
      --card: #111827;
      --line: #334155;
      --text: #e5e7eb;
      --muted: #94a3b8;
      --ok: #22c55e;
      --warn: #f59e0b;
      --bad: #ef4444;
      --btn: #2563eb;
      --btn2: #475569;
    }

    [v-cloak] {
      display: none;
    }

    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
      min-height: 100vh;
      background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.18), transparent 28%),
        radial-gradient(circle at right top, rgba(14, 165, 233, 0.12), transparent 24%),
        linear-gradient(180deg, #08111f 0%, #0f172a 48%, #131d33 100%);
      color: var(--text);
    }

    .page-shell {
      position: relative;
      min-height: 100vh;
      padding: 0 24px 24px;
    }

    /* 底部固定操作栏占位，避免正文被遮挡 */
    .page-shell.ble-ui {
      padding-bottom: calc(24px + 72px + env(safe-area-inset-bottom, 0px));
    }

    .page-toolbar {
      position: sticky;
      top: 0;
      z-index: 30;
      display: grid;
      grid-template-columns: 320px minmax(0, 1fr);
      gap: 14px;
      margin: 0 -24px 16px;
      border: 1px solid rgba(148, 163, 184, 0.2);
      border-radius: 0;
      border-top: 0;
      border-left: 0;
      border-right: 0;
      background: linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(30, 41, 59, 0.9));
      box-shadow: 0 12px 28px rgba(2, 6, 23, 0.2);
      backdrop-filter: blur(14px);
      overflow: hidden;
    }

    .page-toolbar-left {
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 12px;
      padding: 14px 18px;
      border-right: 1px solid rgba(51, 65, 85, 0.72);
      background: linear-gradient(180deg, rgba(37, 99, 235, 0.16), rgba(15, 23, 42, 0.18));
    }

    .page-toolbar-copy {
      min-width: 0;
    }

    .page-toolbar-main {
      display: flex;
      flex-direction: column;
      justify-content: center;
      min-width: 0;
      padding: 14px 20px;
    }

    .page-toolbar-badges {
      display: flex;
      flex-wrap: nowrap;
      gap: 8px;
      margin-top: 8px;
    }

    .page-toolbar-kicker {
      color: #93c5fd;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      margin-bottom: 0;
    }

    .page-toolbar-title {
      color: #f8fafc;
      font-size: 26px;
      font-weight: 700;
      line-height: 1.1;
    }

    .page-toolbar-desc {
      margin-top: 4px;
      max-width: 780px;
      color: #94a3b8;
      font-size: 12px;
      line-height: 1.5;
    }

    .toolbar-connect-panel {
      display: flex;
      flex-direction: column;
      /* gap: 20px; */
    }

    .toolbar-connect-header {
      display: flex;
      flex-direction: column;
      gap: 4px;
      margin-bottom: 10px;
    }

    .toolbar-connect-title {
      color: #0f172a;
      font-size: 18px;
      font-weight: 700;
      line-height: 1.2;
    }

    .toolbar-status-row {
      margin-bottom: 0;
      padding: 8px 10px;
      background: rgba(8, 15, 28, 0.42);
    }

    .toolbar-connect-actions {
      margin-top: 0;
    }

    .toolbar-connect-actions button {
      min-height: 38px;
    }

    .page-content {
      position: relative;
      min-width: 0;
      padding-left: 0;
    }

    .page-shell .el-drawer__wrapper {
      pointer-events: auto;
      top: 0;
      left: 0;
      height: 100vh;
    }

    .page-shell .el-drawer__mask {
      background: rgba(2, 6, 23, 0.34);
      backdrop-filter: blur(2px);
    }

    .page-shell .el-drawer__container {
      position: relative;
    }

    .page-shell .el-drawer {
      pointer-events: auto;
      overflow: hidden;
      background: linear-gradient(180deg, rgba(8, 15, 28, 0.98), rgba(15, 23, 42, 0.96));
      box-shadow: 24px 0 40px rgba(2, 6, 23, 0.24);
    }

    .drawer-sidebar-host {
      flex: 1 1 auto;
      min-height: 0;
      height: auto;
      overflow: auto;
      padding: 14px 12px 14px 14px;
      background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.18), transparent 26%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.88), rgba(8, 15, 28, 0.96));
      scrollbar-width: thin;
      scrollbar-color: rgba(100, 116, 139, 0.75) transparent;
    }

    .drawer-sidebar-host::-webkit-scrollbar {
      width: 8px;
    }

    .drawer-sidebar-host::-webkit-scrollbar-thumb {
      border-radius: 999px;
      background: rgba(100, 116, 139, 0.75);
    }

    .wrap {
      max-width: none;
      margin: 0;
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: 18px;
      min-width: 0;
      min-height: 100%;
    }

    .drawer-source {
      visibility: hidden;
      max-height: 0;
      overflow: hidden;
    }

    .is-mounted-in-drawer {
      visibility: visible;
      max-height: none;
      overflow: visible;
    }

    .panel-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 16px;
      margin-bottom: 16px;
    }

    .panel-head-inline {
      margin-bottom: 14px;
    }

    .panel-head-side {
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-end;
      gap: 8px;
    }

    .panel-subtitle {
      margin-top: 6px;
      color: #94a3b8;
      font-size: 12px;
      line-height: 1.5;
    }

    .surface-chip {
      display: inline-flex;
      align-items: center;
      flex-wrap: nowrap;
      min-height: 28px;
      padding: 0 12px;
      border: 1px solid rgba(96, 165, 250, 0.24);
      border-radius: 999px;
      background: rgba(37, 99, 235, 0.14);
      color: #dbeafe;
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.01em;
    }

    .surface-chip.muted {
      border-color: rgba(148, 163, 184, 0.22);
      background: rgba(51, 65, 85, 0.5);
      color: #cbd5e1;
    }

    h1 {
      margin: 0;
      font-size: 30px;
      line-height: 1.15;
      letter-spacing: 0.01em;
    }

    .tip {
      color: var(--muted);
      font-size: 13px;
      margin: 10px 0 0;
    }

    .card {
      border: 1px solid rgba(148, 163, 184, 0.18);
      background: linear-gradient(180deg, rgba(17, 24, 39, 0.94), rgba(15, 23, 42, 0.9));
      border-radius: 16px;
      padding: 16px;
      margin-bottom: 0;
      box-shadow: 0 20px 40px rgba(2, 6, 23, 0.3);
    }

    .connect-card {
      margin-top: 0;
    }

    .sidebar-hero {
      position: relative;
      padding: 0;
      overflow: hidden;
      border: 1px solid rgba(148, 163, 184, 0.14);
      background: linear-gradient(180deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.82));
      box-shadow: 0 14px 28px rgba(2, 6, 23, 0.18);
    }

    .sidebar-hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 24%);
      pointer-events: none;
    }

    .sidebar-hero-inner {
      position: relative;
      padding: 16px 16px 14px;
    }

    .sidebar-hero-top {
      display: block;
    }

    .sidebar-hero h1 {
      font-size: 22px;
      line-height: 1.18;
      letter-spacing: -0.01em;
      color: #f8fafc;
      max-width: none;
    }

    .sidebar-hero .tip {
      margin-top: 8px;
      max-width: none;
      color: #cbd5e1;
      font-size: 12px;
      line-height: 1.55;
    }

    .sidebar-hero .surface-chip {
      background: rgba(15, 23, 42, 0.42);
      border-color: rgba(148, 163, 184, 0.14);
      color: #dbeafe;
    }

    .sidebar-kicker {
      display: inline-flex;
      align-items: center;
      min-height: 24px;
      padding: 0 10px;
      margin-bottom: 10px;
      border: 1px solid rgba(148, 163, 184, 0.12);
      border-radius: 999px;
      background: rgba(15, 23, 42, 0.42);
      color: #cbd5e1;
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .sidebar-card {
      width: 100%;
    }

    .sidebar-section-title {
      color: #f8fafc;
      font-size: 16px;
      font-weight: 700;
      line-height: 1.2;
    }

    .sidebar-panel-head {
      margin-bottom: 12px;
    }

    .sidebar-status-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      /* margin-bottom: 14px; */
      padding: 10px 12px;
      border: 1px solid rgba(51, 65, 85, 0.7);
      border-radius: 14px;
      background: rgba(15, 23, 42, 0.48);
    }

    .sidebar-status-label {
      color: #94a3b8;
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }

    .sidebar-field-grid {
      gap: 12px;
    }

    .sidebar-button-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
      margin-top: 14px;
    }

    .sidebar-button-grid button:last-child {
      grid-column: span 2;
    }

    .sidebar-send-row {
      align-items: stretch;
      gap: 10px;
    }

    .sidebar-send-select {
      flex: 1;
      max-width: none;
    }

    .sidebar-footnote {
      padding: 10px 12px;
      border-radius: 12px;
      background: rgba(15, 23, 42, 0.4);
    }

    .sidebar-block-caption {
      margin-bottom: 10px;
      color: #cbd5e1;
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }

    .sidebar-log-card,
    .sidebar-monitor-card {
      background: linear-gradient(180deg, rgba(15, 23, 42, 0.95), rgba(8, 15, 28, 0.92));
    }

    .grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 10px;
    }

    .native-surface label {
      display: block;
      font-size: 12px;
      color: var(--muted);
      margin-bottom: 6px;
    }

    .native-surface input:not([type="checkbox"]):not([type="range"]),
    .native-surface textarea,
    .native-surface select {
      width: 100%;
      min-height: 40px;
      background: rgba(2, 6, 23, 0.68);
      border: 1px solid rgba(71, 85, 105, 0.9);
      color: #f8fafc;
      border-radius: 10px;
      padding: 9px 12px;
      font-size: 14px;
      outline: none;
      transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    }

    .native-surface input:not([type="checkbox"]):not([type="range"]):focus,
    .native-surface textarea:focus,
    .native-surface select:focus {
      border-color: #409eff;
      box-shadow: 0 0 0 3px rgba(64, 158, 255, 0.18);
      background: rgba(15, 23, 42, 0.92);
    }

    .native-surface input[type="number"] {
      appearance: textfield;
      -moz-appearance: textfield;
    }

    .native-surface input[type="number"]::-webkit-outer-spin-button,
    .native-surface input[type="number"]::-webkit-inner-spin-button {
      -webkit-appearance: none;
      margin: 0;
    }

    .native-surface textarea {
      min-height: 92px;
      resize: vertical;
    }

    .row {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      margin-top: 10px;
    }

    .ble-ui button,
    .ble-ui button.el-button {
      border: 1px solid transparent;
      border-radius: 10px;
      padding: 10px 16px;
      cursor: pointer;
      color: #fff;
      background: var(--btn);
      font-size: 14px;
      font-weight: 600;
      transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease, background-color 0.16s ease;
    }

    .page-shell {
      max-width: 1400px;
      margin: 0 auto;
      padding-top: 12px;
    }

    .page-toolbar {
      grid-template-columns: minmax(420px, 520px) minmax(0, 1fr);
      gap: 0;
      margin: 0 0 12px;
      border: 1px solid rgba(203, 213, 225, 0.92);
      border-radius: 28px;
      overflow: hidden;
    }

    .page-toolbar-left {
      gap: 4px;
      padding: 8px 12px;
    }

    .toolbar-connect-title {
      font-size: 16px;
      color: #0f172a;
      letter-spacing: -0.02em;
    }

    .toolbar-connect-panel {
      gap: 8px;
    }

    .toolbar-connect-header {
      gap: 0;
      margin-bottom: 0;
    }

    .toolbar-connect-header-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
    }

    .toolbar-connect-title-block {
      min-width: 0;
      flex: 1 1 auto;
    }

    .toolbar-status-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 11px 14px;
      border-radius: 16px;
      border: 1px solid rgba(191, 219, 254, 0.9);
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(239, 246, 255, 0.96));
    }

    .toolbar-connect-actions {
      gap: 6px;
    }

    .toolbar-connect-actions button {
      min-height: 26px;
      padding: 0 8px;
      font-size: 11px;
      border-radius: 12px;
    }

    .page-toolbar-main {
      gap: 8px;
      padding: 14px 16px;
    }

    .page-toolbar-main-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      min-height: 100%;
    }

    .page-toolbar-copy {
      max-width: 500px;
    }

    .page-toolbar-title {
      font-size: 24px;
      letter-spacing: -0.04em;
    }

    .page-toolbar-desc {
      margin-top: 6px;
      max-width: 660px;
      font-size: 12px;
      line-height: 1.45;
    }

    .page-toolbar-badges {
      justify-content: flex-start;
      align-self: center;
      margin-top: 0;
      max-width: 250px;
      gap: 6px;
    }

    .toolbar-status-pill {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      flex: 0 0 auto;
      min-height: 24px;
      padding: 0 8px;
      border-radius: 999px;
      font-size: 12px;
    }

    .toolbar-connect-actions-inline {
      display: flex;
      flex-wrap: nowrap;
      flex: 0 0 auto;
      justify-content: flex-end;
      white-space: nowrap;
    }

    #btnClearLog {
      margin-top: 2px;
      min-height: 28px;
      padding: 0 10px;
      font-size: 12px;
      border-radius: 12px;
    }

    .page-content {
      padding-bottom: 20px;
    }

    .workspace-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.7fr) minmax(320px, 0.9fr);
      gap: 20px;
      align-items: start;
    }

    .workspace-main,
    .workspace-side {
      min-width: 0;
    }

    .workspace-side {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    /* 精确控制“备注文本卡片”与“按键产品说明卡片”的间距 */
    .workspace-side .workspace-summary-card {
      margin-bottom: 0;
    }

    .workspace-side .workspace-summary-card+.products-card {
      margin-top: 0;
    }

    .settings-card {
      max-width: none;
      margin: 0;
      padding: 24px;
      border-radius: 24px;
    }

    .workspace-side-card,
    .products-panel {
      border-radius: 24px;
      padding: 22px;
      /* position: sticky; */
      top: 24px;
    }

    .products-panel {
      position: relative;
      /* top: 292px; */
    }

    .products-panel .panel-head {
      padding-right: 154px;
    }

    .products-restore-btn {
      position: absolute;
      top: 22px;
      right: 22px;
      min-height: 40px;
      padding: 0 14px;
      border-radius: 14px;
      z-index: 2;
    }

    .workspace-summary-card {
      background:
        radial-gradient(circle at top right, rgba(96, 165, 250, 0.16), transparent 32%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.96));
    }

    .workspace-side-kicker {
      margin-bottom: 10px;
      color: #2563eb;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .workspace-side-title {
      color: #0f172a;
      font-size: 24px;
      font-weight: 700;
      line-height: 1.2;
      letter-spacing: -0.03em;
    }

    .workspace-side-text {
      margin-top: 10px;
      color: #64748b;
      font-size: 14px;
      line-height: 1.75;
    }

    .workspace-checklist {
      display: flex;
      flex-direction: column;
      gap: 14px;
      margin-top: 22px;
    }

    .workspace-check-item {
      display: grid;
      grid-template-columns: 52px minmax(0, 1fr);
      gap: 14px;
      align-items: start;
      padding: 14px;
      border: 1px solid rgba(203, 213, 225, 0.9);
      border-radius: 18px;
      background: rgba(255, 255, 255, 0.72);
    }

    .workspace-check-index {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 52px;
      height: 52px;
      border-radius: 16px;
      background: linear-gradient(135deg, #dbeafe, #bfdbfe);
      color: #1d4ed8;
      font-size: 15px;
      font-weight: 800;
      letter-spacing: 0.04em;
    }

    .workspace-check-title {
      color: #0f172a;
      font-size: 15px;
      font-weight: 700;
      line-height: 1.45;
    }

    .workspace-check-text {
      margin-top: 4px;
      color: #64748b;
      font-size: 13px;
      line-height: 1.7;
    }

    .products-title {
      font-size: 22px;
      letter-spacing: -0.02em;
    }

    .products-actions .el-button {
      border-radius: 14px;
    }

    .backup-hint,
    .backup-status {
      padding-left: 2px;
      padding-right: 2px;
    }

    .products-list {
      display: flex;
      flex-direction: column;
      gap: 12px;
      margin-top: 18px;
    }

    .product-row {
      padding: 16px 18px;
      border-radius: 18px;
    }

    @media (max-width: 1500px) {
      .page-shell {
        max-width: none;
      }

      .workspace-grid {
        grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.95fr);
      }
    }

    @media (max-width: 1279px) {
      .page-shell {
        padding-top: 14px;
      }

      .page-toolbar {
        grid-template-columns: 1fr;
        border-radius: 24px;
      }

      .page-toolbar-left {
        border-right: 0;
        border-bottom: 1px solid rgba(203, 213, 225, 0.92);
      }

      .page-toolbar-main-head {
        flex-direction: column;
        align-items: flex-start;
      }

      .toolbar-connect-header-top {
        align-items: flex-start;
        flex-direction: column;
      }

      .toolbar-status-pill {
        align-self: flex-start;
      }

      .toolbar-connect-actions-inline {
        flex-wrap: wrap;
        justify-content: flex-start;
        white-space: normal;
      }

      .page-toolbar-badges {
        justify-content: flex-start;
        max-width: none;
      }

      .workspace-grid {
        grid-template-columns: 1fr;
      }

      .workspace-side-card,
      .products-panel {
        position: static;
        top: auto;
      }

      .products-panel .panel-head {
        padding-right: 0;
      }

      .products-restore-btn {
        position: static;
        margin-bottom: 12px;
      }
    }

    @media (max-width: 768px) {
      .page-shell {
        padding-top: 8px;
      }

      .page-toolbar-left,
      .page-toolbar-main,
      .settings-card,
      .workspace-side-card,
      .products-panel {
        padding: 10px 12px;
      }

      .page-toolbar-title {
        font-size: 22px;
      }

      .workspace-check-item {
        grid-template-columns: 44px minmax(0, 1fr);
        padding: 12px;
      }

      .workspace-check-index {
        width: 44px;
        height: 44px;
        border-radius: 14px;
        font-size: 13px;
      }
    }

    @media (max-width: 640px) {
      .page-toolbar {
        margin-bottom: 10px;
        border-radius: 20px;
      }

      .page-toolbar-left,
      .page-toolbar-main,
      .settings-card,
      .workspace-side-card,
      .products-panel {
        padding: 10px;
      }

      .toolbar-status-row,
      .workspace-check-item,
      .product-row {
        border-radius: 16px;
      }

      .page-toolbar-title {
        font-size: 20px;
      }

      .toolbar-connect-actions-inline {
        width: 100%;
      }

      .toolbar-connect-actions-inline .el-button {
        flex: 1 1 0;
      }

      .workspace-side-title,
      .products-title {
        font-size: 18px;
      }
    }

    .ble-ui button.el-button:hover {
      transform: translateY(-1px);
      box-shadow: 0 10px 20px rgba(15, 23, 42, 0.28);
    }

    .ble-ui button.secondary,
    .ble-ui button.el-button--info {
      background: rgba(71, 85, 105, 0.92);
      border-color: rgba(148, 163, 184, 0.24);
    }

    .ble-ui button.warn,
    .ble-ui button.el-button--warning {
      background: #b45309;
      border-color: #d97706;
    }

    .ble-ui button.bad,
    .ble-ui button.el-button--danger {
      background: #b91c1c;
      border-color: #ef4444;
    }

    .ble-ui button.setting-btn,
    .ble-ui button.el-button--primary {
      background: linear-gradient(135deg, #2563eb, #1d4ed8);
      border-color: #3b82f6;
    }

    .ble-ui button:disabled,
    .ble-ui button.el-button.is-disabled,
    .ble-ui button.el-button:disabled {
      opacity: 0.55;
      cursor: not-allowed;
      transform: none;
      box-shadow: none;
    }

    .native-surface input:disabled,
    .native-surface textarea:disabled,
    .native-surface select:disabled {
      opacity: 0.55;
      cursor: not-allowed;
    }

    .status {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      max-width: 140px;
      font-size: 12px;
      min-height: 30px;
      padding: 5px 10px;
      border-radius: 999px;
      border: 1px solid rgba(148, 163, 184, 0.2);
      color: #cbd5e1;
      background: rgba(15, 23, 42, 0.78);
      white-space: nowrap;
      overflow: hidden;
    }

    .status #statusText {
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #64748b;
    }

    .dot.ok {
      background: var(--ok);
    }

    .dot.bad {
      background: var(--bad);
    }

    .mono {
      font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    }

    .log {
      height: 280px;
      overflow: auto;
      background: linear-gradient(180deg, #020617, #040b16);
      border: 1px solid rgba(51, 65, 85, 0.92);
      border-radius: 12px;
      padding: 12px;
      white-space: pre-wrap;
      line-height: 1.35;
      font-size: 13px;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
    }

    .serial-monitor {
      height: 260px;
      min-height: 180px;
      resize: vertical;
      background: linear-gradient(180deg, #020617, #040b16);
      border: 1px solid rgba(51, 65, 85, 0.92);
      border-radius: 12px;
      padding: 12px;
      overflow: auto;
      white-space: pre-wrap;
      word-break: break-all;
      line-height: 1.4;
      font-size: 12px;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
    }

    .serial-monitor-toolbar {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 8px;
      margin-bottom: 10px;
      padding: 10px 12px;
      border: 1px solid rgba(51, 65, 85, 0.7);
      border-radius: 12px;
      background: rgba(15, 23, 42, 0.46);
    }

    .serial-monitor-toolbar select {
      max-width: 200px;
      width: auto;
    }

    .line-rx {
      color: #a7f3d0;
    }

    .line-tx {
      color: #bfdbfe;
    }

    .line-sys {
      color: #cbd5e1;
    }

    .line-err {
      color: #fecaca;
    }

    .small {
      margin-top: 8px;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.45;
    }

    .section-title {
      text-align: left;
      font-size: 24px;
      font-weight: 700;
      margin: 0;
      color: #f8fafc;
      letter-spacing: 0.01em;
    }

    .settings-card {
      width: auto;
      position: static;
      min-width: 0;
      z-index: auto;
      max-width: 1220px;
      margin: 0 auto;
      padding: 20px;
      border: 1px solid rgba(148, 163, 184, 0.18);
      border-radius: 20px;
      background: linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(17, 24, 39, 0.9));
      box-shadow: 0 24px 50px rgba(2, 6, 23, 0.26);
    }

    .settings-key-tabs {
      margin-bottom: 18px;
      padding: 14px 18px 12px;
      border: 1px solid rgba(96, 165, 250, 0.14);
      background: linear-gradient(180deg, rgba(15, 23, 42, 0.72), rgba(11, 18, 32, 0.78));
    }

    /* 顶栏中的按键参数页与顶栏融合：去除卡片感 */
    .page-toolbar-main-head .settings-key-tabs {
      margin-bottom: 0;
      padding: 0;
      border: 0;
      border-radius: 0;
      background: transparent;
      box-shadow: none;
      width: 100%;
    }

    .page-toolbar-main-head .settings-key-tabs-head {
      margin-bottom: 6px;
    }

    .page-toolbar-main-head .settings-key-tabbar .el-tabs__nav-wrap::after {
      background-color: rgba(148, 163, 184, 0.32);
    }

    .settings-key-tabs-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 10px;
    }

    .settings-key-tabs-title {
      color: #f8fafc;
      font-size: 15px;
      font-weight: 700;
    }

    .settings-key-tabs-desc {
      max-width: 720px;
      color: #94a3b8;
      font-size: 12px;
      line-height: 1.6;
    }

    .settings-key-tabbar .el-tabs__header {
      margin: 0;
    }

    .settings-key-tabbar .el-tabs__nav-wrap::after {
      height: 1px;
      background-color: rgba(51, 65, 85, 0.72);
    }

    .settings-key-tabbar .el-tabs__item {
      height: 40px;
      line-height: 40px;
      color: #94a3b8;
      font-size: 13px;
      font-weight: 700;
      transition: color 0.2s ease;
    }

    .settings-key-tabbar .el-tabs__item:hover,
    .settings-key-tabbar .el-tabs__item.is-active {
      color: #dbeafe;
    }

    .settings-key-tabbar .el-tabs__active-bar {
      height: 3px;
      border-radius: 999px;
      background: linear-gradient(90deg, #60a5fa, #2563eb);
    }

    .settings-key-tabbar .el-tabs__content {
      display: none;
    }

    .flash-profile-tabs-wrap {
      width: 100%;
    }

    .flash-profile-tabbar .el-tabs__header {
      margin: 0;
    }

    .flash-profile-tabbar .el-tabs__nav-wrap::after {
      height: 1px;
      background-color: rgba(51, 65, 85, 0.72);
    }

    .flash-profile-tabbar .el-tabs__item {
      height: 38px;
      line-height: 38px;
      color: #94a3b8;
      font-size: 13px;
      font-weight: 700;
      transition: color 0.2s ease;
    }

    .flash-profile-tabbar .el-tabs__item:hover,
    .flash-profile-tabbar .el-tabs__item.is-active {
      color: #dbeafe;
    }

    .flash-profile-tabbar .el-tabs__active-bar {
      height: 3px;
      border-radius: 999px;
      background: linear-gradient(90deg, #38bdf8, #2563eb);
    }

    .flash-profile-tabbar .el-tabs__content {
      display: none;
    }

    .setting-row.setting-row-flash-editor {
      grid-template-columns: 88px minmax(0, 1fr);
      align-items: start;
    }

    .setting-row.setting-row-flash-editor .setting-label {
      padding-top: 10px;
    }

    .setting-row.setting-row-flash-editor .setting-help {
      grid-column: 2 / -1;
      max-width: none;
    }

    .flash-editor-block {
      width: 100%;
      padding: 12px;
      border: 1px solid rgba(71, 85, 105, 0.82);
      border-radius: 14px;
      background: rgba(2, 6, 23, 0.5);
    }

    .flash-editor-head {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-bottom: 14px;
    }

    .flash-editor-summary {
      color: #94a3b8;
      font-size: 12px;
      line-height: 1.5;
    }

    .flash-editor-grid {
      display: grid;
      grid-template-columns: repeat(6, minmax(0, 1fr));
      gap: 10px;
    }

    /* 爆闪：用容器类切换，避免仅用内联 display 与 Element 控件不同步导致「灭灯时长」等项不显示 */
    .flash-editor-grid .flash-editor-burst-only {
      display: none !important;
    }

    .flash-editor-grid.flash-editor-grid--burst .flash-editor-burst-only {
      display: flex !important;
    }

    .flash-editor-grid.flash-editor-grid--burst .flash-editor-classic-only {
      display: none !important;
    }

    .flash-editor-item {
      display: flex;
      flex-direction: column;
      gap: 6px;
      min-width: 0;
      padding: 10px 12px;
      border: 1px solid rgba(71, 85, 105, 0.72);
      border-radius: 12px;
      background: rgba(15, 23, 42, 0.5);
    }

    .flash-editor-item-wide {
      grid-column: 1 / -1;
    }

    .flash-editor-item-third {
      grid-column: span 2;
    }

    .flash-editor-item-half {
      grid-column: span 3;
    }

    .flash-editor-item-label {
      margin: 0;
      color: #f8fafc;
      font-size: 13px;
      font-weight: 700;
    }

    .flash-editor-item-help {
      color: #94a3b8;
      font-size: 12px;
      line-height: 1.5;
    }

    .flash-editor-inline-field {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .flash-editor-inline-field .el-select {
      flex: 1 1 auto;
      min-width: 0;
    }

    .flash-editor-inline-field .unit-box {
      min-width: 56px;
    }

    .flash-editor-select {
      width: 100%;
    }

    .flash-editor-select .el-input__inner {
      height: 40px;
      line-height: 40px;
      background: rgba(8, 15, 28, 0.92);
      border: 1px solid rgba(96, 165, 250, 0.18);
      color: #f8fafc;
      border-radius: 10px;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
      transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    }

    .flash-editor-select .el-input__inner:hover {
      border-color: rgba(96, 165, 250, 0.34);
      background: rgba(10, 18, 32, 0.96);
    }

    .flash-editor-select .el-input.is-focus .el-input__inner,
    .flash-editor-select .el-input__inner:focus {
      border-color: #60a5fa;
      box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
      background: rgba(10, 18, 32, 0.98);
    }

    .flash-editor-select-popper.el-select-dropdown {
      border: 1px solid rgba(96, 165, 250, 0.18);
      border-radius: 14px;
      background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(8, 15, 28, 0.98));
      box-shadow: 0 20px 40px rgba(2, 6, 23, 0.4);
    }

    .flash-editor-select-popper .el-select-dropdown__item {
      color: #dbeafe;
    }

    .flash-editor-select-popper .el-select-dropdown__item.hover,
    .flash-editor-select-popper .el-select-dropdown__item:hover,
    .flash-editor-select-popper .el-select-dropdown__item.selected {
      background: rgba(37, 99, 235, 0.22);
      color: #f8fafc;
    }

    .flash-editor-select-popper .popper__arrow,
    .flash-editor-select-popper .popper__arrow::after {
      border-bottom-color: rgba(15, 23, 42, 0.98) !important;
    }

    .page-panel-head {
      padding-bottom: 18px;
      border-bottom: 1px solid rgba(51, 65, 85, 0.72);
      margin-bottom: 18px;
    }

    .settings-panel,
    .products-panel {
      background: linear-gradient(180deg, rgba(17, 24, 39, 0.88), rgba(11, 18, 32, 0.88));
    }

    .setting-list {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .setting-row {
      display: grid;
      grid-template-columns: 88px 330px 420px;
      gap: 12px;
      align-items: center;
      padding: 10px 0;
      border-bottom: 1px solid rgba(51, 65, 85, 0.38);
    }

    .setting-row.with-unit {
      grid-template-columns: 88px 276px 42px 420px;
    }

    .setting-list>.setting-row:last-of-type {
      border-bottom: 0;
    }

    .setting-label {
      color: #cbd5e1;
      font-size: 13px;
      font-weight: 600;
      white-space: nowrap;
    }

    .setting-help {
      color: var(--muted);
      font-size: 12px;
      line-height: 1.5;
      letter-spacing: 0.01em;
      text-align: left;
      white-space: normal;
      overflow-wrap: break-word;
      word-break: break-word;
      min-width: 0;
      max-width: 420px;
      align-self: start;
    }

    .param-tooltip-row {
      display: flex;
      align-items: flex-start;
    }

    .param-title-row {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      min-width: 0;
    }

    .param-help-trigger {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      min-height: 22px;
      padding: 0 8px;
      border: 1px solid rgba(96, 165, 250, 0.2);
      border-radius: 999px;
      background: rgba(15, 23, 42, 0.58);
      color: #bfdbfe;
      font-size: 11px;
      font-weight: 600;
      line-height: 1;
      cursor: help;
      white-space: nowrap;
      user-select: none;
      transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
    }

    .param-help-trigger:hover {
      border-color: rgba(96, 165, 250, 0.38);
      background: rgba(30, 41, 59, 0.78);
      color: #dbeafe;
    }

    .param-help-trigger .el-icon-info {
      font-size: 12px;
    }

    .param-help-popper {
      /* max-width: 360px; */
      line-height: 1.65;
      white-space: normal;
      word-break: break-word;
    }

    .settings-note-title {
      color: #f8fafc;
      font-size: 17px;
      font-weight: 600;
      letter-spacing: 0.04em;
      margin-bottom: 8px;
    }

    .mode-switch {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
      padding: 6px;
      border: 1px solid var(--line);
      border-radius: 10px;
      background: #0b1220;
    }

    .mode-switch input[type="radio"] {
      display: none;
    }

    .mode-option {
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 8px;
      color: var(--muted);
      font-size: 14px;
      cursor: pointer;
      transition: background-color 0.2s ease, color 0.2s ease;
    }

    .mode-switch input[type="radio"]:checked+.mode-option {
      background: #1d4ed8;
      color: #ffffff;
      font-weight: 600;
    }

    .setting-row.setting-row-system-control {
      grid-template-columns: 88px minmax(0, 1fr);
      align-items: start;
    }

    .setting-row.setting-row-system-control .setting-label {
      padding-top: 10px;
    }

    .setting-row.setting-row-system-control .setting-help {
      grid-column: 2 / -1;
      max-width: none;
    }

    .system-control-block {
      width: 100%;
      padding: 12px;
      border: 1px solid rgba(71, 85, 105, 0.82);
      border-radius: 14px;
      background: rgba(2, 6, 23, 0.5);
    }

    .system-control-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(170px, 1fr));
      gap: 10px;
    }

    .system-control-card {
      padding: 10px 12px;
      border: 1px solid rgba(71, 85, 105, 0.72);
      border-radius: 12px;
      background: rgba(15, 23, 42, 0.5);
    }

    .system-control-card-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }

    .system-control-card-title {
      color: #f8fafc;
      font-size: 14px;
      font-weight: 700;
    }

    .system-control-field-row {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-top: 8px;
    }

    .system-control-field-row .unit-box {
      min-width: 52px;
    }

    .system-control-card-note {
      margin-top: 8px;
      color: #94a3b8;
      font-size: 12px;
      line-height: 1.5;
    }

    .system-control-card-note,
    .linkage-card-note,
    .cascade-card-note,
    .flash-editor-item-help {
      display: none;
    }

    .system-control-summary {
      margin-top: 12px;
    }

    .timer-block {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 8px;
      min-width: 0;
    }

    .timer-row-primary {
      display: flex;
      align-items: center;
      min-height: 40px;
    }

    .timer-row-times {
      display: flex;
      align-items: center;
      gap: 10px;
      min-height: 40px;
      flex-wrap: wrap;
    }

    .timer-picker-row {
      gap: 14px;
      margin-top: 4px;
    }

    .setting-row.setting-row-linkage {
      grid-template-columns: 88px minmax(0, 1fr);
      align-items: start;
    }

    .setting-row.setting-row-linkage .setting-label {
      padding-top: 10px;
    }

    .setting-row.setting-row-linkage .setting-help {
      grid-column: 2 / -1;
      max-width: none;
    }

    .linkage-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(170px, 1fr));
      gap: 10px;
    }

    .linkage-card {
      padding: 10px 12px;
      border: 1px solid rgba(71, 85, 105, 0.82);
      border-radius: 14px;
      background: rgba(2, 6, 23, 0.5);
    }

    .linkage-card-wide {
      grid-column: 1 / -1;
    }

    .linkage-card-wide .linkage-card-head {
      margin-bottom: 12px;
    }

    .linkage-card-wide .timer-row-times {
      flex-wrap: nowrap;
    }

    .linkage-card-head {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
    }

    .linkage-card-head-stack {
      align-items: flex-start;
      flex-direction: column;
    }

    .linkage-card-title {
      color: #f8fafc;
      font-size: 14px;
      font-weight: 700;
    }

    .linkage-card-note {
      margin-top: 8px;
      color: #94a3b8;
      font-size: 12px;
      line-height: 1.5;
    }

    .linkage-timezone-row {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-top: 8px;
    }

    .linkage-timezone-row .unit-box {
      min-width: 42px;
    }

    .linkage-timezone-row .timezone-el-select {
      min-width: 170px;
      max-width: 100%;
    }

    .setting-row.setting-row-cascade {
      grid-template-columns: 88px minmax(0, 1fr);
      align-items: start;
    }

    .setting-row.setting-row-cascade .setting-label {
      padding-top: 10px;
    }

    .setting-row.setting-row-cascade .setting-help {
      grid-column: 2 / -1;
      max-width: none;
    }

    .cascade-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(150px, 1fr));
      gap: 10px;
    }

    .cascade-card {
      padding: 10px 12px;
      border: 1px solid rgba(71, 85, 105, 0.82);
      border-radius: 14px;
      background: rgba(2, 6, 23, 0.5);
    }

    .cascade-card-head {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
    }

    .cascade-card-title {
      color: #f8fafc;
      white-space: nowrap;
      font-size: 14px;
      font-weight: 700;
    }

    .cascade-field-row {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-top: 8px;
    }

    .cascade-field-row .unit-box {
      min-width: 42px;
    }

    .cascade-card-note {
      margin-top: 8px;
      color: #94a3b8;
      font-size: 12px;
      line-height: 1.5;
    }

    .timer-picker-item {
      display: grid;
      grid-template-columns: 56px minmax(132px, 1fr);
      align-items: center;
      gap: 10px;
      min-width: 220px;
      flex: 1 1 220px;
      padding: 10px 12px;
      border: 1px solid rgba(71, 85, 105, 0.72);
      border-radius: 12px;
      background: linear-gradient(180deg, rgba(15, 23, 42, 0.56), rgba(2, 6, 23, 0.48));
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
    }

    .timer-picker-label {
      color: #dbeafe;
      font-size: 13px;
      white-space: nowrap;
      font-weight: 700;
    }

    .timer-el-picker {
      width: 100%;
    }

    .timer-el-picker .el-input__inner {
      height: 40px;
      line-height: 40px;
      padding-left: 40px !important;
      padding-right: 34px;
      background: rgba(8, 15, 28, 0.92);
      border: 1px solid rgba(96, 165, 250, 0.18);
      color: #f8fafc;
      border-radius: 10px;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
      transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    }

    .timer-el-picker .el-input__inner:hover {
      border-color: rgba(96, 165, 250, 0.34);
      background: rgba(10, 18, 32, 0.96);
    }

    .timer-el-picker .el-input.is-focus .el-input__inner,
    .timer-el-picker .el-input__inner:focus {
      border-color: #60a5fa;
      box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
      background: rgba(10, 18, 32, 0.98);
    }

    .timer-el-picker .el-input__prefix,
    .timer-el-picker .el-input__suffix {
      color: #93c5fd;
    }

    .timer-el-picker .el-input__prefix {
      left: 10px;
      display: flex;
      align-items: center;
    }

    .timer-el-picker .el-input__suffix {
      right: 10px;
    }

    .timer-el-picker .el-input__prefix-inner {
      display: flex;
      align-items: center;
    }

    .timer-el-picker .el-input__icon {
      line-height: 40px;
    }

    .timer-picker-popper.el-time-panel,
    .timer-picker-popper.el-picker-panel {
      width: 200px !important;
      min-width: 200px !important;
      border: 1px solid rgba(96, 165, 250, 0.18);
      border-radius: 16px;
      background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(8, 15, 28, 0.98));
      box-shadow: 0 24px 48px rgba(2, 6, 23, 0.42);
      backdrop-filter: blur(14px);
    }

    .timer-picker-popper.el-time-panel[x-placement^="bottom"],
    .timer-picker-popper.el-picker-panel[x-placement^="bottom"] {
      margin-top: 10px;
    }

    .timer-picker-popper .popper__arrow,
    .timer-picker-popper .popper__arrow::after {
      border-bottom-color: rgba(15, 23, 42, 0.96) !important;
    }

    .timer-picker-popper .el-time-panel__content {
      font-size: 15px;
      background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(8, 15, 28, 0.98));
      color: #dbeafe;
    }

    .timer-picker-popper .el-time-spinner {
      background: transparent;
    }

    .timer-picker-popper .el-time-spinner__list {
      background: transparent;
    }

    .timer-picker-popper .el-time-panel__content::before,
    .timer-picker-popper .el-time-panel__content::after {
      border-color: rgba(96, 165, 250, 0.12);
    }

    .timer-picker-popper .el-time-spinner__wrapper {
      border-left-color: rgba(51, 65, 85, 0.72);
    }

    .timer-picker-popper .el-time-spinner__wrapper:first-child {
      border-left: 0;
    }

    .timer-picker-popper .el-scrollbar__wrap {
      margin-bottom: 0 !important;
      overflow-x: hidden !important;
    }

    .timer-picker-popper .el-scrollbar__bar.is-horizontal {
      display: none;
    }

    .timer-picker-popper .el-time-spinner__item {
      color: #94a3b8;
      height: 34px;
      line-height: 34px;
      font-size: 15px;
      border-radius: 8px;
      transition: background-color 0.2s ease, color 0.2s ease;
    }

    .timer-picker-popper .el-time-spinner__item:hover:not(.disabled):not(.active) {
      background: rgba(37, 99, 235, 0.14);
      color: #dbeafe;
    }

    .timer-picker-popper .el-time-spinner__item.active:not(.disabled) {
      color: #f8fafc;
      font-weight: 700;
    }

    .timer-picker-popper .el-time-spinner__list::after,
    .timer-picker-popper .el-time-spinner__list::before {
      height: 74px;
    }

    .timer-picker-popper .el-time-panel__footer {
      padding: 8px 12px;
      border-top: 1px solid rgba(51, 65, 85, 0.72);
      background: rgba(8, 15, 28, 0.72);
      display: none;
    }

    .timer-picker-popper .el-time-panel__btn {
      color: #93c5fd;
      font-size: 14px;
    }

    .timer-picker-popper .el-time-panel__btn.confirm {
      color: #f8fafc;
      font-weight: 700;
    }

    .timer-toggle {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 6px;
      padding: 4px;
      min-width: 128px;
      border: 1px solid var(--line);
      border-radius: 10px;
      background: #0b1220;
    }

    .timer-toggle input[type="radio"] {
      display: none;
    }

    .timer-toggle .timer-option {
      height: 40px;
      min-width: 54px;
      padding: 0 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 8px;
      color: var(--muted);
      font-size: 14px;
      cursor: pointer;
      transition: background-color 0.2s ease, color 0.2s ease;
    }

    .timer-toggle input[type="radio"]:checked+.timer-option {
      background: #1d4ed8;
      color: #ffffff;
      font-weight: 600;
    }

    .timer-select-group {
      display: grid;
      grid-template-columns: auto minmax(118px, 1fr);
      gap: 8px;
      align-items: center;
      flex: 0 0 auto;
      min-width: 168px;
    }

    .timer-time-input {
      height: 40px;
      padding: 0 10px;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: #0b1220;
      color: var(--text);
      font-size: 15px;
      box-sizing: border-box;
    }

    .timer-select-label {
      color: var(--muted);
      font-size: 13px;
      text-align: center;
    }

    .timer-separator {
      color: var(--muted);
      font-size: 18px;
      line-height: 1;
      flex: 0 0 auto;
    }

    .setting-row.setting-row-timer {
      align-items: start;
    }

    .setting-row.setting-row-timer .setting-label {
      padding-top: 10px;
    }

    .unit-box {
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 1px solid rgba(71, 85, 105, 0.9);
      border-radius: 8px;
      background: rgba(2, 6, 23, 0.68);
      color: #94a3b8;
      font-size: 14px;
    }

    .slider-wrap {
      display: flex;
      align-items: center;
      gap: 8px;
      min-width: 0;
      min-height: 40px;
      padding: 0 10px;
      border: 1px solid rgba(71, 85, 105, 0.9);
      border-radius: 8px;
      background: rgba(2, 6, 23, 0.68);
    }

    .slider-wrap input[type="range"] {
      --range-progress: 100%;
      flex: 1 1 0;
      min-width: 0;
      -webkit-appearance: none;
      appearance: none;
      height: 6px;
      padding: 0;
      border: 0;
      border-radius: 999px;
      background: linear-gradient(90deg,
          #2563eb 0%,
          #2563eb var(--range-progress),
          #334155 var(--range-progress),
          #334155 100%);
      cursor: pointer;
    }

    .slider-wrap input[type="range"]::-webkit-slider-runnable-track {
      height: 6px;
      border-radius: 999px;
      background: transparent;
    }

    .slider-wrap input[type="range"]::-webkit-slider-thumb {
      -webkit-appearance: none;
      appearance: none;
      width: 18px;
      height: 18px;
      margin-top: -6px;
      border: 2px solid #ffffff;
      border-radius: 50%;
      background: #0f172a;
      box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
    }

    .slider-wrap input[type="range"]::-moz-range-track {
      height: 6px;
      border-radius: 999px;
      background: #334155;
    }

    .slider-wrap input[type="range"]::-moz-range-progress {
      height: 6px;
      border-radius: 999px;
      background: #2563eb;
    }

    .slider-wrap input[type="range"]::-moz-range-thumb {
      width: 18px;
      height: 18px;
      border: 2px solid #ffffff;
      border-radius: 50%;
      background: #0f172a;
      box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
    }

    .slider-value {
      flex: 0 0 48px;
      min-width: 48px;
      text-align: right;
      color: #f8fafc;
      font-size: 13px;
      font-weight: 600;
      font-variant-numeric: tabular-nums;
      white-space: nowrap;
    }

    .setting-btn {
      height: 40px;
      padding: 0 12px;
      background: #1d4ed8;
    }

    .settings-actions {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 8px;
      margin-top: 14px;
    }

    .settings-actions.page-settings-action-bar {
      position: fixed;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 45;
      margin-top: 0;
      margin-left: 0;
      margin-right: 0;
      justify-content: center;
      align-items: center;
      gap: 10px;
      padding: 10px 16px;
      padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.98));
      border-top: 1px solid rgba(148, 163, 184, 0.35);
      box-shadow: 0 -8px 24px rgba(148, 163, 184, 0.22);
      backdrop-filter: blur(10px);
    }

    .chunk-size-switch {
      margin-top: 5px;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 12px;
      color: #334155;
      user-select: none;
      padding: 10px 8px;
      border: 1px solid rgba(148, 163, 184, 0.35);
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.9);
    }

    .chunk-size-switch-label {
      color: #475569;
      font-size: 12px;
      line-height: 1;
    }

    .chunk-size-switch .el-switch__label {
      color: #64748b;
      font-size: 11px;
    }

    .chunk-size-switch .el-switch__label.is-active {
      color: #1d4ed8;
    }

    .chunk-size-switch .el-switch.is-checked .el-switch__core {
      border-color: #2563eb;
      background-color: #2563eb;
    }

    .products-card {
      margin-top: 18px;
    }

    .products-title {
      color: #f8fafc;
      font-size: 18px;
      font-weight: 700;
      margin-bottom: 0;
      letter-spacing: 0.04em;
    }

    .products-head {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 12px;
      margin-bottom: 14px;
    }

    .products-actions {
      display: flex;
      /* gap: 8px; */
      flex-wrap: nowrap;
      justify-content: flex-end;
    }

    .products-actions .el-button {
      padding: 8px 12px!important;
      font-size: 13px!important;
    }

    .backup-status {
      margin-bottom: 10px;
      color: var(--muted);
      font-size: 10px;
      line-height: 1.5;
    }

    .backup-hint {
      margin-bottom: 3px;
      color: #cbd5e1;
      font-size: 10px;
      line-height: 1.5;
    }

    .products-list {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .product-row {
      display: grid;
      grid-template-columns: 82px 1fr;
      gap: 12px;
      align-items: center;
      min-height: 48px;
      padding: 12px 14px;
      border: 1px solid rgba(51, 65, 85, 0.7);
      border-radius: 12px;
      background: linear-gradient(180deg, rgba(15, 23, 42, 0.68), rgba(11, 18, 32, 0.62));
    }

    .product-name {
      color: #f8fafc;
      font-size: 15px;
      font-weight: 600;
      white-space: nowrap;
    }

    .product-desc {
      color: var(--muted);
      font-size: 14px;
      line-height: 1.5;
    }

    .read-progress-wrap {
      margin-bottom: 14px;
      padding: 12px 14px;
      border: 1px solid rgba(71, 85, 105, 0.82);
      border-radius: 10px;
      background: rgba(11, 18, 32, 0.78);
    }

    .read-progress-wrap[hidden] {
      display: none !important;
    }

    .read-progress-label {
      font-size: 13px;
      color: #cbd5e1;
      margin-bottom: 8px;
    }

    .read-progress-track {
      height: 10px;
      border-radius: 999px;
      background: #0b1220;
      border: 1px solid var(--line);
      overflow: hidden;
    }

    .read-progress-fill {
      height: 100%;
      width: 0%;
      border-radius: 999px;
      background: linear-gradient(90deg, #1d4ed8, #22c55e);
      transition: width 0.25s ease-out;
    }

    @media (max-width: 1500px) {
      .page-toolbar {
        position: static;
      }

      .sidebar-hero-top {
        grid-template-columns: 1fr;
      }

      .sidebar-hero-glow {
        width: 100%;
        height: 48px;
        flex-basis: auto;
      }

      .sidebar-button-grid {
        grid-template-columns: 1fr;
      }

      .sidebar-button-grid button:last-child {
        grid-column: auto;
      }

      .sidebar-status-row,
      .serial-monitor-toolbar,
      .sidebar-send-row {
        flex-direction: column;
        align-items: stretch;
      }

      .settings-card {
        width: auto;
        margin: 0;
      }
    }

    @media (max-width: 1279px) {
      .page-shell {
        padding: 0 20px 20px;
      }

      .page-shell.ble-ui {
        padding-bottom: calc(20px + 72px + env(safe-area-inset-bottom, 0px));
      }

      .page-toolbar {
        margin: 0 -20px 14px;
        grid-template-columns: 1fr;
      }

      .page-toolbar-left {
        border-right: 0;
        border-bottom: 1px solid rgba(51, 65, 85, 0.72);
      }

      .page-toolbar-main {
        padding-top: 12px;
      }

      .page-shell .el-drawer__wrapper {
        pointer-events: auto;
        top: 0;
        left: 0;
        height: 100vh;
      }

      .drawer-sidebar-host {
        padding: 16px;
      }

      .panel-head,
      .panel-head-side {
        flex-direction: column;
        align-items: flex-start;
      }
    }

    @media (max-width: 768px) {
      .page-shell {
        padding: 0 16px 16px;
      }

      .page-shell.ble-ui {
        padding-bottom: calc(16px + 72px + env(safe-area-inset-bottom, 0px));
      }

      .page-toolbar {
        gap: 0;
        margin: 0 -16px 12px;
        border-radius: 0;
      }

      .page-toolbar-left,
      .page-toolbar-main {
        padding: 14px 16px;
      }

      .page-toolbar-title {
        font-size: 24px;
      }

      .settings-card {
        padding: 18px;
        border-radius: 18px;
      }

      .settings-key-tabs {
        padding: 12px 14px;
      }

      .settings-key-tabs-head,
      .panel-head,
      .panel-head-side,
      .system-control-card-head,
      .linkage-card-head,
      .cascade-card-head {
        flex-direction: column;
        align-items: flex-start;
      }

      .param-title-row,
      .page-toolbar-badges,
      .timer-row-times,
      .flash-editor-inline-field,
      .serial-monitor-toolbar {
        flex-wrap: wrap;
      }

      .setting-row,
      .setting-row.with-unit,
      .setting-row.setting-row-system-control,
      .setting-row.setting-row-linkage,
      .setting-row.setting-row-cascade,
      .setting-row.setting-row-flash-editor,
      .setting-row.setting-row-timer {
        grid-template-columns: 1fr;
        gap: 10px;
        align-items: start;
      }

      .setting-row.setting-row-system-control .setting-label,
      .setting-row.setting-row-linkage .setting-label,
      .setting-row.setting-row-cascade .setting-label,
      .setting-row.setting-row-flash-editor .setting-label,
      .setting-row.setting-row-timer .setting-label {
        padding-top: 0;
      }

      .setting-row.setting-row-system-control .setting-help,
      .setting-row.setting-row-linkage .setting-help,
      .setting-row.setting-row-cascade .setting-help,
      .setting-row.setting-row-flash-editor .setting-help {
        grid-column: auto;
      }

      .system-control-grid,
      .linkage-grid,
      .cascade-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .flash-editor-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .flash-editor-item-third,
      .flash-editor-item-half {
        grid-column: span 1;
      }

      .linkage-card-wide .timer-row-times {
        flex-wrap: wrap;
      }

      .timer-picker-item,
      .timer-select-group {
        grid-template-columns: 1fr;
        min-width: 0;
        width: 100%;
      }

      .timer-toggle,
      .timer-el-picker,
      .flash-editor-inline-field .unit-box,
      .system-control-field-row .unit-box,
      .cascade-field-row .unit-box {
        width: 100%;
      }

      .timer-row-primary,
      .system-control-field-row,
      .linkage-timezone-row,
      .cascade-field-row,
      .flash-editor-inline-field {
        align-items: stretch;
      }
    }

    @media (max-width: 640px) {
      .drawer-sidebar-host {
        padding: 12px;
      }

      .page-toolbar-left,
      .page-toolbar-main,
      .settings-card {
        padding: 14px;
      }

      .system-control-grid,
      .linkage-grid,
      .cascade-grid,
      .flash-editor-grid {
        grid-template-columns: 1fr;
      }

      .settings-key-tabbar .el-tabs__item,
      .flash-profile-tabbar .el-tabs__item {
        font-size: 12px;
      }

      .surface-chip {
        min-height: 26px;
        padding: 0 10px;
        font-size: 11px;
      }

      .param-help-popper {
        max-width: min(280px, calc(100vw - 32px));
      }
    }

    /* flash_master_mode：与 RX_GPS 一致 — bit0/1/2 为 ON（参与/流水错峰）；bit4/5/7 为 OFF 位（1=关）；bit3/6 预留 */
    .flash-master-toggles {
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .fm-toggle-row {
      display: flex;
      align-items: center;
      gap: 12px;
      min-height: 28px;
    }

    .fm-toggle-label {
      min-width: 6.5rem;
      font-size: 13px;
      color: #e2e8f0;
    }

    .fm-toggle-hint {
      flex: 1;
      min-width: 0;
      font-size: 12px;
      color: #94a3b8;
      line-height: 1.35;
    }

    .fm-switch {
      position: relative;
      display: inline-block;
      width: 42px;
      height: 24px;
      flex-shrink: 0;
    }

    .fm-switch input {
      opacity: 0;
      width: 0;
      height: 0;
    }

    .fm-switch-slider {
      position: absolute;
      cursor: pointer;
      inset: 0;
      background: #475569;
      border-radius: 24px;
      transition: background 0.2s;
    }

    .fm-switch-slider::before {
      position: absolute;
      content: "";
      height: 18px;
      width: 18px;
      left: 3px;
      bottom: 3px;
      background: #f8fafc;
      border-radius: 50%;
      transition: transform 0.2s;
    }

    .fm-switch input:checked+.fm-switch-slider {
      background: #2563eb;
    }

    .fm-switch input:checked+.fm-switch-slider::before {
      transform: translateX(18px);
    }

    .fm-switch input:focus-visible+.fm-switch-slider {
      outline: 2px solid #93c5fd;
      outline-offset: 2px;
    }

    .flash-master-val {
      font-family: ui-monospace, "Cascadia Code", monospace;
      font-size: 12px;
      color: #94a3b8;
      margin-top: 10px;
      line-height: 1.5;
    }

    @media (max-width: 560px) {
      .page-shell {
        padding: 0 14px 14px;
      }

      .page-shell.ble-ui {
        padding-bottom: calc(14px + 72px + env(safe-area-inset-bottom, 0px));
      }

      .page-toolbar {
        margin: 0 -14px 12px;
      }

      .page-toolbar-left,
      .page-toolbar-main {
        padding: 12px 14px;
      }

      .drawer-sidebar-host {
        padding: 12px;
      }

      .setting-row,
      .setting-row.with-unit,
      .setting-row.setting-row-system-control,
      .setting-row.setting-row-linkage,
      .setting-row.setting-row-cascade,
      .setting-row.setting-row-flash-editor,
      .setting-row.setting-row-timer {
        grid-template-columns: 1fr;
      }

      .flash-editor-grid {
        grid-template-columns: 1fr;
      }

      .system-control-grid {
        grid-template-columns: 1fr;
      }

      .cascade-grid {
        grid-template-columns: 1fr;
      }

      .linkage-grid {
        grid-template-columns: 1fr;
      }

      .settings-key-tabs-head {
        flex-direction: column;
      }

      .settings-key-tabbar .el-tabs__item,
      .flash-profile-tabbar .el-tabs__item {
        min-width: 0;
        padding: 0 6px;
      }

      .timer-picker-item {
        grid-template-columns: 1fr;
        min-width: 100%;
      }

      .timer-select-group,
      .timer-row-primary,
      .system-control-field-row,
      .linkage-timezone-row,
      .cascade-field-row,
      .flash-editor-inline-field {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: stretch;
      }

      .linkage-card-wide .timer-row-times,
      .param-title-row {
        flex-wrap: wrap;
      }

      .setting-btn,
      .unit-box {
        width: 100%;
      }

      .setting-help {
        max-width: 100%;
      }

      h1 {
        font-size: 24px;
      }

      .page-toolbar-title {
        font-size: 22px;
      }

      .page-toolbar-desc {
        font-size: 12px;
      }

      .page-toolbar-badges {
        margin-top: 12px;
      }

      .settings-card {
        padding: 16px;
      }

      .products-head {
        justify-content: flex-start;
      }
    }

    :root {
      --bg: #eef4fb;
      --card: #ffffff;
      --line: #d7e2f0;
      --text: #1f2a37;
      --muted: #62748a;
      --ok: #16a34a;
      --warn: #d97706;
      --bad: #dc2626;
      --btn: #2563eb;
      --btn2: #64748b;
    }

    body {
      background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.18), transparent 26%),
        radial-gradient(circle at right top, rgba(14, 165, 233, 0.12), transparent 22%),
        linear-gradient(180deg, #f8fbff 0%, #eef5fb 46%, #e6eef8 100%);
      color: var(--text);
    }

    .page-toolbar {
      border-color: rgba(148, 163, 184, 0.28);
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(244, 249, 255, 0.94));
      box-shadow: 0 18px 36px rgba(148, 163, 184, 0.18);
    }

    .page-toolbar-left {
      border-right-color: rgba(203, 213, 225, 0.9);
      background: linear-gradient(180deg, rgba(219, 234, 254, 0.88), rgba(239, 246, 255, 0.94));
    }

    .page-toolbar-kicker {
      color: #2563eb;
    }

    .page-toolbar-desc,
    .panel-subtitle,
    .settings-key-tabs-desc,
    .flash-editor-summary,
    .setting-help,
    .backup-status,
    .small,
    .tip,
    .backup-hint,
    .product-desc,
    .read-progress-label,
    .sidebar-status-label,
    .sidebar-block-caption,
    .sidebar-hero .tip,
    .flash-master-val,
    .fm-toggle-hint,
    .linkage-card-note,
    .cascade-card-note,
    .system-control-card-note {
      color: #64748b;
    }

    .page-toolbar-title,
    .section-title,
    .settings-key-tabs-title,
    .settings-note-title,
    .products-title,
    .sidebar-section-title,
    .sidebar-hero h1,
    .system-control-card-title,
    .linkage-card-title,
    .cascade-card-title,
    .flash-editor-item-label,
    .product-name,
    .slider-value,
    .setting-label,
    .fm-toggle-label {
      color: #0f172a;
    }

    .page-shell .el-drawer__mask {
      background: rgba(148, 163, 184, 0.18);
      backdrop-filter: blur(3px);
    }

    .page-shell .el-drawer {
      background: linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(236, 244, 252, 0.98));
      box-shadow: 24px 0 40px rgba(148, 163, 184, 0.24);
    }

    .drawer-sidebar-host {
      background:
        radial-gradient(circle at top left, rgba(96, 165, 250, 0.16), transparent 24%),
        linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(236, 244, 252, 0.98));
      scrollbar-color: rgba(148, 163, 184, 0.88) transparent;
    }

    .drawer-sidebar-host::-webkit-scrollbar-thumb {
      background: rgba(148, 163, 184, 0.88);
    }

    .card,
    .settings-card,
    .settings-panel,
    .products-panel,
    .sidebar-log-card,
    .sidebar-monitor-card,
    .flash-editor-block,
    .system-control-block,
    .linkage-card,
    .cascade-card,
    .product-row,
    .read-progress-wrap,
    .timer-picker-item,
    .system-control-card,
    .flash-editor-item,
    .sidebar-status-row,
    .sidebar-footnote,
    .serial-monitor-toolbar,
    .settings-key-tabs,
    .sidebar-hero {
      border-color: rgba(203, 213, 225, 0.92);
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 255, 0.94));
      box-shadow: 0 14px 30px rgba(148, 163, 184, 0.12);
    }

    .sidebar-hero::before {
      background: linear-gradient(180deg, rgba(37, 99, 235, 0.06), transparent 30%);
    }

    .sidebar-kicker,
    .sidebar-hero .surface-chip,
    .surface-chip {
      border-color: rgba(147, 197, 253, 0.48);
      background: rgba(219, 234, 254, 0.72);
      color: #1d4ed8;
    }

    .surface-chip.muted {
      border-color: rgba(203, 213, 225, 0.96);
      background: rgba(241, 245, 249, 0.98);
      color: #475569;
    }

    .native-surface input:not([type="checkbox"]):not([type="range"]),
    .native-surface textarea,
    .native-surface select,
    .flash-editor-select .el-input__inner,
    .timer-el-picker .el-input__inner,
    .timer-time-input,
    .unit-box,
    .slider-wrap {
      background: #ffffff;
      border-color: #cfdceb;
      color: #0f172a;
      box-shadow: none;
    }

    .native-surface input:not([type="checkbox"]):not([type="range"]):focus,
    .native-surface textarea:focus,
    .native-surface select:focus,
    .flash-editor-select .el-input.is-focus .el-input__inner,
    .flash-editor-select .el-input__inner:focus,
    .flash-editor-select .el-input__inner:hover,
    .timer-el-picker .el-input.is-focus .el-input__inner,
    .timer-el-picker .el-input__inner:focus,
    .timer-el-picker .el-input__inner:hover {
      background: #ffffff;
      border-color: #60a5fa;
      box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.14);
    }

    .flash-editor-select-popper.el-select-dropdown {
      border-color: #cfdceb;
      background: #ffffff;
      box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
    }

    .flash-editor-select-popper .el-select-dropdown__item {
      color: #0f172a;
    }

    .flash-editor-select-popper .el-select-dropdown__item.hover,
    .flash-editor-select-popper .el-select-dropdown__item:hover,
    .flash-editor-select-popper .el-select-dropdown__item.selected {
      background: rgba(59, 130, 246, 0.12);
      color: #0f172a;
    }

    .flash-editor-select-popper .popper__arrow,
    .flash-editor-select-popper .popper__arrow::after {
      border-bottom-color: #ffffff !important;
    }

    .native-surface label,
    .timer-picker-label,
    .timer-select-label {
      color: #475569;
    }

    .timer-el-picker .el-input__prefix,
    .timer-el-picker .el-input__suffix,
    .timer-separator {
      color: #64748b;
    }

    .ble-ui button,
    .ble-ui button.el-button,
    .setting-btn {
      box-shadow: 0 10px 20px rgba(59, 130, 246, 0.16);
    }

    .ble-ui button:hover,
    .ble-ui button.el-button:hover {
      box-shadow: 0 12px 24px rgba(148, 163, 184, 0.22);
    }

    .ble-ui button.secondary,
    .ble-ui button.el-button--info {
      background: #e2e8f0;
      border-color: #cbd5e1;
      color: #334155;
    }

    .status {
      margin-right: 20px;
      border-color: #d7e2f0;
      color: #475569;
      background: rgba(255, 255, 255, 0.96);
    }

    .dot {
      background: #94a3b8;
    }

    .log,
    .serial-monitor {
      background: linear-gradient(180deg, #f8fbff, #eef4fb);
      border-color: #d7e2f0;
      color: #334155;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
    }

    .line-rx {
      color: #047857;
    }

    .line-tx {
      color: #1d4ed8;
    }

    .line-sys {
      color: #475569;
    }

    .line-err {
      color: #b91c1c;
    }

    .settings-key-tabbar .el-tabs__nav-wrap::after,
    .flash-profile-tabbar .el-tabs__nav-wrap::after,
    .page-panel-head,
    .setting-row,
    .product-row,
    .read-progress-wrap,
    .serial-monitor-toolbar,
    .sidebar-status-row {
      border-color: rgba(203, 213, 225, 0.92);
    }

    .settings-key-tabbar .el-tabs__item,
    .flash-profile-tabbar .el-tabs__item {
      color: #64748b;
    }

    .settings-key-tabbar .el-tabs__item:hover,
    .settings-key-tabbar .el-tabs__item.is-active,
    .flash-profile-tabbar .el-tabs__item:hover,
    .flash-profile-tabbar .el-tabs__item.is-active {
      color: #1d4ed8;
    }

    .param-help-trigger {
      border-color: rgba(96, 165, 250, 0.32);
      background: rgba(239, 246, 255, 0.96);
      color: #2563eb;
    }

    .param-help-trigger:hover {
      border-color: rgba(59, 130, 246, 0.42);
      background: rgba(219, 234, 254, 0.96);
      color: #1d4ed8;
    }

    .param-help-popper,
    .el-tooltip__popper.is-dark.param-help-popper {
      border: 1px solid #d7e2f0;
      background: #ffffff !important;
      color: #334155 !important;
      box-shadow: 0 16px 32px rgba(148, 163, 184, 0.2);
    }

    .el-tooltip__popper.is-dark.param-help-popper[x-placement^="top"] .popper__arrow,
    .el-tooltip__popper.is-dark.param-help-popper[x-placement^="top"] .popper__arrow::after {
      border-top-color: #ffffff;
    }

    .mode-switch,
    .timer-toggle {
      border-color: #d7e2f0;
      background: #f8fbff;
    }

    .mode-option,
    .timer-toggle .timer-option {
      color: #64748b;
    }

    .mode-switch input[type="radio"]:checked+.mode-option,
    .timer-toggle input[type="radio"]:checked+.timer-option {
      background: linear-gradient(135deg, #2563eb, #1d4ed8);
      color: #ffffff;
    }

    .slider-wrap input[type="range"] {
      background: linear-gradient(90deg,
          #2563eb 0%,
          #2563eb var(--range-progress),
          #d7e2f0 var(--range-progress),
          #d7e2f0 100%);
    }

    .slider-wrap input[type="range"]::-webkit-slider-thumb,
    .slider-wrap input[type="range"]::-moz-range-thumb {
      border-color: #bfdbfe;
      background: #ffffff;
      box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.14);
    }

    .slider-wrap input[type="range"]::-moz-range-track {
      background: #d7e2f0;
    }

    .read-progress-track {
      background: #e2e8f0;
      border-color: #d7e2f0;
    }

    .timer-picker-popper.el-time-panel,
    .timer-picker-popper.el-picker-panel {
      width: 200px !important;
      min-width: 200px !important;
      border-color: #d7e2f0;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 247, 255, 0.98));
      box-shadow: 0 20px 40px rgba(148, 163, 184, 0.22);
    }

    .timer-picker-popper .popper__arrow,
    .timer-picker-popper .popper__arrow::after {
      border-bottom-color: #ffffff !important;
    }

    .timer-picker-popper .el-time-panel__content,
    .timer-picker-popper .el-time-spinner,
    .timer-picker-popper .el-time-spinner__list {
      font-size: 15px;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 247, 255, 0.98));
      color: #334155;
    }

    .timer-picker-popper .el-time-panel__content::before,
    .timer-picker-popper .el-time-panel__content::after,
    .timer-picker-popper .el-time-spinner__wrapper,
    .timer-picker-popper .el-time-panel__footer {
      border-color: #d7e2f0;
    }

    .timer-picker-popper .el-time-spinner__item {
      color: #64748b;
      height: 34px;
      line-height: 34px;
      font-size: 15px;
    }

    .timer-picker-popper .el-time-spinner__item:hover:not(.disabled):not(.active) {
      background: rgba(219, 234, 254, 0.96);
      color: #1d4ed8;
    }

    .timer-picker-popper .el-time-spinner__item.active:not(.disabled) {
      color: #0f172a;
    }

    .timer-picker-popper .el-time-panel__footer {
      padding: 8px 12px;
      background: #f8fbff;
      display: none;
    }

    .timer-picker-popper .el-time-panel__btn {
      color: #2563eb;
      font-size: 14px;
    }