/* Focused consent and saved-request checkout share the studio's visual language. */
.portal-header.policy-header { display: flex; justify-content: space-between; padding-top: 20px; padding-bottom: 20px; }
.studio-main.policy-main { max-width: 720px; padding: 48px 40px 64px; }
.consent-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 32px; }
.consent-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: #f0f6df; color: #446128; margin-bottom: 22px; }
.consent-card h1 { font-size: 32px; line-height: 1.2; font-weight: 600; letter-spacing: -1px; margin: 0 0 14px; }
.consent-intro { font-size: 15px; line-height: 1.6; color: #62685d; margin: 0 0 24px; }
.consent-check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; margin: 14px 0; align-items: start; }
.consent-check input { appearance: auto; width: 21px; height: 21px; margin: 11px 0 0; accent-color: var(--blue); cursor: pointer; }
.consent-check label { display: flex; align-items: center; min-height: 44px; font-size: 16px; line-height: 1.5; cursor: pointer; padding: 8px 0; }
.consent-check input:focus-visible { outline: 3px solid #adb6ff; outline-offset: 3px; }
.consent-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.consent-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.consent-optional { border: 1px solid var(--line); border-radius: 14px; background: #f8f9f4; padding: 20px; margin: 24px 0; }
.consent-section-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; }
.consent-section-heading h2 { font-size: 16px; line-height: 1.5; margin: 0; font-weight: 600; flex: 1; }
.consent-section-heading > span { font-size: 12px; color: #62685d; border: 1px solid var(--line); border-radius: 20px; padding: 3px 9px; }
.consent-optional .consent-check { margin-bottom: 14px; }
.consent-note, .flow-note { font-size: 14px; line-height: 1.6; color: #62685d; margin: 14px 0; }
.consent-note { margin-bottom: 0; }
.consent-submit, .flow-primary { width: 100%; justify-content: center; min-height: 52px; margin-top: 8px; }
.consent-submit:disabled, .flow-primary:disabled { opacity: .55; cursor: wait; }
.flow-primary:disabled { cursor: not-allowed; }
.flow-error { color: #a13527; font-size: 14px; line-height: 1.6; }
.wallet-entry { border: 1px solid var(--line); border-radius: 24px; padding: 8px 12px; font-size: 12px; }
.wallet-marker { color: var(--blue); font-size: 17px; }
.funds-summary { display: flex; flex-wrap: wrap; gap: 20px 36px; padding: 22px 26px; background: #fff; border: 1px solid var(--line); border-radius: 16px; margin: 0 0 24px; }
.funds-summary > div { display: grid; gap: 5px; }
.funds-label { color: #62685d; font-size: 12px; }
.funds-summary strong { font-size: 23px; line-height: 1.25; font-weight: 600; }
.funds-summary.funds-summary-compact { align-items: center; gap: 10px 24px; padding: 12px 16px; margin-bottom: 16px; border-radius: 12px; background: #eeefe8; border-color: transparent; }
.funds-summary-compact > div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.funds-summary.funds-summary-compact strong { font-size: 15px; }
.funds-details { display: grid; place-items: center; width: 44px; height: 44px; flex: none; margin: -4px -4px -4px auto; border-radius: 9px; color: var(--blue); }
.funds-details:hover { background: #e3e6d9; }
.funds-details:focus-visible, .wallet-entry:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.studio-main.requests-main { max-width: 1140px; }
.requests-main .page-heading { margin-top: 12px; }
.requests-main .page-heading h1 { font-size: 36px; letter-spacing: -1.3px; }
.request-review-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.request-review-grid .studio-panel { padding: 26px; border-radius: 18px; min-width: 0; }
.request-review-grid h2, .request-list h2 { font-size: 22px; font-weight: 600; line-height: 1.3; margin: 0 0 20px; }
.request-tag { display: flex; gap: 7px; align-items: center; color: #62685d; font-size: 12px; margin-bottom: 20px; }
.request-tag svg { width: 16px; height: 16px; }
.request-prompt { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 16px; line-height: 1.6; margin: 18px 0; }
.request-images { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.request-images img, .request-image-missing { width: 100%; height: 160px; object-fit: contain; background: #f4f5ee; border-radius: 10px; }
.request-images figure { margin: 0; min-width: 0; }
.request-images figcaption { font-size: 12px; color: #62685d; overflow-wrap: anywhere; margin: 6px 0 12px; }
.request-materials input[type=file] { max-width: 100%; display: block; font-size: 14px; margin: 16px 0; }
.funding-options { margin: 0; padding: 0; border: 0; min-width: 0; }
.funding-options legend { font-size: 14px; margin: 14px 0 10px; }
.funding-option { display: flex; align-items: flex-start; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; cursor: pointer; }
.funding-option:has(input:checked) { border-color: var(--blue); background: #f3f4ff; }
.funding-option input { appearance: auto; width: 20px; height: 20px; flex: none; margin: 2px 0; accent-color: var(--blue); }
.funding-option strong { display: block; font-size: 18px; font-weight: 600; line-height: 1.4; }
.funding-option span span { display: block; font-size: 13px; line-height: 1.6; margin-top: 5px; }
.funding-option:focus-within { outline: 2px solid #adb6ff; outline-offset: 2px; }
.request-list { margin: 32px 0; }
.request-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; color: var(--ink); border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.request-row strong { font-size: 15px; display: block; }
.request-row span, .request-row div > span { font-size: 13px; line-height: 1.6; }
.request-row div > span { color: #62685d; display: block; margin-top: 6px; }
.request-row svg { flex: none; }
.credit-history { list-style: none; padding: 0; }
.credit-history li { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.credit-history strong { margin-left: auto; }
.screenshot-workspace .flow-note { margin-bottom: 0; }
.screenshot-workspace [hidden] { display: none; }
@media (max-width: 1100px) { .portal-nav { flex-wrap: wrap; } .wallet-entry { order: 4; } }
@media (max-width: 760px) { .request-review-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 650px) {
  .portal-header.policy-header { padding: 16px 20px; gap: 12px; }
  .policy-header .studio-brand { font-size: 24px; }
  .studio-main.policy-main { padding: 24px 16px 40px; }
  .consent-card { padding: 22px 20px; border-radius: 20px; }
  .consent-card h1 { font-size: 27px; }
  .consent-optional { padding: 16px; margin: 20px -4px; }
  .consent-check label { font-size: 15px; }
  .requests-main .page-heading h1 { font-size: 29px; }
  .funds-summary { padding: 20px; gap: 20px; }
  .funds-summary strong { font-size: 21px; }
  .request-review-grid .studio-panel { padding: 20px; }
  .wallet-entry { margin-left: 0; order: 4; font-size: 12px; }
}
