/* Additive native Side Drill controls; inherit the existing light/dark theme. */
#pc-open { white-space: nowrap; border-color: currentColor; }
#pc-importer { border: 1px solid var(--border, #647880); border-radius: 8px; margin: 0 0 16px; padding: 14px; scroll-margin-top: 12px; }
#pc-importer[hidden], #pc-file[hidden] { display: none !important; }
#pc-importer p { overflow-wrap: anywhere; }
#pc-importer .pc-values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
#pc-importer input, #pc-importer select { min-width: 0; max-width: 100%; }
#pc-importer .pc-check { display: flex; align-items: flex-start; gap: 9px; margin: 14px 0; line-height: 1.5; }
#pc-importer .pc-check input { flex: 0 0 17px; width: 17px; height: 17px; margin: 3px 0 0; }
#pc-status, #pc-blocker { padding: 9px 0; margin: 4px 0; line-height: 1.5; }
#pc-status:empty { display: none; }
#pc-status[data-error="true"] { font-weight: 650; }
#pc-blocker { border-top: 1px solid var(--border, #647880); }
#pc-operations { padding-left: 18px; max-height: 240px; overflow: auto; overflow-wrap: anywhere; font-size: 12px; }
#pc-operations li { margin: 7px 0; }
#pc-generate, #pc-manual, #pc-choose { width: 100%; white-space: normal; min-height: 40px; }
#pc-importer :focus-visible, #pc-open:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
#pc-importer button:disabled { opacity: .5; cursor: not-allowed; }
/* The additional action must remain reachable rather than overflow the header. */
@media (max-width: 1100px) {
  body > header { height: auto; flex-wrap: wrap; gap: 8px; }
  body > header .header-right { flex-wrap: wrap; min-width: 0; gap: 6px; }
}
@media (max-width: 600px) {
  body > header .header-right { width: 100%; }
  #pc-open { display: inline-flex !important; justify-content: center; }
  #pc-importer .pc-values { grid-template-columns: 1fr; }
}
