/* Shared layout owner: ../design-library/styles.css (linked before this file).
   Cards, filters, buttons, comparison bar and dialog shell reuse that live stylesheet and DOM.
   This file owns writing/prose/DNA content, the 16px typography floor, and 18:13 cover fitting.
   Shared navigation remains owned by ../network/navigation.css; do not duplicate its palette. */
.wvl-page{font-size:16px}
.wvl-page .brand-copy strong{font-size:16px}
.wvl-page .brand-copy small{font-size:16px}
.wvl-page .header-note{font-size:16px}
.wvl-page .eyebrow{font-size:16px}
.wvl-page .hero-intro{font-size:16px}
.wvl-page .hero-aside small{font-size:16px}
.wvl-page .count-badge{font-size:16px}
.wvl-page .section-note{font-size:16px}
.wvl-page .search-field input{font-size:16px}
.wvl-page .search-key{font-size:16px}
.wvl-page .category-field span{font-size:16px}
.wvl-page .category-field select{font-size:16px}
.wvl-page .text-button{font-size:16px}
.wvl-page .tag-filter-label{font-size:16px}
.wvl-page .filter-chip{font-size:16px}
.wvl-page .result-status{font-size:16px}
.wvl-page .card-number{font-size:16px}
.wvl-page .availability{font-size:16px}
.wvl-page .card-preview-open{font-size:16px}
.wvl-page .card-category{font-size:16px}
.wvl-page .compare-toggle{font-size:16px}
.wvl-page .card-summary{font-size:16px}
.wvl-page .tag{font-size:16px}
.wvl-page .best-for-short{font-size:16px}
.wvl-page .button{font-size:16px}
.wvl-page .compare-bar-kicker{font-size:16px}
.wvl-page .compare-bar-copy strong{font-size:16px}
.wvl-page .compare-bar-copy > span:last-child{font-size:16px}
.wvl-page .site-footer{font-size:16px}
.wvl-page .dialog-kicker{font-size:16px}
.wvl-page .detail-summary{font-size:16px}
.wvl-page .viewport-tab{font-size:16px}
.wvl-page .preview-unavailable{font-size:16px}
.wvl-page .preview-caption{font-size:16px}
.wvl-page .text-list-title{font-size:16px}
.wvl-page .text-list ul{font-size:16px}
.wvl-page .small{font-size:16px}
.wvl-page .compare-heading p{font-size:16px}
.wvl-page .handoff-heading p:last-child{font-size:16px}
.wvl-page .comparison-summary{font-size:16px}
.wvl-page .handoff-choice p{font-size:16px}
.wvl-page .brief-label{font-size:16px}
.wvl-page .output-label{font-size:16px}
.wvl-page .brief-textarea{font-size:16px}
.wvl-page .handoff-output{font-size:16px}
.wvl-page .brief-help{font-size:16px}
.wvl-page .handoff-status strong{font-size:16px}
.wvl-page .handoff-status p{font-size:16px}
.wvl-page .copy-status{font-size:16px}
.wvl-page .handoff-disclaimer{font-size:16px}
.wvl-page .compare-bar .text-button{font-size:16px}
.wvl-page .header-links{font-size:16px}
.wvl-page .filter-chip .chip-count{font-size:16px}
.wvl-page .detail-meta{font-size:16px}
.wvl-page .detail-meta code{font-size:16px}
.wvl-page .skill-name{font-size:16px}
.wvl-page .sample-note{font-size:16px}
.wvl-page .link-row input{font-size:16px}
.wvl-page .full-size-link{font-size:16px}
.wvl-page .about-note{font-size:16px}
.wvl-page .active-filter{font-size:16px}
.wvl-page .mode-button{font-size:16px}
.wvl-page .resource-pdf{font-size:16px}
.wvl-page .resource-help{font-size:16px}
.wvl-page .agent-guide-link{font-size:16px}
.wvl-page .compatibility-note{font-size:16px}
.wvl-page .native-download-status{font-size:16px}
.wvl-page .writing-guidance{font-size:16px}


.wvl-page{--wvl-bg:var(--paper);--wvl-surface:var(--surface);--wvl-ink:var(--ink);--wvl-muted:var(--ink-soft);--wvl-line:var(--line);--wvl-green:var(--teal);--wvl-tint:var(--teal-light);--wvl-accent:#93763e;--wvl-focus:var(--focus-ring);--wvl-shadow:var(--shadow)}
.wvl-shell{width:min(100%,1600px);margin:auto}.wvl-brand{display:flex;gap:11px;align-items:center;text-decoration:none}.wvl-brand strong,.wvl-brand small{display:block}.wvl-mark{font:38px/1 Georgia,serif}.wvl-product-links{display:flex;gap:16px}.wvl-type{display:inline-block;padding:5px 9px;border:1px solid var(--line);color:var(--teal);font-size:16px}.wvl-result-line{display:flex;justify-content:space-between;align-items:center;gap:20px}.wvl-dialog-top{position:relative}.wvl-close{cursor:pointer}.wvl-button{border-radius:0}.wvl-footer{display:flex;flex-wrap:wrap;gap:20px}.wvl-footer-note{flex-basis:100%}.wvl-detail-heading h2{font-weight:400}.wvl-detail-heading>div{min-width:0}.wvl-compare-dialog{width:min(1200px,calc(100vw - 34px))}.wvl-comparison-grid.wvl-two{grid-template-columns:repeat(2,minmax(0,1fr))}.wvl-dialog label{display:block;font-weight:650}.wvl-dialog label:not(.wvl-check)>select,.wvl-dialog label>textarea{display:block;width:100%;padding:12px 14px;margin:8px 0 16px;border:1px solid var(--line);border-radius:0;background:var(--surface);color:var(--ink);font:inherit}.wvl-page textarea{resize:vertical}.wvl-page small{font-size:16px}.wvl-page .wvl-compare-bar{left:max(18px,calc((100vw - 1350px)/2));right:max(18px,calc((100vw - 1350px)/2));width:auto;transform:none;border-radius:0}.wvl-page .card-preview{aspect-ratio:18/13;height:auto}.wvl-page .card-preview>.preview-image-frame.site{height:100%;padding:0}.wvl-page .card-preview .preview-image{width:100%;height:100%;object-fit:contain;object-position:center;display:block}.wvl-page .card-title-button{font-size:clamp(28px,2.4vw,32px)}.wvl-page .card-summary{min-height:79px;font-size:16px}.wvl-page .card-preview-open:focus-visible{box-shadow:0 0 0 3px var(--paper)}.wvl-page .card-arrow{width:44px;height:44px}.wvl-page .compare-toggle{min-height:44px;padding:0;font-size:16px}.wvl-page .card-category{letter-spacing:.08em}.wvl-page .tag{font-size:16px;min-height:32px}.wvl-page .card-foot{margin-top:23px}.wvl-page .card-foot .best-for-short{font-size:16px}.wvl-page .card-title-button{cursor:pointer}.wvl-page .comparison-column .wvl-prose{font-size:20px}.wvl-page .wvl-prose{font-size:20px}.wvl-page .wvl-prose.wvl-neutral{font-size:18px}
.wvl-actions{display:flex;gap:9px;flex-wrap:wrap;align-items:center}
.wvl-card .wvl-actions{padding-top:15px}
.wvl-small{font-size:16px;line-height:1.8;color:var(--wvl-muted)}
.wvl-about-columns{display:grid;grid-template-columns:1fr 1fr;gap:44px;margin:34px 0}
.wvl-about-columns p{font-size:16px;color:var(--wvl-muted)}
.wvl-method{border:1px solid var(--wvl-line);border-radius:7px;margin-top:25px}
.wvl-method summary{padding:20px 25px;cursor:pointer;font-size:16px;font-weight:600}
.wvl-method>div{padding:8px 25px 22px;max-width:960px}
.wvl-method p{font-size:16px;color:var(--wvl-muted)}
.wvl-method h3{margin-top:22px}
.wvl-route-box{background:var(--wvl-tint);border-left:3px solid var(--wvl-green);padding:15px 18px;font-size:16px;margin:22px 0}
.wvl-route-box p{margin:0}
.wvl-detail-reading{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(220px,1fr);gap:36px}
.wvl-read-controls{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:24px}
.wvl-read-controls label:first-child{flex:1}
.wvl-check{display:flex!important;align-items:center;gap:8px;font-size:16px!important;font-weight:500!important;cursor:pointer}
.wvl-check input{accent-color:var(--wvl-green);width:16px;height:16px}
.wvl-prose{font:18px/1.8 Georgia,serif;user-select:text;overflow-wrap:anywhere}
.wvl-prose h1,.wvl-prose h2,.wvl-prose h3{font-size:27px;letter-spacing:-.025em;margin:18px 0}
.wvl-prose p{margin:0 0 20px}
.wvl-prose li{margin-bottom:9px}
.wvl-prose.wvl-neutral{font:16px/1.8 system-ui,sans-serif}
.wvl-prose.wvl-neutral h1,.wvl-prose.wvl-neutral h2,.wvl-prose.wvl-neutral h3{font:600 20px/1.45 system-ui,sans-serif;letter-spacing:0}
.wvl-reading-aside{font-size:16px;color:var(--wvl-muted);border-left:1px solid var(--wvl-line);padding-left:26px}
.wvl-reading-aside h3{font-size:22px}
.wvl-brief-facts{padding:18px 22px;background:var(--wvl-tint);border-radius:6px;font-size:16px;line-height:1.85;margin:20px 0;white-space:pre-wrap}
.wvl-brief-facts strong{display:block;color:var(--wvl-ink);margin-bottom:7px}
.wvl-guide{max-width:850px;font:16px/1.9 system-ui,sans-serif;overflow-wrap:anywhere}
.wvl-guide h1{font-size:32px}
.wvl-guide h2{font-size:25px;margin-top:28px}
.wvl-guide h3{font-size:23px;margin-top:24px}
.wvl-guide a{word-break:break-word}
.wvl-measure-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:36px}
.wvl-feature-row{display:grid;grid-template-columns:1fr;gap:7px;border-bottom:1px solid var(--wvl-line);padding:15px 0}
.wvl-feature-head{display:flex;justify-content:space-between;gap:12px;font-size:16px}
.wvl-feature-value{font-variant-numeric:tabular-nums;font-weight:650}
.wvl-feature-track{position:relative;height:15px;background:linear-gradient(var(--wvl-line),var(--wvl-line)) center/100% 1px no-repeat;margin:0 7px}
.wvl-feature-track:before,.wvl-feature-track:after{content:'';position:absolute;top:4px;height:7px;width:1px;background:var(--wvl-muted)}
.wvl-feature-track:before{left:0}
.wvl-feature-track:after{right:0}
.wvl-feature-unit{display:flex;justify-content:space-between;color:var(--wvl-muted);font-size:16px}
.wvl-range-row{display:grid;grid-template-columns:1fr auto;gap:8px;font-size:16px;margin:18px 0}
.wvl-range-track{grid-column:1/-1;position:relative;height:10px;border-radius:4px;background:var(--wvl-line);margin:0 4px}
.wvl-range-band{position:absolute;left:var(--range-start);width:var(--range-width);height:10px;min-width:8px;border-radius:4px;background:var(--wvl-green)}
.wvl-range-track.wvl-estimate .wvl-range-band{background:var(--wvl-accent);left:0}
.wvl-scale-ends{display:flex;justify-content:space-between;font-size:16px;color:var(--wvl-muted);margin-top:-5px}
.wvl-measure-block{padding:24px;background:var(--wvl-surface);border:1px solid var(--wvl-line);border-radius:7px;margin-bottom:24px}
.wvl-measure-block h3{font-size:25px}
.wvl-measure-block details{font-size:16px;margin:14px 0}
.wvl-measure-block summary{cursor:pointer}
.wvl-measure-block blockquote{margin:12px 0;padding-left:15px;border-left:2px solid var(--wvl-line)}
.wvl-downloads{display:flex;gap:10px;flex-wrap:wrap;margin:25px 0}
.wvl-downloads a{text-decoration:none;display:inline-flex;align-items:center}
.wvl-prompt{font:16px/1.8 ui-monospace,SFMono-Regular,Consolas,monospace!important;min-height:225px;white-space:pre-wrap}
.wvl-source-list{padding-left:20px;font-size:16px;overflow-wrap:anywhere}
.wvl-source-list li{margin-bottom:10px}
.wvl-compare-controls{display:flex;gap:22px;align-items:end;flex-wrap:wrap}
.wvl-compare-controls>label:first-child{flex:1;min-width:230px}
.wvl-toast{position:fixed;left:50%;bottom:110px;transform:translateX(-50%);padding:12px 20px;background:var(--wvl-ink);color:var(--wvl-bg);font-size:16px;border-radius:5px;z-index:200;max-width:calc(100% - 40px);box-shadow:var(--wvl-shadow)}
.wvl-feature-value{overflow-wrap:anywhere;text-align:right;max-width:48%;font-size:16px}
.wvl-human-example{padding:28px 0;border-top:1px solid var(--wvl-line)}
.wvl-human-quote{white-space:pre-wrap;user-select:text;font:19px/1.85 Georgia,serif;margin:22px 0;padding:0 0 0 20px;border-left:2px solid var(--wvl-line)}
.wvl-prose table,.wvl-guide table{width:100%;table-layout:fixed;border-collapse:collapse;margin:22px 0;font-size:16px;line-height:1.7;border:1px solid var(--wvl-line)}
.wvl-prose th,.wvl-prose td,.wvl-guide th,.wvl-guide td{padding:12px 15px;border:1px solid var(--wvl-line);text-align:left;vertical-align:top;overflow-wrap:anywhere}
.wvl-prose th,.wvl-guide th{background:var(--wvl-tint);font-weight:650}
.wvl-prose caption,.wvl-guide caption{text-align:left;padding:10px 0;color:var(--wvl-muted)}
@media(max-width:680px){.wvl-prose table,.wvl-guide table{font-size:16px}
.wvl-prose th,.wvl-prose td,.wvl-guide th,.wvl-guide td{padding:10px 11px}}
@media(max-width:440px){.wvl-prose th,.wvl-prose td,.wvl-guide th,.wvl-guide td{padding:8px 6px;font-size:15px}.wvl-prose th,.wvl-guide th{hyphens:auto}}
@media(max-width:1000px){.wvl-detail-reading,.wvl-measure-grid{grid-template-columns:1fr}.wvl-reading-aside{border-left:0;border-top:1px solid var(--line);padding:24px 0}}
@media(max-width:680px){.wvl-comparison-grid,.wvl-comparison-grid.wvl-two,.wvl-about-columns{grid-template-columns:1fr}.wvl-read-controls{flex-direction:column;align-items:stretch}.wvl-detail-heading{display:block}.wvl-compare-controls>label:first-child{min-width:0;flex-basis:100%}.wvl-dialog label{max-width:100%}.wvl-prose table,.wvl-guide table{font-size:16px}.wvl-result-line{align-items:start}.wvl-product-links{flex-wrap:wrap}.wvl-dialog-frame{overflow-wrap:anywhere}.wvl-compare-bar .compare-bar-actions{width:100%;justify-content:space-between}.wvl-footer{flex-direction:column}.wvl-page .tag{font-size:16px}.wvl-page .card-title-button{font-size:32px}}
@media(prefers-reduced-motion:reduce){.wvl-page *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* The first four covers share a provider-created 2×2 atlas; each complete panel is 18:13. */
.wvl-page .card-preview .wvl-cover-sprite{background-size:200% 200%;background-repeat:no-repeat;width:100%;height:100%}

.wvl-page .wvl-prose{font-size:20px}.wvl-page .wvl-prose.wvl-neutral{font-size:18px}.wvl-page .wvl-measure-block,.wvl-page .wvl-method,.wvl-page .wvl-brief-facts{border-radius:0}.wvl-cover-quote{font:20px/1.6 var(--serif);margin:16px 0;user-select:text}

.wvl-page .wvl-brand{color:var(--ink)}.hero a,.about-note a,.wvl-guide a,.wvl-reading-aside a:not(.button),.wvl-source-list a{color:var(--teal);text-underline-offset:3px}.wvl-page .search-field,.wvl-page .category-field{display:flex}

.wvl-result-line a{color:var(--teal);text-underline-offset:3px}

/* Design Library's metadata strip remains above the complete, uncropped writing poster. */
.wvl-page .card-preview{aspect-ratio:auto;height:auto}
.wvl-page .card-preview>.preview-image-frame.site{height:auto;padding:60px 0 0}
.wvl-page .card-preview>.preview-image-frame.site .preview-image{width:100%;height:auto;aspect-ratio:18/13;object-fit:contain}

/* Related templates reuse the shared Design Library card, in a compact detail-only grid. */
.wvl-matching-designs{margin-top:38px;padding-top:28px;border-top:1px solid var(--line)}
.wvl-matching-grid{gap:16px;grid-template-columns:repeat(3,minmax(0,1fr))}
.wvl-matching-grid .card-preview{height:190px;aspect-ratio:auto}
.wvl-matching-grid .card-preview>.preview-image-frame{height:100%;padding:12px}
.wvl-matching-grid .card-preview .preview-image{height:100%;width:100%;aspect-ratio:auto;object-fit:contain}
.wvl-matching-grid .card-body{padding:18px}
.wvl-matching-grid .card-title-button{font-size:28px;text-decoration:none;line-height:1.16}
.wvl-matching-grid .card-summary{min-height:0;display:block;overflow:visible}
.wvl-matching-grid .card-arrow{display:inline-flex;justify-content:center;align-items:center;text-decoration:none}
@media(max-width:680px){.wvl-matching-grid{grid-template-columns:1fr}.wvl-matching-grid .card-preview{height:230px}.wvl-matching-grid .card-title-button{font-size:28px}}

.wvl-page code,.wvl-page pre{font-size:16px}

/* Writing-specific phone layout; never override the shared desktop grid globally. */
@media(max-width:680px){
.wvl-detail-reading,.wvl-measure-grid{grid-template-columns:1fr}
.wvl-reading-aside{border-left:0;border-top:1px solid var(--wvl-line);padding:24px 0}
.wvl-about-columns{grid-template-columns:1fr;gap:16px}
.wvl-compare-bar .wvl-actions{justify-content:space-between}
.wvl-read-controls{flex-direction:column;align-items:stretch;gap:16px}
.wvl-prose{font-size:17px}
.wvl-comparison-grid,.wvl-comparison-grid.wvl-two{grid-template-columns:1fr}
.wvl-compare-controls{gap:15px}
.wvl-compare-controls>label:first-child{flex-basis:100%}
.wvl-measure-block{padding:18px}
.wvl-feature-head{font-size:16px}
.wvl-method summary{padding:17px}
.wvl-method>div{padding:5px 17px 18px}
.wvl-toast{bottom:145px}
.wvl-brief-facts{padding:15px}
}

/* Keep implementation metadata available below the reading experience. */
.wvl-page .wvl-card-top{justify-content:flex-end}
.wvl-detail-meta{margin-top:32px;padding-top:20px;border-top:1px solid var(--wvl-line)}
.wvl-technical-details{font-size:16px;color:var(--wvl-muted);margin:18px 0}
.wvl-technical-details summary{cursor:pointer}
.wvl-technical-details p{margin:10px 0}
.wvl-version{margin:16px 0 0;font-size:16px;color:var(--wvl-muted)}

/* Shared detail and handoff components retain Design Library's layout and button treatment. */
.wvl-detail-tools{display:flex;justify-content:flex-end;margin:0 0 20px}
.wvl-reading-aside .detail-actions{margin:0 0 28px}
.wvl-reading-aside .button{font-size:16px}
.wvl-page .handoff-choice>.preview-image-frame{height:auto;aspect-ratio:18/13;overflow:hidden}
.wvl-page .handoff-choice .preview-image-frame img{width:100%;height:100%;object-fit:contain}

/* One Design Library detail view; long reading and DNA open in separate dialogs. */
.wvl-example-preview{padding:24px;height:min(52vh,520px);overflow:hidden;position:relative}
.wvl-example-preview:after{content:'';position:absolute;left:0;right:0;bottom:0;height:48px;pointer-events:none;background:linear-gradient(transparent,var(--surface-soft))}
.wvl-reader-actions{margin-top:12px}.wvl-reader-actions .button{width:100%}
.wvl-compact-detail .detail-info>.button{width:100%;margin-bottom:10px}
.wvl-compact-detail .detail-actions{margin:0 0 16px}
.wvl-compact-detail .text-list p{margin:0;line-height:1.6}
.wvl-compact-voiceprint{margin-bottom:12px}
.wvl-compact-voiceprint h3{font:400 25px/1.25 var(--serif);margin:0 0 8px}
.wvl-compact-voiceprint .wvl-voice-profile{margin:0}
.wvl-compact-voiceprint .wvl-profile-row{grid-template-columns:125px minmax(0,1fr) 38px;min-height:36px;padding:5px 0;gap:8px}
.wvl-compact-voiceprint .wvl-profile-label,.wvl-compact-voiceprint .wvl-profile-rating{grid-column:auto;grid-row:auto;line-height:1.35}
.wvl-compact-voiceprint .wvl-profile-track{grid-column:auto;grid-row:auto}
.wvl-compact-voiceprint .wvl-profile-axis{margin:5px 46px 0 140px}
.wvl-compact-voiceprint .wvl-profile-legend{gap:8px 15px;margin-bottom:8px}
.wvl-compact-voiceprint .wvl-profile-caption{margin:8px 0 0;line-height:1.45}
.wvl-related-disclosure{margin-top:24px;border-top:1px solid var(--line);padding-top:16px;font-size:16px}
.wvl-related-disclosure>summary{cursor:pointer;color:var(--teal);font-weight:650}
.wvl-related-disclosure .wvl-matching-designs{margin-top:16px;padding-top:0;border-top:0}
.wvl-detail-meta{margin-top:20px;padding-top:0;border-top:0}
@media(max-width:680px){.wvl-example-preview{height:290px;padding:18px}.wvl-compact-detail{gap:24px}.wvl-compact-voiceprint .wvl-profile-row{grid-template-columns:120px minmax(0,1fr) 38px}}

/* Match shared Design Library tag button targets as well as chip styling. */
.wvl-page .tag-button{min-height:44px}

.wvl-compact-detail .detail-info .text-list-title{text-transform:none;letter-spacing:normal;font-size:20px;color:var(--ink)}

@media(max-width:480px){.wvl-filters .category-field{flex:1 0 180px}.wvl-filters .topic-field{flex-basis:120px}.wvl-filters .text-button{margin-left:auto}}

/* Writing samples share Design Library's side-arrow carousel and dialog shell. */
.wvl-sample-gallery{margin-bottom:22px}
.wvl-sample-gallery .wvl-example-preview{cursor:zoom-in;min-width:0}
.wvl-sample-gallery .preview-arrow{z-index:1}
.wvl-sample-caption{margin:10px 24px 2px;line-height:1.55;overflow-wrap:anywhere}
.wvl-sample-gallery .preview-gallery-expand{margin-left:24px;min-height:44px}
.wvl-sample-choices{display:flex;gap:8px;overflow-x:auto;padding:3px 3px 12px;margin:18px -3px 12px;scrollbar-color:var(--wvl-muted) var(--wvl-surface);scrollbar-width:thin}
.wvl-sample-choice{flex:0 0 auto;max-width:min(250px,80vw);display:flex;flex-direction:column;align-items:flex-start;gap:3px;padding:10px 14px;min-height:64px;border:1px solid var(--wvl-line);border-radius:6px;background:var(--wvl-surface);color:var(--wvl-ink);font:inherit;font-size:16px;line-height:1.4;text-align:left;cursor:pointer}
.wvl-choice-kind{font-weight:650;color:var(--wvl-muted)}
.wvl-sample-choice[aria-pressed="true"]{border-color:var(--wvl-green);background:var(--wvl-tint)}
.wvl-sample-choice[aria-pressed="true"] .wvl-choice-kind{color:var(--wvl-green)}
.wvl-sample-choice:hover{border-color:var(--wvl-green)}
.wvl-selected-sample-title{font:400 25px/1.35 var(--serif);margin:16px 0 24px;overflow-wrap:anywhere}
.wvl-sample-attribution{margin:28px 0 0;padding-top:18px;border-top:1px solid var(--wvl-line)}
.wvl-sample-attribution a,.wvl-influences a{color:var(--wvl-green);text-underline-offset:3px}
.wvl-influences{margin-top:26px;padding-top:20px;border-top:1px solid var(--wvl-line)}
.wvl-influences li{margin-bottom:12px;line-height:1.6;overflow-wrap:anywhere}
.wvl-source-relationship{display:block;font-size:16px;color:var(--wvl-muted);line-height:1.55;margin-top:3px}
.wvl-reader-tabs{display:flex;gap:4px;flex-wrap:wrap;border-bottom:1px solid var(--wvl-line);margin:18px 0 24px}
.wvl-reader-tab{min-height:44px;padding:10px 16px;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--wvl-muted);font:inherit;font-size:16px;cursor:pointer}
.wvl-reader-tab[aria-selected="true"]{border-bottom-color:var(--wvl-green);color:var(--wvl-ink);font-weight:650}
.wvl-reader-tab:hover{background:var(--wvl-tint);color:var(--wvl-ink)}
.wvl-authority-document{max-width:75ch}
.wvl-authority-document>h3{font:400 28px/1.3 var(--serif);margin:24px 0 16px}
.wvl-guide h4,.wvl-guide h5,.wvl-guide h6{font-size:18px;line-height:1.45;margin:24px 0 12px}
.wvl-authority-text{white-space:pre-wrap}
.wvl-sample-gallery [role="button"]:focus-visible,.wvl-sample-choice:focus-visible,.wvl-reader-tab:focus-visible,.wvl-sample-gallery .preview-arrow:focus-visible{outline:3px solid var(--wvl-focus);outline-offset:3px}
@media(max-width:680px){.wvl-sample-gallery .preview-carousel{padding:0 20px}.wvl-sample-caption{margin-left:20px;margin-right:20px}.wvl-sample-gallery .preview-gallery-expand{margin-left:20px}.wvl-reader-tab{padding:10px 12px}.wvl-sample-gallery .wvl-example-preview{height:340px;padding:16px}.wvl-page .wvl-sample-gallery .wvl-prose{font-size:18px}}
@media(prefers-reduced-motion:reduce){.wvl-sample-choices{scroll-behavior:auto}}

/* Sample cards stay compact; full titles remain in the reader and source credit. */
.wvl-sample-choice>span:last-child{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.wvl-sample-choice .wvl-choice-kind{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}

/* Full-library download follows the existing type, spacing and button system. */
.wvl-plugin-link{display:inline-flex;align-items:center;gap:12px;min-height:44px;margin-top:12px;font-weight:700;text-underline-offset:4px}
.wvl-plugin-download{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(250px,1fr);gap:32px;align-items:center;margin:0 clamp(22px,5vw,78px) 40px;padding:40px 0;border-top:1px solid var(--line);}
.wvl-plugin-download h2{font:400 clamp(30px,3vw,42px)/1.1 var(--serif);letter-spacing:-.035em;margin:12px 0 18px;max-width:19ch}
.wvl-plugin-download p:not(.eyebrow){max-width:53ch;color:var(--wvl-muted);margin:0}
.wvl-plugin-actions{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.wvl-plugin-actions .button{white-space:normal;text-align:center;min-height:48px}
.wvl-plugin-actions>a:not(.button){display:inline-flex;align-items:center;min-height:44px;text-underline-offset:4px}
@media(max-width:680px){.wvl-plugin-download{grid-template-columns:1fr;gap:24px;padding:36px 0}.wvl-plugin-actions{align-items:stretch}.wvl-plugin-actions>a:not(.button){align-self:flex-start}}

.wvl-plugin-link,.wvl-plugin-actions>a:not(.button){color:var(--teal)}
.wvl-browse{padding-bottom:56px}
