/* Release library: a compact product directory and a branded folder of files. */
.library-layout { display: grid; grid-template-columns: 215px minmax(0,1fr); gap: 27px; align-items: start; }
.library-categories { padding-top: 10px; }
.library-rail-heading { padding: 0 10px 20px; }
.library-rail-heading h2 { font-size: 15px; font-weight: 700; margin-top: 7px; }
#library-categories-list { display: grid; gap: 5px; }
.library-mobile-category { display: none; }
.library-category { display: grid; grid-template-columns: 18px minmax(0,1fr) auto; align-items: center; gap: 9px; width: 100%; padding: 12px 10px; border: 1px solid transparent; border-radius: 9px; background: none; color: #536b96; text-align: left; font-size: 13px; line-height: 1.5; }
.library-category .icon { width: 17px; height: 17px; color: #7088b5; }
.library-category > span:last-child { font-size: 11px; color: #6f83ab; font-variant-numeric: tabular-nums; }
.library-category:hover { background: #d2def5; color: #001774; }
.library-category[aria-pressed="true"] { border-color: #aec3e7; background: #ccd9f4; color: #001774; font-weight: 700; box-shadow: inset 3px 0 0 #001774; }
.library-category[aria-pressed="true"] .icon { color: #001774; }
.library-category[aria-pressed="true"] > span:last-child { background: #ffeb13; color: #001774; border-radius: 4px; padding: 1px 5px; }
.library-rail-note { border-top: 1px solid #b8c8e8; margin: 22px 10px 0; padding-top: 19px; color: #566f9e; }
.library-rail-note > .icon { width: 22px; height: 22px; color: #001774; }
.library-rail-note p { font-size: 12px; margin-top: 9px; line-height: 1.7; }
.library-rail-note a { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; color: #001774; font-size: 12px; }
.library-workspace { min-width: 0; }
.library-folder-tab { display: flex; align-items: center; gap: 8px; width: min(335px,calc(100% - 20px)); height: 34px; padding: 0 18px; font-size: 11px; font-weight: 750; color: #001774; background: #ffeb13; border-radius: 13px 18px 0 0; position: relative; }
.library-folder-tab::after { content: ''; position: absolute; right: -12px; bottom: 0; width: 25px; height: 17px; background: #ffeb13; transform: skewX(35deg); border-top-right-radius: 7px; }
#library-folder-code { margin-left: auto; font-size: 10px; position: relative; z-index: 1; }
.library-folder { border: 1px solid #b0c3e6; border-radius: 0 15px 15px 15px; background: #edf3ff; overflow: hidden; }
.library-folder-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px 18px; background: #d8e4fa; }
.library-folder-heading h2 { font-size: 23px; letter-spacing: -.6px; font-weight: 700; line-height: 1.35; margin-top: 6px; }
.library-total { font-size: 12px; color: #5b729d; white-space: nowrap; }
.library-spotlight { display: grid; grid-template-columns: minmax(0,1fr) auto auto; gap: 20px; align-items: center; margin: 0; padding: 19px 24px; background: #d1dff7; border-top: 1px solid #bccdec; border-bottom: 1px solid #adc3e6; }
.library-spotlight-label { display: flex; align-items: center; gap: 6px; color: #286d56; font-size: 10px; margin-bottom: 7px; }
.library-spotlight-label::before { content: ''; width: 5px; height: 5px; background: #2d9372; border-radius: 50%; }
.library-spotlight h3 { font-size: 14px; line-height: 1.5; font-weight: 700; margin: 0; }
.library-spotlight p { font-size: 11px; color: #536d9b; margin-top: 5px; }
.library-version-display strong { display: block; color: #001774; font-size: 27px; font-weight: 650; letter-spacing: -.8px; line-height: 1.25; white-space: nowrap; }
.library-version-display span { display: block; color: #56709e; font-size: 10px; margin-top: 4px; }
.library-download { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid #001774; border-radius: 7px; background: #001774; color: #ffeb13; padding: 9px 12px; font-size: 12px; line-height: 1.4; font-weight: 650; white-space: nowrap; }
.library-download:hover { background: #2946a1; border-color: #2946a1; color: #fff; }
.library-download .icon { width: 15px; height: 15px; }
.library-tools { display: flex; flex-wrap: wrap; gap: 9px; padding: 20px 24px 13px; }
.library-search { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 150px; border: 1px solid #bdcdec; border-radius: 7px; background: #f5f8ff; padding: 9px 11px; color: #738ab2; }
.library-search input { width: 100%; min-width: 0; border: 0; background: none; outline: none; font-size: 13px; color: #001774; }
.library-search input::placeholder { color: #637ca6; }
.library-search:focus-within { border-color: #001774; box-shadow: 0 0 0 2px #00177418; }
.library-tools select { min-width: 0; max-width: 190px; border: 1px solid #bdcdec; border-radius: 7px; padding: 9px 7px; background: #dce7fa; color: #405e93; font-size: 12px; }
.library-collection-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 0 24px 14px; }
.library-collection-switch { display: flex; gap: 19px; }
.library-collection-switch button { display: flex; align-items: center; gap: 5px; border: 0; border-bottom: 2px solid transparent; background: none; color: #6179a4; font-size: 12px; padding: 5px 0; }
.library-collection-switch button[aria-pressed="true"] { border-bottom-color: #001774; color: #001774; font-weight: 700; }
.library-collection-switch button span { font-size: 10px; color: #657ba1; }
.library-archive-toggle { display: flex; align-items: center; gap: 7px; color: #5b739c; font-size: 11px; cursor: pointer; }
.library-archive-toggle input { accent-color: #001774; width: 14px; height: 14px; }
.library-list-heading { display: grid; grid-template-columns: minmax(0,1fr) 120px 145px; gap: 15px; background: #dce7fa; border-top: 1px solid #c5d4ee; border-bottom: 1px solid #c5d4ee; padding: 10px 24px; color: #647da5; font-size: 10px; }
.library-list-heading > span:last-child { text-align: center; }
.library-file-row { display: grid; grid-template-columns: minmax(0,1fr) 120px 145px; gap: 15px; align-items: center; padding: 18px 24px; border-bottom: 1px solid #cddbf0; }
.library-file-row:last-child { border-bottom: 0; }
.library-file-row:hover { background: #e4edfc; }
.library-file-row.is-archived { background: #e3e9f5; }
.library-file-main { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.library-file-icon { display: grid; place-items: center; flex-shrink: 0; width: 36px; height: 41px; border: 1px solid #afc3e5; border-radius: 3px 10px 10px 10px; background: #dae6fa; color: #001774; }
.library-file-icon .icon { width: 19px; height: 19px; }
.library-file-title { border: 0; background: none; padding: 0; color: #001774; font-size: 14px; font-weight: 650; text-align: left; line-height: 1.5; }
.library-file-title:hover { color: #3156c0; }
.library-file-tags { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; margin-top: 5px; color: #5b749f; font-size: 11px; line-height: 1.6; }
.library-release-tag { color: #001774; background: #d5e1f7; border-radius: 4px; padding: 0 5px; font-size: 11px; font-variant-numeric: tabular-nums; }
.library-archived-tag { color: #876128; border: 1px solid #c9b78f; border-radius: 4px; padding: 0 5px; font-size: 10px; }
.library-versions-button { border: 0; background: none; color: #466496; padding: 0; font-size: 11px; margin-top: 7px; text-decoration: underline; text-decoration-color: #8ba3cb; text-underline-offset: 3px; }
.library-file-meta time { display: block; color: #274b85; font-size: 12px; font-variant-numeric: tabular-nums; }
.library-file-meta span { display: block; color: #6980a6; font-size: 10px; margin-top: 3px; }
.library-file-meta small { display: block; color: #576f9b; font-size: 11px; margin-top: 7px; }
.library-file-actions { display: flex; align-items: center; justify-content: flex-end; gap: 7px; }
.library-file-actions .library-download { background: transparent; color: #001774; border-color: #aabfdf; padding: 8px 9px; }
.library-file-actions .library-download:hover { background: #001774; color: #ffeb13; border-color: #001774; }
.library-favorite { display: grid; place-items: center; width: 28px; height: 31px; padding: 0; border: 0; background: none; color: #7b91b6; border-radius: 5px; }
.library-favorite .icon { width: 16px; height: 16px; }
.library-favorite[aria-pressed="true"] { color: #001774; background: #ffeb13; }
.library-favorite:hover { color: #001774; background: #d3e0f8; }
.library-pagination { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; padding: 13px 24px; border-top: 1px solid #c8d7ee; color: #5a729e; font-size: 11px; }
#library-pages { display: flex; gap: 4px; }
#library-pages button { display: grid; place-items: center; min-width: 28px; height: 29px; padding: 0 4px; border: 1px solid #bdcdeb; background: none; color: #506c9d; border-radius: 5px; font-size: 11px; }
#library-pages button[aria-current="page"] { background: #001774; color: #ffeb13; border-color: #001774; }
#library-pages button:disabled { opacity: .4; }
#library-pages .icon { width: 11px; height: 11px; }
.library-archive-hint { display: flex; align-items: center; gap: 7px; padding: 12px 24px; border-top: 1px dashed #b7c9e9; background: #e2eafb; color: #5a719b; font-size: 11px; }
.library-archive-hint button { border: 0; background: none; padding: 0; color: #001774; font-size: inherit; text-decoration: underline; text-underline-offset: 3px; }
.library-demo-note { display: flex; align-items: flex-start; gap: 7px; padding: 15px 2px 0; color: #586f9b; }
.library-demo-note .icon { flex-shrink: 0; margin-top: 2px; }
.library-demo-note p,.library-download-status { font-size: 11px; line-height: 1.7; }
.library-download-status { color: #34755a; margin-top: 7px; }
.library-empty { text-align: center; padding: 40px 20px; color: #607aa5; }
.library-empty h3 { font-size: 15px; color: #001774; margin: 13px 0 8px; }
.library-empty p { font-size: 12px; margin-bottom: 15px; }
.library-empty button { border: 1px solid #a9bfdf; color: #001774; background: #dce7fa; padding: 8px 12px; border-radius: 7px; font-size: 12px; }
.library-details-summary { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 15px; }
.library-details-summary span { background: #dce7fa; border-radius: 5px; padding: 3px 8px; font-size: 12px; color: #345990; }
.library-details-archive { color: #8a6024; background: #ece3c9; border: 1px solid #d0be91; border-radius: 7px; padding: 10px 12px; font-size: 12px; margin-bottom: 15px; }
.library-details-changes { padding-left: 19px; font-size: 13px; margin: 10px 0 20px; }
.library-details-heading { font-size: 16px; color: #001774; font-weight: 700; margin: 23px 0 12px; }
.library-version-row { display: grid; grid-template-columns: minmax(0,1fr) 105px auto; gap: 12px; align-items: center; border-top: 1px solid #c2d2ec; padding: 12px 0; }
.library-version-row strong { font-size: 14px; color: #001774; }
.library-version-row small { display: block; font-size: 11px; color: #627ca4; }
.library-version-row time { font-size: 12px; font-variant-numeric: tabular-nums; }
@media (max-width: 1199px) { .library-layout { grid-template-columns: 190px minmax(0,1fr); gap: 18px; } .library-file-row,.library-list-heading { grid-template-columns: minmax(0,1fr) 105px; } .library-file-actions { grid-column: 1 / -1; justify-content: flex-end; margin-top: -3px; } .library-list-heading > span:last-child { display: none; } .library-spotlight { grid-template-columns: minmax(0,1fr) auto; } .library-spotlight > .library-download { grid-column: 1 / -1; justify-self: start; } }
@media (max-width: 767px) {
  .library-layout { grid-template-columns: minmax(0,1fr); gap: 22px; }
  .library-categories { padding: 0; }
  .library-rail-heading { padding: 0 0 12px; }
  #library-categories-list { display: none; }
  .library-mobile-category { display: grid; gap: 6px; color: #5b739c; font-size: 11px; }
  .library-mobile-category select { width: 100%; min-width: 0; border: 1px solid #b2c6e7; border-radius: 8px; padding: 11px 9px; background: #d5e1f8; color: #001774; font-size: 14px; }
  .library-category { padding: 10px 7px; gap: 6px; font-size: 12px; }
  .library-category .icon { width: 15px; height: 15px; }
  .library-category:first-child { grid-column: 1 / -1; }
  .library-rail-note { display: none; }
  .library-folder-heading { padding: 18px 16px 15px; gap: 12px; }
  .library-folder-heading h2 { font-size: 21px; }
  .library-total { font-size: 11px; }
  .library-spotlight { padding: 16px; grid-template-columns: minmax(0,1fr); gap: 13px; }
  .library-version-display { display: flex; align-items: baseline; gap: 9px; }
  .library-version-display strong { font-size: 25px; }
  .library-spotlight > .library-download { grid-column: auto; width: 100%; }
  .library-tools { padding: 16px 14px 12px; }
  .library-search { flex-basis: 100%; }
  .library-tools select { flex: 1; max-width: none; font-size: 12px; width: 0; }
  .library-collection-bar { padding: 0 14px 13px; }
  .library-collection-switch { gap: 16px; }
  .library-archive-toggle { font-size: 11px; }
  .library-list-heading { display: none; }
  .library-file-row { grid-template-columns: minmax(0,1fr); gap: 12px; padding: 16px 14px; border-top: 1px solid #c8d7ef; border-bottom: 0; }
  .library-file-main { gap: 10px; }
  .library-file-icon { width: 30px; height: 35px; }
  .library-file-title { font-size: 14px; }
  .library-file-meta { padding-left: 40px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
  .library-file-meta span,.library-file-meta small { margin: 0; }
  .library-file-meta small { margin-left: auto; }
  .library-file-actions { grid-column: auto; margin: 0; padding-left: 40px; justify-content: space-between; }
  .library-file-actions .library-download { flex: 1; justify-content: space-between; }
  .library-favorite { width: 33px; height: 34px; }
  .library-pagination { padding: 12px 14px; }
  .library-archive-hint { padding: 12px 14px; flex-wrap: wrap; }
  .library-version-row { grid-template-columns: minmax(0,1fr) auto; gap: 7px 12px; }
  .library-version-row > div { grid-column: 1; grid-row: 1; }
  .library-version-row > time { grid-column: 1; grid-row: 2; }
  .library-version-row > a { grid-column: 2; grid-row: 1 / 3; }
}
