    /* ===== 파일 업로드 UI ===== */
    .upload-divider {
      display: flex;
      align-items: center;
      gap: 12px;
      margin: 20px 0 16px;
      color: var(--gray-400);
      font-size: 0.85rem;
    }
    .upload-divider::before,
    .upload-divider::after {
      content: '';
      flex: 1;
      height: 1px;
      background: var(--gray-200);
    }
    .upload-btn {
      cursor: pointer;
      display: inline-block;
    }

    /* ===== 바코드 형식 테이블 ===== */
    .types-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 0.9rem;
    }
    .types-table th,
    .types-table td {
      padding: 10px 14px;
      text-align: left;
      border-bottom: 1px solid var(--gray-200);
    }
    .types-table th {
      background: var(--navy);
      color: #fff;
      font-weight: 700;
    }
    .types-table tr:last-child td { border-bottom: none; }
    .types-table tr:nth-child(even) td { background: var(--gray-100); }
    @media (min-width: 481px) {
      .types-table { font-size: 1rem; }
      .types-table th, .types-table td { padding: 12px 16px; }
    }

    /* ===== 붙여넣기 존 ===== */
    .paste-zone {
      border: 2px dashed var(--gray-300);
      border-radius: 12px;
      padding: 18px 20px;
      cursor: pointer;
      color: var(--gray-600);
      font-size: 0.95rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 6px;
      transition: border-color 0.2s, background 0.2s;
      outline: none;
    }
    .paste-zone:hover,
    .paste-zone:focus,
    .paste-zone.drag-over {
      border-color: var(--orange);
      background: var(--gray-100);
    }
    .paste-hint {
      font-size: 0.8rem;
      color: var(--gray-400);
    }

    /* ===== 스캐너 카드 전용 스타일 ===== */
    .scanner-card {
      max-width: 560px;
      margin: 0 auto;
      text-align: center;
    }
    .scanner-viewport {
      position: relative;
      width: 100%;
      aspect-ratio: 4/3;
      background: #000;
      border-radius: 12px;
      overflow: hidden;
      margin-bottom: 16px;
    }
    #video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
    .scanner-line {
      position: absolute;
      left: 10%;
      right: 10%;
      top: 50%;
      height: 2px;
      background: var(--orange);
      animation: scan-line 2s ease-in-out infinite;
      box-shadow: 0 0 8px var(--orange);
    }
    @keyframes scan-line {
      0%, 100% { top: 20%; }
      50% { top: 80%; }
    }
    .scanner-corner {
      position: absolute;
      inset: 16px;
      pointer-events: none;
    }
    .scanner-corner::before,
    .scanner-corner::after {
      content: '';
      position: absolute;
      width: 28px;
      height: 28px;
      border-color: #fff;
      border-style: solid;
    }
    .scanner-corner::before {
      top: 0; left: 0;
      border-width: 3px 0 0 3px;
      border-radius: 4px 0 0 0;
    }
    .scanner-corner::after {
      bottom: 0; right: 0;
      border-width: 0 3px 3px 0;
      border-radius: 0 0 4px 0;
    }
    .scanner-hint {
      font-size: 0.85rem;
      color: var(--gray-600);
      margin-bottom: 20px;
    }
    .result-box {
      background: var(--gray-100);
      border: 2px solid var(--orange);
      border-radius: 12px;
      padding: 24px 20px;
      margin-bottom: 16px;
    }
    .result-label {
      font-size: 0.85rem;
      color: var(--gray-600);
      margin-bottom: 8px;
    }
    .result-value {
      font-size: 1.25rem;
      font-weight: 700;
      color: var(--navy);
      word-break: break-all;
      margin-bottom: 20px;
      min-height: 32px;
    }
    .result-actions {
      display: flex;
      gap: 12px;
      justify-content: center;
      flex-wrap: wrap;
    }
    #scanner-unsupported p {
      color: var(--gray-600);
      line-height: 1.8;
    }
    .tool-card > div + div {
      margin-top: 0;
    }
