/* Hallmark v2 · modern-minimal · Hook Radio system · signature: question, actual call, and answer fields */
/* Critique: make the request trace the only framed hero element; use an index for the actual work. */
:root {
    --pd-ink: #142027;
    --pd-muted: #52646b;
    --pd-dark: #121a20;
    --pd-paper: #fff;
    --pd-bg: #f4f7f8;
    --pd-line: #d9e1e4;
    --pd-strong-line: #85969d;
    --pd-link: #086471;
    --pd-signal: #e3f3f3;
    --pd-dark-line: #40535b;
    --pd-dark-muted: #b9cdd2;
    --pd-code: ui-monospace, Consolas, monospace;
    --pd-gutter: clamp(20px, 4vw, 48px);
    --pd-section-space: clamp(36px, 5vw, 64px);
}
html:has(.pd), body:has(.pd) { overflow-x: clip; }
.pd { background: var(--pd-bg); color: var(--pd-ink); }
.pd :is(a, button, input, select, summary, pre):focus-visible { outline: 2px solid var(--pd-link); outline-offset: 3px; }
.pd [hidden] { display: none !important; }
.pd h1, .pd h2, .pd h3 { text-wrap: balance; overflow-wrap: break-word; min-width: 0; }
.pd a:not(.button) { color: var(--pd-link); text-underline-offset: .24em; }
.pd a:not(.button):hover { text-decoration: underline; }
.pd :is(a, button):active { opacity: .78; }
.pd :is(a, button, summary) { touch-action: manipulation; }
.pd-shell { width: min(1200px, calc(100% - var(--pd-gutter) * 2)); margin-inline: auto; }
.pd-hero { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.86fr); align-items: center; gap: clamp(28px,6vw,88px); padding-block: clamp(36px,6vw,84px); }
.pd-hero h1 { margin: 0 0 16px; font-size: clamp(36px,4.8vw,68px); line-height: 1.14; letter-spacing: -.043em; }
.pd-hero p, .pd-ref-head p { max-width: 38rem; margin: 0 0 24px; color: var(--pd-muted); font-size: 16px; line-height: 1.7; }
.pd-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pd-actions .button { justify-content: center; min-height: 44px; }
.pd-trace { border-radius: 8px; background: var(--pd-dark); color: var(--pd-paper); padding: clamp(16px,3vw,32px); }
.pd-trace > div { display: grid; gap: 8px; padding: 16px 0; }
.pd-trace > div:first-child { padding-block-start: 0; }
.pd-trace > div:last-child { padding-block-end: 0; }
.pd-trace > div + div { border-top: 1px solid var(--pd-dark-line); }
.pd-trace span { color: var(--pd-dark-muted); font-size: 13px; }
.pd-trace strong { font-weight: 500; font-size: 16px; line-height: 1.5; }
.pd-trace code { font: 13px/1.55 var(--pd-code); color: var(--pd-signal); overflow-wrap: anywhere; }
.pd-section { border-top: 1px solid var(--pd-line); padding-block: var(--pd-section-space); scroll-margin-top: 84px; }
.pd-section h2 { font-size: clamp(24px,2.5vw,32px); line-height: 1.3; margin: 0 0 16px; letter-spacing: -.028em; }
.pd-section > p { margin: 0 0 20px; line-height: 1.7; color: var(--pd-muted); }
.pd-section-lead { max-width: 42rem; }
.pd-section .pd-environment { font-size: 14px; margin-bottom: 24px; }
.pd-connect-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; align-items: stretch; scroll-margin-top: 84px; }
.pd-connect-grid article { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: clamp(16px,2.2vw,28px); background: var(--pd-paper); border: 1px solid var(--pd-line); border-radius: 8px; }
.pd-connect-grid h3 { font-size: 19px; line-height: 1.35; margin: 0; }
.pd-connect-grid p { margin: 0 0 auto; color: var(--pd-muted); line-height: 1.65; }
.pd-connect-grid .button { align-self: start; white-space: normal; text-align: left; min-height: 44px; padding: 8px 12px; }
.pd-connect-grid code { font: 12px/1.6 var(--pd-code); overflow-wrap: anywhere; color: var(--pd-muted); }
.pd-inline-link { align-self: start; display: inline-flex; align-items: center; min-height: 44px; }
.pd-section-head { display: flex; gap: 16px; justify-content: space-between; align-items: baseline; flex-wrap: wrap; }
.pd-rules dd { color: var(--pd-muted); line-height: 1.68; }
.pd-section-head a { display: inline-flex; align-items: center; min-height: 44px; }
.pd-examples, .pd-index-list, .pd-fields { padding: 0; margin: 0; list-style: none; }
.pd-examples li { border-bottom: 1px solid var(--pd-line); }
.pd-examples a { display: flex; gap: 8px 16px; justify-content: space-between; align-items: baseline; flex-wrap: wrap; min-height: 50px; padding: 16px 0; }
.pd-examples code { color: var(--pd-muted); font: 13px var(--pd-code); overflow-wrap: anywhere; }
.pd-rules { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 28px; max-width: 62rem; margin: 0 0 24px; }
.pd-rules dt { font-weight: 500; }
.pd-rules dd { margin: 8px 0 0; }
.pd-reference { padding-bottom: 76px; }
.pd-ref-head { padding-block: 28px 24px; display: flex; gap: 16px; justify-content: space-between; align-items: end; flex-wrap: wrap; }
.pd-ref-head h1 { margin: 0 0 8px; font-size: clamp(30px,4vw,50px); line-height: 1.16; letter-spacing: -.035em; }
.pd-ref-head p { margin: 0; }
.pd-workbench { display: grid; grid-template-columns: minmax(0,290px) minmax(0,1fr); gap: 40px; align-items: start; border-top: 1px solid var(--pd-line); padding-top: 36px; }
.pd-index { position: sticky; top: 84px; min-width: 0; }
.pd-index summary { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; font-weight: 500; cursor: pointer; }
.pd-index summary::after { content: ""; width: 8px; height: 8px; margin-inline-start: auto; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.pd-index[open] summary::after { transform: rotate(225deg); }
.pd-index summary small { font-size: 13px; font-weight: 500; color: var(--pd-muted); }
.pd-index-content { padding-top: 12px; }
.pd-index [data-api-search] p { color: var(--pd-muted); font-size: 13px; margin: 8px 0; }
.pd-index-list { position: relative; max-height: min(510px,calc(100dvh - 255px)); min-height: 120px; overflow: auto; overscroll-behavior: contain; border-bottom: 1px solid var(--pd-line); }
.pd-index-list a { display: grid; gap: 4px; padding: 12px; border-left: 2px solid transparent; min-height: 48px; line-height: 1.35; text-decoration: none; overflow-wrap: anywhere; }
.pd-index-list a[aria-current] { background: var(--pd-signal); border-color: var(--pd-link); }
.pd-index-list a:focus-visible { outline-offset: -3px; }
.pd-index-list strong { font-size: 14px; font-weight: 500; color: var(--pd-ink); }
.pd-index-list small { font: 12px/1.4 var(--pd-code); color: var(--pd-muted); }
.pd-operation { padding: clamp(16px,3vw,36px); background: var(--pd-paper); border: 1px solid var(--pd-line); border-radius: 8px; min-width: 0; scroll-margin-top: 84px; }
.pd-operation > header h2 { margin: 0; font-size: clamp(22px,3vw,33px); line-height: 1.18; }
.pd-operation > header a { display: inline-flex; align-items: center; min-height: 44px; }
.pd-operation p { color: var(--pd-muted); line-height: 1.67; margin: 8px 0 12px; }
.pd-route { display: flex; align-items: baseline; gap: 8px; overflow-wrap: anywhere; }
.pd-route span { flex: none; white-space: nowrap; font-weight: 500; color: var(--pd-link); }
.pd-route code { font-family: var(--pd-code); }
.pd-notice { background: var(--pd-signal); padding: 12px; border-radius: 5px; }
.pd-operation-block { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--pd-line); }
.pd-operation-block h3 { margin: 0 0 12px; font-size: 19px; }
.pd-code { border-radius: 6px; background: var(--pd-bg); padding: 16px; }
.pd-code pre, .pd-response pre { margin: 12px 0 0; font: 13px/1.55 var(--pd-code); white-space: pre-wrap; overflow-wrap: anywhere; }
.pd-response pre { max-height: 380px; overflow: auto; padding: 12px; background: var(--pd-bg); border-radius: 6px; }
.pd-response [role="status"] { font-weight: 500; }
.pd-field label, .pd-index label { display: block; margin: 0 0 4px; font-weight: 500; font-size: 14px; overflow-wrap: anywhere; }
.pd :is(input,select) { width: 100%; min-width: 0; min-height: 44px; border: 1px solid var(--pd-strong-line); border-radius: 5px; padding: 8px 12px; font: inherit; font-size: 16px; color: var(--pd-ink); background: var(--pd-paper); }
.pd input::placeholder { color: var(--pd-muted); }
.pd-field small { display: block; color: var(--pd-muted); margin-top: 4px; overflow-wrap: anywhere; }
.pd-parameters { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 16px 0; }
.pd-request button:disabled { opacity: .6; cursor: not-allowed; }
.pd-operation-block summary { cursor: pointer; min-height: 44px; padding: 12px 0; }
.pd-fields { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; overflow-wrap: anywhere; }
@media (max-width: 780px) {
    .pd-hero, .pd-connect-grid, .pd-rules, .pd-workbench { grid-template-columns: minmax(0,1fr); }
    .pd-hero { gap: 24px; }
    .pd-hero h1 { font-size: clamp(34px,7vw,48px); }
    .pd-trace > div { gap: 4px; padding-block: 12px; }
    .pd-ref-head { padding-block: 16px 20px; }
    .pd-workbench { gap: 16px; padding-top: 16px; }
    .pd-index { position: static; border: 1px solid var(--pd-line); border-radius: 6px; background: var(--pd-paper); }
    .pd-index-content { padding: 0 12px 12px; }
    .pd-index-list { max-height: 200px; min-height: 0; }
}
@media (max-width: 430px) {
    .pd-parameters { grid-template-columns: minmax(0,1fr); }
    .pd-reference { padding-bottom: 48px; }
    .pd-ref-head > .button { padding-inline: 12px; }
}

/* Question groups explain the query before sending readers to API parameters. */
.pd-question-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;margin-top:32px}
.pd-question-group{min-width:0;padding:28px;border:1px solid var(--pd-line);border-radius:12px;background:var(--radio-card,#f7efe3)}
.pd-question-group h3{margin:0 0 12px;font-size:20px;line-height:1.5}
.pd-question-group>p{margin:0 0 24px;color:var(--pd-muted);line-height:1.8}
.pd-question-group .pd-examples li{border-bottom:0}
.pd-question-group .pd-examples li+li{margin-top:12px}
.pd-question-group .pd-examples a{display:block;padding:8px 0;min-height:44px;line-height:1.8;text-underline-offset:5px}
.pd-question-help{margin-top:32px!important;line-height:1.8}
@media(max-width:767px){.pd-question-grid{grid-template-columns:1fr;gap:24px}.pd-question-group{padding:24px}}
