/* Global Pharma Permit Library — page-scoped additions loaded after professional-guide.css. */
.global-pharma { color: var(--ink); font-size: 16px; }
.global-pharma p { font-size: 16px; line-height: 1.95; }
.global-pharma h2 { color: var(--navy); }
.gp-library-intro { padding-bottom: 58px; background: linear-gradient(180deg, #f7f8fa 0%, #fff 100%); }
.gp-library-intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 74px; align-items: end; }
.gp-library-lede { max-width: 790px; }
.gp-library-lede h2 { max-width: 690px; margin: 0 0 19px; font-size: 35px; line-height: 1.5; }
.gp-library-lede > p { margin: 0; color: #526b7b; }
.gp-library-disclaimer { margin-top: 18px !important; padding: 15px 18px; border-left: 3px solid var(--gold); border-radius: 0 8px 8px 0; background: #f7f3ea; color: #675536 !important; font-size: 14px !important; line-height: 1.85 !important; }
.gp-library-stats { display: grid; grid-template-columns: 1fr; margin: 0; border-top: 3px solid var(--gold); border-bottom: 1px solid #d8e0e5; background: #fff; }
.gp-library-stats > div { padding: 22px 4px; border-bottom: 1px solid #e4eaee; }
.gp-library-stats > div:last-child { border-bottom: 0; }
.gp-library-stats dt { margin-bottom: 7px; color: #748794; font-size: 12px; letter-spacing: .04em; }
.gp-library-stats dd { display: flex; align-items: baseline; gap: 10px; margin: 0; color: #8b6f42; }
.gp-library-stats strong { color: var(--navy); font: 600 36px/1 Manrope, var(--sans); letter-spacing: -.05em; }
.gp-library-stats span { color: #607482; font-size: 12px; }
.gp-visual-strip { display: flex; gap: 8px; position: relative; height: 148px; margin: 48px 0 0; overflow: hidden; border-radius: 8px; background: var(--navy); }
.gp-visual-strip img { width: 100%; min-width: 0; flex: 1; height: 100%; object-fit: cover; }
.gp-visual-strip figcaption { position: absolute; right: 0; bottom: 0; left: 0; margin: 0; padding: 10px 16px; color: #eef3f5; background: linear-gradient(0deg, rgba(11, 32, 51, .82), transparent); font-size: 11px; line-height: 1.65; }
.gp-directory-section { padding-top: 72px; }
.gp-directory-heading { margin-bottom: 32px; }
.gp-directory-heading > p { max-width: 376px; color: #6a7e8c; line-height: 1.9; }
.gp-directory-tools { border-top: 1px solid #dce5eb; border-bottom: 1px solid #dce5eb; padding: 23px 0 19px; margin-bottom: 26px; }
.gp-search { display: grid; grid-template-columns: 132px minmax(0, 1fr); align-items: center; gap: 20px; }
.gp-search label, .gp-filter-label { color: #425f71; font-size: 13px; font-weight: 700; }
.gp-search-control { position: relative; }
.gp-search input { display: block; width: 100%; min-height: 46px; padding: 11px 88px 11px 14px; border: 1px solid #c9d6de; border-radius: 8px; outline: 0; color: var(--navy); background: #fff; font-size: 15px; }
.gp-search input::placeholder { color: #91a0aa; }
.gp-search input:focus { border-color: #5b849e; box-shadow: 0 0 0 3px #dcebf3; }
.gp-clear-search { position: absolute; top: 50%; right: 7px; min-height: 32px; transform: translateY(-50%); padding: 5px 10px; border: 0; border-radius: 5px; color: #536f80; background: #edf3f6; font-size: 12px; }
.gp-clear-search:hover { color: var(--navy); background: var(--gold-light); }
.gp-region-filter { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 20px; align-items: start; margin-top: 19px; }
.gp-filter-label { padding-top: 10px; }
.gp-filter-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.gp-filter-buttons button { min-height: 44px; padding: 8px 14px; border: 1px solid #d2dde3; border-radius: 8px; color: #526e80; background: #fff; font-size: 13px; line-height: 1.5; }
.gp-filter-buttons button:hover, .gp-filter-buttons button.is-active { border-color: #c5a16b; color: var(--navy); background: #f7f1e6; }
.gp-result-count { margin: 16px 0 0 152px !important; color: #748591; font-size: 13px !important; line-height: 1.75 !important; }
.gp-country-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #dce5eb; border-left: 1px solid #dce5eb; }
.gp-country-row { display: grid; grid-template-columns: 30px minmax(0, 1fr); grid-template-areas: 'order name' 'order region' 'order status'; row-gap: 2px; min-height: 126px; padding: 22px 20px; border-right: 1px solid #dce5eb; border-bottom: 1px solid #dce5eb; background: #fff; }
.gp-country-row.is-published { transition: background .18s ease, box-shadow .18s ease; }
.gp-country-row.is-published:hover { position: relative; z-index: 1; background: #f8f5ef; box-shadow: inset 0 3px 0 var(--gold); }
.gp-country-row.is-pending { background: #fbfcfc; }
.gp-country-order { grid-area: order; color: #ae8e5b; font: 600 12px/1.8 Manrope, var(--sans); }
.gp-country-name { grid-area: name; min-width: 0; }
.gp-country-name strong { display: block; color: #173247; font-size: 16px; line-height: 1.6; font-weight: 700; }
.gp-country-name small { display: block; overflow-wrap: anywhere; color: #758895; font: 11px/1.65 Manrope, var(--sans); letter-spacing: .02em; }
.gp-country-region { grid-area: region; color: #8b7045; font-size: 11px; line-height: 1.6; }
.gp-country-status { grid-area: status; display: flex; gap: 8px; align-items: center; margin-top: 5px; color: #587286; font-size: 11px; line-height: 1.6; }
.gp-country-status b { color: #af8b51; font-size: 17px; font-weight: 400; }
.gp-country-status em { color: #8b98a1; font-size: 10px; font-style: normal; }
.gp-country-row[hidden] { display: none !important; }
.gp-no-results { margin: 24px 0 0 !important; padding: 18px 20px; border-left: 3px solid var(--gold); border-radius: 0 8px 8px 0; color: #596f7d; background: #f7f8fa; }
.gp-noscript-note { margin: 18px 0 0 !important; color: #6e7e88; font-size: 13px !important; }
.gp-country-intro { padding-bottom: 33px; border-bottom: 1px solid #e1e8ec; }
.gp-country-kicker { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 25px; color: #738793; font-size: 12px; line-height: 1.7; }
.gp-country-kicker a { color: #4f7188; text-decoration: underline; text-underline-offset: 3px; }
.gp-country-title-row { display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.gp-country-title-row .eyebrow { margin-bottom: 12px; }
.gp-country-title-row h2 { margin: 0; font-size: 34px; line-height: 1.45; }
.gp-country-title-row h2 small { display: inline; margin-left: 14px; color: #79909e; font: 500 16px/1.5 Manrope, var(--sans); letter-spacing: .02em; }
.gp-reviewed-state { flex: 0 0 auto; display: flex; flex-direction: column; gap: 5px; margin: 0 !important; padding: 3px 0 4px 22px; border-left: 1px solid #d7e1e6; color: #788b96; font-size: 11px !important; line-height: 1.6 !important; }
.gp-reviewed-state strong { color: #273f50; font: 600 14px/1.5 Manrope, var(--sans); }
.gp-country-summary { max-width: 900px; margin: 22px 0 0 !important; color: #435d6e; font-size: 17px !important; }
.gp-country-boundary { max-width: 900px; margin: 14px 0 0 !important; color: #788a95; font-size: 13px !important; line-height: 1.85 !important; }
.gp-country-intro .guide-author { max-width: 900px; }
.gp-country-reading-section { padding-top: 44px; }
.gp-country-reading-section .guide-reading { margin-top: 0; }
.gp-country-source-index { max-width: 820px; margin-left: auto; margin-right: auto; }
.gp-local-mock-notice { padding-block: 18px; background: #f8f2e8; border-bottom: 1px solid #e5d6bb; }
.gp-local-mock-notice p { margin: 0; color: #785a2c; font-size: 13px !important; line-height: 1.8 !important; }
.gp-country-unavailable { min-height: 410px; display: flex; align-items: center; background: linear-gradient(120deg, #f7f8fa, #fff); }
.gp-unavailable-copy { max-width: 780px; padding: 26px 0; }
.gp-unavailable-copy h2 { margin-bottom: 18px; font-size: 35px; }
.gp-unavailable-copy p { max-width: 720px; color: #5b7180; }
.gp-unavailable-copy .btn { margin-top: 10px; min-height: 46px; }
.gp-missing-reading { max-width: 820px; margin: 0 auto; padding: 28px; border: 1px solid #dde5e9; border-radius: 8px; background: #f8fafb; }
.gp-missing-reading h2 { margin-bottom: 12px; font-size: 24px; }
.gp-missing-reading p { margin: 0; color: #637987; }
@media (max-width: 1100px) {
  .gp-library-intro-grid { grid-template-columns: minmax(0, 1fr) 285px; gap: 42px; }
  .gp-country-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gp-country-title-row h2 { font-size: 31px; }
}
@media (max-width: 900px) {
  .gp-library-intro { padding-bottom: 46px; }
  .gp-library-intro-grid { grid-template-columns: 1fr; gap: 30px; }
  .gp-library-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 0; }
  .gp-library-stats > div { border-right: 1px solid #e4eaee; border-bottom: 0; padding: 19px 16px; }
  .gp-library-stats > div:last-child { border-right: 0; }
  .gp-visual-strip { height: 126px; margin-top: 34px; }
  .gp-directory-section { padding-top: 58px; }
  .gp-country-title-row { align-items: start; }
  .gp-country-reading-section { padding-top: 35px; }
}
@media (max-width: 767px) {
  .global-pharma { font-size: 16px; }
  .global-pharma p { font-size: 16px; }
  .gp-library-intro { padding-top: 46px; padding-bottom: 36px; }
  .gp-library-lede h2 { font-size: 27px; line-height: 1.58; }
  .gp-library-disclaimer { padding: 14px 15px; font-size: 13px !important; }
  .gp-library-stats strong { font-size: 31px; }
  .gp-library-stats span { font-size: 11px; }
  .gp-visual-strip { height: 112px; margin-top: 28px; }
  .gp-visual-strip img:nth-of-type(n+3) { display: none; }
  .gp-visual-strip figcaption { padding: 8px 12px; font-size: 10px; }
  .gp-directory-section { padding-top: 45px; }
  .gp-directory-heading { margin-bottom: 24px; }
  .gp-directory-heading h2 { font-size: 27px; }
  .gp-search, .gp-region-filter { grid-template-columns: 1fr; gap: 9px; }
  .gp-region-filter { margin-top: 17px; }
  .gp-filter-label { padding-top: 0; }
  .gp-filter-buttons { gap: 7px; }
  .gp-filter-buttons button { min-height: 44px; padding-inline: 12px; font-size: 12px; }
  .gp-result-count { margin-left: 0 !important; font-size: 12px !important; }
  .gp-country-list { grid-template-columns: 1fr; }
  .gp-country-row { min-height: 112px; padding: 18px 16px; }
  .gp-country-name strong { font-size: 16px; }
  .gp-country-status { margin-top: 3px; }
  .gp-country-intro { padding-top: 34px; padding-bottom: 25px; }
  .gp-country-kicker { margin-bottom: 19px; font-size: 11px; }
  .gp-country-title-row { display: block; }
  .gp-country-title-row h2 { font-size: 28px; line-height: 1.55; }
  .gp-country-title-row h2 small { display: block; margin: 4px 0 0; font-size: 14px; }
  .gp-reviewed-state { display: flex; flex-direction: row; gap: 11px; margin-top: 15px !important; padding: 0; border-left: 0; }
  .gp-reviewed-state strong { font-size: 12px; }
  .gp-country-summary { margin-top: 17px !important; font-size: 16px !important; }
  .gp-country-boundary { font-size: 12px !important; }
  .gp-country-reading-section { padding-top: 29px; }
  .gp-country-unavailable { min-height: 340px; }
  .gp-unavailable-copy h2 { font-size: 28px; }
  .gp-unavailable-copy .btn { width: 100%; }
  .gp-missing-reading { padding: 22px 19px; }
  .gp-missing-reading h2 { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .gp-country-row.is-published { transition: none; }
}
