/* GP Power Tools shares OSCELab's layout and Query components.
   Its Iris & Mineral colour tokens live in gppt_theme.css. */
.gppt-page { min-height: 100vh; }
.gppt-main { padding: 32px 28px 0; min-height: calc(100vh - 130px); }
.gppt-main:focus { outline: none; }
.gppt-skip-link { position: fixed; top: -80px; left: 16px; z-index: 200; padding: 12px 18px; border-radius: 10px; background: var(--cp-card); color: var(--accent); font-weight: 800; }
.gppt-skip-link:focus { top: 12px; }
.gppt-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; flex-shrink: 0; }
.gppt-brand__mark, .gppt-promotion__mark { display: grid; place-items: center; flex: none; width: 37px; height: 37px; border-radius: 12px; background: var(--accent); color: white; font-size: 20px; font-weight: 800; letter-spacing: -1.5px; padding-right: 2px; }
.gppt-brand__words { display: grid; gap: 2px; }
.gppt-brand__words strong { font-size: 16px; line-height: 1.2; font-weight: 800; letter-spacing: -.3px; }
.gppt-brand__words small { font-size: 11px; line-height: 1.2; color: var(--ink-mute); }
.gppt-wordmark { color: var(--ink); font-size: 21px; line-height: 1.2; font-weight: 800; letter-spacing: -.4px; }
.gppt-wordmark small { display: block; color: var(--ink-mute); margin-top: 4px; font-size: 11px; font-weight: 600; letter-spacing: 0; }
.gppt-simple-header { max-width: 1200px; margin: auto; padding: 24px 28px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.gppt-text-link { color: var(--accent); font-size: 13px; font-weight: 700; }
.gppt-page .gppt-shell { gap: 44px; grid-template-columns: 228px minmax(0, 1fr); min-height: calc(100vh - 180px); }
.gppt-sidebar { min-height: calc(100vh - 170px); }
.gppt-sidebar .app-sidebar__head { padding-left: 8px; padding-right: 2px; margin-bottom: 16px; }
.gppt-sidebar .app-sidebar__nav { gap: 6px; }
.gppt-sidebar__foot { padding: 24px 2px 0; }
.gppt-content { padding-top: 4px; }
.gppt-eyebrow { margin: 0 0 15px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.cp-page .gppt-footer { max-width: 1320px; margin: 35px auto 0; padding: 22px 28px; border-top: 1px solid var(--line); display: flex !important; flex-wrap: wrap; gap: 12px 30px; align-items: center; justify-content: flex-end; color: var(--ink-mute); font-size: 11px; }
.gppt-footer nav { display: flex; gap: 19px; }
.gppt-footer a:hover { color: var(--accent); text-decoration: underline; }
.gppt-patient-note { margin: 10px 3px 0; color: var(--ink-mute); font-size: 11.5px; line-height: 1.5; }
.gppt-page .query-retention svg { width: 14px; height: 14px; }
.gppt-page .query-section-head-actions { width: auto; margin-left: auto; }
.gppt-page .auth-page { min-height: 0; padding-block: 40px; }
.gppt-page .auth-card h1 { max-width: none; font-size: 30px; line-height: 1.2; font-weight: 800; letter-spacing: -.7px; }
.gppt-sign-in-help { font-size: 12px; color: var(--ink-mute); text-align: left; }
.gppt-sign-in-help summary { cursor: pointer; }
.gppt-sign-in-help p { margin-top: 8px; line-height: 1.6; }
.gppt-document { width: min(780px, 100%); margin: 24px auto 0; color: var(--ink-soft); font-size: 14px; line-height: 1.75; }
.gppt-document h1 { color: var(--ink); font-size: clamp(28px, 3vw, 36px); line-height: 1.2; letter-spacing: -.9px; font-weight: 800; margin: 0 0 24px; }
.gppt-document h2 { color: var(--ink); font-size: 17px; font-weight: 800; line-height: 1.4; margin: 30px 0 10px; }
.gppt-document p { margin: 12px 0; }
.gppt-document a:not(.cp-btn) { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.gppt-document table { width: 100%; border-collapse: collapse; margin: 28px 0; text-align: left; background: var(--cp-card); font-size: 13px; }
.gppt-document th, .gppt-document td { padding: 12px 16px; border-bottom: 1px solid var(--line); }
.gppt-document th { font-weight: 800; color: var(--ink); background: var(--paper-2); }
.gppt-document td:last-child, .gppt-document th:last-child { text-align: right; }
.gppt-promotion { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto 44px; align-items: center; gap: 14px; min-height: 76px; margin: 20px 0; padding: 12px 8px 12px 16px; border: 1px solid color-mix(in srgb, var(--accent) 16%, var(--paper)); border-radius: 12px; background: var(--paper); box-shadow: 0 2px 10px rgb(48 44 58 / 3%); }
.gppt-promotion[hidden] { display: none; }
.query-home.is-chatting > .gppt-promotion { display: none; }
.gppt-promotion__mark { width: 36px; height: 36px; border-radius: 10px; font-size: 20px; box-shadow: none; }
.gppt-promotion__copy h2 { font-size: 14px; line-height: 1.4; font-weight: 750; letter-spacing: -.15px; margin: 0; color: var(--ink); }
.gppt-promotion__copy > p { margin: 3px 0 0; font-size: 12px; line-height: 1.45; color: var(--ink-soft); }
.cp-page .gppt-promotion__link { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 0 14px; border-radius: 7px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; white-space: nowrap; text-decoration: none; }
.cp-page .gppt-promotion__link:hover { background: var(--accent-hover); }
.gppt-promotion__link svg { width: 15px; height: 15px; }
.gppt-promotion__dismiss { width: 44px; height: 44px; border: 0; border-radius: 8px; background: transparent; color: var(--ink-mute); display: grid; place-items: center; cursor: pointer; }
.gppt-promotion__dismiss:hover { background: var(--accent-soft); color: var(--accent); }
.gppt-promotion :is(a, button):focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.gppt-promotion__dismiss svg { width: 15px; height: 15px; }
.gppt-promotion--landing { margin: 16px 0 0; }
.gppt-product-link { margin: 0 10px 14px; padding-top: 15px; border-top: 1px solid var(--line); }
.gppt-product-link a { display: flex; align-items: baseline; gap: 9px; color: var(--accent); font-size: 12px; font-weight: 700; }
.gppt-product-link a:hover { color: var(--accent); }
.gppt-product-link small { color: var(--ink-mute); font-size: 10px; font-weight: 500; }
.gppt-review-note { width: min(1250px, calc(100% - 40px)); margin: 18px auto 30px; padding: 8px 12px; display: flex; align-items: center; gap: 20px; border: 1px dashed var(--rule); border-radius: 12px; color: var(--ink-mute); font-size: 11px; }
.gppt-review-note strong { color: var(--ink-mute); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.gppt-review-tabs { display: flex; gap: 4px; }
.gppt-review-tabs a { padding: 8px 12px; border-radius: 7px; color: var(--ink-mute); font-weight: 700; }
.gppt-review-tabs a[aria-current="page"] { color: var(--accent); background: var(--accent-soft); }
.gppt-review-tabs a:hover { color: var(--accent); }
.gppt-review-note .gppt-review-open { margin-left: auto; color: var(--accent); font-weight: 800; }
.gppt-review-shell { padding: 0 20px; min-height: 620px; }
.gppt-review-sidebar { min-height: 570px; }
.gppt-review-account { display: flex; align-items: center; gap: 10px; padding: 8px; font-size: 11px; color: var(--ink-soft); }
.gppt-review-account small { display: block; color: var(--ink-faint); margin-top: 3px; }
.gppt-review-query { width: min(780px, 100%); margin: 32px auto 0; }
.gppt-review-query > h1 { font-size: 27px; font-weight: 800; letter-spacing: -.8px; margin: 0 0 7px; }
.gppt-review-subtitle { margin: 0 0 25px; font-size: 14px; color: var(--ink-mute); }
.gppt-review-composer .query-composer-input { min-height: 102px; justify-content: space-between; align-items: flex-start; padding-top: 24px; }
.gppt-review-composer .query-composer-input > span:first-child { color: var(--ink-faint); padding-top: 4px; font-size: 14px; }
.gppt-review-composer .query-send { font-size: 24px; align-self: flex-end; }
.gppt-review-composer .query-composer-tools { padding-bottom: 12px; }
.gppt-review-privacy { display: inline-flex; align-items: center; gap: 7px; font-size: 10px; color: var(--ink-mute); margin-left: auto; }
.gppt-review-recent { margin-top: 35px; }
.gppt-review-recent > div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.gppt-review-recent h2 { margin: 0; font-size: 14px; font-weight: 800; }
.gppt-review-recent span, .gppt-review-recent > p { font-size: 12px; color: var(--ink-faint); }
.gppt-review-recent > p { padding-top: 20px; }
.gppt-review-explanation { max-width: 800px; margin: 0 auto 45px; padding: 0 20px; color: var(--ink-mute); font-size: 12px; line-height: 1.7; }
.gppt-review-explanation strong { color: var(--ink-soft); }
@media (max-width: 1023px) {
  .gppt-main { padding: 18px 20px 0; }
  .gppt-page .gppt-shell { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-content: start; padding-bottom: 0; }
  .gppt-shell .app-mobilebar { display: flex; }
  .gppt-sidebar { min-height: calc(100dvh - 48px); }
  .gppt-content { padding-top: 0; }
  .gppt-review-note { flex-wrap: wrap; gap: 8px 12px; }
}
@media (max-width: 600px) {
  .gppt-main { padding: 15px 16px 0; }
  .gppt-brand__mark { width: 32px; height: 32px; font-size: 18px; border-radius: 10px; }
  .gppt-brand__words strong { font-size: 14px; }
  .gppt-brand__words small { font-size: 10px; }
  .gppt-brand { gap: 8px; }
  .gppt-shell .app-mobilebar { gap: 9px; }
  .gppt-shell .app-mobilebar__signin { font-size: 12px; }
  .cp-page .gppt-footer { padding: 20px 16px; gap: 14px; }
  .gppt-simple-header { padding: 20px 16px 0; }
  .gppt-document { font-size: 13px; }
  .gppt-document th, .gppt-document td { padding: 11px 10px; }
  .gppt-promotion { grid-template-columns: 28px minmax(0, 1fr) 44px; padding: 10px; gap: 6px 9px; align-items: start; }
  .gppt-promotion__mark { width: 28px; height: 28px; border-radius: 8px; font-size: 16px; margin-top: 2px; }
  .gppt-promotion__copy h2 { font-size: 13px; }
  .gppt-promotion__copy > p { margin-top: 2px; font-size: 11.5px; line-height: 1.4; }
  .cp-page .gppt-promotion__link { grid-column: 2; justify-self: start; min-height: 44px; font-size: 11px; padding-inline: 12px; }
  .gppt-promotion__dismiss { grid-column: 3; grid-row: 1; }
  .gppt-review-note { width: calc(100% - 32px); margin: 12px auto 22px; padding: 8px; }
  .gppt-review-note strong { width: 100%; padding-left: 8px; }
  .gppt-review-tabs a { padding: 8px; }
  .gppt-review-note .gppt-review-open { padding-right: 4px; }
  .gppt-review-shell { min-height: 560px; padding: 0 16px; }
  .gppt-review-query { margin-top: 6px; }
  .gppt-review-composer .query-composer-input > span:first-child { font-size: 13px; }
  .gppt-review-composer .query-composer-tools { flex-wrap: wrap; }
  .gppt-review-privacy { margin: 2px 0 0; }
  .gppt-review-recent > div { flex-wrap: wrap; }
}
