/* Scope to the prescription window; do not change global theme inputs/buttons. */
.feralhook-prescription {
  --grow-rx-accent: #ff1493;
  --grow-rx-text: #151318;
  --grow-rx-surface: #f8f7f9;
  --grow-rx-border: #dedbe2;
  font-family: inherit;
}

/* Optional container treatment matching FERALHOOK's lens setup area. */
.feralhook-prescription[data-framed] {
  border-top: 4px solid var(--grow-rx-accent);
  background: var(--grow-rx-surface);
  padding: 24px;
}
@media (max-width: 700px) {
  .feralhook-prescription[data-framed] { padding: 18px 14px; }
}
.feralhook-prescription,.fh-member .grow-rx {--grow-rx-accent:#ff2e85;--grow-rx-text:#170b1f;--grow-rx-surface:#f8f5f8;--grow-rx-border:#e4dee6;}
.feralhook-prescription>label {display:block;margin:0 0 16px;font-size:14px;}
.feralhook-prescription>label select,.feralhook-prescription>label input {display:block;width:100%;min-height:44px;padding:10px 12px;margin-top:6px;border:1px solid var(--grow-rx-border);border-radius:8px;background:#fff;color:inherit;font:inherit;}
.feralhook-prescription [hidden] {display:none!important;}
.fh-ocr-dialog {box-sizing:border-box;width:960px;max-width:calc(100vw - 24px);max-height:90dvh;border:1px solid #e4dee6;border-radius:16px;padding:28px;color:#170b1f;background:#fff;font-family:inherit;overflow:auto;}
.fh-ocr-dialog::backdrop {background:#170b1f99;}
.fh-ocr-dialog h2 {font-size:26px;margin:0 80px 24px 0;}
.fh-ocr-close {float:right;border:1px solid #e4dee6;border-radius:24px;padding:10px 18px;background:white;color:#170b1f;font:inherit;cursor:pointer;}
.fh-ocr-help {font-size:13px;line-height:1.6;color:#625969;margin:20px 0;}
.fh-ocr-help a {color:#a00043;text-decoration:underline;}
.feralhook-prescription .grow-rx-primary,.fh-member .grow-rx-primary {color:#170b1f;border-radius:24px;}
.fh-scan-modal__dialog:has([data-fh-ocr-host]) {width:960px;max-width:calc(100vw - 24px);}
@media(max-width:700px){.fh-ocr-dialog{padding:20px 14px;}.fh-ocr-dialog h2{font-size:22px;}.feralhook-prescription>label select,.feralhook-prescription>label input{font-size:16px;}}
.fh-ocr-dialog {font-family:"Space Grotesk",sans-serif;}
.fh-ocr-dialog h2,.feralhook-prescription .grow-rx-title {font-family:Syne,sans-serif;}

.feralhook-prescription .grow-rx-original {margin:12px 0 24px;padding:20px;background:#fff1f7;border:1px solid #f5c7da;border-radius:14px;}
.feralhook-prescription .grow-rx-original .grow-rx-copy {color:#4b3544;margin-bottom:14px;}
.feralhook-prescription .grow-rx-original .grow-rx-primary {width:100%;}
.fh-ocr-later {margin-top:24px;padding-top:18px;border-top:1px solid #e4dee6;font-family:"Space Grotesk",sans-serif;}
.fh-ocr-later button {background:transparent;color:#a00043;border:0;padding:8px 0;font:inherit;font-weight:600;min-height:44px;text-decoration:underline;text-underline-offset:4px;cursor:pointer;}
.fh-ocr-later p {color:#625969;font-size:13px;line-height:1.6;margin:4px 0 0;}
