/* SWD Explore — items beside a visual that shows where each one lives. */
.swd-explore .ex { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.swd-explore .ex__list { display: grid; gap: 8px; }
.swd-explore .ex__list button { display: block; width: 100%; margin: 0; padding: 22px 24px; border: 0; border-radius: 18px; background: transparent; box-shadow: inset 0 0 0 1px var(--edge); color: #fff; text-align: left; text-transform: none; letter-spacing: inherit; cursor: pointer; transition: background .25s, box-shadow .25s; }
.swd-explore .ex__list button:hover { background: rgba(255,255,255,.03); }
.swd-explore .ex__list b { display: block; font-size: 20px; font-weight: 500; letter-spacing: -.02em; }
.swd-explore .ex__list button span { display: block; max-height: 0; overflow: hidden; color: var(--muted); font-size: 16px; font-weight: 400; line-height: 1.5; white-space: normal; transition: max-height .35s ease, margin .35s; }
.swd-explore .ex__list [aria-selected="true"] { background: var(--card); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16), inset 3px 0 0 var(--a, var(--acc)); }
.swd-explore .ex__list [aria-selected="true"] span { max-height: 160px; margin-top: 8px; }
.swd-explore .ex__imgs { position: sticky; top: 110px; display: grid; }
.swd-explore .ex__img { grid-area: 1 / 1; overflow: hidden; border-radius: 22px; opacity: 0; transition: opacity .4s; box-shadow: inset 0 0 0 1px var(--edge); }
.swd-explore .ex__img.on { opacity: 1; }
.swd-explore .ex__img img { width: 100%; height: auto; }
/* drawn page */
.swd-explore .ex__page { position: sticky; top: 110px; display: grid; gap: 14px; overflow: hidden; padding: 18px; border-radius: 22px; background: #E9EEF6; color: #141A2C; box-shadow: 0 30px 70px -30px rgba(0,0,0,.6); }
.swd-explore .ex__page i { display: block; border-radius: 6px; background: #C9D3E3; transition: background .3s, box-shadow .3s; }
.swd-explore .ap__load { height: 4px; overflow: hidden; border-radius: 2px; background: #D3DBE8; }
.swd-explore .ap__load i { width: 30%; height: 100%; border-radius: 0; background: #12A15E; }
.swd-explore .ap__nav { display: flex; align-items: center; gap: 10px; }
.swd-explore .ap__nav i { width: 46px; height: 10px; flex: 0 1 auto; }
.swd-explore .ap__nav .ap__logo { width: 70px; height: 18px; margin-right: auto; background: #141A2C; }
.swd-explore .ap__nav .ap__cta { width: 70px; height: 26px; border-radius: 8px; background: #2D5BFF; }
.swd-explore .ap__hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 10px 18px; padding: 18px 0; }
.swd-explore .ex__page .ap__h1 { width: 92%; height: 22px; background: #141A2C; }
.swd-explore .ex__page .ap__h1--2 { width: 64%; }
.swd-explore .ap__p { width: 80%; height: 34px; }
.swd-explore .ex__page .ap__btn { width: 110px; height: 30px; border-radius: 8px; background: #2D5BFF; }
.swd-explore .ap__img { position: relative; grid-column: 2; grid-row: 1 / span 4; min-height: 150px; border-radius: 12px; background: linear-gradient(135deg, #7FA8FF, #B58CFF); }
.swd-explore .ap__fmt { position: absolute; left: 10px; bottom: 10px; padding: 3px 8px; border-radius: 6px; background: #fff; font: 600 11px ui-monospace, Menlo, monospace; opacity: 0; transition: opacity .3s; }
.swd-explore .ap__blocks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.swd-explore .ap__blocks i { position: relative; height: 90px; }
.swd-explore .ap__pen { position: absolute; right: 8px; top: 8px; width: 24px; height: 24px; border-radius: 50%; background: #2D5BFF; opacity: 0; transition: opacity .3s; }
.swd-explore .ap__pen::after { content: ""; position: absolute; left: 7px; top: 11px; width: 10px; height: 2px; background: #fff; transform: rotate(-45deg); }
.swd-explore .ap__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.swd-explore .ap__meta code { padding: 5px 9px; border-radius: 6px; background: #D3DBE8; font: 500 11.5px ui-monospace, Menlo, monospace; color: #55607A; transition: background .3s, color .3s; }
.swd-explore .ap__foot { display: flex; justify-content: space-between; gap: 8px; padding: 12px 14px; border-radius: 10px; background: #141A2C; color: #AEB6C8; font: 500 12px ui-monospace, Menlo, monospace; }
.swd-explore .ap__foot span { transition: color .3s; }
.swd-explore [data-on="speed"] .ap__load i { width: 100%; transition: width 1.2s ease; }
.swd-explore [data-on="speed"] .ap__fmt { opacity: 1; }
.swd-explore [data-on="a11y"] .ap__focus { background: #141A2C; box-shadow: 0 0 0 3px #E9EEF6, 0 0 0 6px #2D5BFF; }
.swd-explore [data-on="a11y"] .ap__h1 { box-shadow: 0 0 0 2px #12A15E; }
.swd-explore [data-on="seo"] .ap__meta code { background: #12A15E; color: #fff; }
.swd-explore [data-on="edit"] .ap__pen { opacity: 1; }
.swd-explore [data-on="edit"] .ap__blocks i { background: #DCE6FB; box-shadow: inset 0 0 0 2px #2D5BFF; }
.swd-explore [data-on="secure"] .ap__lock, .swd-explore [data-on="code"] .ap__git { color: #7CF0C0; }
@media (max-width: 900px) { .swd-explore .ex { grid-template-columns: minmax(0, 1fr); } .swd-explore .ex__page, .swd-explore .ex__imgs { position: relative; top: 0; } }
@media (max-width: 600px) {
	.swd-explore .ex__page { gap: 10px; padding: 12px; }
	.swd-explore .ap__nav { gap: 6px; } .swd-explore .ap__nav i { width: 22px; } .swd-explore .ap__nav .ap__logo, .swd-explore .ap__nav .ap__cta { width: 48px; }
	.swd-explore .ap__hero { grid-template-columns: minmax(0, 1fr); } .swd-explore .ap__img { grid-column: 1; grid-row: auto; min-height: 110px; }
	.swd-explore .ap__blocks i { height: 60px; } .swd-explore .ap__foot { flex-direction: column; }
}
.swd-explore .ex > * { min-width: 0; } .swd-explore .ex__list button { max-width: 100%; } .swd-explore .ap__meta code { overflow-wrap: anywhere; }
.swd-explore .ex__list button, .swd-browser .bw__panel button { white-space: normal; overflow-wrap: anywhere; }
/* image shapes (1.4.2) */
.swd-explore .ex__img--tall, .swd-explore .ex__img--phone { aspect-ratio: 4 / 3.2; background: var(--card); }
.swd-explore .ex__img--tall img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.swd-explore .ex__img--phone { display: grid; place-items: center; padding: 24px; background: radial-gradient(380px 280px at 50% 40%, color-mix(in srgb, var(--a, var(--acc)) 20%, transparent), transparent 70%), var(--card); }
.swd-explore .ex__img--phone img { width: auto; height: 100%; max-height: 520px; border-radius: 24px; }
.swd-explore .ex__img--phone { display: block; }
.swd-explore .ex__img--phone img { width: 100%; height: 100%; max-height: none; object-fit: contain; border-radius: 0; filter: drop-shadow(0 24px 34px rgba(0,0,0,.5)); }
