#cuesta [hidden] {display:none!important}
.look-picker,.ts-presets,.ts-controls,.ts-slopes,.process-picker,.process-tools,.footer-links,.exam-forms {display:flex;gap:7px;align-items:center;flex-wrap:wrap}
.look-picker {margin:12px 0}
.look-picker a,.look-picker button,.ts-explorer button,.process-figure button {display:inline-flex;align-items:center;justify-content:center;min-height:44px;font:inherit;font-weight:650;padding:7px 13px;border:1px solid #becfc2;border-radius:5px;background:#fff;color:#294d3b;text-decoration:none}
.look-picker [aria-pressed=true],.look-picker [aria-current=true],.ts-explorer [aria-pressed=true],.process-figure [aria-pressed=true]{background:#28553f;color:#fff;border-color:#28553f}
.look-picker [aria-pressed=true]:hover,.ts-explorer [aria-pressed=true]:hover,.process-figure [aria-pressed=true]:hover{background:#214532;color:white}
.ts-explorer {max-width:900px;display:grid;grid-template-columns:minmax(0,1fr);gap:10px;padding:clamp(12px,2vw,22px);border:1px solid #cbd5c8;border-radius:8px;background:#fbfcf8;}
.ts-heading h3{margin:0;font-size:clamp(1.12rem,2vw,1.5rem)}
.ts-stage {display:block;width:100%;height:auto;touch-action:pan-y;border-radius:5px;background:#eaf1ea;cursor:grab}
.ts-stage:active{cursor:grabbing}
.ts-profile {margin:0;padding:8px 12px;background:#f1f3e9;border-radius:4px}
.ts-profile figcaption,.ts-status{font-weight:650}
.ts-caption,.terrain-source{font-size:.9rem;line-height:1.55;color:#3b5144}
.ts-heading p,.ts-caption p,.ts-caption span{margin:2px 0}
.ts-profile svg{width:100%;max-width:440px;display:block}
.terrain-source{max-width:900px;margin:10px 0}.terrain-source summary,.exam-related summary{width:fit-content;cursor:pointer;min-height:44px;padding:10px 3px;font-weight:650}
.terrain-source p{margin:4px 0;max-width:80ch}
.footer-links{justify-content:flex-end}.footer-links a{display:inline-flex;min-height:44px;align-items:center;text-underline-offset:3px}
.exam-filters{display:flex;gap:12px;flex-wrap:wrap;margin:10px 0 20px}.exam-filters label{font-weight:650}.exam-filters select{display:block;padding:7px;border:1px solid #a3b4a9;background:#fff;color:var(--ink);font:inherit;min-height:44px;border-radius:4px}
.exam-item{padding:12px 0;border-top:1px solid var(--line)}.exam-item h3{font-size:1rem}.exam-item p{max-width:75ch;margin:5px 0}.exam-forms a{display:inline-flex;align-items:center;min-height:44px;text-underline-offset:3px}.exam-item .lib-citation{display:inline-block}.exam-related{border-top:1px solid var(--line);margin-top:14px}
.process-figure{max-width:880px;border-block:1px solid var(--line);padding:14px 0}
.process-image{position:relative;max-width:720px;width:100%;overflow:hidden;aspect-ratio:420/180;line-height:0;background:#f1f2e9;margin:9px 0}
.lib-reader .process-image img{display:block;max-width:none;height:auto;margin:0}
.process-figure figcaption{text-align:left;background:none;color:var(--ink);line-height:1.6}
.process-figure figcaption p{margin:10px 0;max-width:70ch}.process-figure small{color:var(--muted)}
.process-tools a{padding:10px 3px}.process-picker button{font-size:.92rem}
.process-guide:not([hidden]){display:flex;flex-wrap:wrap;gap:5px;margin:8px 0}
.process-guide button{font-size:.875rem;overflow-wrap:anywhere}
.process-point{position:absolute;width:17px;height:17px;transform:translate(-50%,-50%);border:2px solid #fff4bf;border-radius:50%;box-shadow:0 0 0 2px #302414;pointer-events:none}
.lib-reader .form-diagram figcaption{display:block}.form-picks{display:flex;gap:6px;flex-wrap:wrap}.form-pick{display:inline-flex;align-items:center;gap:5px;min-height:44px;text-align:left;font-size:.88rem}.form-pick[aria-pressed=true]{border-color:#286147;background:#e1eddf;color:#183b2a}.form-reading{padding-top:9px;min-height:2.1em;color:#304c3c}
@media(max-width:600px){.look-picker,.ts-presets,.ts-controls,.ts-slopes,.process-picker{gap:4px}.look-picker a,.look-picker button,.ts-explorer button,.process-figure button{font-size:.89rem;padding:6px 8px}.process-picker button{flex:1 1 75px;word-break:keep-all}.footer-links{gap:3px}.ts-profile{padding:6px}.form-pick{flex:1 1 95px}}
@media(min-width:900px){
  .ts-explorer{max-width:1200px;grid-template-columns:minmax(0,1.65fr) minmax(250px,1fr);grid-template-areas:"title title" "presets presets" "picture note" "tools note";align-items:start;column-gap:22px}
  .ts-explorer[data-terrain=cuesta]{grid-template-areas:"title title" "presets presets" "picture slopes" "picture section" "picture note" "tools note"}
  .ts-heading{grid-area:title}.ts-presets{grid-area:presets}.ts-stage{grid-area:picture}.ts-controls{grid-area:tools}
  .ts-slopes{grid-area:slopes}.ts-profile{grid-area:section}.ts-caption{grid-area:note;align-self:center}
}
.film-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(182px,100%),1fr));gap:13px 15px;list-style:none;padding:0}
.film-grid a{display:block;text-decoration:none;color:var(--ink);padding-bottom:6px;border-bottom:1px solid var(--line)}
.film-grid strong{display:block;margin-top:4px}.film-thumb{display:block;overflow:hidden;aspect-ratio:420/180;background:#eef2e7}.film-thumb img{display:block;width:300%;height:auto;max-width:none;transform:translateX(-66.6667%)}
@media(max-width:600px){.film-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.film-grid strong{font-size:.94rem}}
@media(max-width:700px){
  #library .form-picks{display:grid;grid-template-columns:minmax(0,1fr);gap:4px}
  #library .form-pick{width:100%;justify-content:flex-start;text-align:left;min-height:44px;padding:5px 9px}
}
