  /* Minimal, clean styling (no Tailwind) */
  .pc-wrap { max-width: 1100px; margin: 24px auto; padding: 0 12px; font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial; box-sizing: border-box; }
  .pc-wrap * { box-sizing: border-box; }
  .pc-h1 { font-size: 28px; font-weight: 800; text-align: center; margin: 6px 0 2px; }
  .pc-sub { color: #555; text-align: center; margin-bottom: 18px; }
  .pc-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
  @media (min-width: 1024px){ .pc-grid { grid-template-columns: 1fr 320px; } }
  .pc-card { background: #fff; border: 1px solid #e6e6e6; border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,.04); overflow: hidden; }
  .pc-card-hd { padding: 16px 20px 0; }
  .pc-ttl { font-weight: 700; font-size: 18px; margin: 0 0 2px; }
  .pc-desc { color: #666; font-size: 13px; margin-bottom: 8px; }
  .pc-card-bd { padding: 14px 20px 20px; }

  @media (max-width: 640px) {
    .pc-wrap { padding-left: 12px !important; padding-right: 12px !important; }
    .pc-card-hd { padding-left: 12px !important; padding-right: 12px !important; }
    .pc-card-bd { padding-left: 12px !important; padding-right: 12px !important; }
    .pc-resbox { padding-left: 12px !important; padding-right: 12px !important; margin-left: 0 !important; margin-right: 0 !important; }
  }

  .pc-row { display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 10px; }
  @media (min-width: 480px){ .pc-row { grid-template-columns: 1fr 1fr; } }
  .pc-lab { display:block; font-size: 12px; color: #333; margin-bottom: 6px; }
  .pc-inp { width: 100%; height: 38px; padding: 6px 10px; border-radius: 8px; border: 1px solid #d9d9d9; outline: none; }
  .pc-inp:focus { border-color: #7c3aed; box-shadow: 0 0 0 3px rgba(124,58,237,.15); }

  .pc-btn { width: 100%; height: 40px; border-radius: 8px; background: linear-gradient(90deg,#7c3aed,#06b6d4); color: #fff; border: 0; font-weight: 700; cursor: pointer; }
  .pc-btn:hover { filter: brightness(1.02); }

  /* split action row */
  .pc-btnrow { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 10px; }
  @media (min-width: 480px){ .pc-btnrow { grid-template-columns: 1fr 1fr; } }

  /* TO CLEAN button style */
  .pc-clean { width: 100%; height: 40px; border-radius: 8px; background: #fff; color: #0b0b0b; border: 1px solid #e5e5e5; font-weight: 800; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; letter-spacing: .02em; }
  .pc-clean:hover { background:#f7f7f7; }

  .pc-result { padding-top: 10px; }
  .pc-resbox { border: 1px solid #eee; border-radius: 10px; padding: 12px; background: linear-gradient(90deg,rgba(124,58,237,.06),rgba(6,182,212,.06)); width: 100%; }
  .pc-big { font-size: 28px; font-weight: 800; display: flex; align-items: center; gap: 8px; justify-content: center; }
  .pc-copywrap { display:flex; align-items:center; gap:4px; }
  .pc-copybtn { border: 0; background:#f3ebff; width: 28px; height: 28px; border-radius: 8px; cursor: pointer; display:grid; place-items:center; padding:0; transition: transform .12s ease, background-color .12s ease; }
  .pc-copybtn:hover { transform: translateY(-1px); }
  .pc-copybtn.success { background:#e8fff5; }

  .pc-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace; font-size: 12px; color: #555; }
  .pc-flex { display: flex; align-items: center; gap: 6px; justify-content: space-between; }
  .pc-pill { display:inline-block; padding: 2px 8px; background:#f2f0ff; color:#5b21b6; border-radius:999px; font-size:11px; font-weight:700; }
  .pc-hist-col { position: sticky; top: 130px; }
  .pc-hist-item { border: 1px solid #eee; border-radius: 10px; padding: 10px; background: #fafafa; }
  .pc-actions { display:flex; gap:8px; }
  .pc-outline { background:#fff; border:1px solid #ddd; color:#333; border-radius:8px; padding:6px 10px; cursor:pointer; font-size:12px; }
  .pc-outline:hover { background:#f7f7f7; }
  .pc-muted { color:#777; }
  .pc-toast { position: fixed; right: 12px; top: 12px; z-index: 99999; display: flex; flex-direction: column; gap: 8px; }
  .pc-toast-item { background:#111; color:#fff; padding:10px 12px; border-radius:8px; box-shadow:0 6px 20px rgba(0,0,0,.25); font-size:13px; }

  /* --- HOVER/TEXT COLOR FIXES (scoped & no markup changes) --- */
  .pc-wrap .pc-clean,
  .pc-wrap .pc-clean:hover,
  .pc-wrap .pc-clean:focus,
  .pc-wrap .pc-clean:active { color: #0b0b0b !important; }
  .pc-wrap .pc-actions .pc-outline { color: #333 !important; }
  .pc-wrap .pc-actions .pc-outline:hover,
  .pc-wrap .pc-actions .pc-outline:active,
  .pc-wrap .pc-actions .pc-outline:focus { color: #333 !important; }
  .pc-wrap .pc-actions .pc-outline:nth-of-type(2):hover { color: #dc2626 !important; }
