.library-page-size { display: flex; align-items: center; gap: 8px; }
.library-page-size__label { color: #000; font-size: 16px; font-weight: 500; white-space: nowrap; }
.library-page-size__dropdown { position: relative; flex: none; width: 56px; }
.library-page-size__dropdown[open] { z-index: 5; }
.library-page-size__dropdown > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 36px;
  padding: 6px 8px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fff;
  color: #0153cc;
  font: 600 12px "Inter", sans-serif;
  list-style: none;
  cursor: pointer;
}
.library-page-size__dropdown > summary::-webkit-details-marker { display: none; }
.library-page-size__dropdown > summary::after { content: ""; width: 6px; height: 6px; flex: none; margin-top: -3px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); }
.library-page-size__options {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 100%;
  padding: 4px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 16px #0000001a;
}
.library-page-size__options button { display: block; width: 100%; min-height: 32px; padding: 6px; border: 0; border-radius: 4px; background: transparent; color: #003c71; font: 600 12px "Inter", sans-serif; text-align: left; cursor: pointer; }
.library-page-size__options button[aria-current="true"] { background: #e5eeff; color: #0153cc; }
.library-page-size__options button:hover { background: #f2f7ff; }
.library-page-size :is(summary, button):focus-visible { outline: 2px solid #0153cc; outline-offset: 2px; }
