    * {
      box-sizing: border-box;
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    }

    body {
      margin: 0;
      padding: 0;
      background: #0f172a;
      color: #e5e7eb;
    }

    .container {
      max-width: 960px;
      margin: 24px auto 40px;
      padding: 0 16px;
    }

    h1 {
      text-align: center;
      margin-bottom: 16px;
      font-size: 1.8rem;
    }

    h1 span {
      color: #38bdf8;
    }

    .card {
      background: #020617;
      border-radius: 16px;
      padding: 16px 18px;
      margin-bottom: 16px;
      border: 1px solid #1f2937;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    }

    .card h2 {
      margin-top: 0;
      margin-bottom: 8px;
      font-size: 1.1rem;
    }

    label {
      display: block;
      margin: 6px 0 4px;
      font-size: 0.9rem;
    }

    input[type="text"],
    input[type="number"],
    textarea,
    select {
      width: 100%;
      padding: 8px 10px;
      border-radius: 8px;
      border: 1px solid #374151;
      background: #020617;
      color: #e5e7eb;
      font-size: 0.95rem;
    }

    textarea {
      resize: vertical;
      min-height: 120px;
    }

    small {
      font-size: 0.8rem;
      color: #9ca3af;
    }

    button {
      border: none;
      border-radius: 999px;
      padding: 8px 14px;
      cursor: pointer;
      font-size: 0.9rem;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .btn-primary {
      background: linear-gradient(135deg, #0ea5e9, #22c55e);
      color: #020617;
      font-weight: 600;
    }

    .btn-secondary {
      background: #111827;
      color: #e5e7eb;
      border: 1px solid #374151;
    }

    .btn-danger {
      background: #b91c1c;
      color: #fee2e2;
    }

    .btn-sm {
      padding: 4px 10px;
      font-size: 0.8rem;
    }

    .two-cols {
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 16px;
    }

    @media (max-width: 768px) {
      .two-cols {
        grid-template-columns: 1fr;
      }
    }

    .item-row {
      display: grid;
      grid-template-columns: 2.2fr 1.1fr auto;
      gap: 8px;
      margin-bottom: 8px;
    }

    .badge {
      display: inline-block;
      padding: 2px 8px;
      border-radius: 999px;
      font-size: 0.75rem;
      background: #111827;
      border: 1px solid #1f2937;
      color: #9ca3af;
    }

    #status {
      min-height: 20px;
      font-size: 0.85rem;
      margin-top: 8px;
    }

    #status.ok {
      color: #4ade80;
    }

    #status.warn {
      color: #fbbf24;
    }

    #status.err {
      color: #fca5a5;
    }

    #result {
      margin-top: 8px;
      min-height: 140px;
      font-family: "Sarabun", system-ui, sans-serif;
    }

    .actions-row {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      margin-top: 8px;
      align-items: center;
    }

    .product-name-custom {
      margin-top: 4px;
    }

    .address-confirmation-dialog {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.7);
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 1000;
    }

    .dialog-content {
      background: #1f2937;
      padding: 20px;
      border-radius: 8px;
      max-width: 500px;
      width: 90%;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    }

    .dialog-content h3 {
      margin-top: 0;
      color: #38bdf8;
    }

    .dialog-actions {
      display: flex;
      gap: 10px;
      margin-top: 20px;
      justify-content: flex-end;
    }

    .dialog-actions button {
      padding: 8px 16px;
      border: none;
      border-radius: 4px;
      cursor: pointer;
    }

    #confirmBtn {
      background: #10b981;
      color: white;
    }

    #editBtn {
      background: #6b7280;
      color: white;
    }