/* Approved option 1: one component for library and program edition choices. */
.library-layout .edition-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.library-layout .edition-heading>div:first-child{min-width:0;flex:1 1 230px}
.library-layout .edition-heading #edition-switch{flex:0 1 auto;min-width:0;max-width:100%;margin:0}
.library-layout .edition-heading #results-description{margin-bottom:0}
.library-layout .provider-view #program-gallery-heading.edition-heading{grid-column:1/-1;grid-row:auto;margin:0 0 24px;align-self:auto}
.library-layout .provider-view #program-gallery-heading.edition-heading h2{margin:0}
.library-layout .program-controls:empty{display:none}
.library-layout .edition-selector{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px;max-width:100%}
.library-layout .edition-selector .edition-choice{display:inline-flex;align-items:center;justify-content:center;gap:10px;max-width:100%;min-height:48px;padding:8px 13px;margin:0;border:1px solid #d6cec1;border-radius:12px;background:var(--white);color:var(--green-dark);box-shadow:none;font-family:inherit;font-size:14px;line-height:1.4;font-weight:400;text-align:start;cursor:pointer;touch-action:manipulation}
.library-layout .edition-selector .edition-choice[aria-pressed=true]{background:var(--cream);border-color:#bac7b7;font-weight:600}
.library-layout .edition-choice-art{position:relative;display:flex;align-items:center;justify-content:center;width:27px;height:27px;flex:none;background:transparent}
.library-layout .edition-choice-art .edition-icon-art{display:flex;align-items:center;justify-content:center;width:27px;height:27px;position:static}
.library-layout .edition-choice-art .edition-icon-art>img{width:26px;height:26px;object-fit:contain}
.library-layout .edition-choice-art .edition-icon-art>svg{width:23px;height:23px}
.library-layout .edition-choice-check{position:absolute;inset-inline-end:-5px;bottom:-4px;width:15px;height:15px;display:flex;align-items:center;justify-content:center;visibility:hidden;background:#496c57;color:white;border:2px solid var(--cream);border-radius:50%}
.library-layout .edition-choice-check .icon{width:11px;height:11px;stroke-width:2.5}
.library-layout .edition-choice[aria-pressed=true] .edition-choice-check{visibility:visible}
.library-layout .edition-choice-label{min-width:0;overflow-wrap:anywhere}
@media(hover:hover){.library-layout .edition-selector .edition-choice:hover{background:var(--cream);border-color:#879b80}}
.library-layout .edition-selector .edition-choice:focus-visible{outline:none;background:var(--cream);border-color:#425b4d;text-decoration:underline;text-underline-offset:3px}
.library-layout .edition-selector .edition-choice:active{background:#eeeae2}
.library-layout #library-filter-panel [data-filter=platform]{display:none}
.library-layout .library-hero #library-filter-panel .filters{grid-template-columns:minmax(0,1fr)}
@media(max-width:1100px){.library-layout .edition-heading{align-items:flex-start}.library-layout .edition-heading #edition-switch{flex:1 1 100%}.library-layout .edition-selector{justify-content:flex-start}}
@media(max-width:560px){.library-layout .edition-heading{gap:16px}.library-layout .edition-heading #edition-switch{width:100%}.library-layout .edition-selector{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.library-layout .edition-selector .edition-choice{width:100%;justify-content:flex-start;padding:9px 10px}.library-layout .edition-selector:has(>.edition-choice:only-child){display:flex}.library-layout .edition-selector>.edition-choice:only-child{width:auto}.library-layout .provider-view #program-gallery-heading.edition-heading{grid-column:1/-1;grid-row:auto}}
@media(forced-colors:active){.library-layout .edition-selector .edition-choice{border-color:ButtonText}.library-layout .edition-choice[aria-pressed=true]{border-color:Highlight}.library-layout .edition-choice-check{background:Highlight;color:HighlightText;border-color:Canvas}}

/* The heading stacks below 820px: do not turn desktop width into a 230px height. */
@media(max-width:820px){.library-layout .edition-heading>div:first-child,.library-layout .edition-heading #edition-switch{flex:0 1 auto}}
