/* Reference layout consumes the shared semantic palette. */
.control-excerpts .annotated-screen{width:fit-content;max-width:100%}.control-excerpts .image-open{width:auto;max-width:100%}.control-excerpts .image-open img{width:auto;max-width:100%}
.article-sidebar{max-height:calc(100dvh - 130px);overflow-y:auto;padding-bottom:20px}
.section-tasks a[data-current-section=true]{color:var(--accent);text-decoration:underline;text-underline-offset:4px}
.alternative-path{border-left:2px solid var(--reference);padding:13px 17px;margin:22px 0;background:var(--reference-soft)}
.alternative-path p{font-size:13px;line-height:1.8;margin:0}.alternative-path p strong{display:block;margin-bottom:5px}.alternative-path a{font-weight:650}
.alternative-path details{border:0;padding:0;margin:0}.alternative-path summary{font-size:13px;font-weight:600;line-height:1.65;cursor:pointer}.alternative-path details[open]>p{margin-top:12px}
.reference-context{border:0;border-bottom:1px solid var(--line);background:transparent;padding:0 0 25px;margin:0 0 30px}.reference-context h2{font-size:26px}.reference-context>p{font-size:13px}.reference-context>div{padding:14px 0;border-top:1px solid var(--line)}.reference-context h3{font-size:14px;margin-bottom:7px}.reference-context div p{font-size:13px;margin:0}
.reference-context>summary{font-size:13px;font-weight:600;cursor:pointer}.reference-context[open]>p{margin-top:15px}.reference-context [hidden]{display:none}
.creation-task-list{display:grid;gap:16px;padding:0!important;list-style:none;max-width:none!important}.creation-task-list>li{padding:0;margin:0}.creation-task-list .setup-task-card{grid-template-columns:25px minmax(0,1fr);height:auto}.creation-task-list .eyebrow{font-size:9px;margin-bottom:8px}.creation-task-list .text-link{display:block;margin-top:16px}
.settings-excerpts{display:grid;gap:18px;max-width:430px}.settings-excerpts .screen-figure{margin:0;max-width:350px}.reference-screen-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.reference-screen-grid .screen-figure{margin:0;min-width:0;align-self:start}.workflow-next{border-top:1px solid var(--line);margin-top:28px;padding-top:22px}
@media(max-width:650px){.reference-screen-grid{grid-template-columns:1fr}.reference-screen-grid .screen-figure{max-width:500px}}
.payment-choice-figure .screen-figure{max-width:30rem}
.reference-directory{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:24px 0}
.reference-destination{display:block;padding:24px;text-decoration:none;border-radius:7px;border:1px solid var(--card-border)}
.reference-destination h3{font:400 29px/1.2 Georgia,serif;margin:6px 0 13px}
.reference-destination p{font-size:14px;margin:0 0 15px}.reference-destination:hover h3{text-decoration:underline}
.reference-model{padding:0;list-style:none;counter-reset:piece}.reference-model li{display:grid;grid-template-columns:130px 1fr;gap:15px;border-top:1px solid var(--line);padding:16px 0}.reference-model span{font-size:14px}
.inventory-jumps{display:flex;flex-wrap:wrap;gap:8px 19px;margin:23px 0;font-size:13px}
.inventory-search{margin:24px 0 30px}.inventory-search label{display:block;font-size:13px;font-weight:600;margin-bottom:8px}.inventory-search input{width:100%;max-width:600px;padding:12px 14px;background:var(--surface);color:var(--ink);border:1px solid var(--line-strong);border-radius:4px;font:inherit;font-size:14px}.inventory-search p{font-size:12px;color:var(--subtle);margin:8px 0}
.inventory-entry{border-top:1px solid var(--line-strong);margin:0;scroll-margin-top:125px}.inventory-entry:last-child{border-bottom:1px solid var(--line-strong)}
.inventory-entry>summary{display:flex;align-items:center;gap:22px;justify-content:space-between;cursor:pointer;list-style:none;padding:20px 0}.inventory-entry>summary::-webkit-details-marker{display:none}.inventory-entry>summary strong{display:block;font-size:16px;line-height:1.5}.inventory-entry>summary span span{display:block;font-size:13px;line-height:1.7;margin-top:5px;color:var(--subtle)}.inventory-expand{color:var(--accent);font-size:23px;flex:0 0 auto}.inventory-entry[open] .inventory-expand{transform:rotate(45deg)}
.inventory-body{padding:0 0 22px}.reference-fields{margin:20px 0}.reference-fields>div{display:grid;grid-template-columns:minmax(130px,.75fr) minmax(0,2fr);gap:22px;padding:14px 0;border-bottom:1px solid var(--line)}.reference-fields dt{font-size:13px;font-weight:600;line-height:1.7}.reference-fields dd{font-size:14px;line-height:1.8;margin:0;overflow-wrap:anywhere}.reference-return{font-size:13px!important;margin-top:20px}.reference-return a{font-weight:600}.reference-list li{margin-bottom:12px}
.illustrated-step{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.9fr);gap:30px;align-items:start;margin:22px 0}.illustrated-step .screen-figure{margin:0;max-width:none}.illustrated-step li{margin-bottom:11px}.illustrated-step p,.illustrated-step li{font-size:14px}.step-reference{border-left:2px solid var(--reference);padding-left:13px;margin:20px 0;font-size:13px}.step-reference strong{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.06em;margin-bottom:6px;color:var(--reference)}
.task-checklist li{margin-bottom:13px}.task-map{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:25px 0}.task-map>div{padding:18px;border:1px solid var(--line);background:var(--surface);border-radius:5px}.task-map h3{font-size:15px;margin-bottom:10px}.task-map p{font-size:13px;margin:0}.task-map .task-map-schedule{grid-column:1/-1;border-left:3px solid var(--accent)}
.reference-notice{border-left:3px solid var(--accent);padding:5px 0 5px 18px;margin:24px 0}.reference-notice p{font-size:13px;margin:0}
@media(max-width:900px){.illustrated-step{grid-template-columns:1fr;gap:20px}.illustrated-step .screen-figure{max-width:580px}}
@media(max-width:600px){.reference-directory,.task-map{grid-template-columns:1fr}.reference-fields>div{grid-template-columns:1fr;gap:5px}.reference-model li{grid-template-columns:1fr;gap:5px}.inventory-entry>summary strong{font-size:15px}.reference-destination{padding:21px}.task-map .task-map-schedule{grid-column:auto}}
@media print{.inventory-search{display:none}.inventory-entry{break-inside:avoid}.reference-directory,.illustrated-step{display:block}.reference-destination{margin-bottom:10px}.reference-fields>div{break-inside:avoid}}

/* Nested screenshot groups must shrink with their grid track. */
.reference-screen-grid > div{min-width:0}

.csv-example, .api-example { margin:1.8rem 0; min-width:0; }
.csv-example pre, .api-example pre { max-width:100%; overflow-x:auto; background:var(--surface-raised); color:var(--ink); padding:1rem; border:1px solid var(--line); border-radius:.4rem; font-size:.85rem; line-height:1.7; }
.csv-example code, .api-example code { white-space:pre; }
.data-api-page p code { overflow-wrap:anywhere; }
.export-schema-page .reference-fields dt { overflow-wrap:anywhere; }

.study-export-menu { max-width:14rem; }

.csv-example p { overflow-wrap:anywhere; }
