.tadaoto-bpm-key-page .bpk-app { margin: 40px auto 0; max-width: 880px; }
.tadaoto-bpm-key-page [hidden] { display: none !important; }
.tadaoto-bpm-key-page .tool-panel + .tool-panel { margin-top: 20px; }
.tadaoto-bpm-key-page .bpk-drop { background: var(--tool-panel); border: 2px dashed #aeb5bc; border-radius: 12px; cursor: pointer; margin-top: 24px; padding: 34px 20px 32px; text-align: center; transition: background-color .2s ease, border-color .2s ease; }
.tadaoto-bpm-key-page .bpk-drop:hover,
.tadaoto-bpm-key-page .bpk-drop.is-over { background: #edf4fc; border-color: var(--tool-accent); }
.tadaoto-bpm-key-page .bpk-drop.is-disabled { cursor: wait; opacity: .55; }
.tadaoto-bpm-key-page .bpk-drop__icon { color: var(--tool-accent); display: inline-block; height: 42px; margin-bottom: 10px; width: 42px; }
.tadaoto-bpm-key-page .bpk-drop__icon svg { fill: none; height: 100%; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; width: 100%; }
.tadaoto-bpm-key-page .bpk-drop__main { font-size: 17px; font-weight: 700; margin: 0 0 6px; }
.tadaoto-bpm-key-page .bpk-drop__sub,
.tadaoto-bpm-key-page .bpk-file-info,
.tadaoto-bpm-key-page .bpk-status,
.tadaoto-bpm-key-page .bpk-copy-status { color: var(--tool-muted); font-size: 13px; line-height: 1.65; }
.tadaoto-bpm-key-page .bpk-file-info { margin: 12px 0 -0.3em; overflow-wrap: anywhere; }
.tadaoto-bpm-key-page .bpk-status { margin: 10px 0 -0.3em; }
.tadaoto-bpm-key-page .bpk-status.is-error { color: #a33a34; font-weight: 700; }

.tadaoto-bpm-key-page .bpk-result { border-color: #b8d2ed; }
.tadaoto-bpm-key-page .bpk-primary { align-items: stretch; background: #122436; border-radius: 14px; color: #fff; display: grid; grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr); margin-top: 24px; padding: 26px; text-align: center; }
.tadaoto-bpm-key-page .bpk-primary__item { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 2px 18px; }
.tadaoto-bpm-key-page .bpk-primary__item > span { color: #9bbbd7; font-size: 11px; font-weight: 700; letter-spacing: .16em; }
.tadaoto-bpm-key-page .bpk-primary__item strong { font-size: clamp(30px, 5vw, 48px); line-height: 1.2; margin-top: 5px; overflow-wrap: anywhere; }
.tadaoto-bpm-key-page .bpk-primary__item:nth-child(3) strong { font-size: clamp(25px, 3.2vw, 38px); }
.tadaoto-bpm-key-page .bpk-primary__item small { color: #b6c6d5; font-size: 11px; margin-top: 5px; }
.tadaoto-bpm-key-page .bpk-primary__divider { background: rgba(255,255,255,.2); }
.tadaoto-bpm-key-page .bpk-details { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 18px; }
.tadaoto-bpm-key-page .bpk-details > section { background: var(--tool-panel); border: 1px solid var(--tool-line); border-radius: 12px; padding: 18px; }
.tadaoto-bpm-key-page .bpk-details h3,
.tadaoto-bpm-key-page .bpk-preview h3,
.tadaoto-bpm-key-page .bpk-tap h3 { font-size: 15px; margin: 0; }
.tadaoto-bpm-key-page .bpk-details p,
.tadaoto-bpm-key-page .bpk-tap p { color: var(--tool-muted); font-size: 11px; line-height: 1.6; margin: 12px 0 0; }
.tadaoto-bpm-key-page .bpk-tempo-candidates { display: grid; gap: 6px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 14px; }
.tadaoto-bpm-key-page .bpk-tempo-candidates div { background: #fff; border: 1px solid var(--tool-line); border-radius: 8px; padding: 9px 4px; text-align: center; }
.tadaoto-bpm-key-page .bpk-tempo-candidates div.is-primary { background: #edf4fc; border-color: var(--tool-accent); }
.tadaoto-bpm-key-page .bpk-tempo-candidates span { color: var(--tool-muted); display: block; font-size: 10px; }
.tadaoto-bpm-key-page .bpk-tempo-candidates strong { display: block; font-size: 18px; font-variant-numeric: tabular-nums; margin-top: 2px; }
.tadaoto-bpm-key-page .bpk-key-candidates { list-style: none; margin: 12px 0 0; padding: 0; }
.tadaoto-bpm-key-page .bpk-key-candidates li { align-items: center; display: grid; gap: 8px; grid-template-columns: 22px minmax(100px, auto) minmax(50px, 1fr); min-height: 32px; }
.tadaoto-bpm-key-page .bpk-rank { align-items: center; background: #e2e8ed; border-radius: 50%; display: flex; font-size: 10px; height: 20px; justify-content: center; width: 20px; }
.tadaoto-bpm-key-page .bpk-key-candidates strong { font-size: 12px; }
.tadaoto-bpm-key-page .bpk-meter { background: #dce3e9; border-radius: 999px; height: 5px; overflow: hidden; }
.tadaoto-bpm-key-page .bpk-meter i { background: var(--tool-accent); border-radius: inherit; display: block; height: 100%; }
.tadaoto-bpm-key-page .bpk-preview { border-top: 1px solid var(--tool-line); margin-top: 22px; padding-top: 20px; }
.tadaoto-bpm-key-page .bpk-preview audio { display: block; margin-top: 12px; width: 100%; }
.tadaoto-bpm-key-page .bpk-tap { align-items: center; background: var(--tool-panel); border-radius: 12px; display: flex; gap: 20px; justify-content: space-between; margin-top: 18px; padding: 16px 18px; }
.tadaoto-bpm-key-page .bpk-tap p { margin-top: 3px; }
.tadaoto-bpm-key-page #bpk-tap-button { align-items: center; background: #fff; border: 1px solid #9eabb6; border-radius: 10px; color: var(--tool-ink); cursor: pointer; display: grid; grid-template-columns: auto auto; min-height: 62px; min-width: 158px; padding: 9px 14px; }
.tadaoto-bpm-key-page #bpk-tap-button > span { font-size: 11px; grid-row: 1 / 3; margin-right: 12px; }
.tadaoto-bpm-key-page #bpk-tap-button strong { color: var(--tool-ink); font-size: 22px; font-variant-numeric: tabular-nums; line-height: 1; }
.tadaoto-bpm-key-page #bpk-tap-button small { color: var(--tool-muted); font-size: 9px; }
.tadaoto-bpm-key-page .bpk-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.tadaoto-bpm-key-page .bpk-button { border: 1px solid #b8bec5; border-radius: 999px; cursor: pointer; font: inherit; font-size: 14px; font-weight: 700; min-height: 46px; padding: 11px 22px; }
.tadaoto-bpm-key-page .bpk-button--primary { background: var(--tool-accent); border-color: var(--tool-accent); color: #fff; }
.tadaoto-bpm-key-page .bpk-button--secondary { background: #fff; color: var(--tool-ink); }
.tadaoto-bpm-key-page .bpk-copy-status { margin: 10px 0 -0.3em; }
.tadaoto-bpm-key-page .bpk-note { background: var(--tool-panel); border-radius: 12px; margin-top: 22px; padding: 22px 24px; }
.tadaoto-bpm-key-page .bpk-note h2 { font-size: 16px; margin: 0 0 10px; }
.tadaoto-bpm-key-page .bpk-note ul { color: var(--tool-muted); font-size: 13px; line-height: 1.75; margin: 0; padding-left: 1.3em; }
.tadaoto-bpm-key-page .bpk-drop:focus-visible,
.tadaoto-bpm-key-page button:focus-visible { outline: 3px solid rgba(47,118,199,.35); outline-offset: 3px; }

@media (max-width: 620px) {
  .tadaoto-bpm-key-page .bpk-details { grid-template-columns: 1fr; }
  .tadaoto-bpm-key-page .bpk-primary { padding: 22px 12px; }
  .tadaoto-bpm-key-page .bpk-primary__item { padding: 0 8px; }
  .tadaoto-bpm-key-page .bpk-primary__item strong { font-size: 26px; }
  .tadaoto-bpm-key-page .bpk-tap { align-items: stretch; flex-direction: column; }
  .tadaoto-bpm-key-page #bpk-tap-button { width: 100%; }
  .tadaoto-bpm-key-page .bpk-actions { display: grid; }
  .tadaoto-bpm-key-page .bpk-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .tadaoto-bpm-key-page .bpk-drop { transition: none; }
}
