.term-card[data-group=charts] .stage{background:#ebf3fc}
.term-card[data-group=access] .stage{background:#ecf4ef}
.term-card[data-group=editing] .stage{background:#f0edfa}
.term-card[data-group=media] .stage{background:#fff1e8}
.practice-demo{box-sizing:border-box;width:min(calc(100% - 20px),340px);min-width:0;margin:10px auto;padding:12px;display:grid;gap:8px;background:#fff;border:1px solid #d6deeb;border-radius:10px;color:#26354c;font:500 13px/1.45 var(--font-sans);text-align:left;box-shadow:0 3px 12px #2340640b}
.practice-demo *{box-sizing:border-box;min-width:0}
.practice-demo button,.practice-demo select,.practice-demo input{font:inherit}
.practice-demo button,.practice-demo select{background:#f1f5fc;color:#334b73;border:1px solid #ced8eb;border-radius:6px;padding:4px 8px;line-height:1.4}
.practice-demo button{min-height:30px}
.practice-demo button[aria-pressed=true]{background:#dfe8ff;border-color:#8ca6ec;color:#233f94}
.practice-demo button:disabled{opacity:.5;cursor:default}
.practice-demo :focus-visible{outline:2px solid #3158cd;outline-offset:2px}
.practice-demo input:not([type=checkbox]):not([type=radio]):not([type=range]){display:block;width:100%;border:1px solid #b9c8db;border-radius:5px;padding:4px 6px;background:white;color:#253449}
.practice-demo input[type=range]{display:block;width:100%;margin:4px 0;accent-color:#3d63ce}
.practice-demo input[type=checkbox],.practice-demo input[type=radio]{accent-color:#395cc8}
.pd-title{font-size:14px;font-weight:750;color:#23304b;letter-spacing:-.025em}
.pd-view,.practice-demo form{display:grid;gap:6px}
.pd-choices,.pd-toolbar,.pd-tags,.pd-inline,.pd-pair,.pd-labeled{display:flex;flex-wrap:wrap;align-items:center;gap:5px}
.pd-toolbar{justify-content:space-between}
.pd-choices button{font-weight:650}
.pd-caption,.practice-demo output,.practice-demo small{color:#4f607a;font-size:12px;overflow-wrap:anywhere}
.practice-demo output{display:block;line-height:1.5}
.pd-chart{display:block;width:100%;height:auto;max-height:86px;background:#f8faff;border-radius:5px}
.pd-spark,.pd-ring-row,.pd-lens-row,.pd-sprite-row{display:flex;align-items:center;justify-content:space-around;gap:9px}
.pd-spark>b{font-size:21px;white-space:nowrap}.pd-spark svg{max-width:70%}
.pd-ring-row{padding:6px 0}.pd-ring{display:grid;place-items:center;width:72px;height:72px;border-radius:50%;flex:none}
.pd-ring>b{display:grid;place-items:center;width:43px;height:43px;border-radius:50%;background:#fff}
.pd-heat{display:grid;grid-template-columns:28px repeat(5,minmax(0,1fr));gap:3px;align-items:center;text-align:center;font-size:11px}
.pd-heat b{font-size:11px}.pd-heat button{border:0;color:#203151;min-height:24px;padding:2px}
.pd-center,.pd-runway{display:grid;place-items:center;min-height:55px;background:#f0f4fb;border-radius:6px}
.practice-demo .pd-star{min-height:0;border:1px dashed #4768b0;display:grid;place-content:center;padding:0;color:#384e94;background:white;font-size:18px}
.pd-focus button:focus{outline:3px solid #3158cd;outline-offset:1px}
.pd-note,.pd-order,.pd-ticket,.pd-text,.pd-diff,.pd-swatch{padding:9px;background:#f2f5fb;border-radius:6px;margin:0}
.pd-photo,.pd-pixels{display:block;width:100%;height:78px;object-fit:cover;border-radius:5px}
.pd-status-list{display:grid;gap:3px}.pd-status-list>div{display:flex;justify-content:space-between;border-bottom:1px solid #e0e6f0}
.pd-order{display:flex;flex-wrap:wrap;gap:3px 10px}.pd-order small{width:100%}
.pd-runway{min-height:42px;background:#eaf4f0;color:#216c55}
.practice-demo .pd-check{display:inline-flex;align-items:center;gap:5px}
.pd-check small{margin-inline-start:auto}
.practice-demo [aria-invalid=true]{border-color:#b64338!important}
.pd-errors:empty{display:none}.pd-errors{display:flex;gap:6px;flex-wrap:wrap}
.pd-errors a{font-size:12px;color:#973429;text-decoration:underline}
.pd-labeled{justify-content:center;padding:12px;border:1px solid #cfd9e8;border-radius:6px}.pd-labeled label{cursor:pointer}
.practice-demo fieldset{border:1px solid #d4ddeb;border-radius:5px;padding:3px 7px;margin:0}.practice-demo legend{font-weight:bold;padding:0 4px}
.pd-ticket{border-left:4px solid #3f6595;line-height:1.3}
.pd-swatch{min-height:48px;display:grid;place-items:center;font-weight:700}
.pd-sort{display:grid;gap:4px}.pd-sort>div{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:4px}.pd-sort button{padding:1px 8px}
.pd-inline{display:flex!important}.pd-inline input{flex:1}
.pd-tags button{background:#e6edf7}
.pd-split{display:flex}.pd-split button:first-child{border-radius:6px 0 0 6px}.pd-split button+button{border-left:0;border-radius:0 6px 6px 0}
.pd-snap{position:relative;margin:6px 9px;height:48px;background:repeating-linear-gradient(90deg,#c6d3ee 0 1px,transparent 1px 10%),#f3f6fc;border-right:1px solid #c6d3ee}
.pd-snap b{position:absolute;top:15px;transform:translateX(-50%);width:18px;height:18px;background:#4365d0;border-radius:4px}
.pd-pair label{flex:1}
.pd-diff{display:grid;gap:3px}.pd-diff del{background:#ffe7e3;color:#843427}.pd-diff ins{background:#def3e6;color:#225f3c;text-decoration:none}
.practice-demo td,.practice-demo th{padding:4px;text-align:left;font-size:12px;border-bottom:1px solid #dce3ed}.practice-demo table{width:100%;border-collapse:collapse;margin:0}
.pd-fit,.pd-focal{justify-self:center;background:repeating-linear-gradient(45deg,#f7f9fd 0 4px,#e5ebf4 4px 8px);border:1px solid #d4deeb;width:105px;height:80px}
.pd-focal{width:62px;height:84px}.pd-fit img,.pd-focal img{display:block;width:100%;height:100%;object-fit:cover}
.pd-comparison,.pd-hotspot,.pd-lens-map{position:relative;overflow:hidden;border-radius:6px}
.pd-comparison{aspect-ratio:3.1/1;--split:50%}.pd-comparison img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.pd-original{filter:grayscale(.88) contrast(.84);clip-path:inset(0 calc(100% - var(--split)) 0 0)}
.pd-comparison i{position:absolute;inset-block:0;left:var(--split);width:2px;background:white;box-shadow:0 0 2px #333}
.pd-contact{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}
.practice-demo .pd-contact button{padding:3px;display:grid;gap:2px}.pd-contact img{width:100%;height:54px;object-fit:cover}
.pd-light-open{display:flex;align-items:center;gap:8px}.pd-light-open img{width:44%;border-radius:4px}.pd-lightbox{max-width:min(640px,90vw);padding:12px;border:0;border-radius:12px;color:#202d45;background:white}.pd-lightbox::backdrop{background:#15243b99}.pd-lightbox img{width:100%;display:block}.pd-lightbox div{display:flex;justify-content:space-between;align-items:center;margin-top:8px}
.pd-lens-map{flex:1}.pd-lens-map img{width:100%;display:block}.pd-lens-map i{position:absolute;top:50%;left:var(--x);width:10px;height:10px;transform:translate(-50%,-50%);border:2px solid white;border-radius:50%;box-shadow:0 0 0 1px #293d6c}
.pd-lens{width:64px;height:64px;flex:none;border:2px solid #677b9f;border-radius:50%;background-image:url(./assets/harbor-study.svg);background-size:320px 160px}
.pd-crop{position:relative;justify-self:center;height:78px;aspect-ratio:2;--crop-ratio:1}
.pd-crop img{width:100%;height:100%;display:block;object-fit:cover}.pd-crop i{position:absolute;inset-block:0;left:50%;height:100%;aspect-ratio:var(--crop-ratio);transform:translateX(-50%);border:2px dashed white;outline:1px solid #334869}
.pd-crop.applied{aspect-ratio:var(--crop-ratio)}.pd-crop.applied i{display:none}
.pd-pixels{image-rendering:pixelated}
.pd-tiles{width:100%;height:74px;justify-self:center;border:1px solid #c6daf0;background-color:#dfeff9;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='24'%3E%3Cpath d='M0 12Q12 0 24 12T48 12' fill='none' stroke='%23375d92' stroke-width='3'/%3E%3C/svg%3E");background-size:48px 24px}
.pd-tiles.single{width:50px;height:26px;align-self:center;margin:24px auto;border-style:dashed}
.pd-blur.soft{filter:blur(2px)}
.pd-moon,.pd-sheet{background-image:url(./assets/moon-frames.svg);background-repeat:no-repeat;background-color:#23365b}
.pd-moon{width:48px;height:48px;flex:none;border-radius:6px;background-size:192px 48px}.pd-sheet{position:relative;width:112px;aspect-ratio:4;background-size:100% 100%}.pd-sheet i{position:absolute;top:0;width:25%;height:100%;outline:2px solid #df9950}
.pd-hotspot{width:min(100%,190px);justify-self:center}.pd-hotspot img{display:block;width:100%}.practice-demo .pd-hotspot button{position:absolute;transform:translate(-50%,-50%);min-height:26px;width:26px;padding:0;background:#fff;border:2px solid #345ba4;color:#263e6c;border-radius:50%;font-weight:bold}
@media(prefers-reduced-motion:reduce){.practice-demo *{scroll-behavior:auto!important}}
