/* Owner-only floating library: never visible until the existing hidden entry opens it. */
.gz-tool-page .cv-stamp-panel {
  width: 360px;
  height: 660px;
  max-width: calc(100% - 16px);
  max-height: calc(100dvh - 24px);
  overflow-y: auto;
}
.cv-stamp-panel > * { flex-shrink: 0; }
.cv-stamp-panel .cv-stamp-grid { flex: 1 0 120px; min-height: 120px; max-height: 240px; }
.cv-stamp-manager { font-size: 12px; border-top: 1px solid #e4e4ea; padding-top: 8px; }
.cv-stamp-manager summary { cursor: pointer; font-weight: 700; min-height: 30px; }
.cv-stamp-manager > div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cv-stamp-manager label { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cv-stamp-manager label:first-child, .cv-stamp-manager p, .cv-stamp-manager button,
.cv-stamp-manager > div > select { grid-column: 1 / -1; }
.cv-stamp-manager input, .cv-stamp-manager select { width: 100%; min-width: 0; padding: 7px; border: 1px solid #bbc2cd; border-radius: 6px; background: #fff; color: #252a33; font: inherit; }
.cv-stamp-manager button, .cv-stamp-confirm button { padding: 9px; border: 1px solid #bbc2cd; border-radius: 6px; background: #f5f7fa; color: #252a33; font: inherit; cursor: pointer; }
.cv-stamp-manager p, .cv-stamp-status { font-size: 11px; line-height: 1.6; color: #626b7b; margin: 4px 0; }
.cv-stamp-panel button:disabled { opacity: .5; cursor: wait; }
.cv-stamp-confirm { max-width: min(420px, calc(100vw - 32px)); border: 1px solid #bbc2cd; border-radius: 12px; padding: 22px; color: #252a33; background: #fff; }
.cv-stamp-confirm::backdrop { background: rgb(0 0 0 / .4); }
.cv-stamp-confirm p { line-height: 1.7; }
.cv-stamp-confirm button { margin: 8px 8px 0 0; }
@media (max-width: 700px) {
  .cv-crumb-doc { display: inline; }
  .gz-tool-page .cv-stamp-panel { left: 8px !important; top: 12px !important; width: calc(100% - 16px) !important; }
  .cv-stamp-manager input, .cv-stamp-manager select { font-size: 16px; }
}
